How long should fastboot oem unlock take? - Atrix 4G Q&A, Help & Troubleshooting

How long should fastboot oem unlock take?
I'm following these instructions to unlock phone (then get CM7 running on it).
I ran fastboot oem unlock command with ID (have JDK and SDK installed and added the tools).
Been sitting in command promt for about 10 minutes now... How long should this take? What can/should I do now?

Got tired of waiting after over hour, pulled battery, booted up.
I get Unlocked message at top of screen when it starts booting but then it gets into infinite boot showing Motorola screen then black screen over and over... any thoughts?

I believe now you have to flash recovery through fastboot, and then use the recovery to flash a ROM.

ravilov said:
I believe now you have to flash recovery through fastboot, and then use the recovery to flash a ROM.
Click to expand...
Click to collapse
And hope waiting that hour didn't drain the battery because it doesn't charge in fastboot.

Recovery would not start at all either, so I could not flash new ROM.
I ended up being able to do fastboot and delete user data, this made phone bootable again.
Then installed CWM and flashed ROM.
All is good now, was a little scare though
Thanks,

Related

Bootloop please help.

*Fixed*
uppon2 said:
I just go the phone today and I have unlocked it and it all went well. I was looking at installing ViperDNA on to my phone. So I started to follow instructions in the Viper thread
1. I "tried" to install TWRP through the Goo method and after downloading the file it told me that recovery was no installed.
2. I rebooted in to bootloader and hit power button to enter fastboot then I scrolled down to where it says recovery and I hit power again. Phone displayed a message up the top that it was now entering recovery. The phone did not go to recovery it simply rebooted all the way back to my phones home screen.
I then though hmm well maybe I didn't install it properly so I follwed the instructions using Goo again but still nothing happened.
I noticed there was an alternative method to flash recovery by using ADB. I put the file in to the same directory as where my adb/fastbood reside and I booted in to fastboot again and in cmd prompt I entered "flash recovery openrecovery-twrp-2.4.0.0-dlx.img"
It seemed to flash and gave me a response which I can't remember now but it said OK!.
I then proceeded to try and enter recovery again but this time it has sent my phone in to a bootloop. It will not pass the Droid splashscreen. I can however still access bootloader mode.
I also noticed now in my Bootloader above where it says Unlocked it also says Tampered?
Phone doesn't seem to be recognised by ADB anymore neither. adb devices returns with a blank space
I'm a long time Samsung user so usually in this situation I would use Odin and flash a stock firmware but I don't know the process with HTC
I don't have a backup because I hadn't got to this stage yet!
Any advice as to what to do now
Click to expand...
Click to collapse
if you can still get the phone into fastboot mode then you should be fine.. when in fastboot mode the command "adb devices" will not return any entries.. when in fastboot you should use the command
fastboot devices
and see if your phone shows up there.. also the command for flashing a recovery in fastboot is:
fastboot flash recovery "your recovery filename.img" without the quotations though..
so the exact command would be the fastboot flash recovery openrecovery-twrp-2.4.0.0-dlx.img if that is what the recovery file on your computer is named.
then hit enter it should say sending etc...
I always then do the command
fastboot reboot-bootloader then the phone will reboot into the fastboot screen, then manually select recovery and see that it worked that time.
lazarus2297 said:
if you can still get the phone into fastboot mode then you should be fine.. when in fastboot mode the command "adb devices" will not return any entries.. when in fastboot you should use the command
fastboot devices
and see if your phone shows up there.. also the command for flashing a recovery in fastboot is:
fastboot flash recovery "your recovery filename.img" without the quotations though..
so the exact command would be the fastboot flash recovery openrecovery-twrp-2.4.0.0-dlx.img if that is what the recovery file on your computer is named.
then hit enter it should say sending etc...
I always then do the command
fastboot reboot-bootloader then the phone will reboot into the fastboot screen, then manually select recovery and see that it worked that time.
Click to expand...
Click to collapse
After attempting this it hangs here:
C:\Android-adb>fastboot flash recovery openrecovery-twrp-2.4.0.0-dlx.img
< waiting for device >
EDIT* Rookie mistake for it hanging. I was only in bootloader not Fastboot. However, this worked and I love you. I will now flash Viper. Do I still need to flash the Kernel Modules?
uppon2 said:
After attempting this it hangs here:
C:\Android-adb>fastboot flash recovery openrecovery-twrp-2.4.0.0-dlx.img
< waiting for device >
EDIT* Rookie mistake for it hanging. I was only in bootloader not Fastboot. However, this worked and I love you. I will now flash Viper. Do I still need to flash the Kernel Modules?
Click to expand...
Click to collapse
flashing the modules for the kernel is always a good idea just flash that after you flash your ROM..
and you are welcome just glad I could help!!
lazarus2297 said:
flashing the modules for the kernel is always a good idea just flash that after you flash your ROM..
and you are welcome just glad I could help!!
Click to expand...
Click to collapse
lol. Now Aroma is being a pain in the ass. It won't let me click Next to install. haha
EDIT* Maybe because of the smaller TWRP or maybe not but I had to try again and then click next but about 2" higher than where it says it :S
I am not a huge fan of aroma... i had issues when i tried to flash my DNA the first time.. that is something that you just have to keep trying unfortunately it seems... i have seen where people had to aroma freeze on them multiple times before finally completing the flash... some tips i have seen is keep the phone flat... also keep it plugged in.. I can't vouch for any of these being actual fixes but hey "it's only weird if it doesn't work"
Do you know the load time on a ROMs first boot after flash?
The ROM said it was installing and at about 8% the screen went all grey and then rebooted in to the HTC splash screen and hasn't changed for about 15 minutes. Tried it twice
EDIT* Would only flash using CWM
uppon2 said:
Do you know the load time on a ROMs first boot after flash?
The ROM said it was installing and at about 8% the screen went all grey and then rebooted in to the HTC splash screen and hasn't changed for about 15 minutes. Tried it twice
EDIT* Would only flash using CWM
Click to expand...
Click to collapse
glad to hear it sorry for the slow response.. i was away for a bit..
lazarus2297 said:
glad to hear it sorry for the slow response.. i was away for a bit..
Click to expand...
Click to collapse
All good. Thanks for your assistance
I am usually the guy helping other people. It's quite an unusual change going from Samsung to HTC!

Stuck Fastboot-can't flash RUU to return to stock

I was in the process of returning my dna to stock so that I could sell it. I performed the OEM lock function which resulted in my bootloader screen looking what what is in the attached picture. After this I attempted multiple, multiple times to install the RUU.exe on my Mac Mini running Windows 7 in bootcamp mode (not virtualization). Each time it popped up an error saying that it couldn't install. At this point, even after flashing the 1.15 hboot I'm still mostly stuck int he bootloader. My operating system no longer boots. I really only have fastboot access and no idea how to get out of this situation.
I've tried to flash a custom recovery so that at least I could flash a rom, but whenever I try to fastboot it over I get an error saying "FAILED <remote: not allowed>". So if I can't flash a recovery ROM, and I can unlock my bootloader again, and I can't boot into a ROM, what can I do. I spent the last 6 hours trying to find an answer and I'm totally out of options now.
doctajay said:
I was in the process of returning my dna to stock so that I could sell it. I performed the OEM lock function which resulted in my bootloader screen looking what what is in the attached picture. After this I attempted multiple, multiple times to install the RUU.exe on my Mac Mini running Windows 7 in bootcamp mode (not virtualization). Each time it popped up an error saying that it couldn't install. At this point, even after flashing the 1.15 hboot I'm still mostly stuck int he bootloader. My operating system no longer boots. I really only have fastboot access and no idea how to get out of this situation.
I've tried to flash a custom recovery so that at least I could flash a rom, but whenever I try to fastboot it over I get an error saying "FAILED <remote: not allowed>". So if I can't flash a recovery ROM, and I can unlock my bootloader again, and I can't boot into a ROM, what can I do. I spent the last 6 hours trying to find an answer and I'm totally out of options now.
Click to expand...
Click to collapse
You need to unlock again in order to flash back a custom recovery. You also need to have the stock splash screen before you ruu. Had the exact same issue you had. Stock h-boot, stock splash screen and relock and all should be good.
That is my main problem. All of the unlock methods require me to load load an apk to change the CID. I can't do that in fastboot. Is there another unlock method I'm missing that allows you to do it from the fast boot mode?
Sent from my LG-D800 using Tapatalk
if u have your original unlock code from htc dev I think u can fastboot flash that code to unlock again. its in the forum somewhere just not sure where it is.
try this thread, good luck
http://forum.xda-developers.com/showthread.php?t=2160677
You don't have to run a apk to change the cid just Google change cid commands, you do it through adb change it to 22222222 then redo the HTC dev to get your unlock.bin again if u don't have it.
Sent from my HTC6435LVW using XDA Premium 4 mobile app
doctajay said:
I was in the process of returning my dna to stock so that I could sell it. I performed the OEM lock function which resulted in my bootloader screen looking what what is in the attached picture. After this I attempted multiple, multiple times to install the RUU.exe on my Mac Mini running Windows 7 in bootcamp mode (not virtualization). Each time it popped up an error saying that it couldn't install. At this point, even after flashing the 1.15 hboot I'm still mostly stuck int he bootloader. My operating system no longer boots. I really only have fastboot access and no idea how to get out of this situation.
I've tried to flash a custom recovery so that at least I could flash a rom, but whenever I try to fastboot it over I get an error saying "FAILED <remote: not allowed>". So if I can't flash a recovery ROM, and I can unlock my bootloader again, and I can't boot into a ROM, what can I do. I spent the last 6 hours trying to find an answer and I'm totally out of options now.
Click to expand...
Click to collapse
You device most likely can't downgrade due to having a locked device. Have you tried flashing the 2.07 ruu
Thank you for all of the replies. Actually the change of the CID command might have worked but I didn't see that reply before I had tried another method found in this thread: http://forum.xda-developers.com/showthread.php?t=2570548.
I was truly stuck in fastboot and couldn't flash a custom recovery at all. Well I used the advice from a previous thread and edited the firmware .zip posted in the first post of this thread: http://forum.xda-developers.com/showthread.php?t=2314771. I had initially tried to flash the .zip posted but when I tried to boot into the recovery it wouldn't work. So I opened the .zip file without extracting it and removed the recovery.img from the .zip, I then took the TWRP custom recovery and inserted it into the .zip (if you extract the zip this will not work; you need to use software that can edit a zip without extracting it. On the Mac, which I was using, I used Spring). I renamed the TWRP recovery to "recovery.img" to match what I had previously deleted.
Then I flashed this edited firmware.zip by using the following command in usb fastboot mode (here's the link for my edited file):
fastboot oem rebootRUU
fastboot flash zip YOUREDITEDFILE.zip
fastboot reboot
This then allowed me to boot into recovery. I thought I had figured it out and could now sideload a ROM using the "adb sideload" command and flash some type of ROM that would boot. This failed miserably; it would allow me to push the file, but the install would always fail before it completed.
So then I found this thread here: http://forum.xda-developers.com/showthread.php?t=2570548. I first flashed the two .zip files that were posted in post #44. then I flashed the full RUU posted in post #1. This gave me a bootable stock ROM. Praise God!!!
Finally I went back to this thread: http://forum.xda-developers.com/showthread.php?t=2293919, and flashed the following code.
Code:
adb devices (your device should be listed)
adb reboot bootloader
fastboot devices (your device should be listed)
fastboot oem writesecureflag 3
fastboot reboot-bootloader
*verify you are locked s-on
fastboot reboot
Not sure why I had such a terrible time, but I'm glad its over and the DNA is finally sold. Thank you for all your help!
trying to restore my dna back to stock
I got my dna locked again and now I am running the ruu file and i am stuck at 6%. Can someone help please!! Tried it by double clicking the ruu file and running it like that, and i also ran it in administration and both ways i am stuck at 6%

Help needed with installing a customer rom HTC Desire

So I have been installing this rom http://forum.xda-developers.com/showthread.php?t=2188931 .
I installed just the rom and not the update and now my phone will not boot it turns onto the htc first screen and vibrates a few times.
I have tried going into recovery mode and starting again but recovery does not now boot the phone restarts and the above happens.
I have installed fast boot on my computer but when I run it, it flashes up for a second then closes.
Thanks in advance for your help.
sodamhall said:
So I have been installing this rom http://forum.xda-developers.com/showthread.php?t=2188931 .
I installed just the rom and not the update and now my phone will not boot it turns onto the htc first screen and vibrates a few times.
I have tried going into recovery mode and starting again but recovery does not now boot the phone restarts and the above happens.
I have installed fast boot on my computer but when I run it, it flashes up for a second then closes.
Thanks in advance for your help.
Click to expand...
Click to collapse
Well, without knowing any details about your phone and what update you were on, which recovery you used, whether or not you are S-On / S-Off, then we're just shooting in the dark trying to help.
If fastboot flashes for a sec and closes, then you are not using fastboot right. You have to run it from the Command Prompt. You don't double click on the fastboot.exe .
Can you still get to the bootloader mode?
And I have to ask, but you're sure you got the right rom from the right forum as there are quite a few different variants of the Desire...?
es0tericcha0s said:
Well, without knowing any details about your phone and what update you were on, which recovery you used, whether or not you are S-On / S-Off, then we're just shooting in the dark trying to help.
If fastboot flashes for a sec and closes, then you are not using fastboot right. You have to run it from the Command Prompt. You don't double click on the fastboot.exe .
Can you still get to the bootloader mode?
And I have to ask, but you're sure you got the right rom from the right forum as there are quite a few different variants of the Desire...?
Click to expand...
Click to collapse
How do I open fastboot from a command prompt I just need to know what to type.
I can still get into bootloader fine on the phone and my pc knows its contected via usb.
I know the phone was running a different recovery mode than standard but I don't know witch one. I think it may have been xloader or something with a x.
Its a standard desire. Regards Wayne
I have manged to load bootloader with command prompt and I want to remove the rom I have installed how do I go about this? Regards again, Wayne
O.K so I have loaded up bootloader and thought -w would be the command I am looking for, all I get from bootload on my computer is: waiting for device. I have attached a screen shot. Regards Wayne
You'll have to find an appropriate recovery.img and use fastboot to install. Make sure the img file is in the fastboot directory and while connected in bootloader/fastboot mode:
fastboot flash recovery recovery.img (where recovery.img is the name of your file - it can be whatever.img and you can rename it to whatever you want as long as you don't change the extension .img)
and see if you can boot to recovery at that point. If not, then you will probably have to use an RUU to return to stock and start over.
If you can get into the custom recovery, then you can reinstall another rom. Keep in mind, if S-On, then you will probably need to use fastboot to install the boot.img like so:
fastboot flash boot boot.img (here boot.img should remain named that)

Need Help, Issues with unlocking a half relocked phone

So the story begins when I tried to relock my phone after having issues with my bank app so I tried to lock my rog phone, after trying multiple commands such as fastboot oem lock and others only one worked which was "fastboot oem asus-csc_lk". The command succeeded but it then shows boot_b unbootable and boot_a unbootable. I could no longer run any of the flash commands and can't get back into android. I am still able to run the boot command like "fastboot boot something.img". The flash commands gets phone locked error.
kevinone27 said:
So the story begins when I tried to relock my phone after having issues with my bank app so I tried to lock my rog phone, after trying multiple commands such as fastboot oem lock and others only one worked which was "fastboot oem asus-csc_lk". The command succeeded but it then shows boot_b unbootable and boot_a unbootable. I could no longer run any of the flash commands and can't get back into android. I am still able to run the boot command like "fastboot boot something.img". The flash commands gets phone locked error.
Click to expand...
Click to collapse
Maybe boot to recovery and do a clean flash?
I am unable to boot to recovery or flash
kevinone27 said:
I am unable to boot to recovery or flash
Click to expand...
Click to collapse
Didn't you say you can boot to an image target?
I can run a command that is "fastboot boot recovery.img" but it won't actually boot into said image or just stuck there for days.
kevinone27 said:
I can run a command that is "fastboot boot recovery.img" but it won't actually boot into said image or just stuck there for days.
Click to expand...
Click to collapse
We’re you full stock when you locked?
PM me if you really can't figure it out. I'll try to help you when I'm free (probably tomorrow).
Arealhooman said:
We’re you full stock when you locked?
Click to expand...
Click to collapse
I'm not sure if it's running full stock, but after my attempt at running a custom OS I went and reflashed the stock OS from the official asus support website.
kevinone27 said:
I'm not sure if it's running full stock, but after my attempt at running a custom OS I went and reflashed the stock OS from the official asus support website.
Click to expand...
Click to collapse
It should be 100 percent stock before locking. Can you unlock your BL again?
Unfortunately no, none of my fastboot commands worked (even the oem ones) and I am unable to unlock via apk due to being unable to access my android os.
I saw someone have a similar problem and they said using this tool (free version) and using it to boot into Fastboot help. I doubt it can hurt.
I can not vouch for the software though.
Arealhooman said:
I saw someone have a similar problem and they said using this tool (free version) and using it to boot into Fastboot help. I doubt it can hurt.
Click to expand...
Click to collapse
Thanks, I will give it a try tomorrow.
Arealhooman said:
I saw someone have a similar problem and they said using this tool (free version) and using it to boot into Fastboot help. I doubt it can hurt.
Click to expand...
Click to collapse
I gave the free version a try unfortunately it won't detect the device unless I go to fastboot mode. The free version seems to only have Samsung and requires it to be unlocked.
I also managed to run twrp temporarily on slot_A which probably means that it wasn't fully stock. TWRP isn't able to do much though with the lock state it's currently in.
Is there any other way to bypass the lock state?
My problem is solved, I don't know exactly what happened, but I left my phone in it's endless reboot between slot_a and slot_b until it ran out of battery. After I charged it back from 0% the problem seems to have been fixed, it started the encrypting process and new phone setup.

Question FASTBOOT LOOP EliteRom

Hi all, in general I tried to put EliteRom, the phone went into a fastboot loop, I even tried through miflash, still can not get out of the fastboot. I don't know what to do.
It seems to me that this happened because I immediately after unlocking bootloader through MiFlashUnlock went to fastboot and tried to put elitrom through fastboot respectively. There it seemed to go successfully, but stopped at some process (setting to A, I don't remember exactly), it went very long, about 10 minutes nothing happened, I thought that the process had already finished and tried to boot into the system, but got back into the fastboot. Then I tried to install TWRP via adb, everything seemed to work, but I could not boot into the recovery via volume+on/off or the adb command.
Despaired, decided to return everything as it was through miflash, chose the item that the bootloader is not locked, and the installation failed. Then i chose to lock the bootloader and it seems to say it worked.
Yay, but no, the phone is still hanging in the fastboot and won't start up. Please help the fool, I don't want to go to the service, but I really don't know what to do anymore.
And when I try to put EliteRom again, the console at some point just kicks out
Well dunno what will say others but I have been through this shiet too and ended up in Xiaomi service .. but yeah, you'll wait like week or two...btw no worries about warranty problems cause unlocked bootloader,they don't give a crap..
Hi, try to flash a12 twrp(link is in the xda k50gt) throught fastboot (fastboot flash recovery bla-bla.img), then wipe everything in the wipe section. Install recovery miui.zip then flash. I couldn't understand that you flashed twrp via adb command in bootloader mode?

Categories

Resources