[Q] [Security] Disable the ability to turn off phone from lockscreen - Android General

I want to know if it's possible to disable the option to turn off the phone from the lockscreen (it doesn't even request that you input the pattern, pin, etc) because if the phone get's stolen and you want to locate it through device manager for example, the thief could easily turn off the phone thus preventing you from finding it. It just seems like a major security flaw to me...

...because it's impossible to turn off the phone using the hardware buttons or pulling the battery.
Questions go in Q&A.

Related

[Q] Disabling auto lock

Hi,
I'm using a Galaxy S running a froyo custom ROM.
I was wondering whether there is a way to disable the "auto lock" feature of the phone?
The display can still shutdown based on the selected screen time-out time, however, the phone should stay without getting auto locked, unless its explicitly locked.
Ideally, it should be like in the Nokia 5800, where the screen switches off after the given number of seconds, however the phone stays unlocked (unless its locked using the hardware button) and the display comes on when the screen is tapped/touched.....
Is there any way something similar could be done with Android?
Thanks in advance,
Look for an app in the market called No Lock. One click on the app toggles the auto-lock on/off and it's auto-loaded every time the phone boots up. Couldn't be easier simpler.
Thanks for the reply.
Actually, I'm using "no lock" at the moment.... What I'm ideally looking for is a way to bring the screen alive just by tapping on the screen. Even eith "no lock" still you need to press one of the hardware buttons to awaken the screen....
Maybe this is not possible in Android ?
I don't think it is...
But even if it was possible, why would you want it? It'd get triggered so often any time you brushed up against it, wasting battery and launching apps while in your pocket or something.
try Extended control
I also need an app or a tweak or something that let me set the screen timeout, withOUT autolocking, but also withOUT disabling the lockscreen, so when I press the side buttons the phone locks.
I've been searching for days with no luck. Any help, please?

[Completed] [Q] How to factory reset/root/bypass pattern lock on chinese tablet?

Hey guys!
Interesting problem I've been working on, my friend's sister has a tablet (did some research, 99% sure it's the Ubox A13-MID) that has a pattern lock. She forgot the pattern, and also doesn't know what the main gmail attached to it is. I've attempted several unlock patterns, no 'forgot password?' prompt comes up. The tablet also doesn't appear to have a fastboot or recovery menu... pressing power+vol up, power+vol down, and power+vol up+down doesn't do anything, no matter how long I hold the buttons, no matter if I let the power button go after a couple seconds, nothing happens. She's not tech savvy, so I know USB debugging isn't enabled. The tablet has an SD slot, and I'm not certain if it supports OTG. But even with these considered as possible ways of restoring the tablet (by any means possible, including root), I don't see any way of doing anything with them without any system menus.
By the way, I hope this isn't a violation to ask this (any kid could come on here and ask how to unlock a stolen device, lol), so please forgive me if it is. If it would be of any aid, I have two rooted androids of my own, both support OTG. Just throwing that out there in case either of them may be able to aid in unlocking this crapplet.
Safe mode doesn't help, and launching the 'power off/airplane mode/sound' window DOES reveal the back button, home button, and screenshot button along the bottom of the device's screen, as well as the option to increase/decrease volume (I was hoping there would be the tiny chance of a settings icon there to bypass the screen). Been swiping up to see if I could launch something to bypass it, as a bug. I can take screenshots this way, but that seems to be all.
I was able to bug out the tablet by dragging the clock to the trashcan, the 3 dot icon came up on the bar but when I clicked it, the tablet just powered off
When it came back on, the clock was back, and the same cycle occurred when I did it again.
Is this a lost cause?
Hi there,
Try one of this method:
[Guide] How to Unlock & ByPass a Pattern Lock on Android Device Without Loosing Data
[Video] How To Bypass Pattern Lock On An A Tecno phone
Lock Screen security bypass - Unlock PIN/PASSWORD/PATTERN of Lockscren without wipe.
For other questions please ask directly in this thread: [HELP THREAD] Ask ANY Question. Noob Friendly.
Good luck

Issues when locked, in pocket...

Hi all!
I have the fingerprint locked option enabled. I find that sometimes, somehow the phone vibrates when it is in my pocket. When i take the phone out of my pocket, it will say fingerprint lock disabled. It's as though it is detecting the inside of pocket as a print, that's trying to unlock the phone. I also find that the flashlight turns it self on whilst it is in my pocket and also the bluetooth and wifi.
Is anyone having similar issues?
Finding it really annoying.
I've found some of my settings changed before, and I've noticed that the double tap to wake will work through thin material . . . like a jeans pocket.
When you put it in your pocket, turn the screen towards your body and see if that helps. Failing that, try disabling double tap to wake.
I've not had the fingerprint sensor disabled message myself, but the sensor can also trigger through thin material too. It obviously won't read any fingerprint, so if it happens a few times, it just temporarily disables the sensor.
I had to disable the double-tap to wake screen option as it was always triggering in my pocket (screen facing in). I only have screen lock set to swipe though so walking/climbing stairs was waking the screen, pulling down the notification panel and going to town changing settings. I even somehow managed to change the time display setting from 24 hour to 12 hour. I mean, how the hell can that happen in a short few minutes in a pocket?!
Glove mode is/was off if anyone thinks that might be the cause. No screen protector either.
I only have the sensor lock if my finger fails to unlock the phone after a few tries. Every time the fingerprint is not properly read it will vibrate, after about 4 go's, it locks and you need to type in your pin. I'm guessing something is pressing the power button in your pocket and it's trying to scan your finger but failing, so by the time you pull it out, it's locked itself!
I too had to diable double tap to wake because it kept coming on in my pocket. even if it does not get past the fingerpring lock it still wastes some battery.
it would be nice if something could be done in tasker to:
if phone is flat on table(accelerometer)
then enable double tap to wake.
else disable it.
DT2W is wayyy too sensible at the moment. I hope Sony will fix it. A touch or double touch shouldn't be detected through clothes when the screen is off.
That feature was perfectly tweaked on my OnePlus One running CM12.1, and I liked to use it
Yeah I find the screen touch, fingerprint and rotation all way too sensitive. I have already disabled 2 of them, fingerprint is next....
Sent from my E6653
Ditto with the tap to wake frustratingly waking my phone constantly in my pocket. Never had the problem with the Z3. So many issues with this phone that were perfect on the Z3 feel like I've gone backwards.
same issue here, tap to wake activated and called the cops on me LOL...OMG
This is so annoying. My phone always wakes (through dt2w) when in my pocket and does weird stuff: changes settings, calls people, etc...
The one thing I found working for me is keeping the screen facing away from my body while in my pocket. It doesn't wake the phone up then.
I have this problem as well.
Try gravity screen app. It should turn off the screen in 1 second or less should it accidentally turn on while in the pocket.
This has bothered me loads so i've disabled the feature. You'd think they would make use of the light sensor to detect if the phone is in the pocket and then not unlock the phone on double-tab. There's the standard Google 'on-body' feature which can be used to disable security when the phone is detected as on your person.
and this is how a very useful feature quickly became most annoying issue... because of a defective light sensor or its faulty software development.
another thing I don't understand: if screen is locked, why notification access isn't ?!? at least they should put an option to enable or disable it.
sony customer care ?!?
...
sadonlyone said:
another thing I don't understand: if screen is locked, why notification access isn't ?!? at least they should put an option to enable or disable it.
sony customer care ?!?
Click to expand...
Click to collapse
That's actually standard Android behaviour would you believe - both Lollipop and Marshmallow. Don't expect a "fix" for this anytime soon...
It's configurable on iPhone though. Go iOS!
I had to disable the double-tap to wake screen option as it was always triggering in my pocket (screen facing in). I only have screen lock set to swipe though so walking/climbing stairs was waking the screen, pulling down the notification panel and going to town changing settings. I even somehow managed to change the time display setting from 24 hour to 12 hour. I mean, how the hell can that happen in a short few minutes in a pocket?!

Flaw in lockscreen security

I find it incredible that for a phone with a non-removable battery that you can turn the device off without having to get past the lock screen security. This is a major security flaw in my opinion.
If you were unable to power down at the lockscreen, then if your phone were to be stolen, then at least you would have the time it takes for the battery to eventually die to attempt to track it.
A long-press of the power button at the lockscreen should only be allowed if the lockscreen type is set to none/swipe.
If anyone is in a position to put in requests to Samsung themselves, could you please submit this.
Any further thoughts welcome....
What if you're stuck on your lockscreen, your screen doesn't respond and you have to reboot your phone to solve the problem ? how are you supposed to do if this option is removed ?
Terrible idea you have here
And if there was no way to turn it off from the lockscreen, the stealers would just have to wait until the phone have no battery left, then the phone would be off
BigBen60 said:
What if you're stuck on your lockscreen, your screen doesn't respond and you have to reboot your phone to solve the problem ? how are you supposed to do if this option is removed ?
Click to expand...
Click to collapse
A long-long press of the power button (approx 8 seconds) will force a reboot as per all Samsung phones, so if you do have a problem you can then go into recovery (eg. to wipe cache etc.). Ok, the thief might also be aware of this and do a factory reset in recovery straight away, or even keep the phone in recovery until the battery dies, but some may not be aware to do this. And, even if a thief did a reset, then at least your data would be wiped, which is half the battle when a phone is stolen.
BigBen60 said:
Terrible idea you have here
Click to expand...
Click to collapse
Cheers!
BigBen60 said:
And if there was no way to turn it off from the lockscreen, the stealers would just have to wait until the phone have no battery left, then the phone would be off
Click to expand...
Click to collapse
But at least you would have the time it takes for the battery to die to track it, which I already stated. So once stolen, you could have anything up to a day to find it again. Currently if someone steals your phone, all they need to do is switch it off immediately, and you will have no chance of ever seeing it again.
A nice firmware feature would also be to send an e-mail to yourself of the phone's current location when battery level reaches a low level (eg. 5%). Some apps (eg. Lookout) have the facility to do this.
As the S7 has a non-removable battery, it should at least have the option to disable the power key menu at a secure lockscreen.
All phones with non removable batteries are like this for the reasons the person stated above. This function is exactly the same as if the phone has a removable battery. If a thief stole an s5 they could just take the battery out immediately and you couldn't track it either... The battery isn't a security feature. It's just to power the phone. They need to have a way to cut the power on devices. This is standard for most electronics. Hold the power button on your laptop and see what happens.
Sent from my SM-G930V using Tapatalk
Don't know if you are aware but if you setup and use Samsung's Find My Mobile, you can lock, disable shutdown, and display a message on the screen with a button to call a number of your choice should you lose the phone. Try it out.
Sent from my SM-G935T using Tapatalk
Considering the fact that should your device become unresponsive/problematic you can always fall back on a long-long press of the power button at any time, including at the lockscreen, in order to reboot / go into recovery (which is an inherent hardware feature across all Samsung phones), I therefore still believe that allowing a power off at a normal long press at a secured lockscreen prior to passing the lockscreen's checks represents a flaw in your device's security. I think power off (but not reboot) should be omitted at the lockscreen popup and only included when a longpress of the power button is done after the device has been unlocked.
And what makes it worse, you can also pull down the quick panel shortcuts at the lockscreen which would enable a theif to turn off location from there too.
Basically, find my phone type functions are only of any use only if your phone is ever lost, but useless if ever stolen.
Dri94 said:
All phones with non removable batteries are like this for the reasons the person stated above.
Click to expand...
Click to collapse
And I believe having a non-removable battery could be seen as an opportunity to enhance security for reasons I've explained above.
hawkerpaul said:
And I believe having a non-removable battery could be seen as an opportunity to enhance security for reasons I've explained above.
Click to expand...
Click to collapse
It does seem that Samsung have missed a trick with shutdown from the lock screen that could be very simply enacted and give another string to the security bow.
or you can just disable power menu on lockscreen via Gravity box..viola ?
hawkerpaul said:
Considering the fact that should your device become unresponsive/problematic you can always fall back on a long-long press of the power button at any time, including at the lockscreen, in order to reboot / go into recovery (which is an inherent hardware feature across all Samsung phones), I therefore still believe that allowing a power off at a normal long press at a secured lockscreen prior to passing the lockscreen's checks represents a flaw in your device's security. I think power off (but not reboot) should be omitted at the lockscreen popup and only included when a longpress of the power button is done after the device has been unlocked.
And what makes it worse, you can also pull down the quick panel shortcuts at the lockscreen which would enable a theif to turn off location from there too.
Basically, find my phone type functions are only of any use only if your phone is ever lost, but useless if ever stolen.
And I believe having a non-removable battery could be seen as an opportunity to enhance security for reasons I've explained above.
Click to expand...
Click to collapse
You seem to be missing the whole point. Every phone behaves this way. Whether a removable battery or not. You can disable the power to every fun from every manufacturer at any time no matter what type of battery. It's not a security flaw. Also you can go into settings and disable the notifications from being pulled down before the device is unlocked.
Sent from my SM-G930V using Tapatalk
They should make phones with no batteries to fix the battery flaw, powered by air. Working in this field, I've seen a lot of broken and stolen phones come and go, if you really want to remove the battery, it'd take 2 minutes max if you arent worrying about replacing a 10 dollar back glass.
People consider iPhone's battery non-removable too, you can get that thing disconnected in less than a minute. Also there are dongle tools (Can even DIY one) that can force your phone into recovery/download mode simply by plugging it in.
So I think this is just needless worrying.

Android Phone locks immediately after entering correct pattern

Samsung Note 10, SM-970F
Magisk Rooted
Android 10, N970FXXS6DTK8
It's my GF's, and she uses a pattern unlock along with fingerprint. No new apps were installed or settings changed that she recalls.
Began as phone locking immediately after correct pattern was entered, but using fingerprint would unlock correctly.
With this immediate locking, the phone will by itself turn off the screen then turn it back on for two seconds as though the power button was pressed, then turns the screen off again.
When entering incorrect pattern, it says incorrect pattern and does nothing else.
She tried restarting the phone, which disabled the fingerprint unlock feature until the phone is successfully unlocked once.
Phone still locks immediately after entering correct pattern, and now she can't unlock it using fingerprint.
Now unable to unlock phone.
EDIT: If I repeatedly enter the correct pattern, after a random number of tries it will go to the 'starting phone' screen, but then will either restart by itself or sit there until I restart the phone. It really is random, once it took 7 tries, another time 20 tries. The phone doesn't show up on my windows PC as a mounted device during any of this.
USB debugging was not enabled, so I don't believe I can run any ADB commands. She didn't backup her phone and our focus is at least to get the photos off the camera, at which point doing a factory reset would be acceptable.
I've tried:
Entering a lot of bad patterns, trying to get to an option of unlocking with the google account associated with the phone, but the option never comes up.
Removing the phone case, only external item on the phone now is the stock screen protector.
Starting into recovery, clearing cache, repairing apps.
Starting into safe mode.
Booting in and out of root.
Letting the battery discharge completely to do a hard power cycle.
But no luck. The phone still locks immediately after entering the correct pattern. I haven't tried taking the phone's stock screen protector off, but will probably do that in case there is something wrong with the proximity sensor.
This is the international two SIM version of the Note 10, the only Note 10 variant which was rootable. I haven't worked on the phone for at least a year since it was rooted and setup.
SEU or a hardware failure. Either way when this happens your only option is to backdoor in. If it was a SEU after resetting you're good to go. If hardware it will likely reoccur... Even with a hardware failure many times nothing happens if no lock is set, you still have access. Setting a lock password introduces added failure modes.
SEU's are very rare but they do happen, randomly and just one bit of data is flipped. Interesting they cause no hardware damage. Higher altitudes elevate the risk as does exposure to man made high energy particles. That's one reason why spacecraft have 3 or more redundant computers. Apollo fights have logged half dozen or more SEU's per flight.
I never screen lock my N10+'s, double tap on/off. This is one reason why. Same with PC bios, no password is ever set. Once bitten, twice shy as the user is always the most likely person to get locked out... as I learned the hard way
@blackhawk, I hear you on getting burned with device security. And for any electronic device, secured or not, backups and redundancy are the only reliable difference between your device being useful and useless. It's been hard not to say any 'I told you so' about this, since I was telling her both to use a pin instead of pattern and to let me setup a regular backup. I don't know that a pin would have been different, but I think it would have since the fingerprint was working before the restart.
Do you have any resources you could point me to on how to backdoor into an android with a password/encryption? I know you can unlock a device using ADB, but I believe you need USB debugging enabled first and I don't know how to make that happen without first unlocking the phone.
mc_squirrel said:
@blackhawk, I hear you on getting burned with device security. And for any electronic device, secured or not, backups and redundancy are the only reliable difference between your device being useful and useless. It's been hard not to say any 'I told you so' about this, since I was telling her both to use a pin instead of pattern and to let me setup a regular backup. I don't know that a pin would have been different, but I think it would have since the fingerprint was working before the restart.
Do you have any resources you could point me to on how to backdoor into an android with a password/encryption? I know you can unlock a device using ADB, but I believe you need USB debugging enabled first and I don't know how to make that happen without first unlocking the phone.
Click to expand...
Click to collapse
Samsung repair can do it. A local shop or yourself, maybe. If there's an associated Samsung or Google account, start there. I never had to do that but the information isn't hard to find. The data will likely be lost though.
Meh, it's a very rude surprise.

Categories

Resources