Encryption problem - Xiaomi Mi 9 Questions & Answers

Hi guys,
Im usging twrp with eu rom .
And now i can't flash nothing, because i get encrypted files and folders in twrp.
Tried formatting the internal storage like i read.
But its not working.

havlaz said:
Hi guys,
Im usging twrp with eu rom .
And now i can't flash nothing, because i get encrypted files and folders in twrp.
Tried formatting the internal storage like i read.
But its not working.
Click to expand...
Click to collapse
This is what i did and now i can see my files in internal storage:
I started from O based Xiaomi.eu ROM.
1) Rebooted to this TWRP https://mega.nz/#!bV1zSaKL!U3Ot4vhj35hg2Ti2z96cHy0RsNMYBIL5hmnQedu2Ybc
2) Wiped cache, dalvik, system, data and internal storage
3) Formatted internal storage
4) Rebooted to TWRP
5) Copied Q based Xiaomi.eu ROM and Magisk 19.3 zip file and apk (now you'd be able to see internal storage in TWRP)
6) Installed Q based Xiaomi.eu ROM and Magisk 19.3.zip
7) Rebooted system and starded with the initial configuration (language, etc)
8) Rebooted again to TWRP and formatted again internal storage
9) Rebooted again to TWRP and copied all my personal data from pc to the smartphone
10) Rebooted system again
Now every time i reboot the smartphone to TWRP i can see all files and than update the ROM

Related

How to delete all files from storage, after install CM from MIUI

Hi,
from MIUI 8.2.0 global stable I have sucessfully installed CM 13.
Before the installation progress and after flashed TWRP3020 on the first window from TWRP, I have choosed to maintain a specific place "read only". I was insure, so I decided to do so.
Then I wiped the system with TWRP. I choose Dalvik, System, Data and Cache. Just in internal storage I didnt mark to wipe.
I have installed CM13 and Gapps. Everything goes fine. But the Theme-Designer (where to choose themes) allways fail to start. In another Mi5 pro (2 pieces here) I have made all the same like in this one, and the Theme-Designer starts normal.
So I find, that in my storage, there are many old files from MIUI. They are not deleted and I understand why. Because I didnt mark in TWRP to wipe the internal storage.
So I gone to the settings in CM to reset to factory settings and made it. After starting the phone I saw, that all the folders are still there.
Now I am affraid, that something in the storage makes the Theme-Designer crash. I dont have another explication.
And after the installation I made today a update OTA to the newest version of CM (08.09.16) and the problem continues.
Is there a possibility to make a real clean install, wiping all the storage without to buy a USB-Stick to put there the install files for CM13 and Gapps? Or not?
Or ist there another way, to wipe the data storage? If I would make this with TWRP, I think that CM wouldnt start, because the folder "Download" would also be deleted. Or is there another folder, that is protected, to put the files there?
And I also had problems with bluetooth with MIUI with my Volvo. And with CM13 the problem continues. Maybe it has to do with some old files from MIUI, that are still in the system.
Can someone help?
No idea? Or a good link?
After I have installed CM 13 and Gapps, what happens if I go in TWRP and choose to wipe internal storage? Do I have after that a clean install without traces of the old OS or is all gone and I cant boot?
You can go back to TWRP and wipe internal storage, you'll still be able to boot into the ROM.
Sent from my EVA-L09 using Tapatalk
try in trwp ,wipe internal storage,wipe data

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 Internal storage unable to Mount (internal 0mb) redmi note 4 (mido)

There is an akward situation, whenever i try to go into TWRP for flash any zip aur img file , TWRP does not show any such file. It is 100% sure that i transfer the flasheable zip file to the mido. But TWRP does not show. It shows 0mb internal storage. And i tried to wipe delvik cashe data system but it gives a message and error in red color that data not mount.
So for this i just formate the phone by twrp... It get easly formate by typing YES and delete all the internal storage, after that i can wipe all the stuff under advanced wipe by selecting all the options system data delvik cashe.... Etc.
After doing this i just power off the phone by twrp, and again boot the phone into twrp recovery by pressing volume up+ power button
And then twrp shows 52 gb aprx internal , so i transfer the custom rom zip file and gapps zip to the phone using computer.
After that i had flash the rom and reboot the phone into system..
The phone get started and work awsome.
Now after an hour latter , i had again reboot the device to recovery ... To flash magisk manager ... Guys i am shoked the internal storage shows 0 mb instead of actual memory.
Again does not shows any zip file, img file.
So i have to follow all the steps that i performed before formate the phone and reboot to recovery then transfer magisk and then flash it.
The problem is why twrp again and again shows 0mb error ...
So i also flash the miui using fastboot method (clear all) clean flash, then flash the twrp after that flash the custom rom.
After flashing rom , Now again reboot to recovery it shows 0 mb internal and data unable to mount.
Twrp fix temporary not permanent.
Please tell me if you find any solution for this for permanant fix twrp 0 mb error....
dheerajsinghal said:
Please tell me if you find any solution for this for permanant fix twrp 0 mb error....
Click to expand...
Click to collapse
Wrong section here.
https://forum.xda-developers.com/redmi-note-4
Hi! actually i had similar issue after restoring all partitions (not just boot data and system, but all the 10 or more partitons) on my redmi 4x. i couldnt mount the data partition it got corrupted somehow. I couldnt format it in twrp too. Reflashing everything in my flash solved the problem, just dont forget to NOT choose the option with RELOCK, or you will lock the bootloader.

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.

How To Guide [FIXED] Apps not updated or install after MIUI 13 to 14 Upgrade.

ISSUES :
You get error message when you try to update apps in Play Store or unable to install an apk saying "Out of storage space".
Requirement :
Your phone must be an bootloader unlocked phone and flash and use OrangeFox recovery (I prefer OrangeFox this time).
^^^^^^^^^^WARNING! ALL YOUR DATA WILL BE GONE^^^^^^^^^^ Back up your data to other device or using cloud-based backup.
SOLUTION :
Boot your phone in to Orange Fox Recovery. Mount all partitions available and shown there. Erase these partitions "Data" (NOT Data Format), "Dalvik-cache" & "Cache".
Mount / Enable MTP (can't get connected? Turn it off and back on).
Copy your MIUI14 firmware in to internal storage.
After copying, go to \data\media. Click the flashable miui14 zip and install it as Flashable zip. Wait till it's finished. After that, clear "Dalvik-cache & cache".
I recommend a full reset after phone is booted completely. Your external memory card will be erased too.
Go to \data\media and delete the flash zip file to gain some storage space.
Thank you.

Categories

Resources