[Q]Xposed module for fake shutdown makes buttons unresponsive - Xposed General

Im looking for a xposed module that would let me have a fake shutdown but that would leave the phone running without turning on the screen even when pressing buttons.
I tried the advanced power menu+ and it does have a fake shutdown, but after the 10s of (fake)shutting down message, if i press the home button on my s5, the screen still lights up and shows the pattern to unlock.
What i wanted is one that after showing that message and shuts down the screen, it doesn't light up again when pressing the home or side buttons and the only way to restart it is to remove the battery /pressing the power button for a few seconds or something along those lines, that way in case the phone is stolen the thief will think its off and i will still be able to track it for a while longer. Is there a module for that?
Thanks!

griffin_1 said:
Im looking for a xposed module that would let me have a fake shutdown but that would leave the phone running without turning on the screen even when pressing buttons.
I tried the advanced power menu+ and it does have a fake shutdown, but after the 10s of (fake)shutting down message, if i press the home button on my s5, the screen still lights up and shows the pattern to unlock.
What i wanted is one that after showing that message and shuts down the screen, it doesn't light up again when pressing the home or side buttons and the only way to restart it is to remove the battery /pressing the power button for a few seconds or something along those lines, that way in case the phone is stolen the thief will think its off and i will still be able to track it for a while longer. Is there a module for that?
Thanks!
Click to expand...
Click to collapse
Hi. I'm the developer of Advanced Power Menu+. Actually my module has this feature. Just go to the details page of the fake power off option, tick the "Put device into screen-off death" checkbox and reboot. Then whenever someone presses the fake power off option, the screen cannot be turned on again even you press the buttons.
Let me know if this feature works on your S5 (I haven't tested on any S5). You can continue the discussion at the dedicated thread for the module, http://forum.xda-developers.com/xposed/modules/advanced-power-menu-apm-t2842792.

kennethso168 said:
Hi. I'm the developer of Advanced Power Menu+. Actually my module has this feature. Just go to the details page of the fake power off option, tick the "Put device into screen-off death" checkbox and reboot. Then whenever someone presses the fake power off option, the screen cannot be turned on again even you press the buttons.
Let me know if this feature works on your S5 (I haven't tested on any S5). You can continue the discussion at the dedicated thread for the module, http://forum.xda-developers.com/xposed/modules/advanced-power-menu-apm-t2842792.
Click to expand...
Click to collapse
Will do and use the other thread. Thanks!
I had actually noticed that option but it showed the disclaimer and since i wasnt sure what it was, i pressed 'cancel'. So i will try it.
Btw, your module is very neat and i really like the ui, so if this works on the s5, perfect
Edit: it works on the s5. I posted about it on the module thread

Related

X1 Auto Key Lock?

Hey I was hoping that someone new of a registry setting or 3rd part app that I could use to automatically lock the keys of my X1 after a minute or so.
I can only find the option to do it with a password in the standard settings and I'm sure that would get annoying after a while so I was hoping to do one without, just like that standard key lock.
Any ideas?
For me after one minute it will lock automatically and can only restore it with the power button (can lock the keys manually by pressing the power button key too).
See Start -> Settings -> System -> Power -> Advanced
Tick the second option and set your preferred time.
Do you mean the lock function from holding down the end call button?
larzulu said:
Do you mean the lock function from holding down the end call button?
Click to expand...
Click to collapse
Exactly, I would prefer that to the setting to turn the screen off and only being able to turn it on via the power button, if possible
Something like this. Have not tried it myself
http://forum.xda-developers.com/showthread.php?t=386451
Is there an app that uses something like iphone slide to unlock?
coolius said:
Exactly, I would prefer that to the setting to turn the screen off and only being able to turn it on via the power button, if possible
Click to expand...
Click to collapse
Sorry if this isn't what you are after, but...
Start -> Settings -> System -> Power -> Advance
On battery power:
[x] Turn off device if not used for: [3 min \/]
Start -> Settings -> System -> Key Lock
When device is in Sleep mode:
(x) Wake up the device by pressing the POWER button
...results in my phone going to sleep after 3 mins of no use, with the only way to wake it by pressing the power button (or to have an incoming call)
artesea said:
Sorry if this isn't what you are after, but...
Start -> Settings -> System -> Power -> Advance
On battery power:
[x] Turn off device if not used for: [3 min \/]
Start -> Settings -> System -> Key Lock
When device is in Sleep mode:
(x) Wake up the device by pressing the POWER button
...results in my phone going to sleep after 3 mins of no use, with the only way to wake it by pressing the power button (or to have an incoming call)
Click to expand...
Click to collapse
Yeah in those 3 minutes the screen takes any touch as an input though, while being in your pocket.
I don't get it, if you hold down the close call button the phone locks itseld and you get a click here to unlock screen if you touch the screen. Why can't the X1 have an option to enable this after x seconds?
Hell, my T630 has that.
gold333 said:
Yeah in those 3 minutes the screen takes any touch as an input though, while being in your pocket.
I don't get it, if you hold down the close call button the phone locks itseld and you get a click here to unlock screen if you touch the screen. Why can't the X1 have an option to enable this after x seconds?
Hell, my T630 has that.
Click to expand...
Click to collapse
What's wrong with the power button lock? It is almost the same, the difference is that you don't have to touch the screen to unlock but press the power button.
I don't understand at all this topic. The topic starter said he wants a lock without pressing anything after one minute. The solution provided by me and artesea is exactly that. Again the only difference is the unlocking method which instead using the screen you press the power button.
People are quite finicky these days....
I find this annoying also.
I now have to lock my phone (holding down the end call button) and then push the off button when I put it in my pocket. Would be better if theres an auto screen off and keyboardlock when you push the off-button.
Sorry, do we have different phones??????
To "lock" my phone I press the Power button, everything goes dark and I can put it in my pocket, doesn't matter if I hit the call button or tap the screen, the only way to "unlock" the phone is to press the Power button again.
If I forget to press the Power button after 3 minutes (but you can set this as low as 40 seconds) it "locks" the phone for me.
No need to press the End Call, or tap on the today screen.
dadeadman said:
Is there an app that uses something like iphone slide to unlock?
Click to expand...
Click to collapse
yes, and its called 'slide 2 unlock' or s2u2
2 seconds of googling leads you back to xda-dev: http://forum.xda-developers.com/showthread.php?t=412418
artesea said:
Sorry, do we have different phones??????
To "lock" my phone I press the Power button, everything goes dark and I can put it in my pocket, doesn't matter if I hit the call button or tap the screen, the only way to "unlock" the phone is to press the Power button again.
If I forget to press the Power button after 3 minutes (but you can set this as low as 40 seconds) it "locks" the phone for me.
No need to press the End Call, or tap on the today screen.
Click to expand...
Click to collapse
I used to just press the power button and put the phone to sleep too... but then after a could long flight I found out that 1) if I put my phone in my jeans' front pocket (or actually... anywhere that have a chance to bump the power button), I can hit the power button and 2) once I hit the power button, the phone wakes for a couple hours trying to search for the network in the sky... and thanks god the plane didnt crash because of that but it did drain all the battery
I dunno if you have seen this too, but I realized that happened to me a couple times (not only on the plane but when I was walking as well) and eventually I decide I will hit the end call button to lock the phone before I hit the power button
this also happened when I had S2U2 installed... but since I didnt find it too useful (very nice if you want a iphone feel... but I already had an iphone for too long =P) and I dont want another application running in the background I decided to use the lock button instead
I was looking for automatic keylock too .. and then I too relized I don't need it ! Automatic screen-off is all I need.
For everyone who doesnt understand this thread, hold down the end call button and wwatch what happens.
The benefit is that yiu can see updates, email, sms, etc because the screen remains on for a while.
gold333 said:
For everyone who doesnt understand this thread, hold down the end call button and wwatch what happens.
Click to expand...
Click to collapse
Sorry but if you read what was originally requested from the poster, you'll see what he was after was exactly what XavierGr and myself have suggested.
there's a programe named S2U, may be it can solve your problem
calvinzhang said:
there's a programe named S2U, may be it can solve your problem
Click to expand...
Click to collapse
aaa..a lil help needed..i want to lock (the end call button lock) to happen automatically.
NOT the POWER button lock....
When i long hold the cut-call button, (which also has a lock icon on it) to happen automatically and is there a setting anywhere???
Try TouchLockPro, ever the best, even if just a few function is working on Xperia.
But actually this is what you are looking for.

[Q] Lock button doesnt always work

I have a Galaxy S i896 (Rogers captivate model), been running CM9 on it for quite some time now and I never had a problem with it.
Until recently, my lock button stopped working. Thankfully, CM9 allows me to use the volume buttons to turn on the screen, and I can lock the device from the notification bar. However, I sometimes get that screen that pops up when you long press the power button (airplane mode, screen shot, reboot etc...) but I don't know how. Also, whenever I remove and re-insert my battery, the phone turns on by itself! So it would seem that the button is stuck somehow, and once the phone is turned on, it is being ignored.
I read somewhere that this is sometimes caused by rooting the phone, however I wasn't completely sure about how true this information was, and therefore my question is: does anybody know what causes this, and how can I fix it!
Thanks!
mmmboulos said:
I have a Galaxy S i896 (Rogers captivate model), been running CM9 on it for quite some time now and I never had a problem with it.
Until recently, my lock button stopped working. Thankfully, CM9 allows me to use the volume buttons to turn on the screen, and I can lock the device from the notification bar. However, I sometimes get that screen that pops up when you long press the power button (airplane mode, screen shot, reboot etc...) but I don't know how. Also, whenever I remove and re-insert my battery, the phone turns on by itself! So it would seem that the button is stuck somehow, and once the phone is turned on, it is being ignored.
I read somewhere that this is sometimes caused by rooting the phone, however I wasn't completely sure about how true this information was, and therefore my question is: does anybody know what causes this, and how can I fix it!
Thanks!
Click to expand...
Click to collapse
I also have this problem with a stock ROM. The power button doesn't work and i cant even flash another ROM in recovery because of that. It only turns on when putting the charger on or replacing the battery (turns on by itself).
It seems that your power button is busted. I had the same problem, though I manage to have a way to make things alright. If youre on a CM9/C10 youre good. Download button remapper at remap the capacitive search button and make it act as a power button. So, if you're waking up the phone you will use the volume rockers and if you want to sleep and lock, use the search soft key.
takeoutttt said:
It seems that your power button is busted. I had the same problem, though I manage to have a way to make things alright. If youre on a CM9/C10 youre good. Download button remapper at remap the capacitive search button and make it act as a power button. So, if you're waking up the phone you will use the volume rockers and if you want to sleep and lock, use the search soft key.
Click to expand...
Click to collapse
Where do you get button mapper?
Sent from my SPH-D710 using xda app-developers app
DaMan90 said:
Where do you get button mapper?
Sent from my SPH-D710 using xda app-developers app
Click to expand...
Click to collapse
You can search in this forum, use the search button above. I got mine by downloading in BlackMart app.

[Q] Prevent shutting down Xperia Z when passcode lock is on

Hello folks,
I'm wondering is there out any soft whom can prevent someone else from powering off my mobile without entering a pass-code to do it, the idea is to prevent the thief from powering off my mobile, If my Xperia Z is stolen and the thief shut the phone down, I wouldn't be able to locate it anymore.
So, is it possible to disable the possibility to shut down the phone when a pass-code lock is set up?
If I set up a pass-code lock I expect that it will not let anybody (thieves for example) turn it off unless the correct code is entered. Basically if the phone gets turned off, it cant be tracked anymore so chances of getting it back are close to 0.
I know that there are software's out there for Iphones and it works like PowerGuard or Cylay etc....
Well.. I dont think there's a way to disable the volup + powerbutton shutdown and "battery pull", but it is possible with xposed modules like gravitybox and "advanced power menu" to disable the power off / reboot entries in the power menu while on lockscreen. That way, any thief would have to know the volup + powerbutton thing, to shut off the phone.
Kocayine said:
Well.. I dont think there's a way to disable the volup + powerbutton shutdown and "battery pull", but it is possible with xposed modules like gravitybox and "advanced power menu" to disable the power off / reboot entries in the power menu while on lockscreen. That way, any thief would have to know the volup + powerbutton thing, to shut off the phone.
Click to expand...
Click to collapse
Well, thank you buddy, I installed it "advanced power menu" and it works perfectly on my Xperia Z. I know, you are right it will not prevent a hight end tech thief from shutting it down but by 60% you will have a chance to do something to get back your phone, especially that a big majority of thieves are not that so high end tech to do hardware reboot/shutdown.

[Q] Power button is not locking/turning off screen but works to bring up power menu.

So this morning I picked up my Note 4, used it normally to check emails, etc, went to turn off/lock screen and it wouldn't respond at all. I held down the power button and then it brings up the power menu, I restarted a few times and still nothing. Is my power button defective or could some setting have automatically changed the settings?
Go to *#0*# and select Sub-Key. Press every physical button on the Note 4 one by one (Volume Up, Volume Down, Home Button, Power Button On, Power Button Off). If the end result is PASS, then you're Power button is fine. Can also be a sticky / tacky power button, or something you modded in the settings.
artkrime said:
So this morning I picked up my Note 4, used it normally to check emails, etc, went to turn off/lock screen and it wouldn't respond at all. I held down the power button and then it brings up the power menu, I restarted a few times and still nothing. Is my power button defective or could some setting have automatically changed the settings?
Click to expand...
Click to collapse
arjun90 said:
Go to *#0*# and select Sub-Key. Press every physical button on the Note 4 one by one (Volume Up, Volume Down, Home Button, Power Button On, Power Button Off). If the end result is PASS, then you're Power button is fine. Can also be a sticky / tacky power button, or something you modded in the settings.
Click to expand...
Click to collapse
Just did the test, every button turned a different color, volume up (gray) volume down (green), menu (brown), home (blue) back (purple) , power (red, is this a fail?) but I didnt get any PASS. Is the power button supposed to have 2 colors, one for on and one for off? I tried holding down the power button but that brings up the power menu.
Also noticed that the screen will not dim or turn off automatically.
Update: I ended up doing a reinstall of the stock fw through Odin and it fixed it. I wonder what caused it and where those settings/issue where stored? I had tried doing a reset from within settings, but as I understand, that doesn't clear ALL the data.
I know how it feels when the diagnostic doesn't yield a pass. Glad to hear that reflashing the stock firmware resolved it though. Could have been something deep in the firmware causing this. Keep us updated if it persists again. The power button has been a culprit of problems in the past for many as well in previous Note devices. The final result should have displayed "PASS" on the display, perhaps you didn't complete the task, that's okay. Sometimes simply clearing the cache instead of factory reset could have resolved the problem as well. Samsung is notorious time to time.
artkrime said:
Just did the test, every button turned a different color, volume up (gray) volume down (green), menu (brown), home (blue) back (purple) , power (red, is this a fail?) but I didnt get any PASS. Is the power button supposed to have 2 colors, one for on and one for off? I tried holding down the power button but that brings up the power menu.
Also noticed that the screen will not dim or turn off automatically.
Update: I ended up doing a reinstall of the stock fw through Odin and it fixed it. I wonder what caused it and where those settings/issue where stored? I had tried doing a reset from within settings, but as I understand, that doesn't clear ALL the data.
Click to expand...
Click to collapse
I have a Note 4 too and since a few days I have been noticing this issue. The power button doesn't wake the screen up. I have to fiddle around the button a little bit, press it a bit harder sometimes and then it works.
Also noticed that when this happens, I unlock the phone using the Home button and when I try to use the power button then nothing happens. Keeping the power button pressed doesn't give me the reboot/boot options either until I fiddle with it.
The strange this is, one it starts working, i can use it again and again until I leave the phone aside until sometime and then the power button does nothing until i repeat fiddling it.
---------- Post added at 03:32 PM ---------- Previous post was at 03:31 PM ----------
Also ran the test : *#0*# and select Sub-Key
All buttons work except the power button but again if I press hard and try to nudge the button a little bit, I saw the colour change to RED. No PASS either.
Do you have any xposed modules installed? I had this happen with either gravitybox or wanam when I tried to tinker with the power menus. *3.
No. Everything is stock and not rooted either.
In my case, a complete wipe to factory fixed the issue for me and never had the issue since then, but it kind of sounds like you may have a hardware issue.
that's what I'm thinking too hw issue. But once it starts to work it works perfectly even pressing the button lightly. If the phone's been idle for a while that's when it starts. But anyway, I'll do the basics, factory reset and then bring it over to the carrier shop. Hate to send it away as its not that long ago i got the phone.
Thanks for all the help/comments.
I just started having the same problem myself. I think I'm going good to buy the right now. For the power button and have it installed.
corpuscallosum said:
that's what I'm thinking too hw issue. But once it starts to work it works perfectly even pressing the button lightly. If the phone's been idle for a while that's when it starts. But anyway, I'll do the basics, factory reset and then bring it over to the carrier shop. Hate to send it away as its not that long ago i got the phone.
Thanks for all the help/comments.
Click to expand...
Click to collapse
I am having the exact same problem , did you manage to solve it ?
No. But I've been using the phone less as in on holidays and noticed it hadn't been happening much. If issue still persists I'll bring the phone back to the carrier for a repair/replacement as it's still under warranty.
For the first few days power button worked occasionally now it has stopped working completely.
Sent from my SM-N9100 using xda Forums PRO
kabuk1 said:
Do you have any xposed modules installed? I had this happen with either gravitybox or wanam when I tried to tinker with the power menus. *3.
Click to expand...
Click to collapse
I have had wanam installed but I uninstalled it , also the phone failed the *0# test
Sent from my SM-N9100 using xda Forums PRO
The working of button changes with temperature. With a little heating with hair dryer the button started working.
Sent from my SM-N9100 using xda Forums PRO
I agree with the temperature because when I was in holidays the issue didn't happen and Iwas in a hot country with 35 deg C. Weird, so was my Note 4 built for Middle East?!?
My power button has started working 100% normal from falling the hw test earlier.
Sent from my SM-T320
I did a full factory reset and it appeared to work but after restoring all my apps and using it for a couple of days it started again. Brought it to the carrier to get it fixed as is still under warranty. They said it was a faulty "electrical component" which they replaced. Got the phone back and I restored all the apps. I have the problem again. I don't trust the carrier to have fixed the issue as it was intermitten in the first place. The button works continuously once it's stays working until I leave it aside for a while. I'll have to bring it back again and wait for a week!
I'll keep you posted.
^ blow some hot air with a hair dryer
My note 4 problem is whenever I remove the charger it went out and behave as it wants to start up and as soon as I replaced the charger I can turn it on and it stays on. Someone please help me with this

Disabling power button (short/long press) on lockscreen.

Are there any solutions to disable volume and power button in lockscreen? I know there's an app which *tries* to hide the power menu, that doesn't seem to be secure enough, since long pressing still shuts down the phone.
Recently lost a phone (and successfully retrieved it, thanks to surveillance camera). The phone in question was secured with lockscreen, and it came back factory reset, ready to be sold in stolen phone market, which led me to finding ways upping my phone security.
Now, suppose I have tracker apps installed on my Note 5, it would rely on WiFi or mobile network to be traceable, and so far the only loophole I can find is:
1. Wrap the phone in tinfoil, all signal is lost.
2. Blocks speaker with thumb to muffle any alarms I set off
3. Rush home before I enable any alarms or track location, get connected to PC and start tinkering with stuff.
4. Keeps screen on until battery dies.
5. Or, just simply hold the power button.
With the Note 5, taking out the battery is out of question, which is a good thing in this case, (although not so good for a bricked phone with dead power button).
So, the next sensible option is to turn off the phone by long pressing power button, which is not exactly a hard thing to do.
Any other ideas would be appreciated. (I still don't fully understand how hard/easy it is to factory reset the phone with lockscreen on.)
You can disable power button on lock screen through an option in Wanam xposed or GravityBox.
But you can not prevent combo buttons to force phone turn off/reboot like Power + Volume down

Categories

Resources