Automatically power on Android when the charger is connected - General Questions and Answers

I succesfully rooted my Tab A 9.7 LTE and installed MacroDroid to make it power off when the charger is unplugged.
However, I can't make it turn on when plugging in.
I read about it here and watched this, but I can't get the CMD to work with fasboot command. Looks like my PC does not recognise the tablet when it's in recovery menu, and when I choose "Reboot to bootloader" it just reboots to download mode.
adb devices then works, but fastboot in any iteration does not

Take note that Fastboot isn't supported on any Samsung devices.

Hmm.
Maybe that's the reason, thanks!
Well, is there another way to make a samsung tablet turn on when plugged to power?

IDK, dont own a Samsung device.
Hint: Add Tab A 9.7 LTE to this thread's title thus mainly owners of such device get addressed.

Related

Help!! Nexus S stuck in Downloading...

Hey guys, so I just came across a Nexus S GT-i9020T but it has a problem! The problem is right after it's turned on, it immediately goes into "Downloading... Do not turn of target!!!" with an android sweeping up icon... Now I just bought this off a guy and he only told me that the last thing he did was install some Cybermod 9 skank mod??? he claims the phone was working fine until he went to reboot and got this Downloading.. screen from there on out.. Now I can't even get the phone recognized on my Windows 7 computer but I'm really new to this stuff and thought if i could get this fixed i'd have a cheap new/used Nexus S.. I've tried the Volume Up + Power hold, and other variants and cannot get the phone into bootloader. Also, when I plug in the USB cable there's no charging icons, and it seems the battery is getting low and dying so I'm going to buy an external battery charger to keep it topped up while I try to repair it. Please tell me what I can try to get this thing working! Thank you!
r3ap3r911 said:
Hey guys, so I just came across a Nexus S GT-i9020T but it has a problem! The problem is right after it's turned on, it immediately goes into "Downloading... Do not turn of target!!!" with an android sweeping up icon... Now I just bought this off a guy and he only told me that the last thing he did was install some Cybermod 9 skank mod??? he claims the phone was working fine until he went to reboot and got this Downloading.. screen from there on out.. Now I can't even get the phone recognized on my Windows 7 computer but I'm really new to this stuff and thought if i could get this fixed i'd have a cheap new/used Nexus S.. I've tried the Volume Up + Power hold, and other variants and cannot get the phone into bootloader. Also, when I plug in the USB cable there's no charging icons, and it seems the battery is getting low and dying so I'm going to buy an external battery charger to keep it topped up while I try to repair it. Please tell me what I can try to get this thing working! Thank you!
Click to expand...
Click to collapse
check if the volume down is stuck. power button + volume down get you into download mode.
Not quite sure how to tell if the volume down button is stuck... I can hear it clicking when i push it.. Hitting around the volume button area doesnt seem to do anything.. Any key combo I hold always brings me into "Downloading.."
Edit: I opened up the phone and the volume keys seem to be working fine
Do you have the Android SDK? I'd think if you got those, you'd be able to issue the ADB commands and reboot into the bootloader that way.
Yes i have the Android SDK installed properly, however i'm not sure if i have the correct USB Drivers since i just got this phone and havent ever hooked it up to my PC before.. I've worked on my Galaxy S and Galaxy Nexus before, but i've since updated USB drivers to 1.4.8..... I tried 'adb devices' in a terminal and can't get the PC to recognize the phone at all, but thats about all i know for commands. What else can I try??
ok so i found a list of commands, tried 'adb reboot-bootloader' but its saying error: device not found... Now my battery is almost completely dead and phone only comes on for 3-4 seconds so i think i need to go buy that external battery charger before i continue because the phone will NOT charge via usb cable attached to phone..
I haven't updated my SDK in ages and it still recognizes my device. In my case, sometimes my USB ports act funky and won't recognize my phone. I'd have to either restart the PC or switch ports and it would work. Let us know if you get the phone fully charged up
chronophase1 said:
I haven't updated my SDK in ages and it still recognizes my device. In my case, sometimes my USB ports act funky and won't recognize my phone. I'd have to either restart the PC or switch ports and it would work. Let us know if you get the phone fully charged up
Click to expand...
Click to collapse
So i picked up the charger and now have a charged battery! Still not sure how to get the PC to recognize the phone though... Was I right in installed the 1.4.8 Samsung mobile phone driver or is there another driver i need to use like pdanet???
OK!! Got the PC to recognize the phone being plugged in but it's still showing up as "Unknown Device" under device manager.. I'm guessing this means I don't have the right drivers, or?? Also I'm not getting anywhere under terminal "adb devices" or "adb reboot-bootloader".. saying error: device not found
Install the drivers through pdanet
djquick said:
Install the drivers through pdanet
Click to expand...
Click to collapse
The problem with PDAnet is that I can't actually turn the phone on to enable debugging so PDAnet doesn't fully install - unless i'm mistaken but it still shows as Unknown device in device manager
Anyone??????? Just to recap, on my Nexus S when i turn the phone on i'm stuck on the "Downloading... Do not turn off target" screen (can't use volume up + power) always goes to download screen.. The phone shows up as "Unknown Device" in device manager.. Odin doesnt pick it up, adb devices shows no devices... Ive tried a few different drivers such as pdanet, samsung 1.4.8, with no success.... Please someone must know a solution?
go go linux, bit of a pita but the drivers shouldn't give any problems
I have ubntu on a usb stick already but i don't really know how to use it all that well... will it have drivers already or do i need to download some linux usb samsung driver?
http://source.android.com/source/initializing.html
this has the info on the driver bit see configuring usb access, the rest would just be getting adb and fastboot for linux
I really can't figure out Ubuntu.. i even seemed to brick it somehow off a usb stick.. try to boot it and just get a black screen after the UBUNTU logo loading screen... man i'm hopeless lol
Aaaaaaaaaanybody?
dewaffelhaus8 said:
http://source.android.com/source/initializing.html
this has the info on the driver bit see configuring usb access, the rest would just be getting adb and fastboot for linux
Click to expand...
Click to collapse
OK after a few hours of messing around I got Ubuntu up and running, installed JDK, SDK, and still no devices found when i bring up a terminal and type 'adb devices' while the Nexus S is on and in downloading do not turn off target!! mode.... Tried Unbrickable resurrector with no success saying it can't find device either... I know I have usb drivers and adb installed correctly because i can plug in my Gnex and get the adb device # no problem... This is super frustrating!!
bump
Wish I knew of another way to help. I'm out of ideas.

Samsung - Patch to power on when USB power inserted?

I am currently working on a app that will come up on a galaxy y that when the usb cable is connected, will launch the OS.
The device will be run from a cigarette lighter which gives enough power to sustain it when the app is on, BUT theres one big issue, if I dont use the car for a while the battery will obviously run down in 2 or 3 days, and when the energy returns, the app will not be able to start again by itself.
So i searched and tried thousands of solutions to make the device starts when the power AC is on, instead of stuck on the battery sprite screen...
I know we have this thread: http://forum.xda-developers.com/showthread.php?t=1815131 from last year
but in that case, the guy have fastboot to use its commands to modify the bootloader args, but within my research i have found that we dont have fastboot on samsung devices, just odin mode...
So the question is: is there any way to modify the bootloader, or put a bootloader that have this feature via odin?

[Q] TF101 USB > PC makes sound, but no sign of the device

I know that this theme has been beaten mercilessly, but let's try it again. Maybe someone can help.
I'm looking to breath some life back into my old TF101 with an update to KatKiss.
My serial number starts 037. I'm running 4.0.3 ICS. I have USB debugging enabled. I have MTP enabled. On the computer side, I'm running Win 8.1 on a Haswell i7 16GB with USB 3.0.
I have the original USB cord, and a new 3.0 USB cord from a third-party manufacturer. I've tried both cables. The TF101 itself is well-aged and somewhat beat up, but not beyond use. The cords work for charging.
When I plug the USB cable into the PC, the computer makes a sound, but no device is shown. The TF101 doesn't show that it's connected to the computer. I've looked everywhere: Devices and Printers, Device Manager (there's no "Other Device Listed"), under safely remove devices, and even under Computer Management > Storage > Disk Management. The TF101 is nowhere to be found. The computer does not recognize it.
When I power off the tablet, and try going to APX (or whatever) mode with VOL UP and POWER, nothing happens there either. (The computer shows nothing whether connected through the USB cable while Android OS is running, or while I'm trying to go into APX mode.) I can, however, go into recovery mode (or whatever it would be called) by holding VOL DOWN and POWER. I tried a factory reboot, but that didn't work either. The computer still doesn't see it.
Basically, I've concluded that there's no hope. Given this state of affairs, I cannot root my TF101, and, because I cannot root the tablet, I cannot install custom ROMs on it.
Does that about sum it up? Anybody else have any other great ideas?
I'd very much appreciate any insight anyone could give me.
Install the drivers on this thread and download Easyflasher
http://forum.xda-developers.com/showthread.php?t=1688012
Power off the TF while it is connected to the PC
Hold Power & Vol Up to enter APX mode
Device should be recognised by windows and hear the USB connect sound
Nothing will appear on TF screen
Run the Easyflasher and install TWRP
When done, boot to recovery to check you have TWRP recovery installed
If yes, copy KatKiss ROM to Micro SDCard in TF and flash from TWRP along with Gapps
*Detection* said:
Install the drivers on this thread and download Easyflasher
http://forum.xda-developers.com/showthread.php?t=1688012
Power off the TF while it is connected to the PC
Hold Power & Vol Up to enter APX mode
Device should be recognised by windows and hear the USB connect sound
Click to expand...
Click to collapse
Detection, I appreciate your response! The thing is, when I try to enter APX mode, nothing is recognized by the computer. I don't hear any sound. I don't see any new devices appear anywhere.
Should I conclude that I have the "TF101-is-not-recognized-by-PC Problem"? And, if I do, is there anything else I can do to about rooting and installing a custom ROM?
RJM
In device manager, try enabling "View hidden devices" and see if you can see the TF101 ghost entry, if yes, remove it and then plug the TF back in and see if it's recognised then
If you don't see anything that way, try viewing hidden devices with it plugged in too
There is no reason it shouldn't be detected in APX mode unless you have been unlucky and have 2 dodgy cables, or there is actually hardware damage to the TF
Try installing windows to a virtual machine too, see whether you can get it recognised that way
If you have access to another machine, see if you can get it seen on there to rule out hardware as the issue
Thanks for the reply. I appreciate your interaction very much.
I've tried it on both machines. There is no sign of TF101 anywhere, on either machine, as a ghost or anything else. I've looked under the Android section, as well as under Portable devices and every other list. There's definitely no sign of a TF101. No sign of anything that my TF101 might be posing under.
The only time I get any kind of response by the computer is when I plug the TF101 into the computer when the TF101 has Camera (PTP) mode activated. When I do that, I hear a little jingle. If I have the Device Manager open, it flashes. But, even then, I don't see any sign of it anywhere.
I'm totally stumped. Would there be some clear indication on the hardware that would cause the problem?
By the way, both USB cables charge just fine when I'm using the USB power box. But when using the computer, there is no charge or any other sign of the thing.
If you have any other advice, I'd love to try it!
The power and data connections on the USB lead are separate, so if you have a faulty lead, it could still charge, but not be seen by the PC
Something like this:
1: Power
2. Data
3. Data
4. Power
You won't see the TF charge from PC, it is only a trickle charge via PC, and the TF has to be powered off iirc, or at least the screen has to be off, so you only see the result, not the actual charge
Not sure what having the camera on is doing, I would still lean towards faulty USB cables being the issue even though you have 2 of them
Im guessing that the 2nd cable is a 3rd party cable, not a genuine ASUS TF101 cable ?

[Q] ADB while phone is turned off

Hi,
I just flashed a 5.0.1 custom build (I used the "eng" variant), and I was surprised to see that if I plug a USB cable connected to my PC into the phone while it is turned off I see enumeration and I can connect to the phone (presumably OFF) via adb.
it is important to mention that while in adb the screen is off and I can only see the charging icon.
the task list is somewhat limited compared to an active phone but still it is alive.
attached is the output of "ps" and "getprop"
does anyone know why the phone is alive while it need to be turned off?
can it transmit information? record information?
Thanks

sprint s5 ... cant access files on PC---help

I have a note 2 I currently use- when I plug the usb in - in windows 7 I get the option to view files etc....
I just bought a used sprint galaxy s5 from my ol ladys sister who had it hooked up at one of those corner wireless shops.
I want to root it but read to make sure your pc recognizes it first- which it does not.
Ive downloaded the latest usb drivers for the phone.
Ive enabled debugging mode.
Ive used the original supplied cord and also tried my note 2 cord.
When I plug it in it recognizes it and detects drivers but the phone does not show up under my computer and I dont get the window popup asking if I want to view files etc.
Getting really frustrated.
Any ideas?
deezdrama said:
I have a note 2 I currently use- when I plug the usb in - in windows 7 I get the option to view files etc....
I just bought a used sprint galaxy s5 from my ol ladys sister who had it hooked up at one of those corner wireless shops.
I want to root it but read to make sure your pc recognizes it first- which it does not.
Ive downloaded the latest usb drivers for the phone.
Ive enabled debugging mode.
Ive used the original supplied cord and also tried my note 2 cord.
When I plug it in it recognizes it and detects drivers but the phone does not show up under my computer and I dont get the window popup asking if I want to view files etc.
Getting really frustrated.
Any ideas?
Click to expand...
Click to collapse
When I plug the s5 into my pc and pull down the notification bar ...it doesnt even show usb connected.
I cant find any usb options other than usb debugging.
I just went through all this same crap with a galaxy mega a buddy had.
I just dont get why there is no "usb connected as" notification and why this is so complicated to connect to pc when my note connects fine
Bad cable? Maybe Bad Drivers? Where did you download them from? Windows is going to try to recognize it as a media device. Ill give you a couple tips
Just because the "popup window" doesnt popup, you probably just have auto play set to recognize it a certain way.
Just copy and paste this into your explorer window:
%windir%\system32\control.exe /name Microsoft.AutoPlay
and then reset it for your phone.
Also.
1. Make sure the cable is actually connecting, like charging the phone, consistantly, not on and off. If it is, then you know thats good, if not, switch the usb drive you have the cable plugged into. USB Ports actually on the motherboard are the ones Ive always had luck with never disconnecting.
2. If you want to root your phone, and you want the adb drivers, Windows wont find those for you.
Thanks for the reply.
I downloaded the drivers straight from the windows usb driver dowload page for my phone from samsung.
Ive uninstalled reboot,installed rebooted.
Ive set usb debugging off/on.
Tried dialling *#0808# which ive read is the code to enable usb but it doest work it just calls the #.
Tried all my moyherboard usb ports
Tried different cable
The original cable charges fine.
This sg5 NEVER has a usb icon when connected to usb... i find that odd.
A samsung mega a buddy had which was also previously hooked up at the same wireless shop that this s5 was..... also has the same exact issue.... no usb icon and not recognised as media by windows and no way to change usb settings.
Its like that wireless shop disabled usb on there phones for some reason.
I had the phone 2 weeks and cant do anything with it untill I can root it.
My note 2 works fine , i get usb icon in notification area,i can switch to media device from there.
On the sg5 theres no usb icon even though it connects fine to the pc as installer
Sent from my SCH-I605 using Tapatalk
Maybe Im misunderstanding you, but when I have my phone plugged into my pc there is no usb icon, its just connected as a media device and shows its charging. Both screenshots are of my phone while its plugged into my computer
When you plug it into your computer can you access the files on the phone through your windows explorer, like in the first screenshot?
Thanks for replying and the screenshots.
When my phone is plugged into the computer it shows the charging status but no "connected as media device" it doesnt show a connected as anything so nothing to touch for options.
The phone does not show up under windows explorer in my computer.
Ive been using galaxy phones since the original galaxy and never had issues like this.
I just dont get it
I'm similar issues...my phone will just time out in the middle of transfers or won't see the phone at all
Both of your issues sound like driver issues. Heres the link from Samsung for Windows for the S5
http://www.samsung.com/us/support/owners/product/SM-G900PZKASPR
To make this issue stranger....
My neighbor came over to borrow juice for her ecig. I noticed she has an s5.
I ask if i can connect it to my computer and as soon as I plug it in with my s5 cable...bam ...connected as media device , touch for usb options.
And my computer brought up the screen to view files.
So i now know its not my pc,drivers, or cables.
I did however notice when I plugged my s5 in.... in the notification area where it would say touch for usb options.
It says "system update"
But i have no sim or service on the phone so it doesnt update.
Could the system update be needed for the usb to work?
How would i even update system ?its nolonger on sprint. I wouldnt want any more over the air updates anyway as im wanted to root so i can save a straight talk apn and probablly flash a custom rom
Yea... this is nuts.
This sprint s5 i got looks and performs like a brand new phone.
But cannot for the life of me get "connected as ......" to show when a usb is plugged in. When i search settings for "pc connection" , "media" , mtp" , usb" etc.....
Theres nothing I can find to enable how to connect when usb is connected.
I dont even know who or where to ask anymore.
Bought this phone weeks ago and cant do anything with it.
My neighbors s5 connects to my pc no problems. So does my note 2.
I just dont know anymore what else to do
i dont see where not having a sim would matter. does the usb port on your phone seem loose or anything? do you have access to another pc to try connecting to that?
ultimately you can get around most things that require needing a usb connection. theres even a wireless adb.
i doubt this will work either, but have you tried seeing if odin will recognize the phone in download mode? (power off the phone and press the power+home+volume down buttons)
also what version of android is on the phone now? if its still on 4.4.2 or 4.4.4 then you might want to look into towelroot, but i think i remember reading thats not working with 5.0
as for rooting, you could try looking for a flashable update.zip , put it on a external sd card, put that in your phone and boot into recovery (power off the phone and press the power+home+volume up buttons) and flash it, then find a custom recovery like clockworkmod or philz touch or something
all in all im 99% sure theres a way to root the phone without having to do anything on a pc, its just a matter of finding a way to do it, and the before choosing a method to tell you to try, i need to know the android version. also im just assuming the model number is SM-G900P, is that right?
Go into your settings and tell me the
Software Version
Model Number
Android Version
and the Baseband Version
once factory reset...usb works fine.
Im now rooted and flashed MOAR
thanks for all who tried to help
Glad you got it figured out

Categories

Resources