赞
踩
1.使用fastboot 工具,将fastboot拷贝到/usr/bin/fastboot,查看fastboot版本
2.烧写userdebug load开机后usb连接电脑,进入fastboot模式
adb devices
adb reboot fastboot
3.查看连接设备是否成功
fastboot devices
sudo fastboot oem at-unlock-vboot;
sudo fastboot flashing unlock;
4.电脑进入system.img 所在路径
cd /media/tanrong/Android/xTS/rockchip_sdk/Tools/signed-aosp_arm64-img-7696891
执行fastboot flash system xxx.img命令。成功如下:
fastboot flash system system.img
5 成功后重启系统
fastboot reboot
1 fastboot devices no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html] Android Fastboot
执行sudo su
2 出现 FAILED (Error reading sparse ? file)root@tr-linux:/media/tanrong/Android/xTS/rockchip_sdk/Tools/signed-aosp_arm64-img-7696891# fastboot flash system system.img
< waiting for any device >
Resizing ‘system_a’ OKAY [ 0.020s]
Sending sparse ‘system_a’ 1/6 (262140 KB) FAILED (Error reading sparse file)
fastboot: error: Command failed
换到电脑后面usb接口
3 $ sudo fastboot flash system ‘/media/tanrong/Android/xTS/rockchip_sdk/Tools/signed-aosp_arm64-img-7696891/system.img’
Sending sparse ‘system’ 1/21 (65532 KB) OKAY [ 2.306s]
Writing ‘system’ FAILED (remote: ‘cannot find partition’)
fastboot: error: Command failed
切换到fastboot下,执行sudo fastboot reboot fastboot。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。