Is there a way to disable the force reboot when pressing the power off button for a long time? I can disable the power off buttons function for click and long press, but if i press long enough the phone reboots .. I want to use this phone as my alarm with another app and i don't want to be able to turn off the phone at all. The only thing that should be able to turn it off should be the battery..
Is there a way to achieve this?
oollff said:
Is there a way to disable the force reboot when pressing the power off button for a long time? I can disable the power off buttons function for click and long press, but if i press long enough the phone reboots .. I want to use this phone as my alarm with another app and i don't want to be able to turn off the phone at all. The only thing that should be able to turn it off should be the battery..
Is there a way to achieve this?
Click to expand...
Click to collapse
connect a speaker to it and place it somewhere you need a stair to reach.
I think this long-press reboot is hardcoded into somewhere in the phone, it isn't an Android thing.
You can long-press reboot even before Android fires up.
oollff said:
Is there a way to disable the force reboot when pressing the power off button for a long time? I can disable the power off buttons function for click and long press, but if i press long enough the phone reboots .. I want to use this phone as my alarm with another app and i don't want to be able to turn off the phone at all. The only thing that should be able to turn it off should be the battery..
Is there a way to achieve this?
Click to expand...
Click to collapse
The long press power forced reboot is in kernel space...
Xposed does not adjust that...
Related
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.
Well, I don't actually want a power button to be honest, I want the power button action changed. I've lost count of the amount of times I have switched the phone off to go to bed and then accidentally touched the power button causing the phone to restart. Then I have to wait until it's booted-up before I can switch it off again. OK, I know I shouldn't drink so much that I become ham-fisted but in my defence, that brings its own - entirely unrelated - benefits.
What I want (knew I'd get there eventually) is to have to press the power button for like one second before the phone powers-up. I'm happy switching the screen on and off with a single short press, but if it already takes a long-press to switch it off, why can't it be a long press to switch it on? How hard can it be?
here you go: http://www.fuzemobility.com/?p=1751
This will remap your power button on a long press and show you how to poweroff without it (see the comments there for the app)
I'm sorry but I don't think this is what I'm looking for.
Visualise: The phone is off (not the screen, the PHONE), properly switched off. I want to have to press the power button for at least one second to start the phone up. From what I was reading on your link, the button presses are only recognised when the phone is already powered-up.
You don't want the button to switch the screen off too? Otherwise I don't get it.
rb14 said:
I'm sorry but I don't think this is what I'm looking for.
Visualise: The phone is off (not the screen, the PHONE), properly switched off. I want to have to press the power button for at least one second to start the phone up. From what I was reading on your link, the button presses are only recognised when the phone is already powered-up.
Click to expand...
Click to collapse
Don't think that's possible. Btw, you could always shutdown the phone by taking out the battery No need to wait for it to boot.
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.
Hello!
My power button is broken, there is a way to remap other button to work as a power button? I'm using the Nova launcher that have a shortcuts section, so i puted the long press on menu button to run a app, "LockScreen" that locks the screen But it only works on the launcher, if i open another app, it doesn't work. In the System configs i desabilited to open the search engine if i long press the menu button. There is a way to make this works with all the apps? I'm using CM 10.2.
By the way, there is a way to power on the cellphone without pressing power button?
Thanks and sorry for my english!
Tavisco said:
Hello!
My power button is broken, there is a way to remap other button to work as a power button? I'm using the Nova launcher that have a shortcuts section, so i puted the long press on menu button to run a app, "LockScreen" that locks the screen But it only works on the launcher, if i open another app, it doesn't work. In the System configs i desabilited to open the search engine if i long press the menu button. There is a way to make this works with all the apps? I'm using CM 10.2.
By the way, there is a way to power on the cellphone without pressing power button?
Thanks and sorry for my english!
Click to expand...
Click to collapse
I think that you can power it on by attaching it to charger and usb connected to pc. I remember that lot of people coplained that their phone can't be charged offline. But I am not sure if it is when you try to turn it off (and instead you will get reboot) or it works when the phone is offline.
Sent from my GT-I9070 using Tapatalk
shut_down said:
I think that you can power it on by attaching it to charger and usb connected to pc. I remember that lot of people coplained that their phone can't be charged offline. But I am not sure if it is when you try to turn it off (and instead you will get reboot) or it works when the phone is offline.
Sent from my GT-I9070 using Tapatalk
Click to expand...
Click to collapse
When i put the phone on the wall charger, it starts to charge, but don't boot on Android, i need to keep trying to press the power button to turn the phone on... But it is already on Android There's a way to remap the buttons to, when i long press the power button it locks the screen?
Thanks!
Tavisco said:
When i put the phone on the wall charger, it starts to charge, but don't boot on Android, i need to keep trying to press the power button to turn the phone on... But it is already on Android There's a way to remap the buttons to, when i long press the power button it locks the screen?
Thanks!
Click to expand...
Click to collapse
I can't remember about CM10.2, I am on Liquid Smooth based on KitKat now, and it has harware buttons remap. And it does not have option for lock screen, but you can install some app for that and map it to use its process. Like this one: https://play.google.com/store/apps/details?id=com.katecca.screenofflock&hl=sr
shut_down said:
I can't remember about CM10.2, I am on Liquid Smooth based on KitKat now, and it has harware buttons remap. And it does not have option for lock screen, but you can install some app for that and map it to use its process. Like this one: https://play.google.com/store/apps/details?id=com.katecca.screenofflock&hl=sr
Click to expand...
Click to collapse
Thanks for the reply! Well... I'm using CM 10.2 and i can't find any option to remap the buttons, but i found one app on the PlayStore that makes what i need! "Button Savior Non Root" (Can't post links ) It adds virtual keys on the screen, and now i can lock the screen while i run apps!
But there is a way to turn on the phone without pressing the power button? If my battery get out of charge i'll have some problems to turn it on again... :silly:
Thanks again!
My brother has Samsung Galaxy S Advance and some problem too. Power button doesn't work so we couldn't turn on the device. If we did once, we will install an application which change the properties of Volume button and Power button. Is there any way to turn on the device?
Thanks.
SOLVED Press Menu button with Volume Up long time and I saw repair menu, select restart and turn on!
9 out of 10 screenshots I take are by accident when I'm trying to press the power button to turn the screen off. With the volume buttons opposite the power button, it's too easy to press them. Is there a way to change how a screenshot is taken?
Enable the swipe gesture in advance features
Sent from my SM-N9600 using Tapatalk
That's already on, but the other way I'm talking about is still active.
Hold you phone differently, unless your hands are so monstrous that preventing your fingers from pressing the volume button is impossible.
Thanks for the Apple-grade suggestion like I've got bad reception on my iPhone. lol
Holding the phone as usual in my right hand, it's not typically a problem. But frequently if it's in my left or I do a quick reach with either to turn the screen on and view notifications and turn it back off, I end up with an accidental screenshot. If I could make it require a momentary hold of the buttons before it takes a screenshot, it would do the trick.
Jwikoff99 said:
Thanks for the Apple-grade suggestion like I've got bad reception on my iPhone. lol
Holding the phone as usual in my right hand, it's not typically a problem. But frequently if it's in my left or I do a quick reach with either to turn the screen on and view notifications and turn it back off, I end up with an accidental screenshot. If I could make it require a momentary hold of the buttons before it takes a screenshot, it would do the trick.
Click to expand...
Click to collapse
You could try installing a Bixby button remapper. Many of them allow you to set different functions to your hardware/mechanical buttons & or set delays of different intervals while keeping the current buttons doing the usual stock actions. If you are rooted you only need to install once. If you are stock UnRooted you need to run adb commands every time you turn off or reboot but this is the only option I can think of that will do what you need done. Bxactions is one app and another is button Mapper. Cheers & hope this helps you out.