Hi Everyone,
I am mildly freaked out because I'm overseas and somehow between the time I went to bed and woke up my pin stopped working and I am really stumped. The phone is encrypted at boot and I can get through that lock but when I reach the lock screen my pin just doesn't work anymore. I have rooted my T-Mobile HTC 10 without issue and have TWRP installed.
My fear is that I am going to have to do a hard reset and that scares the crap out of me.
Any ideas on what I might be doing wrong or can try? Yes, the pin is absolutely correct.
Try the following:
Boot into TWRP and open the TWRP file manager.
Go to /data/system and delete all locksettings.* files.
Reboot to your system.
Your pin should be removed and you can set a new one.
Sent from my HTC 10 using XDA Labs
Worked Great!
Thank you thank you thank you!!! Worked as expected.
Maik268 said:
Try the following:
Boot into TWRP and open the TWRP file manager.
Go to /data/system and delete all locksettings.* files.
Reboot to your system.
Your pin should be removed and you can set a new one.
Sent from my HTC 10 using XDA Labs
Click to expand...
Click to collapse
Maik268 said:
Try the following:
Boot into TWRP and open the TWRP file manager.
Go to /data/system and delete all locksettings.* files.
Reboot to your system.
Your pin should be removed and you can set a new one.
Click to expand...
Click to collapse
Good job you just unlocked the phone he just stole or maybe trying to creep on the significant others texts photos.
This is a joke
afuller42 said:
Good job you just unlocked the phone he just stole or maybe trying to creep on the significant others texts photos.
This is a joke
Click to expand...
Click to collapse
Well, you also find this information in the TWRP thread - FAQ section
Sent from my HTC 10 using XDA Labs
Related
I hit a boot loop snag on my Galaxy Nexus GSM after installing the recent 4.3 OTA security update. I had no issues with the initial Android 4.3 release, but the security update did something that made my device hit a boot loop. I could restore from a Nandroid backup, but about once a day I would hit the boot loop snag again. After dealing with daily restores for a couple days I dug into it a bit and found that when the phone gets mired in a boot loop I can fix it by deleting two files.
The trick is you have to be using TWRP on the recovery partition because that will let you use a file manager to delete the two files. There may well be other solutions but that's been the easiest for me. The two files which need to be deleted are:
/data/system/locksettings.db
/data/system/locksettings.db-shm
If you use Google Wallet you'll see a similarly named file there "locksettings.db-wal" -- DO NOT DELETE THIS ONE, just the two above.
If this helps anyone please post so if it doesn't people won't waste their time -- THANKS!
Told my cousin she said that it worked like a charm! What do those two files actually do?
Sent from my Galaxy Nexus using Tapatalk 4
Vekhez said:
Told my cousin she said that it worked like a charm! What do those two files actually do?
Sent from my Galaxy Nexus using Tapatalk 4
Click to expand...
Click to collapse
To be honest -- I have no idea. I found this by pure trial and error after a totally non-related post pointed to the /data/system folder.
The files appear to get recreated when the phone reboots so it's probably generated from the system partition ultimately.
From what I know now, it appears as though SuperSU is causing this somehow. Is your cousin using SuperSU do you know?
There was a recent update to version 1.60 of SuperSU which was supposed to address this and I think it did for some users, perhaps Nexus 4 users only, but I definitely have this issue still even with the newest 1.65 version.
I've ended up created a Tasker script to delete the files on reboot because I was tired of having to repetitively reboot into TWRP and manually delete them. It works well but I'd much rather fix the underlying cause.
sansnil said:
To be honest -- I have no idea. I found this by pure trial and error after a totally non-related post pointed to the /data/system folder.
The files appear to get recreated when the phone reboots so it's probably generated from the system partition ultimately.
From what I know now, it appears as though SuperSU is causing this somehow. Is your cousin using SuperSU do you know?
There was a recent update to version 1.60 of SuperSU which was supposed to address this and I think it did for some users, perhaps Nexus 4 users only, but I definitely have this issue still even with the newest 1.65 version.
I've ended up created a Tasker script to delete the files on reboot because I was tired of having to repetitively reboot into TWRP and manually delete them. It works well but I'd much rather fix the underlying cause.
Click to expand...
Click to collapse
Yeah, they are using SuperSU...they are still on 1.5, I'll tell them to update.
Sent from my Galaxy Nexus using Tapatalk 4
Vekhez said:
Yeah, they are using SuperSU...they are still on 1.5, I'll tell them to update.
Sent from my Galaxy Nexus using Tapatalk 4
Click to expand...
Click to collapse
Thanks, Vekhez. Let me know if that hopefully fixes the problem for them. If it does it means I'm "special" not in a good way!
sansnil said:
Thanks, Vekhez. Let me know if that hopefully fixes the problem for them. If it does it means I'm "special" not in a good way!
Click to expand...
Click to collapse
Nope it didn't.. Same problem.
Sent from my Galaxy Nexus using Tapatalk 4
Vekhez said:
Nope it didn't.. Same problem.
Click to expand...
Click to collapse
Thanks for this. I'm sorry for your cousin but happy for me because that means it's not something unique or specific to my device.
This is helpful -- I'm going to post this over in the SuperSU thread and see if Chainfire will pick it up and look into it.
Stay tuned...
sansnil said:
Thanks for this. I'm sorry for your cousin but happy for me because that means it's not something unique or specific to my device.
This is helpful -- I'm going to post this over in the SuperSU thread and see if Chainfire will pick it up and look into it.
Stay tuned...
Click to expand...
Click to collapse
Ok, so it turns out this is actually being caused by the app "Delayed Lock" if you use a pattern lock. If you use a PIN/password lock it won't happen, but if you use a pattern lock with the current version of Delayed Lock on a Galaxy Nexus this boot loop issue will occur.
I've opened a bug with the Delayed Lock Dev so hopefully he'll find a way to fix it. In the meantime, choices are to either disabled/uninstall Delayed Lock (hate!) or switch to a PIN or password lock setting.
Hey guys,
I had the same problem and found out that it could be solved, without losing any data, by directly flashing the update.
Here's what I did: http://forum.xda-developers.com/showthread.php?t=2427613
Best of luck.
hey, guys. I'm new to android. I bought a HTC one M8 used (not totally, it's a phone of a HTC developer I think) yesterday. But it's firmware or android is weird. First I thought it's a clone but it's real. All HTC features are present. But another weird thing was when I updated a new build, a girl named Jennifer showed up like first time on my card & a bunch of contacts saved. In details I found out all of them are HTC developers. So, I think it's a real HTC one M8. It has a demo app which stay open when display sleeps, prevent it from sleeping. Also many settings are locked. Like power saving quick settings, Airplane mode. Also it's in full brightness & both quick setting + main setting is locked. I can see & trap it but don't work. Most of the settings are locked including developer options. It's white & tapping on/off doesn't work. The retailer shop keeper said flashing a new firmware will solve it. But their shop is really far away & I've no ideas on android firmware flashing. I know about Symbian flashing though but that's no use. Please somebody help me. I need a procedure for flashing & link of M8's firmware. My phone is Europe version. & also it'd be nice if you can tell me how can I see or edit my external memory card. Please help. Thanks in advance
Saikat.mondol1 said:
hey, guys. I'm new to android. I bought a HTC one M8 used (not totally, it's a phone of a HTC developer I think) yesterday. But it's firmware or android is weird. First I thought it's a clone but it's real. All HTC features are present. But another weird thing was when I updated a new build, a girl named Jennifer showed up like first time on my card & a bunch of contacts saved. In details I found out all of them are HTC developers. So, I think it's a real HTC one M8. It has a demo app which stay open when display sleeps, prevent it from sleeping. Also many settings are locked. Like power saving quick settings, Airplane mode. Also it's in full brightness & both quick setting + main setting is locked. I can see & trap it but don't work. Most of the settings are locked including developer options. It's white & tapping on/off doesn't work. The retailer shop keeper said flashing a new firmware will solve it. But their shop is really far away & I've no ideas on android firmware flashing. I know about Symbian flashing though but that's no use. Please somebody help me. I need a procedure for flashing & link of M8's firmware. My phone is Europe version. & also it'd be nice if you can tell me how can I see or edit my external memory card. Please help. Thanks in advance
Click to expand...
Click to collapse
Try to do a Factory Reset first; it looks like it's stuck in Demo mode.
SmiLey497 said:
Try to do a Factory Reset first; it looks like it's stuck in Demo mode.
Click to expand...
Click to collapse
Okay. I'll try it out & reply. Thanks
The"ok" in Factory reset is locked too. I'd upload a screenshot but I dunno how to. Please help. I think flashing is only option. But I dunno how to flash or dunno firmware link
You don't know how to take a screenshot? Hold power button and press home button at same time.
Good luck with getting it sorted! Can't you ask the previous owner for help or do you not know them?
Sent from my HTC One_M8 using Tapatalk
crazy88 said:
You don't know how to take a screenshot? Hold power button and press home button at same time.
Good luck with getting it sorted! Can't you ask the previous owner for help or do you not know them?
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
Dude, I know how to take screenshots but dunno how to post in XDA. And I thought my phone is used cuz a girl from demo app was set up as user. Then I found out their is a about 700MB zip file with those pictures and stuffs. Whatever, I'm gonna try hard resetting now. Wish me luck
You can factory reset from bootloader or from stock recovery.
To get to bootloader, press and hold power + volume up. Eventually the phone will shut off and the screen will go black. Let go of power and volume up. Press and hold volume down until the bootloader comes up.
Sent from my HTC One_M8 using XDA Free mobile app
guys, I've gone in hboot , then Recovery. Then formatted SD card and Cache partition. All apps are gone including some pre-installed ones except demo. Phone is still in demo mode. Help please
Saikat.mondol1 said:
guys, I've gone in hboot , then Recovery. Then formatted SD card and Cache partition. All apps are gone including some pre-installed ones except demo. Phone is still in demo mode. Help please
Click to expand...
Click to collapse
Which recovery are you using?
umjammerlammy said:
Which recovery are you using?
Click to expand...
Click to collapse
I used stock recovery. I'm trying to install TWRP with one click root kit, the developer option is disabled but usb debugging is enabled & HTC One drives are installed. But get token isn't taking my phone to boot loader. if I succeed in installing super su & twrp, tell me how to remove the demo app?
Saikat.mondol1 said:
I used stock recovery. I'm trying to install TWRP with one click root kit, the developer option is disabled but usb debugging is enabled & HTC One drives are installed. But get token isn't taking my phone to boot loader. if I succeed in installing super su & twrp, tell me how to remove the demo app?
Click to expand...
Click to collapse
I can help you. I'll post later today.
Watch this video first
http://youtu.be/WuHFcGvUjwA
thanks for helping. Though I successfully installed twrp and viper one
Saikat.mondol1 said:
thanks for helping. Though I successfully installed twrp and viper one
Click to expand...
Click to collapse
Great news!
solutin
first update its firmware via ota. then flash a custom recovery and a custom rom like skydragon. U r good to go. forget the stock because whenever u will return to stock rom. u will get the demo app again.
I have a rooted htc one m8 running 4.4.2, I've had it in my pocket, and the thing is it unlocks itself sometimes, and the screen is turned on. So today I turned it off, and when I turned it back on I lost service. The pin input screen doesn't pop up anymore, not after shutting it down and restarting, and turning my airplane mode on and off, on top of that my my middle on-screen button doesn't work anymore. I can press it and It gives me feedback by vibrating, however it doesn't take me back to my homescreen anymore. This is enervating as you see, not being able to talk or send messages... Please do give me a solution or refer me to the thread treating this issue as I've not found such thread. Thanks in advance!
Regarding the "Home Button" I don't have any clue.. Rooted my One as well and never happened to have this problem.
The no service maybe is not directly linked to the other problem. Are you using an original nano SIM, or did you cut it yourself? If yes it could have caused a defect which has not occurred right away. Have you tried removing the SIM tray while phone is on and place it back in? If not what happens when doing this.
Sent from my HTC One_M8 using XDA Free mobile app
HTCNerdYoda said:
Regarding the "Home Button" I don't have any clue.. Rooted my One as well and never happened to have this problem.
The no service maybe is not directly linked to the other problem. Are you using an original nano SIM, or did you cut it yourself? If yes it could have caused a defect which has not occurred right away. Have you tried removing the SIM tray while phone is on and place it back in? If not what happens when doing this.
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
I'm using an original nano sim, and yes I did try removing it. I haven't dropped my phone, nor was the sim out of place, no dust or water could have reached it either, I've got a sturdy case around it!
Do you know how to use adb and fastboot commands?
If yes you could try to clear the whole cache of the phone to check if the problems result of some data in the cache.
The commands would be
adb fastboot bootloader
fastboot erase cache
No data will be lost by this. Thus this is what I would try first. Otherwise I would - as long as you are completely stock - perform a factory reset. By this all data on the phone would be lost including installed APPs, but it is with it, if you get the problem solved by this.
Sent from my HTC One_M8 using XDA Free mobile app
HTCNerdYoda said:
Do you know how to use adb and fastboot commands?
If yes you could try to clear the whole cache of the phone to check if the problems result of some data in the cache.
The commands would be
adb fastboot bootloader
fastboot erase cache
No data will be lost by this. Thus this is what I would try first. Otherwise I would - as long as you are completely stock - perform a factory reset. By this all data on the phone would be lost including installed APPs, but it is with it, if you get the problem solved by this.
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
I've factory reseted it, wanting to flash the stock recovery so i could install the 4.4.3 ota, however inbetween everything I installed a back- up from twrp recovery. i didn't even know I had backed it up, it was a fairly recent one. So I got lucky, the problem has resolved itself, thank you for your help!
HTCNerdYoda said:
Do you know how to use adb and fastboot commands?
If yes you could try to clear the whole cache of the phone to check if the problems result of some data in the cache.
The commands would be
adb fastboot bootloader
fastboot erase cache
No data will be lost by this. Thus this is what I would try first. Otherwise I would - as long as you are completely stock - perform a factory reset. By this all data on the phone would be lost including installed APPs, but it is with it, if you get the problem solved by this.
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
I've backtracked the root of the evil, the latest update of Echo Lockscreen bypasses the pin-input screen which causes the 'home' button to malfunction and obviously the fact that I couldn't get service! So I disabled it and put my pin in and enabled the lockscreen back on!
Oyori said:
I've backtracked the root of the evil, the latest update of Echo Lockscreen bypasses the pin-input screen which causes the 'home' button to malfunction and obviously the fact that I couldn't get service! So I disabled it and put my pin in and enabled the lockscreen back on!
Click to expand...
Click to collapse
Thanks for this information. I guess it will be of use for others encountering the same problem as you did! :good:
Maybe you could add [Solved] at the end of your OP so erveryone recognizes right away when scrolling through Q&A.
i'm going to start by addressing my phone. i have a HTC m8 it is rooted and i have updated it to 5.0.1. but during that process i ran across some issues that might have caused issues in other areas. when t- mobile release the lollipop update i goggle how to get it on a rooted phone and basically what i got from it was i had to replace custom recovery with stock recovery to get the update and if i wanted to go back i had to do the opposite. when i watch the video i didn't realize the video was old and had not been updated until i got to the part of the screen(on my device) where it was a red triangle. so make a long story short i found the correct stock recovery and installed it but when i did. It said i lost su and i need to re install and that became a problem as while because i could not found nothing that was helpful. so i just tried uninstalling xposed framework mode and when i restarted my phone. It was stuck in a boot-loop. so it took me a minute to get out of that and all it took was me installing su again. so now that's out of the way when my phone came back on i realize a lot of my app force closing and maybe i thought it was minor bugs form the new update but after awhile nothing change. so at this point i'm done with this i'm ready to go back to stock and i cant because my internal storage is missing and i know all of my flies is there because when i boot into recovery i see them but when i connect my phone to my PC it shows a limit of files and on my phone in certain apps it shows files and in others apps it doesn't. i just need to know how to fix it so i can unroot.
Sir,
Please wait until mods will move this thread to the device specific forum for more relevant answers.
Stand by
Good luck
fletcherboy said:
i'm going to start by addressing my phone. i have a HTC m8 it is rooted and i have updated it to 5.0.1. but during that process i ran across some issues that might have caused issues in other areas. when t- mobile release the lollipop update i goggle how to get it on a rooted phone and basically what i got from it was i had to replace custom recovery with stock recovery to get the update and if i wanted to go back i had to do the opposite. when i watch the video i didn't realize the video was old and had not been updated until i got to the part of the screen(on my device) where it was a red triangle. so make a long story short i found the correct stock recovery and installed it but when i did. It said i lost su and i need to re install and that became a problem as while because i could not found nothing that was helpful. so i just tried uninstalling xposed framework mode and when i restarted my phone. It was stuck in a boot-loop. so it took me a minute to get out of that and all it took was me installing su again. so now that's out of the way when my phone came back on i realize a lot of my app force closing and maybe i thought it was minor bugs form the new update but after awhile nothing change. so at this point i'm done with this i'm ready to go back to stock and i cant because my internal storage is missing and i know all of my flies is there because when i boot into recovery i see them but when i connect my phone to my PC it shows a limit of files and on my phone in certain apps it shows files and in others apps it doesn't. i just need to know how to fix it so i can unroot.
Click to expand...
Click to collapse
Try this
All you have to do is type in these 2 lines in your terminal emulator on your android device:
Su
restorecon -FR /data/media/0
And your storage will be back to normal
Click to expand...
Click to collapse
I've tried it but nothing happened.
Sent from my HTC One_M8 using XDA Free mobile app
Did I do something wrong ?
Sent from my HTC One_M8 using XDA Free mobile app
fletcherboy said:
Did I do something wrong ?
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
There's a blank between FR and /
HTCOneM8 by ViperOne M8
Got it. Thanks
Sent from my HTC One_M8 using XDA Free mobile app
clsA said:
Try this
Click to expand...
Click to collapse
You're a god sent! Lots of thanks!!!!
I've recreated this problem with a number of themes on a couple of different ROMs so I'm hoping someone can help me find a workaround or a way for the theme providers to bypass this issue. I keep my HTC 10 encrypted using the normal means, and when I selected a PIN I enabled the secure boot option that requires a PIN. To be clear, if you are using this feature then when you reboot or cold boot after the initial boot animations it flashes up a screen that says "preparing settings" (or something like that) then you get an off-white screen with a prompt to input a PIN to decrypt. If you succeed, then it goes back to the boot animation and then it continues to boot to the initial login, which looks like your lock screen PIN entry and requires a PIN on first boot, even if you have fingerprint enabled. So secure boot has 2 PIN entry requirements., and it almost looks like 2 boots to get into a fully operational system.
Anyway, if I flash a zip them (say, one of the venom official themes, pureview, etc.) then it will get to that screen that says "preparing settings" and it will hang forever. It never allows me to input the decryption PIN so it can continue boot, and I have to reboot to recovery and restore. Can anyone help me address this?
Thanks!
@maurydes @Mr Hofs Just adding some more info. The latest theme was PureView 1.4 on Venom 2.1. Prior to that, this had happened when I was on LeeDroid, and while I think it was a DarkUI theme, I was watching Mr. Hofs and it may have been one of the official LD themes. Anyway, I know you guys are the experts on themes and I was wondering if you've seen "secure startup" with your themes hanging others? Thanks for any assistance - your themes are outstanding but I am required to keep secure startup on most of the time.
At this moment i am clueless. No idea where this issue is coming from. I have no idea what we change that could interfere with that specific feature !
Sorry mate.
Mr Hofs said:
At this moment i am clueless. No idea where this issue is coming from. I have no idea what we change that could interfere with that specific feature !
Sorry mate.
Click to expand...
Click to collapse
Thanks for responding. So bummed because the themes are great. I may ask the users to confirm in one of the threads just so I'll know if it's isolated to me.
Sent from my HTC 10 using Tapatalk
vettejock99 said:
Thanks for responding. So bummed because the themes are great. I may ask the users to confirm in one of the threads just so I'll know if it's isolated to me.
Click to expand...
Click to collapse
Sure go right ahead ! The more info the better. Have you tried flashing the theme first and then set up the security settings ?
Mr Hofs said:
Sure go right ahead ! The more info the better. Have you tried flashing the theme first and then set up the security settings ?
Click to expand...
Click to collapse
Yes, just yesterday. Same result unfortunately.
Sent from my HTC 10 using Tapatalk
vettejock99 said:
Yes, just yesterday. Same result unfortunately.
Click to expand...
Click to collapse
Shame, i don't have time to dig in now. Have lots of work to do. But i will check it out
Never see in my phone and is hard to solve whitout reproduce, but if you find information tell me [emoji106]
Sent from my HTC 10 using Tapatalk
maurydes said:
Never see in my phone and is hard to solve whitout reproduce, but if you find information tell me [emoji106]
Sent from my HTC 10 using Tapatalk
Click to expand...
Click to collapse
Hi, are you using the secure startup option with a PIN to boot?
vettejock99 said:
Hi, are you using the secure startup option with a PIN to boot?
Click to expand...
Click to collapse
tried without flashing the framework or settings from theme to narrow down so either of them can look into that particular component
i am on decrypted state else i could have checked it for you...