Is there any option (built in) to have the phone asks for password when turning it on?
My work email enforces /system and SD card encryption which unlike other android phones the GS2 supports. I need to input three encryption key before it boots.
Sent from my GT-I9100 using XDA App
drspikes said:
My work email enforces /system and SD card encryption which unlike other android phones the GS2 supports. I need to input three encryption key before it boots.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
how do i do that?
In your Exchange 2010 ActiveSync policy properties, selecting the password tab you can choose these options.
I'm going to test them now!
Update:
Options I selected:
- Require Password
- Require Encryption on Device
- Require Encryption on Storage Card
- Allow Simple Password
AAAaaaand my phones stuck on the bootloader animation. It might be encrypting everything which would take a while, dunno... I'm just going to leave it alone
Update 2:
CF-Root does NOT allow for encrypted partitions, and as such, will boot-loop your device!
I needed to flash my stock kernel through Odin to get it to boot properly
Related
Hello. I just set PIN password on my Miui v4 to easy "0852" using Swype numerical keyboard. After locking in, i cant unlock it - the password is not working. I have no idea what to do. I don't want to factory reset my phone. Is there any chance to avoid lockscreen? I have no wifi / 3g enabled on phone, and I can't turn it on. The only way to change something is recovery.
Sent from my SGH-T989 using xda premium
Problem solved. Deleting (via ADB & CWM) /data/data/com.android.providers.settings/databases/settings.db is solution for missed password.
localh0st said:
Problem solved. Deleting (via ADB & CWM) /data/data/com.android.providers.settings/databases/settings.db is solution for missed password.
Click to expand...
Click to collapse
nevermind, removed sim card and got past lock but alas that file is nowhere to be seen, using China Mobile so that may be part of the issue - looks like I'll have to replace my sim card
You don't need USB Debugging if you're on Recovery (TWRM or Clockworkmod).
What options are almost as secure as "secure startup" (PIN on boot)? How close?
So I have a bootloader unlock, TWRP'd HTC 10 and I know that the Nexus 6P and many newer devices allow you to enable secure startup. When you set security to PIN, MM asks you if you want to require the PIN to boot the device. If you say yes, during boot the number keypad will be presented and you have 30 tries to enter the right PIN or it erases your device. Unfortunately, with this option enabled when I flash themes (tried different ROMs, different sources), it almost always hangs just before presenting this keypad with a message that says "Preparing Settings". The screen is normal with secure startup, but after a time it proceeds to the keypad. Anyway, I want to be secure so I've left it enabled and then I forget, flash a theme, and bang - phone is screwed up.
I believe that if I don't enable this then the data system is encrypted, and I know when I boot into TWRP it asks for a PIN to decrypt and mount data. If I encrypt my SD and store the TWRP backups there, (or password protect the backups) wouldn't that protect me from someone getting into one of those? At least the data partition? And any malcontent couldn't generate a new one including data to browse because they wouldn't be able to mount data in the first place without the PIN, right? If all this is true then I'm not sure what they could get with just the system partition (and boot and recovery of course)...
Can anyone shed light onto whether secure startup is really buying me anything with these other precautions in place, and if you think secure startup is worth it? Thanks!
If I had to be flat out honest. I personally think that is over kill. People are not after the data on the device and cant get past a simple password lock.
90% of the time the device is wiped before it is ever booted completely after it is stolen.
I have a Moto Z with stock image, Magisk Root and Turbo Z Custom Kernel.
As far as I see everything is fine except two one things:
1. Sometimes downloads aren't starting at all. Which is very weird because regular surfing with Chrome works flawlessly. But if I want to watch a video from YouTube (regardless whether YouTube app or within Chrome) the video won't play sometimes. The same happens with F-Droid downloads. Sometimes an installation/updated doesn't even start the download. The network is fine (it works perfectly with any other device).
2. I have a screenlock set up but I don't think there is encryption active. I have to type the password just once (device boots to GUI then SIM pin, then unlock PIN). On encryption the unlock PIN have to be entered bevore booting into the GUI — right? However, Security Settings claims that the phone is encrypted. I wanted to set / change the password with cryptfs password manager but the app doesn't even start claiming 'cannot get superuser access' (maybe it's not compatible to Magisk?). Is it possible to change/set the password in this state without risking data loss?
The stock kernel enforces encryption, the z-kernel doesen't. However, your stock kernel already did its deeds. So if you really want to remove encryption, here is what you might want to do:
Remove all phone passwords (pin/password/pattern etc), then make a backup of everything. (If you don't & then restore such a backup, you'll always end up with password/pin/pattern mismatch).
Then boot into TWRP recovery and format(!) data partiton (erase just doesn't cut it..). If there's still a problem, change data's filesystem to ext4 and then back to f2fs - that should remove any nasty residual settings.
Then reboot & enjoy. Maybe you can restore the backed-up data files to the unencrypted partition now, but I wouldn't bet on it...
Hi again @benzinerwin
However, I don't want to remove encryption. I want to enable it.
It says that it is enabled in settings but I strongly doubt that it actually is.
Just change the password, opt for boot password (or whatever it's called), boot into TWRP and see if it asks for password/pattern to unlock access to the data partition...
If you cannot get there, just do the above, end up with an unencrypted data partition and the go through the settings and trigger the encryption with boot pass etc...
benzinerwin said:
Just change the password, opt for boot password (or whatever it's called[…]
Click to expand...
Click to collapse
That was it
In retrospective this is pretty obvious. Thank you.
Now just the problem with the struggling downloads is left.
Hmm, about the strange download problem... that pretty much sounds like an app not having all the requested rights (look through all the settings, not just the app's properties... [sigh])
But it affects all apps. Even Chrome. Regular surfing is fine but for example loading a YouTube file sometimes doesn't even start.
Hi all,
I just tryed to add a company account to my phone. During this process I was asked to add a new Administrator. Just after confirm, the phone unmonted the SD card and wanted to encrypt the phone. How to reverse?
The phone is still not encrypted and I don't want the encryption. But I cannot mount my SD card without encryption and I cannot change any security setting (only password is available as lock screen - till now I have a PIN). And, I cannot clear the certificate memory (Clear credentials is grayed).
I removed the exchange account, but this does not help.
I'm using a stock GT-I9506 with 5.0.1
Thanks for any help.
solved
I fount the solution. After selecting password as lock screen I started the encryption. During the last confirmation I aborted. After that all was like before.
Hi Everyone!
I am running latest version of Resurrection Remix (7.1.2) on my HTC One M8 and somehow, the Pattern unlock Sequence i have set during Boot (using it since Months!) has changed to a Password entry Box without any reasons.
I have never set any Password or PIN for the Device, so i have been locked out.
Just to make sure, i have also tried any PIN and Password that i could remember.
Disc Encryption is active , but i can access System and SD Partitions in TWRP without entering a Pattern/PIN.
I have read some Guides wich describe how to delete pass and pattern key-files to bypass the Boot Security, but without success yet. Any Ideas, what might have changed the Pattern Protection and how to revert it?
Thanks in advance!
br
Qudo
qudo said:
Hi Everyone!
I am running latest version of Resurrection Remix (7.1.2) on my HTC One M8 and somehow, the Pattern unlock Sequence i have set during Boot (using it since Months!) has changed to a Password entry Box without any reasons.
I have never set any Password or PIN for the Device, so i have been locked out.
Just to make sure, i have also tried any PIN and Password that i could remember.
Disc Encryption is active , but i can access System and SD Partitions in TWRP without entering a Pattern/PIN.
I have read some Guides wich describe how to delete pass and pattern key-files to bypass the Boot Security, but without success yet. Any Ideas, what might have changed the Pattern Protection and how to revert it?
Thanks in advance!
br
Qudo
Click to expand...
Click to collapse
Deleting a Few Files In /Data Will Unlock Deactivate any Password.Try Finding the Locksettings.db in /Data/system or Somewhere.
Sent from my Nexus 6P using Tapatalk
Atifbaig786 said:
Deleting a Few Files In /Data Will Unlock Deactivate any Password.Try Finding the Locksettings.db in /Data/system or Somewhere.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Atifbaig786,
already did this.
files i have removed:
password.key
pattern.key
locksettings-db-shm
locksettings-db.wal
locksettings.db
no effect. still requests a password.
qudo said:
Atifbaig786,
already did this.
files i have removed:
password.key
pattern.key
locksettings-db-shm
locksettings-db.wal
locksettings.db
no effect. still requests a password.
Click to expand...
Click to collapse
I can't say For Sure But.There are more Files Than That In Version Above MarshMellow.Those Guides were for Android 4.4.4 and low.
Or Someone Just Took your Gmail Account and Locked It.
It's The Most Possible Reason For Auto-Locking Devices That Someone Accessed your Device and Did Some Bad S,H,I,T to you.
Sent from my Nexus 6P using Tapatalk
Atifbaig786 said:
I can't say For Sure But.There are more Files Than That In Version Above MarshMellow.Those Guides were for Android 4.4.4 and low.
Or Someone Just Took your Gmail Account and Locked It.
It's The Most Possible Reason For Auto-Locking Devices That Someone Accessed your Device and Did Some Bad S,H,I,T to you.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Google Account is safe and definitely not hacked.
Secured by 2-step-authentication and i still have access to it. there is also nothing wrong in phone management there. already checked this.
And to get this straight, the device is not auto locked as you may from device management in your google account.
Disc has been encrypted and a pattern has been set for decryption. this pattern has changed to Password entry.
same password entry that you have when encrypting with a password.
i had this behaviour before on some older cm versions on my samsung i9305...
i have started creating a current backup and will restart everything from scratch.
seems more like an error in android, than <<s,h,i,t>>
all hail to titanium backup!
thanks anyways.
Qudo
OK, this bug is reproducable.
i have tested it twice.
- clean install from scratch
- disc encryption
- creating a nandroid backup
- reboot afterwards
-> pattern set before is not available, but a password prompt asking for a password that i had never set.
System details:
Phone 1:
HTC One M8
resurrection remix ROM 5.8.5
TWRP Recovery Version 3.1.1-0
Phone 2:
Google Nexus 5
resurrection remix ROM 5.8.5
TWRP Recovery Version 3.1.1-0
Anyone else? :/
EDIT:
This does ot happen, if i don't create a nandroid backup. seems linked somehow ...