[Q] Auto start when connect to charger - Galaxy Tab S Q&A, Help & Troubleshooting

Hi,
Ive googled about this matter and cant seem to find a solution for the galaxy tab s lte but for other samsung devices since s3 is possible.
Ive also tried the Auto Power On app (paid apps) both of them didnt work and requested a refund.
It seems that we have to modify the file /system/bin/playlpm or /system/bin/lpm or /system/bin/ipod for this to work.
Ive tried everything and still doesnt work on the galaxy tab s lte.
What i need is for the tablet to boot upon connected to charger when the state is off. Now all i can see is the battery icon stating its charging but never boot into android.
Anyone have any idea how to make this work for the galaxy tab s lte?
Cheers.

Well it begs the question as to why in the world would anyone want this?
I wouldn't want my tab on every time I charge it.

I think you would need a custom rom, don't the apps you can download/buy, need your device to be already running so they can shutdown or run an app or change a mode when they detect you plugging in or removing the charger.
John.
ashyx said:
Well it begs the question as to why in the world would anyone want this?
I wouldn't want my tab on every time I charge it.
Click to expand...
Click to collapse

ashyx said:
Well it begs the question as to why in the world would anyone want this?
I wouldn't want my tab on every time I charge it.
Click to expand...
Click to collapse
Why would anyone need this? Let me answer you.
Some of us use our android tablets in cars ... There's app to make the tablet shutdown when u turn off the engine and the power is disconnected (tons of them).
But when u start the engine back and the power is re-connected, the tablet wont turn on. Right now the only solution i can do is to use tasker to airplane mode on the device when the display is off, and airplane mode off when the display turns back on. This saves power so that the tablet doesnt run out of juice overnight in the car.
So most of this has to do with in-car tablet systems that you want it to boot up as you start your engine. I can custom rom my tablet to run CM12 however even CM12 doesnt boot up, some settings needs to be changed and im not sure which part so i need some help on this.
Cheers.

ashyx said:
Well it begs the question as to why in the world would anyone want this?
I wouldn't want my tab on every time I charge it.
Click to expand...
Click to collapse
And btw .... iPhone iOS Behavior is exactly like this ... So no body is begging the question of why anyone would want this ... Just you i guess

arsyan said:
And btw .... iPhone iOS Behavior is exactly like this ...
Click to expand...
Click to collapse
Another reason not to want it then

LOL thats a good one ....
Anyway back to serious matter ... Any one out here can help me with this problem? I think it would help a lot others too that are looking for a solution. a CM12 solution would be great also coz i can flash the tablet with CM12.
Thanks in advance.

arsyan said:
And btw .... iPhone iOS Behavior is exactly like this ... So no body is begging the question of why anyone would want this ... Just you i guess
Click to expand...
Click to collapse
C'mon. You and I both know that this is a niche scenario, and normally it's a bad idea. If your running low enough on battery to run you device dead, you want it to charge a while before turning on. We've all been waiting on a dead phone to get a few percentage points charged so that way it doesn't die immediately upon startup.

I've been leaving my Tab S on a constant power supply in the car. This means I have to turn it on and off manually. I have been toying with using Tasker to turn the screen on/off based on connection with a BT device that would be powered by an switched power source.
The problem I get is warning messages about trying to charge the battery while it is too hot or too cold.

stm8 said:
I've been leaving my Tab S on a constant power supply in the car. This means I have to turn it on and off manually. I have been toying with using Tasker to turn the screen on/off based on connection with a BT device that would be powered by an switched power source.
The problem I get is warning messages about trying to charge the battery while it is too hot or too cold.
Click to expand...
Click to collapse
Why dont u try this app https://play.google.com/store/apps/details?id=com.as.powerchecker it will close the android once ur power is disconnected from the car ...
As for turning it back on when u start. Still no solution ...

Any help guys? Last time asking ...

Using Tasker and Secure Settings, I can get the tablet to turn the screen on and off when the power is connected. If rooted, you could turn Airplane Mode on and off in Tasker also. But short of a change in the firmware, I have no idea how to power off and restart based on external power connection.

From what I remember, when CM12 was still buggy... when you connect a charger when it was powered off, it would show the battery icon and automatically reboot into recovery. Of course that was a bug, so I don't really know.
-DUHA

Same here, did you find an answer?

Same here but no solution found
Iam trying to set my tablet to auto start/boot when charger is connected in mini usb port. I didnot find lpm.sh in root\system\bin folder to modify. But i found ilm file with below script. Plz tell how to modify to make powered off tablet to boot when charger is connected.
Script to start "pm" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/ime.jar
exec app_process $base/bin com.android.commands.ime.Ime "[email protected]"

You can instruct init to reboot the device whenever charger mode is detected. Create a new .rc file or edit any existing one:
# /system/etc/init/off_mode_charge.rc
on charger
setprop sys.powerctl reboot,leaving-off-mode-charging
Source: https://android.stackexchange.com/q...ower-on-android-when-the-charger-is-connected

Related

htc touch hd

guys very sorry if this is in the wrong section
I have a massive problems been reading for days now and i cant seem to sort the problem out, going mad please please i beg you to help me....... ok here goes
i have a htc touch hd, with my chaeffer work software on it, now this software works perfect no problem job come through, messages ect.......
now when the screensaver kicks in the application is still running, however the ring tones/alert on the application turns off.... the job/message come through however it does not ring or alert me the way it should do when screensaver is off
this then cause me to loose the job or miss the message until i physical unlock the screen and check ever couple fo mins
this is a massaive problem as i have turned of my screensaver from the settings and the battery is getting drained
is there a fix for this please? please advise as i dont mind testing/replacing or even repairing files
you guys are my only hope, i have read someone (biker) had the same problem for tomtom7 when the screen locks tomtom volume cuts out
thanks
Moved to Themes, Applications and Software forum.
Im guessing by screensaver you mean screen turns off/dims?
Which ROM are you using and what screensaver app are you running?
ClydeB1 said:
Which ROM are you using and what screensaver app are you running?
Click to expand...
Click to collapse
yes i mean the dim/ blank screen
not sure about the rom but the phone is box standard no other apps have been put on it apart from this work application
screen is normally on, dims after few seconds manbe 1 minute, then goes blank (or like a sleep mode) however this sleep mode is where the problems start
thanks guys any help will be appreciated.
hi,
when i connect my touch HD a screen comes up that asks if i want activesync or to use the card reader mode etc. how can I pull up this program anytime i want without having to unconnect -> reconnect the device? anyone know the path to this program?
tgwaste said:
hi,
when i connect my touch HD a screen comes up that asks if i want activesync or to use the card reader mode etc. how can I pull up this program anytime i want without having to unconnect -> reconnect the device? anyone know the path to this program?
Click to expand...
Click to collapse
stop hi-jacking threads
ddino said:
stop hi-jacking threads
Click to expand...
Click to collapse
huh?? this thread doesnt say "htc touch hd" ?
how bout you provide a VALUABLE reply instead of this nonsense.
anyone got any update on this? i believe tomtom stops working also when this screen saver kicks in please help me out
as it is draining my battery life
How do your messages come through? Are they via sms? If so you can use an app called HD Tweak to wake device on new message. As for TT, perhaos invest in a car charger and then you don't have to worry about the battery.
ddino said:
anyone got any update on this? i believe tomtom stops working also when this screen saver kicks in please help me out
as it is draining my battery life
Click to expand...
Click to collapse
I know this is not much of a solution but if you go to settings tab -- all settings (bottom left corner) and then in the middle tab (cant remember the name) --- power.
in here, go to the 3rd (last tab) and there you can disable the screen dimming and and sleep mode (first 2 options) by unchecking them
I am also using TomTom in the car at the moment and yes it does drain the battery...i think that asides from getting a car charger (they're cheap - just look for a in-car USB charger and use your USB cable), the best alternative is to let the screen dim, but NOT switch off. So let your screen turn off its backlight, and that should extend your battery life considerably.
Also, maybe try some of the solutions listed in this thread:
http://forum.xda-developers.com/showthread.php?t=483034
(i got that from a forum-wide search)
Good luck
ok guys bit more info
not worried about tomtom working whilst screen off that was just a example i gave, however my chaeffer work software does not ring/alert me when the screen is locked
now the software works via gprs and log's into my office server when they get the booking it gets logged into there system and routinly passed down to the drivers
i have a car charger but the problem is i am not in the car all the time, or near a mains supply only go to the car when booking come through
now is this a programming issue by the company i work for? if so, what could be done to correct this?
i am looking at some after market apps play around with them and see how i get on.
thanks you for all your help so far

[Q] Franco kernel and forcing fast charging...

Running Winnner00 CM9 + Franco kernel (tried nightly 160 and stable M3)
Using Franco's app I am unable to enable force fast charging. The checkbox in Settings seems to be ignored. Tried both nightly and stable kernels, reboots, etc. It does work from command line, so I think the issue is in the app itself. Am I missing something here?
Any suggestions?
Does CM9 have the option built in? I know AOKP does. I leave them both fc options enabled (rom & kernel) because I charge my phone in the car waaay more often then I plug it up to the comp. If CM9 has an option for it enable it there.
hichhiker said:
Running Winnner00 CM9 + Franco kernel (tried nightly 160 and stable M3)
Using Franco's app I am unable to enable force fast charging. The checkbox in Settings seems to be ignored. Tried both nightly and stable kernels, reboots, etc. It does work from command line, so I think the issue is in the app itself. Am I missing something here?
Any suggestions?
Click to expand...
Click to collapse
did you unplug before turning it on? you cant be plugged in while enabling fast charge.
Also, try updating your superuser (even if it says it is up to date). Just a thought as I've read this can cause issues.
Afaik, CM doesnt support fastcharge.
Sent from my i9250
simms22 said:
did you unplug before turning it on? you cant be plugged in while enabling fast charge.
Click to expand...
Click to collapse
Yeah, basically it is a combination of a few things - one is that even though it says it is enabled at boot time, it is not. You have to turn it off and back on. The second is what you mentioned, you have to unplug it and plug it back in if you turned it on while plugged in.
I ended up using a plug-in for Tasker to manage it, though it is wierdly hard to GET the current state (how hard is it to read a file, apparently hard) from Tasker, though setting state works.
hichhiker said:
Yeah, basically it is a combination of a few things - one is that even though it says it is enabled at boot time, it is not. You have to turn it off and back on. The second is what you mentioned, you have to unplug it and plug it back in if you turned it on while plugged in.
I ended up using a plug-in for Tasker to manage it, though it is wierdly hard to GET the current state (how hard is it to read a file, apparently hard) from Tasker, though setting state works.
Click to expand...
Click to collapse
I'm having the same problem.. I've tried all things u suggested, still no luck.. I read somewhere that when we use fast charge, u cant connect ur phone through MTP, is this the case ?? Coz mine gets connected immediately even though app says fast charge is enabled
Can u give some more details about the tasker plugin ??
I'm well acquainted with tasker as i use it for couple of things..
Any help is much appreciated
u4atharva said:
I'm having the same problem.. I've tried all things u suggested, still no luck.. I read somewhere that when we use fast charge, u cant connect ur phone through MTP, is this the case ?? Coz mine gets connected immediately even though app says fast charge is enabled
Can u give some more details about the tasker plugin ??
I'm well acquainted with tasker as i use it for couple of things..
Any help is much appreciated
Click to expand...
Click to collapse
This thread is a year old and the guy you quoted only has 3 posts. I dont think you are going to get much out of him. lol
And sorry, I dont use tasker so I cant help you.
jsgraphicart said:
This thread is a year old and the guy you quoted only has 3 posts. I dont think you are going to get much out of him. lol
And sorry, I dont use tasker so I cant help you.
Click to expand...
Click to collapse
lol i figured that..was just taking a shot in the dark :laugh:
Yeah, that guy's a ghost, you'll never get a response from him.
You can check out Secure Settings plugin (sorry, can't post links yet, but search it) - it is great for a LOT of things including this (its under Custom ROM options)
u4atharva said:
lol i figured that..was just taking a shot in the dark :laugh:
Click to expand...
Click to collapse
hichhiker said:
Yeah, that guy's a ghost, you'll never get a response from him.
You can check out Secure Settings plugin (sorry, can't post links yet, but search it) - it is great for a LOT of things including this (its under Custom ROM options)
Click to expand...
Click to collapse
"THANK YOU" (For ur thanks meter)
But, on a serious note, i got the solution for the problem already..
For others out there seeking the solution to the problem, the trick is to unplug and then again plugin the USB cable after you enable the fast charge..
And then in battery stats it should show charging(AC) instead of charging(USB)
u4atharva said:
For others out there seeking the solution to the problem, the trick is to unplug and then again plugin the USB cable after you enable the fast charge..
And then in battery stats it should show charging(AC) instead of charging(USB)
Click to expand...
Click to collapse
Sorry, I missed that this was the issue you were trying to solve. Yeah, when you switch the charging mode, it only takes effect after you next plug in. It will not change your current connection - which can be especially tricky if you reboot while plugged in.
I wanted it to be on by default since I hardly ever use USB for data. I would love to have the ability to have it come up enabled and to disable it, but that does not seem to be how it works - which, I guess, makes sense as you would loose any ability to debug in case of emergency, as in fast charge mode all data communication over USB is off.
-HH
hichhiker said:
Sorry, I missed that this was the issue you were trying to solve. Yeah, when you switch the charging mode, it only takes effect after you next plug in. It will not change your current connection - which can be especially tricky if you reboot while plugged in.
I wanted it to be on by default since I hardly ever use USB for data. I would love to have the ability to have it come up enabled and to disable it, but that does not seem to be how it works - which, I guess, makes sense as you would loose any ability to debug in case of emergency, as in fast charge mode all data communication over USB is off.
-HH
Click to expand...
Click to collapse
If you keep the fast charge option enabled, it would always be on by default, (the way YOU need it), and when ever u want to use the USB, turn it off..
There are plenty of apps on google play which support simple toggle between fast charge on/off.. many of them have widgets too.. which makes it more than easy, just a tap away..
u4atharva said:
If you keep the fast charge option enabled, it would always be on by default, (the way YOU need it), and when ever u want to use the USB, turn it off..
There are plenty of apps on google play which support simple toggle between fast charge on/off.. many of them have widgets too.. which makes it more than easy, just a tap away..
Click to expand...
Click to collapse
Not entirely true - first of all for this to stay on you have to have Franco's app (or another app that turns it on at boot time) to auto-turn it on on boot - it does NOT keep state across reboots. At the time of the original posting in this thread, the Franco's app did NOT work for this, so you had to manually go into it and turn it off and back on again before it worked - so I automated this via Tasker. Just tested, seems like it is working now (although it takes a while after boot before the setting is applied, Tasker/Secure Settings route is MUCH faster). Secondly, if you boot up with the USB cable in, it will ALWAYS boot into USB mode because of what I said before. (Unplugging it and plugging back in once it is fully booted and fast charge is on, will turn then register it as AC).
But yes, there are a number of other routes and apps to do this.
-HH
hichhiker said:
Not entirely true - first of all for this to stay on you have to have Franco's app (or another app that turns it on at boot time) to auto-turn it on on boot - it does NOT keep state across reboots. At the time of the original posting in this thread, the Franco's app did NOT work for this, so you had to manually go into it and turn it off and back on again before it worked - so I automated this via Tasker. Just tested, seems like it is working now (although it takes a while after boot before the setting is applied, Tasker/Secure Settings route is MUCH faster). Secondly, if you boot up with the USB cable in, it will ALWAYS boot into USB mode because of what I said before. (Unplugging it and plugging back in once it is fully booted and fast charge is on, will turn then register it as AC).
But yes, there are a number of other routes and apps to do this.
-HH
Click to expand...
Click to collapse
I said that because mine stays on across reboots..
If your option turns off, Tasker is no doubt the next option..
And regarding booting with USB cable plugged in, i already mentioned in a previous post that you will have to unplug and plug in the USB cable again to enter into fast charge mode with stats as Charging(AC)

Boot on power

Been searching for hours on this issue. It's easy to make the Nexus 7 boot on power with a simple fastboot command. Does anyone know anyway to make this happen with this tablet? I am planning on using it as a gauge cluster in my car and would prefer not to have to go back to my nexus 7. The screen size is amazing. If there was anyone with any ideas, that would be helpful. I have tried searching for where the plug in screen was held, but I haven't found anything yet. I was thinking about just replacing loading that screen, with rebooting the device. Maybe something like that would work.
Let me know if you guys have any ideas please! Getting kind of desperate here. Thanks!
112 views and no suggestions! Ha, anyone have any ideas?
deadaim00 said:
112 views and no suggestions! Ha, anyone have any ideas?
Click to expand...
Click to collapse
So, what you want is for your tablet to come on when the car is started, and off when off?
sleekmason said:
So, what you want is for your tablet to come on when the car is started, and off when off?
Click to expand...
Click to collapse
Yep! I've already got the off part taken care of, just need the on!
deadaim00 said:
Yep! I've already got the off part taken care of, just need the on!
Click to expand...
Click to collapse
Only thing I can think of is to allow your tablet to stay in suspend, even force it with power off,
then use tasker to create a script to wake from suspend when plugged in!
sleekmason said:
Only thing I can think of is to allow your tablet to stay in suspend, even force it with power off,
then use tasker to create a script to wake from suspend when plugged in!
Click to expand...
Click to collapse
That's how I currently have it setup. The problem is if it were to ever run out of battery and shut off, I'd have to take my "cluster" out to be able to turn it back on when it's plugged in and charged.
deadaim00 said:
That's how I currently have it setup. The problem is if it were to ever run out of battery and shut off, I'd have to take my "cluster" out to be able to turn it back on when it's plugged in and charged.
Click to expand...
Click to collapse
Run a loop with a breaker in it for power and use a dedicated power source with a switch?
sleekmason said:
Run a loop with a breaker in it for power and use a dedicated power source with a switch?
Click to expand...
Click to collapse
As I do appreciate the ideas, I have already thought about all of these. However I would like it to operate exactly how I had my previous tablet, except with this specific piece of hardware. If it's not possible it's not possible, or I'll just keep looking. Thanks though!
Now that the source has been released and there is a recovery and such, anyone have any other ideas on this? It would really be helping me out! Thanks guys!

Phone not charging or connecting to computer with usb cable!

It started yesterday with me trying to charge my phone in the car getting only 10% every hour. Eventually, My battery died that day and then again refused to charge with my normal sony charger or a friend's Samsung charger. It didn't connect to my laptop as well. I have done a factory reset. I've gone into safe mode. Still, hasn't charged. The only way I can charge my phone now is when I switch it off and then hold the volume up and power button till a blue notification light which I think is force charging it. I got it to 100% yesterday, everything works just fine it's just I'm not able to connect my phone to my laptop to reset or fix the software. I'm not able to charge the phone while its on.
I hope I don't need to take this to the service center to get fixed, cause service here where I stay is unbearable.
Hope one of you guys have a solution for me!
aar22on said:
It started yesterday with me trying to charge my phone in the car getting only 10% every hour. Eventually, My battery died that day and then again refused to charge with my normal sony charger or a friend's Samsung charger. It didn't connect to my laptop as well. I have done a factory reset. I've gone into safe mode. Still, hasn't charged. The only way I can charge my phone now is when I switch it off and then hold the volume up and power button till a blue notification light which I think is force charging it. I got it to 100% yesterday, everything works just fine it's just I'm not able to connect my phone to my laptop to reset or fix the software. I'm not able to charge the phone while its on.
I hope I don't need to take this to the service center to get fixed, cause service here where I stay is unbearable.
Hope one of you guys have a solution for me!
Click to expand...
Click to collapse
Hi, you really need to be a bit more descriptive if you want someone to help
What is your setup? Unlocked? Rooted? MM or LP? Stock or Customized, etc...
WildBit said:
Hi, you really need to be a bit more descriptive if you want someone to help
What is your setup? Unlocked? Rooted? MM or LP? Stock or Customized, etc...
Click to expand...
Click to collapse
Stock, mm, never bothered tinkering with it. Un rooted.
aar22on said:
Stock, mm, never bothered tinkering with it. Un rooted.
Click to expand...
Click to collapse
I dont think it's the battery or it wouldn't charge in any condition but anyway if you're pure stock try with PC Companion, it might not be charging but it's recognized right?
WildBit said:
I dont think it's the battery or it wouldn't charge in any condition but anyware if you're pure stock try with PC Companion, it might not be charging but is it recognized?
Click to expand...
Click to collapse
Doesn't get detected by my laptop as well. I can't use the companion app.
aar22on said:
Doesn't get detected by my laptop as well. I can't use the companion app.
Click to expand...
Click to collapse
Mmmh, that sonds more like a port issue... Something happened to the usb connector on the phone itself? It's certainly and odd behaviour. Not having a conncetion to your handset restricts your options unfortunately. Just to be sure you've tried on another PC so you may want to do a SW reset as the only possibility other than taking it in to Sony Service. Who knows, with a bit a luck a full reset will resolve your problem
Did you manage to find out how to fix. I'm having the exact same problem
Three months back i faced same problem. I pressed the back of my phone where the NFC sign N and then press the middle of the phone. After that insert the cable and my phone started scharging. Secondly insert charging cable with sony adpoter and start pressing back side of your mobile on different location. I hope it will work.
Thanks for the tip. I tried and it did not work tho
Maybe the slow charge setting is on? Try disabling all features (auto adjust brightness etc)
Just for giggles try to set to ultra power save mode and see if it fixes it.

Screen won't turn off, when connected to power...

Just got my H7x Saturday and am blowin away that a phone this nice can be had for under $200usd.
Anyways, Whenever I have the phone connected to the power-cord(charging) the screen won't turn off. I'll wait for the 60sec I have it set to, fade, the screen turns off, and then right back on immediately. Does the same when connected to USB on a windows computer. Charging only, file transfer etc. does it no matter the mode.
Any input with help would be greatly appreciated... Thank you
edit***All software is up to date via OTA
NeWcS said:
Just got my H7x Saturday and am blowin away that a phone this nice can be had for under $200usd.
Anyways, Whenever I have the phone connected to the power-cord(charging) the screen won't turn off. I'll wait for the 60sec I have it set to, fade, the screen turns off, and then right back on immediately. Does the same when connected to USB on a windows computer. Charging only, file transfer etc. does it no matter the mode.
Any input with help would be greatly appreciated... Thank you
edit***All software is up to date via OTA
Click to expand...
Click to collapse
This setting is normally defaulted to off, but check the development option "stay awake"
No, it's set to off. But good call.
It seems like the screen saver would make it do this too. I just noticed that everytime the screen comes on, it's a different picture. However, settings>display>screen saver is off.
Just figured it out.
Under settings>Apps and notif...>notification and status bar> I had 'notifications turn on screen' turned on. That's what was causing it. Strange...
Can anyone else test for this?
NeWcS said:
Just figured it out.
Under settings>Apps and notif...>notification and status bar> I had 'notifications turn on screen' turned on. That's what was causing it. Strange...
Can anyone else test for this?
Click to expand...
Click to collapse
Most users are on roms right now, I suggest you do he same.
And, no need for other people to test for this, you fixed the problem.
crayonicle said:
Most users are on roms right now, I suggest you do he same.
And, no need for other people to test for this, you fixed the problem.
Click to expand...
Click to collapse
I guess I could root and rom. I am just so impressed with the battery on the stock rom I was going to try and keep it as long as I can.
What ROM do you suggest?
And I didn't fix the issue. Just turned it off... Its still an issue for people who want thier screen to turn on when they get notifacations.
Thanks for the help!
NeWcS said:
I guess I could root and rom. I am just so impressed with the battery on the stock rom I was going to try and keep it as long as I can.
What ROM do you suggest?
And I didn't fix the issue. Just turned it off... Its still an issue for people who want thier screen to turn on when they get notifacations.
Thanks for the help!
Click to expand...
Click to collapse
Openkirin roms are good, but the support chat in telegram is a bit toxic...
Also, any hi6250 rom will work well, like with the p8 lite 2017; roms there work on the honor 7x too, i've tested.

Categories

Resources