2014-04-14 16:01:44
分享

中兴Nubia Z5S fastboot线刷模式使用及说明

标签:中兴Nubia Z5S,fastboot,线刷 努比亚Nubia Z5S刷机包下载

  rom之家小编今天带来中兴Nubia Z5S fastboot线刷模式使用及说明,需要的机油赶紧来看看吧。

  Nubia z5s的fastboot模式需要指定vendor id,因此如果按照通常的fastboot操作模式 是无法操作的,这也就是一些同学认为nubia没有线刷模式的原因,先来看看fastboot命令的功能:

  01.usage: fastboot [ 《option》 ] 《command》

  02.

  03.commands:

  04. update 《filename》 reflash device from update.zip

  05. flashall flash boot + recovery + system

  06. flash 《partition》 [ 《filename》 ] write a file to a flash partition

  07. erase 《partition》 erase a flash partition

  08. format 《partition》 format a flash partition

  09. getvar 《variable》 display a bootloader variable

  10. boot 《kernel》 [ 《ramdisk》 ] download and boot kernel

  11. flash:raw boot 《kernel》 [ 《ramdisk》 ] create bootimage and flash it

  12. devices list all connected devices

  13. continue continue with autoboot

  14. reboot reboot device normally

  15. reboot-bootloader reboot device into bootloader

  16. help show this help message

  17.

  18.options:

  19. -w erase userdata and cache (and format

  20. if supported by partition type)

  21. -u do not first erase partition before

  22. formatting

  23. -s 《specific device》 specify device serial number

  24. or path to device port

  25. -l with “devices”, lists device paths

  26. -p 《product》 specify product name

  27. -c 《cmdline》 override kernel commandline

  28. -i 《vendor id》 specify a custom USB vendor id

  29. -b 《base_addr》 specify a custom kernel base address

  30. -n 《page size》 specify the nand page size. default: 2048

  31. -S 《size》[K|M|G] automatically sparse files greater than

  32. size. 0 to disable

  复制代码

  其中-i 参数即指定vendor id, 这个从哪儿获取呢, 这个就是zte的usb协议的vendor id, 在windows下可以直接任务管理器z5s相关的设备驱动里找到,

  如果是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

努比亚Nubia Z5S刷机包下载:http://www.romzhijia.net/romlist/810_0_0_1_10

努比亚Nubia Z5S刷机教程:http://www.romzhijia.net/phone/810_4.html