Stuck in a bootloop, please help - Samsung Galaxy S7 Edge Questions and Answers

So I had my phone with TWRP and rooted, but then I upgraded to the latest firmware using Smart Switch on my PC.
Without doing any research I then stupidly flashed TWRP to my phone thinking I would just re-root it using TWRP and flashing the latest SUPERSU file; however, now TWRP doesn't recognize my internal storage and it is stuck in a boot loop unless I can flash SUPERSU or DT Verity fix. The internal storage is not recognized by my computer either when I plug my phone on even if I enable MTP in TWRP, I think this is something to do with the last USB debugging options but I am not sure?
What is my best solution without wiping my data?
If I copy the files to an SD card will TWRP recognize them? I am guessing no?
Can I flash stock back over TWRP to save my data? If so I am on Wind Mobile Canada, what file should I be flashing?
Lastly, I believe there is someway to send the files over ADP but I can't find any straight forward instructions on how to do so.
Thanks,

superskid said:
So I had my phone with TWRP and rooted, but then I upgraded to the latest firmware using Smart Switch on my PC.
Without doing any research I then stupidly flashed TWRP to my phone thinking I would just re-root it using TWRP and flashing the latest SUPERSU file; however, now TWRP doesn't recognize my internal storage and it is stuck in a boot loop unless I can flash SUPERSU or DT Verity fix. The internal storage is not recognized by my computer either when I plug my phone on even if I enable MTP in TWRP, I think this is something to do with the last USB debugging options but I am not sure?
What is my best solution without wiping my data?
If I copy the files to an SD card will TWRP recognize them? I am guessing no?
Can I flash stock back over TWRP to save my data? If so I am on Wind Mobile Canada, what file should I be flashing?
Lastly, I believe there is someway to send the files over ADP but I can't find any straight forward instructions on how to do so.
Thanks,
Click to expand...
Click to collapse
I bet your internal storage is encrypted, so that TWRP won't be able to read from it because it's not supported yet.
If you copy the supersu zip to an external SD and install it from TWRP you won't loose any data and you will be ok.
The boot loop is caused when you swipe on the first screen in TWRP and don't install anything (installing either dm-verify of supersu will let you boot again).

Related

Accidentally Wiped Internal Storage in TWRP

I was flashing a new ROM and accidentally ticked the option to wipe "Internal Storage." Now, I cannot access any files because they have obviously been deleted. I am stuck in TWRP with nothing to flash and no OS installed. Is there some way I can fix this?
pandag said:
I was flashing a new ROM and accidentally ticked the option to wipe "Internal Storage." Now, I cannot access any files because they have obviously been deleted. I am stuck in TWRP with nothing to flash and no OS installed. Is there some way I can fix this?
Click to expand...
Click to collapse
Unroot your phone to factory image then root again.
OR flash clockmod revoir to access storage (haven't tried b4 thou)
Reboot into the boot loader (Hold down power and volume down) and and then fast boot the factory image.
Google "how to restore nexus 4 to stock, fast boot"
http://forums.androidcentral.com/ne...3923-guide-nexus-4-factory-image-restore.html
it's easy.
pandag said:
I was flashing a new ROM and accidentally ticked the option to wipe "Internal Storage." Now, I cannot access any files because they have obviously been deleted. I am stuck in TWRP with nothing to flash and no OS installed. Is there some way I can fix this?
Click to expand...
Click to collapse
Just ADB Push your files connecting your phone to the PC while TWRP is on.
i also want to wipe internal storage using twrp in my nexus 5. i have my rom in flash drive. can i flash the rom that I have in my flash drive if I mount it after I wiped internal storage?
Current TWRPs support MTP, all you need to do is wipe the storage and plug your phone into the PC. Just make sure that MTP is checked in the "mount" menu of TWRP. You can then proceed to put the ROM's zip onto the internal storage and flash like you normally would.

How can I install Oxygen OS 5.0.1 with an unlocked bootloader?

Good day!
Our country just received the Oxygen OS 5.0.1 update.
How can I install it with an unlocked bootloader?
I was going to relock it but I found out that if I did, my data will be gone.
The only difference in the set-up of my phone from a stock OP5 is the unlocked bootloader.
Flash through stock recovery
Hitman478™ said:
Flash through stock recovery
Click to expand...
Click to collapse
I haven't done this kind of thing yet.
If I do this, will my data be wiped out or not?
What about using the OTA notification ?
quick05 said:
What about using the OTA notification ?
Click to expand...
Click to collapse
What do you mean?
I tried to update my phone using the normal way but after downloading and tried to install it, it failed because my bootloader is unlocked.
I just made a backup of data using codeworkx recovery. Copied the backup (Along with the files on userdata I wanted to keep) to my PC.
Wiped all and formatted data. Then installed Oreo and copied back the files and data backup from the pc to the phone and restored data with codeworkx recovery again.
Then flashed magisk 15.2 and rebooted.
Everything working fine now.
shriekyphantom said:
Good day!
Our country just received the Oxygen OS 5.0.1 update.
How can I install it with an unlocked bootloader?
I was going to relock it but I found out that if I did, my data will be gone.
The only difference in the set-up of my phone from a stock OP5 is the unlocked bootloader.
Click to expand...
Click to collapse
I managed to flash Nougat without locking my bootloader. But I also had to Format the Data partition to make it work. I used Titanium Backup to backup the data of the Apps and Myapplist to make a list of the apps. After installing Oreo I only needed to spent 1 hour to restoring the app data.
pleomaxell said:
I managed to flash Nougat without locking my bootloader. But I also had to Format the Data partition to make it work. I used Titanium Backup to backup the data of the Apps and Myapplist to make a list of the apps. After installing Oreo I only needed to spent 1 hour to restoring the app data.
Click to expand...
Click to collapse
Hello, I'm interested in the same thing.. I have oxygen osv4.5.x received notice for is 5.0.1 and want to install. I have an unlocked bootloader and am also rooted w/magisk. I want to keep my unlocked bootloader and root after upgrading. I also want to do a "clean" install.
Can anyone provide detail instructions, including best back up method of data and links to any files needed (twrp, magisk, etc) thanks
jmoricone said:
Hello, I'm interested in the same thing.. I have oxygen osv4.5.x received notice for is 5.0.1 and want to install. I have an unlocked bootloader and am also rooted w/magisk. I want to keep my unlocked bootloader and root after upgrading. I also want to do a "clean" install.
Can anyone provide detail instructions, including best back up method of data and links to any files needed (twrp, magisk, etc) thanks
Click to expand...
Click to collapse
This is what I did:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.
pleomaxell said:
This is what I did:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.
Click to expand...
Click to collapse
Thank you... I like everything about my current build..should I wait to upgrade... Any other issues with Oreo?
jmoricone said:
Thank you... I like everything about my current build..should I wait to upgrade... Any other issues with Oreo?
Click to expand...
Click to collapse
I honestly dont see a big difference yet, but only had it for two days. Feels a bit snappier, my signal a bit stronger, and probably an improvement with battery life. I had issues upgrading but then again I flashed the wrong version of magisk. I think the most important thing is the latest android security update.
SysAdmNj said:
I honestly dont see a big difference yet, but only had it for two days. Feels a bit snappier, my signal a bit stronger, and probably an improvement with battery life. I had issues upgrading but then again I flashed the wrong version of magisk. I think the most important thing is the latest android security update.
Click to expand...
Click to collapse
Hey, thanks.. I will update later today. I see you provided which version of twrp (twrp-3.2.1-0-universal-codeworkx-cheeseburger.img). But what is the difference between the version you noted and the one I found (twrp-3.2.1-0-oreo-8.0-codeworkx-cheeseburger.img)
I want to make sure I have the correct version.
Thanks again
jmoricone said:
Hey, thanks.. I will update later today. I see you provided which version of twrp (twrp-3.2.1-0-universal-codeworkx-cheeseburger.img). But what is the difference between the version you noted and the one I found (twrp-3.2.1-0-oreo-8.0-codeworkx-cheeseburger.img)
I want to make sure I have the correct version.
Thanks again
Click to expand...
Click to collapse
You can ask that question on the TWRP thread. May be they can answer it correctly. I guessed that twrp-3.2.1-0-universal-codeworkx-cheeseburger.img was for both Nougat and Oreo and that is why I used it. So, if you want to be sure you should ask that on a TWRP thread.
pleomaxell said:
This is what I did:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.
Click to expand...
Click to collapse
Hello, I was reviewing the process and just downloaded everything onto my computer and transferred onto my phone but have a few questions regarding some of the steps.
* Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP
** Can I update TWRP via the official app and is that version of TWRP okay to use over the "twrp-3.2.1-0-universal-codeworkx-cheeseburger.img"
* Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes' / This deleted my Internal Storage so I had to backup everything beforehand.
** How, what and where did you back up your data? Because later you mentioned "deleted my Internal Storage". I am guessing that because the OP5 does not have an external SD card everything is wiped and the new OS 5.0.1 needs to be saved onto a computer and then re-transferred back onto the phone. I am also guessing that the backup will need to be saved onto a computer as after wiping the phone it would also delete that file too, correct?
* Mounted the internal storage by using the Mount option from TWRP main menu.
** I am assuming that this option after the data wipe is self explanatory?
* I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
** This is what makes be believe all the files should be on a computer. How did you reboot and when you did, does it go directly / back to TWRP?
* Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots. / Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
** I am guessing here that once OS v8 is installed the TWRP img is no longer on the phone. I would need to transfer the TWRP back onto the phone then re-flash? Could I just install the TWRP official app and flash that way?
Thanks
jmoricone said:
Hello, I was reviewing the process and just downloaded everything onto my computer and transferred onto my phone but have a few questions regarding some of the steps.
* Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP
** Can I update TWRP via the official app and is that version of TWRP okay to use over the "twrp-3.2.1-0-universal-codeworkx-cheeseburger.img"
* Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes' / This deleted my Internal Storage so I had to backup everything beforehand.
** How, what and where did you back up your data? Because later you mentioned "deleted my Internal Storage". I am guessing that because the OP5 does not have an external SD card everything is wiped and the new OS 5.0.1 needs to be saved onto a computer and then re-transferred back onto the phone. I am also guessing that the backup will need to be saved onto a computer as after wiping the phone it would also delete that file too, correct?
* Mounted the internal storage by using the Mount option from TWRP main menu.
** I am assuming that this option after the data wipe is self explanatory?
* I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
** This is what makes be believe all the files should be on a computer. How did you reboot and when you did, does it go directly / back to TWRP?
* Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots. / Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
** I am guessing here that once OS v8 is installed the TWRP img is no longer on the phone. I would need to transfer the TWRP back onto the phone then re-flash? Could I just install the TWRP official app and flash that way?
Thanks
Click to expand...
Click to collapse
You have to flash TWRP by going to fastboot mode .
If you are rooted only then the TWRP app works
Aarju said:
You have to flash TWRP by going to fastboot mode .
If you are rooted only then the TWRP app works
Click to expand...
Click to collapse
Yes I am currently rooted. Once I flash the new OS will I still have root access to use the TWRP official app? Is that why after flashing new OS you need to flash TWRP via fastboot?
What about the backing up? I also have full titanium, thanks.
jmoricone said:
Yes I am currently rooted. Once I flash the new OS will I still have root access to use the TWRP official app? Is that why after flashing new OS you need to flash TWRP via fastboot?
What about the backing up? I also have full titanium, thanks.
Click to expand...
Click to collapse
After flashing the new rom you will be flashed stock recovery and you have to flash it through fastboot and flash magisk again.
Aarju said:
After flashing the new rom you will be flashed stock recovery and you have to flash it through fastboot and flash magisk again.
Click to expand...
Click to collapse
Hello, I followed the following instructions:
4. Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
6. Then used advanced wipe to wipe Cache and Dalvik.
7. Mounted the internal storage by using the Mount option from TWRP main menu.
8. I (also) was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
9. Copied the OnePlus full update and Magisk zip file.
I went to install the update w/in twrp and now I get an error message:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/oneplus5oxygen_23_OTA_028.....
What happened? Anyone please help...
jmoricone said:
Hello, I followed the following instructions:
4. Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
6. Then used advanced wipe to wipe Cache and Dalvik.
7. Mounted the internal storage by using the Mount option from TWRP main menu.
8. I (also) was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
9. Copied the OnePlus full update and Magisk zip file.
I went to install the update w/in twrp and now I get an error message:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/oneplus5oxygen_23_OTA_028.....
What happened? Anyone please help...
Click to expand...
Click to collapse
Wipe data and then copy the rom full zip flash it boot it to the starting screen then boot to recovery and then flash magisk ,you will see no errors.
Hello, I followed the following instructions:
4. Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
6. Then used advanced wipe to wipe Cache and Dalvik.
7. Mounted the internal storage by using the Mount option from TWRP main menu.
8. I (also) was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
9. Copied the OnePlus full update and Magisk zip file.
I went to install the update w/in twrp and now I get an error message:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/oneplus5oxygen_23_OTA_028.....
What happened? Anyone please help...
I received the following tip
"Wipe data and then copy the rom full zip flash it boot it to the starting screen then boot to recovery and then flash magisk ,you will see no errors."
But this makes no sense to me.
I have formatted my phone / wiped data / have the full rom & magisk on my "/sdcard" / went to install zip via TWRP, selected the rom and received the error message.
I decided to just go and upgrade via OTA and that failed. My phone has rebooted back to stock
what am i doing wrong?

Can't accsess /data in TWRP and Have no root

Something recently broke Twrp so now I cant touch my /data partition, ive read that I need to format my phone to fix this issue, the problem is that a recent update from Lineage OS is what broke it I believe, and I updated from within LOS (check for new updates download and install) which auto restarted, so when I went to go back into TWRP to reflash Magisk I started getting the issue
So now I have no root, and no twrp abilities that I know off, which means I cant use a decent backup program
can anyone help?
EDIT: I don't know if they has any relevance but ADB does have root permissions,
EDIT 2: I found out that I can reinstall magisk VIA ADB Sideload from within TWRP, as such I now have root again
@foxtrotdragon: If you can get into TWRP then reflashing Magisk shouldn't be a problem. However, if /data is encrypted then Magisk may not flash, it needs to be able to place some files there. You'll lose everything on internal storage, but formatting /data is the only way forward.
If you can't boot into TWRP then the obvious solution is to reflash recovery from a PC.
AnonVendetta said:
@foxtrotdragon: If you can get into TWRP then reflashing Magisk shouldn't be a problem. However, if /data is encrypted then Magisk may not flash, it needs to be able to place some files there. You'll lose everything on internal storage, but formatting /data is the only way forward.
If you can't boot into TWRP then the obvious solution is to reflash recovery from a PC.
Click to expand...
Click to collapse
Getting into twrp is no issue, the issue is that TWRP cannot read the internal storage, it can read external fine, but fails to read internal storage, which means i cant flash anything, an reflashing twrp does nothing
im fine with reformatting the phone, but i need to backup my stuff first, which i can not do since no root
@foxtrotdragon: Unfortunately for you, backing up the contents of your internal storage is no longer possible, unless you can think of some ingenius method to decrypt without formatting. Formatting /data is your only option. In the future, you should make backups *BEFORE* disaster strikes.

No OS, can boot into twrp and fast boot, all folders encrypted, tried side loading OS

Tried sideloading OS zip but got a cannot read error in powershell, please help.
Not much can be done now. I have had this issue twice where I lost GBs of Data. Try MSM tool to recover your phone, worked for me as latest as two days back.
Check this
https://forum.xda-developers.com/oneplus-6t/how-to/tool-6t-msmdownloadtool-v4-0-oos-9-0-5-t3867448
I had this happen to me a while back. I had lost TWRP also though but was able to fastboot into it, so needed a PC. I too had the issue of the internal storage being encrypted so couldn't flash the full OTA ROM from my internal storage. Luckily I had an OTG cable adapter and a pendrive on hand. I copied the OTA and TWRP zips from my PC to that and flashed them from USB after booting into TWRP from fastboot. I've never used the MSMTool but managed to get my phone back up and running using this method. From my experience, you need to let the ROM boot fully to the point where you have entered your pin. Once you get past that, your internal storage should be able to decrypt in TWRP if you reboot into TWRP after that.
Hope this helps.

SM-T580 TWRP issues

So I successfully Flashed TWRP on my Galaxy Tab A SMT580. Two issues I'm experiencing tho....
1.) TWRP is unable to mount my internal storage which shows as 0MB. Thus I obviously have no ROM I can boot into. It reads and mounts my SD card and the correct size shows up. Unfortunately I have nothing on my SD card and I can't get ADB Sideload to work.
2.) Which brings me to my next issue whenever I do attempt to boot it says failure to verify. Which is fixed by flashing that DM-Verity zip file. But I can't since it's not on my SD card and, ADB Sideload won't work.
Any thoughts on how to fix these two issues.
I feel stupid having forgotten to put the file on my SD Card prior to flashing TWRP
Silicon Knight said:
So I successfully Flashed TWRP on my Galaxy Tab A SMT580. Two issues I'm experiencing tho....
1.) TWRP is unable to mount my internal storage which shows as 0MB. Thus I obviously have no ROM I can boot into. It reads and mounts my SD card and the correct size shows up. Unfortunately I have nothing on my SD card and I can't get ADB Sideload to work.
2.) Which brings me to my next issue whenever I do attempt to boot it says failure to verify. Which is fixed by flashing that DM-Verity zip file. But I can't since it's not on my SD card and, ADB Sideload won't work.
Any thoughts on how to fix these two issues.
I feel stupid having forgotten to put the file on my SD Card prior to flashing TWRP
Click to expand...
Click to collapse
By default, the data partition on the T580 is encrypted. In order to install a custom ROM, you must first format that partition. Click wipe then format data, type in "yes" and when it finishes, reboot to recovery. Your internal storage should no longer show 0mb.
ok that worked, my internal storage is now mounted, but my SD Card is not. Now I just need to figure out how to get the custom ROM files and the DM Verity file onto my internal storage.
how can I just flash the tablet back to stock recovery and ROM
so I got everything working, I didn't need to flash a rom, it booted to the stock rom, ony issue that remains, is for some reason the WIFI will no longer turn on. When I tap on it in settings to turn it on, it just says its turning on, but never actually turns on. Just hangs there. I can't figure out what to do
anyone ? I really need to get this fixed...should I reflash the stock rom using ODIN, maybe a fresh install will fix it ?
Also, when I plug my tablet into the laptop, it says connected device cannot access data, and the tablet doesn't show up on the laptop, so I have no way to transfer files or anything. It does show up on ADB, I thought about trying to push the files that way, but not sure if thats possible, been a long time since I used ADB.

Categories

Resources