Hi there,
While trying to restore my phone to factory condition using the Nexus Root toolkit, I then locked my bootloader. Now I'm bootlooped with a locked bootloader. Is there any way out?
Thanks ahead of time for your considerations,
captadv
captadv said:
Hi there,
While trying to restore my phone to factory condition using the Nexus Root toolkit, I then locked my bootloader. Now I'm bootlooped with a locked bootloader. Is there any way out?
Thanks ahead of time for your considerations,
captadv
Click to expand...
Click to collapse
If you booted and enabled OEM unlock in developer options before you locked it should be able to still unlock it. I bootlooped mine yesterday. Unlocked it again and flashed boot.img to fix the bootloop. If can't unlock not much can do I think. Never lock right after flashing without booting first and enable unlock in settings. If have TWRP may be able to sideload a rom and boot it.
captadv said:
Hi there,
While trying to restore my phone to factory condition using the Nexus Root toolkit, I then locked my bootloader. Now I'm bootlooped with a locked bootloader. Is there any way out?
Thanks ahead of time for your considerations,
captadv
Click to expand...
Click to collapse
well, the only way for you to unlock your bootloader and flash anything would be to boot up and enable oem unlocking. but you cant do that. do you havd twrp recovery installed by chance? your only option is to fastboot format your cache and fastboot format your user data. yes, thats your only option. otherwise your n6 is essentially a brick.
Tarp is installed... Step by step needed
Could you forward me a step by step?
captadv said:
Could you forward me a step by step?
Click to expand...
Click to collapse
via fastboot while in your bootloader..
fastboot format cache
fastboot format userdata
That did the trick...
captadv said:
Could you forward me a step by step?
Click to expand...
Click to collapse
THANKS!!!!
captadv said:
THANKS!!!!
Click to expand...
Click to collapse
did it work? nevermind, i read the top of your post
Related
Hi All
Got into a bit of a situation when I re-locked my bootloader and got stuck in a loop, unable to unlock it because of the developer settings option. I had nothing but the TWRP screen bootlooping.
Anyway, sorted it out for those who want to know how. In the bootloader run the commands "fastboot format cache" and "fastboot format userdata"
Then choose to boot into recovery, it'll work and you'll be in TWRP. From there you can flash a ROM, enable the setting in developer options & unlock the bootloader!
Credit goes to geologic in this thread here: http://forum.xda-developers.com/nexus-9/help/warning-locking-bootloader-disabling-t2951312/page5
Good news to anyone having alternative recovery. Unfortunately will not work with stock recovery
Great thanks
Sorry for my poor english (I'm french). Great thanks for your solution. It works fine for me... I was afraid during a few hours to be forced to throw away my Nexus 6....
Thank you for that information. I was in the same position and your instructions helped me get my device working again. That Check 'Allow OEM Unlock' in Developer Options flag is a real game changer for those of us who are used to flashing our devices and one must be very careful.
freeman_g said:
Good news to anyone having alternative recovery. Unfortunately will not work with stock recovery
Click to expand...
Click to collapse
Shouldn't you be able to adb side load a stock ROM?
Thank You
ixa20 said:
Hi All
Got into a bit of a situation when I re-locked my bootloader and got stuck in a loop, unable to unlock it because of the developer settings option. I had nothing but the TWRP screen bootlooping.
Anyway, sorted it out for those who want to know how. In the bootloader run the commands "fastboot format cache" and "fastboot format userdata"
Then choose to boot into recovery, it'll work and you'll be in TWRP. From there you can flash a ROM, enable the setting in developer options & unlock the bootloader!
Credit goes to geologic in this thread here: http://forum.xda-developers.com/nexus-9/help/warning-locking-bootloader-disabling-t2951312/page5
Click to expand...
Click to collapse
Thank You so much you saved my day , I thought their is no solution for this but you saved me. :good::laugh::laugh:
Thanks a million!!
ixa20 said:
Hi All
Got into a bit of a situation when I re-locked my bootloader and got stuck in a loop, unable to unlock it because of the developer settings option. I had nothing but the TWRP screen bootlooping.
Anyway, sorted it out for those who want to know how. In the bootloader run the commands "fastboot format cache" and "fastboot format userdata"
Then choose to boot into recovery, it'll work and you'll be in TWRP. From there you can flash a ROM, enable the setting in developer options & unlock the bootloader!
Credit goes to geologic in this thread here: http://forum.xda-developers.com/nexus-9/help/warning-locking-bootloader-disabling-t2951312/page5
Click to expand...
Click to collapse
Thank you so much, I owe you a life debt. haha now i can take one step closer to freedom.
How can you use fastboot format cache and fastboot format userdata when the bootloader is locked? I'm on an N6, but I've had 0 luck with that.
mrkmrk said:
How can you use fastboot format cache and fastboot format userdata when the bootloader is locked? I'm on an N6, but I've had 0 luck with that.
Click to expand...
Click to collapse
You just can. It allows it.
Just went through the same thing and can confirm that fastboot format cache and fastboot format userdata got me back into recovery.
However, Recovery was showing 0MB storage space so I couldn't push anything to the SDcard for install. @rootSU recommended that I go into wipe and perform a full format (the one that requires you to type "yes"). I did this and my storage was back to normal and I was able to push a ROM to the SD card and flash it.
Problem solved!
sn0warmy said:
Just went through the same thing and can confirm that fastboot format cache and fastboot format userdata got me back into recovery.
However, Recovery was showing 0MB storage space so I couldn't push anything to the SDcard for install. @supersu recommended that I go into wipe and perform a full format (the one that requires you to type "yes"). I did this and my storage was back to normal and I was able to push a ROM to the SD card and flash it.
Problem solved!
Click to expand...
Click to collapse
That's nice to give credit to the guy that helped you. But it was @rootSU
cam30era said:
That's nice to give credit to the guy that helped you. But it was @rootSU
Click to expand...
Click to collapse
Haha whoops! Thanks!
sn0warmy said:
Haha whoops! Thanks!
Click to expand...
Click to collapse
Know how I know?
Because I did it too.
cam30era said:
Know how I know?
Because I did it too.
Click to expand...
Click to collapse
There are too many "SU" screen names to keep track of. Either that, or my brain is fried from all the trouble shooting this morning.
sn0warmy said:
There are too many "SU" screen names to keep track of. Either that, or my brain is fried from all the trouble shooting this morning.
Click to expand...
Click to collapse
Maybe I need name change.
rootSU said:
Maybe I need name change.
Click to expand...
Click to collapse
ACE!
Htc butterfly s 9060 bootloop
ixa20 said:
Hi All
Got into a bit of a situation when I re-locked my bootloader and got stuck in a loop, unable to unlock it because of the developer settings option. I had nothing but the TWRP screen bootlooping.
Anyway, sorted it out for those who want to know how. In the bootloader run the commands "fastboot format cache" and "fastboot format userdata"
Then choose to boot into recovery, it'll work and you'll be in TWRP. From there you can flash a ROM, enable the setting in developer options & unlock the bootloader!
Credit goes to geologic in this thread here: http://forum.xda-developers.com/nexus-9/help/warning-locking-bootloader-disabling-t2951312/page5
Click to expand...
Click to collapse
my phone is bootlooping and locked bootloader and not have twrp recovery....xda is very big site for android development after that no buddy help m... so plz help i m crying now..
abby1996 said:
my phone is bootlooping and locked bootloader and not have twrp recovery....xda is very big site for android development after that no buddy help m... so plz help i m crying now..
Click to expand...
Click to collapse
You can try >
fastboot format cache
fastboot format userdata
Note that if this works, it will wipe your SDcard.
If it doesn't work, you have no other options. Return it for repair or replacement.
Thank you soo much for reply
cam30era said:
You can try >
fastboot format cache
fastboot format userdata
Note that if this works, it will wipe your SDcard.
If it doesn't work, you have no other options. Return it for repair or replacement.
Click to expand...
Click to collapse
yes, this commnd works but what i do after that please tell ..i m new ....but i have recovery.zip and boot.img .i find these from other threats...how i flash this in locked bootloader..please tell in brief. Thanks
abby1996 said:
yes, this commnd works but what i do after that please tell ..i m new ....but i have recovery.zip and boot.img .i find these from other threats...how i flash this in locked bootloader..please tell in brief. Thanks
Click to expand...
Click to collapse
fastboot reboot
I broke the screen on my Verizon Nexus 6 and our internet went out today, but I wanted to flash it to stock before going to Verizon and seeing if they'll replace it. So I had a stock rom on my phone, flashed that, then locked the bootloader. I wasn't thinking about the recovery... So now, I can't unlock the bootloader because when I try to boot up the device, the TWRP screen comes up, but it just boot loops back to that screen. All I can boot into is the bootloader but without adb access, I don't know what to do.... Anybody have any ideas?
WyldOne91 said:
I broke the screen on my Verizon Nexus 6 and our internet went out today, but I wanted to flash it to stock before going to Verizon and seeing if they'll replace it. So I had a stock rom on my phone, flashed that, then locked the bootloader. I wasn't thinking about the recovery... So now, I can't unlock the bootloader because when I try to boot up the device, the TWRP screen comes up, but it just boot loops back to that screen. All I can boot into is the bootloader but without adb access, I don't know what to do.... Anybody have any ideas?
Click to expand...
Click to collapse
From bootloader use the fastboot commands:
fastboot format userdata
fastboot format cache
This will allow you back into TWRP and you can restore a backup or flash a ROM. Then you can start over.
Evolution_Freak said:
From bootloader use the fastboot commands:
fastboot format userdata
fastboot format cache
This will allow you back into TWRP and you can restore a backup or flash a ROM. Then you can start over.
Click to expand...
Click to collapse
Thank you so much! I just tried this and while it didn't go into TWRP, it did boot into the OS. So either way, I can work with it now.
WyldOne91 said:
Thank you so much! I just tried this and while it didn't go into TWRP, it did boot into the OS. So either way, I can work with it now.
Click to expand...
Click to collapse
No problem. Glad you're up and running!
Thank you so much! Just bought the nexus 6 like 4 hours ago and did the same thing as WyldOne91! Allready said good bye to my new nexus, but you saved my/our day!
Antochrist said:
Thank you so much! Just bought the nexus 6 like 4 hours ago and did the same thing as WyldOne91! Allready said good bye to my new nexus, but you saved my/our day!
Click to expand...
Click to collapse
Thank YOU for reading and finding the solution. :good:
hi all
i was use custom ROM and now i need to back to stock
i was using this steps to back to stock from fastboot
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.08.img
fastboot reboot-bootloader
fastboot flash radio radio-shamu-d4.0-9625-02.95.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash cache cache.img
Click to expand...
Click to collapse
now i need to back to stock and when do this steps it's finish but when system work i face this error "unfortunately the process com.google.process.gapps has stopped"
i now in stock but cannot open device
also i cannot flash any coustom ROM becouse i have stock recovry not TWRP
please help me
zamlkawy said:
hi all
i was use custom ROM and now i need to back to stock
i was using this steps to back to stock from fastboot
now i need to back to stock and when do this steps it's finish but when system work i face this error "unfortunately the process com.google.process.gapps has stopped"
i now in stock but cannot open device
also i cannot flash any coustom ROM becouse i have stock recovry not TWRP
please help me
Click to expand...
Click to collapse
Try a factory reset from recovery.
Evolution_Freak said:
Try a factory reset from recovery.
Click to expand...
Click to collapse
now i traid the steps again and lock boatloader
i face this screen and no more for long time
zamlkawy said:
now i traid the steps again and lock boatloader
i face this screen and no more for long time
Click to expand...
Click to collapse
I hope you did NOT lock the bootloader. That is the "device is wiping" screen. It will take a long time. 15+20 minutes for 32gb 20+30 for 64gb. Be patient and wait for it to complete.
Evolution_Freak said:
I hope you did NOT lock the bootloader. That is the "device is wiping" screen. It will take a long time. 15+20 minutes for 32gb 20+30 for 64gb. Be patient and wait for it to complete.
Click to expand...
Click to collapse
i'am waiting now
but after that what will happen ??
zamlkawy said:
i'am waiting now
but after that what will happen ??
Click to expand...
Click to collapse
Hopefully, you can reboot to system. However, if you did lock your bootloader, you may be stuck.
Evolution_Freak said:
Hopefully, you can reboot to system. However, if you did lock your bootloader, you may be stuck.
Click to expand...
Click to collapse
bootloader locked already because when i face this screen i reboot to flashboot and seen that bootloader is locked
zamlkawy said:
bootloader locked already because when i face this screen i reboot to flashboot and seen that bootloader is locked
Click to expand...
Click to collapse
Well, we will see what happens when the reset is complete.
Evolution_Freak said:
Hopefully, you can reboot to system. However, if you did lock your bootloader, you may be stuck.
Click to expand...
Click to collapse
mow it's reboot to system
thanks for your help
zamlkawy said:
mow it's reboot to system
thanks for your help
Click to expand...
Click to collapse
I suggest unlocking the bootloader and leaving it that way.
Evolution_Freak said:
I suggest unlocking the bootloader and leaving it that way.
Click to expand...
Click to collapse
Already did that
Thanks on advice
Sent from my Nexus 6 using XDA Free mobile app
I was trying to sideload the new update and something wen wrong and it stopped updating. I tried to boot it up but now its just in a bootloop. I am completly stock and don't have TWRP. Is their a way to force unlock bootloader?
win465 said:
I was trying to sideload the new update and something wen wrong and it stopped updating. I tried to boot it up but now its just in a bootloop. I am completly stock and don't have TWRP. Is their a way to force unlock bootloader?
Click to expand...
Click to collapse
without enabling oem unlock in the developer options, nope. but you can use the stock recovery to check if a factory reset would help.
Factory reset doesn't help. When trying to sideload I keep getting error "system partition has unexpected contents" (Status 7).
win465 said:
Factory reset doesn't help. When trying to sideload I keep getting error "system partition has unexpected contents" (Status 7).
Click to expand...
Click to collapse
Had you unencrypted?
Yes, but i flashed backed to stock kernal.
win465 said:
Yes, but i flashed backed to stock kernal.
Click to expand...
Click to collapse
How?
Using the nexus tool kit. After that I locked the bootloader to sideload the update.
win465 said:
Using the nexus tool kit. After that I locked the bootloader to sideload the update.
Click to expand...
Click to collapse
Were you rooted before all of this too?
Nope
Evolution_Tech said:
Were you rooted before all of this too?
Click to expand...
Click to collapse
Nope
win465 said:
Nope
Click to expand...
Click to collapse
Then the toolkit most likely didn't replace the proper kernel, which is why the OTA failed. You'll have to RMA.
Evolution_Tech said:
Then the toolkit most likely didn't replace the proper kernel, which is why the OTA failed. You'll have to RMA.
Click to expand...
Click to collapse
Thank you for your help
Which toolkit did you use? Try to flash everything in BOOTLOADER with the newest 5.1.1 using ADB and Fastboot commands as opposed to the Toolkits. I'm hoping your successful in your endeavours, I'm working on mine too. Even if you are missing any part of your stock image or basic partitions, you should be able to flash it back to normal via your bootloader. I had a similar issue with my Nexus 5, last week, actually.
EDIT: So, when you sideload or fastboot the system partition, it's stopping you? I may have sleep induced stupidity here and not fully taking in the issue but, I was able to flash 5.1.0 on my Nexus 5 after re-locking it via fastboot commands.
RedHazy said:
Which toolkit did you use? Try to flash everything in BOOTLOADER with the newest 5.1.1 using ADB and Fastboot commands as opposed to the Toolkits. I'm hoping your successful in your endeavours, I'm working on mine too. Even if you are missing any part of your stock image or basic partitions, you should be able to flash it back to normal via your bootloader. I had a similar issue with my Nexus 5, last week, actually.
Click to expand...
Click to collapse
Not when his bootloader is locked. Unfortunately, the OP has locked his bootloader and can't boot to android to enable OEM unlock.
Possible idea
Evolution_Tech said:
Not when his bootloader is locked. Unfortunately, the OP has locked his bootloader and can't boot to android to enable OEM unlock.
Click to expand...
Click to collapse
There's some more concrete info in the first couple pages, especially regarding our N6's:
http://forum.xda-developers.com/nexus-9/help/to-toggle-allow-oem-unlock-via-fastboot-t3091119
Hope this helps.
I'll keep my eyes open for anything that seems pertinent.
Best of luck
RedHazy said:
Which toolkit did you use? Try to flash everything in BOOTLOADER with the newest 5.1.1 using ADB and Fastboot commands as opposed to the Toolkits. I'm hoping your successful in your endeavours, I'm working on mine too. Even if you are missing any part of your stock image or basic partitions, you should be able to flash it back to normal via your bootloader. I had a similar issue with my Nexus 5, last week, actually.
EDIT: So, when you sideload or fastboot the system partition, it's stopping you? I may have sleep induced stupidity here and not fully taking in the issue but, I was able to flash 5.1.0 on my Nexus 5 after re-locking it via fastboot commands.
Click to expand...
Click to collapse
I get this error message "system partition has unexpected contents" (Status 7).
win465 said:
I was trying to sideload the new update and something wen wrong and it stopped updating. I tried to boot it up but now its just in a bootloop. I am completly stock and don't have TWRP. Is their a way to force unlock bootloader?
Click to expand...
Click to collapse
Can you fastboot boot twrp recovery? And if that is possible, will twrp flash zips with a locked bootloader?
Edit: I'm almost certain fastboot boot recovery won't work with a locked bootloader. I almost thought I had a good idea.
I am in the same situation. Bootloader locked and no custom recovery nor adb enabled. surprisingly enough, yesterday my phone could boot up but it's stuck now in the configuration process. I cannot access to the settings so I can check usb debugging or oem unlock. I can only access the dialer. my question is: is there anyway to do that with just a dialer code?
Just to clarify: you never need to relock your bootloader! Unless you have some kind of security restrictions from the company you work with or something, just don't!
OTA can be installed even with the bootloader unlocked (normal or sideload). The only prerequisite is that the system is stock (not rooted, stock kernel, stock recovery, and so on).
Didgeridoohan said:
Just to clarify: you never need to relock your bootloader! Unless you have some kind of security restrictions from the company you work with or something, just don't!
OTA can be installed even with the bootloader unlocked (normal or sideload). The only prerequisite is that the system is stock (not rooted, stock kernel, stock recovery, and so on).
Click to expand...
Click to collapse
Sorry for the noob question but where can I find these OTAs and how to install one of them? Does it require usb debugging to be enabled?
I don't have a pc or any external way to install TWRP via ADB. Is there any way to install it without using kingroot(or rooting at all)?
I want to install Lineage.
Update1:Bootloader is unlocked via dev options
Update2:My mistake on the bootloader being unlocked, thanks for pointing that out)
Update3: I guess I will just need to get a PC for a day or two. But once I have TWRP installed I can load Lineage+GAPs just through TWRP right?
No, you have to make a backup of everything on the phone and unlock bootloader in order to flash anything. You can't do this without PC.
Nope, you need Fastboot to flash TWRP to the Recovery partition unfortunately. Since you need to unlock bootloader first, you cannot use any one-click root app to root on a locked bootloader. After unlocking bootloader you can flash TWRP then. All this needs to be done on a PC with ADB/Fastboot drivers.
thes3usa said:
Nope, you need Fastboot to flash TWRP to the Recovery partition unfortunately. Since you need to unlock bootloader first, you cannot use any one-click root app to root on a locked bootloader. After unlocking bootloader you can flash TWRP then. All this needs to be done on a PC with ADB/Fastboot drivers.
Click to expand...
Click to collapse
My bootloader is unlocked through the dev options. Does that help at all?
NeoMeir said:
My bootloader is unlocked through the dev options. Does that help at all?
Click to expand...
Click to collapse
Yes, but you still need a PC to flash recovery using fastboot.
przemcio510 said:
Yes, but you still need a PC to flash recovery using fastboot.
Click to expand...
Click to collapse
Through "Dev Option" means he has OEM Unlocking enabled. Does not mean his Bootloader is unlocked.
thes3usa said:
Through "Dev Option" means he has OEM Unlocking enabled. Does not mean his Bootloader is unlocked.
Click to expand...
Click to collapse
I know that, nonetheless it does help if you would like to unlock bootloader at all.
You can't unlock BL w/o enabling OEM unlock first, can you?
przemcio510 said:
You can't unlock BL w/o enabling OEM unlock first, can you?
Click to expand...
Click to collapse
Not really sure about this. As I remember, I never selected the Option in Developer Options when I first Unlocked my bootloader. This was over a year ago, and I never needed to relock and unlock my BL again. So, you may be right.