Page 2 of 5 FirstFirst 12345 LastLast
Results 26 to 50 of 112
Like Tree15Likes
  1. Thread Author  Thread Author    #26  
    jawz101's Avatar

    Posts
    155 Posts
    ROM
    MiRaGe ROM/jawz101 kernel

    Default

    I'll try asap

    Sent from my LG-VM670 using Tapatalk 2
    sammyz likes this.
  2. #27  
    sammyz's Avatar

    Posts
    825 Posts
    ROM
    OV:quattrimus OM:BACKside

    Default

    Compressing and uploading my source soon.

    Sent from my LG-LW690 using Tapatalk 2
  3. #28  
    sammyz's Avatar

    Posts
    825 Posts
    ROM
    OV:quattrimus OM:BACKside

    Default Re: kernel mod to enable USB fast charging

    source was too big for mediafire....made a bitbucket and added source here:

    I don't know how to add new branch so it is still test15 -____-
    wanted to rename it test15_fastcharge.....oh well..

    flashable zip download:
    someone test this please
    Thanked by 2:
    jawz101 likes this.
  4. Thread Author  Thread Author    #29  
    jawz101's Avatar

    Posts
    155 Posts
    ROM
    MiRaGe ROM/jawz101 kernel

    Default Re: kernel mod to enable USB fast charging

    is this a gingerbread kernel or ics?
  5. Thread Author  Thread Author    #30  
    jawz101's Avatar

    Posts
    155 Posts
    ROM
    MiRaGe ROM/jawz101 kernel

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



    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 by jawz101; 08-17-2012 at 12:17 AM.
    Thanked by:
    sammyz likes this.
  6. #31  
    sammyz's Avatar

    Posts
    825 Posts
    ROM
    OV:quattrimus OM:BACKside

    Default

    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
  7. #32  

    Default 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?
  8. Thread Author  Thread Author    #33  
    jawz101's Avatar

    Posts
    155 Posts
    ROM
    MiRaGe ROM/jawz101 kernel

    Default Re: kernel mod to enable USB fast charging

    I believe I've got it working had to add #include <linux/module.h> to the fastchg.c file. download to test.
    I'm posting further instructions on the jawz101 kernel threads
    Thanked by 3:
    flapjack.fiasco and tvall like this.
  9. #34  
    tvall's Avatar

    Posts
    591 Posts
    ROM
    cm9

    Default

    Sweet! Can you upload a patch too? I'd love to try to use this on ics or jb
    my roms & kernels (based on iho)

    If you'd like to donate to me, i accept litecoin, bitcoin, and hardware
    LTC - LTVALL5gsjPvgeiBWD7c6DHNWidbpzVu3w
    BTC - 1TVALLetFibDe8Zap5qPsqa4BAJWQYQ59
  10. #35  
    sammyz's Avatar

    Posts
    825 Posts
    ROM
    OV:quattrimus OM:BACKside

    Default

    Where's the source at for the working mod??? I wanna do this for some OM kernels

    Sent from my LG-LW690 using Tapatalk 2
  11. #36  

    Default

    Flashing now using GingerDX. I'll be reporting back soon. Is it enabled by default?

    Sent from my LG-VM670 using Tapatalk 2
  12. Thread Author  Thread Author    #37  
    jawz101's Avatar

    Posts
    155 Posts
    ROM
    MiRaGe ROM/jawz101 kernel

    Default 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
    Thanked by:
    sammyz 
  13. #38  
    sammyz's Avatar

    Posts
    825 Posts
    ROM
    OV:quattrimus OM:BACKside

    Default

    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
  14. #39  
    sammyz's Avatar

    Posts
    825 Posts
    ROM
    OV:quattrimus OM:BACKside

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

    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
  15. #40  

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

    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
  16. #41  

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

    Just wanted to say thanks for this, flashed the kernel on my OV running MiRaGe-CM7.2-IHO, phone no longer slowly runs down after reaching 100% charge. Also no longer experiencing the slow battery drain on long trips while using it with navigation apps or tethering in the car.
  17. #42  
    norosesnoskiesx's Avatar

    Posts
    15 Posts
    ROM
    bobzhomeCM10

    Default Re: kernel mod to enable USB fast charging

    Quote Originally Posted by jawz101 View Post
    I believe I've got it working had to add #include <linux/module.h> to the fastchg.c file. download to test.
    I'm posting further instructions on the jawz101 kernel threads
    has this zip been updated since the last post on this thread? anyone running this flashable on quattrimus as well?
  18. #43  
    jonny5449's Avatar
    AC Citizen

    Posts
    2,571 Posts
    ROM
    Cm7/Cm9/Cm10

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

    Quote Originally Posted by norosesnoskiesx View Post
    has this zip been updated since the last post on this thread? anyone running this flashable on quattrimus as well?
    For gb roms

    Sent from my LG-LS670 using Tapatalk 2
  19. #44  
    norosesnoskiesx's Avatar

    Posts
    15 Posts
    ROM
    bobzhomeCM10

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

    Quote Originally Posted by jonny5449 View Post
    For gb roms

    Sent from my LG-LS670 using Tapatalk 2
    any major issues with any ics roms?
  20. Thread Author  Thread Author    #45  
    jawz101's Avatar

    Posts
    155 Posts
    ROM
    MiRaGe ROM/jawz101 kernel

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

    Quote Originally Posted by sammyz View Post
    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 have no idea. Maybe it's this site update but it works from my laptop.

    Quote Originally Posted by sammyz View Post
    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
    I remember seeing that error msg at some point during the development of the patch though I can't remember what I did to fix it. If I can remember I'll report back.

    Quote Originally Posted by ThatGuyLurkin View Post
    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
    See the OP:
    To toggle fast charging from terminal you'd need to issue the command:

    on:
    echo 1 > /sys/kernel/fast_charge/force_fast_charge

    and off:
    echo 0 > /sys/kernel/fast_charge/force_fast_charge


    Quote Originally Posted by acrufox View Post
    Just wanted to say thanks for this, flashed the kernel on my OV running MiRaGe-CM7.2-IHO, phone no longer slowly runs down after reaching 100% charge. Also no longer experiencing the slow battery drain on long trips while using it with navigation apps or tethering in the car.
    If you're using the jawz101 kernel it isn't because of this mod. There's a lot of other changes compared to mrg's kernel I couldn't tell you which one is helping in that regard but I'm glad there's something going on cool with it. Thanks for the feedback!

    Quote Originally Posted by norosesnoskiesx View Post
    has this zip been updated since the last post on this thread? anyone running this flashable on quattrimus as well?
    See the kernel version in the about section on your phone's settings menu. If the date matches with the latest date on github for my kernel it's the latest I've posted.

    Quote Originally Posted by norosesnoskiesx View Post
    any major issues with any ics roms?
    Unless someone ports it for one of the ICS kernels. It should work if properly ported. I know the aokp builds already have fast charging built in.
  21. #46  

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

    Arg! I can't see the forum posts! I feel like I'm missing out on some good stuff.

    - - - Updated - - -

    Arg! I can't see the forum posts! I feel like I'm missing out on some good stuff.
  22. #47  
    sammyz's Avatar

    Posts
    825 Posts
    ROM
    OV:quattrimus OM:BACKside

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

    Quote Originally Posted by jawz101 View Post
    I remember seeing that error msg at some point during the development of the patch though I can't remember what I did to fix it. If I can remember I'll report back.
    I know that I can easily fix it to build if I remove force_fast_charge in the msm###.udc file (can't remember name) but I'm pretty sure if I remove that then the mod wont work -_-

    Sent from my LG-LW690 using Tapatalk 2
  23. Thread Author  Thread Author    #48  
    jawz101's Avatar

    Posts
    155 Posts
    ROM
    MiRaGe ROM/jawz101 kernel

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

    Quote Originally Posted by sammyz View Post
    I know that I can easily fix it to build if I remove force_fast_charge in the msm###.udc file (can't remember name) but I'm pretty sure if I remove that then the mod wont work -_-

    Sent from my LG-LW690 using Tapatalk 2
    which kernel are you using? I think mine gave that error as well caused somewhere in that file until I had it like it is
  24. #49  
    sammyz's Avatar

    Posts
    825 Posts
    ROM
    OV:quattrimus OM:BACKside

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

    LW690 branch from BobZhome. I even copied the entire msm###.udc file and it still gave the error..his MS690 branch is broken...wouldn't boot when I built it last.

    Sent from my LG-LW690 using Tapatalk 2
  25. #50  
    EarthnFire78's Avatar
    YAY!!! ME :)

    Posts
    964 Posts
    ROM
    Custom ROM & Kernel

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

    Question, is the USB-Mass-Storage not suppose to function when fast-charge is on, cause it does for me and i get no errors implement it?
Page 2 of 5 FirstFirst 12345 LastLast

Posting Permissions

B