[Q] *HELP NEEDED* Alternate Power-off Option? - General Questions and Answers

Hi all,
I'm having some trouble at the moment with my fantastic parents (sarcasm), who force me to suspend my phone, (which is my only internet source), at 7pm each night. However after getting an android phone about a year ago and discovering the Wifi Hotspot feature, this was no longer a problem given that I would just turn that on each night before giving my phone to them and therefore continue to use the internet past 7. Now however it seems they have worked out that I'm doing 'something' with my phone to continue internet usage after 7, however they have no idea what it is, so what they're doing is turning off my phone when I give it to them.
The good news however, is that they really aren't tech-savy at all, so I'm after some simple solution to work around this issue. The ideas I'm needing come along the lines of the following: (My phone is an Xperia Z btw)
---The power menu only has a "Power Off" option, this is what they're using to turn the phone off. Maybe if there was a way to make this option reboot the phone rather than power off, I could then set Tasker to turn on the Wifi Hotspot when the phone turns back on.
---Disable the power button from doing anything? (I would be happy to replace the power button function with a volume button, or even (if the negation of the power button could be temporary and easy to turned on/off), I would be happy to have to connect the phone to a charger in the morning to make the screen light up to be able to unlock it then turn off whatever is used to disable the power button so that I can continue to use it normally throughout the day
---Disable the screen from turning on at all unless some event happens such as the charger is connected for example? (The idea of this would be that when they press the power button to turn my phone off, nothing happens on the screen at all and they think that the phone is already turned off)
---Any other idea you might have. Long story short, I need a way of having my phone turned on after they turn it off or at least a way to trick them or prevent them from turning it off.
A major point to add though is that I REALLY REALLY don't want to root my phone. This will be my last resort option if I really have to, but if you can think of any idea that will solve this problem without rooting, that would be awesome.
Sorry for the 'noob'-sounding post, but I'm desperate for some help on this issue.
Thanks to all of you have read this and are able to offer some advice
-Michael

First of all.. ...
K.... some ideas..
U can change the lock screen to display turning off the device.. or some thing like that.. or just apply a password to unlock...
Think some more creative ideas Bro...
This is going to be Fun!!
Sent from my HTC Explorer using xda app-developers app

If u were rooted,then there was many way to come out of problem.
Why don't you talk to your parents and get permission to use internet.
Or try some black wallpaper which stays even when pressing power button..or anything like that...
Sent by 桑傑庫馬爾 :stirthepot:

jime1 said:
First of all.. ...
K.... some ideas..
U can change the lock screen to display turning off the device.. or some thing like that.. or just apply a password to unlock...
Think some more creative ideas Bro...
This is going to be Fun!!
Sent from my HTC Explorer using xda app-developers app
Click to expand...
Click to collapse
Yeah I could try changing the background I guess, but with password locking, you don't need to unlock the phone to turn it off, the Xperia Z let's you shut down on the lock screen

Oh man... is there any setting to change that ' shut down without unlocking' thing ?
Keep searching :thumbup::thumbup:
Sent from my HTC Explorer using xda app-developers app

jime1 said:
Oh man... is there any setting to change that ' shut down without unlocking' thing ?
Keep searching :thumbup::thumbup:
Sent from my HTC Explorer using xda app-developers app
Click to expand...
Click to collapse
Well yeah there might be, but if the screen lights up at all when the power button is either pressed or held which they'll do to turn it off, then they'll know it's on obviously, so if there's no power-off option, they'll just come to me and tell me to turn it off. the idea is for them to think it's turned off not have them know it's on but not let them turn it off
Anyway, thanks for your ideas, the background change is at least a start

Try changing shut down button into some combination of key so.. like volume up + volume down + power key..
Sent from my HTC Explorer using xda app-developers app

Related

[Q] on/off button

is there any other way to switch on my XT720 else than using the on/off button? my on/off button broken a few days ago..
U can use OpenRecovery.apk. Options are: Recovery Boot, Normal Boot, and Normal PowerOff. OpenRecovery.
Edit: Ahh sorry, I thought u asked about how to turn it off. U may try turning it on by connect it to the charger. But it works only on ROM that doesn't support charge-mode-only. And i don't have an idea how to do it.
Sorry for that. You might try an app called "button remapper" which is available for free on XDA.
Tell us if it helped you out.
Good luck!
MilestoneXT720 - CM 6.3.0 by MZ
kintol said:
is there any other way to switch on my XT720 else than using the on/off button? my on/off button broken a few days ago..
Click to expand...
Click to collapse
I'm pretty sure that there isn't. Acutally sometimes when I remove battery and then I put it back to go to Bootloader the phone boots itself before I hit the power on/off button, but I think that's because I didn't wait long enough. Other than that I don't see it doing with a program and there is no other hardware option as far as I know.
Just send your phone to repair, I bet it won't cost much.
I think there are two aspects here. Using the power button to turn on the device from a power off situation. Maybe this can be done by removing and replacing the battery, but I don't think it always works. The second part is when the phone is already on but the screen is off/locked. I think that remapper app does indeed work for that. Alternately you can ask the nearest cute person to call your phone to wake the screen. Boom. Your phone is awake and you have their phone number in you call logs.
Indeed, kindly ask the nearest cute person - sounds like a plan!
MilestoneXT720 - CM 6.3.0 by MZ
i think the best thing is to send it for repair... i've tried all of the possible ways to put it to on but failed..
use power manager apps to lock your screen.

Re help with galaxy tab 2 power button !

help with samsung galaxy tablet 2 power button !
*Hi guys*I'm finally making the move and have bought a Samsung galaxy tablet 2 for my bmw e46 dash but have found a problem and wondered if any of you guys have a work around for it ?As you know the power button is on the edge of the tablet externally so once it's installed behind the dash you can't push it to either lock the screen or take it out of sleep mode and also it doesn't matter have a proximity to sensor built in etc*Any idea how I can press this power button while it's behind the dash either by the touchscreen using an app or another way that anybody can think of cause I'm stuck ??*So help ppl**
I've read some people use an app called TASKER to set it so that when they crank the car (giving the tablet power thru the charger) the screen comes on and stays on till its turned off. maybe check more into that?
use a custom rom with volume key waking up option.
Athhar said:
use a custom rom with volume key waking up option.
Click to expand...
Click to collapse
If he won't have access to his power button after mounting the tablet in the dash, he probably won't have access to the volume buttons either.
here is a thread from another site where a guy put a nexus 7 into the dash of his vette http://ls1tech.com/forums/stereo-electronics/1584175-c6-android-tablet-stereo-dash-install.html
If your'e thinking about doing a hardware mod , Try AdamOutler (XDA TV) He does some pretty cool stuff and may offer some solid advice. Knows his stuff thats for sure.
XDA unboxing /tutorial Adam Outler style
Guess you could move the power button onto the dash itself if the device is getting built into it as a permanent fixture ? Not that id have a clue how to do that lol.
Not making any mod to the tab: You may mount a solenoid, http://www.solenoidcity.com/solenoid/solenoidcatalog.htm on the dash to actuate the switch. Will require some mechanical / electrical skill to accomplish the job..
fixed?
did you ever find a solution.. I have the same car and the same issue
Thanks!
Thing is you can easily get apps from store to
1.lock screen
2.turn off tab
3.toggle volume
But real problem comes with turning on tab...
Though you can turn on tab from sleep via some apps called smartawake and others(believe of there are lot of them on play)
By these apps you can turn on tab using proximity sensor(it will work),vibrations
But for instance when your tab gets off you have to press power button.
That can be done by pressing in physically or a hardware hack(you got to open up your tab and do stuff with your power buttons.like providing external switch to it etc)
Droidlover123 said:
Thing is you can easily get apps from store to
1.lock screen
2.turn off tab
3.toggle volume
But real problem comes with turning on tab...
Though you can turn on tab from sleep via some apps called smartawake and others(believe of there are lot of them on play)
By these apps you can turn on tab using proximity sensor(it will work),vibrations
But for instance when your tab gets off you have to press power button.
That can be done by pressing in physically or a hardware hack(you got to open up your tab and do stuff with your power buttons.like providing external switch to it etc)
Click to expand...
Click to collapse
Hey guys I am having a similar problem with my galaxy tab install in the car. I come out in the morning and the tablet is dead. I am currently charging it via usb but was planning on putting a power inverter in the glove box for faster charging (maybe?) What I would really like to do is to be able to extend the power button leads to an external button that I can mount in the dash. Anyone done this before or have any suggestions?
Someone recommended Tap Tap App (lock and unlock the screen with a double tap on the proximity sensor) around here. I've tried it and it works.
ketut.kumajaya said:
Someone recommended Tap Tap App (lock and unlock the screen with a double tap on the proximity sensor) around here. I've tried it and it works.
Click to expand...
Click to collapse
Yea that would work for turning the screen on and off, but im talking about if the tablet dies completely. It will be getting charge when I turn the car back on but I wouldn't be able to turn the tablet back on itself because I can't get to the power button.
bots444 said:
Yea that would work for turning the screen on and off, but im talking about if the tablet dies completely. It will be getting charge when I turn the car back on but I wouldn't be able to turn the tablet back on itself because I can't get to the power button.
Click to expand...
Click to collapse
Your Tab will boot into charge mode. Maybe you can change the init script logic: if boot into charge mode, wait a minute, and then reboot into normal mode.
ketut.kumajaya said:
Your Tab will boot into charge mode. Maybe you can change the init script logic: if boot into charge mode, wait a minute, and then reboot into normal mode.
Click to expand...
Click to collapse
Now that would be awesome. I am a total noob with stuff like that. How would you even go about something like that?
bots444 said:
Now that would be awesome. I am a total noob with stuff like that. How would you even go about something like that?
Click to expand...
Click to collapse
There are some changes that can be made to the kernel to boot the os when powering the tablet. I had this behavior on my lgp500 as a bug on cm builds. To keep the display on you can check keep display on during charging.
Sent from my GT-P3110 using xda app-developers app
bots444 said:
Now that would be awesome. I am a total noob with stuff like that. How would you even go about something like that?
Click to expand...
Click to collapse
I'll try. But now I am so tired, back from my real work duty. A short break after driving my car for about 3 hours, 1 hour from home 3.49AM here
Just to over simplify the first thing that came too my mind was a knob with an off set round plug on the other side...turn the knob you push the button..
Sent from my GT-P3110 using xda app-developers app
ketut.kumajaya said:
Someone recommended Tap Tap App (lock and unlock the screen with a double tap on the proximity sensor) around here. I've tried it and it works.
Click to expand...
Click to collapse
we can use below command to start the device when power plug is on.............:laugh:
fastboot oem off-mode-charge 0

[Q] Can I Do These Things When Rooted?

Hi all,
For reasons that are explained here: http://forum.xda-developers.com/showthread.php?p=46338664#post46338664 , I am wanting to try a couple of ideas for controlling/modifying the power on/off function of my phone (Sony Xperia Z). I never wanted to root this phone but now it seems like I'm going to have to to give me any fighting chance of getting around the issue I'm currently in.
Anyway, what I need to know is if any of the following things will be possible if I were to root my device:
--- Disable power button from waking screen or doing anything else, and preferably set a combination of keys to be what lights-up the screen, (e.g. nothing will happen on the phone unless for example the volume up key, then volume down key, then power button are pressed in that order). Then, if this is achievable, would it be possible to keep my mobile internet data turned on, while disabling people from calling me, (so that my phone won't ring at all)
--- Edit the power off function on my device so that instead of just turning off, it reboots instead. (However in saying this I would want this function hidden, as in, I want there to be a button that says 'Power Off', but instead of just powering-off, it does a reboot instead).
--- If the above is not possible, is there some sort of light 'sleep' mode that my phone can be put into so that it appears off, however can be automated to turn back on at a set time. (I understand that Android's can't be woken when shut-down because they literally are completely shut down and can't run any apps, but maybe there's a way to have it in a sort of 'sleep' mode where it can be automated to turn on at a set time?)
--- Any other option that will either A) make someone think my phone is turned off when it's actually still on, or B) allow my phone to turn back on automatically at a set time, or do a reboot instead of shut down when 'power off' is chosen.
Any help on this would be amazing, thanks guys
MHarris333 said:
Hi all,
For reasons that are explained here: http://forum.xda-developers.com/showthread.php?p=46338664#post46338664 , I am wanting to try a couple of ideas for controlling/modifying the power on/off function of my phone (Sony Xperia Z). I never wanted to root this phone but now it seems like I'm going to have to to give me any fighting chance of getting around the issue I'm currently in.
Anyway, what I need to know is if any of the following things will be possible if I were to root my device:
--- Disable power button from waking screen or doing anything else, and preferably set a combination of keys to be what lights-up the screen, (e.g. nothing will happen on the phone unless for example the volume up key, then volume down key, then power button are pressed in that order). Then, if this is achievable, would it be possible to keep my mobile internet data turned on, while disabling people from calling me, (so that my phone won't ring at all)
--- Edit the power off function on my device so that instead of just turning off, it reboots instead. (However in saying this I would want this function hidden, as in, I want there to be a button that says 'Power Off', but instead of just powering-off, it does a reboot instead).
--- If the above is not possible, is there some sort of light 'sleep' mode that my phone can be put into so that it appears off, however can be automated to turn back on at a set time. (I understand that Android's can't be woken when shut-down because they literally are completely shut down and can't run any apps, but maybe there's a way to have it in a sort of 'sleep' mode where it can be automated to turn on at a set time?)
--- Any other option that will either A) make someone think my phone is turned off when it's actually still on, or B) allow my phone to turn back on automatically at a set time, or do a reboot instead of shut down when 'power off' is chosen.
Any help on this would be amazing, thanks guys
Click to expand...
Click to collapse
YEP, as far as I know you can do all this AFTER you root your phone.. BUT you'll have to do a lot of in-depth MODIFICATION of your system's files (like framework-res.apk, android.policy.jar, services.jar, framework.jar, framework2.jar, etc.)...
Now when I say "modification", I mean that you will have to do a lot of smali and xml editing, etc. you might also have to write a couple of init.d scripts too.. its because the modifications you want to make on your phone are integrated deep inside your phone's framework.. so yeah
Root it, and install xposed framework and you can do all you say and more without any modifications yourself
Sent from my C6903 using xda premium
Install exposed and some modules like xblast exposed tweakbox these help modification without decompilation happy modding
Sent from my Xperia Live with Walkman using xda app-developers app
gregbradley said:
Root it, and install xposed framework and you can do all you say and more without any modifications yourself
Sent from my C6903 using xda premium
Click to expand...
Click to collapse
So you think I can do all this stuff without having to get into complicated things like code/scripts and all that? I am relatively tech-savy but my coding skills aren't tip-top to say the least
*UPDATE*
UPDATE:
I have now rooted the device, so is there anyone that can give me some step-by-step instructions on how to do either of these options?
(I've also gotten the Xposed Framework)
Thanks,
Mike
Just download the modules and activate reboot then edit what you want
Sent from my Xperia Live with Walkman using xda app-developers app

An app to turn off the screen WITHOUT locking.

Hi All,
I was hoping you guy might be able to help me out.
The LG G3 is awesome, i love being able to turn the screen on and off without using any buttons.
One bit that i think could use some work is that currently, when the screen is on, you can tap the notification bar twice to turn the screen off, however, i find that this doesnt work so well all the time.
I have Nova launcher and i wanted to link a two finger swipe gesture with an app to turn the screen off however...
All the apps on the store only seem to offer you the option to turn the screen off and lock the phone immediately at the same time. Does anyone know of an app that will let me turn the screen off, but NOT lock the phone immediately, and just leave the lock settings to the system defaults.
It seems pretty straight forward but i've tried about 30 apps on the store and all of them only screen off and lock, none allow you to do it without locking the phone immediately.
Any help would be really appreciated!
Ums
umar_akhtar786 said:
Hi All,
I was hoping you guy might be able to help me out.
The LG G3 is awesome, i love being able to turn the screen on and off without using any buttons.
One bit that i think could use some work is that currently, when the screen is on, you can tap the notification bar twice to turn the screen off, however, i find that this doesnt work so well all the time.
I have Nova launcher and i wanted to link a two finger swipe gesture with an app to turn the screen off however...
All the apps on the store only seem to offer you the option to turn the screen off and lock the phone immediately at the same time. Does anyone know of an app that will let me turn the screen off, but NOT lock the phone immediately, and just leave the lock settings to the system defaults.
It seems pretty straight forward but i've tried about 30 apps on the store and all of them only screen off and lock, none allow you to do it without locking the phone immediately.
Any help would be really appreciated!
Ums
Click to expand...
Click to collapse
Maybe try a tasker profile?
bradleyw801 said:
Maybe try a tasker profile?
Click to expand...
Click to collapse
Thanks for the idea. I just tried and had no joy. It can trigger an action when i turn the screen off myself, but it wont turn the screen off for me.
Any other ideas?
I feel like this is so straight forward and that i'm just being super dense - im hoping someone points something so obvious and straight forward out that i missed!
umar_akhtar786 said:
Thanks for the idea. I just tried and had no joy. It can trigger an action when i turn the screen off myself, but it wont turn the screen off for me.
Any other ideas?
I feel like this is so straight forward and that i'm just being super dense - im hoping someone points something so obvious and straight forward out that i missed!
Click to expand...
Click to collapse
You could try an app like Button Savior. https://play.google.com/store/apps/details?id=com.smart.swkey.nonroot
It has the option to swipe from the side to bring up the buttons, and from what I understand, the power button on it is exactly the same action as pressing the power button on your phone. You could tweak it to try and get it to the solution you want, but I think at least the button should be what you are looking for.
bradleyw801 said:
You could try an app like Button Savior. https://play.google.com/store/apps/details?id=com.smart.swkey.nonroot
It has the option to swipe from the side to bring up the buttons, and from what I understand, the power button on it is exactly the same action as pressing the power button on your phone. You could tweak it to try and get it to the solution you want, but I think at least the button should be what you are looking for.
Click to expand...
Click to collapse
Thanks - just tried it and it is suffers from the same thing - it automatically locks the phone when you press the power button.
umar_akhtar786 said:
Thanks - just tried it and it is suffers from the same thing - it automatically locks the phone when you press the power button.
Click to expand...
Click to collapse
My phone seems to do the same action either way. I think I know what you are talking about. It seems that on previous roms, the screen could go dark, but if I woke the phone back up it wasn't actually locked. What about this app? It seems to distinguish between the two.
https://play.google.com/store/apps/details?id=com.katecca.screenofflock
---------- Post added at 06:49 PM ---------- Previous post was at 06:46 PM ----------
Here is another one you could potentially try. https://play.google.com/store/apps/details?id=com.ericlpchow.screentrigger
Tried both of the above... Neither seem to work!
Sent from my LG-D855 using XDA Free mobile app
I use "No Lock" when I want to switch off the phone but bypass lock settings when I turn it on. Is that what you mean?
https://play.google.com/store/apps/details?id=org.jraf.android.nolock&hl=en
Hi, Thanks for the suggestion... The problem with that app is that the phone won't lock until I go back in and disable it... I want the phone to use the same system timeout so if I do leave my phone lying around it will lock after 3 or 5 minutes on its own.
Sent from my LG-D855 using XDA Free mobile app
umar_akhtar786 said:
Hi All,
I was hoping you guy might be able to help me out.
The LG G3 is awesome, i love being able to turn the screen on and off without using any buttons.
One bit that i think could use some work is that currently, when the screen is on, you can tap the notification bar twice to turn the screen off, however, i find that this doesnt work so well all the time.
I have Nova launcher and i wanted to link a two finger swipe gesture with an app to turn the screen off however...
All the apps on the store only seem to offer you the option to turn the screen off and lock the phone immediately at the same time. Does anyone know of an app that will let me turn the screen off, but NOT lock the phone immediately, and just leave the lock settings to the system defaults.
It seems pretty straight forward but i've tried about 30 apps on the store and all of them only screen off and lock, none allow you to do it without locking the phone immediately.
Any help would be really appreciated!
Ums
Click to expand...
Click to collapse
Take this.
Note: Needs Root
Not sure it it covers your needs, but I'm using SkipLock combined with Gravity Screen
SkipLock let's you bypass the lockscreen (and pincode) when your phone is connected to either a trusted WIFI network or a trusted BT-device (carkit!).
As soon as you get home you'll turn on your screen and you the lockscreen as usual, but from that point on it's lockscreen free until it disconnects with your wifi network.
So when you turn off the screen the screen goes black, but as soon as you turn it on again you'll see either the homescreen or your last opened app.
It works really GREAT!
Gravity screen is not needed but makes it even easier. It automatically turns your screen on when you pick up the phone, and turns it off when you place it down (configurable). It also features Pocket Mode so it will turn the screen off when you put it in your pocket and on again when you take it out. Worst part was getting used to NOT press the power-button anymore
v_singh said:
Take this.
Note: Needs Root
Click to expand...
Click to collapse
Hi, Thanks for the suggestion - i just tried the app and it has a non-root version, but that just basically turns the screen black, leaves the notification bar and navi buttons and doesnt actuall replicate pressing the power button.
I cant root my phone either as i need to use banking apps and these dont work with root.
Any other ideas?
latino147 said:
Not sure it it covers your needs, but I'm using SkipLock combined with Gravity Screen
SkipLock let's you bypass the lockscreen (and pincode) when your phone is connected to either a trusted WIFI network or a trusted BT-device (carkit!).
As soon as you get home you'll turn on your screen and you the lockscreen as usual, but from that point on it's lockscreen free until it disconnects with your wifi network.
So when you turn off the screen the screen goes black, but as soon as you turn it on again you'll see either the homescreen or your last opened app.
It works really GREAT!
Gravity screen is not needed but makes it even easier. It automatically turns your screen on when you pick up the phone, and turns it off when you place it down (configurable). It also features Pocket Mode so it will turn the screen off when you put it in your pocket and on again when you take it out. Worst part was getting used to NOT press the power-button anymore
Click to expand...
Click to collapse
This sounds like a cool set of apps, but I'm quite pedantic about my phone and the way it uses battery and with all the sensors working. I'm not sure its right for me, but its cool none-the-less.
umar_akhtar786 said:
This sounds like a cool set of apps, but I'm quite pedantic about my phone and the way it uses battery and with all the sensors working. I'm not sure its right for me, but its cool none-the-less.
Click to expand...
Click to collapse
Skiplock doesn't use up any battery. Gravity MIGHT, but there are options to choose that use up more or less battery.
Don't know about needing root though...
Hi, I have been looking for this too....no solution? I use the trusted places and devices to keep my phone unlocked when i am home, and when in the car (connected to bluetooth) but of course turning off the screen also locks it.
SkipLock isn't compatible with my Lollipop G3 - any solutions that work on Lollipop? I've been using Tasker but somethings it messes up things a bit so I would like to try something else

screen stop turning off

I noticed that after using the phone for a few hours, the screen will stay on unless I specifically hit the power button to turn it off. The screen off time is set to 15 seconds.
If I reboot it, it will go back to normal, i.e. turning the screen off by itself.
Any one experience this? Some app bug? How to fix it?
Hmmm. Is "Smart Stay" on or off? Do you have Dev Options enabled? If so, is always on while charging option on? All I can think atm.
Sent from my SM-G955U using Tapatalk
tedlin said:
I noticed that after using the phone for a few hours, the screen will stay on unless I specifically hit the power button to turn it off. The screen off time is set to 15 seconds.
If I reboot it, it will go back to normal, i.e. turning the screen off by itself.
Any one experience this? Some app bug? How to fix it?
Click to expand...
Click to collapse
Have you disbled any services or packages with Package Disabler Pro?
I don't have any of these mentioned issue, and I am still trying to pin point which app is the trouble maker.
Call Samsung support, and they said if I have bluetooth device as "trusted" home/location, they have seen such issue, and want me to turn off these "home" indicator Bluetooth connection.
I effectively turned off the Bluetooth wireless, and this afternoon, after a close to 2 hours meeting and was irritated to find out the screen has been on all the time.
I am going to find a good startup manager and disable APP one by one to see which is the bad boy.
thanks

Categories

Resources