sammyz
Well-known member
Try one, build, flash, if it fails, try /lge, build, flash...
Sent from my LG-LW690 using Tapatalk 2
Sent from my LG-LW690 using Tapatalk 2
Should be at github.com/thekraven
Sent from my VM670 using Tapatalk
/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
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
drivers/built-in.o: In function `usb_chg_detect':
lowmemorykiller.c:(.text+0x6f124): undefined reference to `force_fast_charge'
make: *** [.tmp_vmlinux1] Error 1