Difference between revisions of "Template:S5Pxx18Android"
From FriendlyELEC WiKi
(updated by API) |
|||
Line 41: | Line 41: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Re-compile android. | Re-compile android. | ||
+ | === Use fastboot command to flash android firmware === | ||
+ | Enter the uboot command line mode on the serial terminal when powering on, and then enter the following command: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | fastboot 0 | ||
+ | </syntaxhighlight> | ||
+ | For S5P4418: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | fastboot flash partmap partmap.txt | ||
+ | fastboot flash 2ndboot bl1-mmcboot.bin | ||
+ | fastboot flash fip-loader loader-mmc.img | ||
+ | fastboot flash fip-secure bl_mon.img | ||
+ | fastboot flash fip-nonsecure bootloader.img | ||
+ | fastboot flash boot boot.img | ||
+ | fastboot flash system system.img | ||
+ | fastboot flash cache cache.img | ||
+ | fastboot flash userdata userdata.img | ||
+ | </syntaxhighlight> | ||
+ | For S5P6818: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | fastboot flash partmap partmap.txt | ||
+ | fastboot flash 2ndboot bl1-mmcboot.bin | ||
+ | fastboot flash fip-loader fip-loader.img | ||
+ | fastboot flash fip-secure fip-secure.img | ||
+ | fastboot flash fip-nonsecure fip-nonsecure.img | ||
+ | fastboot flash boot boot.img | ||
+ | fastboot flash system system.img | ||
+ | fastboot flash cache cache.img | ||
+ | fastboot flash userdata userdata.img | ||
+ | </syntaxhighlight> |
Revision as of 07:36, 6 December 2019
Contents
1 Work with Android
1.1 Work with 4G Module EC20 under Android5
1.1.1 Hardware Setup
Connect an EC20 module to a USB to miniPCIe board and connect the board to an ARM board's USB Host. Here is a hardware setup:
Power on the board and you will be able to surf the internet with the 4G module like using an Android phone.
1.2 Modify the Android boot Logo
Replace the logo.bmp:
/opt/FriendlyARM/smart4418/android/device/friendly-arm/nanopi3/boot/logo.bmp /opt/FriendlyARM/smart4418/android/device/friendly-arm/nanopi2/boot/logo.bmp
Replace the bootanimation.zip:
/opt/FriendlyARM/smart4418/android/device/friendly-arm/nanopi3/bootanimation.zip /opt/FriendlyARM/smart4418/android/device/friendly-arm/nanopi2/bootanimation.zip
Re-compile android.
1.3 Use fastboot command to flash android firmware
Enter the uboot command line mode on the serial terminal when powering on, and then enter the following command:
fastboot 0
For S5P4418:
fastboot flash partmap partmap.txt fastboot flash 2ndboot bl1-mmcboot.bin fastboot flash fip-loader loader-mmc.img fastboot flash fip-secure bl_mon.img fastboot flash fip-nonsecure bootloader.img fastboot flash boot boot.img fastboot flash system system.img fastboot flash cache cache.img fastboot flash userdata userdata.img
For S5P6818:
fastboot flash partmap partmap.txt fastboot flash 2ndboot bl1-mmcboot.bin fastboot flash fip-loader fip-loader.img fastboot flash fip-secure fip-secure.img fastboot flash fip-nonsecure fip-nonsecure.img fastboot flash boot boot.img fastboot flash system system.img fastboot flash cache cache.img fastboot flash userdata userdata.img