Is my /data encrypted? - Xiaomi Redmi Note 3 Questions & Answers

I am on miui 8.1.4.0 rooted rn3p. So my question is can i use dual boot patcher and dual boot lineage os 14.1

Anyone ??

OK. I'll try to help. Boot into TWRP and press the button on the bottom left (four lines). This will open TWRP log. If you see something like "attempting to decrypt with default password" it means your data is encrypted. An alternative solution is to flash TWRP by dadi11 and see if it asks you for password.
How to decrypt? You must format data in TWRP. This will wipe your /data and the entire internal storage so make sure you make a backup on your SD card or PC. Then boot into TWRP, select Wipe menu and press Format data. After this, immediately flash either SuperSU or Magisk or Lazy flasher (which ever one of the three you like) and only then reboot. Once the system boots, go back into TWRP and check your log again.

Filip013 said:
OK. I'll try to help. Boot into TWRP and press the button on the bottom left (four lines). This will open TWRP log. If you see something like "attempting to decrypt with default password" it means your data is encrypted. An alternative solution is to flash TWRP by dadi11 and see if it asks you for password.
How to decrypt? You must format data in TWRP. This will wipe your /data and the entire internal storage so make sure you make a backup on your SD card or PC. Then boot into TWRP, select Wipe menu and press Format data. After this, immediately flash either SuperSU or Magisk or Lazy flasher (which ever one of the three you like) and only then reboot. Once the system boots go back into TWRP and check your log again.
Click to expand...
Click to collapse
Thanks buddy trying it now

Filip013 said:
OK. I'll try to help. Boot into TWRP and press the button on the bottom left (four lines). This will open TWRP log. If you see something like "attempting to decrypt with default password" it means your data is encrypted. An alternative solution is to flash TWRP by dadi11 and see if it asks you for password.
How to decrypt? You must format data in TWRP. This will wipe your /data and the entire internal storage so make sure you make a backup on your SD card or PC. Then boot into TWRP, select Wipe menu and press Format data. After this, immediately flash either SuperSU or Magisk or Lazy flasher (which ever one of the three you like) and only then reboot. Once the system boots go back into TWRP and check your log again.
Click to expand...
Click to collapse
One more thing its a bit off topic but still i am using radon kernel and i am seeing that when i sweep on the black screen it unlocks how to turn this off as its consuming a lot of battery

Androbots said:
One more thing its a bit off topic but still i am using radon kernel and i am seeing that when i sweep on the black screen it unlocks how to turn this off as its consuming a lot of battery
Click to expand...
Click to collapse
Umm... not sure what you're talking about. Maybe DT2W? I tried out Radon, but I haven't tried that feature. I think you just need to reflash Radon and choose default options. If that doesn't work for you, just reflash MIUI, it will get rid of Radon.

Filip013 said:
OK. I'll try to help. Boot into TWRP and press the button on the bottom left (four lines). This will open TWRP log. If you see something like "attempting to decrypt with default password" it means your data is encrypted. An alternative solution is to flash TWRP by dadi11 and see if it asks you for password.
How to decrypt? You must format data in TWRP. This will wipe your /data and the entire internal storage so make sure you make a backup on your SD card or PC. Then boot into TWRP, select Wipe menu and press Format data. After this, immediately flash either SuperSU or Magisk or Lazy flasher (which ever one of the three you like) and only then reboot. Once the system boots go back into TWRP and check your log again.
Click to expand...
Click to collapse
Filip013 said:
Umm... not sure what you're talking about. Maybe DT2W? I tried our Radon, but I haven't tried that feature. I think you just need to reflash Radon and choose default options. If that doesn't work for you, just reflash MIUI, it will get rid of Radon.
Click to expand...
Click to collapse
Yes d2tw I was talking about that only and now i have disabled it using kernel audiutor as it was consumping a lot of abttery thanks anyway

Androbots said:
Yes d2tw I was talking about that only and now i have disabled it using kernel audiutor as it was consumping a lot of abttery thanks anyway
Click to expand...
Click to collapse
OK. Let me know if you manage to get DBP to work.

Filip013 said:
OK. Let me know if you manage to get DBP to work.
Click to expand...
Click to collapse
Yup
Edit: i forgot that i checked twrp log (my bad)unfortunately it is encrypted so can't use dbp as of now but next month i might factory reset on miui and then use super su to stop encryption. Hope it works...

Filip013 said:
OK. Let me know if you manage to get DBP to work.
Click to expand...
Click to collapse
Ok so here is what i got in the results of this experiment :
I was able to patch minz1 lineage os and gapps pico 7.0 and then booted to zcx and flashed both files i removed the fingerprint and any kind security measures on miui and i flashed both files and it was successful!!!
But now i am not able to boot to either miui or lineage os!!!
Conclusion: DO NOT TRY THIS!!!

Androbots said:
Ok so here is what i got in the results of this experiment :
I was able to patch minz1 lineage os and gapps pico 7.0 and then booted to zcx and flashed both files i removed the fingerprint and any kind security measures on miui and i flashed both files and it was successful!!!
But now i am not able to boot to either miui or lineage os!!!
Conclusion: DO NOT TRY THIS!!!
Click to expand...
Click to collapse
Weird... It seems to me that you are still encrypted. Have you tried flashing DualBootUtilities and switching to MIUI that way? It is possible that you messed up your primary ROM boot image, I think that happened to me once. Whatever the case, reflashing MIUI should allow you to boot into MIUI.
---------- Post added at 04:08 PM ---------- Previous post was at 04:03 PM ----------
Androbots said:
Yup
Edit: i forgot that i checked twrp log (my bad)unfortunately it is encrypted so can't use dbp as of now but next month i might factory reset on miui and then use super su to stop encryption. Hope it works...
Click to expand...
Click to collapse
I didn't see this post until now. Well, of course you can't use DBP when you're encrypted. If you want to try DPB, you have to format data.

Filip013 said:
Weird... It seems to me that you are still encrypted. Have you tried flashing DualBootUtilities and switching to MIUI that way? It is possible that you messed up your primary ROM boot image, I think that happened to me once. Whatever the case, reflashing MIUI should allow you to boot into MIUI.
Click to expand...
Click to collapse
Flashing back miui kicked me out of the situation and btw i backed up the boot.img as well as tried switching roms none worked and also it was glitching zcx a bit.
Its quite irritating seeing xiaomi and miui enforcing so many security measures a bad day for people who like to customize things a lot!

Androbots said:
Flashing back miui kicked me out of the situation and btw i backed up the boot.img as well as tried switching roms none worked and also it was glitching zcx a bit.
Its quite irritating seeing xiaomi and miui enforcing so many security measures a bad day for people who like to customize things a lot!
Click to expand...
Click to collapse
OK. Good to know that at least you have a working system now. I only experienced issues with booting MIUI after I flashed a custom kernel on MIUI and forgot to update the kernel in DBP app, but like we established flashing MIUI solves the problem.
But again, there's no use in experimenting with DBP until you format data. So please report back when you get around to doing that.
As for Xiaomi policies, I don't know the details, but I don't think it's their fault. It seems that Google can be very strict when certifying devices and allowing the OEMs to include Gapps. Google forces OEMs to ship phones with locked bootloaders and forced encryption.

Filip013 said:
OK. Good to know that at least you have a working system now. I only experienced issues with booting MIUI after I flashed a custom kernel on MIUI and forgot to update the kernel in DBP app, but like we established flashing MIUI solves the problem.
But again, there's no use in experimenting with DBP until you format data. So please report back when you get around to doing that.
As for Xiaomi policies, I don't know the details, but I don't think it's their fault. It seems that Google can be very strict when certifying devices and allowing the OEMs to include Gapps. Google forces OEMs to ship phones with locked bootloaders and forced encryption.
Click to expand...
Click to collapse
Anyways I will be resting my device next month maybe and then I can try and let u know

Filip013 said:
OK. Let me know if you manage to get DBP to work.
Click to expand...
Click to collapse
Ok so i installed epic rim today and i erased data 3times here are results:
Data erase#1 reboot recovery data is is still encrypted
Installing epic rim did not help either flashed super su 3 times still data is encrypted!!!!
What to do???

Androbots said:
Ok so i installed epic rim today and i erased data 3times here are results:
Data erase#1 reboot recovery data is is still encrypted
Installing epic rim did not help either flashed super su 3 times still data is encrypted!!!!
What to do???
Click to expand...
Click to collapse
The order of steps is very important.
1st step: Boot to recovery.
2nd step: Format data (not wipe and I don't know what you mean by erase).
3rd step: Flash ROM (Epic ROM should be good, but it also works for Global Stable and others).
4th step: Flash SuperSU.
5th step: Reboot system.

Filip013 said:
The order of steps is very important.
1st step: Boot to recovery.
2nd step: Format data (not wipe and I don't know what you mean by erase).
3rd step: Flash ROM (Epic ROM should be good, but it also works for Global Stable and others).
4th step: Flash SuperSU.
5th step: Reboot system.
Click to expand...
Click to collapse
Gotcha that means in wipe section i have to go to format data right??

Androbots said:
Gotcha that means in wipe section i have to go to format data right??
Click to expand...
Click to collapse
Yes. Good luck.

Filip013 said:
Yes. Good luck.
Click to expand...
Click to collapse
See I have setup everything on epic rom deleting everything again will be tough I will try it next month when I am bored with epic rom

Androbots said:
See I have setup everything on epic rom deleting everything again will be tough I will try it next month when I am bored with epic rom
Click to expand...
Click to collapse
LOL. Fine. Next month then.

Related

System not responding

[Noob question]
I have a 2 year old Samsung GT-S5282 i just rooted a month ago, by installing CWM 6.0.3.7 and flashing SuperSU 2.07 in it.
I've installed a few root apps that "boosts" the phone's performance.
But a month later i tried rebooting the phone, it passes the boot logo, then it comes across a dialog saying "process system is not responding, do you want to close it?"
I pressed "wait", but then the system crashes and the screen turns off. I tried consecutive battery pulls, wiping cache partition, but no luck, it still crashes on the dialogue screen.
I reckon it's on the kernel, but i'm STILL not sure what is going on.
Can anybody suggest a fix? I really need this phone and i don't want to lose any data.
(I've backed up my personal files, i meant i don't want to lose any internal data that cannot be backed up)
Please.
HootenannyMagic said:
[Noob question]
I have a 2 year old Samsung GT-S5282 i just rooted a month ago, by installing CWM 6.0.3.7 and flashing SuperSU 2.07 in it.
I've installed a few root apps that "boosts" the phone's performance.
But a month later i tried rebooting the phone, it passes the boot logo, then it comes across a dialog saying "process system is not responding, do you want to close it?"
I pressed "wait", but then the system crashes and the screen turns off. I tried consecutive battery pulls, wiping cache partition, but no luck, it still crashes on the dialogue screen.
I reckon it's on the kernel, but i'm STILL not sure what is going on.
Can anybody suggest a fix? I really need this phone and i don't want to lose any data.
(I've backed up my personal files, i meant i don't want to lose any internal data that cannot be backed up)
Please.
Click to expand...
Click to collapse
I guess you are able to reach recovery mode. If yes, then u should connect it with computer. Try installing a custom rom (i would suggest CM11).
Step 1: Installing TWRP. http://forum.xda-developers.com/galaxy-star/orig-development/recovery-teamwin-recovery-project-3-0-2-t3435364
Step2: Installing a custom rom. http://forum.xda-developers.com/showpost.php?p=67870832&postcount=175
nagato said:
I guess you are able to reach recovery mode. If yes, then u should connect it with computer. Try installing a custom rom (i would suggest CM11).
Step 1: Installing TWRP. http://forum.xda-developers.com/galaxy-star/orig-development/recovery-teamwin-recovery-project-3-0-2-t3435364
Step2: Installing a custom rom. http://forum.xda-developers.com/showpost.php?p=67870832&postcount=175
Click to expand...
Click to collapse
Um thank you so much for the suggestion.
But unfortunately when i try to boot to recovery, the stock recovery opens up, not the CWM i flashed.
I tried to flash a fix for it, but it also didn't work.
But i guess flashing a new ROM will be the last option i have, so....do flashing one delete all my data? And if so, can i restore all internal data if ever i'll back it up? Thank you SO much for replying.
HootenannyMagic said:
Um thank you so much for the suggestion.
But unfortunately when i try to boot to recovery, the stock recovery opens up, not the CWM i flashed.
I tried to flash a fix for it, but it also didn't work.
But i guess flashing a new ROM will be the last option i have, so....do flashing one delete all my data? And if so, can i restore all internal data if ever i'll back it up? Thank you SO much for replying.
Click to expand...
Click to collapse
Well, then try three button combo (volume-down + home + power) to boot into bootloader and flash TWRP with odin.
No, your files in internal and external storage are not deleted when you format dalvik,cache,system and data partitions.
Edit: volume-down + home + power (boot to bootloader)
volume-up + home + power (boot to recovery)
nagato said:
Well, then try three button combo (volume-up + home + power) to boot into bootloader and flash TWRP with odin.
No, your files in internal and external storage are not deleted when you format dalvik,cache,system and data partitions.
Click to expand...
Click to collapse
Okay thanks.
By the way what version of TWRP would work great? (I have XXANF4 stock kernel btw, i still can't access the main screen of the phone after booting up)
And if i wipe system and data partitions will it delete the settings i have on the phone (ex. WiFi connection history, Bluetooth transfer history etc.)?
Thanks again.
HootenannyMagic said:
Okay thanks.
By the way what version of TWRP would work great? (I have XXANF4 stock kernel btw, i still can't access the main screen of the phone after booting up)
And if i wipe system and data partitions will it delete the settings i have on the phone (ex. WiFi connection history, Bluetooth transfer history etc.)?
Thanks again.
Click to expand...
Click to collapse
TWRP:- Refer the link i posted earlier.
Yes, all the settings and apps would be deleted.
nagato said:
TWRP:- Refer the link i posted earlier.
Yes, all the settings and apps would be deleted.
Click to expand...
Click to collapse
Dang it.
Wanted to keep it.
But thanks anyway.
I still can't access the phone. It just boots up, shows the lockscreen, then crashes and automatically reboots, then gets stuck in a bootloop.
I wanted to install a custom rom like you said but i cannot copy the rom files to the sdcard (the phone's still inaccessible).
Any more suggestions? Thanks.
nagato said:
TWRP:- Refer the link i posted earlier.
Yes, all the settings and apps would be deleted.
Click to expand...
Click to collapse
Also, when i try to flash the TWRP 3.0.2 you sent, Odin gives me an error that the md5 is invalid.
I still don't know what the hell is going on.
nagato said:
TWRP:- Refer the link i posted earlier.
Yes, all the settings and apps would be deleted.
Click to expand...
Click to collapse
Also, the reboot problem existed since i installed root apps, the system crash existed since i installed a custom launcher. (Nova to be exact). I don't know if that has connection to problem.
Can anybody help?
I can't just format this phone i have internal data and settings that i cannot delete.
HootenannyMagic said:
I can't just format this phone i have internal data and settings that i cannot delete.
Click to expand...
Click to collapse
Do a factory reset
Go to advance and format system and data
Then flash Stock Deodex Prerooted rom by akshay
Done
It won't delete anything
Flash cwm for star via odin
Then flash twrp via cwm
Remove ur SD card and using a card reader copy ROM file into SD card.
Mount ur SD card
Then flash the rom
BatDroid said:
Do a factory reset
Go to advance and format system and data
Then flash Stock Deodex Prerooted rom by akshay
Done
It won't delete anything
Click to expand...
Click to collapse
I mean, it deletes all the settings right? Like WiFi hotspots and bluetooth transfer history and every app i have on my phone. I just can't wrap my head around the idea that i will delete all of that just because my phone crashes on passing through the boot screen. . .
HootenannyMagic said:
I mean, it deletes all the settings right? Like WiFi hotspots and bluetooth transfer history and every app i have on my phone. I just can't wrap my head around the idea that i will delete all of that just because my phone crashes on passing through the boot screen. . .
Click to expand...
Click to collapse
U couldn't mention what tweaks did u installed to boost the phone and what exactly happened.
So,all I can say is 'do a factory reset'..
Just flash official firmware. The problem was automatically fixed without wiping data.
Sohammirikar said:
Just flash official firmware. The problem was automatically fixed without wiping data.
Click to expand...
Click to collapse
So i can just normally flash the stock firmware through Odin and Download mode and not wipe data? Is that correct?

First boot ask password

Hello guys, i have a problem, i tried to install RR 5.7.4 via TWRP ZCX, but the first boot asks me for a password
PS: I tried flashing RR while i was in MIUI 8 global stable
Factory reset in TWRP.
using TWRP filemanager go to /data/system
Delete all .key files and also delete locksettings.db file.
Reboot enjoy
Guys, my TWRP ZCX crashed, it is stuck on its logo
theoneofgod said:
Factory reset in TWRP.
Click to expand...
Click to collapse
HI, I am also facing same issue. For every boot I am being asked to draw the pattern. Factory reset in TWRP will not effect my current rom and data stuff ????
[email protected] said:
HI, I am also facing same issue. For every boot I am being asked to draw the pattern. Factory reset in TWRP will not effect my current rom and data stuff ????
Click to expand...
Click to collapse
Yes it will.
Do what's said here https://forum.xda-developers.com/showpost.php?p=70354200&postcount=3
theoneofgod said:
Yes it will.
Do what's said here https://forum.xda-developers.com/showpost.php?p=70354200&postcount=3
Click to expand...
Click to collapse
Thanks for the info
Can you explain what is this feature? because I didn't get this when i am in miui 8. But as soon as I flashed ZCX TWRP and installed RR I started getting this. Thanks in Advance
[email protected] said:
Thanks for the info
Can you explain what is this feature? because I didn't get this when i am in miui 8. But as soon as I flashed ZCX TWRP and installed RR I started getting this. Thanks in Advance
Click to expand...
Click to collapse
What he suggested will delete the lockscreen password/passcode etc so you can boot the phone without any prompts. You do this within TWRP.
theoneofgod said:
What he suggested will delete the lockscreen password/passcode etc so you can boot the phone without any prompts. You do this within TWRP.
Click to expand...
Click to collapse
Many thanks guys..You are quite supportive :angel:
[email protected] said:
Thanks for the info
Can you explain what is this feature? because I didn't get this when i am in miui 8. But as soon as I flashed ZCX TWRP and installed RR I started getting this. Thanks in Advance
Click to expand...
Click to collapse
this is because force encryption of internal storage. do a factory reset in twrp after flashing lazy flasher. and if its stuck on twrp boot logo thn u have to flash latest fastboot dev rom through miflash. thn unlock bootloader thn flash twrp thn flash lazy flasher thn factry reset. .
hope it helps
smustafasms said:
this is because force encryption of internal storage. do a factory reset in twrp after flashing lazy flasher. and if its stuck on twrp boot logo thn u have to flash latest fastboot dev rom through miflash. thn unlock bootloader thn flash twrp thn flash lazy flasher thn factry reset. .
hope it helps
Click to expand...
Click to collapse
oh in that case, should I have to factory reset everytime I flash a rom through my TWRP? I use ZCX TWRP, so Lazy flasher is not required after rom flashing right?
you just need it once . to decrypt your storage
[email protected] said:
oh in that case, should I have to factory reset everytime I flash a rom through my TWRP? I use ZCX TWRP, so Lazy flasher is not required after rom flashing right?
Click to expand...
Click to collapse
In the information about the ZCX TWRP I found below:
ZCX TWRP : http://forum.xda-developers.com/redm...persu-t3462448
- Based on official TWRP 3.0.2-0
- Patches boot.img automatically (Removes dm-verity flag)
- Disables forced encryption
Should I have to tweak anything in TWRP settings to remove this dm-verify flag everytime?
[email protected] said:
In the information about the ZCX TWRP I found below:
ZCX TWRP : http://forum.xda-developers.com/redm...persu-t3462448
- Based on official TWRP 3.0.2-0
- Patches boot.img automatically (Removes dm-verity flag)
- Disables forced encryption
Should I have to tweak anything in TWRP settings to remove this dm-verify flag everytime?
Click to expand...
Click to collapse
no ,but you should flash lazy flasher once . to decrypt ur internal storage. dm-verity flag does nothing to decrypt storage
smustafasms said:
no ,but you should flash lazy flasher once . to decrypt ur internal storage. dm-verity flag does nothing to decrypt storage
Click to expand...
Click to collapse
Thank you very much :angel:
gulshanstrider said:
using TWRP filemanager go to /data/system
Delete all .key files and also delete locksettings.db file.
Reboot enjoy
Click to expand...
Click to collapse
I tried it. Earlier i did not have any issue even if i install custom rom on my Redmi note 3. But today i thought of trying Pure Nexus *Substratum* rom. And on the first boot it asked me to enter password. though i have never kept password for my mobile, i tried all the passwords that i remember, which didnt solve my issue. then saw ur reply and tried it, and still it didnt work for me. Any other way?:crying:
AnilLonely said:
I tried it. Earlier i did not have any issue even if i install custom rom on my Redmi note 3. But today i thought of trying Pure Nexus *Substratum* rom. And on the first boot it asked me to enter password. though i have never kept password for my mobile, i tried all the passwords that i remember, which didnt solve my issue. then saw ur reply and tried it, and still it didnt work for me. Any other way?:crying:
Click to expand...
Click to collapse
Are you coming from MIUI? If so then MIUI encrypts the data partition, hence the new ROM asking for a password.
Before you install the ROM, you must "format data" on wipe in TWRP, this is different from wipe data.
Note that this will delete all your data obviously.
kimxk said:
Are you coming from MIUI? If so then MIUI encrypts the data partition, hence the new ROM asking for a password.
Before you install the ROM, you must "format data" on wipe in TWRP, this is different from wipe data.
Note that this will delete all your data obviously.
Click to expand...
Click to collapse
Yes i am coming from MIUI. I had done that But no use. Tried what ever that has been discussed in the following thread as well, but that also did not work for me.
http://en.miui.com/thread-324522-1-1.html
Posted a thread on MIUI forum as well. Waiting for some sort of help. Earlier i was able to install Custom Rom's without any issue, (though i am coming from MIUI), but now what ever may be the rom that i am trying to flash, the first boot is asking me for password. Unable to understand what is the issue.
AnilLonely said:
Yes i am coming from MIUI. I had done that But no use. Tried what ever that has been discussed in the following thread as well, but that also did not work for me.
http://en.miui.com/thread-324522-1-1.html
Posted a thread on MIUI forum as well. Waiting for some sort of help. Earlier i was able to install Custom Rom's without any issue, (though i am coming from MIUI), but now what ever may be the rom that i am trying to flash, the first boot is asking me for password. Unable to understand what is the issue.
Click to expand...
Click to collapse
Are you sure that you used "format data"?
Wipe data doesn't remove the encryption.
See this page for an image:
http://xiaomitips.com/media/2016/07/Format-Data-TWRP.png
kimxk said:
Are you sure that you used "format data"?
Wipe data doesn't remove the encryption.
See this page for an image:
http://xiaomitips.com/media/2016/07/Format-Data-TWRP.png
Click to expand...
Click to collapse
Perfect. Worked bro. Thanks a lot for the help. I was wiping cache,and internal storage. Now only came to know this. :highfive:

TWRP requires password

Hi everyone,
I have this problem that TWRP asks me for a password every time, I tried entering my password but it didn't work, if I press cancel I get in the menu but TWRP can't see internal storage only SD card.
Does someone know a fix for this problem?
I've tried some stock passwords also I tried reflashing TWRP but neither worked for me.
iamboredatwork said:
Hi everyone,
I have this problem that TWRP asks me for a password every time, I tried entering my password but it didn't work, if I press cancel I get in the menu but TWRP can't see internal storage only SD card.
Does someone know a fix for this problem?
I've tried some stock passwords also I tried reflashing TWRP but neither worked for me.
Click to expand...
Click to collapse
This is a main problem right now on TWRP... You have to actually wipe all data for making TWRP work! there is not another way of doing it.
Deathalw4ys said:
This is a main problem right now on TWRP... You have to actually wipe all data for making TWRP work! there is not another way of doing it.
Click to expand...
Click to collapse
Yes, I assume that is the only way for now when installing custom ROM (Lineage OS 14.1) TWRP no longer asks for passwords on start-up even after restoring MIUI 9.6 via TWRP, it still doesn't want pass
I reset my device via wipe option in twrp home screen but , the problem still persists. Provide some other method to overcome this problem.
Deathalw4ys said:
This is a main problem right now on TWRP... You have to actually wipe all data for making TWRP work! there is not another way of doing it.
Click to expand...
Click to collapse
How can i delete that ? I tried factory reset but that didn't work.
Please somebody give a solution of the problem.
Sachin Juni said:
How can i delete that ? I tried factory reset but that didn't work.
Please somebody give a solution of the problem.
Click to expand...
Click to collapse
Make a backup via TWRP and save it on USB OTG or SD card.
From the WIPE menu select ADVANCED
Select everything (except for USB OTG and MicroSD, that is where your backup is) and then Swipe to Wipe. Restore the backup you made.
That did it for me, I didn't clean flash official ROM because I've read that it bricks the device if you do it via TWRP (I am not sure if that is true or not, if someone has information, please share.)
Important: I am not some expert in flashing modifying unlocking and etc. This is just my personal experience, if you decide to try this and somehow you brick or/and damage your devices, I am not responsible in any way, if you are not sure what you are doing, better just don't do anything.
Good Luck!
TWRP 3.1.1.0
Nothing solved the problem but twrp 3.1.1.0 .
I am now having this proble where do I get twrp 3.1.1.0 the official site lists only 3? this password problem has annoyed me for hours now
cliffy02 said:
I am now having this proble where do I get twrp 3.1.1.0 the official site lists only 3? this password problem has annoyed me for hours now
Click to expand...
Click to collapse
Link : https://androidfilebox.com/app/twrp-v3-for-redmi-5-rosy/
Sachin Juni said:
Link : https://androidfilebox.com/app/twrp-v3-for-redmi-5-rosy/
Click to expand...
Click to collapse
;
Didnt worked for me.. i get the error "FAILED (remote: dtb not found)"
Flash miui with fastboot mode with pc than you see stock recovery come
All TWRP for Rosy (Miui 10, global/ EU) now has problem with password for encryption. However I just select SD, point to the downloaded ROM and flash, and it works! Update new rom and do not lose anything. I think it only hide the OS. I only swipe the data when OS crash
Use the steps in this thread
Sachin Juni said:
How can i delete that ? I tried factory reset but that didn't work.
Please somebody give a solution of the problem.
Click to expand...
Click to collapse
https://forum.xda-developers.com/re...-5-whyred-unlock-t3778049/page35#post79597577
---------- Post added at 06:53 PM ---------- Previous post was at 06:52 PM ----------
iamboredatwork said:
Hi everyone,
I have this problem that TWRP asks me for a password every time, I tried entering my password but it didn't work, if I press cancel I get in the menu but TWRP can't see internal storage only SD card.
Does someone know a fix for this problem?
I've tried some stock passwords also I tried reflashing TWRP but neither worked for me.
Click to expand...
Click to collapse
https://forum.xda-developers.com/re...-5-whyred-unlock-t3778049/page35#post79597577

[Fixed] Encryption isn't working anymore

I finally managed to find a working fix for this issue after having found this post. The origin of the problem is TWRP:
gordonthegopher said:
Formatting /data in TWRP uses up all the blocks, but encryption from Lineage needs 16kb of free space at the end of the partition to store the headers.
Click to expand...
Click to collapse
Fix
You have at least two solutions to fix this issue:
Resize your /data partition to free up the needed space. Here and here are guides how to do it. I haven't give it a try, so I can't confirm it's working, but several other guys reported this fix working.
If you're not comfortable to resize your partition, you can use an old version of TWRP. Beginning with version 3.2.0.0 TWRP seems to use up all blocks for /data. So you need a version prior to this one. I've used TWRP 3.1.0.0, but 3.1.1.0 should also work. Step by step:
Download and flash TWRP 3.1.0.0.
Boot into recovery and do a factory reset: Main menu -> Wipe -> Format Data (confirm with "yes"). I also wiped Cache and System (Main menu -> Wipe -> Advanced Wipe).
If you're going to flash a Nougat based ROM you can stop reading and start flashing and encrypting
If you're going to flash an Oreo based ROM you now need to update your TWRP version as anything prior to 3.2.0.0 doesn't support flashing Android 8.1. The official TWPR version sucks because you won't be able to decrypt your phone when booting in recovery. I've used the TWRP provided in this post.
Install your preferred ROM and encrypt it.
I haven't tested it, but dirty flashing a ROM (without a factory reset) might also work. But this usually leads to some random ****ups.
Also the TWRP alternative "Orange Fox" was mentioned as a solution in this thread. I actually can't remember if I've used Orange Fox to factory reset my phone or if I've flashed it only after having performed a factory reset using TWRP. For me Orange Fox didn't work (= encryption didn't work). But you might give it a try...
Original post
Hi guys,
I'm kind of stuck right now because I cannot encrypt my phone anymore and I don't know why. I got my phone last year and installed LOS 14.1 right away. For security reasons I also encrypted it - without any issues whatsoever. When LOS 15.1 came out, I upgraded my phone, with encryption still working. A couple of days back for some reason I decided to do a factory reset. Obviously, the device wasn't encrypted anymore after the reset. I then installed the new nightly of LOS (20180807) and tried to encrypt my phone once again. When I select "Encrypt phone", I need to enter my PIN, the phone restarts and reboots without encryption being started.
What I've done so far:
I've flashed two different TWRP versions: 3.2.3.0 and a customized one (https://forum.xda-developers.com/re...other-development/rom-lineageos-15-0-t3690465).
I've clean installed different LOS versions (unofficial LOS 14.1 and LOS 15.1 starting from the 20180710 release)
I've clean installed Omnirom (current release and a release from 20180107).
I've even flashed MIUI 9 and reinstalled LOS thereafter because some guy in the above mentioned LOS thread wrote, that this did the trick for him.
I've disabled WI-FI and mobile data before trying to encrypt my phone, because I found a blog article stating that this might help.
Nothing helped. The phone just reboots and stays unencrypted.
Do you guys have any additional hints or ideas how I can manage to encrypt my phone once again? Could another TWRP version do the trick? Is TWRP even involved in any kind when it comes to encryption of the OS? Do you think another ROM could be helpful?
Click to expand...
Click to collapse
Try orangewolf recovery ....
Sent from my Redmi Note 4 using Tapatalk
I'm also having trouble with this. Many days ago, someone told they had successfully encrypted their phone. I tried to replicate what he did, got miui.eu and flashed LOS afterwards.
After tons of restarting, reflashing, all kind of stuff, the encryption still doesn't work. Pfff.
shakil002 said:
Try orangewolf recovery ....
Click to expand...
Click to collapse
Thanks for the advice. But I'm afraid it didn't help
CanBostanci said:
I'm also having trouble with this. Many days ago, someone told they had successfully encrypted their phone. I tried to replicate what he did, got miui.eu and flashed LOS afterwards.
After tons of restarting, reflashing, all kind of stuff, the encryption still doesn't work. Pfff.
Click to expand...
Click to collapse
That's the most ****ed up part. For some people it does work, for some not.
There surely must be some ridiculous small detail we're not getting. Like disabling WI-FI while Bluetooth is enabled.
Things I've also tried:
installed a new kernel: ElectraBlue (https://forum.xda-developers.com/re...rnel-electrablue-kernel-redmi-note-4-t3655651)
flashed an old LOS 14.1 with kernel 3.18.31 which I found here
used different screen lock types (PIN, password, pattern, swipe)
charged my battery up to 100%
reformatted my data partition with f2f
Of course, my device is still unencrypted...
Has anyone any idea why encryption might fail? I mean, it did work in the past with LOS 14.1. So why does it even fail with an old release of LOS 14.1? I don't do knowingly anything different to all the times I've successfully encrypted my phone in the past.
Does the factory reset still leave some files untouched?
parkbank said:
Things I've also tried:
installed a new kernel: ElectraBlue (https://forum.xda-developers.com/re...rnel-electrablue-kernel-redmi-note-4-t3655651)
flashed an old LOS 14.1 with kernel 3.18.31 which I found here
used different screen lock types (PIN, password, pattern, swipe)
charged my battery up to 100%
reformatted my data partition with f2f
Of course, my device is still unencrypted...
Has anyone any idea why encryption might fail? I mean, it did work in the past with LOS 14.1. So why does it even fail with an old release of LOS 14.1? I don't do knowingly anything different to all the times I've successfully encrypted my phone in the past.
Does the factory reset still leave some files untouched?
Click to expand...
Click to collapse
Mmm, maybe it's about the firmware? I was almost going to try lineageos 14.1...
CanBostanci said:
Mmm, maybe it's about the firmware? I was almost going to try lineageos 14.1...
Click to expand...
Click to collapse
Huh... I didn't even think about the firmware. That would explain why the one user who flashed MIUI before installing LOS could actually encrypt his phone. I'll definitely give it a try.
parkbank said:
Huh... I didn't even think about the firmware. That would explain why the one user who flashed MIUI before installing LOS could actually encrypt his phone. I'll definitely give it a try.
Click to expand...
Click to collapse
I'm looking forward to hear the results. I'm about to become insane because of this encryption issue.
I've flashed both the dev and stable firmware found in this thread. No success
By flashing I mean factory reset, flashing the firmware and then installing LOS. I noticed, that flashing a new firmware while a ROM is still installed leads to some random ****ups.
After a couple of days of flashing, factory resetting, re-flashing, reading and a lot of cursing I finally found a working solution. I've added the fix to my initial post. Hopefully this helps
I was looking for solutions for quite a while and nothing else worked but did this and my device is encrypted again.
Thank you!
parkbank said:
I finally managed to find a working fix for this issue after having found this post. The origin of the problem is TWRP:
Fix
You have at least two solutions to fix this issue:
Resize your /data partition to free up the needed space. Here and here are guides how to do it. I haven't give it a try, so I can't confirm it's working, but several other guys reported this fix working.
If you're not comfortable to resize your partition, you can use an old version of TWRP. Beginning with version 3.2.0.0 TWRP seems to use up all blocks for /data. So you need a version prior to this one. I've used TWRP 3.1.0.0, but 3.1.1.0 should also work. Step by step:
Download and flash TWRP 3.1.0.0.
Boot into recovery and do a factory reset: Main menu -> Wipe -> Format Data (confirm with "yes"). I also wiped Cache and System (Main menu -> Wipe -> Advanced Wipe).
If you're going to flash a Nougat based ROM you can stop reading and start flashing and encrypting
If you're going to flash an Oreo based ROM you now need to update your TWRP version as anything prior to 3.2.0.0 doesn't support flashing Android 8.1. The official TWPR version sucks because you won't be able to decrypt your phone when booting in recovery. I've used the TWRP provided in this post.
Install your preferred ROM and encrypt it.
I haven't tested it, but dirty flashing a ROM (without a factory reset) might also work. But this usually leads to some random ****ups.
Also the TWRP alternative "Orange Fox" was mentioned as a solution in this thread. I actually can't remember if I've used Orange Fox to factory reset my phone or if I've flashed it only after having performed a factory reset using TWRP. For me Orange Fox didn't work (= encryption didn't work). But you might give it a try...
Original post
Click to expand...
Click to collapse
You have save my day "my MIDO" hehehehe
After the 1st PIE Rom the encryption was broken.
Your Step by Step save this and now Syberia 9 was able to encrypt with success :good:
Thank you one more time for sharing.
Thx!
---------- Post added at 07:22 PM ---------- Previous post was at 07:20 PM ----------
Orangefox worked
is there any plan to fix twrp itself?? thx
Thank you. It worked for me to get Havoc OS 9.0 with hardware encryption on my Redmi Note 3 SE.
I bypassed unlocking the bootloader by doing this. Then I installed TWRP 3.1.0.0 from the recovery, did the reset and everything as instructed here, updated it to 3.3.1.0, rebooted, then flashed the Pie ROM and latest gapps without any further wiping.
I use the first link, I've modified the partition size -> did the trick wihtout formating nor loosing datas
Great, thank-You.
Hi, I want to ask, what is this encryption features you been using? can u tell me?

Pocophone F1 no os after sideloading going wrong

Hey all, so it appears that I screwed my phone, I am not sure how.
I was running LineageOS, and wanted to update to Android 10 one, so I followed the steps, and I think I screwed the sideloading part, so... long story short now when rebooting from OrangeFox RecoveryProject it says no OS detected, and when it boots it says encryption unsuccessful, I tried wiping and installing DisableForceEncryption_Treble_v17.2 and restarting, and the same thing happens.
I tried to flash through recovery both, and did not work:
https://xiaomifirmwareupdater.com/firmware/beryllium/
https://xiaomifirmwareupdater.com/archive/vendor/beryllium/
And when trying to flash through miFlash it doesn't work:
I go to fastboot in poco, hit refresh in miflash, it shows a device in the list, but the phone goes dark with 'something key to shutdown` written in the top left corner and if I hit the flash button nothing happens.
Can anyone assist with that please?
kishikaisei said:
Hey all, so it appears that I screwed my phone, I am not sure how.
I was running LineageOS, and wanted to update to Android 10 one, so I followed the steps, and I think I screwed the sideloading part, so... long story short now when rebooting from OrangeFox RecoveryProject it says no OS detected, and when it boots it says encryption unsuccessful, I tried wiping and installing DisableForceEncryption_Treble_v17.2 and restarting, and the same thing happens.
I tried to flash through recovery both, and did not work:
https://xiaomifirmwareupdater.com/firmware/beryllium/
https://xiaomifirmwareupdater.com/archive/vendor/beryllium/
And when trying to flash through miFlash it doesn't work:
I go to fastboot in poco, hit refresh in miflash, it shows a device in the list, but the phone goes dark with 'something key to shutdown` written in the top left corner and if I hit the flash button nothing happens.
Can anyone assist with that please?
Click to expand...
Click to collapse
This happened to me when I accidentally deleted the OS when flashing the latest MIUI 11 build (using TWRP). THIS IS HOW I FIXED IT.
Find a full firmware of whatever you wanted to flash, either Lineage or MIUI 11. Then flash via your recovery (you said you have orangefox). Use an external sd card, external USB or HDD since you technically wouldn't have access to your internal data. After flashing, same process as most updates, clear cache and dalkiv. Then flash a newer DFE (if you still want to decrypt, there is a page here in xda with it. Or go to miui forums Happybuddhist, the mod there, made a new one prebuilt with Magisk). Then reboot into recovery to make sure you keep your custom recovery. Once booted to recov. Boot to system. Should fix the issue.
You could check my guide here on how to unbrick your pocophone:
https://forum.xda-developers.com/poco-f1/how-to/unbrick-flashing-stable-rom-pocophone-t3901152
mecoromeo said:
This happened to me when I accidentally deleted the OS when flashing the latest MIUI 11 build (using TWRP). THIS IS HOW I FIXED IT.
Find a full firmware of whatever you wanted to flash, either Lineage or MIUI 11. Then flash via your recovery (you said you have orangefox). Use an external sd card, external USB or HDD since you technically wouldn't have access to your internal data. After flashing, same process as most updates, clear cache and dalkiv. Then flash a newer DFE (if you still want to decrypt, there is a page here in xda with it. Or go to miui forums Happybuddhist, the mod there, made a new one prebuilt with Magisk). Then reboot into recovery to make sure you keep your custom recovery. Once booted to recov. Boot to system. Should fix the issue.
Click to expand...
Click to collapse
I tried that, now I am a step forward I think, I flashed the stock firmware I found, and installed the latest stock ROM, rebooted (doesn't say no os anymore), but the only thing I see is a DELETE ALL DATA button and at the bottom 'Encryption was interrupted and can't be completed. As a result, the data on your phone is no longer accessible.
To resume using your phone, you need to perform a factory reset. When you set up your phone after the reset, you'll have an opportunity to restore any data that was backed up to your Google account.'
Darklouis said:
You could check my guide here on how to unbrick your pocophone:
https://forum.xda-developers.com/poco-f1/how-to/unbrick-flashing-stable-rom-pocophone-t3901152
Click to expand...
Click to collapse
I have an issue with the MiFlash part, it seems that it doesn't work as I mentioned...
Aight all, formatting data partition to ext4 worked, now it is booting
kishikaisei said:
Aight all, formatting data partition to ext4 worked, now it is booting
Click to expand...
Click to collapse
Works now?
mecoromeo said:
Works now?
Click to expand...
Click to collapse
So I had an OS-less phone that don't get recognised in MiFlash, and I had orangeFox recovery.
The steps to fix were:
- Flash a full stock Firmware
- Flash the stock ROM
- Flash DFE
- Format data to ext4
- Reboot and it works
So thanks all for your help

Categories

Resources