Difference between revisions of "Template:BurnAndroidToEMMC-Allwinner"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=====Boot from eMMC=====
+
=====Flash to eMMC=====
 
======Install Android to eMMC from TF Card======
 
======Install Android to eMMC from TF Card======
* Extract an Android image file and the flashing utility PhoenixCard_V310.rar, insert a TF card(at least 8G) to a windows PC and run PhoenixCard as administrator. On the PhoenixCard Window select your TF card's device and your wanted Android image file, set the mode to "mass production" and click on "Flash" to start flashing the Android image to eMMC.
+
* Extract an Android image file and the flashing utility PhoenixCard_V310.rar, insert a TF card(at least 8G) to a windows PC and run PhoenixCard as administrator. On the PhoenixCard Window select your TF card's device and your wanted Android image file, set the mode to "卡量产(factory production)" and click on "烧录(Flash)" to start flashing the Android image to TF card.
[[File:PhoenixCard_burn.png|frameless|500px|]] <br>
+
[[File:PhoenixCard_burn.png|frameless|600px|]] <br>
 
(In the screenshot an Android image file for the NanoPi M1 Plus was selected. You need to select a correct image file for your board.)
 
(In the screenshot an Android image file for the NanoPi M1 Plus was selected. You need to select a correct image file for your board.)
* After flashing is done take out the TF card, insert the TF card to your board's TF card slot. Connect your board to an HDMI monitor, power on your board(note:you need a 5V/2A power adapter) and you will see a green process bar on the HDMI monitor. After flashing is done take out the TF card and reboot your board and it will be rebooted from eMMC.
+
* After flashing is done, the TF card has the ability to burn the Android system to eMMC. Take out the TF card and insert it to your board's TF card slot. Connect your board to an HDMI monitor, power on your board(note:you need a 5V/2A power adapter) and you will see a green process bar on the HDMI monitor. After flashing is done take out the TF card and reboot your board and it will be rebooted from eMMC.
  
 +
<!--
 +
只适配了H3,H5经测试功能也是正常的,但是文档并没有适配,为了减少维护工作决定裁剪掉该章节。
 
======Install Android to eMMC with USB======
 
======Install Android to eMMC with USB======
 
* Extract an Android image and the USB flashing utility "LiveSuitV306_For_Linux64.zip" under 64bit Ubuntu(you need to install it on your PC's hard drive instead of using a virtual machine) and install LiveSuit by running the following command:
 
* Extract an Android image and the USB flashing utility "LiveSuitV306_For_Linux64.zip" under 64bit Ubuntu(you need to install it on your PC's hard drive instead of using a virtual machine) and install LiveSuit by running the following command:
Line 23: Line 25:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
Click on the "Image" button to select an Android image:<br>
 
Click on the "Image" button to select an Android image:<br>
[[File:sunxi-livesuit-select.png|frameless|500px|]]
+
[[File:sunxi-livesuit-select.png|frameless|600px|]]
  
 
* Flash U-boot with Fex Mode to TF Card:<br>
 
* Flash U-boot with Fex Mode to TF Card:<br>
 
The fex mode is an Allwinner-customized USB download mode. You can download a U-boot image file with fex mode  
 
The fex mode is an Allwinner-customized USB download mode. You can download a U-boot image file with fex mode  
[http://wiki.friendlyarm.com/wiki/index.php/File:U-boot-efex.zip download link U-boot-efex], after you download it extract the package and run the following commands to flash U-boot to a TF card:
+
[http://wiki.friendlyelec.com/wiki/index.php/File:U-boot-efex.zip download link U-boot-efex], after you download it extract the package and run the following commands to flash U-boot to a TF card:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
$ cd U-boot-efex
 
$ cd U-boot-efex
Line 36: Line 38:
 
You need to replace "/dev/sdX" with the real device name that your TF card is recognized as in your system. If you boot your board with a customized U-boot you can enter the fex mode by running "efex" in a commandline utility after U-boot loads.
 
You need to replace "/dev/sdX" with the real device name that your TF card is recognized as in your system. If you boot your board with a customized U-boot you can enter the fex mode by running "efex" in a commandline utility after U-boot loads.
 
* After your TF card is flashed with U-boot take out the TF card and insert it into your board's BOOT card slot, connect your board to a PC with a MicroUSB cable. And your board will be automatically powered up and running U-boot. A LiveSuit popup window will show up on your host PC asking whether or not to start installation:<br>
 
* After your TF card is flashed with U-boot take out the TF card and insert it into your board's BOOT card slot, connect your board to a PC with a MicroUSB cable. And your board will be automatically powered up and running U-boot. A LiveSuit popup window will show up on your host PC asking whether or not to start installation:<br>
[[File:sunxi-livesuit-detect.png|frameless|500px|]]<br>
+
[[File:sunxi-livesuit-detect.png|frameless|600px|]]<br>
 
Note: you must have started LiveSuit on your PC before you enter U-boot's fex mode.<br>
 
Note: you must have started LiveSuit on your PC before you enter U-boot's fex mode.<br>
 
Click on "Yes" to start flashing an Android image to eMMC. After this is done power off the board and take out the TF card. If you boot your board again it will boot from eMMC.<br>
 
Click on "Yes" to start flashing an Android image to eMMC. After this is done power off the board and take out the TF card. If you boot your board again it will boot from eMMC.<br>
 
If your Uboot by default enters the fex mode after you flash your U-boot you will be directed to U-boot's fex mode and be asked to start flashing again. In this case you just need to ignore this prompt, power off your board and reboot by booting from eMMC.
 
If your Uboot by default enters the fex mode after you flash your U-boot you will be directed to U-boot's fex mode and be asked to start flashing again. In this case you just need to ignore this prompt, power off your board and reboot by booting from eMMC.
 +
-->

Latest revision as of 07:19, 21 February 2022

1 Flash to eMMC
1.1 Install Android to eMMC from TF Card
  • Extract an Android image file and the flashing utility PhoenixCard_V310.rar, insert a TF card(at least 8G) to a windows PC and run PhoenixCard as administrator. On the PhoenixCard Window select your TF card's device and your wanted Android image file, set the mode to "卡量产(factory production)" and click on "烧录(Flash)" to start flashing the Android image to TF card.

PhoenixCard burn.png
(In the screenshot an Android image file for the NanoPi M1 Plus was selected. You need to select a correct image file for your board.)

  • After flashing is done, the TF card has the ability to burn the Android system to eMMC. Take out the TF card and insert it to your board's TF card slot. Connect your board to an HDMI monitor, power on your board(note:you need a 5V/2A power adapter) and you will see a green process bar on the HDMI monitor. After flashing is done take out the TF card and reboot your board and it will be rebooted from eMMC.