[Q] Using your Android phone to power something - Android Software/Hacking General [Developers Only]

Hello all!!!!
i was recently wondering about if it was possible to plug something into the micro USB port on my HTC EVO 4G and have the phone battery power the device i plugged into it. I keep referring to this as reverse power.
does anybody know if this is possible????
any help would be greatly appreciated
thanks!!!!!!!

great question, i have wondered this myself, and i have no clue how.... anybody think they can help us???

It is not possible for your device to distribute power to another device through the micro usb input. As it serves as an input, and not an output for power.

can't he write an app which will put a logical 1 in a pin of the micro usb port?

alexzer0 said:
can't he write an app which will put a logical 1 in a pin of the micro usb port?
Click to expand...
Click to collapse
Say what????
Sent from my PC36100 using XDA App

I really wonder if that would be possible to use the phone as a powercharger. Maybe it's not just a software but a technical limitation?

the idea was to put a 5 Volts potential between 2 data pin of the micro usb port in order to power your accesory. But it seems that the Android sdk isn't enougth low level to send binary data in the micro usb port directly.
May be with the Android sdk 3.0 and Android Open Accesory Development or with the NDK.
And so sorry for my english, i'm trying to improve my skill.

alexzer0 said:
the idea was to put a 5 Volts potential between 2 data pin of the micro usb port in order to power your accesory. But it seems that the Android sdk isn't enougth low level to send binary data in the micro usb port directly.
May be with the Android sdk 3.0 and Android Open Accesory Development or with the NDK.
And so sorry for my english, i'm trying to improve my skill.
Click to expand...
Click to collapse
that actually sounds possible!!!!!!!!!!!! any more ideas guys?

yeah i think this idea is really interesting.. but i don't think that the processor of the smartphone works with 5V, because the battery has only 3.7V so i think they work with 3.3V. but i don't know the processors.
sorry for my english ;-)
peace
redwall

hummm
ok so i don't think it can be possible actually.
the micro usb port had to give 5v to the computeur for the comunication (because 5v is the logical 1) but he should use the power of the vcc pin.
if someone can confirm.

Related

Cable OTG

Hello guys, I'm interested in one thing...it is possible connection of external memory (Pendrive) using a cable ? (photo below)
Is any software to operate this ?
I don't think it would be possible as the memory in the pen drive needs voltage for it to work, can't remember if it's 3.3 or 5 volts but I doubt galaxy could power it or read from it.
Sent from my GT-I9000 using XDA App
but in nokia n8 this is possible and this phone has the same cable as the picture.
I'm thinking that is needed a suitable program to control this USB...
Nokia has a powered USB port which supplies the connected device with sufficent current in order to read/write to it.
I don't think the Galaxy has ability to output power through it's USB port so with just software I doubt you could achieve it. You would likely need suitable software and also an external power of some sort like a USB hub.
Some people have been trying to achieve this on the Nexus One, but also requires an external powered hub:
http://mobilelocalsocial.com/2010/achievement-unlocked-usb-host-otg-for-android-on-nexus-one-hacked/

[Q] Full power charge from USB

Hi guys - anyone know of a way without modifying a usb cable to make the desire draw full power from a USB socket, 1A instead of 500mA?
Cheers
Kev
No because the phone detects that its connected to a USB port because the 2 data pins are not shorted out ... u have to mod the wire. But then u wont be able to us the wire to connect the phone to ur pc
Sent from my HTC Desire using XDA App
Excist a tut for this modification?
Sent from my HTC Desire using XDA Premium App
simpson1991 said:
Excist a tut for this modification?
Click to expand...
Click to collapse
I seriously suggest that if you want a tutorial for shorting two lines of a USB cable then you shouldn't be attempting it at all.
Some motherboards can improve usb power up to 3x, but I don't know if it works with HTC Phones, I know that it works with Apple
drakexpl said:
Some motherboards can improve usb power up to 3x, but I don't know if it works with HTC Phones, I know that it works with Apple
Click to expand...
Click to collapse
True, my ASUS mobo supports it with iphone and ipad but not with iPod classic that i have though, weird.
nope, im fully aware how to short the data lines to get the 1A charge rate, but im sure there must be a Kernel mod that can enable this?
Prynhawn da, KevAmiga
Kernel mod for what?
The specification for USB is 500mA per port, some PC motherboards are able to provide more, but not so many. I mean the limitation is the PC side.
If you want more current, you need to bridge ports.
Regards
Some very new laptops like the recent Thinkpads privide an option where you can "convert" a USB port (the yellow painted one) to an always-on 1A USB port. I'm pretty sure it charges my Desire as fast as the standard AC adapter. On my older desktop pc though, there's no chance of enabling that, even though the MoBo does have USB3. It just takes ages..
I am also looking for a tut please. ^^
it takes ages to charge via laptop and sometimes I have no other options
Chromatic said:
Prynhawn da, KevAmiga
Kernel mod for what?
The specification for USB is 500mA per port, some PC motherboards are able to provide more, but not so many. I mean the limitation is the PC side.
If you want more current, you need to bridge ports.
Regards
Click to expand...
Click to collapse
Kernel mod is available. It charges full power from a usb 2.0. Gingercakes kernel. Desire development section.
USB cables have four wires. Two for data and two for power.
If you want to modify a cable so that the phone will try to draw full power, you just need to short out the two data lines. From this, the device will think it's attached to an AC source.
In most USB cables, the data lines are the green and blue/white ones. The red and black are power.

[Q] Charging Error!

Dear all,
I tried to charge my Transformer with USB extension, and they are not working as i thought. reason i extend the USB extension due to the OE usb charger are short... as i back to normal connection, it works. i am suspecting voltage drop along it. any great answer from community are highly appriciate
thx in advance
Naz
Malaysia
make sure your usb extension is usb 3.0 compatible. The transformer uses the extra pins for extra power.
AustinMartin said:
make sure your usb extension is usb 3.0 compatible. The transformer uses the extra pins for extra power.
Click to expand...
Click to collapse
Dear Austin Martin,
Thank you very much for the answer. ill get the cable later and update.
regards,

[Completed] [Q] USB OTG Solution - Question

Hello guys
First of all I will excuse me for my bad English.
I've a question about the use of the USB OTG system. I'd like to use a general 3xUSB (female) to MicroUSB (male) cable in this way: 1 numpad/key arrows, 1 mouse and 1 port for charging the Android phone itself at a power point. Is this possible with the general cables in the stores? So not, does it exists and where must I pay attention(I don't really mean the OTG Y cables, because I can't find one with 2 USB (female) ports and I don't know where the energy gain from the Micro USB (female) port and charger is good for (Recharging phone or powering the USB port)
The reason I'll ask this is becuz I like to play Oldschool Runescape play easier on my mobile phone with XDSL Wheezy than I do now. I hope the mouse and numpad/key artows work already with it.
Greetings Delelith and thanks in advance!
Hi there,
Please give us more details about your device/firmware.
Thanks

Who needs USB C...

Okay, since this part of the Note 8.0 section is dead, I decided to revive it a bit on an USB cable I upgraded to. It combines the versatility of Apple's megnetic power connector and USB C plug reversal capabilities. So plugging in you USB cable is much easier and does not degrade your USB connector over time. It is the most awsome accessory I ever bought for a device, and has 2.0 Amp charge current capabilities to boot!
Now for the built in bonus item... it has a charge LED to let you know it is either charging or not. No need to wake the device to see if the device is charged. As you all know Note 8.0 devices have no charge LED indecators.
Now the big big big bonus... the cable is cheap and has free shipping. It cost me $6.00 US and came from China via Amazon. There are a few similar devices on Amazon so look for the silver version not the white or what ever.
how can you upgrade USB 2 to USB C?
Did you hacked the hardware physically?
Crescendo Xenomorph said:
how can you upgrade USB 2 to USB C?
Did you hacked the hardware physically?
Click to expand...
Click to collapse
The cable does everything I have stated. Has reversable connection for both charging and data. The head has circuitry to properly connect the pins without any fuss. The only thing it will not do is high speed usb 3.0 or better. Wish this was a stock option it would have saved me tons of money with oem and high quality replacement cables krapping out on me.
Sorry, I really don't understand....
Could you please post a photo of the cable?
Thank you....
Crescendo Xenomorph said:
how can you upgrade USB 2 to USB C?
Did you hacked the hardware physically?
Click to expand...
Click to collapse
Crescendo Xenomorph said:
Sorry, I really don't understand....
Could you please post a photo of the cable?
Thank you....
Click to expand...
Click to collapse
This is what I purchased...
http://www.amazon.com/Magnetic-Micro-Charge-Charging-Samsung/dp/B017N71HV8/ref=sr_1_82?ie=UTF8&qid=1454596335&sr=8-82&keywords=Magnetic++usb+cable
ah, its an adapter so it can use MagSafe-like charger....
its not real USB-C.... but nice one, I could use it for my Note 8.0

Categories

Resources