http://en.miui.com/thread-492490-1-1.html
Has anyone installed this thing? I don't know which one should I put on my phone. Everytime I want to return to MIUI phone gets stuck on bootloop, forcing me to use cable with switch to unbrick it. I think it happens because of encryption. And since this is my first Xiaomi phone I don't know where to check if my phone is encrypted. Help me.
You have to disable DM-Verify in Advanced in TWRP before boot
toji12 said:
You have to disable DM-Verify in Advanced in TWRP before boot
Click to expand...
Click to collapse
Before booting new ROM, right ?
Yep
toji12 said:
Yep
Click to expand...
Click to collapse
But now phone wants some password.
Your phone is encrypted?
Maybe your phone is encrypted by you. There is a function to encrypt all the data on your phone using a password.
Related
the phone restarted after the update and just got stuck in the boot screen....i did wipe the cache and restart it.......but didnt solve the problem.....is there a way to recover it witout data loss??...please help!!...there's some really important data on the phone i dont want to lose
AndroGuy18 said:
the phone restarted after the update and just got stuck in the boot screen....i did wipe the cache and restart it.......but didnt solve the problem.....is there a way to recover it witout data loss??...please help!!...there's some really important data on the phone i dont want to lose
Click to expand...
Click to collapse
Questions
1) Was it the OTA that got downloaded automatically?
2) Bootloader unlocked?
3) Are you on custom recovery?
4) Are you rooted?
Hetalk said:
Questions
1) Was it the OTA that got downloaded automatically?
2) Bootloader unlocked?
3) Are you on custom recovery?
4) Are you rooted?
Click to expand...
Click to collapse
1)yes...it was the OTA that got downloaded automatically
2) =3)=4)...no i was planning to do it after the update
AndroGuy18 said:
1)yes...it was the OTA that got downloaded automatically
2) =3)=4)...no i was planning to do it after the update
Click to expand...
Click to collapse
see if you can get to stock recovery and reflash the ota zip.
Else, i'm not sure what else could be done to retrieve data and then flash.
Hi. I am facing the same problem. Any advice on how to get my device back without data loss??
Fastboot mode didn't work.
Wiping cache didn't work.
aashiskhetawat said:
Hi. I am facing the same problem. Any advice on how to get my device back without data loss??
Fastboot mode didn't work.
Wiping cache didn't work.
Click to expand...
Click to collapse
@Naman Bhalla can help
aashiskhetawat said:
Hi. I am facing the same problem. Any advice on how to get my device back without data loss??
Fastboot mode didn't work.
Wiping cache didn't work.
Click to expand...
Click to collapse
Use Method 1 of Mega Unbrick guide by me on OnePlus forums. Or PM me Teamviewer details and I will help.
Naman Bhalla said:
Use Method 1 of Mega Unbrick guide by me on OnePlus forums. Or PM me Teamviewer details and I will help.
Click to expand...
Click to collapse
Ok i will try and revert back. Thanks.
Earlier I was on Megapixel Rom running february vendor img. I flashed my PN ROM backup thru flashify then it boots up with my security lock pattern. It shows that my pattern is not correct. I am rebooting to y TWRP but still it doesn't show me any files and I cant flash a zip rom. Someone help me (((
Try using different decryption method...
Your problem seems to be unsolvable right now. This is a known bug or vulnerability in the latest release of TWRP build. I am sorry.
Gameplay_Ethan said:
Your problem seems to be unsolvable right now. This is a known bug or vulnerability in the latest release of TWRP build. I am sorry.
Click to expand...
Click to collapse
wow I am in shock right now, idk what to do.. my computer doesn't recognize my phone even though Im on bootloader/twrp
lesterinidad said:
wow I am in shock right now, idk what to do.. my computer doesn't recognize my phone even though Im on bootloader/twrp
Click to expand...
Click to collapse
factory reset?
v12xke said:
factory reset?
Click to expand...
Click to collapse
idk what I did but the files suddenly shows but it wipes my media.. only problem now is whenever I reboot into TWRP it asks me the password to decrypt and after I booted up it also ask me my password to start my device like a pop up message
lesterinidad said:
idk what I did but the files suddenly shows but it wipes my media.. only problem now is whenever I reboot into TWRP it asks me the password to decrypt and after I booted up it also ask me my password to start my device like a pop up message
Click to expand...
Click to collapse
See the sticky thread in General: https://forum.xda-developers.com/nexus-6p/general/psa-twrp-backups-lockscreen-security-t3245070
You might be better off flashing the full factory image to start over and then reflash whatever you want in terms of recovery and custom rom. I did that when I was in the same situation as you. But I have never successfully restored a nandroid backup on the 6P and I never had that problem with any other phone I have ever owned. Different versions of TWRP only give me different issues when I try to restore a backup. I've had bootloops. I've had TWRP ask for a password even though I removed security before making the back up as people advise. I've had backups that seemed to restore until I started getting error messages that there was something wrong with my device and I should contact the phone manufacturer. I've given up on Nandroid backups on this phone.
!!! I apologize if this is the wrong thread to ask for help and kindly request that a moderator move it, because I don't know where it's supposed to go and my brain is in panic mode right now, thank you. !!!
So, here goes:
DEVICE INFO: SM-J510FN, TWRP, stock ROM, encrypted data partition
ISSUE: Phone does not boot. Powering it on makes it boot to recovery. Selecting "Reboot to system" from inside the recovery, also boots back to recovery. Cannot mount data partition as it is encrypted (but it doesn't at least ask for PIN or anything, just cannot select /data in mount).
HOW IT HAPPENED:
1. I encrypted the phone while it still wasn't rooted.
2. I flashed TWRP (via Odin) and SuperSU (via TWRP)
3. Phone booted to system normally, everything OK. Root access, all good.
4. Reboot to TWRP, flashed some blacked out Google Apps (Team Blackout .zip files). I got no error message, just "cannot mount data" at some points.
5. I selected "wipe cache and dalvik cache"
6. Reboot to system
Reboot to system doesn't work. It boots back into TWRP!
Now I don't know if the flashing of the .zip apps or if the wiping bricked the phone as I don't have that deep of an understanding of how it works. If you can enlighten me , I'd really appreciate it.
FEAR: That the phone is bricked forever and that I won't be able to format the data partition as I cannot even mount it and TWRP needs it mounted in order to wipe it (as far as I know). In short, phone ruined forever because of my stupidity.
HOPE: That someone will tell me a way to re-flash the stock firmware or any ROM so that I get the phone to boot up normally.
I really really need help ASAP because this phone does not even belong to me. My employer gave it to me as a gift, provided I use it for work. That's the reason it's encrypted, he wanted it encrypted in case it gets stolen. Now you're probably thinking "why would you root a company phone??" Well it's not a company phone, it is my main phone, my daily driver. It was given to me by my employer, who said I can do whatever I want with it, as long as it remains functional (at work I use it simply for phone calls, WhatsApp, Skype, mail etc)
I assume that I won't sleep much tonight, will try everything to get the phone to boot. But first I'm going to wait for any piece of advice!
Thank you in advance for any feedback...
Can you get into download mode?
If so, you should flash your stock firmware.
Yes if you boot into download mode you can flash stock rom and all will be good
capsLock1337 said:
Can you get into download mode?
If so, you should flash your stock firmware.
Click to expand...
Click to collapse
pando504 said:
Yes if you boot into download mode you can flash stock rom and all will be good
Click to expand...
Click to collapse
Hello, thanks for the replies.
Yes, download mode works. I will download the stock firmware and flash it via Odin then, yes?
But what happens with the encryption then? Will it remain in place and I will just have to enter my pin to boot as usual?
Can you please explain to me why it does not boot now..? As far as I understand, the boot partition couldn't have been damaged. Aka, stock ROM still in place, only difference is it's rooted.
bi11ie said:
Hello, thanks for the replies.
Yes, download mode works. I will download the stock firmware and flash it via Odin then, yes?
But what happens with the encryption then? Will it remain in place and I will just have to enter my pin to boot as usual?
Can you please explain to me why it does not boot now..? As far as I understand, the boot partition couldn't have been damaged. Aka, stock ROM still in place, only difference is it's rooted.
Click to expand...
Click to collapse
Not sure bout the encryption, if you lose it, you can set it up again.
Something went wrong when you tried to flash the blacked out google apps, I honestly don't have a clue.
Good luck
capsLock1337 said:
Not sure bout the encryption, if you lose it, you can set it up again.
Something went wrong when you tried to flash the blacked out google apps, I honestly don't have a clue.
Good luck
Click to expand...
Click to collapse
Haha I really don't care about the encryption at all! I'm just afraid it is going to interfere somehow but hopefully not.
I'm waiting for the stock firmware to get downloaded from sammobile. I know, I know, I should have done that first before anything else, but I was in such a hurry and I thought "OK, this is routine by now, nothing can go wrong", somehow completely forgetting about the encryption. Oops. In any case, I will post the results here later and will be VERY VERY prepared and organized in the future :'(
bi11ie said:
Haha I really don't care about the encryption at all! I'm just afraid it is going to interfere somehow but hopefully not.
I'm waiting for the stock firmware to get downloaded from sammobile. I know, I know, I should have done that first before anything else, but I was in such a hurry and I thought "OK, this is routine by now, nothing can go wrong", somehow completely forgetting about the encryption. Oops. In any case, I will post the results here later and will be VERY VERY prepared and organized in the future :'(
Click to expand...
Click to collapse
How did it go?
capsLock1337 said:
How did it go?
Click to expand...
Click to collapse
I'm flashing right now Let's see if it boots...
*fingers crossed*
Case solved
bi11ie said:
I'm flashing right now Let's see if it boots...
*fingers crossed*
Click to expand...
Click to collapse
Ahh turns out I almost freaked out for nothing! All good! So, for documentation purposes:
1. I flashed stock firmware through Odin
2. Boot up started normally ("firmware update") - got asked for encryption pin!
3. Decryption took a long time, system booted normally - ALL DATA INTACT
4. No root and No recovery (not even stock recovery)
5. I flashed TWRP through Odin and SuperSU.zip
6. Phone booted normally, TWRP there, SuperSU app there.
The only change is that the bloatware I removed is back
I'm so glad it was nothing after all! I was honestly SO scared that I bricked it ^^;
Thanks and sorry!
bi11ie said:
Ahh turns out I almost freaked out for nothing! All good! So, for documentation purposes:
1. I flashed stock firmware through Odin
2. Boot up started normally ("firmware update") - got asked for encryption pin!
3. Decryption took a long time, system booted normally - ALL DATA INTACT
4. No root and No recovery (not even stock recovery)
5. I flashed TWRP through Odin and SuperSU.zip
6. Phone booted normally, TWRP there, SuperSU app there.
The only change is that the bloatware I removed is back
I'm so glad it was nothing after all! I was honestly SO scared that I bricked it ^^;
Thanks and sorry!
Click to expand...
Click to collapse
No need to apoligize, we all do stupid mistakes sometimes
Glad that it worked!
I have flashed resurrection remix through twrp. In security section, by mistake I choose yes to secure boot at startup while setting pattern lock. Now I can't remove pattern lock at boot startup and I can't disable secure boot. I also tried removing all locks, wipe data and many stuffs. But didn't helped. Pls suggest some solutions to remove lock at boot ( secure boot).
Are you talking about device encryption?
sanam279 said:
Are you talking about device encryption?
Click to expand...
Click to collapse
yes, i think he is ...???
and i want to know how to stop device encryption..??
G. Leela Krishna Sai said:
yes, i think he is ...???
and i want to know how to stop device encryption..??
Click to expand...
Click to collapse
Hmmm now you need to format all of your internal storage
Or just flash rm pass. If doest not help, also if u have some thing u don't want to loose then flash miui and the log in to ur id and then. Goes on, or just format data.
Hi all,
Fairly new to this phone (9t) and am currently on Titanium is. Was wondering if there's a way to disable encryption as I tend to find if things go wrong you potentially lose all data and I tend to mess about with mods etc so don't want to run that risk!
Cheers!
Anyone?
twist3d0n3 said:
Anyone?
Click to expand...
Click to collapse
Idk if its the right answer but u need to backup ur files on ur pc first (i suggest u mixplorer to copy them by wifi, usb is kinda slow for me) than u need to format data and flash DFE everytime when u flash a rom to boot
twist3d0n3 said:
Hi all,
Fairly new to this phone (9t) and am currently on Titanium is. Was wondering if there's a way to disable encryption as I tend to find if things go wrong you potentially lose all data and I tend to mess about with mods etc so don't want to run that risk!
Cheers!
Click to expand...
Click to collapse
You need to format Data to remove encryption ONlLY if you want to install custom ROMs
For Magisk and any modding you plan to do with Magisk/root, you don't need.
Also, for the official TWRP or OrangeFox you don't need to decrypt (unless you go for custom ROMs)
I'm currently on a custom ROM but when I first went through the setup process everything was decrypted, then when I booted up and went in settings, it said encrypted and going by to twrp asked for my pattern to decrypt. I'm not sure what I've missed through doing all that but as a consequence, whenever I flash an update to the ROM, I have to reflash vendor + fw just to be able to boot again... I'm worried that at some point this will **** up and screw my data up.
So say for example if I set everything up from scratch again, what process should I follow? I'm using the Italian guys' twrp atm (sorry forget his username!) So is there a different twrp I should use instead or is there anything else I need to flash/do to avoid encryption happening on first boot?
Badis st said:
Idk if its the right answer but u need to backup ur files on ur pc first (i suggest u mixplorer to copy them by wifi, usb is kinda slow for me) than u need to format data and flash DFE everytime when u flash a rom to boot
Click to expand...
Click to collapse
Sorry what's dfe?
twist3d0n3 said:
Sorry what's dfe?
Click to expand...
Click to collapse
DFE = Disable Forced Encryption
So it will remove ROM encryption...
Micdu70 said:
DFE = Disable Forced Encryption
So it will remove ROM encryption...
Click to expand...
Click to collapse
Is there a zip to flash to do this? If so have you got a link?
twist3d0n3 said:
Is there a zip to flash to do this? If so have you got a link?
Click to expand...
Click to collapse
Yes it's a zip to flash but I don't know where to get it... (if not already in TWRP options/advanced maybe?... I never flashed this).
Micdu70 said:
Yes it's a zip to flash but I don't know where to get it... (if not already in TWRP options/advanced maybe?... I never flashed this).
Click to expand...
Click to collapse
Nah I've looked in twrp as I've seen an option mentioned previously. Thanks for the help tho man