AndroidSDCARDMirrorCreator

Document created by Biyong Sun Employee on Jan 7, 2016Last modified by ebiz_ws_prod on Dec 13, 2017
Version 20Show Document
  • View in full screen mode

This tool is also for emmc user partition mirror. Just give this tool the emmc files.

The typical use case is for emmc mass production by emmc offline programming.

 

Ver 0.4.0

2/14/2017

Support Android 7 Nougat.

AndroidSDCARDMirrorCreator_Version_0.4.0_02142017.tgz

 

Ver 0.3.2:

6/13/2016

Using static link simg2img

AndroidSDCARDMirrorCreator_Version_0.3.2_06132016.tgz

 

Ver 0.3.1:

5/31/2016

Remove some redundent code  

AndroidSDCARDMirrorCreator_Version_0.3.1_05312016.tgz

 

Ver 0.3:

5/25/2016

Add Marshmallow partition layout

AndroidSDCARDMirrorCreator_Version_0.3_05252016.tgz

 

Ver 0.2:

Add Lollipop partition layout

 

 

1. Directory

AndroidSDCARDMirrorCreator
|-- AndroidSDCARDMirrorCreator.sh        --- main script
|-- CFG.INC                              --- configuration file
|-- KitKat_LAYOUT.INC                    --- KitKat partition layout
|-- LAYOUT.INC -> Lollipop_LAYOUT.INC    --- symbol link to partition layout
|-- Lollipop_LAYOUT.INC                  --- Lollipop partition layout
`-- readme.txt                           --- this file

2. Need "root" run or "sudo" to run

3. parted and kpartx must be installed
   sudo apt-get instal parted kpartx

4. test pass under the debian 8.2 and ubuntu 12.04

5. The AndroidSDCARDMirrorCreator.sh will look for LAYOUT.INC.
   please make symbol link to the correct partition layout.
   The default symbol link has created for Lollipop_LAYOUT.INC (LAYOUT.INC -> Lollipop_LAYOUT.INC)

6. Command
   AndroidSDCARDMirrorCreator.sh -c
   AndroidSDCARDMirrorCreator.sh -p

7. Example:
   Suppose
   The AndroidSDCARDMirrorCreator directory is in
   ~/AndroidSDCARDMirrorCreator
  
   The Android Images are in
   ~/SD and ~/eMMC
  
   Sdcdard Mirror:
   cd ~/SD
   ~/AndroidSDCARDMirrorCreator/AndroidSDCARDMirrorCreator.sh -c

   eMMC Mirror:
   cd ~/eMMC
   ~/AndroidSDCARDMirrorCreator/AndroidSDCARDMirrorCreator.sh -c
  
8. Once the Mirror has been created. Can be reused. Just use kpartx.

Original Attachment has been moved to: AndroidSDCARDMirrorCreator_Version_0.3_05252016.tgz

Original Attachment has been moved to: AndroidSDCARDMirrorCreator_Version_0.3.1_05312016.tgz

Original Attachment has been moved to: AndroidSDCARDMirrorCreator_Version_0.3.2_06132016.tgz

Original Attachment has been moved to: AndroidSDCARDMirrorCreator_Version_0.4.0_02142017.tgz

Original Attachment has been moved to: AndroidSDCARDMirrorCreator_Version_0.2_01152016.tgz

2 people found this helpful

Attachments

    Outcomes