Nubia z5s的fastboot模式需要指定vendor id,因此如果按照通常的fastboot操作模式 是无法操作的, 这也就是一些同学认为nubia没有线刷模式的原因,
先来看看fastboot命令的功能:
usage: fastboot [ <option> ] <command> commands: update <filename> reflash device from update.zip flashall flash boot + recovery + system flash <partition> [ <filename> ] write a file to a flash partition erase <partition> erase a flash partition format <partition> format a flash partition getvar <variable> display a bootloader variable boot <kernel> [ <ramdisk> ] download and boot kernel flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it devices list all connected devices continue continue with autoboot reboot reboot device normally reboot-bootloader reboot device into bootloader help show this help message options: -w erase userdata and cache (and format if supported by partition type) -u do not first erase partition before formatting -s <specific device> specify device serial number or path to device port -l with "devices", lists device paths -p <product> specify product name -c <cmdline> override kernel commandline -i <vendor id> specify a custom USB vendor id -b <base_addr> specify a custom kernel base address -n <page size> specify the nand page size. default: 2048 -S <size>[K|M|G] automatically sparse files greater than size. 0 to disable
如果是linux下,lsusb命令列出全部usb设备(先连上手机)
即可以看到ID 19D2:FFC1 ZTE xxxx 的设备, 这里19D2 即是zte的usb vendor id
获取到了vendor id 那fastboot命令就可以这么写了,
先将手机重启到fastboot模式adb下的命令: adb reboot bootloader
然后在正常的fastboot 命令里加入 -i 0x19D2 即可
比如需要刷写recovery的话:
fastboot -i 0x19D2 flash recovery recovery.img
下面给出一个在windows下可用的比较简陋的nubia z5s 线刷recovery的工具(需要将要刷的recovery.img提前放到recovery文件夹下):
http://pan.baidu.com/s/1is0Zc