[Kernel mod] enable USB fast charging(now in the jawz101 kernel!

Try one, build, flash, if it fails, try /lge, build, flash...

Sent from my LG-LW690 using Tapatalk 2
 
Re: kernel mod to enable USB fast charging

look further in this thread for flashable and sources
 
Last edited:
Re: kernel mod to enable USB fast charging

schweet. I just got done doing it for my kernel though I haven't tested it yet.
 
Anyone test mine??? Btw jawz, I added patch to /arch/arm/mach-msm/lge and for the something_Herring.c I added to device_lge.c I think it's called.

Sent from my LG-LW690 using Tapatalk 2
 
Compressing and uploading my source soon.

Sent from my LG-LW690 using Tapatalk 2
 
Re: kernel mod to enable USB fast charging

i'm having trouble with yours rebooting my phone before I can test it.
for what it's worth this version of his patch seems to match up more with the content of the files on our phones considering it's for another msm7x27 & cdma model phone (he has 7 versions of the patch on separate threads on the xda forums but the one below is the only one I saw for our chipset).

[KERNEL PATCH] Force AC (fast) Charging - xda-developers

following this version of the patch I was modifying
Code:
/arch/arm/mach-msm/lge/Kconfig 
    +config FORCE_FAST_CHARGE 
 
/arch/arm/mach-msm/lge/Makefile 
    +obj-$(CONFIG_FORCE_FAST_CHARGE) 
 
/arch/arm/mach-msm/lge/fastchg.c 
    +#include <linux/fastchg.h> 
     
/drivers/usb/gadget/msm72k_udc.c 
    +#ifdef CONFIG_FORCE_FAST_CHARGE 
    +#include <linux/fastchg.h> 
     
/include/linux/fastchg.h
when I try to enable it on my version with the commands:
Code:
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
On mine I get "cannot create /sys/kernel/fast_charge/force_fast_charge: directory nonexistent"

Well, when in doubt I'm messaging the creator of the patch :P
 
Last edited:
  • Like
Reactions: bigsupersquid
Well, I'm gonna try for my phone (MS690) when it works correctly I'll upload source and try to patch VM670 as well, or if you get VM670 patched correctly I'll patch MS690 the same way and give credit to you jawz, and the original guy who made the patch.

Sent from my LG-LW690 using Tapatalk 2
 
Re: kernel mod to enable USB fast charging

i ha ve same problem : sh: cannot create /sys/kernel/fast_charge/force_fast_charge: No such file or directory

you have find a solution?
 
Sweet! Can you upload a patch too? I'd love to try to use this on ics or jb
 
Where's the source at for the working mod??? I wanna do this for some OM kernels :D

Sent from my LG-LW690 using Tapatalk 2
 
Flashing now using GingerDX. I'll be reporting back soon. Is it enabled by default?

Sent from my LG-VM670 using Tapatalk 2
 
Re: kernel mod to enable USB fast charging(now in the jawz101 ker

Updating the original post with all the information you all have requested
 
  • Like
Reactions: sammyz
When I click here's the commit, it takes me straight to github homepage....I'm on tapa so idk what the problem is...

Sent from my LG-LW690 using Tapatalk 2
 
I get this error while building:
Code:
drivers/built-in.o: In function `usb_chg_detect':
lowmemorykiller.c:(.text+0x6f124): undefined reference to `force_fast_charge'
make: *** [.tmp_vmlinux1] Error 1
any idea?

and this is almost the end of the building process :(
 
Im a bit lost. I flashed it a couple days ago, everything's still milky smooth on GingerDX. But, this patch, is always on? And does it only work via USB?

Sent from my LG-VM670 using Tapatalk 2
 

Trending Posts

Forum statistics

Threads
956,472
Messages
6,968,409
Members
3,163,553
Latest member
tripalh