Internal Storage Decryption problem - Xiaomi Redmi Note 7 Questions & Answers

Hi.
I have huge problem. I have Redmi Note 7 with xiaomi.eu (Last stable MIUI 10 version). Today I decided to update it to latest version (MIUI 11). Before it, I made backup via TWRP and then perform update. Update successfull. I thought that I prefer MIUI 10 so in TWRP perform wipe dalvic and cache and make restore backup. Backup succesfull. But... System wont boot up. In TWRP I cant see internal storage (0MB), TWRP ask for decryption password but the password from unlocking phone doesnt work. I dont know what to do. I dont want to lose my data. I found info that OrangeFOx recovery could be helpful so I flashed OrangeFox recovery. But it also ask for password.
Help please.

mcichy10 said:
Hi.
I have huge problem. I have Redmi Note 7 with xiaomi.eu (Last stable MIUI 10 version). Today I decided to update it to latest version (MIUI 11). Before it, I made backup via TWRP and then perform update. Update successfull. I thought that I prefer MIUI 10 so in TWRP perform wipe dalvic and cache and make restore backup. Backup succesfull. But... System wont boot up. In TWRP I cant see internal storage (0MB), TWRP ask for decryption password but the password from unlocking phone doesnt work. I dont know what to do. I dont want to lose my data. I found info that OrangeFOx recovery could be helpful so I flashed OrangeFox recovery. But it also ask for password.
Help please.
Click to expand...
Click to collapse
You're out of luck. You need to format your data partition - and you will lose your data and all the contents of your internal storage.

DarthJabba9 said:
You're out of luck. You need to format your data partition - and you will lose your data and all the contents of your internal storage.
Click to expand...
Click to collapse
Is there any way to backup storage eg. via adb or something and try later to restore it?
EDIT
I performed wipe, install latest android. Data is gone. I found some windows apps to restore data after factory reset via adb. I'll try this in next week

mcichy10 said:
Is there any way to backup storage eg. via adb or something and try later to restore it?
Click to expand...
Click to collapse
No.
mcichy10 said:
EDIT
I performed wipe, install latest android. Data is gone. I found some windows apps to restore data after factory reset via adb. I'll try this in next week
Click to expand...
Click to collapse
Good luck!
PS: if your original MIUI 10 backup included /data, then you should be able to restore the data after formatting, flashing a fresh copy of the MIUI 10 ROM, booting the ROM, and then, booting back to recovery and restoring the data backup. But the content of your internal storage is gone forever (if you didn't back it up before).

Unfortunately I lost all my data (mainly photos). I'll buy microsd to store data and backups.

Related

[Q] Question about TWRP backups before I wipe.

I have never had a device without a removable SD and am used to having the contents of my SD protected when I wipe and then flush, i mean flash (hah). When I wipe with TWRP, will I lose my pix, audio, etc as they are not on a separate partition?
docslate said:
I have never had a device without a removable SD and am used to having the contents of my SD protected when I wipe and then flush, i mean flash (hah). When I wipe with TWRP, will I lose my pix, audio, etc as they are not on a separate partition?
Click to expand...
Click to collapse
If you lost your pix, audio, etc that would really really suck. I don't think I would flash new ROMs daily. So of course the contents of internal SD are protected. UNLESS you choose to wipe internal storage in TWRP so don't mess with those advced options. They call it a factory reset in TWRP but its not like the phone option to factory reset which does wipe internal storage.
Your app data is lost. Just back up with titanium backup. After flashing new ROM install only TB, then restore apps and data (no system apps!) and you're done!
And make sure you have a backup! If anything does go wrong just restore it.
alright so lets say i download a rom and put it on my internal, then i boot into twrp do i just factory reset or what? i dont understand what to wipe to keep internal intact sorrry im a noob
in TWRP do a factory reset and install the new rom (and gapps if its CM rom) and you are golden.
stuck on team win screen
ok I need some serious help my battery is about to die! I rooted my phone last night and this morning I installed twrp 2632 and then rebooted and the phone now will not boot past the twrp screen then I got a call to go to a hospice home and that took several hours in the meantime my phone will not do anything just drain battery! any help would be greatly appreciated! thanks
tdevaughn said:
in TWRP do a factory reset and install the new rom (and gapps if its CM rom) and you are golden.
Click to expand...
Click to collapse

Sokkoban's Deodexed Rooted Custom Rom B574

I wish to move from stock b574 to sokkoban's.
My biggest concern is that in the description given, it requires wiping data. Given that I am already on marshmallow, is there really a need to wipe data in twrp? Won't cache/system wipe just do? I don't want to wipe my internal sd plus file structure/dates. Plus all my apps!
Call me lazy but am yet to find a backup system that will return all my files & apps as they were pre-flash.
Any ideas?
bumjrah said:
I wish to move from stock b574 to sokkoban's.
My biggest concern is that in the description given, it requires wiping data. Given that I am already on marshmallow, is there really a need to wipe data in twrp? Won't cache/system wipe just do? I don't want to wipe my internal sd plus file structure/dates. Plus all my apps!
Call me lazy but am yet to find a backup system that will return all my files & apps as they were pre-flash.
Any ideas?
Click to expand...
Click to collapse
actually, huawei has pre-installed backup app.. and it works great... you can backup every app plus app's data too... but backing up all those may take time..
bumjrah said:
I wish to move from stock b574 to sokkoban's.
My biggest concern is that in the description given, it requires wiping data. Given that I am already on marshmallow, is there really a need to wipe data in twrp? Won't cache/system wipe just do? I don't want to wipe my internal sd plus file structure/dates. Plus all my apps!
Call me lazy but am yet to find a backup system that will return all my files & apps as they were pre-flash.
Any ideas?
Click to expand...
Click to collapse
in teory no you dont need to wipe data ...
as you know sokkoban rom must be installed via twrp
so you can :
fisrt
install twrp
make nandroid backup
install sokkoban rom without wipe
if does not work you can try to
wipe and install sokkoban rom
recovery from your previus backup the data partition
Thanks guys. I can confirm you do not need to wipe data to use the custom rom. A simple dalvik & cache wipe did it.

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?

2nd time flashing what do I need to know before do a mess?

Hi XDA!
I am using FreedomOS 1.9 so I'd like to change it to Resurrection Remix-OS.
Before do it, I have the next questions:
I already Have the .img from Codework's TWRP, can I dirty flash it through my current TWRP to "upgrade" it or should I just use cmd via Windows with fastboot mode?
I want to wipe all my actual data (apps, media, etc) to let the OP5 empty and begin form 0? Can I wipe data now that I am in FreedomOS and it will start the rom like the 1st time? Will may be some problems if I do it?
I have my OP encrypted, is this a problem? If I must unencrypt it, how can I do it?
I hope you can help me, I do not want to become my OP5 in a paperweight.
Thank you for the help! :fingers-crossed:
Make sure the following,
1. TWRP should be latest, atleast 3.2.1 (check RR ROM about which version of TWRP it suggests)
2. Most of the custom ROM suggests clean flash i.e wipe Dalvik, Cache, System and Data in TWRP
3. Take complete backup of your apps via Titanium Backup or any similar app
4. Before you flash, make sure to take a full system backup in TWRP and transfer to your PC just in case
5. Secure all your images, videos, files from your device internal memory to your PC just in case your phone gets formatted
6. If the ROM sugest to do format data in TWRP (TWRP > Wipe > Format data), it will decrypt your phone and consequently you will loose all your information from your internal memory, and this is the reason why you have take full copy of your info as explained in step 5 above
As long as you make sure the steps mentioned above are taken care, you are good to go..

Redmi 7A How to recover files after TWRP Wipe data ?

Hi,
This is a continuation of my errands in magisk-support-2661and magisk-support-2662. I'm interested in the twrp aspect here, hopefully someone who knows twrp welll reads this.
Basically this is a Redmi 7A phone with stock MIUI 10.2.5 and twrp 3.3.1. Phone got messed after updating Magisk to latest version, and while trying to fix it i accidentally wiped data from within twrp. It says this preserves internal storage so I thought this would be ok, but internal storage is encrypted on this device and after doing this i can't access my files from twrp anymore (before it used to ask for my pattern). Files are still there encrypted, and looks like keys are still there in /data/misc so I guess all hope is not lost.
Any ideas on how twrp Wipe data functionality is supposed to work on encrypted storage devices, and how to get one's files back afterwards ?
Help appreciated before i mess things up further =)
lemonsqueeze said:
Hi,
This is a continuation of my errands in magisk-support-2661and magisk-support-2662. I'm interested in the twrp aspect here, hopefully someone who knows twrp welll reads this.
Basically this is a Redmi 7A phone with stock MIUI 10.2.5 and twrp 3.3.1. Phone got messed after updating Magisk to latest version, and while trying to fix it i accidentally wiped data from within twrp. It says this preserves internal storage so I thought this would be ok, but internal storage is encrypted on this device and after doing this i can't access my files from twrp anymore (before it used to ask for my pattern). Files are still there encrypted, and looks like keys are still there in /data/misc so I guess all hope is not lost.
Any ideas on how twrp Wipe data functionality is supposed to work on encrypted storage devices, and how to get one's files back afterwards ?
Help appreciated before i mess things up further =)
Click to expand...
Click to collapse
Before you wiped data, was TWRP able to decrypt? able to view what you call internal storage?
J.Michael said:
Before you wiped data, was TWRP able to decrypt? able to view what you call internal storage?
Click to expand...
Click to collapse
Yes, it asked for my pattern and was able to decrypt the files.

Categories

Resources