[ROM] ROCK 5B Android 12.1 rkr10 GoogleTV

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

from log I see this

[    2.695657] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6255
[    2.695661] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.

but my actual wifi is

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

it’s a RTL8852BE, which label as lenovo device, subsystem id as [17aa:4853]

thnx

yeah the wifi init is diffrent with pcie .

i will look at it ,if it is in normal rom it should work in v5 if i didnt overlooked something .

for v6 i pretty sire it dont work , i put a notice when i build one with a attempt to fix

AFAIK, ap6255 showed in dmesg is a broadcom model BCM43455
rtl8852 is a realtek module, with wifi 6 capability. same chip with radxa a8 wifi module, but different subsystem id

just wondering if this is working on debian? i was wondering if i could just purchase non radxa realtek rtl8852 module, just to save up some delivery cost.

on debian you can install driver manually,
try this HRex39/rtl8852be: Realtek Linux WLAN Driver for RTL8852BE (github.com)

flashed the v5 build
setup with ethernet worked a charm.

thanks for the build!

So does Radxa WiFi A8 work on V5 or V6?

And how about apps trying to use the native file manager - do they work? Redream for example - can you add a folder to the library?

Thanks!

Did you try ?

and did you read link i shared from m on discord ? so hope you also understand that your complaining over a feature what is by default not there !

And here a person who likes the same emus as you are complaining about .
https://ww.youtube.com/watch?v=Gjid6Tc50bU
i should ask him he already has it on a tablet version with rklauncher wich is called box in rockchip terms.

you should just askl the emu DEVELOPERS to make it compatible with androidtv or googletv wich dont have a native filemanager .

here someone already made the question

That’s my issue opened. Now it is closed, as not planned and they don’t like idea of emulation on GTV device. Weird …

dont know if they dont like their app running on a GTV . but i can understand it is not a emu issue on a CFW .

Has anyone tried hooking a touch screen to this? Or do I need to wait for a lineage os or something :slight_smile:

Google files cannot install in all your recent build

1 Like

What is CFW?

By the way, I’m getting a Kodi (20 beta) issue on v2 - when I enable the http Web server for remote control, the app starts to go to the background constantly (while it is still running) and if I restart it it starts to crash.
Need to disable the Web server and clear the cache for it to start working again. Has anyone had this problem on the Google tv android?

cfw means customized firmware, which differ from official ones;
all fw for rock5b should be categorized as cfw, since there is no official on that google approved.

for kodi, don’t use beta

Well, I just saw the most recent version (2 days ago) now is 20 rc1. I will test this and see whether it works better.

But I would be really surprised if it was a Kodi issue so this is why I am asking if it happened for anyone else on this android version. With any Kodi. The app being moved from foreground to the background seems like a system/launcher thing.

Can somebody provide information on how to install this via rkdeveloptool I don’t understand what I should do with update.img

update image you use with rkdevtool ,and for rkdevtool there are tons of videos and tutorials so please google it is easy enough .

@icognito itnis kodi beta whats on it so you could go back perhaps that helps.

Well i wonder if there is a certified rk35xx because that would have widevine l1 perhaps.