help with unlocking bootloader... - Samsung Galaxy Nexus

I have a LTE gnex. I am having problems getting my bootloader unlocked.
If I attempt to use fastboot commands at all I get the error 'fastboot is not recognized as an internal or external command, operable program or batch file.'
If I attempt to use adb devices while I am in fastboot it says "List of devices attached." If I use the adb devices command when my phone is turned on it lists my device like normal.
I feel like I am so close, but yet so far. Any ideas?
EDIT: I'm attempting this on XP, and I am on 4.0.2

I am no expert in these matters, but a few things come to mind:
1) have you got all the proper drivers installed?
2) in the cmd prompt, are you in the directory where fastboot.exe is located?
Have you followed this thread? I'd recommend downloading superboot, extract the contents, go into that folder, and then use: 'fastboot-windows oem unlock'. That should definitely do the trick. Good luck.
EDIT: I don't specifically know all the differences for the GSM/LTE/CDMA versions, but the above should be okay for all versions. To root, and install recovery, on CDMA versions, check out this google+ post.
EDIT2: Also, this thread may be worth looking into.

Assumptions:
- your drivers are loaded properly
- file names are: adb.exe and fastboot.exe
1) open the folder w/ ADB and Fastboot located in them.
2) shift + right click in any open space in the folder - choose: "open command window here"
3) type in (minus the quotes): "adb reboot bootloader"
4) the phone will reboot in the bootloader screen
5) type in: "fastboot oem unlock"
6) phone will ask you are you sure? - use the volume buttons to make the selection say "yes" and press the power button.
7) the phone will unlock and restart. the restart can take as long as 10 minutes or a tad bit longer... do NOT be alarmed!
if this doesnt work for you... either your drivers arent fully installed or your adb/fastboot programs are duds.

aldouse said:
Assumptions:
- your drivers are loaded properly
- file names are: adb.exe and fastboot.exe
1) open the folder w/ ADB and Fastboot located in them.
2) shift + right click in any open space in the folder - choose: "open command window here"
3) type in (minus the quotes): "adb reboot bootloader"
4) the phone will reboot in the bootloader screen
5) type in: "fastboot oem unlock"
6) phone will ask you are you sure? - use the volume buttons to make the selection say "yes" and press the power button.
7) the phone will unlock and restart. the restart can take as long as 10 minutes or a tad bit longer... do NOT be alarmed!
if this doesnt work for you... either your drivers arent fully installed or your adb/fastboot programs are duds.
Click to expand...
Click to collapse
^^^^^^This.....beat me to it LOL. This should work for ya just fine. Just make sure tour fast boot file is in the same as tour adb file. Hope ya her it man. It can def get frustrating
Sent from my Galaxy Nexus using Tapatalk

When I shift + right click I don't have any option to open a command window...well this is frustrating.

twiz0r said:
When I shift + right click I don't have any option to open a command window...well this is frustrating.
Click to expand...
Click to collapse
just open command prompt manually and then go to folder. Eg 'start' -> 'run' -> type 'cmd' and hit enter. Then cd c:\path to folder\ etc.
edit: plus, i gave you a few links to other threads. I really recommend to follow the steps described there if you haven't so far...

Related

Need Help Entering Commands

Hi Guys,
I am new to this stuff and I am having problems with entering commands for certain stuff.
So, I rooted my Desire and I wanna change the virgin mobile boot image that comes up after the white HTC screen during the booting process and I found the info on the forums here but I am just not getting the last part.
I get into the recovery and all that but where do I type in this command? I tried using the run function on my PC and typed in cmd to open a Command Prompt but after that if I type that stuff in, it doesn't work.
I'd really appreciate if someone can help because it seems like this typing command stuff seems necessary in a lot of the things that I'd like to do with my phone.
Thnx in advance
--------------
How to change boot animation
1. You need to have HTC Sync and Android SDK installed
2. Copy bootanimation.zip to SD Card
3. Turn off Desire and then turn it on while holding back button to enter bootloader(white screen)
4. Once in "white screen" press power button again to enter bootloader
5. Connect Desire with PC
6. Press Volume Down and than Power to enter Recovery
7. Open Command prompt/Terminal and type
Code:
adb shell mount /system
adb push C:\bootanimation.zip /data/local
adb reboot
-----------------
Try the following, may be easier for you:
get adb running (download & extract the sdk, it will be in the tools folder)
the full path will be C:\android-sdk-windows\tools
add adb to path
put bootanimation.zip into the same folder as the adb app (e.g. in the tools folder of the sdk)
open cmd & navigate to the tools folder
adb push bootanimation.zip /data/local
Hey man,
I really appreciate it but I guess I am just not as advanced as some of you guys and your instructions are still not too clear for me. I tried to do what you told me but no luck, so I am guessing I am obviously not doing something right.
Ok, so I got the SDK and extracted but I am not sure what you mean by "Get adb running". Are you referring to the adb.exe file in the tools folder?
And, when I am following your instructions, what stage my phone should be on? In the recovery with the triangle and the ! or just turned on normally?
Sorry for all the hassle man but I really appreciate your help. I am just trying to get a hang of this.
Dodolom said:
Hey man,
I really appreciate it but I guess I am just not as advanced as some of you guys and your instructions are still not too clear for me. I tried to do what you told me but no luck, so I am guessing I am obviously not doing something right.
Ok, so I got the SDK and extracted but I am not sure what you mean by "Get adb running". Are you referring to the adb.exe file in the tools folder?
And, when I am following your instructions, what stage my phone should be on? In the recovery with the triangle and the ! or just turned on normally?
Sorry for all the hassle man but I really appreciate your help. I am just trying to get a hang of this.
Click to expand...
Click to collapse
No, the phone does not need to be in recovery but it needs to be turned on and connected via USB
Open command prompt and type cd C:\android-sdk-windows\tools, hit enter.
Next, type adb, hit enter.
Now, having placed the bootanimation.zip file in the adb SDK tools directory, push it to the phone:
Type adb push bootanimation.zip /data/local in command prompt.
Note: Make sure USB Debugging is enabled on your phone:
Go to Settings on your phone > Select Applications > Select Development > Make sure 'USB Debugging' is checked
thank you so much man. Worked like a charm.
No problem man, its only easy when you know how
Regards,
Mas.
-------------------------------------
Sent via the XDA Tapatalk App
Can be better for all user create the bootanimation.zip inside a update.zip for only flash it. Users not asking, users without problems

Need help with my EVO

Alright so last night i ran the DCupdater and saw the damagecontrol v3.1.2 update. So i downloaded it and tried running that. Thats when my evo started freaking out and the sd card kept getting disconnected. After all that nonsense it got installed. But then as my phone restarted it was in for the loop of watching the HTC EVO 4G logo. Thats when i tried going to one of my backups and that seemed to work. So then after that i when back to damagecontrol v3. But that messed everything up even more because now im stuck on v3 without sd card. When i try going into the bootloader it wont let me. When i hook up the phone to my pc via usb it wont let me see the sd card contents. I tried doing the:
fastboot oem enableqxdm 0
fastboot reboot
but that had no effect and the cmd wouldnt even recognize the command
what do i do?
xarttyx said:
Alright so last night i ran the DCupdater and saw the damagecontrol v3.1.2 update. So i downloaded it and tried running that. Thats when my evo started freaking out and the sd card kept getting disconnected. After all that nonsense it got installed. But then as my phone restarted it was in for the loop of watching the HTC EVO 4G logo. Thats when i tried going to one of my backups and that seemed to work. So then after that i when back to damagecontrol v3. But that messed everything up even more because now im stuck on v3 without sd card. When i try going into the bootloader it wont let me. When i hook up the phone to my pc via usb it wont let me see the sd card contents. I tried doing the:
fastboot oem enableqxdm 0
fastboot reboot
but that had no effect and the cmd wouldnt even recognize the command
what do i do?
Click to expand...
Click to collapse
before you enter those commands you have to hold power and volume down and go into fastboot on the phone - after that connect it to the computer
click start - run - CMD
After that
type cd "location of your android sdk tools folder" - OR cd "drag the folder of your tools folder into the prompt"
THAN
type the commands -
fastboot oem enableqxdm 0
fastboot reboot
mongoose8p said:
before you enter those commands you have to hold power and volume down and go into fastboot on the phone - after that connect it to the computer
click start - run - CMD
After that
type cd "location of your android sdk tools folder" - OR cd "drag the folder of your tools folder into the prompt"
THAN
type the commands -
fastboot oem enableqxdm 0
fastboot reboot
Click to expand...
Click to collapse
where do i find that folder... im sorry i dont really know much of this
i'm assuming you are using windows. it's the location of your \android-sdk-windows\tools\ folder from when you installed the android sdk in order to root in the first place. it is also the location of adb. if need be, do a search for adb.exe and it should point you directly to the location of everything you need.
It keeps saying "the system cannot find the path specified". I dont even know what to do. This sucks.
it might be under a different path, where did u install ur android sdk?
i don't really remember. i found it though searching for adb and i guess i have 2 folders of it... zipped and unzipped... but i tried putting both path names in there and that went nowhere
When you search for adb or your android sdk tools folder, go into that folder and hit Shift+right click and "open command window here" then use your commands.
awesomeindeed said:
When you search for adb or your android sdk tools folder, go into that folder and hit Shift+right click and "open command window here" then use your commands.
Click to expand...
Click to collapse
that option does not pop up.. im running xp if that helps
im still having trouble figuring out what to do.
xarttyx said:
that option does not pop up.. im running xp if that helps
Click to expand...
Click to collapse
copy the path of the folder with adb.exe in it - start - run cmd - command "cd path of adb folder" - then follow the instructions above

New SDK - Flashing through Fastboot

The new version of SDK has changed a few things within the file system, so I'm just writing something here to show how it will work fast for everyone.
1. Install Android SDK
2. Update Android SDK through the program first.
3. Go to "Android\android-sdk\tools" (or wherever you've installed the sdk-tools) and copy "fastboot".
4. Paste "fastboot" in to "platform-tools"
5. Once that's done, to get directly to "Android\android-sdk\" to run ADB and fastboot without having any errors (or command prompt irritations) press SHIFT then right click "Android\android-sdk\platform-tools" and select "Open command window here".
6. Then it's just the case of pasting your .img file in to the "Android\android-sdk\platform-tools" folder, and you're good to go! (for example, in command prompt type: fastboot flash hboot bravo_alphaspl.img)
Dan.
The reason why I have put this here is because I have had trouble trying to sort out the new SDK and I in fact had trouble with "missing files" within the folders. They weren't missing, it's just that the SDK folders have been cleaned up.
Follow this and you won't go wrong to flash anything through fastboot .
Dan
Please format your first post correctly (like second post), otherwise it's horrible to read.
I guess "old" sdk will still work properly?

Fastboot app wont turn on

Hi, i want to unlock my bootloader, and i know that i must use fastboot app on my computer.
But everytime i click on fastboot.exe it's turn off after 1 second?
What I do wrong?
hurdleman said:
Hi, i want to unlock my bootloader, and i know that i must use fastboot app on my computer.
But everytime i click on fastboot.exe it's turn off after 1 second?
What I do wrong?
Click to expand...
Click to collapse
It's a command line program, so you have to open a command prompt to the directory fastboot is in
An easy way to get command prompt to the correct directory is to hold shift and right click on an empty space in the folder (make sure no files are selected), then an "open command window here" option can be selected
no offence but if you fail at loading a CLI program then maybe you should re consider unlocking your device. but if you know what your doing and this was a genuine silly mistake then feel free to unlock it.
Fma965 - Forgottencoders.co.uk
jacklebott said:
An easy way to get command prompt to the correct directory is to hold shift and right click on an empty space in the folder (make sure no files are selected), then an "open command window here" option can be selected
Click to expand...
Click to collapse
The shift - click method only works in Windows 7, I think.
But you can also open up a CMD window and use the CD command (Change directory). Type in cd and then drag and drop the folder containing the fastboot files in the CMD window and then press Enter.
Sent from my R800i using xda premium

Unsure of where to look for CWM Touch instructions

I've got the latest download of CWM Touch for the GNex, but I downloaded it a few days ago and I'm not exactly sure how to go about installing it properly. Googling it or searching the forums brings up a million and 1 wrong/outdated/incomplete links. I don't have nearly as much time to devote to my moding anymore, so a point in the proper direction would be very helpful. Thanks
Sent from my Galaxy Nexus using xda app-developers app
neccoguy21 said:
I've got the latest download of CWM Touch for the GNex, but I downloaded it a few days ago and I'm not exactly sure how to go about installing it properly. Googling it or searching the forums brings up a million and 1 wrong/outdated/incomplete links. I don't have nearly as much time to devote to my moding anymore, so a point in the proper direction would be very helpful. Thanks
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Assuming you have the Clockworkmod-touch.img for your phone all you need to do is run this command if you have fastboot.
Code:
fastboot flash recovery name-of-recovery.img
then it should write the recovery.
If you don't know how to run command, when you have time it is very handy to learn.
But for now, if you can't:
Download *GNex Tool kit 7.4* install with drivers (supplied) onto your computer. down load from development page.
Close the toolkit
put the CWM file into the "put_img_files_to_flash_here" folder (created when you installed tool kit) - i too am guessing its an .img file.
USB attach the phone to computer
open bootloader on phone
then open toolkit and follow instructions to flash .img files to phone.
This is the way I personally do it.
I use the naked driver set that finds nearly any device I have tried it with and works perfect. (if you have the toolkit installed, you should already have the drivers installed)
Place the new recovery.img in the Toolkit folder
Open the folder that contains the tooklit
Right click and select 'open command window here'
In the cmd window type this:
adb-toolkit devices
Make sure yours is detected
Reboot the phone into the bootloader
then type this:
fastboot-toolkit oem unlock
Follow the prompts on the phone
then type:
fastboot-toolkit flash recovery name-of-recovery.img (I rename mine to something simple and easy to type back out quickly)
When that shows as successful type this:
fastboot-toolkit oem lock
Then using the volume buttons on the phone, select restart and press power.
As a side note, I also copied both the adb-toolkit and fastboot-toolkit files into a different folder and renamed them to just adb and fastboot and pasted them back into the original folder. This way the toolkit still works and I can just type adb XXXXX or fastboot XXXXX in my cmd window.
Hope this helps.
Know-Fear said:
This is the way I personally do it.
I use the naked driver set that finds nearly any device I have tried it with and works perfect. (if you have the toolkit installed, you should already have the drivers installed)
Place the new recovery.img in the Toolkit folder
Open the folder that contains the tooklit
Right click and select 'open command window here'
In the cmd window type this:
adb-toolkit devices
Make sure yours is detected
Reboot the phone into the bootloader
then type this:
fastboot-toolkit oem unlock
Follow the prompts on the phone
then type:
fastboot-toolkit flash recovery name-of-recovery.img (I rename mine to something simple and easy to type back out quickly)
When that shows as successful type this:
fastboot-toolkit oem lock
Then using the volume buttons on the phone, select restart and press power.
As a side note, I also copied both the adb-toolkit and fastboot-toolkit files into a different folder and renamed them to just adb and fastboot and pasted them back into the original folder. This way the toolkit still works and I can just type adb XXXXX or fastboot XXXXX in my cmd window.
Hope this helps.
Click to expand...
Click to collapse
This is a very helpful way of doing things, but a little too long winded for CWM. But I'm thankful for you taking your time to respond and I'm happy to have this guide handy.
gpfnzl said:
If you don't know how to run command, when you have time it is very handy to learn.
But for now, if you can't:
Download *GNex Tool kit 7.4* install with drivers (supplied) onto your computer. down load from development page.
Close the toolkit
put the CWM file into the "put_img_files_to_flash_here" folder (created when you installed tool kit) - i too am guessing its an .img file.
USB attach the phone to computer
open bootloader on phone
then open toolkit and follow instructions to flash .img files to phone.
Click to expand...
Click to collapse
A similar strategy to know-fear's, but different. Again, thank you very much for your help, but it's not the way I'll handle this one.
ÜBER™ said:
Assuming you have the Clockworkmod-touch.img for your phone all you need to do is run this command if you have fastboot.
Code:
fastboot flash recovery name-of-recovery.img
then it should write the recovery.
Click to expand...
Click to collapse
This was what I was looking for. Thank you so much for your time and help!
Sent from my Galaxy Nexus using xda app-developers app
Long winded perhaps. But it's the same thing for most phones running android. So in essence, once you learn it, you know it for good. I've been using the same method since back in the G-1 days. And honestly, those steps I listed take about 15 seconds to complete. It's just good to be thorough.

Categories

Resources