Difference between revisions of "Fastboot untuk flash ROM"
Onnowpurbo (talk | contribs) (New page: Then ensure that your phone is in bootloader mode: fastboot devices NOTE: If you are on Linux or Windows, you must use the version of fastboot for that platform: fastboot-m is for Mac O...) |
Onnowpurbo (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | Helpful Tip | ||
+ | |||
+ | On some GNU/Linux distributions, like Debian Sid, you can install fastboot just with this command: | ||
+ | |||
+ | sudo apt-get install android-tools-fastboot | ||
+ | |||
+ | |||
+ | |||
Then ensure that your phone is in bootloader mode: | Then ensure that your phone is in bootloader mode: | ||
Line 5: | Line 13: | ||
NOTE: If you are on Linux or Windows, you must use the version of fastboot for that platform: fastboot-m is for Mac OS X. | NOTE: If you are on Linux or Windows, you must use the version of fastboot for that platform: fastboot-m is for Mac OS X. | ||
− | + | fastboot-m boot go2.lol | |
− | + | The phone will reboot and stop on the Nexus X screen. Note (see above) the correct file may be named go33.lol or go35.lol rather than go2.lol | |
− | + | fastboot-m flash hboot hboot_blackrose.nb0 | |
If this process freezes here, you have used the incorrect goXX.lol file. | If this process freezes here, you have used the incorrect goXX.lol file. | ||
Find your HBOOT version at the top of the FastBoot screen, download the latest version of BlackRose, and do over with the correct goXX.lol file. | Find your HBOOT version at the top of the FastBoot screen, download the latest version of BlackRose, and do over with the correct goXX.lol file. | ||
− | + | fastboot flash hboot hboot_220-16-200.nb0 | |
− | + | fastboot reboot-bootloader | |
This will reboot into the bootloader. The top of the screen should now read *** BlackRose ***. Now we will have to reflash CWM. | This will reboot into the bootloader. The top of the screen should now read *** BlackRose ***. Now we will have to reflash CWM. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | You can use fastboot to install your recovery image to the device. | ||
+ | |||
+ | Installing ClockworkMod Recovery on the device | ||
+ | |||
+ | * Connect the device to the computer via USB. | ||
+ | * Make sure the fastboot binary is in your PATH or that you place the downloaded image in the same directory as fastboot. | ||
+ | * Open a terminal on your PC and reboot the device into fastboot mode by typing | ||
+ | |||
+ | adb reboot bootloader | ||
+ | |||
+ | or by using the hardware key combination. | ||
+ | * Once the device is in fastboot mode, verify your PC sees the device by typing | ||
+ | |||
+ | fastboot devices | ||
+ | |||
+ | * If you don't see your device serial number, and instead see "<waiting for device>", fastboot is not configured properly on your machine. See fastboot documentation for more info. | ||
+ | * Flash ClockworkMod Recovery onto your device by entering the following command: | ||
+ | |||
+ | fastboot flash recovery your_recovery_image.img | ||
+ | |||
+ | where the latter part is the name of the file you downloaded. | ||
+ | * Once the flash completes successfully, reboot the device into recovery to verify the installation. | ||
+ | * Note: Some ROMs overwrite recovery at boot time so if you do not plan to immediately boot into recovery to install CyanogenMod, please be aware that this may overwrite your custom recovery with the stock one. | ||
Line 25: | Line 60: | ||
* http://forum.xda-developers.com/wiki/HTC_Nexus_One/TexasICS/Installing_Guide | * http://forum.xda-developers.com/wiki/HTC_Nexus_One/TexasICS/Installing_Guide | ||
+ | * http://wiki.cyanogenmod.org/w/Doc:_fastboot_intro |
Latest revision as of 07:21, 6 June 2013
Helpful Tip
On some GNU/Linux distributions, like Debian Sid, you can install fastboot just with this command:
sudo apt-get install android-tools-fastboot
Then ensure that your phone is in bootloader mode:
fastboot devices
NOTE: If you are on Linux or Windows, you must use the version of fastboot for that platform: fastboot-m is for Mac OS X.
fastboot-m boot go2.lol
The phone will reboot and stop on the Nexus X screen. Note (see above) the correct file may be named go33.lol or go35.lol rather than go2.lol
fastboot-m flash hboot hboot_blackrose.nb0
If this process freezes here, you have used the incorrect goXX.lol file. Find your HBOOT version at the top of the FastBoot screen, download the latest version of BlackRose, and do over with the correct goXX.lol file.
fastboot flash hboot hboot_220-16-200.nb0
fastboot reboot-bootloader
This will reboot into the bootloader. The top of the screen should now read *** BlackRose ***. Now we will have to reflash CWM.
You can use fastboot to install your recovery image to the device.
Installing ClockworkMod Recovery on the device
- Connect the device to the computer via USB.
- Make sure the fastboot binary is in your PATH or that you place the downloaded image in the same directory as fastboot.
- Open a terminal on your PC and reboot the device into fastboot mode by typing
adb reboot bootloader
or by using the hardware key combination.
- Once the device is in fastboot mode, verify your PC sees the device by typing
fastboot devices
- If you don't see your device serial number, and instead see "<waiting for device>", fastboot is not configured properly on your machine. See fastboot documentation for more info.
- Flash ClockworkMod Recovery onto your device by entering the following command:
fastboot flash recovery your_recovery_image.img
where the latter part is the name of the file you downloaded.
- Once the flash completes successfully, reboot the device into recovery to verify the installation.
- Note: Some ROMs overwrite recovery at boot time so if you do not plan to immediately boot into recovery to install CyanogenMod, please be aware that this may overwrite your custom recovery with the stock one.