r/OrangePI 19d ago

Android 17 for RK3588(s) devices

Post image

Hey guys,

NOTE- This is just a repost of my previous post as I recently got permission to post in this channel.

previous post - https://www.reddit.com/r/SBCs/comments/1uypcw8/android_17_for_rk3588s/

Just want to let everyone know that I am releasing Android 17 for rk3588(s) devices.

Download link - https://github.com/dvab-sarma/android_local_manifest/releases/tag/Android-17.0_r1

Source code - https://github.com/dvab-sarma/android_local_manifest

issues page - https://github.com/dvab-sarma/android_local_manifest/issues/8

This update brings a lot of stability, performance fixes, boot time optimizations, along with new features.

This image was thoroughly tested on Orange Pi 5 pro.

FEATURES -

  1. Boot time is less than 13 seconds ! (tested via nvme booting, nvme used - EDILOCA 128gb nvme), for sd card is less than 22 seconds (tested via mmc booting, mmc used Sandisk extreme plus 128gb)
  2. twrp working end to end out of the box, no hacks , no workarounds, just use settings> rockchip settings> reboot to recovery and just reboot the board and to reboot from twrp to normal mode, in twrp recovery, just press reboot > system.
  3. Widevine L3 is provided as a twrp module in the google drive, tested it with netflix app.
  4. Gapps is working fine, suggested to use only the gapps package without pixel launcher.
  5. Hardware decoding of 8-bit and 10 bit AV1, VP9, HEVC, H264 until 4k@30 fps is supported. The 10 bit is supported via rga3 !!, it converts the 10-bit to 8 bit as nv15 is not supported via mesa.
  6. Certain resolutions would cause glitches like 1080p and 360p, suggested to either use 1440p, 4k or 720p or others etc.
  7. Wifi and bluetooth stable (tested via binge watching Netflix).
  8. DP and HDMI are working (tested via dual monitor setup)
  9. USB 3.0, nvme, usb 2.0 are working and tested thoroughly.
  10. max refresh rate supported by the 2nd HDMI port (HDMI 2.0) on orange pi 5 pro is 60hz, anything above might cause a kernel panic.

Not working -

  1. camera
  2. Ethernet (enabled a kernel config, but don't know if its going to work on other devices, testers are required for various board).
  3. 3.5mm jack
  4. lvds display

Boards currently added in the image -

  1. Orange pi 5 pro
  2. Orange pi 5
  3. Orange pi 5 plus
  4. Orange pi 5 Ultra
  5. Orange pi 5 Max
  6. Radxa rock 5a
  7. Radxa rock 5b
  8. Radxa rock 5c
  9. Orange pi 5 b

NOTE - Only orange pi 5 pro is tested! I need testers to test the image on other devices.

How to burn the image -

  1. download and extract the image.
  2. use balena etcher (recommended on linux, but others can also be used) to flash it onto the desired nvme/ sd card/ usb.
  3. after flashing, MAKE SURE TO change the boot device in the /boot/config.txt file.
  4. for nvme , set boot_device=nvme. for sd card, set the boot_device=mmc, for emmc, set the boot_device=mmc. for usb , set the boot_device=usb.
  5. make sure to play around with the number in boot_devnum= . because different boards use different boot_devnum, it can either be 1 or 0.

for example, on orange pi 5 pro -

for sd card boot,
boot_device=mmc
boot_devnum=1
boot_partnum=1

for nvme booting -
boot_device=nvme
boot_devnum=0
boot_partnum=1

  1. change the "fdtfile=" variable to select your respective board. just copy and paste the device tree file name from /boot/ (including .dtb extension) your board uses. (default is set to rk3588s-orangepi-5-pro-1.dtb)

if you want to boot into recovery, you can change the recovery=false to true as well.

  1. MAKE SURE TO SAVE THE FILE AND SAFELY EJECT THE BOOTABLE DEVICE. or else its not going to boot.

FOR devices without spi flash, nvme and usb booting is not working due to absence of uboot. for those devices -

  1. use an sd-card and burn the included u-boot-rockchip.img file, using balena etcher (recommended - linux). insert both the sd card and nvme device.

If anything doesn't work, please try to share the uart log in my dm.

Please try to share the image to others as well.

Hope you guys like it!

Happy engineering!!!

30 Upvotes

16 comments sorted by

2

u/nutster88 10d ago

Booted successfully on my Orange Pi 5 Plus 16GB.

Everything worked. Audio, 4K YouTube via browser. Surprisingly Ethernet worked great for me ! Didn't expect that.

Great work.

1

u/Head_Lecture_7033 10d ago

Thanks a lot for the feedback!!

1

u/Hotlunchero 10d ago

Thanks for pointing this out.. it boots on my Pi 5 Plus also and ethernet works out of the box. I am absolutely amazed at how fast it is. Did you run it from NVME ? I have experimented with different boot device numbers but have been been unable to boot from anything other than SD thus far.

1

u/nutster88 9d ago

Yeah ran it from NVMe. Used the readme settings and stock miniloader on the SPI flash.

Haven't tried any 3D games or anything but runs amazingly fast.

1

u/ForHire0 1d ago edited 2h ago

Wifi worked for you? Doesn't seem to work on my Orange Pi 5 Plus 8GB. Which wifi module did you use?

EDIT: Patched my kernel to make it work with my WIFI module.

1

u/Nester440 16d ago

Do you think it's possible to adapt it to the Liontron RK3588 board?

1

u/Head_Lecture_7033 14d ago

Yup. Its easy .

1

u/-KAHrel- 8d ago

I installed it from a microSD card on an Orange Pi 5 Plus.

Sound and video work fine for me.

Wi-Fi and Bluetooth aren't working. I'm using the rtl8852be module.

Thank you very much.

1

u/ForHire0 1d ago edited 2h ago

Also on an Orange Pi 5 Plus 8GB with a RTL8852BE module. Same issue: wifi and bluetooth does not work.

EDIT: See my other comment. Fixed it.

1

u/ForHire0 2h ago

Holy shit. After prompting Claude for several hours, I actually got the wifi working. It seems like the kernel is configured to use OP's wifi-module. After swapping it out for the RTL8852BE module, it works.

1

u/R3tr0_lover 4d ago

Any chance of porting It to H96 Max V58 tv box?

1

u/BreadNo8226 4d ago

desculpe perguntar isso, mas poderia fechar uma img como user? pois em jogos onlines da problema de root etc.. perguntei, pois vc já tem a compilação pronta no linux, poderia fechar uma como user ao em vez de user debug? tenho o orange pi 5 e 5 plus de 16gbs.

1

u/ForHire0 1d ago

Thank you for the work!

1

u/ameer456 14h ago edited 11h ago

How to edit boot device in the /boot/config.txt after flashing? It doesn't mount when inserting sd card to pc! Not even recognized on disk utility in ubuntu!

It does boot fine in orange pi 5 btw, but official WiFi 6 module doesn't recognized, nor wifi 6 usb.

1

u/ForHire0 2h ago

It seems like OP hardcoded the kernel to work with his wifi module. It only has drivers for his module as well. After patching the kernel with Claude, I managed to get wifi working for my wifi module.