- 08-14-2012, 11:04 AM
Thread Author #1
- 08-14-2012, 11:10 AM #2
- 08-14-2012, 01:27 PM #3Guess whos coming back!
- 08-14-2012, 01:52 PM #4
+1
Isn't this built in on AOKP too?
Sent from my LG-VM670 using Tapatalk 2 - 08-14-2012, 02:22 PM #5
- 08-14-2012, 02:22 PM
Thread Author #6
Re: kernel mod to enable USB fast charging
Last edited by jawz101; 08-17-2012 at 12:18 AM.
- 08-14-2012, 02:30 PM #7
Last edited by sammyz; 08-14-2012 at 02:42 PM.
- 08-14-2012, 02:40 PM
Thread Author #8
Re: kernel mod to enable USB fast charging
well there's code for the function that goes into the kernel & then you run a script from terminal or whatnot to toggle fast charging off & on since you'll still want to be able to turn it off when you want to connect your phone to your laptop & access the SD card storage.
It could be set to always be on and not have a toggle but there'd still need to be the kernel piece that says set USB to be AC power or back to USB power.
I don't know if you can make the patch a flashable thing, though. - 08-14-2012, 02:44 PM #9
- 08-14-2012, 03:03 PM #10
- 08-14-2012, 03:33 PM #11
Seeing as it's a kernel patch, I wonder if TDM included it in his kernel.
And yeah, all I use is Gingerbread :P
Sent from my LG-VM670 using Tapatalk 2Thanked by: - 08-14-2012, 07:57 PM #12
- 08-14-2012, 08:02 PM #13Guess whos coming back!
- 08-14-2012, 08:23 PM #14
Last edited by sammyz; 08-14-2012 at 08:31 PM.
- 08-15-2012, 08:15 AM #15
- 08-15-2012, 08:46 AM #16
- 08-15-2012, 12:03 PM #17
- 08-15-2012, 01:09 PM #18
- 08-15-2012, 01:31 PM #19
- 08-15-2012, 01:46 PM
Thread Author #20
Re: kernel mod to enable USB fast charging
most def. that's where I'm trying to figure out what files I need to touch:
FROM THE PATCH
/arch/arm/mach-s5pv210/Kconfig
+config FORCE_FAST_CHARGE
/arch/arm/mach-s5pv210/Makefile
+obj-$(CONFIG_FORCE_FAST_CHARGE)
/arch/arm/mach-s5pv210/fastchg.c *new file
+#include <linux/fastchg.h>
/arch/arm/mach-s5pv210/mach-herring.c
+#ifdef CONFIG_FORCE_FAST_CHARGE
+#include <linux/fastchg.h>
/include/linux/fastchg.h *new file
FOR VM670
/arch/arm/mach-msm/Kconfig?
+config FORCE_FAST_CHARGE
/arch/arm/mach-msm/Makefile?
+obj-$(CONFIG_FORCE_FAST_CHARGE)
/arch/arm/mach-msm/fastchg.c *new file
+#include <linux/fastchg.h>
/arch/arm/mach-msm/???.c
+#ifdef CONFIG_FORCE_FAST_CHARGE
+#include <linux/fastchg.h>
/include/linux/fastchg.h *new file
I don't know if I need to go into the makefile & kconfig in \arch\arm\mach-msm & edit those or arch\arm\mach-msm\lge\ to edit them - 08-15-2012, 02:28 PM #21
- 08-15-2012, 08:47 PM #22
- 08-15-2012, 09:31 PM #23
- 08-15-2012, 09:54 PM
Thread Author #24
- 08-16-2012, 06:51 AM #25





Reply




































