天天看点

(OK) Linux 平台 CUST.zip 制作方法

==================================== CUST单刷包制作 - begin

http://club.huawei.com/thread-8407882-1-1.html

### 笔记本

[[email protected] image]# pwd

/run/media/root/E6B2798BB279614B/智能手机/huawei/honor-5x/KIW-AL10_EMUI3.1_Android5.1_C00B228_zip/dload/image

[[email protected] image]# scp CUST.img 10.109.253.80:/root/tmp/

### 服务器

[[email protected] tmp]# pwd

/root/tmp

[[email protected] tmp]#

mkdir cust

simg2img cust.img cust.raw

mount -t ext4 -o loop cust.raw cust/

make_ext4fs -s -l 512M -a cust cust.img.mount cust/

umount cust

rm -fr cust

### 笔记本

[[email protected] honor-5x]# pwd

/run/media/root/E6B2798BB279614B/智能手机/huawei/honor-5x

[[email protected] honor-5x]# scp 10.109.253.80:/root/tmp/cust.img.mount .

直接打开cust.zip(不要解压),把上边存好的cust.img.mount拖进窗口内替换即可

[[email protected] image]# pwd

/run/media/root/E6B2798BB279614B/智能手机/huawei/honor-5x/KIW-AL10_EMUI3.1_Android5.1_C00B228_zip/dload/image

[[email protected] image]# fastboot flash boot BOOT.img

[[email protected] image]# fastboot flash system SYSTEM.img

fastboot reboot                    // 系统正常重启

fastboot reboot-bootloader            // 重启进入fastboot 模式

==================================== CUST单刷包制作 - end

继续阅读