Power off after unlocking the screen ONLY? - Nexus 4 Q&A, Help & Troubleshooting

Hi guys!!
I recently installed Cerberus anti theft to protect my Nexus 4.I noticed that you can easily power off the phone altough the screen is locked.
Is there a way to prevent this?I mean that you have to unlock the screen first and then you have the right to power off the phone.

tegos said:
Hi guys!!
I recently installed Cerberus anti theft to protect my Nexus 4.I noticed that you can easily power off the phone altough the screen is locked.
Is there a way to prevent this?I mean that you have to unlock the screen first and then you have the right to power off the phone.
Click to expand...
Click to collapse
Are you worried about someone getting access to your phone? I have Cerberus and if my phone goes missing, I just use PIN lock from the Cerberus website.
Sent from my Nexus 10 using Tapatalk 2

The point he is trying to make is that if anyone got the phone they could just shut it off and none of your commands from Cerberus would be received.

tegos said:
Hi guys!!
I recently installed Cerberus anti theft to protect my Nexus 4.I noticed that you can easily power off the phone altough the screen is locked.
Is there a way to prevent this?I mean that you have to unlock the screen first and then you have the right to power off the phone.
Click to expand...
Click to collapse
You mean the hold power for 10 seconds? That's a hardware feature you cannot disable.
Sent from my Jelly Nexus 4

DarkhShadow said:
You mean the hold power for 10 seconds? That's a hardware feature you cannot disable.
Sent from my Jelly Nexus 4
Click to expand...
Click to collapse
Not only the continuous hold of power button but also when you press it for 1 second it gives you the option to power off the phone.I don't want to stop this but I want to happen only when the screen is unlocked first.Isn't there an application for this?

tegos said:
Not only the continuous hold of power button but also when you press it for 1 second it gives you the option to power off the phone.I don't want to stop this but I want to happen only when the screen is unlocked first.Isn't there an application for this?
Click to expand...
Click to collapse
Im also looking for the same. Let me know if u find one.

kgeissler said:
Are you worried about someone getting access to your phone? I have Cerberus and if my phone goes missing, I just use PIN lock from the Cerberus website.
Sent from my Nexus 10 using Tapatalk 2
Click to expand...
Click to collapse
That does you no good if the phone is powered off. He is looking for a way to disable the power off feature at the screen lock swipe/pin/pass (whatever it is you happen to use). When you correctly input your secret swipepin/pass you can then power off the phone.
I too am in need of this. would have helped recover a lost phone that I am looking for that would be easy to locate if the thing was actually powered up, but since it can be powered off without first unlocking the main screen I think I may be **** out of luck.

Related

My phone is locked with my personal number...How can i unlock it...

I am using a t-mobile unlocked phone...I am using Energy ROM...
I have set a password to open up my today screen..simple 4 letter password.
But when I enter it in the locked screen it is not responding...
I am not able to do anything now...I can receive calls..but I cant make calls or read sms...It is locked
I am sure I have used the exact lock code.
I was trying to do something through my PC...But that is also not responding as it is locked...
I cannot even flash ROM now
I removed battery
Can anyone help...
Is there any simple way to
hard reset your phone. to do that pull the battery, put it back on, and power on your device while holding BOTH THE VOLUME DOWN AND VOLUME UP KEYS. follow the on screen instructions from there and you should be all good!
oshizzle1991 said:
hard reset your phone. to do that pull the battery, put it back on, and power on your device while holding BOTH THE VOLUME DOWN AND VOLUME UP KEYS. follow the on screen instructions from there and you should be all good!
Click to expand...
Click to collapse
thanks for the help...it is fine now..
appoos said:
thanks for the help...it is fine now..
Click to expand...
Click to collapse
Do not use a password through the phones stock security. It WILL happen again to you. Its a well known problem, HTC knows as well as T-MO. They havent put out any fixes though. Just beware...
Also out of curiousity... did your password by chance start with "9"? Ive heard a rumor about that being the cause, and Im curious because my phone did this as well and my password began with 9.

Disable shut down button when lock screen is on

Hi,
Is there any MOD that disables the possibility to shut down the device when the phone is locked ? Its only for security reasons, because IMO it doesnt make any sense having something like Ceberus installed if the theif just can turn the phone off immediately after he/she steals it.
Thank you
Anyone ?
This would be a great mod to see. As I also use Cerberus.
Sent from my Nexus 4 using xda premium
What's the point of this mod? Someone can just hold Power Button for 10 seconds and then the device shuts off anyway. It's hard coded in the phone.
If it was any other phone with a removable battery, they can just pull the battery.
What's the point in stealing a device and then having it completely shut off?
zephiK said:
What's the point of this mod? Someone can just hold Power Button for 10 seconds and then the device shuts off anyway. It's hard coded in the phone.
If it was any other phone with a removable battery, they can just pull the battery.
What's the point in stealing a device and then having it completely shut off?
Click to expand...
Click to collapse
And on top of that, won't booting into bootloader and locking/unlocking the bootloader wipe everything anyway?
zephiK said:
What's the point of this mod? Someone can just hold Power Button for 10 seconds and then the device shuts off anyway. It's hard coded in the phone.
If it was any other phone with a removable battery, they can just pull the battery.
What's the point in stealing a device and then having it completely shut off?
Click to expand...
Click to collapse
Well it is exactly these functions I would like to have the option to disable, because it doesnt make any sense for me having this possibility on a device that's locked.
However I must admit I didn't know that a 10 sec hold on the power button shuts down the device and is hard coded into the device. Does that mean it is impossible to disable it ?
And on top of that, won't booting into bootloader and locking/unlocking the bootloader wipe everything anyway?
Click to expand...
Click to collapse
IMO the average thief is not capable of doing this
carljoe said:
Well it is exactly these functions I would like to have the option to disable, because it doesnt make any sense for me having this possibility on a device that's locked.
However I must admit I didn't know that a 10 sec hold on the power button shuts down the device and is hard coded into the device. Does that mean it is impossible to disable it ?
IMO the average thief is not capable of doing this
Click to expand...
Click to collapse
Im not a developer but that ten second thing is deep coded pretty deep within the phone. I'd say at boot loader level. Considering the phone doesn't have a removable battery you have to deep force the phone to shut down somehow. So in this case it would be to long press the power button.
And yes you are right on that, the average thief one who had the audacity to steal from others most likely don't know how to hack their phones. Otherwise I'd be highly impressed lol
Sent from my Nexus 4 using xda premium
I also need this. My cerberus is pointless this way
Sent from my Nexus 4 using xda app-developers app
Well, what is the point of having an app such as Cerberus, if said thief can just shut the phone down
Then again, the thief would have to turn on the phone at some point...
Sent from my Nexus 4 using xda premium
speedygonzo said:
Then again, the thief would have to turn on the phone at some point...
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
indeed but the more ime you have the better IMO.
and yeah would be a nice MOD, not everybody knows that pressing volume button + power will shutdown.
Wouldnt simply removing the sim card disable the function of these sorts of apps anyway?
No it doesn't. You even will get notified when the thief puts another simcard in the phone
Sent from my Nexus 4 using xda premium
zephiK said:
Im not a developer but that ten second thing is deep coded pretty deep within the phone. I'd say at boot loader level. Considering the phone doesn't have a removable battery you have to deep force the phone to shut down somehow. So in this case it would be to long press the power button.
And yes you are right on that, the average thief one who had the audacity to steal from others most likely don't know how to hack their phones. Otherwise I'd be highly impressed lol
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Its not even in software, its hardware
Sent from my Jelly Nexus 4
Found solution
Anyone found a solution for this? I know many people that want it...
A mod like:
Press power button 10 sec+ (after that) press in some order Vol+ and Vol- (example, + + + - - + - +) selectable by the user via an app/setting.
Click to expand...
Click to collapse
It would not use any additional battery or resources, since the shutdown mode (where the pass has to be input) would only start after the normal 10 sec press witch is already a rare event. Then, if the pass is wrong, return to normal mode, but if it is OK -> emergency shutdown.
If someone can make a mod like that, he/she would be god.
Since only the owner can shutdown the phone in an emergency. Making Cerberus completely valid (unless a thief has a screwdriver at hand).
PD: Is this located on the bootloader code? I would start trying it myself, or at least investigating the issue. But if it is a HW setting, then forget everything I said.
Imagine that...
carljoe said:
Hi,
Is there any MOD that disables the possibility to shut down the device when the phone is locked ? Its only for security reasons, because IMO it doesnt make any sense having something like Ceberus installed if the theif just can turn the phone off immediately after he/she steals it.
Thank you
Click to expand...
Click to collapse
Imagine a Nexus which needs a authorization both to shutdown, turn on airplane mode, enter recovery or even enter download mode (where you use that LG Flash Tool).
That would simplify the whole process of tracking.
Bonus: and what about the Location settings....if you turn off location..."Android Device Manager" stop working...instead off temporarily bypass this setting.

[Q]Possible to make it so you can't turn phone off when PIN locked?

I'm not sure if this is a simple setting or if my question is completely idiotic. Though... My main reason for asking this question is because I'm not sure how phone tracking works (using Cerebus) though if the phone is turned off can the phone still be tracked? If so, what's stopping a user from just powering down my N4 and just formatting it through Fastboot? Thanks in advance for anyone who has a solution to my problem or a explanation as to why my idea is completely illogical.
Lol my best mate has been saying this for months. He wants an app that basically asks for a pin to shut the phone down. Sealed phones have no battery pull so he wants to make sure only he can shut the phone down by a pin / pattern method. Just like an unlock but reversed for locking. This meaning you would in theory be very likely to track your phone in time before it runs out of juice etc or whatever.
So I don't think your question is silly and I'm very interested in any development known.
Sent from my Nexus 4
Well even if someone actually writes an app that asks for a PIN when the you tap on Shut Down, there's still a hardware implementation that will force your phone to reboot or turn off if you press the power button long enough (10-15 seconds I think).
It acts as an alternative to battery pulls.
starscream92 said:
Well even if someone actually writes an app that asks for a PIN when the you tap on Shut Down, there's still a hardware implementation that will force your phone to reboot or turn off if you press the power button long enough (10-15 seconds I think).
It acts as an alternative to battery pulls.
Click to expand...
Click to collapse
Yes I kind of tried to explain to my mate that there are always ways to turn the phone off and that maybe his idea is flawed. Thanks.
Sent from my Nexus 4

[Q] If I'm rooted, am I unlocked?

Sorry for the possibly quite stupid question, but according to "root checker" I am rooted, so does this automatically mean I'm unlocked? When I turn my Nexus 7 on, the lock is closed. Should that show an unlocked lock?
dae06 said:
Sorry for the possibly quite stupid question, but according to "root checker" I am rooted, so does this automatically mean I'm unlocked? When I turn my Nexus 7 on, the lock is closed. Should that show an unlocked lock?
Click to expand...
Click to collapse
Unlocking and Rooting are 2 different things.
‘Unlocking’ deals with unlocking the bootloader. You cannot flash custom Roms or replace the Recovery image without unlocking.
‘Rooting’ deals with running apps with root-level permissions. You can modify system files, back up the files, etc. after rooting.
Remember: Both are not necessary. You can be rooted and don't really need to be unlocked.
This tool is a simple and effective way to unlock and root your Nexus 7. (At least for me it was.)
http://forum.xda-developers.com/showthread.php?t=1766475
In your case, I believe you are rooted, but since booting up the Nexus 7 shows a lock, your boatloader is still locked meaning you are not unlocked. (Someone please confirm.)
I do request someone with greater knowledge to add more information. Thanks.
You would have needed to unlock the bootloader in order to root. You can confirm this by booting into the bootloader and reading the lock state.
Also, there is no locked icon. It's either the unlocked one or no icon at all.
Sent from my SGH-I777 using xda premium
korockinout13 said:
You would have needed to unlock the bootloader in order to root. You can confirm this by booting into the bootloader and reading the lock state.
Also, there is no locked icon. It's either the unlocked one or no icon at all.
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
How do I boot into the bootloader? Power, volume up and volume down, at the same time?
dae06 said:
How do I boot into the bootloader? Power, volume up and volume down, at the same time?
Click to expand...
Click to collapse
FYI, Yes this is how you get into the bootloader.
Mine did say "unlocked".
korockinout13 said:
Also, there is no locked icon. It's either the unlocked one or no icon at all.
Click to expand...
Click to collapse
^this.
I suppose (since it is the bootloader that displays the screen) that it is possible that different versions of the bootloader (v3.21, v4.13, v4.18) behave differently, but the above is what I've observed - no lock symbol at all if the bootloader is locked.
The icon for unlocked state only has a small gap in the hasp - kinda hard to notice unless you take a close look IMO.
dae06 said:
FYI, Yes this is how you get into the bootloader.
Mine did say "unlocked".
Click to expand...
Click to collapse
Nope, really all you need to do is press volume down immediately when the Google screen comes up. Some people like to hold vol down and power but it's really not necessary.
Sent from my SGH-I777 using xda premium
korockinout13 said:
Nope, really all you need to do is press volume down immediately when the Google screen comes up. Some people like to hold vol down and power but it's really not necessary.
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
Great! Good to know.
dae06 said:
Great! Good to know.
Click to expand...
Click to collapse
Make sure you are ready to press Vol-down as soon as possible when the splash screen shows up!
On my tablet, it seems that if I delay that Vol-down button-press by more than one second (maybe even only 0.75 sec!) the normal boot occurs. Also, same thing if release the Power button too soon after pressing Vol-down. I usually just keep the Power button held down until I see the fastboot-mode screen appear (2-3 seconds later)
bftb0 said:
Make sure you are ready to press Vol-down as soon as possible when the splash screen shows up!
On my tablet, it seems that if I delay that Vol-down button-press by more than one second (maybe even only 0.75 sec!) the normal boot occurs. Also, same thing if release the Power button too soon after pressing Vol-down. I usually just keep the Power button held down until I see the fastboot-mode screen appear (2-3 seconds later)
Click to expand...
Click to collapse
Hmm odd... I usually just tap the power button without any holding.
Sent from my SGH-I777 using xda premium
dae06 said:
FYI, Yes this is how you get into the bootloader.
Mine did say "unlocked".
Click to expand...
Click to collapse
press vol. down when the Google screen comes up
yes
To be rooted you firstly need to unlock the bootloader

Security flaw

I have the fingerprint scan enabled in the lockscreen. I realized that to bypass that, all you have to do is press the home button twice to the camera mode, from there just hit the home button again and it takes you to your homescreen. That is a huge flaw that I cannot understand why it has not been addressed.
Nope, mine stays locked after leaving camera app. I have t mobile version.
Not on my sprint variant.
louie68 said:
I have the fingerprint scan enabled in the lockscreen. I realized that to bypass that, all you have to do is press the home button twice to the camera mode, from there just hit the home button again and it takes you to your homescreen. That is a huge flaw that I cannot understand why it has not been addressed.
Click to expand...
Click to collapse
I can confirm this is true with tmobile version..although it doesnt seem to work all the time.
This should really be addressed
Sent from my SM-N920T using XDA Free mobile app
Doesnt work on my AT&T note5, open up the camera and I can take pictures, once it's closed it locks again.
Op. Did you check your timer on your fingerprint lock? It is possible you are doing this inside the unlocked window before it locks itself.
OK I figured it out. It may still be a flawless but it's not a security issue. If you test it out with a finger that is not registered to the phone it won't work. In other words the only person who could access the phone doing this is the owner of the phone using one of the fingers that is registered on the phone.
calvin35 said:
OK I figured it out. It may still be a flawless but it's not a security issue. If you test it out with a finger that is not registered to the phone it won't work. In other words the only person who could access the phone doing this is the owner of the phone using one of the fingers that is registered on the phone.
Click to expand...
Click to collapse
Yea your right i did it with my wife and it didnt work for her. When your pressung the home button i beleive your finger print is being read at that time and if its ok takes you home if not bye bye...
You right.. Thanks
Sent from my SM-N920T using XDA Free mobile app
sshafranko said:
Yea your right i did it with my wife and it didnt work for her. When your pressung the home button i beleive your finger print is being read at that time and if its ok takes you home if not bye bye...
Click to expand...
Click to collapse
You're right , thanks!!
It's actually a bit amusing the fingerprint scanner is fast and accurate enough to create this impression.
Had me scared for a second cause mine "did" this too! Thankfully the finger print scanner on this phone is decent finally. The Note 4 was garbage, and even the S6 Edge when I had it was too slow to want to use it. Now this is just great.
You're right, I believe I activated the camera via home button at least three times before going to home screen.
Sent from my SM-N920T using Tapatalk
Hi
I agreed with the lock screen issue.
It can be reproduce easily
1) Log into your homescreen as normal (dont matter if u r using pin, password or fingerprint)
2) Now, Pressed the "Power botton", your screen should shutoff/blackout as normal
3) Next, Pressed the "Power botton" ... your screen will come back ON ..at this moment just swipe the middle of your screen...
Wah-la...u login without giving any password/fingerprint autheticantion.
Note:
I have set it to "Lock Instantly with Power Key" and Lock Automatically to "Imeadiately"
Hopefully Samsung will fixed it sooner
Regards
Radiowc
SNG5 black TMO -64GB
radiowc said:
Hi
I agreed with the lock screen issue.
It can be reproduce easily
1) Log into your homescreen as normal (dont matter if u r using pin, password or fingerprint)
2) Now, Pressed the "Power botton", your screen should shutoff/blackout as normal
3) Next, Pressed the "Power botton" ... your screen will come back ON ..at this moment just swipe the middle of your screen...
Wah-la...u login without giving any password/fingerprint autheticantion.
Note:
I have set it to "Lock Instantly with Power Key" and Lock Automatically to "Imeadiately"
Hopefully Samsung will fixed it sooner
Regards
Radiowc
SNG5 black TMO -64GB
Click to expand...
Click to collapse
Just tested and doesn't work, re-check that your settings were saved because I tried 5 times and I can only get it to "work" when I turn off "lock instantly with power key".
AT&T 64GB
Kaboose666 said:
Just tested and doesn't work, re-check that your settings were saved because I tried 5 times and I can only get it to "work" when I turn off "lock instantly with power key".
AT&T 64GB
Click to expand...
Click to collapse
Thank you.. i will try that again... anyway i also open a case with Samsung. Maybe of affect small amount of users.
Cheers!
Kaboose666 said:
Just tested and doesn't work, re-check that your settings were saved because I tried 5 times and I can only get it to "work" when I turn off "lock instantly with power key".
AT&T 64GB
Click to expand...
Click to collapse
I went back to see if I had lock immediately selected and I didnt. So I changed it to immediately then proceeded to do the same test before and wasn't able to by pass the lock screen. Good catch and you're right.
Sent from my SM-N920T using Tapatalk
Just to update... mine fixed after doing soft reset or reset back to factory settings. Now it works as design.
Just have to spend some extra time to restore after the reset.

Categories

Resources