[ROM] ROCK 5B Android 12.1 rkr10 GoogleTV

by the way @thc013, hopefully you could share the kernel and android tv compilation steps, hopefully someone could continue maintaining this image if you are not able to commit to this project anymore :slightly_smiling_face:

Yeah, standby mode doesn’t work. The power button did work for me, but keyboard or the chromecast remote did not (it disconnects on sleep anyway). Also, HDMI-CEC doesn’t seem to work (but it may be the cable).

Would be useful to check if the Rock5B supports standby mode at all

I got V4 flashed to emmc, runs OK, but no sound though HDMI
any suggestions?

Is it possible to add more wifi driver to this build?
I have one rtl8852be module, which from my lenovo laptop.
installed it to rock5b, didn’t work

on linux, I got this info:

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852]
    Subsystem: Lenovo Device [17aa:4853]

I think it’s subsystem ID differ from Radxa ones

In sound settings change the output to HDMI Bitstream

I have the same issue. I did this and it didnt fix it :confused:

1 Like

Why couldn’t you just use a USB type A to USB type C cable instead?
A to A cable is very uncommon

I guess it could be A to C if your computer can provide enough power for the board (unlikely, although 5V 3A could suffice). I managed to boot it even with a 5V 1.5A chromecast power supply, but it restarted when I tried to do anything more than looking at the screen

But I am asking what is the actual hardware difference between a a to C cable and an A to A cable with a type C OTG adapter?
how exactly would it be any different , you are still making a A to C connection
but A to A cables are rare AF , I just happen to have one though,someplace

Not an expert here but I think A2C & C2C are supposed to have a resistor on one end to prevent two devices from sending power to one another - if you try connecting 2 phones using a C2C cable, the direction seems to matter (even though both ends look the same).

A2A wouldn’t have it and could damage old dumb devices. I don’t know much about this though

ow had’nt posted v5 here

https://drive.google.com/file/d/1orIwfD-lgh3JxPKLK3IDESzkwTMB1n5O/view?usp=share_link

if lucky now @Quenii_Z wifi works for that card ate least i had some trouble with it :slight_smile:

ow changelog for someone

ehh

added google files
a mediaplayer

4 Likes

Thanks
I tried solving the file access problem by installing and trying many file managers (including Google Files). I tried the native Android Files apk (com.android.documentsui) that you can get from here for example: https://apkcombo.com/files/com.android.documentsui/ but nothing worked. I cannot manage files in any app that wants to read outside its own directory.

Right now I think this is a lost cause and Android TV is dead. Has anyone had any success with doing this (ie for example trying to add a directory in Redream or AetherSX2)? Does it work on V5?

With Files (com.android.documentsui) installed I am at least getting a dialog box letting me choose “Files” or “Action stub”. Files does nothing and stub prints out “You have no app that can do this”. In AetherSX2 you can navigate using different file managers, e.g. MiXplorer, but when you choose a file it does not get added in the app.

lost hdmi audio. no kodi or other apps that were on v4 build. xbox controller wont connect bluetooth. but wired works. redream and other apps work. i can find roms. before it wouldnt let me access. ethernet works. bluetooth works with remote.

https://forum.xda-developers.com/t/google-tv-file-manager-problem.4478099/

thnx for the link M. on discord

ow and googletv is pretty alive :wink: , it is just you want something what isnt solved or fix easy

1 Like

A to C get no CC signal, which can make power supply output 9V/12V

ehh this i a android topic not power related

2 Likes

and second attempt of v3 so 2x3 = V6 :slight_smile:
this is very expermimental and could just as v3 have no hdmi who knows :slight_smile:

https://drive.google.com/file/d/102f-GP6hWFKMu-Pm_dgIq8O0Fy9H2d46/view?usp=share_link

i updated the kernel with a more recent one, on v3 i included the wrong gpu firmware corrected that and used the mali userspace driver from the rkr12 rom . wifi could be a complete mess i did little fighting with the rtl8852be module :mask:

it looks a little lot of firmwares and you dont have to udate if you have one where you can live with ,it just a work in progress and info helps me a lot , it is not always 1 fix for all boards . thnx

here a video from the same firmware on a h96_max_v58 and no i am not from brazil and dont know what he is saying but the first half hour is about maskrom , after 30min it is more interesting

thanks for update
but sadly, wifi still cannot be turned on

wich you tried ? and you have a log ?

v5 version flashed
got this from adb shell

RadxaRock5B_box:/ # dmesg | grep wifi -A3
[    1.800108] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  androidboot.dtb_idx=0 androidboot.dtbo_idx=0  androidboot.verifiedbootstate=orange androidboot.serialno=c99f3d58e2dfb76a console=ttyFIQ0 firmware_class.path=/vendor/etc/firmware init=/init rootwait ro loop.max_part=7 androidboot.console=ttyFIQ0 androidboot.wificountrycode=US coherent_pool=1m cgroup_enable=memory swapaccount=1 androidboot.hardware=rk30board androidboot.boot_devices=fe2e0000.mmc,fe2c0000.mmc,fe230000.sata,fe210000.sata,fc800000.usb,fc880000.usb androidboot.selinux=permissive buildvariant=userdebug earlycon=uart8250,mmio32,0xfeb50000 irqchip.gicv3_pseudo_nmi=0
[    1.806691] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    1.807862] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    1.808688] mem auto-init: stack:off, heap alloc:off, heap free:off
--
[    2.695657] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6255
[    2.695661] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[    2.695665] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    2.695694] [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,poweren_gpio = 20 flags = 0.
[    2.695706] [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,host_wake_irq = 10, flags = 0.
[    2.695711] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[    2.695714] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    2.695718] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 1
[    2.695722] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    2.696107] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 34.
[    2.696119] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,reset_gpio = 102.
--
[    3.826567] init: Could not set 'ro.boot.wificountrycode' to 'US' while loading .prop filesRead-only property was already set
[    3.827308] init: Setting product property ro.product.brand to 'rockchip' (from ro.product.product.brand)
[    3.827326] init: Setting product property ro.product.device to 'RadxaRock5B_box' (from ro.product.product.device)
[    3.827347] init: Setting product property ro.product.manufacturer to 'rockchip' (from ro.product.product.manufacturer)
--
[    8.143729] [dhd] _dhd_module_init: in Dongle Host Driver, version 101.10.361.16 (wlan=r892223-20220221-1)\x0adrivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd compiled on Dec  8 2022 at 00:33:51\x0a
[    8.143742] [dhd] ======== dhd_wlan_init_plat_data ========
[    8.143746] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
[    8.143767] [dhd] dhd_wlan_init_gpio: WL_HOST_WAKE=-1, oob_irq=210, oob_irq_flags=0x4
[    8.143770] [dhd] dhd_wlan_init_gpio: WL_REG_ON=-1
[    8.143772] [dhd] dhd_wifi_platform_load: Enter
[    8.144664] [dhd] No Broadcom PCI device enumerated!
[    8.144781] [dhd] dhd_wifi_platform_load_pcie: pcie_register_driver failed
[    8.144785] [dhd] unregister wifi platform drivers
[    8.144788] [dhd] wifi_platform_bus_enumerate device present 0
[    8.144791] [dhd] ======== Card detection to remove PCIE card! ========
[    8.144793] [dhd] ======== dhd_wlan_deinit_plat_data ========
[    8.144796] [dhd] dhd_wlan_deinit_gpio: gpio_free(WL_HOST_WAKE 0)
--
[   13.911465] init: Control message: Processed ctl.interface_start for 'android.hardware.wifi@1.0::IWifi/default' from pid: 307 (/system/bin/hwservicemanager)
[   13.911628] init: Control message: Processed ctl.interface_start for 'android.hardware.wifi@1.0::IWifi/default' from pid: 307 (/system/bin/hwservicemanager)
[   13.928707] eth0: 0xffffffc012c60000, fa:68:fa:8c:43:8c, IRQ 168
[   13.954894] Freeing drm_logo memory: 732K
[   14.610521] init: processing action (sys.boot_completed=1) from (/system/etc/init/hw/init.rc:1200)
--
[   19.918563] init: Control message: Processed ctl.interface_start for 'android.hardware.wifi@1.0::IWifi/default' from pid: 307 (/system/bin/hwservicemanager)
[   20.841871] init: starting service 'vendor.bluetooth-1-0'...
[   20.845765] init: Control message: Processed ctl.interface_start for 'android.hardware.bluetooth@1.0::IBluetoothHci/default' from pid: 307 (/system/bin/hwservicemanager)
[   20.846207] init: Control message: Processed ctl.interface_start for 'android.hardware.bluetooth@1.0::IBluetoothHci/default' from pid: 307 (/system/bin/hwservicemanager)
--
[   23.160086] type=1400 audit(1670456595.876:340): avc: denied { read } for comm="apps.mediashell" name="u:object_r:wifi_config_prop:s0" dev="tmpfs" ino=300 scontext=u:r:untrusted_app:s0:c62,c256,c512,c768 tcontext=u:object_r:wifi_config_prop:s0 tclass=file permissive=1 app=com.google.android.apps.mediashell
[   23.160243] type=1400 audit(1670456595.876:341): avc: denied { open } for comm="apps.mediashell" path="/dev/__properties__/u:object_r:wifi_config_prop:s0" dev="tmpfs" ino=300 scontext=u:r:untrusted_app:s0:c62,c256,c512,c768 tcontext=u:object_r:wifi_config_prop:s0 tclass=file permissive=1 app=com.google.android.apps.mediashell
[   23.912768] [BT_RFKILL]: bt shut off power
[   23.938063] [BT_RFKILL]: rfkill_rk_set_power: set bt wake_host high!
[   23.990838] [BT_RFKILL]: ENABLE UART_RTS
--
[   24.925128] init: Control message: Processed ctl.interface_start for 'android.hardware.wifi@1.0::IWifi/default' from pid: 307 (/system/bin/hwservicemanager)
[   25.073271] binder_alloc: 1075: binder_alloc_buf size 1056768 failed, no address space
[   25.073297] binder_alloc: allocated: 2416 (num: 3 largest: 1856), free: 1037968 (num: 1 largest: 1037968)
[   25.073304] binder: 1370:2016 transaction failed 29201/-28, size 1056768-0 line 2921