请教山寨pad刷机,adb可以链接pad,fastboot devices出现问号,
强行刷 recovery 会说已经刷进去了,见后边代码。
但重启后还是没的 recovery
adb 和 fastboot 下都试过了,都不行的。
Andriod 版本2.3
usb设备信息
$ lsusb
代码: 全选
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 04d9:1603 Holtek Semiconductor, Inc. Keyboard
Bus 001 Device 023: ID 18d1:deed Google Inc.
/etc/udev/rules.d/50-android.rules
代码: 全选
SUBSYSTEMS=="usb", ATTRS{idVendor}="18d1", ATTRS{idProduct}="deed", MODE="0666"
$ sudo ./adb devices
代码: 全选
List of devices attached
0123456789ABCDEF device
$ sudo ./adb shell
代码: 全选
$ su
#
进入 fastboot 模式,显示
代码: 全选
The Device Enter Fastboot Mode
Please Connect USB To PC or Reset The Device
Waitting.............
$ sudo ./fastboot devices
代码: 全选
???????????? fastboot
这是如果执行
$ sudo ./fastboot flash recovery ./recovery.img
代码: 全选
sending 'recovery' (6672 KB)...
OKAY [ 1.718s]
writing 'recovery'...
OKAY [ 2.591s]
finished. total time: 4.309s
代码: 全选
The Device Enter Fastbot Mode
Please Connect USB To Pc Or Reset The Device
Waitting.......