[Android] Android4.0、4.1在手机上制作fastboot线刷包;
生活随笔
收集整理的這篇文章主要介紹了
[Android] Android4.0、4.1在手机上制作fastboot线刷包;
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
#!/system/bin/sh
#version:0.1
#author:linkscue
#前提條件:系統為ICS或JB、安裝有busybox;
#提醒建議:在終端上輸入可能會太長導致出錯,建議保存成sh文件運行;
#請指定掛載點的名稱 point=system dev=$( busybox?mount | busybox?grep $point | busybox?awk '{print $1}'| busybox?awk -F'/' '{print $4}') size=$(($( busybox?cat /proc/partitions | busybox?grep $dev | busybox?awk '{print $3}')/1024))M make_ext4fs -s -l $size -a $point /sdcard/${point}.img /$point
#author:linkscue
#前提條件:系統為ICS或JB、安裝有busybox;
#提醒建議:在終端上輸入可能會太長導致出錯,建議保存成sh文件運行;
#請指定掛載點的名稱 point=system dev=$( busybox?mount | busybox?grep $point | busybox?awk '{print $1}'| busybox?awk -F'/' '{print $4}') size=$(($( busybox?cat /proc/partitions | busybox?grep $dev | busybox?awk '{print $3}')/1024))M make_ext4fs -s -l $size -a $point /sdcard/${point}.img /$point
?
總結
以上是生活随笔為你收集整理的[Android] Android4.0、4.1在手机上制作fastboot线刷包;的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: PLSQL developer 连接64
- 下一篇: 解决VS2012 Express的The