2015年10月1日 星期四

nexus 6 , nexus 9 driver on arch linux

1. setup arch linux , x server , window manager (gnome) , file manager from gnome
2. pacman -S gvfs-mtp android-tools android-udev
3. add user account to adbusers group gpasswd -a username adbusers

nexus 6 , nexus 9 driver setup for windows 10

1. download android sdk https://developer.android.com/sdk
2. get platform-tools from android sdk
3. download usb driver https://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip
4. enable developer options from settings , about phone , build number , keeping click on build number
5. enable usb debugging in developer options
6. connect to windows 10 with usb cable
7. install driver with zip file from step 2 in windows device manager
8. adb reboot bootloader to bootloader mode
9. install driver with zip file form step 2 in windows device manager
10. select recovery mode with volume button and press power button
11. install driver with update driver software , browse my computer for driver software , let me pick up from a list of device drivers from my computer , android device , android adb interface

then it's ready to flash nexus 6 , nexus 9 on windows 10

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