Boots back to TWRP after flashing a rom - G2 Q&A, Help & Troubleshooting

So I am going to trade in my phone soon and as part of it I need to go back to stock. I was on a stock rooted ROM for today and when I got home I saw it had a software update. I figured Id just install it but then after clicking on it remembered that I would lose root in the upgrade and didnt want to deal with that. It had booted me into TWRP as soon as I clicked on the update and so I just turned the phone off and then on cause I figured nothing tried to actually install so it would be fine. Instead of booting the OS, it booted straight into TWRP. So I figured it had set a flag and wouldnt boot unless the update finished installing, so I would just wipe everything and re-flash a new ROM again. Did that, but I still boot straight into TWRP. Can anyone help me get back to a bootable OS state where I can use the phone again? I know it is kinda retarded to click on a software update on a rooted device, but I never thought it would completely break my ability to boot and still wouldnt even work if I wiped everything and re-installed the ROM or tried a different ROM.
My guess is that as soon as I clicked on the update it set a flag in the bootloader itself, because this issue persists even after wiping and flashing. And if I try to boot into the bootloader it actually boots me into TWRP. Should I try to use ADB in recovery and push a flashable bootloader onto the device and then try re-flashing the bootloader?

Related

Probably soft-bricked my N4

Hi folks,
It appears that I managed to soft-brick my device, while trying to revert everything back to stock.
To make a long story short, I'm working by efrant's guide, but once I try to flash the radio, it takes ages and doesn't really go anywhere, i'm waiting more than 20 minutes now.
In addition to the bootloader (which is unlocked and the computer recognizes), I can also access the recovery (TWRP) - BUT, when I tried to wipe all the data, it wiped stuff and then claimed that there's no OS installed. when I rebooted my device, it got stuck on google's logo and I had to force reboot into bootloader again.
Luckily, the bootloader is the only thing that currently works in this phone, whilst the recovery keeps "claiming" that there is no OS installed and i can't really do something with it.
so i try to flash the bootloader, it works. once i try to flash the radio, it gets stuck. i try to flash system.img, the same.
What do I do?
A lot of thanks in advance!
*update* - I managed to flash it back to stock, eventually. yey.
just flash any ROM and Gapps and It should work.

[Q] Soft bricked phone, encryption key required even after full format

I wanted to update from Cyanogenmod 10.1 to Google Edition 4.3, so I booted into recovery. I had enabled device encryption prior to this, and decided it isn't worth the hassle to me. So I decided to format the phone (I had backups of everything, but no NANDroid!). The formatting went well, there was no ROM to boot into anymore.
I had to use ADB to push the ROM onto the device, which I then flashed successfully. When I booted up, I was asked for my encryption password. The old key didn't work anymore. I was locked out of the ROM.
I looked into using ODIN to flash stock to remove encryption, but ODIN never connected to the device and I don't like this route because I'd have to root and get a recovery again. I tried Heimdall, but even when I installed C++ 2013 redist it wouldn't run, and again I don't like this idea but would do it if I had to.
How can I remove device encryption through ADB and recovery? I won't be able to boot up until I remove whatever files indicate that the device is "encrypted" and re-flash a ROM. My recovery is TWRP 2.600.
Dadasas said:
I wanted to update from Cyanogenmod 10.1 to Google Edition 4.3, so I booted into recovery. I had enabled device encryption prior to this, and decided it isn't worth the hassle to me. So I decided to format the phone (I had backups of everything, but no NANDroid!). The formatting went well, there was no ROM to boot into anymore.
I had to use ADB to push the ROM onto the device, which I then flashed successfully. When I booted up, I was asked for my encryption password. The old key didn't work anymore. I was locked out of the ROM.
I looked into using ODIN to flash stock to remove encryption, but ODIN never connected to the device and I don't like this route because I'd have to root and get a recovery again. I tried Heimdall, but even when I installed C++ 2013 redist it wouldn't run, and again I don't like this idea but would do it if I had to.
How can I remove device encryption through ADB and recovery? I won't be able to boot up until I remove whatever files indicate that the device is "encrypted" and re-flash a ROM. My recovery is TWRP 2.600.
Click to expand...
Click to collapse
Did you ever find an answer to this? I am in the same boat right now.
stpark6985 said:
Did you ever find an answer to this? I am in the same boat right now.
Click to expand...
Click to collapse
Have either of you found a solution, i have the same problem right now. i even tried flashing stock with odin but it is still asking for the DevicePolicyManager password.
Not sure if it's still a relevant question, but here's an answer for you:
I had an issue like this, only I didn't enable encryption by choice, it just turned on automatically (I think I had a bad app). Anyway, on reboot, it said Encryption failed, try a factory reset in recovery and go again. No avail, so I ended up having to re-flash to stock. I grabbed my old MG1 install, flashed though Odin, and ended up working. That night, I flashed a bad modem and effed myself over again, so I re-downloaded and re-flashed (using my mac and Heimdall) to get it back to stock that way. Heimdall command-line is the way to go, if you ask me. You can flash each and every partition manually until you find the one that is broken, and away you go.
The information I used was in THIS THREAD. Just use your TAR file and flash away.

Need Help Please Probably Soft Brick

Was on 6.0. Took the OTA no problem . Was running fine. Tried to put new TWRP on and sine then can't boot up. I can get into bootloader. I can get in stock recovery (no command). I tried to use back to stock and start over from LP. Probably not best option. Now gets to the screen saying that boot loader is unlocked and nothing happens. Was able to use fast boot and get into TWRP, but no where to go from there. If I try and use a flashable zip for 6.0 it just keeps rebooting TWRP. Any ideas? Help? Figure since I can still get into fastboot I have a chance, but not sure where to go with it?
SOLVED FOR NOW. Just keep going back and forth with wiping and trying to reset everything. Finally kicked in and back to LP.. been going back and forth for 3 hours.. no clue waht kicked it in, but using the restore tool.. then manually flashed twrp and wiped in twrp then rebooted and worked .. idk.. mods feel free to delete

[Q] Failed flash, stuck...

I was running xXx 4.5, and decided to "upgrade" to 5.0.
I did the usual, wiped data/system, then flashed.
I got stuck in a bootloop, and found I had to double back and wipe /data.
I did that, got stuck at the boot animation.
If I go back to recovery, all the data is jumbled, I assume encrypted? I flashed a different twrp for 8.0 compatibility, no change.
I can't push/sideload anything (roms, recovery zips sideload fine), it fails.
So I flashed the stock recovery in fastboot, rebooted there, and tried to sideload via adb the stock 8.0 flash files.
Now it works at it for a few minutes and just comes back as "Installation Failed".
Where do I go next? All i can get to is recovery, fastboot, bootloader.
I've already factory reset/wiped everything, so don't care if I lose anything anymore.
Help?
Thanks.
It appears I found a solution, just a few posts below my own! I hate it when that happens.
Anyways ,
https://forum.xda-developers.com/showpost.php?p=75364805&postcount=7
seems to have got the ball rolling, I was able to copy files to my phone while in twrp, which I couldn't do before, and currently have xXx installing. The first time it installed it didn't ask about encrypted/decrypted and didn't give me any warnings, this time it did.
xXx still won't boot after flashing, trying stock full flash file..
edit 2: Was able to flash full oneplus update file and boot. had to do a factory reset after rebooting as it was crashing a ton and wouldn't get through setup. It's been running fine since though. Now I'm a little skittish to try again, there are some root features I'd really like to still have.
I have a OnePlus 5 phone stuck in the Fastboot mode, been contacting them for days now but I still keep hearing the same excuses that the matter has been escalated to their tier 2 tech support team Nd would be contacted. Please is there a way to copy files off the phone in this state before it's flashed?

Sm-T510 Stuck in Bootloop

Hey, I'm new here when it comes to writing forum posts, so bare with me.
I've had this tablet for a few years now and I had flashed it with one of Magendanz roms (Nexus Stock) and I wanted to change to the LineageOS rom he had. I downloaded the .zip file and copied it to my sdcard and tried to get into TWRP to flash it. I did restart to recovery in the OS and once it restarted, it's been doing a boot loop ever since. I have tried using Odin to flash the rom that way, but for some reason it'll keep doing a boot loop after it's done flashing and restart. I can try going back to the stock firmware if it's a final option to get this tablet working again, but I would love to see if I can get LineageOS to work.
DengekiMatsuko said:
I did restart to recovery in the OS and once it restarted, it's been doing a boot loop ever since.
Click to expand...
Click to collapse
I had a similar issue once. It turned out that after flashing, not all the partitions mounted properly.
Are you still using TWRP? Boot to recovery, and go into "Mount". Make sure the system and other partitions are actually ticked. That solved the problem for me, and I was able to successfully boot to the system.
Hopefully your issue is that simple!
I managed to brick my Tab A 10.1 (2019) last year by dirty flashing ROMs I shouldn't have. I properly munted it, I couldn't even get into recovery. But I could still get into download mode with a USB cable plugged in to my laptop (it needed to be plugged in for download mode to come up). I flashed the stock ROM, which made it bootable again, which then allowed me to re-flash TWRP and then Magendanz' LOS18.1 ROM.
If you completely break your tablet, reflashing the latest stock ROM for your region is a great way to get back to a familiar starting point. You can then follow people's guides online to get where you want to be.

Categories

Resources