AndroidSDCARDMirrorCreator

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

AndroidSDCARDMirrorCreator

AndroidSDCARDMirrorCreator

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.

ラベル(2)
添付
コメント

Thanks for the tool Biyong, I gave it a try with L5.1.1 imX7D image but something seems to be wrong with the system partition:

init: cannot expand '$ro.product.model' while writing to '/sys/class/android_usb/android0/iProduct'

init: cannot find '/system/bin/netd', disabling 'netd'

init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'

init: cannot find '/system/bin/debuggerd64', disabling 'debuggerd64'

init: cannot find '/system/bin/drmserver', disabling 'drm'

init: cannot find '/system/bin/mediaserver', disabling 'media'

init: cannot find '/system/bin/installd', disabling 'installd'

init: cannot find '/system/bin/install-recovery.sh', disabling 'flash_recovery'

init: cannot find '/system/bin/keystore', disabling 'keystore'

init: cannot find '/system/bin/rild', disabling 'ril-daemon'

init: cannot find '/system/bin/app_process', disabling 'zygote'

init: cannot find '/system/bin/fsl_sensor_fusion', disabling 'sensor_fusion'

init: cannot find '/system/bin/sh', disabling 'wifi_mac'

init: cannot find '/system/bin/sdcard', disabling 'sdcard'

...

binder: 153:153 transaction failed 29189, size 0-0

Have you tried with this Android release ?

Thanks, Philippe

Philippe,

I tried L5.1.1_2.1.0-ga. That is why I add some comment in the CFG.INC, according to the  L5.1.1_2.1.0-ga Android user Guide.

But I have no 7D board to do the test.  tested pass on the i.MX6Q sdb board. From the script layer, I treat as the same.

13 # L5.1.1_2.1.0-ga need convert system image

14 # sudo simg2img system.img system_raw.img

15 #SYSTEM_IMG=system_raw.img

16 SYSTEM_IMG=system.img

I have tried using the system image without converting to raw image. I got the same print out like yours.

Please use the simg2img.

You can find some descriptions of simg2img in the  L5.1.1_2.1.0-ga Android user Guide.

In the mfg tool for  L5.1.1_2.1.0-ga, you also can find the command in the ucl2.xml.

Thanks Biyong, I didn't recompile this one and was surprised the precompiled image didn't include the raw image (wondering how distri will be able to flash it without a linux machine). Image is now booting fine until the lock screen but I don't have an iMX7 board to reproduce (only customer got it) and this is a different topic.

Cheers, Philippe.

評価なし
バージョン履歴
最終更新日:
‎01-07-2016 03:42 AM
更新者: