[Solved] Soft-Bricked OnePlus 5, TWRP works, but nothing else - OnePlus 5 Questions & Answers

I'm not sure what happened, I was flashing a kernel, and suddenly my device stopped booting, getting stuck at the OnePlus logo, with 'Powered by android". TWRP was installed, so I tried restoring a backup, but that didn't help. I tried flashing the stock 4.5.5 full zip, it would still stay at the OP logo screen. I tried wiping the phone, flashing the stock full zip, still stuck at boot. I tried going back to the stock recovery (I know, risky), and it succeeded in flashing, but when I boot to recovery, the screen just goes black, and I have to hard-reboot. I can however flash TWRP back, and it seems to work fine. When I look in the file manager on TWRP, I can see things in the system partition, but I still can't boot to it.
I'm starting to panic now, so any help would be appreciated.

To clarify, even doing fastboot boot OP5_recovery.img brings be to the black screen

It may be that you have an issue with encrypted data partition which you cannot recover otherwise
Try flashing TWRP, then in TWRP select "Wipe", "Format data" and answer with "yes" when asked for confirmation.
NOTE: when doing the steps above the whole data partition will be erased, including internal storage - so when in doubt back up your data before proceeding

s3axel said:
It may be that you have an issue with encrypted data partition which you cannot recover otherwise
Try flashing TWRP, then in TWRP select "Wipe", "Format data" and answer with "yes" when asked for confirmation.
NOTE: when doing the steps above the whole data partition will be erased, including internal storage - so when in doubt back up your data before proceeding
Click to expand...
Click to collapse
I had already done that a few times.
However, wiping fixed it, but not in TWRP. doing fastboot -w fixed it, and the phone was able to boot to stock recovery. After that I flashed system zip, and TWRP again, and I'm back up (just got it working 15 mins ago)
Thanks for the answer, though!

0xTJ said:
I had already done that a few times.
However, wiping fixed it, but not in TWRP. doing fastboot -w fixed it, and the phone was able to boot to stock recovery. After that I flashed system zip, and TWRP again, and I'm back up (just got it working 15 mins ago)
Thanks for the answer, though!
Click to expand...
Click to collapse
Please change the title of this thread to: "[SOLVED] Soft-Bricked OnePlus 5, TWRP works, but nothing else". That will help others who may get into a similar plight.

Related

Cannot wipe with TWRP

Hi,
I have G935F, installed TWRP 3.0.0.0 and rooted, WITHOUT wiping. System boots correctly, but I cannot do factory reset or wipe with TWRP, because I got some messages like "Cannot mount Data" and "Failed crypto loader". I understand that it has to do with encryption. Can someone please enlight me, and give me tips about the issue?
Thank you
Polemos82 said:
Hi,
I have G935F, installed TWRP 3.0.0.0 and rooted, WITHOUT wiping. System boots correctly, but I cannot do factory reset or wipe with TWRP, because I got some messages like "Cannot mount Data" and "Failed crypto loader". I understand that it has to do with encryption. Can someone please enlight me, and give me tips about the issue?
Thank you
Click to expand...
Click to collapse
You have to download dm-verity and force encryption disabler from here , put it to SD card, reboot into TWRP, FORMAT DATA (not wipe) and flash that file (dm-verity and force encryption disabler). All your data will be erased.
No way to unencrypt without loosing you data for the moment(
"All your data will be erased" means that after boot I'll find a clean system installation (as factory reset)?
I hope not to be posing stupid questions, I'm completely new to this world
Thank you very much
Yes just as a factory reset
Sent from my SM-G935W8 using Tapatalk
Ok, thank you all!!! ???
s it very important to wipe data?
Can I first flash the twrp ,second back up the rom by TWRP recovery
and then after factory reset ,I restore thw rom by twrp??
IS IT possible?
AGU PENG said:
Can I first flash the twrp ,second back up the rom by TWRP recovery
and then after factory reset ,I restore thw rom by twrp??
IS IT possible?
Click to expand...
Click to collapse
No, you cannot perform a backup, because your data is encrypted by default and the only way to disable it is to format your data.
I have a unique problem. I have a HTC Desire 612 from Verizon and I decided to revive it to playe PoGo. But it was stuck in a boot loop and I couldn't get any custom ROM.
Finally a gentle soul here gave me the stock rom and I flashed it vide TWRP and played PoGo for weeks. Then yesterday the phone bro led and when it came up it was stuck in a boot loop.
So I decided to flash the stock ROM again. But before that I tried to factory reset. I could go to TWRP, select wipe data, enter yes and the wiping was successful, then clear dalvic and cache and system beforehand finally I flashed the stock ROM.
Surprise surprise is NOTHING happens. The phone boots without the apps telling me they are installing. Then I get back the exact same data in my phone including my selected wallpaper and apps. Before I can do anything the phone restarts.
Point is wiping and restoring the stock ROM does NOTHING to the phone yet the processes are successful. Can somebody help?
vooks said:
I have a unique problem. I have a HTC Desire 612 from Verizon and I decided to revive it to playe PoGo. But it was stuck in a boot loop and I couldn't get any custom ROM.
Finally a gentle soul here gave me the stock rom and I flashed it vide TWRP and played PoGo for weeks. Then yesterday the phone bro led and when it came up it was stuck in a boot loop.
So I decided to flash the stock ROM again. But before that I tried to factory reset. I could go to TWRP, select wipe data, enter yes and the wiping was successful, then clear dalvic and cache and system beforehand finally I flashed the stock ROM.
Surprise surprise is NOTHING happens. The phone boots without the apps telling me they are installing. Then I get back the exact same data in my phone including my selected wallpaper and apps. Before I can do anything the phone restarts.
Point is wiping and restoring the stock ROM does NOTHING to the phone yet the processes are successful. Can somebody help?
Click to expand...
Click to collapse
HTC?? Wrong thread.
B3311 said:
HTC?? Wrong thread.
Click to expand...
Click to collapse
It really is about TWRP failing to wipe

Failed installing Lineage 14.1, wiped system, now restoring stock won't boot

Attempt 1 to install Lineage
Tried installing the Lineage 14.1, it kept doing a blank-but-illuminated screen, then turned off and back on, resulting in a boot loop.
We tried a couple of things - first the more conservative wiping of just data, dalvik and cache.
This did the boot loop described above. I then restored the stock backup and all was well.
Attempt 2 to install Lineage
The second time we wiped the system partition in addition to the above. Same bootloop.
Went to restore the backup of stock again, but now it's getting stuck at "I'm not a phone I'm a comprehensive yada yada" screen. It never progresses past this.
Attempts to get Stock Restore working
We've tried restoring just the system, data and dalvik
We've also tried System Image in addition to these.
No joy.
We don't have a laptop or other device to hand for a few days so we have just what's on the phone - the Lineage 14.1 zip, the stock backup and TWRP.
Any ideas how we can get back to a working phone with either OS?
What type of LePro3 do you have?
X720,X722,X727?
It's the X722
kenbw2 said:
It's the X722
Click to expand...
Click to collapse
The X722 model is not supported by Lineage.
I think that you have a problem. Hope anyone can help you to go back to stock successfully.
When doing the stock restore, we didn't restore the boot image.
Is that something worth trying?
kenbw2 said:
When doing the stock restore, we didn't restore the boot image.
Is that something worth trying?
Click to expand...
Click to collapse
Yes, you could try it. Please, write, was it useful or not)
Success!
Restored System,. System Image, Cache, Data and Boot partitions and all is now back to normal.
Phew!
kenbw2 said:
Success!
Restored System,. System Image, Cache, Data and Boot partitions and all is now back to normal.
Phew!
Click to expand...
Click to collapse
That is great. So, is bluetooth works fine after that?

i m ****ed

I tried to flash xXx_NoLimits_4.4_OP5_Oxygen_OB01_full (1) my op5 got into a bootloop. and theres nothing left in the phone. twrp shows nothing. cant copy any file from pc when i try to shows an error that cannot copy item-the device has either stopped respondingor has been disconnected.
You can't reboot into bootloader?
Probably best to factory reset through twrp, flash oxygen is 4.5.14 to go back to stable os.
I don't think this needed a new thread^^
Boot into twrp, wipe using "format data" which will wipe your internal storage (since you've already lost your files, you won't lose any now :3 ). And your phone should boot after that. Switching to oreo from nougat needs a "format data" as of now, afaik. Also NOT using the official twrp is recommended.
What TWRP version did you used?
If you've lost everything then just do a "fastboot -w" from command window, then "fastboot flash recovery TWRP.img" (With whichever TWRP build you want to use), then reboot into TWRP and it should appear on your computer as a mounted drive, then copy your stuff over and flash it using TWRP.
Well, the title is misleading. I didn't expect a query.
P.S.: Best to post in the dedicated thread for the ROM. There are more people that can be of help.
Boot in twrp and go in wipe section on twrp and tap on format data then type yes and your phone recognized back on pc and you will be able to copy files on it :good:
Sent from my OnePlus 5 using XDA Labs
Sevral good replies have been given but no sign of life from the one who asked for help. He is indeed f***ked up.
Yousvel said:
Sevral good replies have been given but no sign of life from the one who asked for help. He is indeed f***ked up.
Click to expand...
Click to collapse
Boot fastboot, flash stock recovery, boot it, erase and wipe every thing, boot fastboot, flash TWRP 3.1.1 , copy your rom and flash your rom.
Sorry for my bad english
Go to TWRP, Wipe then to Advanced wipe, Click Data then choose Repair or Change File System, Change file System. Click EXT3 then Swipe to change. after that choose EXT4 and Swipe to Change. hook phone to pc/mac and tranfer your file zip to your phone and reflash it. *this might or might not work. everything will be deleted from phone*.

OnePlus 6T Bootloop Help!

So I was using a certain root app and it told me to enable Magisk Core mode and reboot. I did that, and my phone was in a bootloop. So I wen't to TWRP and flashed stock ROM zip. Rebooted and it was still bootlooping.
So I took a TWRP Backup of all partitions, and then wiped system fully and flashed stock ROM. Still bootlooping. So I did a factory reset and wiped system as well, keeping internal storage. Then I flashed stock ROM zip and rebooted - it fixed it, but was factory reset. So I went back into TWRP and restored the data partition. Unfortunately, I got the TarFork Error 255 when restoring. I saw on google that you need to setup Android first to restore. Rebooted to go into Android but it took me to TWRP, and this time didn't ask for decryption password. I went to internal storage and everything was encrypted. I don't remember exactly what I did next but now I'm in fastboot with no TWRP recovery, and when I do fastboot boot twrp.img I get this error: "FAILED (remote: 'Failed to load/authenticate boot image: Load Error')"
Can anyone help me recovery from this and possibly get my internal storage back, or at least installed apps. I can provide TWRP restore log as well: https://del.dog/ivugupemeq
NateDev said:
So I was using a certain root app and it told me to enable Magisk Core mode and reboot. I did that, and my phone was in a bootloop. So I wen't to TWRP and flashed stock ROM zip. Rebooted and it was still bootlooping.
So I took a TWRP Backup of all partitions, and then wiped system fully and flashed stock ROM. Still bootlooping. So I did a factory reset and wiped system as well, keeping internal storage. Then I flashed stock ROM zip and rebooted - it fixed it, but was factory reset. So I went back into TWRP and restored the data partition. Unfortunately, I got the TarFork Error 255 when restoring. I saw on google that you need to setup Android first to restore. Rebooted to go into Android but it took me to TWRP, and this time didn't ask for decryption password. I went to internal storage and everything was encrypted. I don't remember exactly what I did next but now I'm in fastboot with no TWRP recovery, and when I do fastboot boot twrp.img I get this error: "FAILED (remote: 'Failed to load/authenticate boot image: Load Error')"
Can anyone help me recovery from this and possibly get my internal storage back, or at least installed apps. I can provide TWRP restore log as well: https://del.dog/ivugupemeq
Click to expand...
Click to collapse
Have you tried the MSM Download Tool to restore the device yet? I'm leaning towards that honestly.
---------- Post added at 01:44 AM ---------- Previous post was at 01:42 AM ----------
NateDev said:
So I was using a certain root app and it told me to enable Magisk Core mode and reboot. I did that, and my phone was in a bootloop. So I wen't to TWRP and flashed stock ROM zip. Rebooted and it was still bootlooping.
So I took a TWRP Backup of all partitions, and then wiped system fully and flashed stock ROM. Still bootlooping. So I did a factory reset and wiped system as well, keeping internal storage. Then I flashed stock ROM zip and rebooted - it fixed it, but was factory reset. So I went back into TWRP and restored the data partition. Unfortunately, I got the TarFork Error 255 when restoring. I saw on google that you need to setup Android first to restore. Rebooted to go into Android but it took me to TWRP, and this time didn't ask for decryption password. I went to internal storage and everything was encrypted. I don't remember exactly what I did next but now I'm in fastboot with no TWRP recovery, and when I do fastboot boot twrp.img I get this error: "FAILED (remote: 'Failed to load/authenticate boot image: Load Error')"
Can anyone help me recovery from this and possibly get my internal storage back, or at least installed apps. I can provide TWRP restore log as well: https://del.dog/ivugupemeq
Click to expand...
Click to collapse
(Double post, ignore this)
Got it fixed by flashing full stock ROM in fastboot without wiping, so userdata was recovered, and then restored app data from the TWRP nandroid backup in Titanium backup
NateDev said:
Got it fixed by flashing full stock ROM in fastboot without wiping, so userdata was recovered, and then restored app data from the TWRP nandroid backup in Titanium backup
Click to expand...
Click to collapse
mind sharing exactly how you did that? As i'm in pretty much the same boat
FullyCustom2 said:
mind sharing exactly how you did that? As i'm in pretty much the same boat
Click to expand...
Click to collapse
Damn don't even have this phone anymore lol
I think I used the fastboot ROMs from an xda post but when it asks you to wipe or not I clicked no, and then I booted to Android and apps data can be restored from a nandroid backup in titanium backup, just search to find that feature, instead of restoring the data backup in twrp

Galaxy Tab A 8 (SM-T350) stuck on boot loop after trying to recover stock firmware

Hey folks. I'm hitting a brick wall trying to figure out this issue and I'm hoping someone will know how to fix this.
I have a Galaxy Tab A 8 (SM-T350) that I rooted and successfully flashed with first crDroid, then Lineage (both Android 9.0) using TWRP. I had made a backup before attempting this just in case I wanted to revert to stock.
Well, that didn't go as smoothly as I was hoping. Ever since trying to restore my backup, I've been stuck on a continuous boot loop that I can't seem to fix.
I keep getting "E:failed to mount /efs (Invalid argument)" and "dm-verity verification failed. . ." no matter what I try. I've googled the error and tried every solution suggested but I still can't get it to boot.
Any help at all would be greatly appreciated. Thanks.
skorpien said:
Hey folks. I'm hitting a brick wall trying to figure out this issue and I'm hoping someone will know how to fix this.
I have a Galaxy Tab A 8 (SM-T350) that I rooted and successfully flashed with first crDroid, then Lineage (both Android 9.0) using TWRP. I had made a backup before attempting this just in case I wanted to revert to stock.
Well, that didn't go as smoothly as I was hoping. Ever since trying to restore my backup, I've been stuck on a continuous boot loop that I can't seem to fix.
I keep getting "E:failed to mount /efs (Invalid argument)" and "dm-verity verification failed. . ." no matter what I try. I've googled the error and tried every solution suggested but I still can't get it to boot.
Any help at all would be greatly appreciated. Thanks.
Click to expand...
Click to collapse
Ignore the EFS error its probably a red herring. Your issue is dm-verity.
3 ways around it. Return to complete stock, including wiping the data partition or flash root (magisk suggested) or disable dmverity using one of the zips out there.
ashyx said:
Ignore the EFS error its probably a red herring. Your issue is dm-verity.
3 ways around it. Return to complete stock, including wiping the data partition or flash root (magisk suggested) or disable dmverity using one of the zips out there.
Click to expand...
Click to collapse
Thanks for the reply ashyx.
I've done two of the three things you suggested. I've tried returning it to stock using an image matching my exact model, and I've tried disabling dmverity. I've also tried rooting it but using a method other than magisk.
The flash seems to go well enough, but then I get stuck at the Samsung logo whenever I try rebooting into the system.
I've tried waiting, thinking I'm just being impatient, but it doesn't ever seem to get past the logo. I've tried googling ways to fix it being stuck on the logo but nothing I do seems to work. Is there any other way around it?
Side note: I've been able to flash Lineage OS again and might just have to stick with that if I can't flash it back to stock. Do you know any resources for replacing the default apps? I've tried GApps but I was wondering if there's a similar Samsung installer?
skorpien said:
Thanks for the reply ashyx.
I've done two of the three things you suggested. I've tried returning it to stock using an image matching my exact model, and I've tried disabling dmverity. I've also tried rooting it but using a method other than magisk.
The flash seems to go well enough, but then I get stuck at the Samsung logo whenever I try rebooting into the system.
I've tried waiting, thinking I'm just being impatient, but it doesn't ever seem to get past the logo. I've tried googling ways to fix it being stuck on the logo but nothing I do seems to work. Is there any other way around it?
Side note: I've been able to flash Lineage OS again and might just have to stick with that if I can't flash it back to stock. Do you know any resources for replacing the default apps? I've tried GApps but I was wondering if there's a similar Samsung installer?
Click to expand...
Click to collapse
You need to wipe the data partition, aka factory reset before or after installing the stock firmware then it will take anything up to 15 mins to boot.
ashyx said:
You need to wipe the data partition, aka factory reset before or after installing the stock firmware then it will take anything up to 15 mins to boot.
Click to expand...
Click to collapse
I've tried leaving it for a few hours in hopes that it would boot, but unfortunately it stays stuck on the logo.
Is there a way to check where or why it's getting hung up?
skorpien said:
I've tried leaving it for a few hours in hopes that it would boot, but unfortunately it stays stuck on the logo.
Is there a way to check where or why it's getting hung up?
Click to expand...
Click to collapse
Did you back up the efs partition with twrp?
If so try restoring it.
ashyx said:
Did you back up the efs partition with twrp?
If so try restoring it.
Click to expand...
Click to collapse
I did and I have been restoring it.
So far, this is what I've attempted:
Flash TWRP (twrp_3.1.0-1_sm-t350_18317.tar using Odin3 v3.10)
Reboot into recovery
Wipe everything from tablet
Format tablet
Reboot into download mode
Flash stock image with Odin
Reboot into recovery
Wipe dalvik cache
Restore backup (including efs partition)
Wipe dalvik cache (again)
Reboot
Get stuck on Samsung logo (left it for hours with no change)
skorpien said:
I did and I have been restoring it.
So far, this is what I've attempted:
Flash TWRP (twrp_3.1.0-1_sm-t350_18317.tar using Odin3 v3.10)
Reboot into recovery
Wipe everything from tablet
Format tablet
Reboot into download mode
Flash stock image with Odin
Reboot into recovery
Wipe dalvik cache
Restore backup (including efs partition)
Wipe dalvik cache (again)
Reboot
Get stuck on Samsung logo (left it for hours with no change)
Click to expand...
Click to collapse
Don't restore everything just EFS No need to keep wiping dalvik it serves no purpose when formatting or wiping the data partition.
Also FORMAT not wipe the data partition (note this wipes internal storage)
If it still doesn't boot install the combo firmware. Let it boot, factory reset from settings then reboot to download mode and install the stock firmware again.

Categories

Resources