Switch rom without wiping internal storage. - Xiaomi Mi Mix 2S Questions & Answers

I would like to switch from MIUI (xiaomi.eu) to some custom rom. On my previous phone (redmi note 4x) it was possible to switch any rom without formatting internal storage ( factory reset was not needed. wipe system, data, cache was enough). I dont know if i remember it correctly but i think some additional .zip file was needed during installation of new rom. (EDIT: maybe i had some twrp that resolve it without that zip )
BUT now when i try install rom without factory reset twrp show some error codes until i do factory reset
Maybe it has something to do with forced encryption or something? (dm-verity? idk, i do not understand it that much)
Can someone help me, give me some advice?

Related

System UIDs inconsisten

Hi! anyone know why I get this message every time I turn on the Tablet? that's what I do?
Depends what your situation is:
Custom rom and recovery?
Enter TWRP > Advanced > Fix permissions
Stock, no root?
Reflash Asus firmware
I did fix permissions but the same result. The massage said: UIDs on the system are inconsistent, you need to wipe your data partition or your device will be unstable. How could I do wipe data partition?
I have t700 cromi-xenogenesis 5.4-10.6.1.27.5 we codex with TWRP 2.8.5.0 installed.
Thanks
In TWRP go to Wipe and swipe the button.
Then reflash your rom.
It'll wipe apps and settings but not your personal data.
If that doesn't help, you'll have to format data in TWRP. That will wipe everything on internal, so backup first.
500cacique said:
I did fix permissions but the same result. The massage said: UIDs on the system are inconsistent, you need to wipe your data partition or your device will be unstable. How could I do wipe data partition?
I have t700 cromi-xenogenesis 5.4-10.6.1.27.5 we codex with TWRP 2.8.5.0 installed.
Thanks
Click to expand...
Click to collapse
1. One could ignore the message (that what I did once for months without problems).
2 Install newest Titanium Backup, on start it has a routine that can fix that problem. Or go to Menue=>device=>manage Android ID.
I finally installed the ROM Cromie-kk without errors. the only problem I have is that the screen has lost sensitivity. I need to do much pressure on the screen to perform the action. After a few seconds, the action runs. It is a hardware, software ??? Thanks for all

TWRP SD card wipe and new ROM install

Hello
I'm currently running a custom ROM (darkobas) but I'm having a few problems.
I would like to do a new fresh/clean install but would like to wipe everything, not only data and caches. TWRP gives me the chance to do a complete wipe, including SD card wipe/erase.
The problem is, if I do a complete wipe, I will loose the downloaded ROM and GApps and I wont be able to install anything!!!
How can I solve this?
Thank you for your help
Salomao
salomaoa said:
Hello
I'm currently running a custom ROM (darkobas) but I'm having a few problems.
I would like to do a new fresh/clean install but would like to wipe everything, not only data and caches. TWRP gives me the chance to do a complete wipe, including SD card wipe/erase.
The problem is, if I do a complete wipe, I will loose the downloaded ROM and GApps and I wont be able to install anything!!!
How can I solve this?
Thank you for your help
Salomao
Click to expand...
Click to collapse
Checkmark and wipe system, data and the two caches. Uncheck and leave your SD data card alone.

Disable encryption protection?

Hi Guys
Im having trouble flashing new Roms to my S7. When I enter TWRP recovery, it shows my device as 0MB and it doesnt picK up any files. I looked into this and read that Encryption should be disabled on the handset. I followed instructions to do this and noticed that there is no option for Encryption Protection. Its not there!
I disabled any passwords and Pin numbers to erase decryption and it still didnt work!
last resort was to try a factory reset and the device restarted to recovery and failed as TWRP recovery cant find any mounted devices due to the encryption crap.
Any help appreciated.
Chris
scientificharmony said:
Hi Guys
Im having trouble flashing new Roms to my S7. When I enter TWRP recovery, it shows my device as 0MB and it doesnt picK up any files. I looked into this and read that Encryption should be disabled on the handset. I followed instructions to do this and noticed that there is no option for Encryption Protection. Its not there!
I disabled any passwords and Pin numbers to erase decryption and it still didnt work!
last resort was to try a factory reset and the device restarted to recovery and failed as TWRP recovery cant find any mounted devices due to the encryption crap.
Any help appreciated.
Chris
Click to expand...
Click to collapse
Hi mate
Seems like you did not format your data partition during TWRP installation.........
Try flashing your custom rom from the External SD card......your data partition has all your app , files , passwords, photos...there is still a chance that there it may be a incompatibility issue between your apps and the new rom....that is why they recommend a factory reset when flashing a new custom rom
MAX 404 said:
Hi mate
Seems like you did not format your data partition during TWRP installation.........
Try flashing your custom rom from the External SD card......your data partition has all your app , files , passwords, photos...there is still a chance that there it may be a incompatibility issue between your apps and the new rom....that is why they recommend a factory reset when flashing a new custom rom
Click to expand...
Click to collapse
hi mate
thanks for your reply. I dont have an external SD card
Is there any other way of sorting this? I am downloading a stock rom as we speak.
scientificharmony said:
hi mate
thanks for your reply. I dont have an external SD card
Is there any other way of sorting this? I am downloading a stock rom as we speak.
Click to expand...
Click to collapse
Hi
TWRP can not handle Samsung encryption . if you wish to use TWRP and have access to the Data partition ( internal SD card) you need to format it so the encryption is disabled ( you lose all your apps , data and user configuration AKA factory reset) , you can have TWRP and data encryption but mods and roms have to be flashed from external memories also you will not have available MTP in recovery or factory reset from it.
There is no way to disable data encryption without format data.....
Ok, I got a friends SD card and placed the Rom on there. I can now see the Rom but the trouble is, TWRP wont let me wipe Dalvik / data / system / cache as it wont mount the storage....
can I still apply the ROM?
Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all of your data.
scientificharmony said:
Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all of your data.
Click to expand...
Click to collapse
That is why I point it out " factory reset is recommended when flashing custom rom" if you wish to flash a custom rom you will have to format your data partition and flash the data verify file........
MAX 404 said:
That is why I point it out " factory reset is recommended when flashing custom rom" if you wish to flash a custom rom you will have to format your data partition and flash the data verify file........
Click to expand...
Click to collapse
I have tried to format/wipe data. TWRP keeps saying it failed as it cant mount the storage.
I tried flashing the stock rom via odin and it also failed as it goes to recovery to wipe data and it fails again as it cant mount storage.
scientificharmony said:
I have tried to format/wipe data. TWRP keeps saying it failed as it cant mount the storage.
I tried flashing the stock rom via odin and it also failed as it goes to recovery to wipe data and it fails again as it cant mount storage.
Click to expand...
Click to collapse
How did you flash the stock rom...which files did you use?
Wipe data is not enough you have to Wipe / FORMAT DATA and type yes....
1 To get rid of encryption, go to "wipe", format data (TWRP) (keyboard will pop up) then type "yes" and format it, then reboot to recovery
2. After flashing this, hit wipe, full wipe (this will clean all internal memory and your data will be lost
3 you can test if encryption is still enabled, if TWRP shows error about not mounting data your phone is still encrypted
Sent from my SM-G930F using XDA-Developers mobile app
Josh Smith10 said:
1 To get rid of encryption, go to "wipe", format data (TWRP) (keyboard will pop up) then type "yes" and format it, then reboot to recovery
2. After flashing this, hit wipe, full wipe (this will clean all internal memory and your data will be lost
3 you can test if encryption is still enabled, if TWRP shows error about not mounting data your phone is still encrypted
Sent from my SM-G930F using XDA-Developers mobile app
Click to expand...
Click to collapse
What version of TWRP are you guys using and what version Super SU?
Delete

Encryption Unsucessful Fix

I am trying to install an Oreo based ROM lineage os 15.1
Currently data partition is ext4
Latest Twrp installed
But still whenever I try to install any Oreo ROM I get encryption unsuccessful message and even after factory reset with yes I get stuck on same thing again and again and if I try to change recovery after installing ROM the phone gets stuck in boot loop can anyone please help to solve this problem
I think this will solve ur issue
Yup I have also the same problem first of all do all these steps I think it resolve your issue:-
1. Go to settings of TWRP and reboot recovery.
2. Now format all the internal storage if u have important files in internal storage skip this step
3. After that go to advanced wipe and select system and data one by one and change its format to ext4.
4. Now advanced wipe everything.
5. Thats all now you can install lineage 15.1
I did the same and its working properly in my phone.
This problem occurs due to change of format of data to f2f so convert it to EXT4 and its fine
when you did advanced wipe to evertything is data, cache, system, etc? i already did this but still saying me that my phone was encrypted and i have to unlock with the pin or my account but i get a loop even if i put the correct user and password.
Udgam Tiwari said:
Yup I have also the same problem first of all do all these steps I think it resolve your issue:-
1. Go to settings of TWRP and reboot recovery.
2. Now format all the internal storage if u have important files in internal storage skip this step
3. After that go to advanced wipe and select system and data one by one and change its format to ext4.
4. Now advanced wipe everything.
5. Thats all now you can install lineage 15.1
I did the same and its working properly in my phone.
This problem occurs due to change of format of data to f2f so convert it to EXT4 and its fine
Click to expand...
Click to collapse
Normal procedure. Fastboot boot command
Boot to TWRP.
Reboot to TWRP through reboot menu.
Factory reset.
Advanced wipe: change data file format to ext4
Reboot to TWRP through reboot menu again.
Wipe, format data.
Now wipe system, cache and dalvik.
Reboot to TWRP again.
Flash rom.
Gapps.
Magisk if wanted.
Wipe dalvik and cache.
Reboot and enjoy
Murkroow said:
when you did advanced wipe to evertything is data, cache, system, etc? i already did this but still saying me that my phone was encrypted and i have to unlock with the pin or my account but i get a loop even if i put the correct user and password.
Click to expand...
Click to collapse
Bro I already mentioned first of all you have to Factory reset but it will wipe all your data from internal storage so do have a back up for that. Encryption issue can only resolved by factory reset.
Check out my video
​It helped many people hope it helps you.
https://m.youtube.com/watch?v=Ov_Eq268_4U

Do I need to format data (deleting everything) to install lineageOS?

Hello, forum!
My current Pixel 2 is using the stock google system but I haven't updated the OS since March, partly because it's rooted
and the update process is not as easy.
Now that google said it'd only support the phone till this December, I'm thinking to install lineageOS.
However according to its installation guide:
...
3. Now tap Wipe.
4. Now tap Format Data and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage.
...
It's surprising that it need clear internal storage?
p.s. I may also think about installing Resurrection Rom. Does it require 'formatting data' then?
Afaik you must back up everything before installing new ROM, because when you install custom ROM you will wipe and format system and it will erase everything in your internal storage
If its rooted try modded version of twrp to backup your internal data as well
armuttaqin said:
Afaik you must back up everything before installing new ROM, because when you install custom ROM you will wipe and format system and it will erase everything in your internal storage
Click to expand...
Click to collapse
No, it's not, nobody wipes /data/media during rom replacement only /data.
However if his bootloader is locked, bootloader unlock will wipe everything, so before switching from stock a backup is must.
Alright, guys. Thanks for the input. Guess I'll just backup the internal storage and do as told.

Categories

Resources