bootlooping on every rom after formating data partition due to encryption - Xiaomi Redmi Note 7 Questions & Answers

here's what I did-
1- I was on PE android 10.
2- Flashed AOSP extended android 9
3- Asked for encryption password,flashed old twrp(didnt worked),flashed latest twrp(didnt worked), wiped everything,flashed orangefox, again wiped.
4- tried to install AOSP extended -> bootloop
5- Wiped everything but internal storage flashed PE android 10 -> bootloop again
Please hepl me

starboyvivek said:
here's what I did-
1- I was on PE android 10.
2- Flashed AOSP extended android 9
3- Asked for encryption password,flashed old twrp(didnt worked),flashed latest twrp(didnt worked), wiped everything,flashed orangefox, again wiped.
4- tried to install AOSP extended -> bootloop
5- Wiped everything but internal storage flashed PE android 10 -> bootloop again
Please hepl me
Click to expand...
Click to collapse
Format data.

DarthJabba9 said:
Format data.
Click to expand...
Click to collapse
Thanks... this is the first step I did but nothing helped.
So I flashed the stock miui again. ?

If you can put your phone in fastboot mode ,than flash stock rom via fastboot , it will fix your phone.
---------- Post added at 04:53 PM ---------- Previous post was at 04:23 PM ----------
starboyvivek said:
here's what I did-
1- I was on PE android 10.
2- Flashed AOSP extended android 9
3- Asked for encryption password,flashed old twrp(didnt worked),flashed latest twrp(didnt worked), wiped everything,flashed orangefox, again wiped.
4- tried to install AOSP extended -> bootloop
5- Wiped everything but internal storage flashed PE android 10 -> bootloop again
Please hepl me
Click to expand...
Click to collapse
If you can put your phone in fastboot mode ,than flash stock rom via fastboot , it will fix your phone.

starboyvivek said:
Thanks... this is the first step I did but nothing helped.
So I flashed the stock miui again.
Click to expand...
Click to collapse
Are you sure you actually formatted data, or did you just wipe?

DarthJabba9 said:
Are you sure you actually formatted data, or did you just wipe?
Click to expand...
Click to collapse
formatted data ofcourse....
btw flashing stock rom worked for me atlast

Related

TM-535 Stocks on Samsung Logo / Loading Apps after Boot / Important DATA / TWRP Insta

Hi there, i've got a big problem. I flashed recently my sisters school tab with custom recovery (TWRP) to delete the forgotten password, worked well. But afterwards, the school write her an email, that the tab is rooted (Was not rooted, but SU App appears) so i decided to flash the stock recovery back. This also works well on first boot but after cleaning cache, its stocks on Samsung logo. Now i flashed TWRP back and cleaned dalvik cache/cache, on first boot is passes the samsung logo and Andriod os loading apps appears and stucks (i let it run over the night.). So how can i fix this without any data lose, app lose? I cant do a factory reset because of her school config...I dont know which android version is installed.
sabankuru said:
Hi there, i've got a big problem. I flashed recently my sisters school tab with custom recovery (TWRP) to delete the forgotten password, worked well. But afterwards, the school write her an email, that the tab is rooted (Was not rooted, but SU App appears) so i decided to flash the stock recovery back. This also works well on first boot but after cleaning cache, its stocks on Samsung logo. Now i flashed TWRP back and cleaned dalvik cache/cache, on first boot is passes the samsung logo and Andriod os loading apps appears and stucks (i let it run over the night.). So how can i fix this without any data lose, app lose? I cant do a factory reset because of her school config...I dont know which android version is installed.
Click to expand...
Click to collapse
Why do not you just removed Su application?
Maybe better to ask the school you have to do?
yes thats right, but now i cant boot anymore. "Android is Starting" "Optimizing App x of xxx and hang at the end. will official firmware flash with odin erase all the data?
sabankuru said:
yes thats right, but now i cant boot anymore. "Android is Starting" "Optimizing App x of xxx and hang at the end. will official firmware flash with odin erase all the data?
Click to expand...
Click to collapse
No . Ordinary stock firmware without wipe not erase data . It update system files , not data . This called dirty installation . But maybe some bugs with installed apps .
---------- Post added at 11:46 AM ---------- Previous post was at 11:41 AM ----------
You need to do copy your internal memory to PC and to do reflash firmware with all wipes
repey6 said:
No . Ordinary stock firmware without wipe not erase data . It update system files , not data . This called dirty installation . But maybe some bugs with installed apps .
---------- Post added at 11:46 AM ---------- Previous post was at 11:41 AM ----------
You need to do copy your internal memory to PC and to do reflash firmware with all wipes
Click to expand...
Click to collapse
how to restore after clean install all the data and apps? ive done a backup in twrp recovery, can i just restore ond /data after clean install and all the apps and settings will restore? Thx!
sabankuru said:
how to restore after clean install all the data and apps? ive done a backup in twrp recovery, can i just restore ond /data after clean install and all the apps and settings will restore? Thx!
Click to expand...
Click to collapse
Yes! You need flash TWRP again after clean installation and restore your backup . Then to try delete SU-apps and superSU , if it exist
Ok i will let you know...
I installed 4.4.2 with odin, afterwards there was a process error (google play) so i upgraded to 5.0.2 without data lose. Thx!

[FIX][8.1][Treble]Decryption Unsuccessful and TWRP Internal Storage 0MB

As the tittle says, this is my current workaround for issues that happened after most people update their AOSP based ROMs after 3rd July 2018.
Decryption Unsuccessful
Q: Why does this happens ?
A: There's some weird issues with the latest AOSP based ROM that makes encrypted ext4 based data partition unable to be decrypted in both system and older version of TWRP if you're encrypted before (intentionally or unintentionally). This however doesn't apply to F2FS and unencrypted ext4 data partition.
Q: How do I solve this ?
A: There's 2 ways you can do to solve this issue.
The best way and the most recommended way is to repartition your data into F2FS. However it does require you to do a backup beforehand since this will wipe everything in your internal storage.
1. Backup your internal storage from TWRP (either to a SD card or PC via ABD)
2. Format it by going into TWRP and select Format and choose "wipe data"
3. Type "yes" and let the process end.
4. Flash your ROM and GApps.
5. Finish the setup without setting any screen lock so that it doesn't encrypt your data partition.
-Or-
The other way does is to install a custom kernel is made after 20 July 2018
List of kernel that can boot successfully without the need to wipe /data :
-Xenial b25x or newer
-Revolt EAS-R13
(Got kernel that works and doesn't show up here? TELL ME, I'll add it to my list for everyone's reference)
Link for the working TWRP that can detect Internal Storage :
Jairus' modded TWRP
https://androidfilehost.com/?fid=5862345805528049168
Or you can look up Orange Fox recovery
(link will be added soon)
Good Stuff Also This Happened to me while i was using the Android P DP3 i tried twrp and redwolf and was the same i flashed the Orange Fox and it worked
Does this twrp can flash both treble and non treble ROM?
eko_epe said:
Does this twrp can flash both treble and non treble ROM?
Click to expand...
Click to collapse
Yes, it does
AkmalWarrior said:
Yes, it does
Click to expand...
Click to collapse
Ok i'll try. Thanks
As the OP said, OrangeFox TWRP Recovery (R6-Beta) can decrypt encrypted data partitions.
DarthJabba9 said:
As the OP said, OrangeFox TWRP Recovery (R6-Beta) can decrypt encrypted data partitions.
Click to expand...
Click to collapse
TWRP and redwolf too (find on telegram)
Envoyé de mon Redmi Note 4 en utilisant Tapatalk
DarthJabba9 said:
As the OP said, OrangeFox TWRP Recovery (R6-Beta) can decrypt encrypted data partitions.
Click to expand...
Click to collapse
*Only in recovery, not in boot. The only way to fix decryption unsuccessful on boot is to either repartition data to F2FS or flash a custom kernel that's made after 20 July. List on working kernels is on main thread.
First I tried orange fox beta and it showed my internal storage
Then I flashed the RR endless
But the encryption was still there
Then I tried the twrp from this thread and flashed rom with latest xenial
And it worked no problem
Thank you
How for steps come from nougat Rom up to Oreo, should i flash xenial kernel directly after the ROM flashed? i want flash Aicp Oreo currently i'm on Los14.1
DarksTor said:
How for steps come from nougat Rom up to Oreo, should i flash xenial kernel directly after the ROM flashed? i want flash Aicp Oreo currently i'm on Los14.1
Click to expand...
Click to collapse
Sine you are using nougat i recommend to format data (wipes internal storage) so take a backup if you want
And I have also seen users reporting bugs about aicp oreo on telegram so try some other ROMs like resurrection remix,screwd,lineage os extended,aex ........
All oreo Roms are now treble
So use treble twrp
And treble magisk
antony felix said:
Sine you are using nougat i recommend to format data (wipes internal storage) so take a backup if you want
And I have also seen users reporting bugs about aicp oreo on telegram so try some other ROMs like resurrection remix,screwd,lineage os extended,aex ........
All oreo Roms are now treble
So use treble twrp
And treble magisk
Click to expand...
Click to collapse
Thanks,So i must format internal too,. It's ok but how if i want to comeback use nougat..? I hear who's downgrade after using oreo will get "encryption was interrupted" on any nougat los/aosp base rom,should be format internal for working back the devices..
I think by this thread shared we get solution for who's want to downgrade from oreo without facing encryption issue enytime for oreo back to nougat or vice
DarksTor said:
How for steps come from nougat Rom up to Oreo, should i flash xenial kernel directly after the ROM flashed? i want flash Aicp Oreo currently i'm on Los14.1
Click to expand...
Click to collapse
Flash the rom and test it out if you can boot it. I think most rom now have native support for ext4 based data partition.
If you can't boot however, try one of the kernel listed on the OP.
What if i flash Jairus' modded TWRP from fastboot? Does it solve the encryption problem without losing all the data? Also does it work on non-treble roms?
AkmalWarrior said:
Flash the rom and test it out if you can boot it. I think most rom now have native support for ext4 based data partition.
If you can't boot however, try one of the kernel listed on the OP.
Click to expand...
Click to collapse
Finally i can confirm for fixed "encryption was interrupted" by changing data partition into F2FS, yes i think it's only way to get free from that, i'v been test it back to back from oreo down to nougat or vice, no worry anymore
Below screenshot for oreo left side and nougat in right
ngydna said:
What if i flash Jairus' modded TWRP from fastboot? Does it solve the encryption problem without losing all the data? Also does it work on non-treble roms?
Click to expand...
Click to collapse
Read the OP, the recovery only help you boot into recovery and format your data partition or flash a custom kernel to allow you to boot into system as this issue does affect some older version of TWRP recovery. The recovery alone can't help you boot into system.
I took out my sdcard and did format data on the internal storage and now i can't mount my sdcard. Didn't think about the fact that removing the encryption on the internal storage would make it unable to recognize the encryption on the sdcard afterwards. Is there any way to fix this? Or did I just screw myself?
---------- Post added at 01:53 PM ---------- Previous post was at 01:00 PM ----------
When I reinstalled the rom and tried to boot it still asks me for my password which still works even though I can't boot because it says that the data is corrupted. But the encryption key should still be stored somewhere apparently. There must be a way to use it to decrypt the sdcard.

Process system isn't responding

Help urgent:
I am getting ' process system isn't working' for thrice a day after flashing custom rom and phone needs reboot to solve this.
I did wipe cache/devik cache.
I uninstalled Google update
I have changed my launcher
Nothing is working
Currently am on havoc os with stock gapps
And I have changed the gapps to nano
Not solved
Then
I clean flashed and installed the ROM still not solved
Plz any suggestion ?
psgbharathi said:
Help urgent:
I am getting ' process system isn't working' for thrice a day after flashing custom rom and phone needs reboot to solve this.
I did wipe cache/devik cache.
I uninstalled Google update
I have changed my launcher
Nothing is working
Currently am on havoc os with stock gapps
And I have changed the gapps to nano
Not solved
Then
I clean flashed and installed the ROM still not solved
Plz any suggestion ?
Click to expand...
Click to collapse
Did you flash the correct gap version , arm 64 and 9.0 gapps. Wipe everything including vendor and system and flash only rom only and check, if not solved it might be some corrupted file, copy internal files to PC then wipe internal storage also.
If that doesn't work too, reflash the firmware.
james11705 said:
Did you flash the correct gap version , arm 64 and 9.0 gapps. Wipe everything including vendor and system and flash only rom only and check, if not solved it might be some corrupted file, copy internal files to PC then wipe internal storage also.
If that doesn't work too, reflash the firmware.
Click to expand...
Click to collapse
Thanks for the advice will do. Before that if I wipe internal storage then will my twrp recovery also wiped right. Than how can I flash if so
psgbharathi said:
Thanks for the advice will do. Before that if I wipe internal storage then will my twrp recovery also wiped right. Than how can I flash if so
Click to expand...
Click to collapse
No , internal won't wipe ur recovery, it will wipe ur internal files clean.
---------- Post added at 04:44 PM ---------- Previous post was at 04:43 PM ----------
psgbharathi said:
Thanks for the advice will do. Before that if I wipe internal storage then will my twrp recovery also wiped right. Than how can I flash if so
Click to expand...
Click to collapse
No , internal won't wipe ur recovery, it will wipe ur internal files clean.
Just in case , have a twrp image file in ur memory card

Flash custom rom?

Hi ? all,
I want to flash another custom rom
Bcz the old one has some issues.
Tell me what should I do (process )?
Ayman Djebali said:
Hi ? all,
I want to flash another custom rom
Bcz the old one has some issues.
Tell me what should I do (process )?
Click to expand...
Click to collapse
Boot to recovery (I reccomend orangefox) wipe cache, dalvik, data, system > flash rom > flash gapps (optional) > flash magisk (optional) if after reboot it ask for password you have to format data (i've noticed that if you flash magisk before booting the system the password isn't required). If you come from miui maybe you need to flash vbmeta before rom (i'm not sure but it doesn't hurt)
darhma said:
Boot to recovery (I reccomend orangefox) wipe cache, dalvik, data, system > flash rom > flash gapps (optional) > flash magisk (optional) if after reboot it ask for password you have to format data (i've noticed that if you flash magisk before booting the system the password isn't required). If you come from miui maybe you need to flash vbmeta before rom (i'm not sure but it doesn't hurt)
Click to expand...
Click to collapse
It seems easy.. But i faced a problem before when I wipe the system I think,, I got No OS installed.. How I can avoid that ( flashing the stock rom)
What the role of vbmeta
Should I backup my apps by titaniumbackup
Excuse me for a lot of questions
Ayman Djebali said:
It seems easy.. But i faced a problem before when I wipe the system I think,, I got No OS installed.. How I can avoid that ( flashing the stock rom)
What the role of vbmeta
Should I backup my apps by titaniumbackup
Excuse me for a lot of questions
Click to expand...
Click to collapse
Do you want to flash a custom rom or you want to return to official miui from a custom rom?
darhma said:
Boot to recovery (I reccomend orangefox) wipe cache, dalvik, data, system > flash rom > flash gapps (optional) > flash magisk (optional) if after reboot it ask for password you have to format data (i've noticed that if you flash magisk before booting the system the password isn't required). If you come from miui maybe you need to flash vbmeta before rom (i'm not sure but it doesn't hurt)
Click to expand...
Click to collapse
Ot seems easy.. But before when I wipe the system as I remember,, I got no OS installed how I can avoid that I don't want to flash stock rom again…
What is the role of vbmeta?
Can I put the custom rom in internal storage "I don't have SD card !
Ayman Djebali said:
Ot seems easy.. But before when I wipe the system as I remember,, I got no OS installed how I can avoid that I don't want to flash stock rom again…
What is the role of vbmeta?
Can I put the custom rom in internal storage "I don't have SD card !
Click to expand...
Click to collapse
When you wipe system you delete the previous os (rom) installed then you flash the new os (rom). Wich rom do you want to install?
Ayman Djebali said:
Ot seems easy.. But before when I wipe the system as I remember,, I got no OS installed how I can avoid that I don't want to flash stock rom again…
What is the role of vbmeta?
Can I put the custom rom in internal storage "I don't have SD card !
Click to expand...
Click to collapse
If you don't have SD Card then don't wipe Internal Storage. But Clean Flash always recommend.
darhma said:
Do you want to flash a custom rom or you want to return to official miui from a custom rom?
Click to expand...
Click to collapse
My phone now with ''CrDroid 5.6'' I want to flash "HAVOC'' custom rom
Ayman Djebali said:
I want to flash another custom rom "HAVOC''
Click to expand...
Click to collapse
Ok so if you want to reinstall your app and data after flashing the rom you can backup with titanium backup or migrate. Reboot to recovery and wipe cache, dalvik, system and data after this flash the rom (you can flash it from internal storage) after the rom without rebooting to the system flash gapps (optional) and magisk (I reccomend to flash magisk so you can restore the backup and it avoid to have the problem with password request). Reboot to system
darhma said:
Ok so if you want to reinstall your app and data after flashing the rom you can backup with titanium backup or migrate. Reboot to recovery and wipe cache, dalvik, system and data after this flash the rom (you can flash it from internal storage) after the rom without rebooting to the system flash gapps (optional) and magisk (I reccomend to flash magisk so you can restore the backup and it avoid to have the problem with password request). Reboot to system
Click to expand...
Click to collapse
Last question
i dont have sd card and in the past when i wipe system , data ..... and try to flash the zip custom rom ( in Download folder OF my phone ) i can't find it ... with no OS installed i can't open my phone to transfer files... so the only solution flashing stock rom.
Where should i put the Files ( Custom rom, Gapps, Magisk..) to avoid this case.
Thank you
Ayman Djebali said:
Last question
i dont have sd card and in the past when i wipe system , data ..... and try to flash the zip custom rom ( in Download folder OF my phone ) i can't find it ... with no OS installed i can't open my phone to transfer files... so the only solution flashing stock rom.
Where should i put the Files ( Custom rom, Gapps, Magisk..) to avoid this case.
Thank you
Click to expand...
Click to collapse
Maybe you have wiped also internal storage or format data? If you wipe just cache, dalvik, data and system you must found the files in the download folder.
Thank you bro
Ayman Djebali said:
Thank you bro
Click to expand...
Click to collapse
You're welcome. Aniway you can always download the needed files in your pc then connect the phone to it and transfer the files in the internal memory
darhma said:
You're welcome. Aniway you can always download the needed files in your pc then connect the phone to it and transfer the files in the internal memory
Click to expand...
Click to collapse
In case No OS installed.. PC not detected the phone
in your opinion waht is the best custom rom for RN7 ( for battery and gaming ) :silly:
Ayman Djebali said:
In case No OS installed.. PC not detected the phone
in your opinion waht is the best custom rom for RN7 ( for battery and gaming ) :silly:
Click to expand...
Click to collapse
I think that if you reboot to recovery and enable mtp you can detect the phone from pc but i'm not 100% sure. I don't play game. For now i'm on official havoc and i like it other roms that i like are aosmp and syberia

From AOSP to miui

Hi,
Running latest evolution x rom and want to go back to miui. Simply wiped everything in twrp and installed xiaomi.eu rom - installation was successfully but when It's finish booting and the set-up screen should be there my screen just goes black and set-up screen is coming again and again and again and again. Even tried different miui ROMs. Was running completely fine a week before.
Any suggestions?
FroZine said:
Hi,
Running latest evolution x rom and want to go back to miui. Simply wiped everything in twrp and installed xiaomi.eu rom - installation was successfully but when It's finish booting and the set-up screen should be there my screen just goes black and set-up screen is coming again and again and again and again. Even tried different miui ROMs. Was running completely fine a week before.
Any suggestions?
Click to expand...
Click to collapse
Did you leave your password/pin before you changed rom? Try deleting in TWRP and see if it helps.
zerodynamyx said:
Did you leave your password/pin before you changed rom? Try deleting in TWRP and see if it helps.
Click to expand...
Click to collapse
Thanks for the reply but I don't have a pw/pin.
FroZine said:
Thanks for the reply but I don't have a pw/pin.
Click to expand...
Click to collapse
Sorry but I'm out of ideas then. I usually go back and forth xiaomi.eu and aosp but I haven't encountered this. I usually wipe cache, dalvik, data, and system. I also have to reboot to recovery after wipe before flashing xiaomi.eu to be able to mount the system partition.
zerodynamyx said:
Sorry but I'm out of ideas then. I usually go back and forth xiaomi.eu and aosp but I haven't encountered this. I usually wipe cache, dalvik, data, and system. I also have to reboot to recovery after wipe before flashing xiaomi.eu to be able to mount the system partition.
Click to expand...
Click to collapse
I do the same
Mhm. I will try again this evening. Let's see.
I'm facing the same issue...
Coming from LOS, I flashed latest EU rom, wiped data and internal storage.
Now I'm looping at the setup screen "Just a sec..."
I removed the pin/pwd in TWRP but it didn't help
Did you format data?
IEATMILKA said:
Did you format data?
Click to expand...
Click to collapse
Yes, and internal storage
guilhem_h said:
Yes, and internal storage
Click to expand...
Click to collapse
Format data and then typed "yes"? Not "wipe data" .So that everything gets deleted except twrp?
IEATMILKA said:
Format data and then typed "yes"? Not "wipe data" .So that everything gets deleted except twrp?
Click to expand...
Click to collapse
Oh sorry I misunderstood, no I just wiped /data.
As soon as I copied the rom on my phone again I'll try that if I'm facing the same issue :good:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Saluzzo97 said:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Click to expand...
Click to collapse
It worked !! :good::good::good:
Saluzzo97 said:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Click to expand...
Click to collapse
Oh boi. So when I wipe my internal storage it's not the same like formating data ? This was my mistake
FroZine said:
Oh boi. So when I wipe my internal storage it's not the same like formating data ? This was my mistake
Click to expand...
Click to collapse
I don't know precisely why, but yeah, it's not the same thing. In fact, I had problems too, but formatting data after total wipe resolved them
formatting data "Yes" is another thing that is important when you flash custom ROM or go back to stock ROM.
After flash the miui, go back wipe -> Factory Data -> Type (yes) -> restart
it will be works
Same here
I flashed fastboot rom to get device work again

Categories

Resources