Download Tools:
1. USB Driver or PdaNet
http://developer.android.com/sdk/win-usb.html --> Click here to download the latest Google USB Driver ZIP file.
http://pdanet.co/a/
2. Android SDK(For adb.exe and fastboot.exe)
http://developer.android.com/sdk/index.html#download --> VIEW ALL DOWNLOADS AND SIZES
- Extract and run "SDK Manager.exe"
- Select
Tools -> Android SDK Tools, Android SDK Platform-tools
Tools -> Android SDK Platform-tools
P.S. You also can download "Nexus Root Toolkit" or "Unified Android Toolkit", adb.exe and fastboot.exe are in the package.
3. Recovery(For flash App or Mod)
Touch Recovery: http://teamw.in/
clockworkmod: https://www.clockworkmod.com/rommanager
4. Root
SuperSU: http://forum.xda-developers.com/apps/supersu
SuperUser: http://androidsu.com/superuser/
5. Google Factory Image
https://developers.google.com/android/nexus/images
Start flash image:
1. 備份
2. 確認driver安裝沒問題
Android畫面下(打開Debug),執行adb.exe devices-->確認有認到裝置
Fastboot畫面下,執行fastboot.exe devices-->確認有認到裝置
3. Unlock手機
手機先進入fastboot
執行: fastboot.exe oem unlock-->動音量鍵-->上下-->電源鍵(參考下面文章)
http://www.droid-life.com/2013/11/04/how-to-unlock-the-nexus-5-bootloader/
4. 刷入官方Rom
把抓下來的Factory image解壓縮,會有下面三個檔案
"image-xxxx-yyyy.zip", "radio-xxxx-aaaa-bbbb.img", "bootloader-xxxx-cccc.img"
(xxxx:手機型號, yyyy:版本號)
執行下面指令刷入Rom(可以參考xxx.bat,裡面的指令)
fastboot flash bootloader bootloader-xxxx-cccc.img(flash bootloader)
fastboot reboot-bootloader
fastboot flash radio radio-xxxx-aaaa-bbbb.img (flash radio)
fastboot reboot-bootloader
fastboot update image-xxxx-yyyy.zip (flash system rom)
4-1.
Need wipe data?
1. Turn off your phone.
2. Press and hold both Volume Down + Volume Up (or ONLY VOL down) key(s) and turn ON Nexus 5 by pressing POWER. You will see the word Start with an arrow drawn around it.
3. Press Volume Down twice to highlight Recovery mode.
4. Press Power to get into Recovery mode. You should see an Android robot with a red exclamation mark.
5. While holding down Power, press Volume Up.
6. Use the volume down or up keys to scroll to "wipe data/factory reset" and press Power to select it.
7. Scroll down to "Yes - erase all user data" and press Power to select it. All data will be deleted!
If not working repeat the steps above.
5. 刷完官方Rom重開機,把SuperSU, OEM rom,複製進手機。
6. 進fastboot模式,刷入Recovery(xxxx.img: 下載下來的Rom)
fastboot.exe flash recovery xxxx.img
7. 進入Recovery
把Wipe data / factory、catch,install root rom
8. Relock手機(方法同2, 指令改成)
fastboot oem lock
參考文章:
http://www.teamandroid.com/2012/07/30/how-to-set-up-adb-fastboot-with-android-sdk/
How to Unlock Bootloader, Install Custom Recovery and Root
Galaxy Nexus
Nexus 5
沒有留言:
張貼留言