Hi Friends,
I setted-up secure start up ( i.e a pattern lock appear when booting the device) when i installed lineage os, but i soon got annoyed with it. My problem is I don't know how to turn it off.
SOLUTIONS tried:-
1. I checked Each and every setting on my phone to turn it off but couldn't found any on lineage os
2.I tried flashing even a different rom , Havoc OS but the secure start up pattern lock still persist
3.when setting up havoc os , i tried disabling it by clicking 'no' when havoc os startup asked to enable secure start up but nothing happened
And Now even my TWRP recovery has a pattern lock due this problem and Wiping my phone didn't solve it.
Any Help PLease????
Solved:
goto>fastboot mode (bootloader)>connect to pc with adb running>type in cmd>fastboot erase userdata
PreciousPulkit said:
Hi Friends,
I setted-up secure start up ( i.e a pattern lock appear when booting the device) when i installed lineage os, but i soon got annoyed with it. My problem is I don't know how to turn it off.
SOLUTIONS tried:-
1. I checked Each and every setting on my phone to turn it off but couldn't found any on lineage os
2.I tried flashing even a different rom , Havoc OS but the secure start up pattern lock still persist
3.when setting up havoc os , i tried disabling it by clicking 'no' when havoc os startup asked to enable secure start up but nothing happened
And Now even my TWRP recovery has a pattern lock due this problem and Wiping my phone didn't solve it.
Any Help PLease????
Click to expand...
Click to collapse
Some people can clear the password by setting a new password and selecting No for secure boot. But that has never worked for me.
See the discussion here https://forum.xda-developers.com/on...ageos-15-1-oneplus-3-3t-t3739169/post76890649
So, try that first and if it doesn't work, the only other option is to reformat the data partition. You'll lose everything in your internal storage, so back it up on external storage.
Sent from my OnePlus3T using XDA Labs
The only way to make it go away is to wipe your phone. Including the internal storage.
I was pissed when I found out.
BillGoss said:
Some people can clear the password by setting a new password and selecting No for secure boot. But that has never worked for me.
See the discussion here https://forum.xda-developers.com/on...ageos-15-1-oneplus-3-3t-t3739169/post76890649
So, try that first and if it doesn't work, the only other option is to reformat the data partition. You'll lose everything in your internal storage, so back it up on external storage.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
Thanks For the reply But I have Tried wiping my phone, everything including internal storage but nothing seems to help. Any other solution?
ast00 said:
The only way to make it go away is to wipe your phone. Including the internal storage.
I was pissed when I found out.
Click to expand...
Click to collapse
Thanks For the reply But I have Tried wiping my phone, everything including internal storage but nothing seems to help. Any other solution?
PreciousPulkit said:
Thanks For the reply But I have Tried wiping my phone, everything including internal storage but nothing seems to help. Any other solution?
Click to expand...
Click to collapse
Plug your phone into a computer, go to bootloader mode and then use cmd to type "fastboot erase userdata".
This should decrypt your device. Be careful though, booting a stock ROM or anything with the stock kernel will auto encrypt it again without warning you.
ast00 said:
Be careful though, booting a stock ROM or anything with the stock kernel will auto encrypt it again without warning you.
Click to expand...
Click to collapse
But it won't set boot password up on its own though
przemcio510 said:
But it won't set boot password up on its own though
Click to expand...
Click to collapse
True. But I consider encryption itself a curse. There really should be a way to decrypt without wiping the phone.
ast00 said:
True. But I consider encryption itself a curse. There really should be a way to decrypt without wiping the phone.
Click to expand...
Click to collapse
Consider that if you lose your unencrypted phone or it gets stolen, a thief can read your data, access all your accounts and bypass FRP.
przemcio510 said:
Consider that if you lose your unencrypted phone or it gets stolen, a thief can read your data, access all your accounts and bypass FRP.
Click to expand...
Click to collapse
If it's rooted encryption doesn't help. Secure startup does, but it introduces so many problems with simple things like restoring a backup that it's not worth it for me.
And like I said, encryption alone doesn't make a difference as long as you TWRP.
ast00 said:
Secure startup does, but it introduces so many problems with simple things like restoring a backup that it's not worth it for me.
Click to expand...
Click to collapse
Never had such issues
ast00 said:
And like I said, encryption alone doesn't make a difference as long as you TWRP.
Click to expand...
Click to collapse
Actually encryption without secure startup doesn't make sense at all
przemcio510 said:
Never had such issues
Actually encryption without secure startup doesn't make sense at all
Click to expand...
Click to collapse
Which is exactly why forced encryption on every single damn phone is stupid. Ask the user on the first startup if they want this or not. If someone is too stupid to decide this for themselves after a simple, one paragraph explanation, they don't deserve a smartphone.
But the current implementation is unreliable and frustrating to anyone looking to modify the software on their phone. Granted, we are the minority.
ast00 said:
Plug your phone into a computer, go to bootloader mode and then use cmd to type "fastboot erase userdata".
This should decrypt your device. Be careful though, booting a stock ROM or anything with the stock kernel will auto encrypt it again without warning you.
Click to expand...
Click to collapse
Thanks This Worked Very well
ast00 said:
Plug your phone into a computer, go to bootloader mode and then use cmd to type "fastboot erase userdata".
This should decrypt your device. Be careful though, booting a stock ROM or anything with the stock kernel will auto encrypt it again without warning you.
Click to expand...
Click to collapse
Does this mean a Gapps ROM as stock would encrypt it too?
SchwarZWeiSs said:
Does this mean a Gapps ROM as stock would encrypt it too?
Click to expand...
Click to collapse
Not sure what you mean by gapps rom.
Stock Oxygen OS is the only thing that will encrypt it. You can use custom roms based on Oxygen OS though.
ast00 said:
Not sure what you mean by gapps rom.
Stock Oxygen OS is the only thing that will encrypt it. You can use custom roms based on Oxygen OS though.
Click to expand...
Click to collapse
Thanks!
Related
Hello, when I TWRP it asks for a password to decrypt data and if I don't input the password it won't let me access the emulated sdcard. I've never put any password though =/
Is there any way to restore twrp without flashing the stock image/wiping data?
Please search next time...
The password is as follows: (type or exactly as written below)
default_password
Pilz said:
Please search next time...
The password is as follows: (type or exactly as written below)
default_password
Click to expand...
Click to collapse
I typed it as you wrote it with the underscore and no uppercase letters but it gives me Password Failed, Please Try Again
I actually made a quick search before posting and I tried this password before.. Another solution is to wipe data/factory reset but if possible I'd like just to re-install TWRP or remove the password somehow
you missed a step initially. after unlocking the bootloader, you MUST reboot first before flashing TWRP.
to fix this, you'll need to hit cancel at the password screen, then go into wipe and do a factory reset. next, go back into wipe and press the format data button. you have to type yes to continue.
this isnt a fun process, as you have to re-setup your device again, but you've just learned something.
xBeerdroiDx said:
you missed a step initially. after unlocking the bootloader, you MUST reboot first before flashing TWRP.
to fix this, you'll need to hit cancel at the password screen, then go into wipe and do a factory reset. next, go back into wipe and press the format data button. you have to type yes to continue.
this isnt a fun process, as you have to re-setup your device again, but you've just learned something.
Click to expand...
Click to collapse
I assumed he already did this, but in which case we have all been here at one point. I learned the hard way twice now...
kal eh said:
Hello, when I TWRP it asks for a password to decrypt data and if I don't input the password it won't let me access the emulated sdcard. I've never put any password though =/
Is there any way to restore twrp without flashing the stock image/wiping data?
Click to expand...
Click to collapse
No need to fear, Theskillfultroll is here! :good:
To fix your issue, download NEXUS ROOT TOOLKIT by WugFresh, after doing so, you need to open it up and choose your correct device (DO NOT MAKE A MISTAKE HERE OR ELSE YOU CAN BE HARD BRICKED) if you have already unlocked the OEM, then good for you, but what i wanna focus here is on the main window, right hand side* there is a button labeled 'FLASH STOCK + UNROOT' depending on your situation , if you are soft bricked select so, if not click device on. if soft bricked it will tell you what to do, and vice versa on other option, AFTERWARDS, attempt to stock flash and unroot, now if it fails godforbid, you have to go to options and ENABLE FORCE FLASH *WARNING IF YOU DID NOT CHOOSE CORRECT DEVICE AND YOU PICK THIS, YOU WILL BE HARD BRICKED* and go through with that. and bam done. i got in a soft loop when i accidentally flashed a boot.img over a rom which made my phone unusable . i had to go through with the soft bricked option AND force flash, it was scary but dont worry man! any more questions ? feel free to PM me
TheSkillfulTroll said:
No need to fear, Theskillfultroll is here! :good:
To fix your issue, download NEXUS ROOT TOOLKIT by WugFresh, after doing so, you need to open it up and choose your correct device (DO NOT MAKE A MISTAKE HERE OR ELSE YOU CAN BE HARD BRICKED) if you have already unlocked the OEM, then good for you, but what i wanna focus here is on the main window, right hand side* there is a button labeled 'FLASH STOCK + UNROOT' depending on your situation , if you are soft bricked select so, if not click device on. if soft bricked it will tell you what to do, and vice versa on other option, AFTERWARDS, attempt to stock flash and unroot, now if it fails godforbid, you have to go to options and ENABLE FORCE FLASH *WARNING IF YOU DID NOT CHOOSE CORRECT DEVICE AND YOU PICK THIS, YOU WILL BE HARD BRICKED* and go through with that. and bam done. i got in a soft loop when i accidentally flashed a boot.img over a rom which made my phone unusable . i had to go through with the soft bricked option AND force flash, it was scary but dont worry man! any more questions ? feel free to PM me
Click to expand...
Click to collapse
wow. seems like a whole lot of work and worry, especially when compared to simply performing 2 wipes in recovery to solve this problem. no extra software required.
OP, stay away from toolkits.
xBeerdroiDx said:
wow. seems like a whole lot of work and worry, especially when compared to simply performing 2 wipes in recovery to solve this problem. no extra software required.
OP, stay away from toolkits.
Click to expand...
Click to collapse
Op said he doesn't want to wipe data and he doesn't have access to recovery (I think) saw your post about manual flashing though, pretty good
Sent from my Nexus 6 using XDA Free mobile app
ok, so i have this same problem. i have tried the "default_password" thing and the steps in post #4. after performing steps in post #4 everything worked great. but for some reason weeks later the problem has returned. is it possible i'm tripping or could the problem have returned? i know it seems highly unlikely but...
i have also been advised to redo the entire root process, is that a viable option as well?
sinceg1 said:
ok, so i have this same problem. i have tried the "default_password" thing and the steps in post #4. after performing steps in post #4 everything worked great. but for some reason weeks later the problem has returned. is it possible i'm tripping or could the problem have returned? i know it seems highly unlikely but...
i have also been advised to redo the entire root process, is that a viable option as well?
Click to expand...
Click to collapse
could be a twrp bug? are you on the latest version? you can try just updating the recovery, via fastboot or app(like flashify). if that doesnt work you can try wiping out the recovery partition(via fastboot) then reflashing the recovery.
yes i am on the current version via rashr app. i'm not sure how to wipe the recovery partition in fastboot....but it seems time i learn.
again, any thoughts to repeating the root process?
sinceg1 said:
yes i am on the current version via rashr app. i'm not sure how to wipe the recovery partition in fastboot....but it seems time i learn.
again, any thoughts to repeating the root process?
Click to expand...
Click to collapse
why? all that is is flashing supersu or removing it? that had nothing to do with your recovery. you dont need root to have a custom recovery.
ok, so it seems the next thing to try is wipe recovery partition then reflash recovery. i'll begin looking into how to do that. thank you again.
Had this problem last night, if you have a pattern password try using this:
1 2 3
4 5 6
7 8 9
I had an upper case L and it translated to 2589 and that's what unlocked it for me. Hope this helps someone
Ok, I was also asked for a password a couple of days ago for the first time ever, even though I had accessed TWRP several times before to flash roms, kernels etc so I don't think the reason was that I had forgotten to reboot after bootloader. In my case, I didn't even think of trying to enter any PWD so I selected "cancel" and from what I saw I thought my SD was wiped so I re-flashed stock from Bootloader and re-set the device, rather painfull (now I keep a nandroid backup). The thing is though, before I decided to flash stock I just tried exiting recovery and restarting the system and it wouldn't boot by any means. Just sat on the Google logo for ages heating up. And all this happened after a normal shutdown of the device, not after some fancy flashing/modding...
mclisme said:
Ok, I was also asked for a password a couple of days ago for the first time ever, even though I had accessed TWRP several times before to flash roms, kernels etc so I don't think the reason was that I had forgotten to reboot after bootloader. In my case, I didn't even think of trying to enter any PWD so I selected "cancel" and from what I saw I thought my SD was wiped so I re-flashed stock from Bootloader and re-set the device, rather painfull (now I keep a nandroid backup). The thing is though, before I decided to flash stock I just tried exiting recovery and restarting the system and it wouldn't boot by any means. Just sat on the Google logo for ages heating up. And all this happened after a normal shutdown of the device, not after some fancy flashing/modding...
Click to expand...
Click to collapse
Are you encrypted?
i was wondering if that made a matter. i didn't want to sound crazy mentioning it....yes, i am encrypted. do we believe that will make a matter?
sinceg1 said:
i was wondering if that made a matter. i didn't want to sound crazy mentioning it....yes, i am encrypted. do we believe that will make a matter?
Click to expand...
Click to collapse
Absolutely. If your storage is encrypted, TWRP cannot access it without you entering a password. If you don't enter the password, your storage would appear to be blank to recovery.
I personally prefer to wipe my entire device and keep a kernel that does not enforce encryption. Encryption (in my opinion) makes life difficult for rooted users.
seems to be the answer here. i have seen "how to's" on decrypting.... i will decrypt the device, will i have to do anything additional from that point? reflash recovery perhaps? sounds like it would be a good step, but i guess we won't know until i decrypt.
sinceg1 said:
seems to be the answer here. i have seen "how to's" on decrypting.... i will decrypt the device, will i have to do anything additional from that point? reflash recovery perhaps? sounds like it would be a good step, but i guess we won't know until i decrypt.
Click to expand...
Click to collapse
I'm new to the N6 so I am not sure about decrypting as a process. I just did a full wipe, flashed a kernel that doesnt force encryption .
Hello. Sorry if this issue already exists and I'm being negligent, but I have an interesting issue with TWRP. Whenever I try to boot to recovery, the screen stays at the teamwin splashscreen for a short time as it should, but then the device reboots normally and never allows me into the recovery. I've tried reflashing numerous older versions of TWRP via "fastboot flash recovery..." but the reboot still occurs. Just before this started happening I tried doing an "adb push..'" and that resulted in a permission denied. So I remounted using "mount -o rw,remount,rw /system" and the push succeeded. I'm pretty sure that this is at fault because I was able to get into recovery one time after playing with the writable and read only forms of the aforementioned command and wiping the cache via fastboot. Any ideas?
try deleting it first, via fastboot, then reflash it.
simms22 said:
try deleting it first, via fastboot, then reflash it.
Click to expand...
Click to collapse
I ran "fastboot erase recovery", reflashed TWRP, and the reboot still occured at the splashscreen.
It might be a long shot. Try and flash within Android using an app called Flashify.
https://play.google.com/store/apps/details?id=com.cgollner.flashify
Very simple app to use. :good:
Maverick-DBZ- said:
It might be a long shot. Try and flash within Android using an app called Flashify.
https://play.google.com/store/apps/details?id=com.cgollner.flashify
Very simply app to use. :good:
Click to expand...
Click to collapse
Good news. That actually worked. I am able to use TWRP now. There's just one problem though. It asks for a password to decrypt the data partition. I've never seen this before. Any way to work around it?
Astrophysicist789 said:
Good news. That actually worked. I am able to use TWRP now. There's just one problem though. It asks for a password to decrypt the data partition. I've never seen this before. Any way to work around it?
Click to expand...
Click to collapse
Yeah, enter your password.
Astrophysicist789 said:
Good news. That actually worked. I am able to use TWRP now. There's just one problem though. It asks for a password to decrypt the data partition. I've never seen this before. Any way to work around it?
Click to expand...
Click to collapse
Glad to hear it.
Sure, it's really simple, use your lock screen password. If you have a pattern lock you need to envision your pattern lock into numbers. The below example should help you out.
1 2 3
4 5 6
7 8 9
If you're still having problems, then just turn off pattern lock or use a regular numbered password. On the off chance what I said doesn't solve your problems, you can try one last thing.
Backup anything important on your phone before doing any of these steps below. Make sure lockscreen password is off. You can turn it back on once you've confirmed this worked.
1) Flash a modded stock boot image via Flashify, this will disable forced encryption.
2) Boot into bootloader and use fastboot format userdata
The command will wipe your phone to factory setting, so make sure you backed up! Flash a custom kernel after if you want.
Maverick-DBZ- said:
Glad to hear it.
Sure, it's really simple, use your lock screen password. If you have a pattern lock you need to envision your pattern lock into numbers. The below example should help you out.
1 2 3
4 5 6
7 8 9
Click to expand...
Click to collapse
I thought they got rid of this method and replaced it with something more pattern-lock like, in latest 2 versions?
danarama said:
I thought they got rid of this method and replaced it with something more pattern-lock like, in latest 2 versions?
Click to expand...
Click to collapse
It has been awhile since I've checked, so I had a look at the change logs and you're right, pattern lock was added in build 2.8.6.0. This should make it easier for @Astrophysicist789
Maverick-DBZ- said:
It has been awhile since I've checked, so I had a look at the change logs and you're right, pattern lock was added in build 2.8.6.0. This should make it easier for @Astrophysicist789
Click to expand...
Click to collapse
Further, if he hasn't set a lock, there should be a default TWRP one somewhere in the thread.
Hello, I'm using official CM 13 on my Mi5 as my daily driver and I was very satisfied with it. I encrypted it with a pattern and the encryption was working fine. But today, I powered it on and suddenly instead of asking for a pattern, it asks for a password! I never used a password to lock or encrypt a device. How can I decrypt it? Is there some kind of defaut password? What could cause the password change? Or the only possible solution is just format data?
Note: TWRP also asks for a decryption password instead of the pattern.
You Need to format data, in wipe section.... Write Yes and After flash ROM.
By the way every dot on your pattern is a number, so u just need to figure out your password
Thank you, I tried to figure it out and it worked!
Davidkrch said:
Thank you, I tried to figure it out and it worked!
Click to expand...
Click to collapse
Cool! To definitely eliminate encryption just make a twrp back up, save it on your PC or USB. Format Data, and after restore your back up!! I was in your situation, now I can boot without password
Philb90 said:
Cool! To definitely eliminate encryption just make a twrp back up, save it on your PC or USB. Format Data, and after restore your back up!! I was in your situation, now I can boot without password
Click to expand...
Click to collapse
What should i bakckup? System? System image? Or what?
Yesterday I was using my phone and it suddenly started rebooting itself. Since my bootloader was locked, my phone was stock rom, no root, no custom recovery and usb debugging off my hopes of doing something through ADB or Fastboot vanished. I think it is fixable but I would like to recover all my data first. I heard that you can try to get your phone into EDL mode in order to recover your data, so I tried to via test point method and my phone is now recognized as Qualcomm 9008. However, afaik this mode wont let me recover any data, and I need to get it to be 9006 instead of 9008. Any help?
Proceed at your risk.
The test point method http://en.miui.com/thread-693884-1-1.html it is using Mi flash tools to flash the ROM so you can opt out for save user data in order to keep internal storage.
in that thread it is mentioned to clean flash but there is one step given to save user data so i don't know what things will be saved and what not. most possibly itll wipe app and its data so messages,call logs,contact will get wiped if there are in internal storage if they haven't backed up to the cloud.
do read carefully and then proceed.
metelhammer said:
Proceed at your risk.
The test point method it is using Mi flash tools to flash the ROM so you can opt out for save user data in order to keep internal storage.
in that thread it is mentioned to clean flash but there is one step given to save user data so i don't know what things will be saved and what not. most possibly itll wipe app and its data so messages,call logs,contact will get wiped if there are in internal storage if they haven't backed up to the cloud.
do read carefully and then proceed.
Click to expand...
Click to collapse
I guess I´ll try that then, I already saw this ''Wipe everything but userdata'' option but was not sure, as it seems a bit strange. I'll give it a shot, thanks!
Lolo147 said:
I guess I´ll try that then, I already saw this ''Wipe everything but userdata'' option but was not sure, as it seems a bit strange. I'll give it a shot, thanks!
Click to expand...
Click to collapse
Your welcome, hope to see that work.
metelhammer said:
Your welcome, hope to see that work.
Click to expand...
Click to collapse
So I tried this and, after dealing with many versions of Mi Flash (newer ones crashed, older ones had many errors) I was finally able to flash a fastboot rom but unfortunately I'm still stuck in the bootloop. I guess wiping data is an unavoidable fate. Thanks again 4 everything
1.Install twrp.(if you dont have)
2.Turn off phone and click power volup+voldown and when phone turns on release power btn. Recovery will appear wipe data,cache,dalvik,system,vendor then install any rom (i recommend pixelexperience or miui stable). Then wait if there an bootloop i cant help bye.
Hey guys I'm on Xiaomi EU Rom and TWRP keeps asking me for a password whenever I boot into it I've tried formatting the data it works but then when I need to boot into the recovery again i need to format it again
Don't know what's causing this
Try using the pin number that is used to unlock your phone.
When you want to update the Rom, disable fingerprint et PIN. After, boot to recovery and no need to enter password.
Strykar said:
Try using the pin number that is used to unlock your phone.
Click to expand...
Click to collapse
Thank you so much man this actually worked, it decrypted the data and let me update the phone
CleverFogs said:
Thank you so much man this actually worked, it decrypted the data and let me update the phone
Click to expand...
Click to collapse
Yep, it works like designed. The moment you set a pin under android, the data gets encrypted and twrp will ask for that pin.