[GUIDE] Flashing oreo roms on mi a1 without wiping internal storage. - Xiaomi Mi A1 Guides, News, & Discussion

Hello guys .
This is a guide to flash lineage os 15.1 or any other oreo rom on mi a1 without any fuss, bugs, wiping internal storage. And update it by dirty flashing it. I personally use this method and others have also used resulted in booting safely with zero bugs in the rom, no force closes.
So here you go :-
1- boot to twrp
2- wipe system,cache,data
3- check on which slot you are.
4- if you are on A, change to B (after wiping).
5- boot to bootloader and boot to twrp which I gave.
6- wipe slot B also. (System,cache,data)
7. Don't touch slots and boot to recovery.
8- just flash los15.1 rom from there and nothing else.
9- go to bootloader and again boot to twrp
10- flash gapps and boot to bootloader.
11- again boot to twrp which I gave and flash magisk.
12- reboot.
Enjoy. You have los 15.1 without wiping internal or downgrading to nougat or wiping internal storage.
So now here's the guide to update it. (Dirty flash)
(Remember to remove your pattern, pin, password before flashing or backing up)
1- Backup your data using twrp which I linked down below.
2- boot to twrp which I gave you.
3- wipe system,cache,data
4- check on which slot you are.
5- if you are on A, change to B (after wiping).
6- boot to bootloader and boot to twrp which I gave.
7- wipe slot B also. (System,cache,data)
8- Don't touch slots and boot to recovery which i have
linked down below .
9- just flash los15.1 rom from there and nothing else.
10- go to bootloader and again boot to twrp which I gave.
11- flash gapps and boot to bootloader.
12- again boot to my twrp and flash magisk.
12- reboot. Let it boot completely and skip the setup.
13- boot to twrp i linked down.
14-just restore your data backup and reboot.
Congo you have successfully updated your rom without wiping data and also whosoever is facing bugs like fp not working and other bugs use this method. Everything will surely work.
Anyone who has a problem can message me on telegram. Username- droidreboot
Hit the Thanks button if it helped
Have a good day.
Twrp link- https://www.androidfilehost.com/?fid=818070582850498337
*Thread Updated. Now we can use 1 recovery. It'll do all work*

It actually works and doesn't raise or gives any bugs/issues. Great work bro!

bikramsingh.97 said:
It actually works and doesn't raise or gives any bugs/issues. Great work bro!
Click to expand...
Click to collapse
Thanks ??

Nobitaa said:
Hello guys .
This is a guide to flash lineage os 15.1 or any other oreo rom on mi a1 without any fuss, bugs, wiping internal storage. And update it by dirty flashing it. I personally use this method and others have also used resulted in booting safely with zero bugs in the rom, no force closes.
So here you go :-
1- boot to twrp which I gave you.
2- wipe system,cache,data
3- check on which slot you are.
4- if you are on A, change to B (after wiping).
5- boot to bootloader and boot to twrp which I gave.
6- wipe slot B also. (System,cache,data)
7. Don't touch slots and boot to deadman's recovery.
8- just flash los15.1 rom from there and nothing else.
9- go to bootloader and again boot to twrp which I gave.
10- flash gapps and boot to bootloader.
11- again boot to twrp which I gave and flash magisk.
12- reboot.
Enjoy. You have los 15.1 without wiping internal or downgrading to nougat or wiping internal storage.
So now here's the guide to update it. (Dirty flash)
(Remember to remove your pattern, pin, password before flashing or backing up)
1- Backup your data using twrp which I linked down below.
2- boot to twrp which I gave you.
3- wipe system,cache,data
4- check on which slot you are.
5- if you are on A, change to B (after wiping).
6- boot to bootloader and boot to twrp which I gave.
7- wipe slot B also. (System,cache,data)
8- Don't touch slots and boot to deadman's recovery.
9- just flash los15.1 rom from there and nothing else.
10- go to bootloader and again boot to twrp which I gave.
11- flash gapps and boot to bootloader.
12- again boot to my twrp and flash magisk.
12- reboot. Let it boot completely and skip the setup.
13- boot to twrp i linked down.
14-just restore your data backup and reboot.
Congo you have successfully updated your rom without wiping data and also whosoever is facing bugs like fp not working and other bugs use this method. Everything will surely work.
Hit the Thanks button if it helped
Have a good day.
Twrp link- https://drive.google.com/file/d/1eM-tMUcEWx_e0iTdnXwSyOk7B1mgO1Zi/view?usp=sharing
Click to expand...
Click to collapse
after updating the latest OS, apps which are installed in before build will erased ah?

bikramsingh.97 said:
It actually works and doesn't raise or gives any bugs/issues. Great work bro!
Click to expand...
Click to collapse
dvishalkhatri said:
after updating the latest OS, apps which are installed in before build will erased ah?
Click to expand...
Click to collapse
If you're updating none of your apps or data will get erased. But if you are moving from stock oreo to this rom, it's like resetting your device. That's it. ?

not working while booting in dead man recovery 0mb internal error

Nobitaa said:
If you're updating none of your apps or data will get erased. But if you are moving from stock oreo to this rom, it's like resetting your device. That's it. ?
Click to expand...
Click to collapse
Actually at start I didn't backup the data in twrp that's y it happened

dvishalkhatri said:
Actually at start I didn't backup the data in twrp that's y it happened
Click to expand...
Click to collapse
Backup and restore backup only if you are updating. Not upgrading from stock rom to any oreo rom. ?

[email protected] said:
not working while booting in dead man recovery 0mb internal error
Click to expand...
Click to collapse
Place rom in memory card. Bug in deadman recovery

Nobitaa said:
Only update
Click to expand...
Click to collapse
While updating from previous ROM i tried to update but all apps got erased ... After i tried the data backup in TWRP then only i got my apps back...

[email protected] said:
not working while booting in dead man recovery 0mb internal error
Click to expand...
Click to collapse
Use sd card

Thanks and If I want to flash the same stock rom or other rom without wipe data do I need to wipe both system a/b slot?

now i am in big trouble my phone is not booting it's restarting and i'm not able to restore the backup while restoring backup it's showing no partition selected please help please

dvishalkhatri said:
While updating from previous ROM i tried to update but all apps got erased ... After i tried the data backup in TWRP then only i got my apps back...
Click to expand...
Click to collapse
Not possible. I'm personally using this method. I'll try making a video tutorial on this.

Nobitaa said:
Not possible. I'm personally using this method. I'll try making a video tutorial on this.
Click to expand...
Click to collapse
Ok sure...

Nobitaa said:
Not possible. I'm personally using this method. I'll try making a video tutorial on this.
Click to expand...
Click to collapse
Your tutorial says wipe data and data contain all apps!

[email protected] said:
now i am in big trouble my phone is not booting it's restarting and i'm not able to restore the backup while restoring backup it's showing no partition selected please help please
Click to expand...
Click to collapse
Message me on telegram. Username- droidreboot

samuele94 said:
Thanks and If I want to flash the same stock rom or other rom without wipe data do I need to wipe both system a/b slot?
Click to expand...
Click to collapse
You have ro to wipe data if you are changing roms. Like if you are on lineage, and you wanna install resurrection remix then you'll have to wipe system cache data in both slots. And if developer of lineage pushes an update and you're on lineage then you don't have to wipe data. I mean if updating you have to make a backup then wipe. Then after first boot restore that. Don't do this if you're changing roms. You'll get a bootloop

samuele94 said:
Your tutorial says wipe data and data contain all apps!
Click to expand...
Click to collapse
It says if you're upgrading from stock then wipe data. And if you're updating from old lineage build to new first make a backup then wipe and after first boot restore the backup. Read carefully.

Nobitaa said:
You have ro to wipe data if you are changing roms. Like if you are on lineage, and you wanna install resurrection remix then you'll have to wipe system cache data in both slots. And if developer of lineage pushes an update and you're on lineage then you don't have to wipe data. I mean if updating you have to make a backup then wipe. Then after first boot restore that. Don't do this if you're changing roms. You'll get a bootloop
Click to expand...
Click to collapse
But ,sorry, for reinstall the same rom i need to wipe both system partition (a/b) before flash?

Related

[ROM][UNOFFICIAL][8.1.0] LineageOS 15.1 Oreo

Hi,
It seems like there's a LineageOS 15.1-based rom avalible for Moto X Style.
Tested, it's quite laggy and buggy.
Happy Flashing
androidfilehost.com/?fid=673791459329070491
I tested it and did not recommend it by the hour.
Even it is very difficult to return to another rom 7.1. The problem recovery after the flash of this rom.
how did you return to 7.1? mine cant flash 7.1 even cant restore nandbackup, wipe dalvic, etc only reboot, cant downgrade bootloader in fastboot
22pises said:
how did you return to 7.1? mine cant flash 7.1 even cant restore nandbackup, wipe dalvic, etc only reboot, cant downgrade bootloader in fastboot
Click to expand...
Click to collapse
You are using wrong twrp ver.
Here you can find correct:
https://forum.xda-developers.com/moto-x-style/general/custom-roms-nougat-modem-t3733105
dzidexx said:
You are using wrong twrp ver.
Here you can find correct:
https://forum.xda-developers.com/moto-x-style/general/custom-roms-nougat-modem-t3733105
Click to expand...
Click to collapse
wipe and flashing is now working but when i flash my 7.1 rom and even my 7.1 nandbackup is now bootloop only the 8.1 is only working now im stuck in unofficial 8.1 with full of bugs i cant downgrade bootloader also
Twrp:
Format cache, systam, data to ext4, reboot bootloader, go to twrp, format all back to f2fs, reboot bl, twrp, flash any custom for N modem.
Apps & data you can restore/extract with titanium backup or nandroid manager app.
Before this you can try restore or flash boot.img(extract from custom.zip), reboot twrp, wipe all & format data then restore your backup. @22pises
dzidexx said:
Twrp:
Format cache, systam, data to ext4, reboot bootloader, go to twrp, format all back to f2fs, reboot bl, twrp flash any custom for N modem.
Apps & data you can restore/extract with titanium backup or nandroid manager.
Before this you can try restore or flash boot.img(extract from custom.zip), reboot twrp, wipe all & format data then restore your backup.
Click to expand...
Click to collapse
i see, i will try
Twrp - adv wipe - select one partition - change... - ext4... etc.
dzidexx said:
Twrp - adv wipe - select one partition - change... - ext4... etc.
Click to expand...
Click to collapse
thankyou very much for the help, im back in los7.1 again my phone is working now

Bootlooping to recovery after flashing Custom rom

I unlocked my phone yesterday and installed orangefox recovery in it. However after flashing custom rom, it keeps rebooting back to recovery. Have no idea how to solve this. Any solutions?
hackmonker said:
I unlocked my phone yesterday and installed orangefox recovery in it. However after flashing custom rom, it keeps rebooting back to recovery. Have no idea how to solve this. Any solutions?
Click to expand...
Click to collapse
Try wiping data once and reboot to system
Nutya said:
Try wiping data once and reboot to system
Click to expand...
Click to collapse
Tried that. not working. Also if its relevent system, vendoe, etc are not mounted. only data, cache, and microsd is mounted. Have no idea why.
Me too faced this kind of issue, peter's TWRP worked for me, follow instructions from here
Ok It worked. No need to flash the dm Verity for orange recovery. What I did was simple.
1. Factory reset (Did this step before also)
2. Format Data (Also Did this step)
3. Flash rom (Of course did this too)
4. Then reboot to RECOVERY again, not to system. (did not do this step before). Go to reboot part and click reboot to recovery, not to system.
5. After that reboot to system and it should work. Mine did.
Solved
I to had same problem but mine worked after installing custom ROM install FCrypt disabler.zip from recovery then reboot and enjoy.
Download FCrypt disabler.zip for Redmi note 7 Pro from Google.
Flash any zip which disables dm verity things. Suggestion: flash lazyflasher zip.

Problems flashing Roms

heelo guys
im having a problems flashiing roms. i tryed Paranandroid, RR and crDroid...
after i flash them i get bootloop into TWRP. whac can i be doing wrong?
the steps i do are this:
flash ROM -Flash TWRP - REBOOT to TWRP - Flash Gapps - Flash Magisk - Then bootloop
can anyone please help me?
anyone? please?
first install OOS 10 on both slots (i have open beta 4)..than boot to OOS 10, not setup! Then boot TWRP and factory reset, not FORMAT DATA!!! Then reboot TWRP and install ROM, TWRP, reboot, install Gapps and Magisk (optional)
mcboums said:
first install OOS 10 on both slots (i have open beta 4)..than boot to OOS 10, not setup! Then boot TWRP and factory reset, not FORMAT DATA!!! Then reboot TWRP and install ROM, TWRP, reboot, install Gapps and Magisk (optional)
Click to expand...
Click to collapse
hello mate
and when i install Rom, do i need to install on both slots or i can have one has backup (its what i have been doing till now)?
and when i factory reset, what will i lose?
Well, it is difficult to say. Usually, every ROM has its thread, its instructions and its community that helps with problems related to installing that ROM.
It could be a few things:
1) I do not see any mention about wiping data. Usually you need to wipe data and wipe system partition in twrp before you install a new ROM. Maybe that is the issue. However, what you need to wipe is ROM specific.
2) Check prerequisites, what ROM version you need to be running before you flash. Sometimes that matters.
3) OnePlus 6 has these A/B slots that I do not fully understand. From what I have read, if you are running on slot A, update installs on slot B, and then you reboot to slot B and cycle continues. BUT DO NOT TRUST ME ON THIS. You should read yourself. Anyway, sometimes people recommend flashing both slots A and B. For some ROMs. For LineageOS, for example, that is not necessary.
oh, factory reset damn i would want to configure everything again
I think first.
You have to WIPE data, all. Factory wipe option.
Then boot into twrp
First, flash OOS, followed by TWRP
Reboot to Recovery using twrp itself.
And then again flash OOS and TWRP.
Reboot to recovery again (using the option in twrp itself)
Finally, then install your rom followed by gapps etc etc
Then it should work....
is there anyway to do this without factory reset?
no

[Solved] Help to flash custom ROMs

Hello everybody,
I bought a Oneplus 7 Pro a few days ago and I'm preparing it for my daily usage. It's my fourth Android smartphone, and the third Oneplus. So far, I managed to flash everyone of them, with no major issues.
And then, the Oneplus 7 Pro suddenly appeared
I used this tutorial to unlock the bootloader and flash the custom recovery.
From my understanding, the custom recovery is flashed in the Recovery Ramdisk and available for both A & B slots.
For now, I have A and B slots with stock OSS, unlocked bootloader, custom recovery and Magisk. All of this is working.
There began my problems. I want to flash a custom ROM without Gapps and I fail to do it. All instructions around ROM threads seems different to me, I don't get the thing about A & B slots, when I flash one rom, it boots as usual on the stock ROM, if I flash both slots, It causes bootloops and if I manage to launch the recovery, my internal storage isn't detected and I can't restore any backup.
I already used MSMDownload to restore the phone completely once.
Can somebody explain to my dumb person how to do it proprely ? Thanks in advance ! :fingers-crossed:
TL;DR : I fail to flash a custom ROM and make it work.
Yes I had same issues when rooted, it means you lost root. You can try tool all in one to flash recovery and magesik via fastboot. If that doesn't restore your access, on twrp you will have to type in format, then mount, then add rom to storage(this method wipes everything beware)
djhulk2 said:
Yes I had same issues when rooted, it means you lost root. You can try tool all in one to flash recovery and magesik via fastboot. If that doesn't restore your access, on twrp you will have to type in format, then mount, then add rom to storage(this method wipes everything beware)
Click to expand...
Click to collapse
For now, my phone is working nicely. But that's the process of flashing a new ROM that fails. Recovery and Magisk are already and working.
Factory reset
Flash rom
Flash twrp installer
Reboot recovery
Format data
Reboot system
i boot all roms with these steps
WesTD said:
Factory reset
Flash rom
Flash twrp installer
Reboot recovery
Format data
Reboot system
i boot all roms with these steps
Click to expand...
Click to collapse
Thanks, I will try.
When you flash the ROM, does TWRP tell you that if you want to continue you need to reboot recovery ? If so, do you ? Do you reboot recovery on the same slot, or do you flash both ?
draentor said:
Thanks, I will try.
When you flash the ROM, does TWRP tell you that if you want to continue you need to reboot recovery ? If so, do you ? Do you reboot recovery on the same slot, or do you flash both ?
Click to expand...
Click to collapse
Nope, it doesnt tell you anything. Just reboot recovery from reboot menu. Don't touch the slot options
Thanks for your advices.
I'm trying right now, here's my steps :
- Wipe Data, Cache, Dalvik Cache (the standard Factory Reset)
- Install ROM : TWRP logs show that he's flashing on inactive slot A, then B. After that logs said " To flash additional zips, please reboot recovery to switch to the updated slot ". I'm going back on the menu
- Install TWRP Installer like previously
- Reboot Recovery : TWRP ask me if I want to install the TWRP App, I dismiss. After reboot of the recovery, it asks if I want to keep System Read Only, I swipe to allow modifications
- Wipe Data : Can't do it because TWRP is unable to mount storage. And after further investigations, I'm now on slot A, not B as before.
- Reboot recovery to slot B
- Wipe Data on slot B
- Reboot system
And It still booting on the stock Oxygen OS Rom, not the custom one installed before. I'm lost
The problem is that you are not performing factory reset.
Wipe data is not enough,you gotta go to wipe-format data-enter yes and swipe.
That is why you are getting bootloops and twrp unable to mount storage problem.
A/B is pretty simple.
You got two slots for many partitions like system vendor boot and all,but a single data partition.
Flash a rom from one slot,it always gets flashed to the other slot no matter what.So next time you reboot to recovery or system it's gonna be on the other slot.So here is the problem..one rom cannot decrypt data which was initially encrypted by another rom..so you gotta perform a data format instead of wipe.Thats it.
draentor said:
Thanks for your advices.
I'm trying right now, here's my steps :
- Wipe Data, Cache, Dalvik Cache (the standard Factory Reset)
- Install ROM : TWRP logs show that he's flashing on inactive slot A, then B. After that logs said " To flash additional zips, please reboot recovery to switch to the updated slot ". I'm going back on the menu
- Install TWRP Installer like previously
- Reboot Recovery : TWRP ask me if I want to install the TWRP App, I dismiss. After reboot of the recovery, it asks if I want to keep System Read Only, I swipe to allow modifications
- Wipe Data : Can't do it because TWRP is unable to mount storage. And after further investigations, I'm now on slot A, not B as before.
- Reboot recovery to slot B
- Wipe Data on slot B
- Reboot system
And It still booting on the stock Oxygen OS Rom, not the custom one installed before. I'm lost
Click to expand...
Click to collapse
lol i wrote all steps but you didn't do all of them. Use swipe to wipe for factory reset and you didn't format data
Joker123## said:
The problem is that you are not performing factory reset.
Wipe data is not enough,you gotta go to wipe-format data-enter yes and swipe.
That is why you are getting bootloops and twrp unable to mount storage problem.
A/B is pretty simple.
You got two slots for many partitions like system vendor boot and all,but a single data partition.
Flash a rom from one slot,it always gets flashed to the other slot no matter what.So next time you reboot to recovery or system it's gonna be on the other slot.So here is the problem..one rom cannot decrypt data which was initially encrypted by another rom..so you gotta perform a data format instead of wipe.Thats it.
Click to expand...
Click to collapse
Thanks for the explanation !
WesTD said:
lol i wrote all steps but you didn't do all of them. Use swipe to wipe for factory reset and you didn't format data
Click to expand...
Click to collapse
Well yes, I didn't understood the difference between Wipe and Format Data.
So let's resume :
Unlock Bootloader
Advanced -> Install Recovery Ramdisk : Install TWRP
Install -> Flash TWRP Installer
Install -> Flash Magisk
Reboot -> System : Reboot on stock OxygenOS Rooted
Then
Wipe -> Factory Reset : Wipe Data, Cache and Dalvik Cache, that means you just have to swipe on TWRP.
Install -> Flash ROM : Use the install function and install the ROM
Install -> Flash TWRP Installer : Don't reboot, go back and install as the previous step
Reboot -> Recovery : Reboot TWRP and it automatically load the other slot
Wipe -> Format Data : Click and type yes
Reboot -> System : Just reboot and it should load the installed ROM
is wiping internal storage compulsory?
aaryan45 said:
is wiping internal storage compulsory?
Click to expand...
Click to collapse
How would you do it ? This is an open discussion, I can't find one and only way of doing it
aaryan45 said:
is wiping internal storage compulsory?
Click to expand...
Click to collapse
Not wiping.. formatting..that is compulsory if your current data is encrypted
After multiple tries to verify the process :
Wipe -> Factory Reset + : Wipe Data, System, Cache and Dalvik Cache
Install -> Flash ROM : Use the install function and install the ROM
Install -> Flash TWRP Installer : Don't reboot, go back and install as the previous step
Reboot -> Recovery : Reboot TWRP and it automatically load the other slot
Wipe -> Format Data : Click and type yes
Reboot -> System : Just reboot and it should load the installed ROM
Install -> Magisk
Reboot -> System
Install -> Whathever you want
Reboot -> System
It worked !

Data storage encrypted and ask password

Hi guys, i bought this phone 4 months ago and till now i still dont know what the heck password to decrypt data storage. i did google a lot and tried some password like : default, default_password, password or something like that. And when i install new rom. It bootloop to twrp. I can only install new rom after flash stock china rom and flash new rom. because data storage is ENCRYPTED.
thank you
to erase enycryption u have to first flash force decryption universal zip and now u have encryption ,only 2 solutions are available, Erase all data using twrp ,format if if it can but if doesn't, you have to use miflash tool to flash stock rom
Your encryption password should be your phone password
bilalrajput said:
to erase enycryption u have to first flash force decryption universal zip and now u have encryption ,only 2 solutions are available, Erase all data using twrp ,format if if it can but if doesn't, you have to use miflash tool to flash stock rom
Your encryption password should be your phone password
Click to expand...
Click to collapse
my phone password is wrong cuz i did not set password for my phone. it bootloop from start. and even i use phone password. it didnt work also
anyway can you give me file name to find. i searched and found nothing about this file. thank you
phuocrose said:
my phone password is wrong cuz i did not set password for my phone. it bootloop from start. and even i use phone password. it didnt work also
anyway can you give me file name to find. i searched and found nothing about this file. thank you
Click to expand...
Click to collapse
i meant that whenever we flash custom rom and recovery ,we need to flash the decyption zip file , but once after password is set, we cant unless we re install the stock rom using fastboot then again install recovery and custom roms
bilalrajput said:
i meant that whenever we flash custom rom and recovery ,we need to flash the decyption zip file , but once after password is set, we cant unless we re install the stock rom using fastboot then again install recovery and custom roms
Click to expand...
Click to collapse
May i ask which recovery (TWRP) you are using ?
The only working TWRP cannot decrypt PIN or Password, use pattern instead, ore remove all and try again.
In TWRP you have to format Data, confirm with 'yes' and reboot to recovery again.
fmcheetah said:
May i ask which recovery (TWRP) you are using ?
The only working TWRP cannot decrypt PIN or Password, use pattern instead, ore remove all and try again.
In TWRP you have to format Data, confirm with 'yes' and reboot to recovery again.
Click to expand...
Click to collapse
u have telegram then add me Bilalrajput
bilalrajput said:
u have telegram then add me Bilalrajput
Click to expand...
Click to collapse
sorry, no telegram
You need to format data partition. Not just wipe but format it.
Shished said:
You need to format data partition. Not just wipe but format it.
Click to expand...
Click to collapse
sorry but when update new rom (eu weekly) or flash clean rom ? i wanna update only. cuz when clean flash i have to install apps, config again
phuocrose said:
sorry but when update new rom (eu weekly) or flash clean rom ? i wanna update only. cuz when clean flash i have to install apps, config again
Click to expand...
Click to collapse
Very important:
If you come from global stable or any other custom ROM and want to change to xiaomi.eu: format data
If you stay on xiaomi.eu weekly developer you can update normaly: (wipe davlik and cache)
If you stay on Xiaomi.eu stable, update normally: (wipe davlik and cache)
If you change within xiaomi.eu weekly to stable: format data
If you change Android version on Xiaomi.eu : format data
fmcheetah said:
Very important:
If you come from global stable or any other custom ROM and want to change to xiaomi.eu: format data
If you stay on xiaomi.eu weekly developer you can update normaly: (wipe davlik and cache)
If you stay on Xiaomi.eu stable, update normally: (wipe davlik and cache)
If you change within xiaomi.eu weekly to stable: format data
If you change Android version on Xiaomi.eu : format data
Click to expand...
Click to collapse
i dont care about data dude. it just bootloop to twrp. but after 3 months i give up. cant reinstall app alots. the problem is data is encrypt. i used xiaomi note2 note 4, mimax1 mimax 3 mi8 so i know what to do. but this device a lots people face this problem same as me
you can try to change the file system of the partition f2fs to ext4 with twrp and reverse it.
I had this problem on my old Lenovo p2 and the only way i found is to change the file system and reverse it.
When you change the file system the data encryption is bypassed but you loose all data.
phuocrose said:
i dont care about data dude. it just bootloop to twrp. but after 3 months i give up. cant reinstall app alots. the problem is data is encrypt. i used xiaomi note2 note 4, mimax1 mimax 3 mi8 so i know what to do. but this device a lots people face this problem same as me
Click to expand...
Click to collapse
What recovery are you using?
NOSS8 said:
What recovery are you using?
Click to expand...
Click to collapse
im using this: TWRP-3.4.2B-0623-REDMI_K30PRO-CN-wzsx150-fastboot.zip
Fangstergangsta said:
you can try to change the file system of the partition f2fs to ext4 with twrp and reverse it.
I had this problem on my old Lenovo p2 and the only way i found is to change the file system and reverse it.
When you change the file system the data encryption is bypassed but you loose all data.
Click to expand...
Click to collapse
i already did that. but still cant flash rom. cuz cant copy rom to data storage
phuocrose said:
im using this: TWRP-3.4.2B-0623-REDMI_K30PRO-CN-wzsx150-fastboot.zip
Click to expand...
Click to collapse
Best time to start over, flash miui rom with miflash.(no need to configure the rom, restart in fastboot with the xiaomi password)
Then install the TWRP and above all do not wipe anything!!!
Format data(if you see red lines reboot TWRP and format again)->flash rom format data->reboot twrp flash gapps->reboot system.
Which rom do you want to install?
phuocrose said:
i already did that. but still cant flash rom. cuz cant copy rom to data storage
Click to expand...
Click to collapse
And with pendrive+otg? you only need to select the rom on the pendrive and flash it!?
You don't need to install TWRP on phone but just boot from TWRP.img.
I had same problem, I think TWRP encrypted the phone. Solution use Mi flash tool to flash stock rom. Then on your PC make use you have Adb tool folder, put Poco-F2 chinese twrp- chinese-f2.img in same folder as TWRP. You don't need to install TWRP on phone but just boot from TWRP.img. Use command on pc from c:\Adb folder where there is fastboot, cmd: fastboot boot trwp-chinese-f2.img phone should reboot and boot from TWRP. Then in TWRP you can flash rom or copy rom zip file to phone and flash it. Format data if needed to and reboot to system. Phone will still on stock Recovery not TWRP.

Categories

Resources