Flash ROM with encrypt data - Xiaomi Mi 5 Questions & Answers

Ladies and gentleman's , a question ! )
We have phone with encrypted data or may be not , when I enter twrp or boot OS it ask password (pin code) , I know it because I entered it by my self while first run , and now a question - can I flash another ROM in this situation without loosing my data ?
Thnx )

When you change ROM you have to factory reset or you may have many problems, it's not advized.

Well, deleting your data or not has nothing to do with encryption if you have the pin.
This depends on the ROM you're going to install.
But it is always recommended to make a full wipe before flashing any ROMs.
Enviado de meu MI 5 usando Tapatalk

I think he meant to ask about "format data"
Wipe is always advised in every OP instructions.

Related

Wipe from Recovery Mod

I will using in recovery - Wipe data.
Is it dangerous to apply ?
Also what do they do?
If they're not dangerous, what's the benefits of using them?
I ask because i flashed last time firmware, in root of phone was stay some folders and data from pasts firmwares. Can i after wipe, flashing total fresh stage firmware.
Thanks forwarding on answer.
Regards

[Q] Flash stock ROM by Odin dont erase all user data?

I was surprised that after flashing stock ROM by ODIN, phone was not cleaned from the user data.
I mean: account settings, applications installed by user, etc.
I know that flashing dont erase data from internal/external SD card, but why all data was still exist?
Only Wipe Data / Factory Reset will erase all user data?
Btw, Merry Xmas
darcik said:
I was surprised that after flashing stock ROM by ODIN, phone was not cleaned from the user data.
I mean: account settings, applications installed by user, etc.
I know that flashing dont erase data from internal/external SD card, but why all data was still exist?
Only Wipe Data / Factory Reset will erase all user data?
Btw, Merry Xmas
Click to expand...
Click to collapse
Nope, factory reset will not erase all user data. Go into setting/storage and delete from there (not sure cause I didn't have the device now). If you want to erase using odin, tick the repartition box while flashing the firmware. This is the easiest way I think.
Odin flash doesn't wipe user apps and their data, but it may cause bugs if you come from another ROM...
E.g : if u soft bricked on stock JB, just odin flash is necessary.
for other ROMs, it may or may not lag.
I will describe my way.
I tried to install CM 10.2
I did factory reset, next steps follow procedure.
When I did first start, unfortunately keyboard stop working, so my cyjanogen install failed and I decided back to old system using backup.
After restore and start, phone required settings like on first start after factory reset.
Lol, big surprise.
Ok, I entered necessary information but after reset -
again same like after factory reset
I tried from another backup with same result.
Hmm, big mess.
So I flash stock ROM by Odin.
And new surprise - phone with fresh system and all my own settings and applications from last restore.
Two disappointments:
1. Restore from backup does not cause a return to the initial state.
2. Flash ROM by Odin don't make factory state of phone.
I have question, if format partitions: system and data and next restore backup will do real state phone on this backup?
GT-I9070 ==> Tapatalk space
darcik said:
I will describe my way.
I tried to install CM 10.2
I did factory reset, next steps follow procedure.
When I did first start, unfortunately keyboard stop working, so my cyjanogen install failed and I decided back to old system using backup.
After restore and start, phone required settings like on first start after factory reset.
Lol, big surprise.
Ok, I entered necessary information but after reset -
again same like after factory reset
I tried from another backup with same result.
Hmm, big mess.
So I flash stock ROM by Odin.
And new surprise - phone with fresh system and all my own settings and applications from last restore.
Two disappointments:
1. Restore from backup does not cause a return to the initial state.
2. Flash ROM by Odin don't make factory state of phone.
I have question, if format partitions: system and data and next restore backup will do real state phone on this backup?
GT-I9070 ==> Tapatalk space
Click to expand...
Click to collapse
1. Almost every restore from backup for me it returned phone on state when backup was made. Only if my backup was bad (did not have enough place on sd for backup or something corrupted it).
2. Flashing stock ROM by Odin do not touch data partition (or folder whatever it is). So if you want to erase that, you need to make factory reset. It is like that on every Samsung Android device - I am not sure for other, never used.
When you come back from any CM10.2, Omni 4.3 and CM11 based ROM - first flash stock with Odin, do factory reset - and after that restore backup (ofcourse first root, install CoCore kernel for CWM before restore - you can't use restore in stock recovery).
Tnx for answers.
This is weird that format system partition not enough to get rid of the CM
But I checked this again and exactly after refresh ROM by Odin - restore my settings and data works fine.
Hmm imo this is mess in whole Android system
darcik said:
Tnx for answers.
This is weird that format system partition not enough to get rid of the CM
But I checked this again and exactly after refresh ROM by Odin - restore my settings and data works fine.
Hmm imo this is mess in whole Android system
Click to expand...
Click to collapse
Explanation for that, TeamJanica used preload partition for swap, and it is patitioned in other format than the one stock ROM use. That partition is not used on CM for files, but it has it's use on stock based ROM.
shut_down said:
Explanation for that, TeamJanica used preload partition for swap, and it is patitioned in other format than the one stock ROM use. That partition is not used on CM for files, but it has it's use on stock based ROM.
Click to expand...
Click to collapse
Tnx for explanation :good:
Is there somewhere a description of the organization of the file system, partitions in our device?
darcik said:
Tnx for explanation :good:
Is there somewhere a description of the organization of the file system, partitions in our device?
Click to expand...
Click to collapse
I think there is in some of the first posts of developer thread. I will try to find it and post if I get it.
Maybe this http://forum.xda-developers.com/showpost.php?p=30694671&postcount=288
shut_down said:
I think there is in some of the first posts of developer thread. I will try to find it and post if I get it.
Maybe this http://forum.xda-developers.com/showpost.php?p=30694671&postcount=288
Click to expand...
Click to collapse
Tnx, as usual you are very helpfull
How I missed this topic?
darcik said:
Tnx, as usual you are very helpfull
How I missed this topic?
Click to expand...
Click to collapse
It is made 25th August 2012. Maybe because of that.
Heeeelp pleeeease
Ive got a problem with frp protection my daughter forgot everything so i restored to factory and used odin 3 v13.3 and correct firmware to flash it but when odin says pass the phone erases itself of the flashed firmware it’s a galaxy s7 edge any help would be grateful im pulling my hair out now .
j7 nxt stock frimware flash failed
i accidentally wiped vendor,syastem and all and now i can only install custom gsi roms.
While flashing stock frimware it stuck at set partition adn cannot install stock frimware please helpe to get this fixed?
gauravsapkotanp said:
j7 nxt stock frimware flash failed
i accidentally wiped vendor,syastem and all and now i can only install custom gsi roms.
While flashing stock frimware it stuck at set partition adn cannot install stock frimware please helpe to get this fixed?
Click to expand...
Click to collapse
supposedly you have downloaded the stock FW, flash via Odin with re-partition ticked. if it fails, extract the PIT file from CSC_OMC_OXM_XXX save it in a location and load it at the pit session via Odin the re-flash again with re-partition ticked.

Factory Reset for Lock Pattern

My Friend Locked his Phone with Pattern and not he doesnt know his password
also he doesnt know his Gmail account .. so i can do it from there.
My Attempts :
1.Flash Stock Rom from SamMobile - Fail (Password Still There)
2.Enter Recovery Mode tring to Wipe Data Factory and Cache - For some odd reason there is a password there also - Fail.
3.Installing Custom Recovery and wiping Data - Stuck on Wiping Data - Fail.
i couldnt care less about the Data in the phone..
i just want to install new Rom or anything else to make it work.
Thank you.
TDMaster said:
My Friend Locked his Phone with Pattern and not he doesnt know his password
also he doesnt know his Gmail account .. so i can do it from there.
My Attempts :
1.Flash Stock Rom from SamMobile - Fail (Password Still There)
2.Enter Recovery Mode tring to Wipe Data Factory and Cache - For some odd reason there is a password there also - Fail.
3.Installing Custom Recovery and wiping Data - Stuck on Wiping Data - Fail.
i couldnt care less about the Data in the phone..
i just want to install new Rom or anything else to make it work.
Thank you.
Click to expand...
Click to collapse
You can try doing it through adb, with the command "adb shell wipe data"or try flashing another Recovery and then wipe the Data partition. That might help.
fixed it already..
replaced PIT file and removed SD CARD while doing Odin.

Mi Max 2 Flashing Time using Mi Flash took almost an hour. is it Normal?

I was checked that MIUI 10 dev is out and try it. It was successful but the time took to flash is almost like an hour. Is it normal?
I already unlocked bootloader and was coming from RR 6 before
I really appriciate any answer. Thanks
Don't use MI flash tool. Use TWRP to flash it and no an hour or even 30 minutes is not normal.
I don't remember flashing any roms using Mi Flash tool for Max2. If you are flashing from one ROM to another, make sure to format the partition and reset partition to recreate especially when going back to MIUI. Backup if you need to.
Note: I always use an external storage so all my roms are there and I don't really mind formatting every time I Flash new rom.
tlayn said:
Don't use MI flash tool. Use TWRP to flash it and no an hour or even 30 minutes is not normal.
I don't remember flashing any roms using Mi Flash tool for Max2. If you are flashing from one ROM to another, make sure to format the partition and reset partition to recreate especially when going back to MIUI. Backup if you need to.
Note: I always use an external storage so all my roms are there and I don't really mind formatting every time I Flash new rom.
Click to expand...
Click to collapse
Thank you for the answers. Could you help me with it man? I don't know how that repartition things work ?

Question Need help installing Xiaomi EU Weekly

Hey, so i opened my Bootloader and now I cant find how the hell to flash the latest Weekly version of Xiaomi EU, can someone help me? I searched on youtube but they flash via Fastboot and I don't see a weekly version with Fastboot
Follow the instructions found on the first post here https://forum.xda-developers.com/t/...mi-eu-rom-for-xiaomi-mi-11-pro-ultra.4260617/
Look at the bottom, there's an edit that tells you how to install TWRP, that's the primary way to install the new versions of that rom
Bananablob said:
Follow the instructions found on the first post here https://forum.xda-developers.com/t/...mi-eu-rom-for-xiaomi-mi-11-pro-ultra.4260617/
Look at the bottom, there's an edit that tells you how to install TWRP, that's the primary way to install the new versions of that rom
Click to expand...
Click to collapse
HELP - i flashed the EU rom and wiped Dalvik cache, and reeboted, now It reboots to the TWRP over and over again, what do I need to do?
You also need to wipe data and such before flashing, so maybe you didn't notice or forgot, but as long as you have TWRP, you can recover.
Maybe your ROM download got corrupted. If possible, check the checksum, they should provide it.
It's also possible your USB port + cable combo doesn't work properly, it's happened to many people, so if you are sure it's not the rest, it might be just that
Bananablob said:
You also need to wipe data and such before flashing, so maybe you didn't notice or forgot, but as long as you have TWRP, you can recover.
Maybe your ROM download got corrupted. If possible, check the checksum, they should provide it.
It's also possible your USB port + cable combo doesn't work properly, it's happened to many people, so if you are sure it's not the rest, it might be just that
Click to expand...
Click to collapse
I flashed it but now every app I open crushes, Im on weekly version and I restored apps from the Xaiomi backup, do you know why?
I can't say I do, but I'd assume it's because Xiaomi backup is configured to work only on stock roms.
It's possible that uninstalling and reinstalling each app using whatever the proper app shop is for the given app will fix it without losing the restored data and cache for it.
Bananablob said:
I can't say I do, but I'd assume it's because Xiaomi backup is configured to work only on stock roms.
It's possible that uninstalling and reinstalling each app using whatever the proper app shop is for the given app will fix it without losing the restored data and cache for it.
Click to expand...
Click to collapse
omg I only did it because i thought I would be able to restore everything within 1 click and now everything crushes. I have like 100 apps + tons of accounts to login
I would always assume auto backup things to fail when you need them.
Try to reflash your original rom from here and restore using the same backup tool: https://forum.xda-developers.com/t/miui-updates-tracker-mi-11-pro-ultra-star-mars.4263135/
Then you can reevaluate how you wanna backup and restore to transition.
It's possible it failed because you have an official rom backup, but it would work if the tool had backed up from Eu to Eu
Bananablob said:
I would always assume auto backup things to fail when you need them.
Try to reflash your original rom from here and restore using the same backup tool: https://forum.xda-developers.com/t/miui-updates-tracker-mi-11-pro-ultra-star-mars.4263135/
Then you can reevaluate how you wanna backup and restore to transition.
It's possible it failed because you have an official rom backup, but it would work if the tool had backed up from Eu to Eu
Click to expand...
Click to collapse
I dont wanna mess with reinstalling CN version, etc
I will just Factory reset and reinstall manually..
To factory reset in brings me to TWRP, why is it?
Because you installed TWRP instead of the normal recovery utility, you now have TRWP in that partition on your phone. If you use TWRP to flash the proper stock ROM, it will have the same effect as using factory reset using the stock recovery utility. BTW, the stock recovery utility is not built to support having flashed another rom, so you're in good hands having TWRP instead.
You probably had issues because you only wiped dalvik rather than format data after installing the EU ROM. You must format data after flash because the different branches have different partition layouts, hence your problems.
As you must format, you might as well start from scratch again or go in to twrp wipe menu and select format, type yes to confirm and then reboot system. If you want to go down the full install, then flash the ROM again, format data, with the yes confirmation, then reboot system. After each update, just a dalvik wipe is

Categories

Resources