[KERNEL PATCH - Devs only] Force AC (fast) charging - Samsung Galaxy Nexus

This is for kernel devs only. The patch is useless to those who do not/can not compile their own kernel.
I put together this patch for you guys at the request of a few different members here in the nexus forum. This allows one to force AC charging for any charger that is detected as USB (i.e. car chargers, inductive chargers through the pogo pins). This also works for MHL, HOWEVER you will most likely still be limited by the MHL adapter itself. With modification to the MHL adapter (splice in an additional charger) plus this mod, bunklung was able to charge at ~600-700 mA while mirroring and streaming.
To toggle the fast charge you must download IncrediControl v1.5 beta3 (http://www.incredikernel.com under Latest Downloads). Under the general tab, click on force fast charge, then apply. After you have done that, place your phone on the charger. You will see it is now detected as AC and if and only if the charger can put out more current than it was previously being limited to (more than 500mA) you will be able to use the additional current.
Good luck have fun.
http://www.incredikernel.com/wp-con...nitor/download.php?id=force_fast_charge.patch
NOTE: You may get a freeze/FC in IncrediControl once in while when toggling the charge. This is being worked on. I figured everyone could deal with a FC here or there to get this out earlier.
Fast charge toggle widget. No more need to open the app to toggle!
https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget

Cool! I look forward to seeing how well it works in practice. My car only sends usb power.
Sent from my Galaxy Nexus using xda premium

chad0989 said:
This is for kernel devs only. The patch is useless to those who do not/can not compile their own kernel.
I put together this patch for you guys at the request of a few different members here in the nexus forum. This allows one to force AC charging for any charger that is detected as USB (i.e. car chargers, inductive chargers through the pogo pins). This also works for MHL, HOWEVER you will most likely still be limited by the MHL adapter itself. With modification to the MHL adapter (splice in an additional charger) plus this mod, bunklung was able to charge at ~600-700 mA while mirroring and streaming.
To toggle the fast charge you must download IncrediControl v1.5 beta3 (http://www.incredikernel.com under Latest Downloads). Under the general tab, click on force fast charge, then apply. After you have done that, place your phone on the charger. You will see it is now detected as AC and if and only if the charger can put out more current than it was previously being limited to (more than 500mA) you will be able to use the additional current.
Good luck have fun.
http://www.incredikernel.com/wp-con...nitor/download.php?id=force_fast_charge.patch
NOTE: You may get a freeze/FC in IncrediControl once in while when toggling the charge. This is being worked on. I figured everyone could deal with a FC here or there to get this out earlier.
Click to expand...
Click to collapse
Looking forward to a dev adding this to their kernel. While we wait, any chance we could get whatever reference kernel you compiled for the people who tested the kernel? I'm dying to try this with pogo pin charging and touchstone mod.

Thanks for your work, added this to latest Trinity test kernel.
IT'll probably make its way into the Trinity thread tomorrow or so, unless the F5ers out it before then.

@chad0989
Wow thanks, cool mod, cant wait to try this!
G

Pushed the fastcharge toggle widget to the market for those who were interested. No more need to open an app to toggle when you can just do it from your homescreen!
https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget

Issue with the market should be straightened out now for anyone who was getting a not compatible message.

The widget should be fixed for you gnex guys, hopefully no more FCs. Sorry about that!

Fast Charge Toggle Widget appears to be working fine with LeanKernel 2.6.0 and CyanogenMod 9 Nightly 20120319 on my Galaxy Nexus.
Thanks!

if i understood correctly, this doesn't produce any plus effect if the output usb port is limited to 500 mv right?
and the output of every standard laptop usb port is only 500mv or i'm wrong?
thanks in advance

Aww, fast charge widget costs :/
Sent from my Galaxy Nexus using xda premium

andQlimax said:
if i understood correctly, this doesn't produce any plus effect if the output usb port is limited to 500 mv right?
and the output of every standard laptop usb port is only 500mv or i'm wrong?
thanks in advance
Click to expand...
Click to collapse
That's correct. Although some will definitely put out more, my laptop puts out ~800. I'm not willing to say I personally recommend charging from a USB port because there is a risk of damaging the port/motherboard, although nobody has ever reported actually damaging it (I do it all the time).

Related

USB Fast Charge mod

Hello I was wondering if there is a mod to have usb fast charge when plugged into the comp. I just came from a Inc and there was a mod flashable through cwm. it was very nice. it charged the phone just as fast as an outlet, if not faster. is there a mod?
thanks
Interesting... I'd be interested in this as well.
Sent from my Galaxy Nexus using Tapatalk
+1 this would be great!
Agreed, awesomeness would ensue.
Sent from my Galaxy Nexus using Tapatalk
the developer behind it for the htc Inc was chad0989
. he made the incredikernels and the incredicontrol app. tried to use incredicontrol app just for fast charging but didnt work since the kernel doesnt support HAVS or SVS. Im on Francos btw
Imoseyon said once any speed charges were done by taking code out that slows it. Nexus doesn't have it in kernel now according to him so not likely.
Sent from my Galaxy Nexus using xda premium
cricketsmoke said:
Imoseyon said once any speed charges were done by taking code out that slows it. Nexus doesn't have it in kernel now according to him so not likely.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Would there be a way to selectively trigger AC mode as opposed to USB mode?
just asked this in the IRC chan and few devs said doing this could mess up your computer system. point of the hack would be to trick the cheap car chargers into giving u the full charge, not the computer.
droidkevlar said:
just asked this in the IRC chan and few devs said doing this could mess up your computer system. point of the hack would be to trick the cheap car chargers into giving u the full charge, not the computer.
Click to expand...
Click to collapse
hmm well i know chad did it and no one that has ever used it had a problem. my computer is fine and so was my phone. il send him a pm and see if he responds
sent him a pm
is it possible to take apart his incredicontrol apk and see how it works that way? its in the market
droidkevlar said:
just asked this in the IRC chan and few devs said doing this could mess up your computer system. point of the hack would be to trick the cheap car chargers into giving u the full charge, not the computer.
Click to expand...
Click to collapse
Not many motherboards have USB ports capable of supplying current in excess of the spec 500mA.
Research modding your (car?) Charger to be detected as AC charger instead of USB.
Sent from my Nexus Prime.
What about a mod that allows the 3 pogo pins to receive more than 500mA(recognized as USB)? That seems ridiculously low and is far more relevant/needed. If you want to charge through the pogo pins you are just SOL.
Moved to General.
morfic said:
Not many motherboards have USB ports capable of supplying current in excess of the spec 500mA.
Research modding your (car?) Charger to be detected as AC charger instead of USB.
Sent from my Nexus Prime.
Click to expand...
Click to collapse
I haven't seen a device that can't do 1A over USB in like a decade.
Hell, even non-PCs have no problems with it. I've done it off a Wii before just for fun.
A lot of newer motherboards can even do 2A over USB (to charge iPads). Most ASUS boards in the past 2-3 years have this as an advertised feature (asus ai charger).
Very interested in this actually. Not so much for USB/AC charging on a computer, but for MHL AC charging.
With the current MHL adapters (even when plugged into an AC outlet), the Gnex reports USB charging. To make maters worse, the screen does not shut off on the Gnex. After an hour or two your battery will die. 500ma is just not enough.
The MHL spec says that 500ma is the charging spec. However, I tweeted with Tim Wong:
http://twitter.com/WongTim
He is the president of the MHL association and he said 500MA is the minimum, not the maximum. My quess is that the Gnex won't try to draw more than 500MA since the data pins can't be shorted on the MHL connector.
I think the MHL adapter will provide for more current, just like most laptops and desktops.
With this mod, it would be nice to tell the Gnex to AC charge. Tim suggest that the phone should not draw more than safely required so long as the voltage doesn't drop on the MHL adapter/MHL tv.
I think the Gnex, by design looks for the shorted data pins and doesn't try to push the envelope as far as monitoring the voltage drop on a USB detected power source.
I recall reading about some smoking/dead phones from fast charging mods. Thanks but no thanks.
sruel3216 said:
Hello I was wondering if there is a mod to have usb fast charge when plugged into the comp. I just came from a Inc and there was a mod flashable through cwm. it was very nice. it charged the phone just as fast as an outlet, if not faster. is there a mod?
thanks
Click to expand...
Click to collapse
I came at this problem from a different angle and accidentally found a solution for you. I have an iPad and it wouldnt charge from my PC so did some research and came up with this:
http://event.asus.com/mb/2010/ai_charger/
Its a free driver from asus that increases the max amp on USB bus. Supports most mobos and works awesome on my PC and dell laptop, I can now charge the iPad on there.
It also has the benefit of fast charging of my Nexus. Double win.
EDIT: Ignore the ****ty site design, it looks terrible but does as it says
TheBishopOfSoho said:
I came at this problem from a different angle and accidentally found a solution for you. I have an iPad and it wouldnt charge from my PC so did some research and came up with this:
http://event.asus.com/mb/2010/ai_charger/
Its a free driver from asus that increases the max amp on USB bus. Supports most mobos and works awesome on my PC and dell laptop, I can now charge the iPad on there.
It also has the benefit of fast charging of my Nexus. Double win.
EDIT: Ignore the ****ty site design, it looks terrible but does as it says
Click to expand...
Click to collapse
Just installed and will give it a go. Wish me luck people.
Edit: Didn't work for me. Same charging speed with and without it.
Here is a pm back from chad:
I'll look into it and see if I can come up with something for the gnex also. I do not plan to release a kernel, but possibly I could provide a patch.
Can you get me a kmsg (/proc/kmsg) while you plug your phone into an AC source, and then a USB source?
adb shell "cat /proc/kmsg"
Also a log of the power draw while connected to USB and to AC
Thanks

[KERNEL PATCH] Force AC (fast) Charging

This was a pretty big hit with the gnex and nexus s guys so I figure that I would extend it to the aries series phones:
This is for kernel devs only. The patch itself is useless to those who do not/can not compile their own kernel.
This patch allows one to force AC charging for any charger that is detected as USB (e.g. many car chargers) and pull the full current the charger can support. It also provides additional security when connecting to public charging stations because by forcing AC charging, USB/adb data transfers are disabled, protecting your data.
Fast charge can be toggled by issuing:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
and off:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
Some roms (AOKP) have also implemented toggles.
In addition I have created a toggle fast charge widget that may be used to toggle fast charge on and off right from your home screen:
https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget
You may also use IncrediControl (free) to toggle, however it does not fully support the aries series phones so features like voltage control do not work at this time.
https://play.google.com/store/apps/details?id=com.incredicontrol
For the widget (or any fast charge toggle) to work, you MUST be running a kernel that has this patch implemented.
As a good gesture to support a fellow dev, I ask that if you implement the patch into your kernel, please link to my widget as one means to toggle it. You are of course free to provide other ways to toggle it as well if you so desire.
Kernel devs, if you would like to test the widget yourself to confirm its working, and for convenience of testing, please contact me and I will provide you with a copy. You must show that you are a kernel dev though (i.e. link me to your kernel post so I can match your username).
Here you go. Good luck have fun:
http://www.incredikernel.com/wp-con...download.php?id=aries_force_fast_charge.patch
Thank you very much. I already have included it in my latest kernel
Sent from my I9000 running Android 4.03
Can you measure the current value with this feature and without?
Yes thanks derteufel. Already tried it with devil2 kernel. Great work
-ReaL- said:
Can you measure the current value with this feature and without?
Click to expand...
Click to collapse
When it is enabled, the phone detects all chargers as AC and your current draw is dependent on the source you're charging from. For example, if you're charging from a 1A usb source (such as a powered hub, car charger) you should get currents close to that from a wall charger. With it disabled it reverts to the factory detection of charge sources and anything detected as USB is limited to 500mA.
I use the original Vehicle Dock from Samsung (ECS V968) for holding my Phone on the Windshield in Car!
Plugging in my phone normally switches over to Sound redirection (by xcaliburinhand) and charges via 12v Car plug!
The charging isn´t working anymore !!!
Phone directly on 12v car plug: CHARGING !
Phone on USB port: CHARGING !
Phone on Vehicle Dock which is connected to either 12v Car plug or USB port : NOT CHARGING !
Ive tested with other phones (stock firmware) and it works ...so the car dock is not the problem!
Im using WeUI 0.9.8 with Semaphore Kernel 1.0.0
I dont know whether fast charge may be the source of that problem.
any idea ???
sebsch1991 said:
I use the original Vehicle Dock from Samsung (ECS V968) for holding my Phone on the Windshield in Car!
Plugging in my phone normally switches over to Sound redirection (by xcaliburinhand) and charges via 12v Car plug!
The charging isn´t working anymore !!!
Phone directly on 12v car plug: CHARGING !
Phone on USB port: CHARGING !
Phone on Vehicle Dock which is connected to either 12v Car plug or USB port : NOT CHARGING !
Ive tested with other phones (stock firmware) and it works ...so the car dock is not the problem!
Im using WeUI 0.9.8 with Semaphore Kernel 1.0.0
I dont know whether fast charge may be the source of that problem.
any idea ???
Click to expand...
Click to collapse
Semaphore doesn't have fast charge implemented.
Just curious, but is this bad for the battery?
shadehh said:
Just curious, but is this bad for the battery?
Click to expand...
Click to collapse
And second question: how fast does this fast charge charges standard 1500 mah i9000 battery (from around 0% to around 100%) ?
HI!
I'm trying to add the patch to my kernel (Sony Xperia Arc - MSM 7x30 device) but I'm kinda lost when looking at the msm72k_udc.c file.
Can you please help to out? I cant seem to find some of the lines you're deleting in the patch, hence the functions break.
this is the file i'm trying to modify...
This is my first project and i'm not that skilled yet, but i'm learning...
Thanks for the help in advance...
bipbop said:
And second question: how fast does this fast charge charges standard 1500 mah i9000 battery (from around 0% to around 100%) ?
Click to expand...
Click to collapse
shadehh said:
Just curious, but is this bad for the battery?
Click to expand...
Click to collapse
Not bad at all. The phone will not charge any faster than it would on AC charging, therefore its no worse for your battery than charging from an AC charger. I do not believe in increasing the charge current to the phone beyond what the factory specs are.
jimbo77 said:
HI!
I'm trying to add the patch to my kernel (Sony Xperia Arc - MSM 7x30 device) but I'm kinda lost when looking at the msm72k_udc.c file.
Can you please help to out? I cant seem to find some of the lines you're deleting in the patch, hence the functions break.
this is the file i'm trying to modify...
This is my first project and i'm not that skilled yet, but i'm learning...
Thanks for the help in advance...
Click to expand...
Click to collapse
I'm working on a patch for the play / arc. Its taking a bit more work than the aries series phones, PM me and you can test.
I apologize for the delayed responses.

Kernel Request with USB Fast Charging option

Hi Guys,
I am looking to source a Kernel of have one adapted with the USB Fast Charge option for the N7100.
I have searched high and low and cant find a specific one that gives the option, whereby via a switch or toggle you can enable USB Charging to change to AC charging for use the a 11 Pin MHL adapter.(Which is rated at 500ma but with this option it can push it to 1amp)
I am putting a bounty down or donation of €30 euros to start as it is something a lot of Note II users require for use with their phone and the app radio 2.
Any help would be much appreciated.
Woody_XDA said:
Hi Guys,
I am looking to source a Kernel of have one adapted with the USB Fast Charge option for the N7100.
I have searched high and low and cant find a specific one that gives the option, whereby via a switch or toggle you can enable USB Charging to change to AC charging for use the a 11 Pin MHL adapter.(Which is rated at 500ma but with this option it can push it to 1amp)
I am putting a bounty down or donation of €30 euros to start as it is something a lot of Note II users require for use with their phone and the app radio 2.
Any help would be much appreciated.
Click to expand...
Click to collapse
Flash uneak kernel and use uneak engine app to adjust usb charging rate. ..
PS you should do more searching really
Hope I helped
Sent from my GT-N7100 using Tapatalk 2
edwinpang said:
Flash uneak kernel and use uneak engine app to adjust usb charging rate. ..
PS you should do more searching really
Hope I helped
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
Hi Mate,
I have used that Kernel previously but the actual option to enable USB Charging as per my first post is not enabled (Similar to the Franco Kernel for the S2)
Also I found this Kernel also did not like my 64GB SDXC card
Woody_XDA said:
Hi Mate,
I have used that Kernel previously but the actual option to enable USB Charging as per my first post is not enabled (Similar to the Franco Kernel for the S2)
Also I found this Kernel also did not like my 64GB SDXC card
Click to expand...
Click to collapse
Fast Charge is just raising the amperage of the USB Charger in the samsung battery driver.....with my own app is even easier so you can change it to whatever current you need. There are no other ways on this platform (is not a nexus and uses an highly configurable maxim chip for charging).
If you need exFAT and fast charging, use Perseus which has 900mA hardcoded in the kernel afaik, or Redpill which has 1.7A on USB hardcoded (they both are not configurable), otherwise use FAT32 and choose whichever kernel you like.
simone201 said:
Fast Charge is just raising the amperage of the USB Charger in the samsung battery driver.....with my own app is even easier so you can change it to whatever current you need. There are no other ways on this platform (is not a nexus and uses an highly configurable maxim chip for charging).
If you need exFAT and fast charging, use Perseus which has 900mA hardcoded in the kernel afaik, or Redpill which has 1.7A on USB hardcoded (they both are not configurable), otherwise use FAT32 and choose whichever kernel you like.
Click to expand...
Click to collapse
I shall give it another try and post the results, many thanks for the reply
And I will drop a donation your way aswell.
Thank you
Please read forum rules before posting
Questions go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
Okay I have tried the neak kernel with the neak tools and yes USB charging is considerably faster It is set to 1700 ma now.
But MHL charging via an in car usb 2.1 Amp charger is still draining, is there any way to adjust the MHL settings to push it up or convince the charging that it is on AC charging whilst charging via USB ?
Thanks
Woody
Still looking around for this answer as well...I miss the dock I had with my Photon or the fact there was an HDMI and USB. MHL use just drains the battery even with the screen lighting app keeping it blacked out. Note 2 works great with MS Wedge Touch mouse and an Android BT keyboard on my monitor or projector but it's just not practical yet with this charging issue with MHL. -Sprint L900
Okay I have tried three Kernels and to be honest changing the charging current doesnt really do a whole lot :
Neak lastest Version - Brutal Bluetooth, basically through the App Radio it cuts out every few mins and same for bluetooth headset, in regards to charging it holds the charge for longer when set to 2100mA but say goes down 1% to 2% per hour so not to bad.
Redpill latest Version - No sound via MHL at all, charging current is set to 1700mA but didnt test it for long due to the sound issue
Persus Latest Version - Regarding Charging it is almost the same as stock and the current is set at 455mA
A simple question from a Novice is the fast charging option possible with the N7100 Kernels as for Arliberator with the App Radio we need to have the Kernel tricked to thinking it is charging for an AC source in order for the battery to be maintained and charged maybe slowly but ahead of battery drain.
Perseus.
You can change it upto 900mah via stweaks
Sent from my GT-N7100 using xda app-developers app
UtkarshGupta said:
Perseus.
You can change it upto 900mah via stweaks
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Can you tell me how to stweak it? Im using perseus kernel and havent changed anything power runs at only 300mah
Sent from my GT-N7100 using xda premium
Install Perseus.
It will install stweaks as well.
Open it and in charging or power app there would be an option set at about 435. Change it upto 900
Sent from my GT-N7100 using xda app-developers app
Still looking for usb fsst charge if it is possible,adjusting the current wont make a difference
it is thr option to enable this tweak.
is it possible or not,the usb fast charge app can be used to trigger it.
You can use an old cable.
I get 1700mah with it with my computer with redpill
Sent from my GT-N7100 using xda app-developers app
Sorry but you completely do no understand what is being dicussed here.
The request is for the fast charge usb option,not to increase current on a kernel this simply does not work via MHL.
Redpill kernel does not work with the app radio as it kills the audio.
Please dont comment until you have read the request, this is not me being nasty but your simply not adding much here as frankly you dont have a clue what I am requesting.
A simple question is can this option be enabled, as in the franco kernel for the S2 etc.
Is there any any update on this? I I understand FAST CHARGE cant be be done but is there any way to speed up charging while using MHL using a kernel. Ive I've tried all 3 kernels mentioned and although the current change does work with an ordinary usb ...mhl charging under same current doesnt work.

[APP][ROOT][KT] Fast Charge Toggle widget

I love @ktoonsez kernel I also LOVE his fast charging option. Was using schools computer to charge and was charging at 900 mA love it.
Got tired of going through the app to toggle this. So i made a widget that can be placed on the home screen or the lock screen. Im sorry, the image is hideous. xD wasnt too sure of what to use as an image so bear with me xD
Just install the APK then either on your home screen or your lock screen add a widget and select Fast Charge Toggle. Done. Will prolly work on other kernels with fast charging option but only tested on @ktoonsez kernel
From almost totally dead, it takes me about two hours for a full charge with normal charging.
I've never bothered with tweaking charging settings. How much faster would fast charging accomplish the same thing?
Like the idea, but what does fast charging do ultimately to you're overall battery life and health long-term?
Sent from my SGH-M919 using XDA Premium 4 mobile app
HampTheToker said:
From almost totally dead, it takes me about two hours for a full charge with normal charging.
I've never bothered with tweaking charging settings. How much faster would fast charging accomplish the same thing?
Click to expand...
Click to collapse
The fast charging kernel tweaks are only for USB devices. Like from a computer, stereo unit, cigarette lighter. Not from the wall outlet.
SinCityAtNight said:
Like the idea, but what does fast charging do ultimately to you're overall battery life and health long-term?
Sent from my SGH-M919 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It has no side effect on the battery. The stock charger has I think like 2a charging power, most computers have only 500mA. Fast charging simply tricks the kernel into thinking it's plugged into a wall outlet and charges at the full power available. The only side affect is that it could ruin the USB port. However after two years of using it I have never seen any issues myself nor have I read any.
Sent from my SGH-M919 using Tapatalk 2
Not my experience. I have to desagree. I always use fast charge and using a wall outlet works better that any other mentioned before. Im not a developer, just a happy user. But works different for me. I can tell what are you saying is not always true for all users.
Sent from my SGH-M919 using xda premium
ToledoG28 said:
Not my experience. I have to desagree. I always use fast charge and using a wall outlet works better that any other mentioned before. Im not a developer, just a happy user. But works different for me. I can tell what are you saying is not always true for all users.
Sent from my SGH-M919 using xda premium
Click to expand...
Click to collapse
According to what I personally saw in the source code and what @ktoonsez said, the fast charging gets ignored when it's an ac charger. Just going off of source code and what the code actually does. Might just be a placebo effect on your end all in all tho fast charging sure is the best thing since sliced bread xD
Sent from my SGH-M919 using Tapatalk 2
elesbb said:
According to what I personally saw in the source code and what @ktoonsez said, the fast charging gets ignored when it's an ac charger. Just going off of source code and what the code actually does. Might just be a placebo effect on your end all in all tho fast charging sure is the best thing since sliced bread xD
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Why is it that when I charge and use off the charger, my phone gets hot quick. I revoke SU permissions and reboot then my phone is cool so am I doing something wrong. I'm on virginrom2.3
Sent from my GE4.3 M919 using xda premium
MrPapito429 said:
Why is it that when I charge and use off the charger, my phone gets hot quick. I revoke SU permissions and reboot then my phone is cool so am I doing something wrong. I'm on virginrom2.3
Sent from my GE4.3 M919 using xda premium
Click to expand...
Click to collapse
What do you mean? I do not understand at all what you are trying to say..
elesbb said:
What do you mean? I do not understand at all what you are trying to say..
Click to expand...
Click to collapse
When superuser asks permission and I grant it, the phone charges fast, but whether its charging or not, it gets hot very quickly
Sent from my GE4.3 M919 using xda premium
MrPapito429 said:
When superuser asks permission and I grant it, the phone charges fast, but whether its charging or not, it gets hot very quickly
Sent from my GE4.3 M919 using xda premium
Click to expand...
Click to collapse
I have no idea. Nothing is happening until you click on the widget then it executes the code and dies right away. Get a task manager (preferably SystemTuner) and see whats eating your CPU.
Thanks a lot.
I use fast charge a lot and this makes it much easier!
Sent from my SGH-M919 using XDA Premium 4 mobile app
Thank you!! Been looking for something like this...my wall plug for my charger is far in my office so with this I can charge from my computer monitor!!
Sent from my SGH-M919 using XDA Premium HD app
I have a car charger that has a spare USB plug on it. If I use the actual car charger it charges as normal, but when I plug in the white USB cord that came with the phone into the same car charger it definitely charges almost twice as fast. Living proof. I was on a road trip using GPS and LTE while streaming music. While on the car charger it would almost not charge at all, just supplement enough to not drop in percentage. Then, when I switch to the other USB it charges up no problem.. Really works.
Elesbb,
First off, Thank you for making this and sharing it to the community. I have been looking for something just like this. Comes in very handy.
I don't know if you update this anymore, but I was wondering if you could make a choice for different icons for the widget. If not, no big deal, the icon is just a little too cartoon-y for me.
Thank you!
re: charging mod
elesbb said:
The fast charging kernel tweaks are only for USB devices. Like from a computer, stereo unit, cigarette lighter. Not from the wall outlet.
It has no side effect on the battery. The stock charger has I think like 2a charging power, most computers have only 500mA. Fast charging simply tricks the kernel into thinking it's plugged into a wall outlet and charges at the full power available. The only side affect is that it could ruin the USB port. However after two years of using it I have never seen any issues myself nor have I read any.
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
I just googled "maximum usb milliamp output from a standard computer usb port" and to my
surprise I must have found at least 25 links which I read that deals with this subject.
And all of them specifically point out that a normal laptop or desktop computer's usb port puts
out a maximum of 500 milliamps unless someone has some special usb pci/pcie card installed
inside their home computers, I never seen any that do but it is possible that such a card exists.
So this mod would really not do anything at all, it would not charge faster and it could not hurt
the usb ports of any computer since it cannot change the max. milliamp output of the usb port.
Now if we had some kind of special program which we install in our computers to allow the usb
ports to put out 2amps (2000 milliamps) then it would charge just as fast as our wall AC chargers do.
But modifying anything inside our phones cannot change the fact that it's the computer and it's usb
ports which determines what the maximum amount of milliamps that it can output.
Look at it this way, if you have a 5 gallon gas can you cannot pour 10 gallons of gasoline out of it.
Misterjunky said:
I just googled "maximum usb milliamp output from a standard computer usb port" and to my
surprise I must have found at least 25 links which I read that deals with this subject.
And all of them specifically point out that a normal laptop or desktop computer's usb port puts
out a maximum of 500 milliamps unless someone has some special usb pci/pcie card installed
inside their home computers, I never seen any that do but it is possible that such a card exists.
So this mod would really not do anything at all, it would not charge faster and it could not hurt
the usb ports of any computer since it cannot change the max. milliamp output of the usb port.
Now if we had some kind of special program which we install in our computers to allow the usb
ports to put out 2amps (2000 milliamps) then it would charge just as fast as our wall AC chargers do.
But modifying anything inside our phones cannot change the fact that it's the computer and it's usb
ports which determines what the maximum amount of milliamps that it can output.
Look at it this way, if you have a 5 gallon gas can you cannot pour 10 gallons of gasoline out of it.
Click to expand...
Click to collapse
The maker of this (ktoonsez) stated this in his thread. However, a lot of computers (newer ones) do have higher power outputs to power things like external hard drives, cooling fans... etc. For instance, mine, when paired with the fast charging mod, outputs 700ma but without, stays at 500ma. So while you are correct, there are a lot of computers (especially newer) that do have huger output ratings. This is clearly seen when my external hard drive won't work on my grandfather's dinosaur computer (even his new printer has issues). But plugged into my laptop, it's has no problem.
Also, I believe USB 3.0 has a 1amp output.
Sent from my SGH-M919 using Tapatalk
re: charging mods
elesbb said:
The maker of this (ktoonsez) stated this in his thread. However, a lot of computers (newer ones) do have higher power outputs to power things like external hard drives, cooling fans... etc. For instance, mine, when paired with the fast charging mod, outputs 700ma but without, stays at 500ma. So while you are correct, there are a lot of computers (especially newer) that do have huger output ratings. This is clearly seen when my external hard drive won't work on my grandfather's dinosaur computer (even his new printer has issues). But plugged into my laptop, it's has no problem.
Also, I believe USB 3.0 has a 1amp output.
Sent from my SGH-M919 using Tapatalk
Click to expand...
Click to collapse
You know what, you are just about right, I just did some more googling and found
that the usb 3.0 ports on newer computers do have a greater output than 500milliamps.
They have a maximum of 900milliamps, still no where near the 2000milliamp which
the home charger puts out, but it's close to double of the standard usb 2.0 ports.
I read that many newer computers including mine has a dedicated 3.0 port which stays awake
even if we turn the computer off & it continues charging whatever is plugged into the 3.0 port.
So 900milliamps is a lot better than 500milliamps when comparing usb 2.0 to 3.0 however
current is current, the phone itself cannot distinguish between a 500milliamp or 900milliamp
charging rate, if it gets 900ma it will charge a lot faster than if it only gets 500 milliamps.
All cell phones have a safety feature built into their circuitry which prevents us from charging
the phone at a higher rate than what Samsung specifies by plugging it into a charger which puts
out more than 2amps, if the phone did not have that circuitry it would dramatically shorten the life
of the battery.
That's why Samsung ships 2amp home chargers with their phones and not a 2.5 or a 3amp one.
If this mod which is being discussed here defeats the safety feature in the phone's circuitry which
prevents it from being charged too fast then I would highly advise against installing or using it.
The only time a higher rated battery charger should be used is if we have an extended battery
which was rated at let's say 4200milliamps in which case a 3-4 amp charger would be best.
Misterjunky said:
You know what, you are just about right, I just did some more googling and found
that the usb 3.0 ports on newer computers do have a greater output than 500milliamps.
They have a maximum of 900milliamps, still no where near the 2000milliamp which
the home charger puts out, but it's close to double of the standard usb 2.0 ports.
I read that many newer computers including mine has a dedicated 3.0 port which stays awake
even if we turn the computer off & it continues charging whatever is plugged into the 3.0 port.
So 900milliamps is a lot better than 500milliamps when comparing usb 2.0 to 3.0 however
current is current, the phone itself cannot distinguish between a 500milliamp or 900milliamp
charging rate, if it gets 900ma it will charge a lot faster than if it only gets 500 milliamps.
All cell phones have a safety feature built into their circuitry which prevents us from charging
the phone at a higher rate than what Samsung specifies by plugging it into a charger which puts
out more than 2amps, if the phone did not have that circuitry it would dramatically shorten the life
of the battery.
That's why Samsung ships 2amp home chargers with their phones and not a 2.5 or a 3amp one.
If this mod which is being discussed here defeats the safety feature in the phone's circuitry which
prevents it from being charged too fast then I would highly advise against installing or using it.
The only time a higher rated battery charger should be used is if we have an extended battery
which was rated at let's say 4200milliamps in which case a 3-4 amp charger would be best.
Click to expand...
Click to collapse
It doesn't defeat the security of built in kernel protection. Androids own API has a way to detect if the plug is wall charger or USB. The mod simply tells android OS that the USB charger is an AC charger and to not limit charging to USB levels. That's why USB doesn't work when the mod is enabled. It's no way harmful to the device. Been using it since I've gotten my phone and even back on my s3.
Sent from my SGH-M919 using Tapatalk
elesbb said:
I love @ktoonsez kernel I also LOVE his fast charging option. Was using schools computer to charge and was charging at 900 mA love it.
Got tired of going through the app to toggle this. So i made a widget that can be placed on the home screen or the lock screen. Im sorry, the image is hideous. xD wasnt too sure of what to use as an image so bear with me xD
Just install the APK then either on your home screen or your lock screen add a widget and select Fast Charge Toggle. Done. Will prolly work on other kernels with fast charging option but only tested on @ktoonsez kernel
Click to expand...
Click to collapse
You're right!! The widget is the ugliest thing I've ever seen but it works perfect! Thank you much!!
Sent from my SGH-M919 using xda app-developers app
re: charging milliamps
elesbb said:
It doesn't defeat the security of built in kernel protection. Androids own API has a way to detect if the plug is wall charger or USB. The mod simply tells android OS that the USB charger is an AC charger and to not limit charging to USB levels. That's why USB doesn't work when the mod is enabled. It's no way harmful to the device. Been using it since I've gotten my phone and even back on my s3.
Sent from my SGH-M919 using Tapatalk
Click to expand...
Click to collapse
Okay, see what you mean.
Did you know that there are 3 or 4 free apps at the playstore which display the amount of mA
the phone is being charged with at any given time, it also displays the maximum mA that the
charger or usb port can charge. Here are a couple links in case you or anyone is interested:
https://play.google.com/store/apps/details?id=com.abmantis.galaxychargingcurrent.free
https://play.google.com/store/apps/details?id=ccc71.bmw

HTC M9 force AC fastcharge? (with stock kernel, or a kernel recommendation)

Hello, so in theory this should be a sort of straightforward question, but I'm not sure there is a good solution yet. I've found that the M9 is veeeeeery conservative with charge speeds and rating chargers it deems worthy to give it fast charge speeds. With that comes many reputable third-party chargers giving the phone little to no juice, and I would like to override this.
So what I'm looking for is a way to tweak the charge speed allowed manually. On my Google Play Edition S4, this was called fastcharge (not quickcharge, not interested in buying one of those, as every charger I have has more than one usb port and I'd like to keep it that way). It was something that I found on a custom kernel and allowed you to set a max charge speed for both AC and USB charging (with AC being able to be tweaked all the way to 1900mAh).
With all that being said, does anyone know how to allow something like this with the stock kernel? I've seen a couple kernels that advertise this as a feature, but they also all seem to be in beta, and have bugs that aren't squashed yet. I'm on Viper 1.6 if that helps at all, and any help with this would be appreciated!
LeeDroid Kernel v2
and the LeeDroid kernel will work on Viper rom? Have you experienced any problems with it so far (if you're using it)
guyverzero said:
and the LeeDroid kernel will work on Viper rom? Have you experienced any problems with it so far (if you're using it)
Click to expand...
Click to collapse
None here and have been using it for some time now. Very snappy, superb battery and very fast boot. Using with insert coin currently and controlling with "adiutor" kernel app. Working flawlessly here
brittoking said:
None here and have been using it for some time now. Very snappy, superb battery and very fast boot. Using with insert coin currently and controlling with "adiutor" kernel app. Working flawlessly here
Click to expand...
Click to collapse
Okay then. I'll do a nandroid and give it a try, thanks!
ElementalX is great
It's a shame that you find the HTC One M9 charge rate to be too slow but don't wish to do the only thing that will give impressively fast charging with stock software: obtain a Qualcomm certified fast charge 2.0
The fast charge capability comes from using chargers that use higher voltage than the standard 5 volt.
Higher voltage leads to higher charge current which shortens charge time.
Sent from my HTC One M9 using XDA Free mobile app
guyverzero said:
Hello, so in theory this should be a sort of straightforward question, but I'm not sure there is a good solution yet. I've found that the M9 is veeeeeery conservative with charge speeds and rating chargers it deems worthy to give it fast charge speeds. With that comes many reputable third-party chargers giving the phone little to no juice, and I would like to override this.
So what I'm looking for is a way to tweak the charge speed allowed manually. On my Google Play Edition S4, this was called fastcharge (not quickcharge, not interested in buying one of those, as every charger I have has more than one usb port and I'd like to keep it that way). It was something that I found on a custom kernel and allowed you to set a max charge speed for both AC and USB charging (with AC being able to be tweaked all the way to 1900mAh).
With all that being said, does anyone know how to allow something like this with the stock kernel? I've seen a couple kernels that advertise this as a feature, but they also all seem to be in beta, and have bugs that aren't squashed yet. I'm on Viper 1.6 if that helps at all, and any help with this would be appreciated!
Click to expand...
Click to collapse
I think you just need a 2A charger. I get very quick charge time with the Nexus 6 charger.
Why HTC didn't include this is beyond stupid. This thing is capable of charging to full in an hour or less
The thing kernels have is USB fastcharge, which increases the current when connected to a computer USB port.
flar2 said:
I think you just need a 2A charger. I get very quick charge time with the Nexus 6 charger.
Why HTC didn't include this is beyond stupid. This thing is capable of charging to full in an hour or less
The thing kernels have is USB fastcharge, which increases the current when connected to a computer USB port.
Click to expand...
Click to collapse
Thing is, I have a ton of chargers that should be able to pull more than 2 amps, and have on other phones. I have an Anker one (with charge detection up to 2.4 a port I believe) and an Aukey one that's the same. Also have the stock HTC and Samsung S4 one, those do seem to pull about 1-1.5 out of it but the third party ones aren't doing anywhere near what they should be (normally getting betweeen 3-800 out of them, topping out at about 1 amp).
And yeah I've found that out about the kernels so far, USB only. I was thinking that based on the reading but I figured I would try. I wonder when/if an AC fast charge will be implemented, or if it even can (not sure how it works with quick charge 2.0 interfaces). My S4 did have the setting for both USB and AC so I was hoping to find the same for this. It's not a huge huge deal, but I would like it if possible. Or if a company could come out with a slightly affordable 4 or 5 port charger with at least one or two QC 2.0 slots that'd be lovely as well.
guyverzero said:
Thing is, I have a ton of chargers that should be able to pull more than 2 amps, and have on other phones. I have an Anker one (with charge detection up to 2.4 a port I believe) and an Aukey one that's the same. Also have the stock HTC and Samsung S4 one, those do seem to pull about 1-1.5 out of it but the third party ones aren't doing anywhere near what they should be (normally getting betweeen 3-800 out of them, topping out at about 1 amp).
And yeah I've found that out about the kernels so far, USB only. I was thinking that based on the reading but I figured I would try. I wonder when/if an AC fast charge will be implemented, or if it even can (not sure how it works with quick charge 2.0 interfaces). My S4 did have the setting for both USB and AC so I was hoping to find the same for this. It's not a huge huge deal, but I would like it if possible. Or if a company could come out with a slightly affordable 4 or 5 port charger with at least one or two QC 2.0 slots that'd be lovely as well.
Click to expand...
Click to collapse
There's one on Amazon
It's from a manufacturer called CHOE or CHLOE
It's a 5 port charger with 2 ports capable of quick charge 2.0 and rest of the 3 ports upto 1.5 or 2 amps
It remains for 30ish
Sent from my HTC One M9 using XDA Free mobile app
Yeah they were the first ones to get it and now a few others are too, but 35 is still just a liiiiiiiittle steep for me to pay. Thanks for looking out though, appreciate it.
What app are you guys using to check your charging speed? I used galaxy charging current on my S4, but it obviously doesn't work on this device. I've tried a few from the play store but nothing seems reliable.
lordcheeto03 said:
What app are you guys using to check your charging speed? I used galaxy charging current on my S4, but it obviously doesn't work on this device. I've tried a few from the play store but nothing seems reliable.
Click to expand...
Click to collapse
Ampere is good. It had a hard time reading an octacore on a fast charger (one of those two was giving it issues) at first but recent updates seem to have sorted it out.

Categories

Resources