Why do emmc need to be removed? It is necessary write android v1.4 on it. Android works faster on emmc! If you need to boot radxa linux from SD, insert SDcard, it will boot. If you need to boot armbian or libreelec from SD, you need to write there uboot from radxa, and these systems will boot.
Armbian, libreelec and others should boot from usb without modification. If took everything out and the android booted from emmc.
[ROM] AndroidTV Pie Custom firmware by mo123
everytime there is an update and I want to flash the emmc. Like just now updating from 1.3 to 1.4. Iām using fast SanDisk Extreme mSD cards. Not sure if the emmc is actually faster.
Update:
I just found a post about the boot sequence:
āthe boot order is set in SOCās BootROM (SPI -> eMMC -> SD -> USB) and cannot be changed.ā
Sorry, Iām very new to all this and donāt really understand how the boot mechanism works. But it seems like I have to take out my emmc each time I want to boot something else, correct?
So, Iāll have have a look at @rua1 advice to replace uboot. But really have no idea how and after hours of reseaching, Iām just very confused about all thisā¦
@aaditya that are some good ideas. I really like the idea mounting the nvme under the heatsink, but just doesnāt fit in my ecopi case. There is always a trade offā¦
I can see that radxa is starting to think about all that for the rock pi x. So, I hope that the rock pi 5, if thereāll be one in future will have a few design changes as well.
Please test 1.4 firmware for sdcard booting troubleshooting
Older u-boot
https://mega.nz/#!oFExhKZJ!YneWFMSVbbLltVEZ5HzoPoqllvuxByVMGylgh0q3U0U
Newer u-boot(also has nvme changes)
Also test this one on nvme if it works better or not.
https://mega.nz/#!BVdTVKCZ!tqbdgOh8PdEg36vq3rrd_eBjrD16K0QqqKAi7riD3iQ
Thank you @mo123
itās booting now from sd Just one more question, how can I skip the google play setup?
The app is called SetupWraith and is in /system/priv-apps
You have to login on the device with a keyboard, airmouse or with the Google app on any Android phone or by android.com/tv/setup on a PC and entering a code.
I can remove this setup in some new firmware but Google setup/account is important for updating AndroidTV apps and for some streaming services to work.
Alternatives are Aptoide and UptoDown app stores then you donāt need a Google account to install AndroidTV apps.
https://tv.aptoide.com/
You can also create a Google account with fake info and remove your personal info from it later for privacy reasons and then also remove the Google account in the Android TvSettings - āAccounts and Sign-inā menu.
These 2 firmwares arenāt rooted since I only made it to test micro-sd card booting.
If some more people test it and everything is fine, then I can add root back and also try again with adding USB booting again.
Booted from SD ā¦ khm ā¦ DDR Version 1.24, fdtfile=rockchip/rockpi-4b-linux.dtb ā¦ itās good github . Please make only u-boot for me with changed boot sequence from this github , donāt make git pull.
thanks @mo123
I prefer a little bit the setup of your v1.3 and not being forced to create a google account, but deleted the google account after the setup to try this version.
I installed netflix v6.21 via apkpure and itās working fine. With the launcher Square Home 3 I wasnāt very lucky to make it a default app. I will try firefox or another web browser and try if I can change it to a default app later.
Thanks for all your work!
Used same u-boot and only changed USB to first boot device
#define BOOT_TARGET_DEVICES(func)
BOOT_TARGET_USB(func)
BOOT_TARGET_MMC(func) \
https://mega.nz/#!BctzRABJ!Fe_fabJ68fE20c3jNGbURPXDnVCl6499Dx4K0EphiUs
Radxa said they are waiting for Linux u-boot changes to be completed then will bring changes to Android u-boot to improve things.
For AndroidTV, only AndroidTV launchers will work well.
You can try this app and the 3 launchers they mention
I will also make a firmware with a tablet layout so you can use normal launchers but it needs replacing of the Google apps and navigation, status bar that have to be added back.
Will also need to remove some of the apps that are only AndroidTV compatible.
For Netflix on AndroidTV, you can also use the RefreshRate app to change the frame-rate to 24/25hz manually to have smoother playback after mapping a key to show this menu while a video is playing.
You can also use the Kodi Netflix addon and enable frame-rate switching and enabling the resolution whitelist settings on AndroidTV/(tablet Android firmware I will make).
Immediately did not make out. Without other changes, but only usb, it is useless. Elf Boot_android will start immediately from devtype devnum and boot the android. Boot_targets are known only in āscriptā distro_bootcmd.
bootcmd=boot_android ${devtype} ${devnum}; bootrkp; run distro_bootcmd;
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
boot_targets=usb0 mmc1 mmc0 pxe dhcp
bootcmd_mmc0=setenv devnum 0; run mmc_boot
bootcmd_mmc1=setenv devnum 1; run mmc_boot
bootcmd_usb0=setenv devnum 0; run usb_boot
bootcmd_pxe=run boot_net_usb_start; run boot_net_pci_enum; dhcp; if pxe get; then pxe boot;
If put distro_bootcmd in the first place and donāt remove the pxe, you wonāt wait for the android to load because pxe tries to download over the network indefinitely, I only interrupted this process with Ctrl-C from the console.
I already rebuilt your uboot.img as needed. LE booted without image on the screen. Previos version work more good for me
Will hope
Changelog v1.5 ROM
Added stock firmware improvements
- update sdk to rockchip rk3399_pie_v9.00_20191223.xml
- update to android-9.0.0_r50
- Configurable SUļ¼
TunerSettings -> System -> Root Access -enable-> APP SU Access.
Enable SU that You can get su access in any app.
If you need permission management, please swipe in Magisk.
After swipe Magisk, this settings will be not work. - Support Raspberry Pi Camera V2.0 (imx219).
- Ctrl+Alt+P to open power menu.
- Fix factory reset not work in TWRP.
- Fix first boot get more error in TWRP.
- Disable TF card sdr104 mode, causes boot problems on some SD Cards.
- Add a hard power button (16(High effective) pin in 40 pin).
Set default keyboard to LeanKeyKeyboard
(To change the language, go into LeanKeyKeyboardās Settings in TvSettings to change it)
Change default screensaver to Dreamy
(It has lots of categories for different wallpapers, much better than the stock screensaver)
Apps donāt close after granting permissions anymore
Updated some apps
Download link(gpt image):
https://mega.nz/#!wFsWGYKa!RX0DWGlSm9Op3iotJ4CgBicyY_I59v15xQG7wbK86I0
Pass: radxa
If any bugs are found, please report them to get fixed.
For people using different airmouse remotes bought off sites like Gearbest, Banggood, Aliexpress etc.
You can type in a terminal app
https://apkpure.com/terminal-emulator-for-android/jackpal.androidterm
cat /proc/bus/input/devices
Then post the ouput eg.
Bus=0005 Vendor=0a5c Product=8502 Version=011b
and give a link of your remote.
I will then try to make or find different keylayout files for the remotes and include it in future firmwares.
For keys that donāt work or you want remapped to a different key use Keytest app and post the key codes of the keys
Eg. I mapped Play, Pause, Rewind, Forward to the bottom keys of the Mele F10 remote, maybe some users want similar shortcuts for certain actions for other remotes.
Thanks @mo123. The on-screen keyboard is now present in the terminal and I can reboot to Linux using only the remote control from the TV
Hi mo123,
Thx again for this image.
Netflix does not run om my device with V1.5.
Not the playstore version and not the apkpur versions.
One is not installed, the other get the messsgage
"The version is not compatible with the device.
Made i some mistake,
How can i boot libreELEC from usb, with android on emc?
My sd slot is broken
Greetings
Hi
You can try v7.42
It seems the newer versions of Netflix have problems or Netflix is blocking them from installing on some devices.
In the APKPure app, there is āPrevious Versionsā text, click on it to download older versions of apps.
https://apkpure.com/netflix/com.netflix.mediaclient/download/34682-XAPK-62d91565ec749515aad26d9a78342e16?from=versions%2Fversion
Changelog v1.6 ROM
- Update Kodi - Can now seek in H265 videos
- Update Nova Video Player - Fix some DTS-HD sound issue
- Update LeanKeyKeyboard - The onscreen keyboardās size can now be changed and other languages can now enter special characters.
- Update Lightning browser
- Add Google Clock Screensaver
- Add permissions for Vulkan API for some apps that might require it
- Fix VC1 playback
- Fix TvSettings - Developer Settings - Flash image - Add back to flash images again.
- Fix Search in More Settings
- Enable all resolutions for some 4K tvās that might have different EDID timings
- Update busybox to latest version
- Enable support for VirtualXposed
This app can be used together with the Hijack Suite Free Xposed Module to make some apps work that check Safetynet if Magisk doesnāt work. - Magisk patched by default again
You also need to enable āHide Magiskā in Magisk Managerās Settings otherwise the BasicIntegrity test will fail. Using a Xiaomi Mi 7 as fingerprint and device sumulation with all settings enabled makes both CTS and BasicIntegrity tests pass
For Netflix, install version 7.42 or earlier from the APKPure app store.
Download link (gpt image):
https://mega.nz/file/UdVwRSzI#rMrZ30lG5i44BwSkuaR5GSxj2th547xTJmf5k1bkzRA
Pass: radxa
This Firmware update is AMAZING!!! Keep up the good work mo123.
Hello everybody =)
What a great job!! Thank you so much mo123 It is exactely what I was looking for.
I just have a little small problem, I have a āNanoPc-T4ā which should run it smoothly but that is not the caseā¦ I think it is because it boot from SD Card and not from the internal emmc storageā¦? (I also have nanopi m4, but didnāt test it yet)
Iām not an expert and my knowledge is very limited, but I can fix it if you tell me how with detailed steps.
Also I noticed at the first boot it goes to TWRP and does some work and there are some errors (red lines), I just could read something like āmccblk0p18 wrong sizeā or something like this, but manage to reboot on ths OS.
Thank you in advance for your help!
Kind regards =)
Continuing the discussion from [ROM] AndroidTV Pie Custom firmware by mo123:
If it uses removable emmc then the emmc can also be flashed with etcher and a USB-emmc reader or emmc-sd-memory card reader.
The NanoPi devices uses different kernel drivers and pin settings(dts) so some things might not work correctly or slow down eg. wrong ram timings etc.
I get about 20MB write speed from my micro-sd card writing with etcher and it performs almost the same as the emmc.
Itās a pity they donāt upgrade from Android 8 to Android 9.
Some RK3399 manufacturers are already releasing Android 10 for RK3399 devices.
It is fixed, I changed the sd card for a faster one I had and also I was on 7 inch LCD to test now itās on my 55" TV and it is working very well except Bluetooth, I think Rockpi and Nanopi donāt have the same bluetooth hardware, any idea for a fix I would like to connect my bluetooth remote control.
For the apps already installed like youtube can I uptade or should I keep the version already installed untill your next release?
Last thing I noticed I canāt root apps in the setting, only adb can be rooted, I donāt know if it has any impact.
Thanks again for all your work and your help =)