[ROM] Rock5A/B AndroidTV 12 by mo123

Rock5A/B AndroidTV 12 by mo123


  • Improve wifi performance
  • Fix Lenova wifi card not working
  • Fix 120hz Display
  • Small app updates and fixes.
  • Fixed 8K Youtube playback, improved AVS video playback, HDR improvements
  • Removed Google trackers for improved privacy
  • Several speed and optimization improvements
  • Too many other changes to mention
  • Fully working AV1, H264, H265.
  • Updated apps
  • New launcher activates after connecting internet
  • Added kvm support to run Linux OS’s from Termux app inside Android
  • Fix A8 RTL8852BE wifi on Rock5A
  • Improved touch screen support
  • Hide unsupported sd card notification

Use TrackerControl to restrict websites opening trackers or individually block certain apps from accessing the internet.
TvQuickActions added to set up a recent apps screen
(Grant it accessibility and Usage access permissions)

Rock5A
Download Link EMMC/SD(balenaEtcher): Here
Boot Image for Magisk: Here
(Use the right side HDMI port)

Rock5B
Download link EMMC/SD(balenaEtcher): Here
Boot Image for Magisk: Here

Latest - Rock5B V1.10 24-01-2024
Only supports EMMC, SDCard
https://mega.nz/file/xU5xiCob#qiyxkYqBqgxWsHoQR5zKJtMEsYWWBheHvJ0SnDAqJpc

Rock5B v1.10 Boot Image for Magisk: Here

NVME Firmware(RKDevTool): Here
NVME Boot Image for Magisk: Here

(Use the left side 8K HDMI port for both firmwares)

(Can message me after downloading for the password)

Flashing Instructions:

To flash EMMC/SD firmware use Balena Etcher
https://www.balena.io/etcher

To Flash NVME Firmware use RKDevTool v2.93 Here

  1. Select the unzipped firmware with the ‘Firmware’ button under ‘Upgrade Firmware’
  2. Connect the device into Maskrom Mode
  3. Click Upgrade

To use Recent Apps - Configure tvQuickActions
Eg. I mapped the Recent Apps to the Onscreen DPAD Right button.
The default button to bring up the onscreen DPAD shortcut keys is the Menu button on your remote but it can be changed in the app.



How to Root
Patch the boot.img through Magisk 26.3
Then flash it through Developer Options and reboot.


21 Likes

Downloaded, but need password to decompress.
Did H264/265 10bit nonHDR video playback fixed?

3 Likes

@buliaoyin
Sent you a message.
Yes, they are fully working.
I would suggest to use Kodi, Just Video Player or Nova to watch videos.
Enjoy watching anime if you do :grinning:

1 Like

wait, do you mean x265 playback is working well? how do you do that,mind to share your secret? do you compiled a modified version of mediacodec library?

4 Likes

Great work! For H264/265 10bit anime playback, I built a modified kodi few days ago…
I’ll try this firmware tonight.

BTW, also want to see nvme boot support :grin:

1 Like

just wondering if it possible for you to apply patch below? it is known issue that some sd card card are not bootable on android. i haven’t test your rom though

2 Likes

I did built a nvme, will post later.

2 Likes

Micro-sd cards are booting correctly, tested with 5 different cards. You won’t have any booting problems. That patch is only for Linux and has no or limited effect on Android.

6 Likes

good to know. but i could see that workaround (delaying initializing process by 600ms) being applied on radxa official android rom and it sort out my SD card boot issue. never had issue with linux rom, perhaps it never tried to initiate UHS speed.

1 Like

form submitted, looking forward for the password
p.s- lol i just noticed that you did send a PM to me on January, silly me for not noticed those early.

1 Like

Thank you for building, just downloaded and waiting for pw.
Can’t wait for NVME :slight_smile:

1 Like

Downloaded.
Looking forward to trying it out.

1 Like

This ROM works great!
H264/265 10bit works fine with hw decoder, also NVME boot with no problem.
I’ll try this as my daily tv box.

Find a problem:
The pwm fan seems not work, even if cpu temp raised up to 60℃+.

The pwm fan also works, when the temp raise up to 70℃, it started to run :sweat_smile:

2 Likes

mo123 70C sounds too much… should spin around 50 slower than faster… imo… check out @incognito script its silent and does its job well (suggestion just).

git clone https://github.com/lukaszsobala/fan-control-rock5b
cd fan-control-rock5b
make package
sudo dpkg -i fan-control*.deb
sudo systemctl enable fan-control
systemctl start fan-control
1 Like

Thanks but this is android so it won’t work

1 Like

Okie Doakie… thought it could be changed … some how.

1 Like

password ?

it is that your the ATV sensei :wink:

1 Like

oh no, didnt managed to pass the boot logo :frowning:
my board really hates me.
card used:
sandisk extreme 64gb and kingston canvas select plus 32gb.
adb not enabled by default

22.236211][ T274] init: Unable to set property ‘sys.gmali.version’ from uid:10044 gid:10044 pid:792: SELinux permission check failed
[ 22.244721][ T1] init: processing action (sys.usb.config=none && sys.usb.configfs=1) from (/vendor/etc/init/hw/init.rk30board.usb.rc:92)
[ 22.246047][ T1] init: processing action (sys.usb.config=none && sys.usb.configfs=1) from (/system/etc/init/hw/init.usb.configfs.rc:1)
[ 22.246722][ T1] init: Command ‘write /config/usb_gadget/g1/UDC none’ action=sys.usb.config=none && sys.usb.configfs=1 (/system/etc/init/hw/init.usb.configfs.rc:2) took 0ms and failed: Unable to write to file ‘/config/usb_gadget/g1/UDC’: Unable to write file contents: No such device
[ 22.248855][ T1] init: Command ‘rm /config/usb_gadget/g1/configs/b.1/f1’ action=sys.usb.config=none && sys.usb.configfs=1 (/system/etc/init/hw/init.usb.configfs.rc:8) took 0ms and failed: unlink() failed: No such file or directory
[ 22.248927][ T1] init: Command ‘rm /config/usb_gadget/g1/configs/b.1/f2’ action=sys.usb.config=none && sys.usb.configfs=1 (/system/etc/init/hw/init.usb.configfs.rc:9) took 0ms and failed: unlink() failed: No such file or directory
[ 22.248978][ T1] init: Command ‘rm /config/usb_gadget/g1/configs/b.1/f3’ action=sys.usb.config=none && sys.usb.configfs=1 (/system/etc/init/hw/init.usb.configfs.rc:10) took 0ms and failed: unlink() failed: No such file or directory
[ 22.249034][ T1] init: Command ‘rmdir /configusb_gadget/g1/functions/rndis.gs4’ action=sys.usb.config=none && (/system/etc/init/hw/init.usb.configfs.rc:11) took 0ms and fail: No such file or directory
[ 22.330023][ T472] [BT_RFKILL]: bt shut off power
[ 22.330088][ T472] [BT_RFKILL]: rfkill_rk_set_power: set bt wake_host high!
[ 22.383407][ T472] [BT_RFKILL]: ENABLE UART_RTS
[ 22.457172][ T1112] dwc3 fc000000.usb: device reset
[ 22.490057][ T472] [BT_RFKILL]: DISABLE UART_RTS
[ 22.490092][ T472] [BT_RFKILL]: bt turn on power
[ 22.490102][ T472] [BT_RFKILL]: Request irq for bt wakeup host
[ 22.490113][ T472] [BT_RFKILL]: ** disable irq
[ 22.522462][ T1] zram0: detected capacity change from 0 to 1945374720
[ 22.539729][ T1] mkswap: Swapspace size: 1899776k, UUID=e2534c77-53cb-4485-b936-99e55d61698e
[ 22.558253][ T198] android_work: sent uevent USB_STATE=CONNECTED
[ 22.570211][ T1] Adding 1899776k swap on /dev/block/zram0. Priority:-2 extents:1 across:1899776k SS
[ 22.760748][ T198] android_work: sent uevent USB_STATE=CONFIGURED
[ 30.079546][ T1] init: Sending signal 9 to service ‘idmap2d’ (pid 486) process group…
[ 30.436410][ T1] libprocessgroup: Successfully killed process cgroup uid 1000 pid 486 in 356ms
[ 30.436688][ T1] init: Control message: Processed ctl.stop for ‘idmap2d’ from pid: 610 (system_server)
[ 30.436809][ T1] init: Service ‘idmap2d’ (pid 486) received signal 9
[ 32.191913][ T171] binder: undelivered transaction 23967, process died.
[ 34.290297][ T180] binder: release 443:443 transaction 23840 in, still active
[ 34.290313][ T180] binder: send failed reply for transaction 23840 to 771:896
[ 34.290325][ T180] binder: release 443:472 transaction 22036 out, still active
[ 34.290329][ T180] binder: release 443:472 transaction 21480 in, still active
[ 34.326403][ T1] init: Service ‘vendor.bluetooth-1-0’ (pid 443) received signal 6
[ 34.326496][ T1] init: Sending signal 9 to service ‘vendor.bluetooth-1-0’ (pid 443) process group…
[ 34.441099][ T1] libprocessgroup: Successfully killed process cgroup uid 1002 pid 443 in 114ms
[ 34.657290][ T1] init: Untracked pid 1308 exited with status 0
[ 34.657527][ T1] init: Untracked pid 1306 exited with status 0
[ 34.764494][ T1] init: starting service ‘vendor.bluetooth-1-0’…
[ 35.114840][ T321] type=1400 audit(1679845830.346:103): avc: denied { read } for comm=“Binder:610_5” name=“u:object_r:vendor_default_prop:s0” dev=“tmpfs” ino=280 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
[ 35.169656][ T321] type=1400 audit(1679845830.570:104): avc: denied { read } for comm=“Binder:610_5” name=“u:object_r:vendor_default_prop:s0” dev=“tmpfs” ino=280 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
[ 35.714038][ T773] audit: audit_lost=1 audit_rate_limit=5 audit_backlog_limit=64
[ 35.714054][ T773] audit: rate limit exceeded
[ 35.716146][ T321] type=1400 audit(1679845831.116:105): avc: denied { read } for comm=“Binder:610_5” name=“u:object_r:vendor_default_prop:s0” dev=“tmpfs” ino=280 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
[ 35.716212][ T321] type=1400 audit(1679845831.116:106): avc: denied { read } for comm=“Binder:610_5” name=“u:object_r:vendor_default_prop:s0” dev=“tmpfs” ino=280 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
[ 35.716242][ T321] type=1400 audit(1679845831.116:107): avc: denied { read } for comm=“Binder:610_5” name=“u:object_r:vendor_default_prop:s0” dev=“tmpfs” ino=280 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
[ 35.716268][ T321] type=1400 aud:108): avc: denied { read } for comm=“Binder:610_5” name=“u:objefault_prop:s0” dev=“tmpfs” ino=280 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
[ 35.716293][ T321] type=1400 audit(1679845831.116:109)c: denied { read } for comm=“Binder:610_5” name="u:object_r:venddev=“tmpfs” ino=280 scontext=u:r:system_server:s0 tcontext=u:obj_prop:s0 tclass=file permissive=0
[ 35.716318][ T321] type=11.116:110): avc: denied { read } for comm=“Binder:610_5” name=“uault_prop:s0” dev=“tmpfs” ino=280 scontext=u:r:system_server:s0 :vendor_default_prop:s0 tclass=file permissive=0
[ 35.808173][ T1364] libprocessgroup: Failed to open /dev/stune/foreground/tasks: No such file or directoryv=“tmpfs” ino=280 scontext=u:r:sytext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
[ 35.808223][ T1364] libprocessgroup: Failed to apply HighPerformance task profile: No such file or directory
[ 39.313655][ T272] vcc_mipidphy0: disabling
[ 41.514554][ T143] binder: release 771:1156 transaction 22036 in, still active
[ 41.514571][ T143] binder: release 771:1156 transaction 21480 out, still active
[ 41.514575][ T143] binder: send failed reply for transaction 22036, target dead
[ 41.514578][ T143] binder: send failed reply for transaction 21480, target dead
[ 41.797816][ T1] init: Untracked pid 1186 received signal 9
[ 41.797961][ T1] init: Untracked pid 1188 received signal 9
[ 59.772355][ T321] type=1400 audit(1679845854.826:165): avc: denied { write } for comm=“RenderThread” name=“property_service” dev=“tmpfs” ino=309 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0 app=com.google.android.tvlauncher
[ 59.785781][ T1622] logd: start watching /data/system/packages.list …
[ 59.786639][ T1622] logd: ReadPackageList, total packages: 69
[ 70.341850][ T140] binder: release 1625:1625 transaction 27199 out, still active
[ 70.341863][ T140] binder: undelivered TRANSACTION_COMPLETE
[ 70.666020][ T1421] binder: 610:1421 transaction failed 29189/0, size 4-0 line 2668
[ 70.666418][ T1421] binder: send failed reply for transaction 27199, target dead
[ 73.358493][ T450] healthd: battery l=50 v=3 t=2.6 h=2 st=3 c=-1600 fc=100 chg=au
[ 132.868180][ T450] healthd: battery l=50 v=3 t=2.6 h=2 st=3 c=-1600 fc=100 chg=au
[ 175.797720][ T143] binder: release 1868:1868 transaction 31048 out, still active
[ 175.797740][ T143] binder: undelivered TRANSACTION_COMPLETE
[ 175.940042][ T626] binder: 610:626 transaction failed 29189/0, size 8-0 line 2668
[ 175.940058][ T626] binder: send failed reply for transaction 31048, target dead
[ 193.141850][ T450] healthd: battery l=50 v=3 t=2.6 h=2 st=3 c=-1600 fc=100 chg=au

1 Like

It should restart twice on first boot - maybe try again?

1 Like

it works now on my slower card. maybe im not patient enough :sweat_smile:

1 Like