zoukankan      html  css  js  c++  java
  • (OK) Linux 平台 CUST.zip 制作方法


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

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

    ### 笔记本

    [root@localhost image]# pwd
    /run/media/root/E6B2798BB279614B/智能手机/huawei/honor-5x/KIW-AL10_EMUI3.1_Android5.1_C00B228_zip/dload/image

    [root@localhost image]# scp CUST.img 10.109.253.80:/root/tmp/

    ### 服务器

    [root@localhost tmp]# pwd
    /root/tmp
    [root@localhost 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

    ### 笔记本

    [root@localhost honor-5x]# pwd
    /run/media/root/E6B2798BB279614B/智能手机/huawei/honor-5x

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

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

    [root@localhost image]# pwd
    /run/media/root/E6B2798BB279614B/智能手机/huawei/honor-5x/KIW-AL10_EMUI3.1_Android5.1_C00B228_zip/dload/image

    [root@localhost image]# fastboot flash boot BOOT.img
    [root@localhost image]# fastboot flash system SYSTEM.img


    fastboot reboot                    // 系统正常重启
    fastboot reboot-bootloader            // 重启进入fastboot 模式


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

  • 相关阅读:
    搜索专题
    KMP专题
    CSU 1326: The contest(分组背包)
    强连通专题
    MST:Bad Cowtractors(POJ 2377)
    MST:Agri-Net(POJ 1258)
    ShortestPath:Layout(POJ 3169)(差分约束的应用)
    MST:Conscription(POJ 3723)
    MST:Roadblocks(POJ 3255)
    DP:Space Elevator(POJ 2392)
  • 原文地址:https://www.cnblogs.com/ztguang/p/12645001.html
Copyright © 2011-2022 走看看