Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

Cannot fastboot

Unlock bootloader Root command prompt

  • Please log in to reply
27 replies to this topic

#1 Ewan2010

Ewan2010
  • Members
  • 12 posts
  • Device Model:
    Google Nexus One
  • CM Version:
    ???
  • Recovery Image:
    TWRP

Posted 19 February 2012 - 12:50 PM

I have a stock Nex1. Build No. GRK39F, Version 2.3.6
The issue I am having is that I am trying to Unlock the Bootloader so I can Root the device.
I have followed all the relevant steps, but when I open a Command Prompt / Terminal and type "fastboot devices", the response is -
'fastboot' is not recognised as an internal or external command, operable program or batch file.
Am I doing something wrong? I have checked and double checked the steps.
Please help a noob.

#2 baseballfanz

baseballfanz
  • Members
  • 796 posts
  • Country:
    us - United States
  • Device Model:
    Nexus One Tmobile
  • CM Version:
    CyanogenMod 7 latest nightly
  • Recovery Image:
    Amon_RA

Posted 19 February 2012 - 09:59 PM

Are you in fastboot mode?

Hold down trackball while powering up the N1, you should be in the screen with 3 skateboarders.

You do have the the fastboot.exe in the correct folder?

Edited by baseballfanz, 19 February 2012 - 10:07 PM.


#3 Ewan2010

Ewan2010
  • Members
  • 12 posts
  • Device Model:
    Google Nexus One
  • CM Version:
    ???
  • Recovery Image:
    TWRP

Posted 19 February 2012 - 10:02 PM

I've done that, :-( It is in fastboot, NOT hboot

#4 baseballfanz

baseballfanz
  • Members
  • 796 posts
  • Country:
    us - United States
  • Device Model:
    Nexus One Tmobile
  • CM Version:
    CyanogenMod 7 latest nightly
  • Recovery Image:
    Amon_RA

Posted 19 February 2012 - 10:08 PM

You have the fastboot.exe in the correct folder and in CMD window the path to it is correct?

#5 Ewan2010

Ewan2010
  • Members
  • 12 posts
  • Device Model:
    Google Nexus One
  • CM Version:
    ???
  • Recovery Image:
    TWRP

Posted 19 February 2012 - 10:21 PM

The Command Prompt, (I presume that is CMD window) has C:\Users\ Eewan>
And the fastboot.exe is installed on my C drive, folder androidsdk, subfolder tools (I hope that's what you mean)

#6 baseballfanz

baseballfanz
  • Members
  • 796 posts
  • Country:
    us - United States
  • Device Model:
    Nexus One Tmobile
  • CM Version:
    CyanogenMod 7 latest nightly
  • Recovery Image:
    Amon_RA

Posted 19 February 2012 - 10:26 PM

Do this, on your PC navigate to the folder where you have the fastboot.exe (I'm assuming you have it in the platform-tools folder)
Press and hold the SHIFT button while you right click on the folder (platform-tools)
In the drop down menu chose "open command window here"
When the command window pop up type in fastboot devices.

#7 Ewan2010

Ewan2010
  • Members
  • 12 posts
  • Device Model:
    Google Nexus One
  • CM Version:
    ???
  • Recovery Image:
    TWRP

Posted 19 February 2012 - 10:34 PM

The Command Prompt opened with C:\androissdk\tools
I typed it
fastboot devices
and the same error message came up!

#8 baseballfanz

baseballfanz
  • Members
  • 796 posts
  • Country:
    us - United States
  • Device Model:
    Nexus One Tmobile
  • CM Version:
    CyanogenMod 7 latest nightly
  • Recovery Image:
    Amon_RA

Posted 19 February 2012 - 10:37 PM

 Ewan2010, on 19 February 2012 - 10:34 PM, said:

The Command Prompt opened with C:\androissdk\tools
I typed it
fastboot devices
and the same error message came up!
Is the fastboot.exe in your tools folder or platform-tools folder?
Move the fastboot.exe to platform-tools folder and try again.

Edited by baseballfanz, 19 February 2012 - 10:42 PM.


#9 Ewan2010

Ewan2010
  • Members
  • 12 posts
  • Device Model:
    Google Nexus One
  • CM Version:
    ???
  • Recovery Image:
    TWRP

Posted 19 February 2012 - 10:46 PM

Something happened! Now it says
HT13SP8A0004    fastboot

Should I write in fastboot oem unlock

#10 baseballfanz

baseballfanz
  • Members
  • 796 posts
  • Country:
    us - United States
  • Device Model:
    Nexus One Tmobile
  • CM Version:
    CyanogenMod 7 latest nightly
  • Recovery Image:
    Amon_RA

Posted 19 February 2012 - 11:02 PM

Hey yeah that's your device ID
Now you can do the fastboot oem unlock

#11 Ewan2010

Ewan2010
  • Members
  • 12 posts
  • Device Model:
    Google Nexus One
  • CM Version:
    ???
  • Recovery Image:
    TWRP

Posted 19 February 2012 - 11:03 PM

The bootloader is unloaded. Now, how do I root?

#12 baseballfanz

baseballfanz
  • Members
  • 796 posts
  • Country:
    us - United States
  • Device Model:
    Nexus One Tmobile
  • CM Version:
    CyanogenMod 7 latest nightly
  • Recovery Image:
    Amon_RA

Posted 19 February 2012 - 11:17 PM

Are you looking to install CyanogenMod ROM or just root the stock ROM?

#13 Ewan2010

Ewan2010
  • Members
  • 12 posts
  • Device Model:
    Google Nexus One
  • CM Version:
    ???
  • Recovery Image:
    TWRP

Posted 20 February 2012 - 09:18 PM

I have looked and CyanogenMod seems to be a good fit for me.

#14 baseballfanz

baseballfanz
  • Members
  • 796 posts
  • Country:
    us - United States
  • Device Model:
    Nexus One Tmobile
  • CM Version:
    CyanogenMod 7 latest nightly
  • Recovery Image:
    Amon_RA

Posted 20 February 2012 - 11:03 PM

Go here, it will show you how to get custom recovery using fastboot and flashing CM ROM
http://wiki.cyanogen...ll_Update_Guide

#15 Ewan2010

Ewan2010
  • Members
  • 12 posts
  • Device Model:
    Google Nexus One
  • CM Version:
    ???
  • Recovery Image:
    TWRP

Posted 20 February 2012 - 11:35 PM

I looked at the page you recommended and it does help, to some amount. Unfortunately it doesn't say how to Root my phone.....

#16 baseballfanz

baseballfanz
  • Members
  • 796 posts
  • Country:
    us - United States
  • Device Model:
    Nexus One Tmobile
  • CM Version:
    CyanogenMod 7 latest nightly
  • Recovery Image:
    Amon_RA

Posted 21 February 2012 - 03:40 AM

That's the beauty of an unlocked bootloader.  You don't need any additional rooting steps.
Just use fastboot to flash a custom recovery and immediately flash CM7 ROM (which is a rooted ROM).

1) Download the CyanogenMod ROM you want plus the optional Gapps file and put them both on the micro sd card on your phone.
2) Download a custom recovery image, Amon Ra or CWM (for ease of use rename it to recovery.img)
3) Put the recovery image inside the same folder as your fastboot.exe (probably the platform-tools folder on your PC)
4) Put your phone into fastboot mode and plug in USB
5) Just to be sure type the fastboot devices and wait to get a device ID like before
6) Type fastboot flash recovery recovery.img  (wait for it to flash recovery image, if you're using Amon Ra the recovery will revert to stock
on first boot so flash your ROM before rebooting)
At this point you can unplug the usb from the phone,  all steps from now on will be done on the phone in recovery mode.
7) On the fastboot screen chose "bootloader" to go back to the HBOOT and select "Recovery" to get into the custom recovery.
8) Recommend you wipe data, cache and dalvik cache
9) Flash your ROM plus GAPPS and reboot
10) Walk away from your phone as the first boot might take a while.:D

Edited by baseballfanz, 23 February 2012 - 01:54 AM.


#17 Ewan2010

Ewan2010
  • Members
  • 12 posts
  • Device Model:
    Google Nexus One
  • CM Version:
    ???
  • Recovery Image:
    TWRP

Posted 22 February 2012 - 10:36 PM

I have completed step 8. What is meant, exactly, by point 9? and how do I do it?
Do I disconnect the phone and then flash (install?) on the handset itself or do I do when the device is connected?

#18 baseballfanz

baseballfanz
  • Members
  • 796 posts
  • Country:
    us - United States
  • Device Model:
    Nexus One Tmobile
  • CM Version:
    CyanogenMod 7 latest nightly
  • Recovery Image:
    Amon_RA

Posted 22 February 2012 - 10:45 PM

 Ewan2010, on 22 February 2012 - 10:36 PM, said:

I have completed step 8. What is meant, exactly, by point 9? and how do I do it?
Do I disconnect the phone and then flash (install?) on the handset itself or do I do when the device is connected?

Once you have booted into recovery, flashing the ROM is done on the phone in recovery. So yeah you can take phone off USB but it doesn't matter.
Step 9should be something like the following (exact wordings might be different depending on your recovery)
-"install file from sd card"
-choose file from sd card
-now scroll to where you have the ROM file on your sd card and select it
-next it will ask if you want to install it, select yes
-let it flash the ROM, once done do the same for GAPPS file
-once flashing is done, choose reboot, you might need to select "Back" to get to reboot option

what recovery are you using?

Edited by baseballfanz, 22 February 2012 - 10:52 PM.


#19 Ewan2010

Ewan2010
  • Members
  • 12 posts
  • Device Model:
    Google Nexus One
  • CM Version:
    ???
  • Recovery Image:
    TWRP

Posted 22 February 2012 - 11:33 PM

I have disconnected my phone and put it into recovery. The screen now has a white triangle with an exclamation point inside, next to an Android.
I don't think its worked, :-(

#20 baseballfanz

baseballfanz
  • Members
  • 796 posts
  • Country:
    us - United States
  • Device Model:
    Nexus One Tmobile
  • CM Version:
    CyanogenMod 7 latest nightly
  • Recovery Image:
    Amon_RA

Posted 22 February 2012 - 11:38 PM

I don't think you have a Custom recovery install yet.
Did you use fastboot to flash a custom recovery?

If you are using Amon Ra recovery, it's important to know that if you reboot your phone
it will revert to stock recvoery.  So you MUST flash the ROM immediately after flashing Amon Ra

Edited by baseballfanz, 22 February 2012 - 11:44 PM.