My phone is encrypted and After I flashed an update of a custom rom it required me to enter a password to start android
I did my screen pin and it won't accept it. I tried default_password it did not work too, also twrp has locked me out of my data
don't tell me to wipe my data its really important and I need it.
And this is why we backup....
The encryption key was unique to the old version of Android, even re-flashing stock is NO guarantee of recovering data...
Sorry...
Masterx1200 said:
My phone is encrypted and After I flashed an update of a custom rom it required me to enter a password to start android
I did my screen pin and it won't accept it. I tried default_password it did not work too, also twrp has locked me out of my data
don't tell me to wipe my data its really important and I need it.
Click to expand...
Click to collapse
As i know, u cant recover ur data now. Phone data need to be formatted. Sr. Or someone can help u. Good luck.
Masterx1200 said:
My phone is encrypted and After I flashed an update of a custom rom it required me to enter a password to start android
I did my screen pin and it won't accept it. I tried default_password it did not work too, also twrp has locked me out of my data
don't tell me to wipe my data its really important and I need it.
Click to expand...
Click to collapse
LOL! Its funny, while Im reading your post, Im clean flashing my phone from bootlegger to xiaomi eu stable rom. Cleared up security pin, flashed DFE magisk v19.3 prior and after flashing the rom, and guess what? Ended up in same situation as you. HAHAHA! I think Im gonna give up with this whole decryption thing. Its really s**ks, sometimes DFE works and sometimes it just wouldnt work. I think I have lost my data and flashed fastboot rom for 10 times since playing with this device.
Anyway, theres no other way to get back the data that we lost. Its just, FRUSTRATING and really wasting our time to decrypt the whole phone back.
cangcan said:
LOL! Its funny, while Im reading your post, Im clean flashing my phone from bootlegger to xiaomi eu stable rom. Cleared up security pin, flashed DFE magisk v19.3 prior and after flashing the rom, and guess what? Ended up in same situation as you. HAHAHA! I think Im gonna give up with this whole decryption thing. Its really s**ks, sometimes DFE works and sometimes it just wouldnt work. I think I have lost my data and flashed fastboot rom for 10 times since playing with this device.
Anyway, theres no other way to get back the data that we lost. Its just, FRUSTRATING and really wasting our time to decrypt the whole phone back.
Click to expand...
Click to collapse
exactly the same as you it has happened to me more than one time!!
anyways I managed to make it accept my password by going to the previous build where the password was set up originally.
but the smiles and happiness didn't continue for long, it showed me a message saying that the decryption was unsuccessful and I have to reset my phone to use it again.
I finally gave here I put up a good fight, I did reset my phone and this time I flashed DFE. this phone is so trippie man you have to do a backup before flashing anything!!
also if you are locked up from your phone that means it was encrypted before, id rather my phone be decrypted atleast when I run into issues I can have my data back. this whole encryption thing forces you to wipe your phone, but give what I said a try go back to the previous rom and try unlocking it there. good luck man.
Related
Title says it all, I already posted in the cm12.1 thread but I can't get my phone to not be encrypted. I would seriously appreciate some help..
Oggie7797 said:
@invisiblek thanks for keeping this device alive along with others. I am about to ship off to bootcamp and I was going to give my DNA to my mom. Well, I am trying to get my device to decrypt but for the life of me I can't. I encrypted inside of CM12.1 a month or two ago and half way into a reboot i need to do my password to boot. I have reset the phone from phone settings, and even tried wiping EVERYTHING including internal storage inside of TWRP yet half way into a pure clean flash of CM12.1 (sideload zips from recovery using adb) It STILL wants me to do my password and phone says it is encrypted in settings. I even wiped everything (again) and obviously bootlooped into htc logo until i rebooted into recovery where twrp asked for my password to unencrypt...lol I am not trying to complain but I don't want her to deal with the super long reboot and having to remember my password everytime it tries to boot. I would really appreciate any help!
Edit:
Just flashed TWRP 2.8.7.1 from mdmower hoping it would actually kill the encryption but didn't work.
https://android.cmphys.com/twrp-dlx/
Click to expand...
Click to collapse
@santod040 you're a dlx wizard perhaps you could even help if ya had a sec lol
The story is that, I flashed a custom 7.1.2 ROM all gone successful and I put in PIN and fingerprint as Security.I rebooted because I want to install SuperSU after successful SU flashing the screen prompt "To Start You Android, Enter your PIN" I was confident to enter my PIN but after hitting OK it says that my PIN is wrong. So I entered several times but no success. I panicked so flashing miui eu rom. It was my option hoping that all will be good after installation. But still the "To Start You Android, Enter your PIN"
As I've searched now I need to delete the .key files on data/system folder but since I flashed different ROMs back and forth maybe those files has been deleted also.
To cut this long story, I am still stucked with the "To Start You Android, Enter your PIN"
What I am gonna do now?
Please help me.
My device is Redmi Note 4x (SD), Unlocked and with TWRP installed
Aciong.Aksaya said:
The story is that, I flashed a custom 7.1.2 ROM all gone successful and I put in PIN and fingerprint as Security.I rebooted because I want to install SuperSU after successful SU flashing the screen prompt "To Start You Android, Enter your PIN" I was confident to enter my PIN but after hitting OK it says that my PIN is wrong. So I entered several times but no success. I panicked so flashing miui eu rom. It was my option hoping that all will be good after installation. But still the "To Start You Android, Enter your PIN"
As I've searched now I need to delete the .key files on data/system folder but since I flashed different ROMs back and forth maybe those files has been deleted also.
To cut this long story, I am still stucked with the "To Start You Android, Enter your PIN"
What I am gonna do now?
Please help me.
My device is Redmi Note 4x (SD), Unlocked and with TWRP installed
Click to expand...
Click to collapse
Format Data via twrp. Good to go.
Note that you'll loose all your data.
Thanks @sachin n.
This has been resolved.
I guess you may be using twrp to install the ROM when there is no formatted data partition,
Andy,xu said:
I guess you may be using twrp to install the ROM when there is no formatted data partition,
Click to expand...
Click to collapse
Nah, MIUI itself encrypted. You've to FORMAT data via TWRP inorder to get rid of encryption. No option.
BTW, check #3, it has been fixed.
sachin n said:
Nah, MIUI itself encrypted. You've to FORMAT data via TWRP inorder to get rid of encryption. No option.
BTW, check #3, it has been fixed.
Click to expand...
Click to collapse
As a Chinese user, also witnessed the development of XIAOMI over the past few years. In the Chinese market, the main price is correct. But still hungry sales so far. Feeling like a monkey! MIUI is the same, once slogan: for the fever and students. Has now become the "ADUI". Bloated, ad implanted, or even better than Flyme. Hope MIUI9 can change. There is a month on the closed .....
got my X today and testet some custom roms, but after i tested omni, my phone always ask for a password to encrypt the system partition but i never set one.
is there a "general password" or something to get rid of that?
this is happened when you re flash stock rom and check MASTER RESET but never wipe internal storage.
you will have to reflash / wipe all, there is no other way (at least not that I know of)
all data will be lost and you will get your internal storage back
i do a full wipe now, but i still encounter this problem. cant believe its just about master-reset because even if i dont wipe it, i get questioned about the password wich i dont know. if i enter "default_password" it says "your password is correct but your files are corrupted please go back to your recovery and wipe your system" but in TWRP this password doesnt work and i cant wipe anything besides cache. I cant even set a pasword if i'm on stock .252
never thought it would be such a pain in the ass to flash a custom-rom on the X...
so, after some tests, even if i set a pattern lock, after flashing any custom-rom it says my pattern is wrong. i don't know what to do to get rid of this, i hope some of you guys can help me because at this level i just only can use stock-rom
[Edit]
after more research, i found a tipp on a guide for One+ that data (encryption) can be erased in twrp. So, i did and wow, it works. good to know.
Aaskereija said:
so, after some tests, even if i set a pattern lock, after flashing any custom-rom it says my pattern is wrong. i don't know what to do to get rid of this, i hope some of you guys can help me because at this level i just only can use stock-rom
[Edit]
after more research, i found a tipp on a guide for One+ that data (encryption) can be erased in twrp. So, i did and wow, it works. good to know.
Click to expand...
Click to collapse
thank you! i didn't know that!
life is diy project!
The Auto Rotation worked on Miui, and then Lineage when I flashed it. But YouTube didn't work
Then I wanted to try Pixel experience, youtube still didn't work, then auto rotate didn't work
Then I tried Havoc, my favorite UI so far; youtube finally worked, but auto rotate still didn't work, and now Fire Emblem wouldn't install via APK or show up as compatible in the play store...
I want to know if there's a fix for auto rotate or a lightweight rom that will give me rotate and spare me from app issues.
Chocolina said:
The Auto Rotation worked on Miui, and then Lineage when I flashed it. But YouTube didn't work
Then I wanted to try Pixel experience, youtube still didn't work, then auto rotate didn't work
Then I tried Havoc, my favorite UI so far; youtube finally worked, but auto rotate still didn't work, and now Fire Emblem wouldn't install via APK or show up as compatible in the play store...
I want to know if there's a fix for auto rotate or a lightweight rom that will give me rotate and spare me from app issues.
Click to expand...
Click to collapse
Probably caused rotation bug yourself, dont remember exactly now, but you wiped partition you shouldnt have wiped. Maybe vendor partition, im not 100% sure. Just flash stock rom, get everything working again, and dont wipe what you not supposed to wipe. Do it only on cache, data, system. Also, be sure to follow guides exactly when flashing stock rom, you can easily brick the device if you relock bootloader or do other mistakes.
Edit. Remembered, its persist partition. You wiped it and lost all your sensors. There is absolutely no reason to wipe it. Just do everything as suggested in tutorials and everything will work as its supposed to.
Plekst said:
Probably caused rotation bug yourself, dont remember exactly now, but you wiped partition you shouldnt have wiped. Maybe vendor partition, im not 100% sure. Just flash stock rom, get everything working again, and dont wipe what you not supposed to wipe. Do it only on cache, data, system. Also, be sure to follow guides exactly when flashing stock rom, you can easily brick the device if you relock bootloader or do other mistakes.
Edit. Remembered, its persist partition. You wiped it and lost all your sensors. There is absolutely no reason to wipe it. Just do everything as suggested in tutorials and everything will work as its supposed to.
Click to expand...
Click to collapse
Any wiping I did was Dalvik, Internal, Data, System, and Cache, and if you can even count it, SD and OTG. There were no options to wipe vendor. Maybe vendor got overwritten, but I never specifically went to an option where I could wipe or delete any partitions. Everything I do/did was is in the Wipe or Install menu, with the exception of language change.
But now everything is destroyed because the mi flash tool bricked my device. I now learned that what the tool is known for, but being my first Xiaomi devices, it's not exactly on the user manual or common knowledge that Xiaomi likes bricking devices. I only heard of it after I started having problems
I wasn't cautious about the actions I was making because never before had I owned a device I couldn't recover from, including bricks. So I figured anything I did, I could just reverse it and go to stock
Chocolina said:
Any wiping I did was Dalvik, Internal, Data, System, and Cache, and if you can even count it, SD and OTG. There were no options to wipe vendor. Maybe vendor got overwritten, but I never specifically went to an option where I could wipe or delete any partitions. Everything I do/did was is in the Wipe or Install menu, with the exception of language change.
Click to expand...
Click to collapse
Well thats how it happens. You delete persist partition and you lose sensors. And im 100% sure thats what happened to you. So doesnt matter what you think you did or didnt, fact is it happened. Flash stock rom and fix it.
Plekst said:
Well thats how it happens. You delete persist partition and you lose sensors. And im 100% sure thats what happened to you. So doesnt matter what you think you did or didnt, fact is it happened. Flash stock rom and fix it.
Click to expand...
Click to collapse
Flashing stock rom is what bricked my device
Chocolina said:
Flashing stock rom is what bricked my device
Click to expand...
Click to collapse
Again, didnt follow guide properly then. Everyday hundreds of people do these things and nothing bad happens. Probably choose bad settings in flash software, like lock bootloader again
Plekst said:
Again, didnt follow guide properly then. Everyday hundreds of people do these things and nothing bad happens. Probably choose bad settings in flash software, like lock bootloader again
Click to expand...
Click to collapse
Im not arguing my ineptitude, you're right...
But the official flashing tool shouldn't be bricking devices regardless if there is or isn't a locked bootloader option, and should probably warn the user before hand the risks.
The flashing tool is supposed to be saving people from bricks, not causing them. Until I bricked my device, I wasn't seeing the "oh man I bricked my device using this" or "don't do this you'll brick your device" comments, it wasn't until after I did, did I have to search my issue.
But I've had time to sit down and tinker, I did manage to get it up and running regardless that the bootloader was locked.
Now my biggest regret is how I had to mangle the paint job just to get the damn thing open. By far one of the most difficult covers I had to remove
Chocolina said:
Im not arguing my ineptitude, you're right...
But the official flashing tool shouldn't be bricking devices regardless if there is or isn't a locked bootloader option, and should probably warn the user before hand the risks.
The flashing tool is supposed to be saving people from bricks, not causing them. Until I bricked my device, I wasn't seeing the "oh man I bricked my device using this" or "don't do this you'll brick your device" comments, it wasn't until after I did, did I have to search my issue.
But I've had time to sit down and tinker, I did manage to get it up and running regardless that the bootloader was locked.
Now my biggest regret is how I had to mangle the paint job just to get the damn thing open. By far one of the most difficult covers I had to remove
Click to expand...
Click to collapse
It shouldnt, same as you shouldnt be flashing custom made roms by random developers. Yet we do . If you only use phone as it was supposed to be used, and flash only official firmwares you will never brick.
Plekst said:
It shouldnt, same as you shouldnt be flashing custom made roms by random developers. Yet we do . If you only use phone as it was supposed to be used, and flash only official firmwares you will never brick.
Click to expand...
Click to collapse
Can you give backup files persistant twrp ? I lost my sensors too.. flash to stockrom is so harmful ..
Hi,
I seriously ****ed up big time. So it started with this. I just wanted to upgrade my magisk, clicked on direct install as usual. Something went wrong I guess because after the upgrade my phone won't boot, just into fastboot. Then I've got an idea, reflashing LOS (at that time I was able to access my storage from TWRP but strangely it did not asked for a password, but it always did before) So yeah, I reflashed LOS which went well(? idk) and after that LOS and TWRP started to ask for a password. I've tried my lock screen pin (which was ok every time before this very unfortunate event, but not ok now), I started Googlin and found a few other passwords like: "default_password" or "none" but neither works of coruse.
What is your opinion, is there any way that I can access that encrypted **** or I should just format everything and restart from a blank phone?
Okay kids the moral of the story: do your ****ing backups regularly!
Thanks
Try to delete locksettings.db in root/data/system via twrp using file explorer
Adidas108 said:
Try to delete locksettings.db in root/data/system via twrp using file explorer
Click to expand...
Click to collapse
Thanks, that'd be good, but apparently I can't see any file in that folder.
Something is wrong then...data must be mounted. Corect location is data/system/locksettings.db
turisz said:
Hi,
What is your opinion, is there any way that I can access that encrypted **** or I should just format everything and restart from a blank phone?
Okay kids the moral of the story: do your ****ing backups regularly!
Thanks
Click to expand...
Click to collapse
No. There's no way to recover your data. You'll have to format your storage.
turisz said:
Hi,
I seriously ****ed up big time. So it started with this. I just wanted to upgrade my magisk, clicked on direct install as usual. Something went wrong I guess because after the upgrade my phone won't boot, just into fastboot. Then I've got an idea, reflashing LOS (at that time I was able to access my storage from TWRP but strangely it did not asked for a password, but it always did before) So yeah, I reflashed LOS which went well(? idk) and after that LOS and TWRP started to ask for a password. I've tried my lock screen pin (which was ok every time before this very unfortunate event, but not ok now), I started Googlin and found a few other passwords like: "default_password" or "none" but neither works of coruse.
What is your opinion, is there any way that I can access that encrypted **** or I should just format everything and restart from a blank phone?
Okay kids the moral of the story: do your ****ing backups regularly!
Thanks
Click to expand...
Click to collapse
Also happened to me when I try rooting my phone using Kingo. I removed the battery, then put it back. Turned on and it worked again.