Nexus 5 Host Mode Charging - Nexus 5 Q&A, Help & Troubleshooting

Does the Nexus 5 support host mode and charging, simultaneously? Does it need a kernel patch? Is the patch available yet?
Thanks.

Haven't seen any kernels with this here
Sent from my Nexus 5 using Tapatalk

saleemrashid1 said:
Does the Nexus 5 support host mode and charging, simultaneously? Does it need a kernel patch? Is the patch available yet?
Thanks.
Click to expand...
Click to collapse
I'm running franco kernel 3.4.88-franco.Kernel r54. I received my OTG+Charging cable just the other day and it worked without any additional changes. However host charging seems to be a bit slower than just a direct charging (with my cable, the device doesn't seem to go into AC charging mode).

GabrialDestruir said:
I'm running franco kernel 3.4.88-franco.Kernel r54. I received my OTG+Charging cable just the other day and it worked without any additional changes. However host charging seems to be a bit slower than just a direct charging (with my cable, the device doesn't seem to go into AC charging mode).
Click to expand...
Click to collapse
Turn on fast charge. You need a kernel tweaker app like Trickster Mod.
#AndroidL

Just enabled it in the franco app, will let my phone discharge some and see if that does the trick
Edit: This doesn't seem to have helped any. Half the time the phone doesn't even seem to recognize the charge from the OTG Y cable, or the charge voltage through the cable is only enough to mitigate some of the discharge. The cable only seems to be able to give about 400mA when it does want to charge. I think the cable is bad.

Is this possible with ElementalX kernel?

Related

[Q] OTG and Charging

I recently got a Nexus 5 to replace my old Nexus S and really like it. I am having one challenge that I was hoping for help on:
I have got OTG working with stickmount fine, but I am trying to use this Y-cable to charge while using it and I can't get the phone to charge from the cable at all (with or without a USB drive connected). I have been able to get other, non-Nexus's to charge from the cable so it isn't the cable that is the problem.
I am rooted but running a stock kernel and rom - any ideas why it might not be working or if there is a custom kernel that has enabled the capability otherwise disabled in the phone?
Probably you need a modified Kernel like Nexus 7
avalpert said:
I recently got a Nexus 5 to replace my old Nexus S and really like it. I am having one challenge that I was hoping for help on:
I have got OTG working with stickmount fine, but I am trying to use this Y-cable to charge while using it and I can't get the phone to charge from the cable at all (with or without a USB drive connected). I have been able to get other, non-Nexus's to charge from the cable so it isn't the cable that is the problem.
I am rooted but running a stock kernel and rom - any ideas why it might not be working or if there is a custom kernel that has enabled the capability otherwise disabled in the phone?
Click to expand...
Click to collapse
You need a modified Kernel something like the following Kernel. But at the moment it is only available for Nexus 7.
http://mehrvarz.github.io/usb-host-mode-power-management-nexus7/
I'm interested in this too
wicpp said:
You need a modified Kernel something like the following Kernel. But at the moment it is only available for Nexus 7.
http://mehrvarz.github.io/usb-host-mode-power-management-nexus7/
Click to expand...
Click to collapse
I had OTG charging on my Galaxy Nexus as well as the N7. I just tried it too on my N5 with Elemental X kernel, no go. That's odd no one has come out with this feature yet if that's the case as I'm sure it's very sought after especially with people who have the 16gb model like myself that hook up to external hard drives to save space on the phone but they need external power.
Otg + Charging is also very useful when you are playing games using GamePad
t1.8matt said:
I had OTG charging on my Galaxy Nexus as well as the N7. I just tried it too on my N5 with Elemental X kernel, no go. That's odd no one has come out with this feature yet if that's the case as I'm sure it's very sought after especially with people who have the 16gb model like myself that hook up to external hard drives to save space on the phone but they need external power.
Click to expand...
Click to collapse
If you are using a USB Connection Game Pad via OTG, graphics heavy games use too much battery and usually you can not play for long. This also increases the importance of such kernel for Nexus 5 as well. Nexus 5 have smaller battery but it can play decent Graphics.
I do not like Game Pads with Bluetooth connectivity as they have control latency or lag and your moves are not as quick as even the touch screen, where as you use Game Pads to improve your control moves and probably make them better than touch screen.
wicpp said:
If you are using a USB Connection Game Pad via OTG, graphics heavy games use too much battery and usually you can not play for long. This also increases the importance of such kernel for Nexus 5 as well. Nexus 5 have smaller battery but it can play decent Graphics.
I do not like Game Pads with Bluetooth connectivity as they have control latency or lag and your moves are not as quick as even the touch screen, where as you use Game Pads to improve your control moves and probably make them better than touch screen.
Click to expand...
Click to collapse
The PS sixaxis controller worked great on my N7 for a while, no lag in gameplay. Until Asus had to fix it then I could never get it to work properly again.
I think Nexus 5 USB Port is 5 Pin
t1.8matt said:
The PS sixaxis controller worked great on my N7 for a while, no lag in gameplay. Until Asus had to fix it then I could never get it to work properly again.
Click to expand...
Click to collapse
I think that Nexus 5 USB Port is 5 Pin and not 11 pin like Galaxy S4 or Galaxy S3. Can someone please confirm this?
If this is the case will be still be able to Charger Phone and do OTG concurrently or simultaneously ?
Yes but I believe it's something that has to be addressed at the kernel level.
I use a powered USB hub and even though the phone doesn't show any charging animations, going into the battery info screen shows it is charging (though it doesn't say usb or ac, just charging)
from what I have seen it's even less than trickle charge.
USB flash drive mounted.
Screen off
Battery goes up about 1% every 10-15 minutes.
So clearly current is being passed from the hub to the phone. Just not a lot
Sent from my Nexus 5 using xda app-developers app
Can we use QI Wireless Charging along OTG
Alex240188 said:
Yes but I believe it's something that has to be addressed at the kernel level.
I use a powered USB hub and even though the phone doesn't show any charging animations, going into the battery info screen shows it is charging (though it doesn't say usb or ac, just charging)
from what I have seen it's even less than trickle charge.
USB flash drive mounted.
Screen off
Battery goes up about 1% every 10-15 minutes.
So clearly current is being passed from the hub to the phone. Just not a lot
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
I am not sure but can we use QI Wireless charging along OTG. I have read somewhere that it charges but there is a bug in Kernel due to which it does not know that battery is being charged there is no animation or text to show that battery is being charged. Another concern is that if OS does not know about charging and battery is being charged is it not dangerous can it not overcharge and below the battery etc.?
Alex240188 said:
Battery goes up about 1% every 10-15 minutes.
Click to expand...
Click to collapse
I use exactly the same Y-cable from amazon as avalpert. I connect my USB 2.5" harddisk first at the Nexus charger and let it spin up. Then i connect the OTG cable to my Nexus 5 (rooted stock ROM & stock kernel). The battery icon in the status bar has no charging animation but in settings it says its charging. Around 1% in 5-10min. Even if the screen is on.
@ avalpert: U could check the current of your usb drive in the manufacturer's datasheet and subtract this from the current, your charger is able to provide. My Nexus 5 charger can output max. 1.2A at 5V. Maybe you're using another model and there is just little current left to charge as Alex remarked.
But the difference is I was only powering a flash drive which uses next to no power. And still only 1% every 10-15 minutes.
My best guess is that because otg is enabled. The kernel is not able to tell what type of charging type (ac or USB) is connected so it just enables trickle charge as not to cause any problems
Sent from my Nexus 5 using xda app-developers app
Alex240188 said:
Yes but I believe it's something that has to be addressed at the kernel level.
I use a powered USB hub and even though the phone doesn't show any charging animations, going into the battery info screen shows it is charging (though it doesn't say usb or ac, just charging)
from what I have seen it's even less than trickle charge.
USB flash drive mounted.
Screen off
Battery goes up about 1% every 10-15 minutes.
So clearly current is being passed from the hub to the phone. Just not a lot
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
I can confirm this, I use a powered 7 port USB 2.0 hub, and with the original PS: no charging.
Now I took another PS that puts out 2.14-1.7A @ 6-7.5 VDC, and hey presto, charging the phone!
No indicator in the status bar (top screen), but when checking the battery status it clearly states "CHARGING" (see picture OPLADEN 95%)!!
And it charges pretty fast too.....
The mouse is working, as wel as the USB stick is recognized and working!!
The ONLY worry is about the charge....... is 6-7.5 V a battery killer? :fingers-crossed:
Anyone?
Used Voltage and Current Rating details of Power Supply?
dirkzelf said:
I can confirm this, I use a powered 7 port USB 2.0 hub, and with the original PS: no charging.
Now I took another PS that puts out 2.14-1.7A @ 6-7.5 VDC, and hey presto, charging the phone!
No indicator in the status bar (top screen), but when checking the battery status it clearly states "CHARGING" (see picture OPLADEN 95%)!!
And it charges pretty fast too.....
The mouse is working, as wel as the USB stick is recognized and working!!
The ONLY worry is about the charge....... is 6-7.5 V a battery killer? :fingers-crossed:
Anyone?
Click to expand...
Click to collapse
Can you please show the power supply that you are using in the picture? What is the exact voltage you are using 6V or 75.V? And exact current 21.4A or 1.7A?
wicpp said:
Can you please show the power supply that you are using in the picture? What is the exact voltage you are using 6V or 75.V? And exact current 21.4A or 1.7A?
Click to expand...
Click to collapse
I found the rating strange myself as wel, but it is exactly as I mentioned, but since I didn't trust it up ahead, I just went to my basement to see if I had something better, and I found a 5V 2A.
That should be OK, right?
Can you tell the result of using 5V 2A Power Supply.
dirkzelf said:
I found the rating strange myself as wel, but it is exactly as I mentioned, but since I didn't trust it up ahead, I just went to my basement to see if I had something better, and I found a 5V 2A.
That should be OK, right?
Click to expand...
Click to collapse
Yes 5V 2A seems write but I still can not give you any guarantee it might blow your device so do it at your own risk
If you can do this, then please tell how the charging speed is going along OTG use on 5V 2A?
wicpp said:
Yes 5V 2A seems write but I still can not give you any guarantee it might blow your device so do it at your own risk
If you can do this, then please tell how the charging speed is going along OTG use on 5V 2A?
Click to expand...
Click to collapse
Here are the pictures of the PS specs. Hope it clears your question? Pls let me know.
it may be interesting to read this forum / info on 2A charging of the nexus 5...... :
http://forums.androidcentral.com/google-nexus-5/331746-2a-charger-nexus-5-a.html
wicpp said:
Yes 5V 2A seems write but I still can not give you any guarantee it might blow your device so do it at your own risk
If you can do this, then please tell how the charging speed is going along OTG use on 5V 2A?
Click to expand...
Click to collapse
Alright, from 84% tot 97% in 90 minutes.....
That is connected with micro usb otg cable to powered (5vdc 2a) USB hub and with the screen on.
Sent from my Nexus 5 using xda app-developers app
May be we can use fix Voltage and AMP output adapter
dirkzelf said:
Alright, from 84% tot 97% in 90 minutes.....
That is connected with micro usb otg cable to powered (5vdc 2a) USB hub and with the screen on.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
May be we can use fixed output voltage and amp adapter just like the following
http://www.amazon.co.uk/2000mah-Ada...ds=5V+2A+2000ma+AC+Power+Adapter+Wall+Charger
I know it is up to the device (Nexus 5) that how much load it will put on the adapter to consumer out of 2000ma or 2A. On the other hand I have read somewhere that even most 2000mA USB Chargers just give 500mA in the beginning and due to some data pins activity they start generating 2000mA. If this is the case then Nexus 5 will force only 500mA or so from the charger that it is not compatible with. If we use some adapter that generates constant 5V 2000mA irrelevant of communication on data pins like the ones with 3.5mm pin which does not have any data pins, at least we are guaranteed that, at least full power is coming out of the adapter at all times.
wicpp said:
May be we can use fixed voltage and amp adapter just like the following
http://www.amazon.co.uk/2000mah-Ada...ds=5V+2A+2000ma+AC+Power+Adapter+Wall+Charger
I know it is up to the device (Nexus 5) that how much load it will put on the adapter to consumer out of 2000ma or 2A. On the other hand I have read somewhere that even most 2000mA USB Chargers just give 500mA in the beginning and due to some data pins activity they start generating 2000mA. If this is the case then Nexus 5 will force only 500mA or so from the charger that it is not compatible with. If we use some adapter that generates constant 5V 2000mA irrelevant of communication on data pins like the ones with 3.5mm pin which does not have any data pins at least we are guaranteed that at least full power is coming out of the adapter at all times.
Click to expand...
Click to collapse
I am given to understand that it has nothing to do with the "intelligence" of the charger, but with basic electrical principles.
That would imlpicate that if a device requires 500 mA, the charger will supply 500 mA, if the device would require 3000mA, then it would supply 2000 mA, being it's maximum current (flow).
As far as I know, a powersource ONLY generates a flow (Amps) up to it's maximum limit, if it is connected to a consumer (device). No connected device / consumer leaves no flow to be generated.
Please correct me if I'm wrong.
Added to my little test earlier today: The phone didn't get hot, at most it would be slightly less cool..... for the PS the same.

[Q] 2.1A Charger only charging at USB Speeds

So i've got this charging pack (http://www.kogan.com/au/buy/universal-11000mah-power-bank/) It has a 2.1A port and a 1A port. Both my Nexus 4 and Nexus 7 (2013) charge at AC speeds but my Necus 5 does not. Anyone have any idea why? I've tried multiple cables, none of which make any difference.
Bobtehblob said:
So i've got this charging pack (http://www.kogan.com/au/buy/universal-11000mah-power-bank/) It has a 2.1A port and a 1A port. Both my Nexus 4 and Nexus 7 (2013) charge at AC speeds but my Necus 5 does not. Anyone have any idea why? I've tried multiple cables, none of which make any difference.
Click to expand...
Click to collapse
there are kernels that enable fast charge via USB, but still say they're being charged up via USB. i would do some timed tests to see if it's charging the same with the power bank as it does with the ac outlet
the nexus 5 is limited to 1.5A on charging though, so i wouldn't except you to get the full 2.1, even if charging properly
Enddo said:
there are kernels that enable fast charge via USB, but still say they're being charged up via USB. i would do some timed tests to see if it's charging the same with the power bank as it does with the ac outlet
the nexus 5 is limited to 1.5A on charging though, so i wouldn't except you to get the full 2.1, even if charging properly
Click to expand...
Click to collapse
Yeah, i'm running Franco Kernel but enabling fast charge seems to have no effect. My understanding was that the phone will take the max charge that it's safely able to do so, in this case 1.5A
Bobtehblob said:
Yeah, i'm running Franco Kernel but enabling fast charge seems to have no effect. My understanding was that the phone will take the max charge that it's safely able to do so, in this case 1.5A
Click to expand...
Click to collapse
when you say it 'seems to have no effect' are you saying the charging indicator still says USB or that you've done charge speed tests and it makes no difference?

[Q] Phone charging extremely slow...

Hello!
Recently, my phone has been charging very slowly. When I first got my phone, it went from zero to 100% in ~2.5 hours, but now it takes about 5 hours to fully charge. I am currently using the stock charger and USB cable that came with the phone, and I have tried other cables and chargers to ensure that it wasn't my charger's fault (or my USB cable). I also tried flashing the stock rom and kernel, but the problem was persistent. Could it be a defective battery that is causing this problem?
My current settings:
Mahdi Rom 4.4.3 6/12
Stock kernel settings (no UV, OC)
No partial wakelock problem
Thanks!
Install CurrentWidget: https://play.google.com/store/apps/details?id=com.manor.currentwidget
Take a look at the charging levels.. While charging via a wall charger it should be between 800-1050 mA.. If it's below that, it's most probably a low standard usb cable or a charger.. Try changing the cable first and check the current.
I'm getting around 600mA so that's not good.. I'll try another charger and see what goes. Thanks!
Sent from my Nexus 5 using Tapatalk 2
vin4yak said:
Install CurrentWidget: https://play.google.com/store/apps/details?id=com.manor.currentwidget
Take a look at the charging levels.. While charging via a wall charger it should be between 800-1050 mA.. If it's below that, it's most probably a low standard usb cable or a charger.. Try changing the cable first and check the current.
Click to expand...
Click to collapse
FYI, I am currently using the stock charger and cable that came with the phone and still getting low mA. I just tried different cables and chargers and the result comes out the same. What else can I do?
Sent from my Nexus 5 using Tapatalk 2
amgpower63 said:
FYI, I am currently using the stock charger and cable that came with the phone and still getting low mA. I just tried different cables and chargers and the result comes out the same. What else can I do?
Sent from my Nexus 5 using Tapatalk 2
Click to expand...
Click to collapse
Aah.. That's not good. In the OP I see that you have already tried going back to stock and checking the results?
May be you could try a different wall socket in your home? You could also try charging via a computer and see whether it's getting charged properly? (Fast charge needs to be enabled for this)
amgpower63 said:
FYI, I am currently using the stock charger and cable that came with the phone and still getting low mA. I just tried different cables and chargers and the result comes out the same. What else can I do?
Sent from my Nexus 5 using Tapatalk 2
Click to expand...
Click to collapse
i charge slow on the stock charger/cable as well. i ended up buying a 5amp charger with two usb holes and a better usb cable, now i charge from 0 to 100 in about an hour and a half.
Thanks for your help, guys! Turns out most of the cables I own are faulty/below standard. I found a cable later that charged my phone at around 800mA. I guess I'll do some cable shopping later
simms22 said:
i charge slow on the stock charger/cable as well. i ended up buying a 5amp charger with two usb holes and a better usb cable, now i charge from 0 to 100 in about an hour and a half.
Click to expand...
Click to collapse
Could it be something to do with custom ROM settings? Stock charger and cable should be able to pull 800-1000mA from a power outlet, I can't understand why some devices wouldn't be able to do so.
bblzd said:
Could it be something to do with custom ROM settings? Stock charger and cable should be able to pull 800-1000mA from a power outlet, I can't understand why some devices wouldn't be able to do so.
Click to expand...
Click to collapse
No. The only thing that would influence charge speeds is USB fast charge (charges faster on USB, AC still the same) and that's a kernel level feature.
Sent from my Nexus 5
Lethargy said:
No. The only thing that would influence charge speeds is USB fast charge (charges faster on USB, AC still the same) and that's a kernel level feature.
Sent from my Nexus 5
Click to expand...
Click to collapse
Something that was overlooked was temperature. IIRC at higher temperatures the phone either stops charging or slows down charging in order to keep the heat down. This was done to preserve the life of the battery as charging batteries while they're hot could degrade the battery.
bblzd said:
Could it be something to do with custom ROM settings? Stock charger and cable should be able to pull 800-1000mA from a power outlet, I can't understand why some devices wouldn't be able to do so.
Click to expand...
Click to collapse
no. ive found in the past(with the n4), the default cable/charger also went bad quick, ended up using a nexus 7 charger/cable on it.

Battery charging

How much time will it take for the battery to charge from 0% to 100%? With and without enabling fast charge..? My nexus 5 seems to have charging problem. From past few days its taking long times to charge the battery from 0% to 100%. Its takes around 200mins to completely charge battery. I tried enabling fast charge too but still no effect.
Currently using
Mahdi ROM
Code blue kernel
Multirom
And also with fast charge enabled the USB mass storage wouldn't work. But I am able to use USB mass storage with fast charge enabled. So this means fast charge is not working but in kernel settings it shows that fast charge is enabled. I used elementalx kernel too but same result
Can anyone have solution to this.
AC: 1-2 hours
Wireless: 1.5-3 hours
USB: You're wasting your time
It also depends on not only the charger but the cable. I've had bad quality cables that only allowed 384ma through them to charge
Sent from my Android L Nexus 5 via Tapatalk
I am using the cable that came with the box. Stock cable.
Use this and see what input rate u get -
https://play.google.com/store/apps/details?id=com.manor.currentwidget
Sent from my Android L Nexus 5 via Tapatalk
Ben36 said:
Use this and see what input rate u get -
https://play.google.com/store/apps/details?id=com.manor.currentwidget
Sent from my Android L Nexus 5 via Tapatalk
Click to expand...
Click to collapse
While connected to PC and fast charge enable it shows around 100 to 200mA. And when connected to charger and fast charge enabled it shows around 200 to 300mA. I tried with fast charge disabled but same results.
Why is this happening. The fast charge feature was working well before.. But now it doesn't. Anyone else having this problem? Please help
Suhaas said:
While connected to PC and fast charge enable it shows around 100 to 200mA. And when connected to charger and fast charge enabled it shows around 200 to 300mA. I tried with fast charge disabled but same results.
Why is this happening. The fast charge feature was working well before.. But now it doesn't. Anyone else having this problem? Please help
Click to expand...
Click to collapse
Charging from a computer via USB is ALWAYS going to be slow. Use a wall adapter (AC) or Wireless charger.
Using a wall adapter is not always faster. You want to look for a high "mah" output adapter. The one that came with my nexus was 2A (2000mah). A 300-700mah adapter will take 3-7x longer to charge. Test using different adapters and different cables.
Darkrift said:
Using a wall adapter is not always faster. You want to look for a high "mah" output adapter. The one that came with my nexus was 2A (2000mah). A 300-700mah adapter will take 3-7x longer to charge. Test using different adapters and different cables.
Click to expand...
Click to collapse
The charger that came with my nexus is not good it only output some 400mah. So any suggestion about the charger which is good and all where I can get.
And what to do to solve this fast charge feature not working in my mobile? The kernel supports fast charge but its not workign
Ben36 said:
Use this and see what input rate u get -
https://play.google.com/store/apps/details?id=com.manor.currentwidget
Sent from my Android L Nexus 5 via Tapatalk
Click to expand...
Click to collapse
I haven't found this accurate since my HTC desire days, gingerbread. To me it seems like the display is throughput rather than input.
Sent from my Nexus 5 using Tapatalk
It's not highly accurate but you should be seeing more than 200 mA - 300 mA regardless
Sent from my Android L Nexus 5 via Tapatalk
Ben36 said:
It's not highly accurate but you should be seeing more than 200 mA - 300 mA regardless
Sent from my Android L Nexus 5 via Tapatalk
Click to expand...
Click to collapse
Depends what the phone is doing. If its using 600mA and charging at 800mA, you could quite easily read 200mA
Sent from my Nexus 5 using Tapatalk
True. Maybe I shoulda stated. Boot the phone up from off, let it finish boot before looking as it should technically be just idling then. I've seen charge rates of 1.2A from my in car charger which is rated @ 1.5A
Sent from my Android L Nexus 5 via Tapatalk

Need urgent help..

I am longer able to charge my phone properly using a wall charger... It only takes 100ma current when plugged to an Ac source..
It charges properly when connected to a USB port..
I was running on cm 12 + Boeffla kernel when I first had this problem..
Tried wipe/data cache and now flashed stock 4.3.
Still no use it takes around 1 hours to get 2% charge on Ac.
Ps. Battery is working properly got about 1 day backup. ​Anyone please help me with this asap
Charger defect? Cable defect?
Usb Plug dirty or dusty?
Tried another wall charger?
Andi
Tried 3 different chargers but no hope
But I've found a temporary solution by enabling ignore unstable power and safety margin in Boeffla kernel config app.
It seems to be working... Thanks to Boeffla kernel for saving my phone.

Categories

Resources