How to recover my files after failed supersu flash? - Samsung Galaxy J7 Prime / J7 On NXT (Exynos7870)

Today I wanted to root my phone. So I flashed twrp to later flash supersu. After i flashed twrp the phone worked fine, I could boot normally and go into recovery to access twrp. However, after I flashed supersu I couldn't boot back into android. After several tries of recovering the data its been a mix between bootlooping twrp or being stuck in the splash screen. I could format the partitions to clean everything, but I can't do that because I need to recover my 2FA codes (cause I didn't backup them up) so I dont lose access to my accounts. I tried unencrypting the storage from twrp but it always failed, even though it was the correct password (I use a pattern to unlock but I converted it to a code). Is there any way I can recover my data or do I have to reset everything?

Goto recovery and copy internal storage to pc

Sadman Fahad said:
Goto recovery and copy internal storage to pc
Click to expand...
Click to collapse
I cant find an option that lets me do this, since the partition is encrypted. Can you help me further?

Related

[Q] How to wipe Data partition after it's been encrypted?

Hey guys,
My work switched to Google Apps for their email so i wanted to test it out on my phone. Doing so required them to encrypt my phone. What this appears to have done is encrypt the data partition. So now when i go into (TWRP) recovery and try to do a backup / wipe / or anything else, it says it is "Unable to mount /sdcard" I'm unable to do a factory reset of any kind so i'm essentially stuck on this rom (ARHD) until i can figure out how to wipe data and get the /sdcard to be not encrypted. Does anyone have any ideas? I'm imagining that with the modified recovery not being able to access the data partition that i'm going to have to do some adb type stuff?
Please help! I want to keep flashing new roms!
Anyone??
I think you can't decrypt your data partition...
Did you try to wipe your data partition with the latest TWRP?
Guich said:
I think you can't decrypt your data partition...
Did you try to wipe your data partition with the latest TWRP?
Click to expand...
Click to collapse
That's the thing, the recovery can't mount /sdcard so wiping isn't an option from recovery
jrun said:
That's the thing, the recovery can't mount /sdcard so wiping isn't an option from recovery
Click to expand...
Click to collapse
Hi! Only TWRP recovery can solve your issue just do this...
Boot to TWRP recovery->Wipe
From there there are 2 options the left is the advance wipe and on the right is Format Data
Just select the format data button and it should reformat the whole data partition.
1st one would prompt so many errors and reformat then reformat it again 1 time and it should fully reformat your phone.
In theory it should reformat data partition even when encrypted but just in case it fails and I won't be able to go back to this thread just boot in bootloader and type
"fastboot erase userdata"
Well none of that works. TWRP doesn't support decryption yet for this device.
sevenalive said:
Well none of that works. TWRP doesn't support decryption yet for this device.
Click to expand...
Click to collapse
What I instructed basically doesn't decrypt the partition. It reformats it.
Riyal said:
What I instructed basically doesn't decrypt the partition. It reformats it.
Click to expand...
Click to collapse
I know what you instructed, it doesn't work. Only way I got it to work. Flash the stock recovery. Boot into system. Take off the encryption, phone reboots and removes the encryption, data is formatted. Then flash TWRP again.
I basically ran into this exact problem. I was hoping that I'd still be able to back up the encrypted device, but forget about it. What a pain in the ass.
Someone should make add something to the guides about how encrypting your device makes nandroid backups impossible.

Internal memory does not show on PC

Hello everybody,
I am in desperate need for help.
Received my OP3T yesterday and followed the instructions to flash Sultan's CM13 ROM, unlocking bootloader, running "fastboot OEM unlock", deleting data and system partitions, attempting to flash TWRP and even using the SuperSu root afterwards.
I now have an issue where the internal memory of the phone does not show up on PC. It does not show when I am running CM13, and does not show when I'm in the TWRP recovery menu.
- Using the mount feature in TWRP does not work.
- All my file systems are currently set to ext4.
- USB debugging is on, off course.
- Tried accessing internal memory on a different PC, and still doesn't show.
I've tried completely deleting all the partitions, re-flashed TWRP and re-flashed CM13. Also tried re-flashing the original recovery and the original OxygenOS rom.
As a result, I can only access the TWRP recovery now. I have no way to copy the CM13 zip file or any other file to the internal memory.
Anyone know what's going on?
to see internal storage in TWRP you need to enter the password you definied as android login.
to see internal storage on pc go to "Settings/developer options/usb configuration and use again "file transfer" (i hope this is the english word for "dateiübertragung")

TWRP 3.2.1 Failed decryption

I was running TWRP 3.1.1 on my Redmi 4x and i decided to update it to TWRP 3.2.1
I installed the TWRP 3.2.1 by going to recovery>install>install boot image>then install to recovery partition
After i installed it and i booted to recovery, it's already updated to TWRP 3.2.1 but my pattern for twrp is not accepted. Whenever i enter my pattern it will have an error that is failed to decrypt because of a wrong pattern. I didnt even change my pattern from 3.1.1 but somehow when i updated to 3.2.1 my pattern is not accepted.
So now i cant decrypt the internal storage.
Help please
Lancer43 said:
I was running TWRP 3.1.1 on my Redmi 4x and i decided to update it to TWRP 3.2.1
I installed the TWRP 3.2.1 by going to recovery>install>install boot image>then install to recovery partition
After i installed it and i booted to recovery, it's already updated to TWRP 3.2.1 but my pattern for twrp is not accepted. Whenever i enter my pattern it will have an error that is failed to decrypt because of a wrong pattern. I didnt even change my pattern from 3.1.1 but somehow when i updated to 3.2.1 my pattern is not accepted.
So now i cant decrypt the internal storage.
Help please
Click to expand...
Click to collapse
Press back button on the page where twrp is asking for patter then go to wipe then format your data . This should solve the issue .
rkdok23 said:
Press back button on the page where twrp is asking for patter then go to wipe then format your data . This should solve the issue .
Click to expand...
Click to collapse
Is there any other way that wouldnt require me to format my data?
Lancer43 said:
Is there any other way that wouldnt require me to format my data?
Click to expand...
Click to collapse
Enter twrp. After that press back button,, enable mtp on mount. And connect your phone to ext storage. Backup your files and rom. After backup. Just format it,,,
Important: backup rom first than files
MattHdH said:
Enter twrp. After that press back button,, enable mtp on mount. And connect your phone to ext storage. Backup your files and rom. After backup. Just format it,,,
Important: backup rom first than files
Click to expand...
Click to collapse
How can be data accessed through mtp when partition is not mounted because it is not decrypted ?

Help! Tried to install custom rom and now internal storage is encrypted

So i tried to install a custom rom, now my storage is encrypted and i can't install apps or anything on my device.
I unlocked the bootloader, install twrp, it didn't ask me for a password however. I then did advanced wipe, system data cache.
I then couldn't copy anything to my internal storage, so reflashed miui using miflash tool.
My device is working fine, but when plugged in, all the folders on my internal storage come up as random numbers and letters (which i assume means its encrypted). I have tried downloading something via chrome and it says "sd card not found".
I really hope someone can help me.
Thanks!
Hi ! Do you can resolve your problem ?
I'm not expert but I think reboot to Twrp and format your data . Advanced format data yes and flash your Rom. But I don't no if you do to flash the DM Verity Encryption remover before flash your Rom ?
Stay for expert help you..
ha2ell said:
So i tried to install a custom rom, now my storage is encrypted and i can't install apps or anything on my device.
I unlocked the bootloader, install twrp, it didn't ask me for a password however. I then did advanced wipe, system data cache.
I then couldn't copy anything to my internal storage, so reflashed miui using miflash tool.
My device is working fine, but when plugged in, all the folders on my internal storage come up as random numbers and letters (which i assume means its encrypted). I have tried downloading something via chrome and it says "sd card not found".
I really hope someone can help me.
Thanks!
Click to expand...
Click to collapse
I faced similar issue when flashing custom rom.
I did some research and found out that, I have to wipe data first, reboot to fastboot (in TWRP). Boot into TWRP again using DOS shell prompt.
In this way, your phone will not be encrypted, allowing file transfer and flash from TWRP.
Hope it helps.
Hi, I managed to fix it by flashing the latest miui fastboot ROM again using mi flash tool, and then restoring a backup of my system from Google drive and miui when setting up the phone. I think I will try to flash a ROM again at some point. What do you mean by DOS shell prompt? Thanks
You need flash Forced Encryption Disabler to remove encryption of the folders. In TWRP, flash zip and reboot to recovery.
This is link to download. https://androidfilehost.com/?fid=3700668719832238534
ha2ell said:
Hi, I managed to fix it by flashing the latest miui fastboot ROM again using mi flash tool, and then restoring a backup of my system from Google drive and miui when setting up the phone. I think I will try to flash a ROM again at some point. What do you mean by DOS shell prompt? Thanks
Click to expand...
Click to collapse
im facing the same problem now. the files are all jumbled up letters, do i need to format the device before using mi flash tool?

Soft bricked phone after trying to restore backup after LineageOS flash

I flashed the lineageOS 17 roms that is available and it worked but then i realized that gapps was not complete so i went into TWRP to restore my old Backup of ColorOS 6.1 (A.08 version), also it had magisk installed, but it then would show the first boot logo then restart and go into the recovery. I then tried formating everything except internal storage and also factory wipe and now my backup is gone and everything else on my phone. I can still boot into recovery and such but now it wont even ask me for the decryption password. File manager in TWRP shows 3 folders in the internal storage (in sdcard 0, obb and TWRP).
Any help? i dont wont to break things even more.
Edit: I just noticed that in the 0 folder in sdcard there is 65 gb of folders and files. Im assuming that are my old files but they are encrypted. Any way to undo that?
I guess you have to install a rom and set everything up from scratch. You lost all your files when you formated data, including backups, etc.
If you want to update or change your recovery, now it's the time - since there's no rom or files to lost.
johnnyjoe said:
I guess you have to install a rom and set everything up from scratch. You lost all your files when you formated data, including backups, etc.
If you want to update or change your recovery, now it's the time - since there's no rom or files to lost.
Click to expand...
Click to collapse
I didnt format the internal storage only data and i edited the post saying that i think i found all the data but still encrypted. Im guessing TWRP wont automatically decrypt it.
For anyone with a similar problem. I reinstalled LineageOS and it decrypted all the files.

Categories

Resources