2015年4月14日 星期二

flash android 5.1 factory images for nexus 6

ok , i got nexus 6 international edition (xt1100)
and there different nexus 6 factory images form google for android 5.1
some how it's not easy to flash factory image for nexus 6 with flash all script
here is how to do that
1. install driver as usual
2. download factory image for google
https://developers.google.com/android/nexus/images?hl=zh-tw
3. extract factory image , extract image-shamu-xxxxx
4. unlock bootloader (wipe all data on phone) with command fastboot oem unlock
5. boot into bootloader mode (volume+ & power button) then connect to pc
6. open a cmd window
7. flash with these command
fastboot flash bootloader C:/image-shamu-XXXXXX/bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:/image-shamu-XXXXXX/radio.img
fastboot reboot-bootloader
fastboot flash system C:/image-shamu-XXXXXX/system.img
fastboot flash userdata C:/image-shamu-XXXXXX/userdata.img
Note: this command will wipe your device (including /sdcard)
fastboot flash boot C:/image-shamu-XXXXXX/boot.img
fastboot flash recovery C:/image-shamu-XXXXXX/recovery.img
fastboot erase cache
fastboot flash cache C:/image-shamu-XXXXXX/cache.img
8. relock bootloader with command fastboot oem lock (optional)
8. select recovery mode with volume button and press power button
9. press power button & volume+ to enter recovery mode
10. select factory reset
11. reboot

沒有留言:

張貼留言