Difference between revisions of "Template:S5Pxx18Android"

From FriendlyARM WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
Line 71: Line 71:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
===Android Keys===
 
===Android Keys===
Android 5:<br />
+
Android 5:
   vendor/friendly-arm/nanopi3/security/<br />
+
<syntaxhighlight lang="bash">
 +
   vendor/friendly-arm/nanopi3/security/
 +
</syntaxhighlight>
 
Android 7<br />
 
Android 7<br />
   build/target/product/security/<br />
+
<syntaxhighlight lang="bash">
 +
   build/target/product/security/
 +
</syntaxhighlight>

Revision as of 09:19, 12 March 2021

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:
T2-4G-EC20.jpg
Power on the board and you will be able to surf the internet with the 4G module like using an Android phone.


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

1.4 Android Keys

Android 5:

  vendor/friendly-arm/nanopi3/security/

Android 7

  build/target/product/security/