[KERNEL PATCH] Force AC (fast) Charging - patch complete

Search This thread

chad0989

Senior Member
Oct 31, 2010
1,883
9,424
Something something at chadserver, both of them

I made sure

-----------------------------------------------------
Its so hard to get THANKED these days on XDA. ;)
-----------------------------------------------------
Sent from my HTC Evo 3D running ROMEOS 1.3.4 FINAL
-----------------------------------------------------

Do you have the fast charge path? Maybe the patch didn't apply correctly. I'll rebuild it when I get home

Sent from my ADR6425LVW using XDA
 
  • Like
Reactions: anryl

anryl

Inactive Recognized Developer
Jan 27, 2007
2,961
1,651
prague
POCO M3
Redmi Note 10 Pro
Do you have the fast charge path? Maybe the patch didn't apply correctly. I'll rebuild it when I get home

Sent from my ADR6425LVW using XDA

I might get it in a bit :cool:

EDIT: done in my thread to test who wants it and attached here ;)

have to manualy edit one file :)
 

Attachments

  • akernel_v10.08.zip
    4.3 MB · Views: 578
Last edited:

anryl

Inactive Recognized Developer
Jan 27, 2007
2,961
1,651
prague
POCO M3
Redmi Note 10 Pro
Did you test it? I had fixed the rejects in my build too so I'm not sure what was going on with it. But if it works for you that's all that matters. Haha

Sent from my ADR6425LVW using XDA

its working with incredicontrol fine folder created charging on laptop 764mA
no usb debuging when switched so i think its ok :cool:
 

jcsy

Senior Member
Jan 9, 2009
3,753
949
Land of the Z1/EVO3D/GTAB10.1(2)
its working with incredicontrol fine folder created charging on laptop 764mA
no usb debuging when switched so i think its ok :cool:

As long as USB doesn't register in the laptop, yes it should be working

Great u found the time anryl

-----------------------------------------------------
Its so hard to get THANKED these days on XDA. ;)
-----------------------------------------------------
Sent from my HTC Evo 3D running ROMEOS 1.3.4 FINAL
-----------------------------------------------------
 

TomLeeDesire

Senior Member
Aug 3, 2010
1,058
147
Thanks for providing a widget but I personally prefer to write a script each time I get a new command :D
I then use gscript.
My idea here was to use tasker to toggle automatically when executing google nav. Usually I first set my device in holder and charger before launching it... I'll have to find a way around...
Thanks again :)

Sent from my brand new immediately rooted s-offed Leedroid loaded HTC EVO 3D GSM

Just had a drive. Now my EVO is charging while navigating :D
Never seen before that !!
Thanks again ozkaya.

Sent from my brand new immediately rooted s-offed Leedroid loaded HTC EVO 3D GSM
 
  • Like
Reactions: s_superman

jcsy

Senior Member
Jan 9, 2009
3,753
949
Land of the Z1/EVO3D/GTAB10.1(2)
The widget should really use the circular logo u used for that app icon on market

Square sucks

Anyways, 5.4 leedroid fast charge breaks my wifi, probably the modules don't get pushed since I'm on s-on or something

-----------------------------------------------------
Its so hard to get THANKED these days on XDA. ;)
-----------------------------------------------------
Sent from my HTC Evo 3D running ROMEOS 1.3.4 FINAL
-----------------------------------------------------
 

christan

Senior Member
Sep 26, 2011
483
144
The widget should really use the circular logo u used for that app icon on market

Square sucks

Anyways, 5.4 leedroid fast charge breaks my wifi, probably the modules don't get pushed since I'm on s-on or something

-----------------------------------------------------
Its so hard to get THANKED these days on XDA. ;)
-----------------------------------------------------
Sent from my HTC Evo 3D running ROMEOS 1.3.4 FINAL
-----------------------------------------------------

Since you're s on I believe that's your problem. I am S On, using LeeDrOiD 5.4 and fastcharge 5.4 kernel having no issues!

:)

Edit: of course I mean s off :D

Sent from my HTC EVO 3D X515m using XDA
 
  • Like
Reactions: jcsy

chad0989

Senior Member
Oct 31, 2010
1,883
9,424
The widget should really use the circular logo u used for that app icon on market

Square sucks

Anyways, 5.4 leedroid fast charge breaks my wifi, probably the modules don't get pushed since I'm on s-on or something

-----------------------------------------------------
Its so hard to get THANKED these days on XDA. ;)
-----------------------------------------------------
Sent from my HTC Evo 3D running ROMEOS 1.3.4 FINAL
-----------------------------------------------------

You have to push the wifi module separate when you're s-on. Always.

I'm working on improving the aesthetics of the widget. Its impossible to please everyone though. At some point I may allow users to pick their own icons, or choose from a couple different styles. If you have any other ideas let me know.
 

chad0989

Senior Member
Oct 31, 2010
1,883
9,424
just allow choice between square and circle, lol

your circular icon u used on the market looks way better, honestly

yeah i guessed so when im on S-ON

I think I'm going to provide three or four different backgrounds(e.g. square, round, transparent, maybe a light one) and three or four different center icons(other than the lightning bolt) and let users choose any combination of the two.

Anyone have any ideas for different center icons?

Sent from my ADR6425LVW using XDA
 
  • Like
Reactions: scariola

thuanngotau

Senior Member
Feb 10, 2009
630
87
Hải Phòng
Wait a minute, unity 3b ever supported ponury?

This kernel is slightly dated old, before ponury released this app on the market

Don't bother, unity doesn't have the modules needed... Only leedroid and anryl has them

-----------------------------------------------------
Sent from my HTC Evo 3D running ROMEOS 1.3.4 FINAL
-----------------------------------------------------

EDIT :

The kernel patch definitely works :)

same cable, same laptop, same usb
4:21PM to 4:27PM (FORCE FAST CHARGE ON), about +900MA
4:31PM to 4:41PM (FORCE FAST CHARGE OFF), about +400MA

This is with UNITY3B modified with the patch

some observations;

you have to tick the box to enable, and then reconnect the USB cable but thats acceptable, without the widget
when its ON, you cant DUAL MOUNT SD (as the entire device is no longer communicating with the laptop with USB, but just getting the full power)

Regarding ponury, my phone gets stuck at lockscreen frequently when using ponury (and ofcourse kernels that support ponury) -> pulling out battery is the only choice. Besides, battery life is also terrible! Any advice?
 

chad0989

Senior Member
Oct 31, 2010
1,883
9,424
For those of you who are fans of the widget, here's a little teaser of what's coming soon. If anyone has any ideas for alternative center symbols please feel free to share them.


attachment.php


attachment.php


attachment.php
 
  • Like
Reactions: scariola

jcsy

Senior Member
Jan 9, 2009
3,753
949
Land of the Z1/EVO3D/GTAB10.1(2)
sounds great, however with the new ICS being released and new kernels, looks like we have some work 2 do to get this to work on ICS-kernels :)

looking forward nonetheless, and the widget is a plus :D
 

chad0989

Senior Member
Oct 31, 2010
1,883
9,424
sounds great, however with the new ICS being released and new kernels, looks like we have some work 2 do to get this to work on ICS-kernels :)

looking forward nonetheless, and the widget is a plus :D

Not a lot of work at all. Should only take a few minutes to patch the kernel once the source is released. That's at least what I've seen from the vivid when they got an official update and the source was out.

Unless HTC drastically changed their base source for ics in the last month it should be pretty easy.

Sent from my ADR6425LVW using XDA
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    This is for kernel devs only. The patch itself is useless to those who do not/can not compile their own kernel.

    This was a pretty big hit on some other devices so I figured I'd give it a shot for you gys. This 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.

    It is essentially a software version of the modified charge only usb cables.

    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

    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

    I have also implemented a toggle in IncrediControl (free) that will allow you to turn it on and off.

    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).

    Good luck have fun!

    http://www.incredikernel.com/wp-con...wnload.php?id=shooter_force_fast_charge.patch

    Thank you to those who tested for me.
    6
    Do you have the fast charge path? Maybe the patch didn't apply correctly. I'll rebuild it when I get home

    Sent from my ADR6425LVW using XDA

    I might get it in a bit :cool:

    EDIT: done in my thread to test who wants it and attached here ;)

    have to manualy edit one file :)
    5
    10.08 fast charge is working

    Thanks!

    -----------------------------------------------------
    Its so hard to get THANKED these days on XDA. ;)
    -----------------------------------------------------
    Sent from my HTC Evo 3D running ROMEOS 1.3.4 FINAL
    -----------------------------------------------------
    4
    If someone could compile this into unity v3 it would be very nice. Thanks.

    Sent from my HTC EVO 3D X515m using XDA

    Conveniently, I actually had built that for a tester also:

    http://chad0989.dyndns.org/mirror/unity_v3b_shooter_u-fastcharge.zip
    4
    "Ponury Gesture Mod is broken"

    usually after a kernel flash, Ponury breaks

    clear data, or uninstall / reinstall.. perhaps try that ?

    bponury mentioned this already in his thread... but im not sure, im going to test now

    anyways, im flashing this thru FLASHIMAGEGUI now, and give it a run for the money :)

    No it wasn't that, I had to setup a virtual machine, download all the source code, tools etc and compile my own kernel for this,(I specifically thank Lee and chad for their help) but here it is. Leedroid kernel with fastcharge AC patch and working Ponury Gesture Mod. All credits go to respective owners ;)