Bootloader - One (M8) Q&A, Help & Troubleshooting

Trying to unlock the bootloader and keep getting this any ideas

Doesn't look like you are running fastboot from the folder that contains fastboot.exe

Electronic Punk said:
Doesn't look like you are running fastboot from the folder that contains fastboot.exe
Click to expand...
Click to collapse
So where should I put fastboot.exe I'm coming from Sammy so a bit new to this

You can put it in c:\users\sophie\ if you like but its worth keeping handy
so move all the files (adb.exe, adbwinapi.dll, adbwinusbapi.dll and fastboot.exe) to say c:\android
Then from command prompt type
cd c:\android
fastboot
you also need to have your phone in fastboot mode of course
Its a little different than Samsung, but much easier

jaythenut said:
So where should I put fastboot.exe I'm coming from Sammy so a bit new to this
Click to expand...
Click to collapse
This has nothing to do with OEM, this is basic WIndows functionality. Fastboot.exe is located in the same place as adb.exe, you have to navigate there first. But you can stop wasting your time if you got a Verizon phone, you can't unlock the bootloader with htcdev.

bobbarker2 said:
This has nothing to do with OEM, this is basic WIndows functionality. Fastboot.exe is located in the same place as adb.exe, you have to navigate there first. But you can stop wasting your time if you got a Verizon phone, you can't unlock the bootloader with htcdev.
Click to expand...
Click to collapse
Well they are a UK user on EE so I doubt they got a Verizon device.
I hope we see a Verizon solution soon.

Electronic Punk said:
You can put it in c:\users\sophie\ if you like but its worth keeping handy
so move all the files (adb.exe, adbwinapi.dll, adbwinusbapi.dll and fastboot.exe) to say c:\android
Then from command prompt type
cd c:\android
fastboot
you also need to have your phone in fastboot mode of course
Its a little different than Samsung, but much easier
Click to expand...
Click to collapse
I've only got fastboot.exe not got anything else which I got from htcdev have i missed something

Attached is what I used, I don't however know if they are now out of date, but they did the job

Although regardless you need to make sure you run the command prompt from teh same folder that contains fastboot.exe ;p
---------- Post added at 05:39 PM ---------- Previous post was at 05:28 PM ----------
Original attachment update with newer versions of adb and fastboot

Electronic Punk said:
Although regardless you need to make sure you run the command prompt from teh same folder that contains fastboot.exe ;p
---------- Post added at 05:39 PM ---------- Previous post was at 05:28 PM ----------
Original attachment update with newer versions of adb and fastboot
Click to expand...
Click to collapse
thanks bud got it at last
now cant install custom recovery lol

For Verizon:
Does anyone know if we can edit CID to 11111111 without s-off?
That should spoof the htcdev system into letting us unlock.

JJflipped said:
For Verizon:
Does anyone know if we can edit CID to 11111111 without s-off?
That should spoof the htcdev system into letting us unlock.
Click to expand...
Click to collapse
you could try this dont know if it will work http://forum.xda-developers.com/showthread.php?t=2694925

Related

Need Help With fastboot and Radio (gsm)

Sorry To make a new thread, but I've been searching for some good instructions on how to flash a radio through fastboot. I know you can flash it through recovery but I'm hearing its safer to use fastboot.
All I need is a link with some instructions.
Thank you.
Code is in this post, beside the links: http://forum.xda-developers.com/showthread.php?t=1571715
mudferret said:
Code is in this post, beside the links: http://forum.xda-developers.com/showthread.php?t=1571715
Click to expand...
Click to collapse
I dunno what to do with that code. There isn't a beginners guide anywhere
Mrcojocaru said:
I dunno what to do with that code. There isn't a beginners guide anywhere
Click to expand...
Click to collapse
Do you know generally how to use Fastboot?
If you don't, you should probably start reading a bit more before using it...
martonikaj said:
Do you know generally how to use Fastboot?
If you don't, you should probably start reading a bit more before using it...
Click to expand...
Click to collapse
I dont know how. I think I used to to root my nexus one but I havent had to use it since. Just recovery.
Mrcojocaru said:
I dont know how. I think I used to to root my nexus one but I havent had to use it since. Just recovery.
Click to expand...
Click to collapse
Here's a good guide for setting up and using adb; mostly applicable to fastboot as well. There are others as well.
Can't recall if fastboot is included in the attached file, but the principles are there, and search the Development forum for "drivers".
http://forum.xda-developers.com/showthread.php?t=1058431
The full Android SDK can be DL'd as well: http://developer.android.com/sdk/index.html
mudferret said:
Here's a good guide for setting up and using adb; mostly applicable to fastboot as well. There are others as well.
Can't recall if fastboot is included in the attached file, but the principles are there, and search the Development forum for "drivers".
http://forum.xda-developers.com/showthread.php?t=1058431
Click to expand...
Click to collapse
thank you I have the adb drivers set up for my phone if thats what you mean. Just dont know more then that
ok I set up adb.. It was different than what I thought you were talking about.
If you have everything set up; boot in to bootloader, connect USB, and then use command in cmd.
Edit: but like someone said: if you don't fully understand, read more about it. Don't do something you're unsure of.
Sent from my Galaxy Nexus using Tapatalk
I understand it but I dont know what to type into cmd
Mrcojocaru said:
I understand it but I dont know what to type into cmd
Click to expand...
Click to collapse
download the radio you want
extract it or put the .img into your adb folder
open cmd (use the shortcut you created from the other post on setting up adb)
type this into the command line:
Code:
fastboot flash radio "name-of-radio".img
---------- Post added at 08:44 PM ---------- Previous post was at 08:43 PM ----------
the easiest way to set it up is download the tools in the dev forum. then use the guide with the pics to make the shortcut.
svtfmook said:
download the radio you want
extract it or put the .img into your adb folder
open cmd (use the shortcut you created from the other post on setting up adb)
type this into the command line:
Code:
fastboot flash radio "name-of-radio".img
---------- Post added at 08:44 PM ---------- Previous post was at 08:43 PM ----------
the easiest way to set it up is download the tools in the dev forum. then use the guide with the pics to make the shortcut.
Click to expand...
Click to collapse
when in command prompt you have to first navigate to your fastboot folder, my fastboot folder is in my android sdk folder so i would type
Code:
cd c:\android-sdk-windows\fastboot
then use
Code:
fastboot flash radio "name-of-radio".img
also your phone needs to be in the bootloader screen for fastboot to work. you can get to the boot screen by holding both volume buttons with the power button when the phone is off
thanks guys
I kept trying to flash a bad img. The OP from that thread posted a working one but not until the 3rd page. Got real frustrated lol.
anyway... im getting 2 solid bars of hspa inside. Used to alternate between 1 and 0.
neotekz said:
when in command prompt you have to first navigate to your fastboot folder, my fastboot folder is in my android sdk folder so i would type
Code:
cd c:\android-sdk-windows\fastboot
then use
Code:
fastboot flash radio "name-of-radio".img
also your phone needs to be in the bootloader screen for fastboot to work. you can get to the boot screen by holding both volume buttons with the power button when the phone is off
Click to expand...
Click to collapse
he would only need to navigate it if he used the old sdk way of setting adb up. if he used the link in the previous posts to create a custom shortcut, he wouldn't need to navigate.
also remember that your phone has to be booted into bootloader first. and after flashing, you need to fastboot reboot.
svtfmook said:
you need to fastboot reboot.
Click to expand...
Click to collapse
uh oh.. didnt do that. can something happen?
EDIT: I reflashed the radio and rebooted from fastboot just in case. Thanks for your help.
Thank you everyone! Used all my thanks for today on you guys lol

Wiped Phone Now Can't See SD Card On Lappy, PLEASE HELP

I used Team win Recovery Project to wipe my phone Galaxy Nexus, and now when I plug the phone in to the lappy it doesn't show the sd card. Freaking out here cause I can't copy over a zip file to flash a ROM... please help...
The GNEX doesn't have an actual sdcard, so when you wiped the phone i'm guessing you wiped the virtual sd card.
You will have to adb push a rom to your phone.
One the top of the first Q&A page jubakuba has a guide that has a panic section in it.
The guide also shows how to install adb/fastboot and gives you the commands.
try flash the stock img via fastboot using the following line to avoid wiping ur sdcard
fastboot update ***.zip
then wipe data via CWM and enjoy
xskordeal said:
try flash the stock img via fastboot using the following line to avoid wiping ur sdcard
fastboot update ***.zip
then wipe data via CWM and enjoy
Click to expand...
Click to collapse
sorry, complete DOLT here. Where would I input the command?
If you don't know about adb/fastboot, do as suggested in first post. All is explained in the guide.
How to get to a MS-DOS prompt or Windows command line
TheDodgey said:
sorry, complete DOLT here. Where would I input the command?
Click to expand...
Click to collapse
Click Start.
Click Run.
Type cmd or command and press enter.
gpfnzl said:
If you don't know about adb/fastboot, do as suggested in first post. All is explained in the guide.
Click to expand...
Click to collapse
ok, following your instructions, and the instructions of the link, I have install ADB and can use cmd, however when I type adb shell, I get an error returning "device not found"
I see a lot of threads stating to make sure usb debugging is on, it was before I wiped the phone, but obviously I cant get to any settings at the moment.
on the verge of crying now, and noone likes to see a grown man cry
FIXED
I ran the push command whilst in recovery and it worked
not sure that it mattered, but I did change the zip file name to ROM.zip, and whilst in recovery, ran the comand "adb push ROM.zip /sdcard/ROM.zip
Just thought I would put that in there for other dopes like me that might come across this problem
Thanks to all for your help!
LOL
Normally if you can't see your device listed you haven't installed the drivers correctly.(or the correct drivers)
Also you have to open a command prompt window in the same folder as fastboot.exe and adb.exe
To do this in Windows 7:
Click the windows start button (bottom left hand corner)
In the search bar at the bottom type: cmd
At the top of the search list you will see the program cmd.exe right click and copy it.
Paste it into the same folder that has fastboot.exe and adb.exe
Now you can open the cmd window and type the command:
adb devices
Hit ENTER and if you have installed drivers correctly, the serial number of your phone will be listed.
If not, uninstall the drivers, download a new set of drivers from jubakuba or efrants guide and reinstall.
---------- Post added at 11:58 AM ---------- Previous post was at 11:53 AM ----------
TheDodgey said:
FIXED
I ran the push command whilst in recovery and it worked
not sure that it mattered, but I did change the zip file name to ROM.zip, and whilst in recovery, ran the comand "adb push ROM.zip /sdcard/ROM.zip
Just thought I would put that in there for other dopes like me that might come across this problem
Thanks to all for your help!
Click to expand...
Click to collapse
didn't need to change the name of the rom zip. Just needed to type the full name of the .zip file.
Good to see it worked, and the tears have stopped

[Q] cmd fastboot access denied

I am trying to unlock the bootloader through HTCdev but my problem is when I open up cmd and type in the command all I get is fastboot access is denied!
I have searched and read for days but cannot find anything to help me out so I have joined up with xda in the hopes someone else out there has had a similar issue or can atleast suggest something.
mrrflagg said:
I am trying to unlock the bootloader through HTCdev but my problem is when I open up cmd and type in the command all I get is fastboot access is denied!
I have searched and read for days but cannot find anything to help me out so I have joined up with xda in the hopes someone else out there has had a similar issue or can atleast suggest something.
Click to expand...
Click to collapse
Try creating a new fastboot folders and updating your HTC drivers. If the need arise, I can share with you my fastboot files
mrrflagg said:
I am trying to unlock the bootloader through HTCdev but my problem is when I open up cmd and type in the command all I get is fastboot access is denied!
I have searched and read for days but cannot find anything to help me out so I have joined up with xda in the hopes someone else out there has had a similar issue or can atleast suggest something.
Click to expand...
Click to collapse
It's probably that the folder is under admin previlage protection.
Try moving fastboot folder.
Didn't work:
-Try extracting fastboot to a new directory again.
Didn't work:
-Run cmd as admin, then use cd command to navigate into fastboot folder
ex: cd c:\fastboot\
convict_moody said:
It's probably that the folder is under admin previlage protection.
Try moving fastboot folder.
Didn't work:
-Try extracting fastboot to a new directory again.
Didn't work:
-Run cmd as admin, then use cd command to navigate into fastboot folder
ex: cd c:\fastboot\
Click to expand...
Click to collapse
Hi convict_moody, I have tried all that you suggested and went as far as removing all traces of my HTC drivers and
fastboot folders from my computer and tried it all from scratch and still no luck.
I recently did a HTC update to 4.2.2 and the Hboot is 1.73 with S on just if that info is of help?
Are the drivers properly installed, you see MYHTC in the windows device manager. If so that's fine.
Maybe download the android sdk bundle and open the command window in the platform tools folder.
Then put there the unlock code.bin file too and flash it
Fastboot flash unlocktoken unlock_code.bin
Mr Hofs said:
Are the drivers properly installed, you see MYHTC in the windows device manager. If so that's fine.
Maybe download the android sdk bundle and open the command window in the platform tools folder.
Then put there the unlock code.bin file too and flash it
Fastboot flash unlocktoken unlock_code.bin
Click to expand...
Click to collapse
Drivers are up to date and I have tried with the sdk bundle, it seems to be so simple and not getting it to work is rather frustrating.
Starting to wonder if it's worth the hassle
mrrflagg said:
Drivers are up to date and I have tried with the sdk bundle, it seems to be so simple and not getting it to work is rather frustrating.
Starting to wonder if it's worth the hassle
Click to expand...
Click to collapse
Sure you logged in as admin on the pc ?
I'm the only user of this computer, got me stumped.
Yeah but when it's not setup as admin you can have trouble
Just want to thank you all for your advice, I tried the process on a different PC and it worked perfectly. Was my laptop the whole time.
Again a big thanks to you all

[Q] Urgent I am stuck unlock boothloader

Dear Exprts
Kindly check this how to fix this problem
when i give a command in CMD (c:\fastboot is not recognized as an internal or external command, oparebale program or batch file)
please give me the procedure as soon as possible ...
i cant unlock the boothloader
Thnks
Deep
I dont get your question. What command u typed? Check if your cmd console working directory is the same as fastboot localization.
Just ctrl rght click in folder where fastboot is and click open command window.
Sent from my One V using xda app-developers app
dipusmart said:
Dear Exprts
Kindly check this how to fix this problem
when i give a command in CMD (c:\fastboot is not recognized as an internal or external command, oparebale program or batch file)
please give me the procedure as soon as possible ...
i cant unlock the boothloader
Thnks
Deep
Click to expand...
Click to collapse
You must have fastboot.exe and the 2 dlls at the same directori, where you are at the moment at console (e.g. you wrote c:\fatsboot, so you need to have fastboot.exe and the 2 dlls at c:\ root to run them.)
I recommend to run fastboot and/or adb from a subdirectory from root, e.g. c:\htc\
I havehave fastboot.exe and the 2 dlls at the same directori (I rote c:\fastboot....but the same result ...
I don't have any root file in c drive
i am attaching the file ...
Ken-Shi_Kun said:
You must have fastboot.exe and the 2 dlls at the same directori, where you are at the moment at console (e.g. you wrote c:\fatsboot, so you need to have fastboot.exe and the 2 dlls at c:\ root to run them.)
I recommend to run fastboot and/or adb from a subdirectory from root, e.g. c:\htc\
Click to expand...
Click to collapse
Check this command in attach file
& told me , whats the problem in command
dipusmart said:
Check this command in attach file
& told me , whats the problem in command
Click to expand...
Click to collapse
don't know what the problem here, but I had errors like this on windows 8.1 and win8, which based on the poor command-line support...
try to move to the folder itself first with cd command, then fastboot as command.
dipusmart said:
Check this command in attach file
& told me , whats the problem in command
Click to expand...
Click to collapse
First, do not place files in the root (system could have some restrictions to run files from here). Place them in any folder and run from there (e.g. c:\fb\fastboot.exe)
Second, usualy you must be in the folder where the running file is. So do this:
cd c:\fb
fastboot ...
---------- Post added at 03:07 PM ---------- Previous post was at 02:59 PM ----------
Btw, are you really sure you want to take the risk with unlocking/rooting/flashing? If you are not quite familiar with a simple computer tasks there is a big chance you will go wrong and the phone will become unuseful. Unless you have many of them and just playing around. =)
Have you tried using the windows AIO tool?
http://forum.xda-developers.com/showthread.php?t=1676686
you may find it easier, but please do read all the instructions carefully especially about making a backup.
thnks guys....
now i don't have warranty ...so i want to upgrade my phone
urgents.....!!!!!
i am already done unlocking/rooting
but i have to install titanium kiss kernal i just stuck in command prompt ..its just waiting for device
what can i do ,,,
dipusmart said:
urgents.....!!!!!
i am already done unlocking/rooting
but i have to install titanium kiss kernal i just stuck in command prompt ..its just waiting for device
what can i do ,,,
Click to expand...
Click to collapse
What exactly the command prompt says?
You have to start your phone in the fastboot mode to accept external commands. So I guess the command prompt is waiting until the phone will get to that mode.
kvestas said:
What exactly the command prompt says?
You have to start your phone in the fastboot mode to accept external commands. So I guess the command prompt is waiting until the phone will get to that mode.
Click to expand...
Click to collapse
In command prompt with your phone connected, and USB debugging turned on in your developer options, and in the folder with your boot.img (you'll need to rename the hellboy kernel file to just boot.img)
type
<adb devices>
you should see a reply showing your phones ID if you get this go for
<adb reboot bootloader>
wait for the phone to reboot to your white bootloader screen then go for
<fastboot flash boot boot.img>
then once the kernel is in
<fastboot reboot>
Again I strongly recommend using an AIO program to make sure you haven't missed a step. Its great to learn all the ways to work with your phone, but its primary use is a phone, if it breaks it won't be able to do that.

Computer detects watch normally, but not while in bootloader

Hi,
I just bought a Huawei watch and I'm trying to install the preview. I've enabled ADB and whenever the watch is on, my computer can find it:
[[email protected] sturgeon-nvd83h]$ sudo adb devices
List of devices attached
MQB7N15C09000040 device
Click to expand...
Click to collapse
However, after I reboot to bootloader (adb reboot bootloader) the computer can't find it anymore:
[[email protected] sturgeon-nvd83h]$ sudo adb devices
List of devices attached
Click to expand...
Click to collapse
So I can't unlock the bootloader, and therefore I can't install the preview.
Is there something I'm missing? Thanks!
I've had it happen where when I type "adb devices" while in the watch bootloader and it doesn't show anything. But then I run the 2.0 preview batch file and it still flashes it fine. Did you try just running the batch "flash all" file anyway? If not try it. I've flashed the 2.0 preview probably 5 times in the less than 3 weeks I've had the watch and it's always worked.
Well, it's weird because when I run flash-all I get:
"FAILED (remote: device locked)"
Which implies that it has found the watch and has tried to actually flash the image, but of course, has failed because it's locked.
Yet, when I run fastboot flashing unlock I get:
"< waiting for any device >"
Which seems to mean it's not finding the watch.
OK, that's weird. Manually typing "fastboot oem unlock" didn't work; however, editing "flash-all.sh" and adding the command at the beginning DID work. I have no idea why, but it's now finally flashing the beta. Fingers crossed!
Did you unlock the bootloader? You have to unlock it before flashing. I used this guys tutorial when first learning how to unlock the bootloader and flashing the 2.0 preview and it worked great. https://www.youtube.com/watch?v=qVrBEmi35-E
If you have unlocked the bootloader I'm not quite sure why it wouldn't be seeing the watch if it's seeing it while the watch is in the OS which it clearly is since you're able to use adb.
---------- Post added at 09:53 AM ---------- Previous post was at 09:47 AM ----------
I just now seen your answer post after making my last comment. That is strange but I hope you got it working. That link I posted in my previous comment is the method I followed and I had no issues. Perhaps the reason I was able to do it without having to edit the script is because the guy in that video modified the files to work better. Watch the video and you'll see what I'm talking about.

Categories

Resources