Question How can I enable charging while using usb otg / host mode?

Search This thread

WoKoschekk

Senior Member
Feb 25, 2019
1,575
1
488
Cologne
Moto G6
Moto G6 Plus
Anyone know of a solution or maybe a custom rom that has this feature support?
Technically it does not make any sense. your device switches to host mode when you plug in an usb stick or sth else. such devices won't deliver any power to your device. but on the contrary such devices need a power source or won't do anything. if your device don't deliver power to a USB stick you won't be able to read/write any data of/to it.
 

TimmyP

Senior Member
Mar 5, 2008
532
100
Technically it does not make any sense. your device switches to host mode when you plug in an usb stick or sth else. such devices won't deliver any power to your device. but on the contrary such devices need a power source or won't do anything. if your device don't deliver power to a USB stick you won't be able to read/write any data of/to it.

That doesn't make any sense. So no power in USB host? What about the hundreds of devices that do it, like a cheap fire tv? Many devices would be rendered useless without this ability.

Reason phones dont have the feature is due to having a battery afaik.
 

WoKoschekk

Senior Member
Feb 25, 2019
1,575
1
488
Cologne
Moto G6
Moto G6 Plus
That doesn't make any sense. So no power in USB host? What about the hundreds of devices that do it, like a cheap fire tv? Many devices would be rendered useless without this ability.

Reason phones dont have the feature is due to having a battery afaik.
You know what host mode means? Your phone enters the host mode when plugging in an USB stick or sth else that gets connected by an OTG adapter. Should the USB stick charge my phone??

If you connect two phones then the used cable/the order they get connected will decide which one enters the host mode and powers the other device.
 

TimmyP

Senior Member
Mar 5, 2008
532
100
You know what host mode means? Your phone enters the host mode when plugging in an USB stick or sth else that gets connected by an OTG adapter. Should the USB stick charge my phone??

If you connect two phones then the used cable/the order they get connected will decide which one enters the host mode and powers the other device.
Do you know what a charging OTG cable is? USB stick and charging... What are you talking about?
 

shadabkiani

Senior Member
Mar 2, 2018
488
192
Pakistan
HTC 10
OnePlus 9
Using OTG and charging can work simutaneously, technically... But generally devices don't support that... When you connect OTG, phone goes to host mode and provides power to external device... When a charger is connected, it goes to client mode and can receive power... There are hubs out there that have USB ports, as well as charging port that claim to charge your phone while using devices connected... But they don't work on all devices... I had a tablet long time ago, and it did not support that... It would either charge, or go to OTG mode, but not both....But some folks with different tablets claimed to have that hub working both as OTG as well as charger simultaneously... As far as tablets are concerned, my guess is that this feature could be available more frequently since the need to use keyboard/mouse/other external devices is more for tablets than it is for cellphones... So I think it would not be possible with OnePlus 9's kernel...