附件中文件很全面,解压到c盘根目录后就已经有足够的工具了
接下来给手机赋予flash_image工具,将下列内容复制并保存为push.bat
adb root
adb shell mount
/data
adb push c:\flash_image /data/
adb shell chmod 777
/data/flash_image
adb shell ls /data/
@echo have you seen flash_image
?
pause
剩下就是刷机了,把你的system.img文件放到c盘根目录下,
将下列内容复制并保存为flashrom.bat
adb
root
adb shell mount /sdcard
adb shell push c:\system.img /sdcard/
adb
shell ./data/flash_image system /sdcard/system.img
adb shell
reboot
如果你还要刷boot.img(当然要准备好这些文件放到c:\)
同样
adb root
adb shell mount
/sdcard
adb shell push c:\boot.img /sdcard/
adb shell
./data/flash_image boot /sdcard/boot.img
刷recovery
adb root
adb shell mount
/sdcard
adb shell push c:\recovery.img /sdcard/
adb shell
./data/flash_image recovery
/sdcard/recovery.img
刷开机第一屏
adb root
adb shell mount
/sdcard
adb shell push c:\splash.img /sdcard/
adb
shell ./data/flash_image recovery /sdcard/splash.img
取消
评论