Any apps to auto boot/shut down? Need help... - Galaxy Tab Q&A, Help & Troubleshooting

Whats up XDA.
So I have a galaxy tab sch-i800 running on cyanogenmod 9. I plan to fit my tablet into the dashboard of my car, I have everything worked out except how I'm going to turn it on and off. since I won't be able to access the power button I need a way for it to power on/off by its self, that way its not occasionally dead when I start my car.
At first I planed to use tasker to turn the tablet on when plugged in (or when I start my car, it turns on). and then turn off after an hour of inactivity (or an hour after I've turned off my car).
But now that I'm looking at tasker it won't let me use the command "turn on" (even though I'm rooted) and I don't see a turn off command.
Is there any apps out there that can help do exactly what I want?
I have noticed that 4.2+ automatically boots when it is plugged in, I'm on 4.0, would upgrading screw up cyanogenmod?
Thanks!

Auto On/OFF
Carson-TL said:
Whats up XDA.
So I have a galaxy tab sch-i800 running on cyanogenmod 9. I plan to fit my tablet into the dashboard of my car, I have everything worked out except how I'm going to turn it on and off. since I won't be able to access the power button I need a way for it to power on/off by its self, that way its not occasionally dead when I start my car.
At first I planed to use tasker to turn the tablet on when plugged in (or when I start my car, it turns on). and then turn off after an hour of inactivity (or an hour after I've turned off my car).
But now that I'm looking at tasker it won't let me use the command "turn on" (even though I'm rooted) and I don't see a turn off command.
Is there any apps out there that can help do exactly what I want?
I have noticed that 4.2+ automatically boots when it is plugged in, I'm on 4.0, would upgrading screw up cyanogenmod?
Thanks!
Click to expand...
Click to collapse
To Switch ON
I think you may have to rewrite the Bootloader code to switch ON the Tab when Charging starts instead on that Large Green Battery Animation. Search it ..
Hint : I have seen it(the code) somewhere while I was looking for OTG in P1000.
To Switch OFF
Try these apps and do post their results
MarcroDroid

Carson-TL said:
Whats up XDA.
So I have a galaxy tab sch-i800 running on cyanogenmod 9. I plan to fit my tablet into the dashboard of my car, I have everything worked out except how I'm going to turn it on and off. since I won't be able to access the power button I need a way for it to power on/off by its self, that way its not occasionally dead when I start my car.
At first I planed to use tasker to turn the tablet on when plugged in (or when I start my car, it turns on). and then turn off after an hour of inactivity (or an hour after I've turned off my car).
But now that I'm looking at tasker it won't let me use the command "turn on" (even though I'm rooted) and I don't see a turn off command.
Is there any apps out there that can help do exactly what I want?
I have noticed that 4.2+ automatically boots when it is plugged in, I'm on 4.0, would upgrading screw up cyanogenmod?
Thanks!
Click to expand...
Click to collapse
What you hope to accomplish with it turning on from a full power off is not possible without rewriting the bootloader or somehow rewriting the power switch (open the tab, solder wires to the switch terminals, and use an external relay or transistor to short the wires).

Related

Tilt not turning off when connected to PC

I keep my Tilt connected to a PC all the time when I am not using it.... To charge it, and transfer files etc.
The problem is that it never appears to turn off when connected, specifically the screen. Now I don't know if phone screens really suffer from any type of "burn-in", but I'm sure there is some type of limited life on the screens.
I have set the Start > Settings > System > Power > Advanced to turn off the device on external power after a couple of minutes, but it does not appear to do anything.
The settings in Start > Settings > System > Backlight > External Power does seem to work. I set it to turn off backlight after 30 seconds and it does.
I often hit the power button on the phone to turn it to standby when I go to sleep but the screen is often on again when I get to it. It think if it gets a call it might wake the screen, and never shut back off.
How can I ensure that the screen stays off (or powers off after activity) while the device is connected to the PC?
thx
Well there is a light in there that can burn out. Um, what happens if you hit that side button that turns that light off? Works for me when my preciouses is blugged into my comp.
the problem with pushing power button when connected to computer...it turns the screen off, but also breaks the connection to Active Sync for some reason..it charges the phone but activesync connection goes down.
but im a newb on the tilt so there might be an option to enable active sync with display off.
ChumleyEX said:
Well there is a light in there that can burn out. Um, what happens if you hit that side button that turns that light off? Works for me when my preciouses is blugged into my comp.
Click to expand...
Click to collapse
ooooooh you know what, whenever I close wow out when I'm done, there is a window saying that active sync was disconnected. I just thought it timed out or something. Hmmmmm
After is has synced do you really need it to keep refreshing?
ChumleyEX said:
Well there is a light in there that can burn out. Um, what happens if you hit that side button that turns that light off? Works for me when my preciouses is blugged into my comp.
Click to expand...
Click to collapse
That works, but the problem is if someone calls (or maybe if some other notification comes in...SMS, email, calendar appointment) it lights back up and stays on.
I'm not concerned with ActiveSync disconnecting, I just want to plug it into my computer to leave charging and I would rather not power the device ALL the way down.
-thx
I guess I need to pay more attention to mine.
bengalih said:
That works, but the problem is if someone calls (or maybe if some other notification comes in...SMS, email, calendar appointment) it lights back up and stays on.
I'm not concerned with ActiveSync disconnecting, I just want to plug it into my computer to leave charging and I would rather not power the device ALL the way down.
-thx
Click to expand...
Click to collapse
There are programs that you can install that will shut off your screen but leave the rest of the device active. I wouldn't worry about the screen burning though. My Wizard was on like that all the time for over a year (stupid WM6 bug prevented you from turning the phone off if it was plugged in to USB), and my screen never showed any adverse effects.
As long as your backlight goes off, you will be fine.

Screen turns on while charging (and stays on)

I charge my phone each night, and each night the screen turns itself on, so I turn it off and later it turns back on, so I turn it off, then later it turns back on, so I turn it off, then it's time to get up... so I turn it on
I'm not getting calls in the night, data streams, messages... anything that should activate the phone. It just seems to like to turn the screen on.
Anyone else? Can I do something about it?
Thanks
I am assuming you are charging it with the USB plugged to the computer?
Not sure if it was designed to be like that, or a bug in the firmware, or a design flaw, it seems like when plugged to the computer this would happen.
Haven't really tested it out myself tho. (but the screen doesn't seem to turn on when plugged to the wall charger, although I can't verify yet )
The screen does not turn off when charging using the wall charger.
twosix said:
The screen does not turn off when charging using the wall charger.
Click to expand...
Click to collapse
manually turn off, boleh?
check the power setting btw, settings > system > power, i believe it's turn off device is unchecked for power
zenkinz said:
manually turn off, boleh?
check the power setting btw, settings > system > power, i believe it's turn off device is unchecked for power
Click to expand...
Click to collapse
even if the option is checked, the backlight will still be turned on. It will just dim to minimum level when the time is reached.
Yep there are four settings in that window that will help solve this problem
The manual workaround of clicking the power button to turn off the screen works for me. You might have installed software on your x1 that activates the screen every so often?
ahlok_hk said:
even if the option is checked, the backlight will still be turned on. It will just dim to minimum level when the time is reached.
Click to expand...
Click to collapse
no, if you checked, it'll be turned off.
now a slight OOT, but when X1 playback musics it is also always turn on the screen, is there a fix for that?
zenkinz said:
no, if you checked, it'll be turned off.
Click to expand...
Click to collapse
Have you tried it on an X1? What ROM version are you using? I have tried it using "GENERIC_UK" rom
Here's my setting at "Setting" > "System" > "Power" > "Advanced" (during charging with USB cable through a PC):
On battery power:
Turn off backlight if device is not used for [ 30 sec ]
Turn off device if not used for [ 1 min ]
On external power:
Turn off backlight if device is not used for [ 1 min ]
Turn off device if not used for [ 2 min ]
Result:backlight dim (but still on) after 1 min, and keeps in dim status afterward (say 5 hours)... NEVER TURN OFF...
zenkinz said:
no, if you checked, it'll be turned off.
Click to expand...
Click to collapse
actually I did some testing before, that even with the options checked to turn off device on external power, when it is plugged to a computer it will not actually turn off the device, but this option will turn off the device when the external power source is the AC power adapter.
Again perhaps a design flow or bug (someone was saying it could be by design so that when say transferring a file from the computer it won't cut off), who knows?
ahlok_hk said:
Have you tried it on an X1? What ROM version are you using? I have tried it using "GENERIC_UK" rom
Here's my setting at "Setting" > "System" > "Power" > "Advanced" (during charging with USB cable through a PC):
On battery power:
Turn off backlight if device is not used for [ 30 sec ]
Turn off device if not used for [ 1 min ]
On external power:
Turn off backlight if device is not used for [ 1 min ]
Turn off device if not used for [ 2 min ]
Result:backlight dim (but still on) after 1 min, and keeps in dim status afterward (say 5 hours)... NEVER TURN OFF...
Click to expand...
Click to collapse
on external power, the screen will dim, but not switch off. To off it, just press the power on/off button. the X1 will continue to be charged though.
twosix said:
on external power, the screen will dim, but not switch off. To off it, just press the power on/off button. the X1 will continue to be charged though.
Click to expand...
Click to collapse
To manually press the power on/off everytime is very inconvinent. You cannot press it at once coz it will auto wake up during the start of sync process. You have to wait for about 2 seconds before pressing the power off button to turn the backlight off...
Moreover, when there is a phone call/SMS the backlight turns on again and you have to press the power off again... I would rather like the backlight to turn COMPLETELY off as the option at Power settings imply (which is the behaviour of my Tytn)...
Bumping this thread up as it has the exact same unresolved issue as http://forum.xda-developers.com/showthread.php?t=561832 but the title is better and it clearly states that all the standard options have been tried.
stisev said:
Weird. When I'm connected to Pc, it dims the screen, it does not shut it off. Also, it does NOT auto-shut of screen after the 2 minutes specific in the Power options
Click to expand...
Click to collapse
Yep, I've had 5 different WinMo devices since '05 and they all worked as expected except the X1. I like to use it as an MP3 player at night, Pocket Player has a sleep timer built in so I just like to leave it running as I drift off most nights. But if I do anything, change the volume, rewind, anything at all the screen comes back on and stays on until I hit some other button to turn it back off. All my other devices obeyed the settings you set in the Power tab, but not the X1...
I'd very much like the screen to auto-off if I tell it to while on USB power. It's not only wasting power, but it wakes me up and gets me fumbling for the tiny power button at 2 in the morning. Any fix would be greatly appreciated.
Thanks,
Peter
To manually press the power on/off everytime is very inconvinent. You cannot press it at once coz it will auto wake up during the start of sync process. You have to wait for about 2 seconds before pressing the power off button to turn the backlight off...
----------------------------------
ummm, 2 seconds is very inconvenient???? darn, are you an air traffic control cadet? btw its not the sync process you wait for, its the usb connection (like any usb drive) that must be established
i plug mine in, then hit the power button, thats it... be honest with ya, i cant see whats the problem of pressing the power button after plugging in the cord...i really cant see it, i would understand if there was a case that the power button was not turning off the screen...i guess its just me, but i dont see the fuss
For me personally I'm not syncing, I'm using it plugged into the wall, and any time I hit any control the screen turns on and has to be manually turned off. It even seems to turn on randomly after I did turn it off. It'd be great if there was some fix for this...
pdamouse said:
For me personally I'm not syncing, I'm using it plugged into the wall, and any time I hit any control the screen turns on and has to be manually turned off. It even seems to turn on randomly after I did turn it off. It'd be great if there was some fix for this...
Click to expand...
Click to collapse
can you try start - settings - system tab - keylock? make sure that the first option is checked "wake up device by pressing the power button"...that should solve the waking up part anytime you hit any control...
joecruz said:
can you try start - settings - system tab - keylock? make sure that the first option is checked "wake up device by pressing the power button"...that should solve the waking up part anytime you hit any control...
Click to expand...
Click to collapse
Thanks for your reply joe, the only problem is I do want it to wake if I hit a button - otherwise the button has no effect. So if I'm listening to an MP3 at 2am and I've pressed the power button to turn off the display, if I want to stop the MP3 playback I hit the 'center' button twice, once to wake the device and once to stop playback. Or I might hit the up/down toggle to change the volume or the right/left toggle to fast-forward/rewind. I like the screen coming up in all these cases - but after a minute or so I'd also like the screen to turn off, as it does when on battery mode and on any other WM device I've used.
Having to hit the power button again after every action, or in your case before and after - unfortunately that is not user friendly... I have all the settings in the Power menu set as I want them with "On External Power: turn off backlight if device is not used for: 1 minute" checked and set - It would be great if there was some way to find out what Sony did to break this core Windows Mobile functionality and if there is some way to fix it...
Thanks,
Peter
Registry Fix Created
Ok, I think I have a fix for this. I googled around some more and found that this might be an HTC problem more than an SE one. There were various registry keys people suggested to try to fix the 'backlight problem' - which may or may not be related. None of those suggestions seemed to work, but I kept changing keys myself and eventually found this seemed to do the trick.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts\ACUserIdle: 120
I confirmed that changing this value affects the amount of time before my X1's screen turns off - but my MP3s still play with the screen off and my phone wakes on receipt of a new call. This value is the # of seconds before the screen turns itself off (in this case 2 minutes). You do need to soft reset for the change to take effect.
This doesn't seem to be posted anywhere else that I've found doing this to fix this issue issue - I changed a few other registry keys as well that might be enabling this fix. So anyone with this problem, please do give this a try and if it doesn't work I'll post the other keys I changed as well - and if it does then post to say so and we're good
Peter
Update: I tested it also while hooked up to the computer and it does work with the phone accessible through active sync with the screen off and the battery charging (faster now that it isn't competing with the screen for power, except for the 2 minutes before it times out). If I want to use it I just click a button and the screen stays on till I leave it alone for 2 mins and it remains off. Get a call or a message and the screen goes on for 2 minutes and then off - Exact same behaviour on AC and USB - exactly the behaviour I wanted
spot on!!!
pdamouse said:
Ok, I think I have a fix... this seemed to do the trick.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts\ACUserIdle: 120
Just wanted to confirm that this is spot on. I had an issue with the screen dimming but not turning off when plugged in or on battery. I modified the following and all is well.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts\BattUserIdle: 20
Thanks pdamouse
Click to expand...
Click to collapse

Powering X1i through USB -- any hacks to do the following...

Hi all,
I frequently charge my X1i through USB. There are 2 problems with this method, however.
1) The device goes into USB drive mode, disabling my SD card apps (I keep them on SD card AT ALL TIMES due to frequent backups/restores)
2) Screen does not turn off! while connected to computer! The screen only dims, but does not turn off.
WITHOUT resorting to a) plugging into wall outlet b) connecting to Activesync, is there any to fix these behaviors?
Thanks!
just let it go into activesync mode, that way you can still access your files on your phone and micro sd card from both your pc and phone. And if you dont like the screen not turning off, they just change the settings or just press the power button, to shut off the display.
I know about the power setting, but when your computer is connected to the computer via USB, it refuses to turn off the screen (only dims it)
what? one simple button press and the screen is off. the device is still visible to the pc. I do it all the time - r3a generic uk rom.
in power options u can set after what time it disables screen... default is never
what? one simple button press and the screen is off. the device is still visible to the pc. I do it all the time - r3a generic uk rom.
Click to expand...
Click to collapse
Weird. When I'm connected to Pc, it dims the screen, it does not shut it off. Also, it does NOT auto-shut of screen after the 2 minutes specific in the Power options
You can also use "safely remove devices" to disconnect the data connection from the phone, it'll still charge.
There's nothing we can do AUTO. But like said before, a simple pression on the power button will do it, or you can use My Mobiler and press F11 on your PC.
stisev said:
Weird. When I'm connected to Pc, it dims the screen, it does not shut it off. Also, it does NOT auto-shut of screen after the 2 minutes specific in the Power options
Click to expand...
Click to collapse
Yep, I've had 5 different WinMo devices since '05 and they all worked as expected except the X1. I like to use it as an MP3 player at night, Pocket Player has a sleep timer built in so I just like to leave it running as I drift off most nights. But if I do anything, change the volume, rewind, anything at all the screen comes back on and stays on until I hit some other button to turn it back off. All my other devices obeyed the settings you set in the Power tab, but not the X1...
I'd very much like the screen to auto-off if I tell it to while on USB power. It's not only wasting power, but it wakes me up and gets me fumbling for the tiny power button at 2 in the morning. Any fix would be greatly appreciated.
Thanks,
Peter
I bumped up thread: http://forum.xda-developers.com/showthread.php?t=561832 Since it has a better title and shows the exact same unresolved issue...
Reg Fix
Adding this potential fix here as well so anyone subscribed to this thread sees it.
Ok, I think I have a fix for this. I googled around some more and found that this might be an HTC problem more than an SE one. There were various registry keys people suggested to try to fix the 'backlight problem' - which may or may not be related. None of those suggestions seemed to work, but I kept changing keys myself and eventually found this seemed to do the trick.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts\ACUserIdle: 120
I confirmed that changing this value affects the amount of time before my X1's screen turns off - but my MP3s still play with the screen off and my phone wakes on receipt of a new call. This value is the # of seconds before the screen turns itself off (in this case 2 minutes). You do need to soft reset for the change to take effect.
This doesn't seem to be posted anywhere else that I've found doing this to fix this issue issue - I changed a few other registry keys as well that might be enabling this fix. So anyone with this problem, please do give this a try and if it doesn't work I'll post the other keys I changed as well - and if it does then post to say so and we're good
Peter
Update: I tested it also while hooked up to the computer and it does work with the phone accessible through active sync with the screen off and the battery charging (faster now that it isn't competing with the screen for power, except for the 2 minutes before it times out). If I want to use it I just click a button and the screen stays on till I leave it alone for 2 mins and it remains off. Get a call or a message and the screen goes on for 2 minutes and then off - Exact same behaviour on AC and USB - exactly the behaviour I wanted .

Android Auto WakeLocks

Hi,
I have discovered one problem (in my phone, stock ROM 5.1) with AA: When I start one voice command... after some time without using AA (some minutes driving with the car), sometimes the AA don't responds. The mic is stalled and the voice command isn't recognized. I discovered that the problem is that the phone is "Deep Sleep" mode... Then if I touch the power button, and the Lock Screen appears, then the voice commands restores normal behaviour.
So, I ask: It's a way to maintain the LockScreen on when AA is connected? I feel the power ins't a problem as the device is connected with the USB port.
Disable screen timeout ? Or enable "Stay Awake" in developer options ?
Or just unlock the screen and leave it at the dark "android auto" screen ? For bonus points, hit Recents, then Home to switch to the usual home screen.
AA puts the phone into car mode, which is usually enough to keep the screen on.
SmartLock
Look into "SmartLock" . Mark your car radio as a trusted connection and the phone will not lock as long as it is plugged into it.
BPryde said:
Look into "SmartLock" . Mark your car radio as a trusted connection and the phone will not lock as long as it is plugged into it.
Click to expand...
Click to collapse
Yes, thank you! I know, but I don't like to do this at all! Why? I don't like to "auto unlock" my phone... this is completly unsecure. I have a secure PIN and I like to use it all the time. So the problem, isn't the "lock" of the device, the problem is that it can enter in "deep sleep" or similar state when AA is running. I like to forbird this without unlock the phone.
Some other idea?

SM-T810 screen cannot be turned on after recent turn off

I'm joining the chorus of complains about my Samsung Tab S2 9.7" SM-T810 purchased April 2016. I used it a lot and it still works well, except for a weird problem, which could be due to a recent software update.
Assume the screen turns off, without turning off the device. For example, I just leave the tablet unattended for 2 minutes, which is the timeout period. When I return to the tablet and try to turn the screen on (by pressing Home briefly) the screen won't turn on. In this zombie state, the device is still functional. Pressing Home+Power simultaneously makes the sound expected for a Screendump. Later on, I can recover the image file which shows how the screen should have looked if it was on. A long-press on Home brings up the Google Assistant and I can hear it talking to me.
But I can't turn the screen on for a while, no matter what. As if there was an internal timeout of 1-3 minutes which prevents the screen from turning on. The device probably believes the screen is on, and perhaps does not bother changing its status.
After a minute or two, the tablet eventually responds to the Home button and turns on. Then it works perfectly for hours - unless I allow it to turn off again.
Now I just ordered a new tablet (the P-205) so the old SM-810 will soon go into retirement. Would it make sense to try going back to a prior version of Android ? I have no experience with root on Android, although I "used to be" computer literate in the previous four decades.

Categories

Resources