[HELP][CRITICAL] stuck with no recovery, no root and locked bootloader on Sultan CM13 - OnePlus X Q&A, Help & Troubleshooting

Hello Guys,
I was trying to install OxygenOS 3.1.0 when I was on Sultanxda's CM13 but instead bricked the device.
What I did:-
1. Rebooted to TWRP and flashed stock OOS recovery and then clicked reboot into recovery.
2. Instead of rebooting in recovery my phone got stuck at the OnePlus logo.
3. I booted into fastboot to flash twrp.img but it says 'writing 'recovery'...
FAILED (remote: device is locked. Cannot erase)'
4. I repeated the same with stock recovery but no success and was not even able to boot to CM13 now.
Hence I was stuck on the OnePlus logo without any booting ROM or recovery and a locked bootloader (according to fastboot)
What I have already tried but failed:-
1. Tried to root with kingroot etc. (Before bricking)
2. Tried to unlock bootloader but failed because it has no recovery.
3. Tried to flash stock OOS 2.1.3-x
4. For now I used fastboot continue to boot back into CM13
Please help, I'm now stuck with cm13 without root and without any recovery installed.
P.S. I'm not even sure that if I clicked reboot then the phone will boot.
Thanks.

Okay, calm down.
Go to developer options and see if "OEM Unlocking" is enabled. If not, enable it.
Cool. Now enable USB Debugging, connect the phone to PC, open CMD and type
Code:
adb reboot bootloader
then
Code:
fastboot oem unlock
Download TWRP from the official website, rename it to recovery.img and then
Code:
fastboot flash recovery recovery.img
Now you have a recovery and an unlocked bootloader. Profit?
I hope this helps.

Thunderbottom said:
Okay, calm down.
Go to developer options and see if "OEM Unlocking" is enabled. If not, enable it.
Cool. Now enable USB Debugging, connect the phone to PC, open CMD and type
then
Download TWRP from the official website, rename it to recovery.img and then
Now you have a recovery and an unlocked bootloader. Profit?
I hope this helps.
Click to expand...
Click to collapse
Thanks for your help,
But if you read my post then you'll understand that due to absence of a recovery I can't unlock the bootloader and hence cannot flash twrp

gavisharora said:
Thanks for your help,
But if you read my post then you'll understand that due to absence of a recovery I can't unlock the bootloader and hence cannot flash twrp
Click to expand...
Click to collapse
You don't need recovery to unlock bootloader, you need fastboot.

Thunderbottom said:
You don't need recovery to unlock bootloader, you need fastboot.
Click to expand...
Click to collapse
But in OnePlus devices the phone asks a confirmation through recovery recovery to wipe data and unlock

gavisharora said:
But in OnePlus devices the phone asks a confirmation through recovery recovery to wipe data and unlock
Click to expand...
Click to collapse
Try the Mega Unbrick Guide then.

Deleted

Same problem. But i dont have pc with windows and can't use mega unbrick guide(
Any news with solution?

Related

Bootloader state error - Boot to TWRP when trying to unlock, still locked

Hey guys,
i've got the following problem: Unlocking the bootloader, installing TWRP and other ROMs went hassle free and worked flawless until recently.
Now, after having to reflash a clean OOS 2.2.0, it says the bootloader is locked again. TWRP is still installed. When trying to unlock the phone, it just boots to TWRP (which shortly prints an error message, but its too short to read) and shows that the bootloader is still locked in fastboot.
The problem is similar to this one:
https://forums.oneplus.net/threads/opo-back-from-the-dead-story-of-a-brick.144155/
In that thread, a solution is pointed out -- namely, this one:
http://forum.xda-developers.com/showpost.php?p=54251992
The script is for OPO only, so I'm left in the rain. Do you guys know any other way out of my misery?
Rotpeter said:
Hey guys,
i've got the following problem: Unlocking the bootloader, installing TWRP and other ROMs went hassle free and worked flawless until recently.
Now, after having to reflash a clean OOS 2.2.0, it says the bootloader is locked again. TWRP is still installed. When trying to unlock the phone, it just boots to TWRP (which shortly prints an error message, but its too short to read) and shows that the bootloader is still locked in fastboot.
The problem is similar to this one:
https://forums.oneplus.net/threads/opo-back-from-the-dead-story-of-a-brick.144155/
In that thread, a solution is pointed out -- namely, this one:
http://forum.xda-developers.com/showpost.php?p=54251992
The script is for OPO only, so I'm left in the rain. Do you guys know any other way out of my misery?
Click to expand...
Click to collapse
Install stock recovery and unlock bootloader again...
I'll give it a try. Would you point me in the direction of where to find the recovery.img for that?
EDIT: Phew, did it. Your way worked. I can't even count anymore how often I wiped and reflashed the whole thing in the last 24 hours...
I have exactly the same problem. I have the stock recovery file. Can i just flash it with TWRP ? and stock recovery will be loaded? because i can't use fastboot to load i because its locked
reboot into twrp
copy Stock_recovery.img to device folder
go to install
at the bottom select install image
select stock_recovery.img
reboot into fastboot
in cmd type fastboot oem unlock
reboot into stock recovery
wipe data/cache
format data
install from usb
go to cmd again
sideload oxygen zip instalation
in cmd write adb sideload drag and drop oxygenos.zip
reboot
https://drive.google.com/file/d/0B3AIip-hiOnNaTVSQXk5bUgzVnM/view?usp=sharing - stock recovery
s3r3tin said:
reboot into twrp
copy Stock_recovery.img to device folder
go to install
at the bottom select install image
select stock_recovery.img
reboot into fastboot
in cmd type fastboot oem unlock
reboot into stock recovery
wipe data/cache
format data
install from usb
go to cmd again
sideload oxygen zip instalation
in cmd write adb sideload drag and drop oxygenos.zip
reboot
https://drive.google.com/file/d/0B3AIip-hiOnNaTVSQXk5bUgzVnM/view?usp=sharing - stock recovery
Click to expand...
Click to collapse
Thanks man, you saved my life <3

Softbrick with no custom recovery

I messed up i tried to reflash my phone back to stock from marshmallow rom on the thread here but i lost custom recovery and only thing i can get into is download mode, how can i fix this? I have abd install on my pc got the system image boot and recovery img but don't know what 2 do. Please help
xavier55 said:
I messed up i tried to reflash my phone back to stock from marshmallow rom on the thread here but i lost custom recovery and only thing i can get into is download mode, how can i fix this? I have abd install on my pc got the system image boot and recovery img but don't know what 2 do. Please help
Click to expand...
Click to collapse
Your phone is in fastboot mode, not download mode. Small, but distinct difference.
Since you've installed a custom ROM, your bootloader should be unlocked. However, it may be a good idea to issue the oem unlock command through fastboot anyways. Use "adb reboot bootloader" and "fastboot oem unlock" to ensure that your bootloader is unlocked.
Now, since your phone is in fastboot mode, you can do one of two things: 1. Flash a custom recovery and restore your device to stock, or 2. Flash a custom recovery and continue using a custom ROM. Either way, you will need to install TWRP or another custom recovery image of your choice. The TWRP thread is located here: http://forum.xda-developers.com/tmobile-lg-v10/development/recovery-unofficial-twrp-t3239740 Since you're already in the bootloader/fastboot mode, all you would need to do is download TWRP and use "fastboot flash recovery twrp.img" and then "fastboot boot twrp.img" to install TWRP. Please note that the 'twrp.img' will vary depending on which version you download, it will probably look more like 'twrp-2.8.7.1-h901.img'. You can just rename the file or use the full file name in the fastboot commands.
Once in TWRP, you can flash whatever ROM you want. To restore your phone to stock, go to this thread and flash the .zip in TWRP http://forum.xda-developers.com/tmo.../lg-h901-stock-images-device-restore-t3241170 after doing the standard wipe procedure. :good:
soltheman said:
Your phone is in fastboot mode, not download mode. Small, but distinct difference.
Since you've installed a custom ROM, your bootloader should be unlocked. However, it may be a good idea to issue the oem unlock command through fastboot anyways. Use "adb reboot bootloader" and "fastboot oem unlock" to ensure that your bootloader is unlocked.
Now, since your phone is in fastboot mode, you can do one of two things: 1. Flash a custom recovery and restore your device to stock, or 2. Flash a custom recovery and continue using a custom ROM. Either way, you will need to install TWRP or another custom recovery image of your choice. The TWRP thread is located here: http://forum.xda-developers.com/tmobile-lg-v10/development/recovery-unofficial-twrp-t3239740 Since you're already in the bootloader/fastboot mode, all you would need to do is download TWRP and use "fastboot flash recovery twrp.img" and then "fastboot boot twrp.img" to install TWRP. Please note that the 'twrp.img' will vary depending on which version you download, it will probably look more like 'twrp-2.8.7.1-h901.img'. You can just rename the file or use the full file name in the fastboot commands.
Once in TWRP, you can flash whatever ROM you want. To restore your phone to stock, go to this thread and flash the .zip in TWRP http://forum.xda-developers.com/tmo.../lg-h901-stock-images-device-restore-t3241170 after doing the standard wipe procedure. :good:
Click to expand...
Click to collapse
I'm kinda in the same boat now except that I already received the replacement device. Need to re-lock the old V10, but adb won't recognize my device at all. Any more option when that's the case? I can get into both download mode and fastboot. Phone is recognized by LGUP in download mode, but not by adb in fastboot mode for some reason.
(I've verified connection and driver using the other V10, the other V10 is recognized just fine)
soltheman said:
Your phone is in fastboot mode, not download mode. Small, but distinct difference.
Since you've installed a custom ROM, your bootloader should be unlocked. However, it may be a good idea to issue the oem unlock command through fastboot anyways. Use "adb reboot bootloader" and "fastboot oem unlock" to ensure that your bootloader is unlocked.
Now, since your phone is in fastboot mode, you can do one of two things: 1. Flash a custom recovery and restore your device to stock, or 2. Flash a custom recovery and continue using a custom ROM. Either way, you will need to install TWRP or another custom recovery image of your choice. The TWRP thread is located here: http://forum.xda-developers.com/tmobile-lg-v10/development/recovery-unofficial-twrp-t3239740 Since you're already in the bootloader/fastboot mode, all you would need to do is download TWRP and use "fastboot flash recovery twrp.img" and then "fastboot boot twrp.img" to install TWRP. Please note that the 'twrp.img' will vary depending on which version you download, it will probably look more like 'twrp-2.8.7.1-h901.img'. You can just rename the file or use the full file name in the fastboot commands.
Once in TWRP, you can flash whatever ROM you want. To restore your phone to stock, go to this thread and flash the .zip in TWRP http://forum.xda-developers.com/tmo.../lg-h901-stock-images-device-restore-t3241170 after doing the standard wipe procedure. :good:
Click to expand...
Click to collapse
thanks you saved me
baymon said:
I'm kinda in the same boat now except that I already received the replacement device. Need to re-lock the old V10, but adb won't recognize my device at all. Any more option when that's the case? I can get into both download mode and fastboot. Phone is recognized by LGUP in download mode, but not by adb in fastboot mode for some reason.
(I've verified connection and driver using the other V10, the other V10 is recognized just fine)
Click to expand...
Click to collapse
Yep. Your phone boots and everything, correct? Just factory reset it (Settings > Backup & Restore > Factory data reset). After its been reset, unlock it, turn on Developers Options, and enable USB debugging. After usb debugging is turned on, connect the v10 to your PC and be sure to hit "Always allow" when prompted by your phone. ADB should now be able to see your device.
If you can't get it to boot up, try restoring through LG UP/Bridge. I don't use any of LG's software, so I'm not sure what those apps can do and whether or not you'll be able to restore through them.
If nothing else, your phone is recognized in fastboot mode, so you can always manually flash the stock system images as well. You want to use the "fastboot flash boot boot.img", "fastboot flash recovery recovery.img", and "fastboot flash system system.img" commands After downloading the stock system images located in this thread: http://forum.xda-developers.com/lg-v10/development/lg-h901-stock-img-files-boot-recovery-t3238638
If you haven't ever flashed system images from fastboot, please read this first, as I am not responsible if your phone turns into a paperweight! https://developers.google.com/android/nexus/images#instructions While the instructions are for nexus devices, it works pretty much the same, except you'd want to use the individual commands instead of a flash-all script.
Hope this helps!
soltheman said:
Yep. Your phone boots and everything, correct? Just factory reset it (Settings > Backup & Restore > Factory data reset). After its been reset, unlock it, turn on Developers Options, and enable USB debugging. After usb debugging is turned on, connect the v10 to your PC and be sure to hit "Always allow" when prompted by your phone. ADB should now be able to see your device.
If you can't get it to boot up, try restoring through LG UP/Bridge. I don't use any of LG's software, so I'm not sure what those apps can do and whether or not you'll be able to restore through them.
If nothing else, your phone is recognized in fastboot mode, so you can always manually flash the stock system images as well. You want to use the "fastboot flash boot boot.img", "fastboot flash recovery recovery.img", and "fastboot flash system system.img" commands After downloading the stock system images located in this thread: http://forum.xda-developers.com/lg-v10/development/lg-h901-stock-img-files-boot-recovery-t3238638
If you haven't ever flashed system images from fastboot, please read this first, as I am not responsible if your phone turns into a paperweight! https://developers.google.com/android/nexus/images#instructions While the instructions are for nexus devices, it works pretty much the same, except you'd want to use the individual commands instead of a flash-all script.
Hope this helps!
Click to expand...
Click to collapse
Thanks for the follow up! No the phone would not boot at all and kept stuck at boot loop. I ended up just doing the OEM Lock and call it a day, the old device just won't boot to anything at this point.
I tried fastboot flash recovery recovery.img but it's giving some kinda kernel panic message and I was never able to get into recovery. This reminds me of the time when my Note 3 eMMC was fried, it wouldn't give a device ID to adb.
I think I am in the same boat too. I've been OEM unlocked yet recently my phone won't keep the TWRP recovery and keeps putting me into bootloop. I can't install a ROM and only thing I can do is fastboot mode. What did you do OEM lock the device? I am hoping that solution will get rid of that message bootloader unlocked during the bootloop and then I can try and get it serviced.

Unable to enter Recovery Mode even though officially unlocked

Hi,
I have unlocked my bootloader officially through the unlock tool and wanted to flash a custom recovery and also root my device (Redmi Note 3 - Snapdragon).
I was on Global Dev (6.5.19) before I even started to unlock my bootloader.
After unlock, I was succesffuly able to flash Cofface TWRP recovery through fastboot (well the command prompt didn't throw up any errors and had a success message).
However, when i reboot into recovery (either through button combination or "adb reboot recovery", I just get a screen that shows an image of a phone and USB cable" (similar to the image on the official bootloader unlock tool.
I checked whether the bootloader was unlocked (fastboot oem device-info) and it was indeed unlocked.
I have factory reset and reflashed 6.5.19 (Global dev rom) with MiFlash and this hasn't made any difference.
I also relocked the bootloader with MiFlash Beta and then unlocked successfully with the official unlock tool.
All of these steps still haven't made a difference.
Can someone please advise on the next step to do (as unlocked bootloader is pretty useless if I can't install a custom recovery).
P.S. I also get the same phone and usb cable image when booting into stock recovery
find it weird problem
if you dont,then first just boot the recovery
code:- fastboot boot xxxrecovery.img where xxxrecovery replace your own recovery img name in fastboot folder.
you must success and see twrp recovery
then again transfer img to sdcard and to flash from recovery.
then flash it from recovery and when you reboot ,just swipe to diseable rom to replace it with stock one.
find it really weird ,i did it hundredths of time in my offi unlocked and every time goes fine flashing recovery from fastboot
Hit thanks if i helped
please follow this... it does help for me.
http://forum.xda-developers.com/showpost.php?p=67636917&postcount=32
Thanks very much! These instructions solved my issue
mra1n1 said:
Thanks very much! These instructions solved my issue
Click to expand...
Click to collapse
I have the same problem .How u solved your problem?
You can easily flash this one ZCX Twrp. Is the best i didn`t encountered any issue until now. I`ve flashed custom roms and miui roms as well.. The install process is very simple, follow this one https://forum.xda-developers.com/redmi-note-3/how-to/zcx-twrp-install-twrp-flash-supersu-t3462448

stuck at boot - but why

hi there,
i have got a redmi note 3 pro that keeps stuck in bootloop.
Tried:
- boot to fastboot
- fired up miflash
- rebooted phone to edl
-miflash recognized phone
- flashed "kenzo" fastboot rom (tried global stable + kenzo_global_images_V7.1.8.0.LHOMICL_20160129.0000.14_5.1_global + chinese stable)
phone remains stuck in bootloop after restart.
Is there something I am missing? Please help me out.
(I guess bootloader is locked, not my phone)
when in fastboot mode, check the state of your device (make sure you have fastboot installed):
-connect device to pc
-open cmd
-type "fastboot oem device-info"
once you know the bootloader is unlocked, open miflash tool and flash the stock ROM. I don't see you need to go to EDL mode. Miflash is for fastboot mode!
how did you not knowing the condition of your bootloader? you should know it in the first place before you do such things.
oh, and make sure the directory of your rom image doesn't have spaces in it (example: C:/Users/Ivan Kurnia/...) (be safe, move it to like C:/Desktop) otherwise it will only take 1 second to flash the rom (which flashing didn't happen)
Thank you for your ideas, I still dont know if bootloader is locked or not, because it is not my phone, I was just asked to help.
However I managed to flash TWRP, now everything is good.
low1 said:
Thank you for your ideas, I still dont know if bootloader is locked or not, because it is not my phone, I was just asked to help.
However I managed to flash TWRP, now everything is good.
Click to expand...
Click to collapse
Is u able to enter recovery mode?
zhukry said:
Is u able to enter recovery mode?
Click to expand...
Click to collapse
Yes I flashed TWRP in edl mode, then flashed new Rom via TWRP
How to root tedmi note 3
Flash lastest MIUI using MiFlash.

Huawei y6 can not boot help!!

If you do not have a bootloader unlocked, you will not be able to recover from the twrp recovery and unlock the bootloader again. Then you can install twrp recovery, install custom ROM, install gapps, reboot, and you can not boot?? please help!
Image in comments
samsung54 said:
If you do not have a bootloader unlocked, you will not be able to recover from the twrp recovery and unlock the bootloader again. Then you can install twrp recovery, install custom ROM, install gapps, reboot, and you can not boot?? please help!
Image in comments
Click to expand...
Click to collapse
Well.
Your phone doesn't boot anymore?
Does it boot to recovery?
You could factory reset maybe, if you can get to recovery, or maybe install an Update.app
Well if you have USB debugging, OEM unlock on, you can still unlock your bootloader
Go to www.imei24.com and write your phone Imei.
Now you can get some information that will help you get the bootloader unlock code.
After that go to: https://docs.google.com/forms/d/e/1FAIpQLSeGwoQ44zqykuTfjCQrVP07JOHBYnBcAxAbz9SAVxPTFqMh9g/viewform
And get your bootloader unlock code.
Now unlock your phone and flash twrp.
Make these steps only if you have USB debugging on and OEM unlock on, and if you can go into fastboot.
If I helped you, thanks button works well.

Categories

Resources