• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL][GPL][2.6.35.y][02/12/2012]CAF-ICS Kernel

Status
Not open for further replies.
Search This thread

thachtunganh

Senior Member
Mar 19, 2011
1,695
1,901
Hà Nội - Hanoi
First, i want to say thanks to:
  • Fserve, Hephappy, PaoloM70, Roqu3, doixanh : For every things. All credits give to you guy, specially is Fserve, Thank you Gerson :)!
  • af974, YZ: Thanks for being good Moderators for XDA Forum :D
  • Cyanogenmod Team, Code Aurora Forum: Special Thanks for sharing their kernel source with a lot of patches! :).
  • Tasssadar: For many advices :D.
  • DJNoxD: Big Thank for helping me and to fix errors :D
  • alezardstar, Aspee, RockR172, Andy572: Big thanks for helping me a lot :D
  • Der_Caveman, Mik_os, Franco Francisco, selphien and.... sorry i can't remember all people, Thanks for sharing and advising! :)
  • All XDA "GOOD" Members :D.

Bassiclly Features:
  • Based on "gingerbread_rel" branch from Code Aurora Forum, merged into CM7 official kernel source. Thanks to Hephappy for doing this ;).
  • Backported stuffs from 3.0 kernel to make this kernel run on ICS ROM - All Credits to LGICS Team.
  • Updated kernel version from 2.6.35.10 to 2.6.35.14 with Power Management patches for better battery life.
  • Completly Fair Scheduler with Autogroup feature.
  • Overclocking support. CPU Frequencies that added: from 652Mhz - 806Mhz.
    - Tip: Most of P500 can overclock to 729Mhz, becareful with higher frequencies.
  • Implemented SmartassV2 Governor with optimizations. Use as default governor.
  • Implemented optimized touch screen driver with multi-touching hack and High CPU Usage bug workaround (CPU Usage goes high when you touch the screen).
    - Thanks to Der_Caveman for rewriting a better touch screen driver, waleedq and sippolo for implementing Axis Inversion hack, fserve for High CPU Usage bug fixes.
  • Camera Flickering fix ;)
  • Tons of patches/tweaks from CAF, Cyanogenmod, me, many other people... All credits to them!

Bugs:
  • Enabling GPS will bring "GPS wakelock". This will prevent your phone from going to deep sleep
    Fix: Reboot your phone after enable GPS.
  • Random Rebooting... Nothing to say!

Reporting bugs:
  • Provide logcat when report bugs!

How to install:
  • Install the Kernel:
    • Reboot to Recovery.
    • Backup all thing FIRST!
    • Choose the caf-p500-xxxxxxxx-xxxx.zip (xxxxxxxx-xxxx is the kernel version)
    • Done it right? Reboot the system and Enjoy.

Tricks/Tips for getting better battery life:
  • Use the default governor - smartassv2! Highly Recommend!
  • Don't use CPU Profiles, SmartassV2 already has that.
  • Don't over clock your phone to higher than 729Mhz.

Kernel Download:

Source:
 
Last edited:

thachtunganh

Senior Member
Mar 19, 2011
1,695
1,901
Hà Nội - Hanoi
Changelog

Changelog:
02/12/2012:
- Get up-to-date with Genet ICS kernel:
  • Remove obsolete audio pmem & increase PMEM_ADSP size.
  • Upgrade frame buffer to 3.0 kernel
  • Backport adsp_video_verify from .38 kernel
  • Update ashmem to msm-3.4
Full changelog: https://github.com/thachtunganh/caf-kernel/compare/b9810925f6...37cae19423

18/11/2012:
- Enable UID_STAT.
Is it possible to enable uid_stat in this kernel?
This stuff activates per application traffic counter. Very useful thing with expensive mobile internet...
. Well, thank you for the tip ;)
- Apply some PM patches, hope those patches can improve battery life ;)
- Use XZ compression to compress kernel image.
- Please notice this version is for testing!

09/10/2012:
- Compiled with lastest Android NDK (r8b - new 4.6.3 GCC for ICS and Jelly Bean). And now Wifi module size is reduced from about 3MB to ~400KB :D.
- TUN/TAP module now is built in kernel image ;). Well, get more free space on ICS and Jelly Bean is awesome :D
- Update to Kernel release 2.6.35.14. :victory: (But i haven't apply some Power Management (PM) patches yet).
- Add Snappy compression support to zram. (this patch is from Zeev Tarantov . With Snappy, Zram uses less CPU time and is thus more useful, thanks to him!)
- Patches from Rashed97 - Who brought Unofficial CM10 Build for our device :laugh:
  • Fix mdp4_overlay for MDPI devices.
  • Hack for CRT animations fix. :D
- disable GENTLE_FAIR_SLEEPERS Sleeper Fairness in CFS. (this patch is from securecrt - Who Developed HWA kernel for ICS. Disabling Gentle Fair Sleepers could improve UI responsiveness. Thanks to him, too !:p)
- Restored a missed patch, AND USB MASS STORAGE PROBLEM ON ICS ROM IS FIXED WITH THIS PATCH (this patch is from Hephappy. Thanks to him!)

20/08/2012: From alezardstar, post #1048 . Big thank to him!
- smartassv2: some optimization for the governor.
- Use original CPU Frequencies. - No More Undervolted CPU Frequencies!
- Compiled with lastest Android NDK (r8b - new 4.6.3 GCC for ICS and Jelly Bean).

20/07/2012:
- Disabled Vsync for scrolling smoothness.
- Various tweaks from me. (Undervolted CPU frequencies (Undervolt 1 level): 122, 245, 320, 480, 600 Mhz. Increase Vibration level (from 115 to 120)).
- p500: Fix proximity sensor (thanks cyrix.vs) (took from hephappy, thanks to cyrix.vs).
- qdsp5: Incall recording pcm driver (took from hephappy).
- Tune dirty_background_ratio and vm_dirty_ratio (nobodyAtall AKA nAa from Xperia X8, X10 Mini, X10 Mini Pro Mobile Phone developement)
- Revert "Backport memory manager (mm) from ics_chocolate" module_alloc fails when wireless module activated in AP mode (hephappy).
- Revert "bcm4325: disable wakeup irq when device sleeps". (me)
- cpufreq: smartass2: change DEFAULT_RAMP_UP_STEP. (me)

02/07/2012:
- Implement optimized touch screen driver by Der_Caveman (Big thank to Tasssadar).
- sched_fair tweaks for improving performance. (IHO from OV).
- bcm4325: Force powersave mode, disable wakeup irq when device sleeps (IHO from OV, Mik_os).
- add the Stochastic Fair Blue (SFB) network scheduler. (LorDClockaN).
- fix rpcrouter misspelling (css771).
- usb: gadget: Remove unsupported mtp & ptp functions (hephappy).
- Disabled Hardware Keyboard support.

28/06/2012:
- Fix Data Usage - Set mobile data limit funtion for ICS. (lupohirp)
- Fix battery stat for ICS. (lupohirp).
- Enable Zcache in kernel. (me)
- Some bluetooth patches (Peter Hurley, jhovold).
- ext4: check for zero length extent (tytso)

25/06/2012:
- Fix USB Mass Storage for ICS. (hephappy).
- Bluesleep: Fix Wakeup (Tasssadar).
- Split out 2 part: Kernel (Normal Users) and Extra Modules (Extra For VPN, Tethering Users).

17/06/2012:
- Updated KGSL drivers (mikegapinski).
- Added frontswap, zCache, Cleancache; updated zRam. (lupohirp).
- Added Genlock (mikegapinski).
- Updated vidc/camera headers for compatibility (mikegapinski).
- Backport Memory Manager (mm) from Code Aurora Forum kernel, ics_chocolate branch (hephappy).
- Backport binder from 3.0rc6 kernel (Drew Walton)
- msm_fb : Add support for Yamato format (our adreno200 gpu) (lupohirp).
- Updated VFP code (lupohirp).
- Update network interface (adfad6666).
- cpufreq: backport cpufreq code from 3.0rc6 kernel (me).
- USB: f_mass_storage: Disable write cache support (Chiranjeevi Velempati).
- Many sched, autogroup patches (Mike Galbraith)
 
Last edited:

dnle71

Senior Member
Nov 9, 2011
914
194
I've been waitin' for like 5hrs??
Dowloadin'..

Sent from my LG-P500 using Tapatalk
 

thachtunganh

Senior Member
Mar 19, 2011
1,695
1,901
Hà Nội - Hanoi
It's also not working with Stock Cm7 kernel may be it's the problem in rom so chill :p

okay confirmed problem is in ROM :)

Oh, you mean the camera exposure , it's the camera flicker right?
If it right , it is the OC method , i use SoC OC method from cyangogenmod source.
The flicker fixed long time ago, i will fix it when i release the ICS kernel :D

Hey.. can u tell me what undervolting exactly does??

Sent from my LG-P500 using xda premium

Undervolt will under the voltage of CPU Frequencies , it'll give you bettery battery life and stablity. And about the undervolt 748Mhz freq , i didn't do that.... I didn't test to undervolt 600Mhz and higher frequencies... doixanh (i took the undervolt frequencies from him) told me that it will crash when i undervolt 600Mhz and higher frequencies
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 160
    First, i want to say thanks to:
    • Fserve, Hephappy, PaoloM70, Roqu3, doixanh : For every things. All credits give to you guy, specially is Fserve, Thank you Gerson :)!
    • af974, YZ: Thanks for being good Moderators for XDA Forum :D
    • Cyanogenmod Team, Code Aurora Forum: Special Thanks for sharing their kernel source with a lot of patches! :).
    • Tasssadar: For many advices :D.
    • DJNoxD: Big Thank for helping me and to fix errors :D
    • alezardstar, Aspee, RockR172, Andy572: Big thanks for helping me a lot :D
    • Der_Caveman, Mik_os, Franco Francisco, selphien and.... sorry i can't remember all people, Thanks for sharing and advising! :)
    • All XDA "GOOD" Members :D.

    Bassiclly Features:
    • Based on "gingerbread_rel" branch from Code Aurora Forum, merged into CM7 official kernel source. Thanks to Hephappy for doing this ;).
    • Backported stuffs from 3.0 kernel to make this kernel run on ICS ROM - All Credits to LGICS Team.
    • Updated kernel version from 2.6.35.10 to 2.6.35.14 with Power Management patches for better battery life.
    • Completly Fair Scheduler with Autogroup feature.
    • Overclocking support. CPU Frequencies that added: from 652Mhz - 806Mhz.
      - Tip: Most of P500 can overclock to 729Mhz, becareful with higher frequencies.
    • Implemented SmartassV2 Governor with optimizations. Use as default governor.
    • Implemented optimized touch screen driver with multi-touching hack and High CPU Usage bug workaround (CPU Usage goes high when you touch the screen).
      - Thanks to Der_Caveman for rewriting a better touch screen driver, waleedq and sippolo for implementing Axis Inversion hack, fserve for High CPU Usage bug fixes.
    • Camera Flickering fix ;)
    • Tons of patches/tweaks from CAF, Cyanogenmod, me, many other people... All credits to them!

    Bugs:
    • Enabling GPS will bring "GPS wakelock". This will prevent your phone from going to deep sleep
      Fix: Reboot your phone after enable GPS.
    • Random Rebooting... Nothing to say!

    Reporting bugs:
    • Provide logcat when report bugs!

    How to install:
    • Install the Kernel:
      • Reboot to Recovery.
      • Backup all thing FIRST!
      • Choose the caf-p500-xxxxxxxx-xxxx.zip (xxxxxxxx-xxxx is the kernel version)
      • Done it right? Reboot the system and Enjoy.

    Tricks/Tips for getting better battery life:
    • Use the default governor - smartassv2! Highly Recommend!
    • Don't use CPU Profiles, SmartassV2 already has that.
    • Don't over clock your phone to higher than 729Mhz.

    Kernel Download:

    Source:
    54
    Changelog

    Changelog:
    02/12/2012:
    - Get up-to-date with Genet ICS kernel:
    • Remove obsolete audio pmem & increase PMEM_ADSP size.
    • Upgrade frame buffer to 3.0 kernel
    • Backport adsp_video_verify from .38 kernel
    • Update ashmem to msm-3.4
    Full changelog: https://github.com/thachtunganh/caf-kernel/compare/b9810925f6...37cae19423

    18/11/2012:
    - Enable UID_STAT.
    Is it possible to enable uid_stat in this kernel?
    This stuff activates per application traffic counter. Very useful thing with expensive mobile internet...
    . Well, thank you for the tip ;)
    - Apply some PM patches, hope those patches can improve battery life ;)
    - Use XZ compression to compress kernel image.
    - Please notice this version is for testing!

    09/10/2012:
    - Compiled with lastest Android NDK (r8b - new 4.6.3 GCC for ICS and Jelly Bean). And now Wifi module size is reduced from about 3MB to ~400KB :D.
    - TUN/TAP module now is built in kernel image ;). Well, get more free space on ICS and Jelly Bean is awesome :D
    - Update to Kernel release 2.6.35.14. :victory: (But i haven't apply some Power Management (PM) patches yet).
    - Add Snappy compression support to zram. (this patch is from Zeev Tarantov . With Snappy, Zram uses less CPU time and is thus more useful, thanks to him!)
    - Patches from Rashed97 - Who brought Unofficial CM10 Build for our device :laugh:
    • Fix mdp4_overlay for MDPI devices.
    • Hack for CRT animations fix. :D
    - disable GENTLE_FAIR_SLEEPERS Sleeper Fairness in CFS. (this patch is from securecrt - Who Developed HWA kernel for ICS. Disabling Gentle Fair Sleepers could improve UI responsiveness. Thanks to him, too !:p)
    - Restored a missed patch, AND USB MASS STORAGE PROBLEM ON ICS ROM IS FIXED WITH THIS PATCH (this patch is from Hephappy. Thanks to him!)

    20/08/2012: From alezardstar, post #1048 . Big thank to him!
    - smartassv2: some optimization for the governor.
    - Use original CPU Frequencies. - No More Undervolted CPU Frequencies!
    - Compiled with lastest Android NDK (r8b - new 4.6.3 GCC for ICS and Jelly Bean).

    20/07/2012:
    - Disabled Vsync for scrolling smoothness.
    - Various tweaks from me. (Undervolted CPU frequencies (Undervolt 1 level): 122, 245, 320, 480, 600 Mhz. Increase Vibration level (from 115 to 120)).
    - p500: Fix proximity sensor (thanks cyrix.vs) (took from hephappy, thanks to cyrix.vs).
    - qdsp5: Incall recording pcm driver (took from hephappy).
    - Tune dirty_background_ratio and vm_dirty_ratio (nobodyAtall AKA nAa from Xperia X8, X10 Mini, X10 Mini Pro Mobile Phone developement)
    - Revert "Backport memory manager (mm) from ics_chocolate" module_alloc fails when wireless module activated in AP mode (hephappy).
    - Revert "bcm4325: disable wakeup irq when device sleeps". (me)
    - cpufreq: smartass2: change DEFAULT_RAMP_UP_STEP. (me)

    02/07/2012:
    - Implement optimized touch screen driver by Der_Caveman (Big thank to Tasssadar).
    - sched_fair tweaks for improving performance. (IHO from OV).
    - bcm4325: Force powersave mode, disable wakeup irq when device sleeps (IHO from OV, Mik_os).
    - add the Stochastic Fair Blue (SFB) network scheduler. (LorDClockaN).
    - fix rpcrouter misspelling (css771).
    - usb: gadget: Remove unsupported mtp & ptp functions (hephappy).
    - Disabled Hardware Keyboard support.

    28/06/2012:
    - Fix Data Usage - Set mobile data limit funtion for ICS. (lupohirp)
    - Fix battery stat for ICS. (lupohirp).
    - Enable Zcache in kernel. (me)
    - Some bluetooth patches (Peter Hurley, jhovold).
    - ext4: check for zero length extent (tytso)

    25/06/2012:
    - Fix USB Mass Storage for ICS. (hephappy).
    - Bluesleep: Fix Wakeup (Tasssadar).
    - Split out 2 part: Kernel (Normal Users) and Extra Modules (Extra For VPN, Tethering Users).

    17/06/2012:
    - Updated KGSL drivers (mikegapinski).
    - Added frontswap, zCache, Cleancache; updated zRam. (lupohirp).
    - Added Genlock (mikegapinski).
    - Updated vidc/camera headers for compatibility (mikegapinski).
    - Backport Memory Manager (mm) from Code Aurora Forum kernel, ics_chocolate branch (hephappy).
    - Backport binder from 3.0rc6 kernel (Drew Walton)
    - msm_fb : Add support for Yamato format (our adreno200 gpu) (lupohirp).
    - Updated VFP code (lupohirp).
    - Update network interface (adfad6666).
    - cpufreq: backport cpufreq code from 3.0rc6 kernel (me).
    - USB: f_mass_storage: Disable write cache support (Chiranjeevi Velempati).
    - Many sched, autogroup patches (Mike Galbraith)
    48
    Download Section:

    CAF Kernel (For ICS ONLY):

    Old Kernel LIKE ta-gb, thunderVN (For Gingerbread ONLY)
    18
    Hi Guys, well, i think that i've worked hard on kernel for a month. But, today, i think that i should stop, because now i have a lot of homework and many exams. When 20/6, i will have the biggest TESTS, if i fail one of them, so, my life will go down, and i can't get a job, so i will be a poor guy or will be so hard to earn money.... Now i just have about 3 months to learn, the tests will include what i have learn from 3 years ago until now, they will choose the hard excercise and put it to the exams.

    Well, i have to stop, but i still help the dev if they need. And all you still can use my kernel source , fix , clean and develop it... do more, develop never be stop, it will always go forward!
    10
    Well done. Thanks to DJ and TA you could use the latest changes in the CAF Kernel made by TA. The changelog is this:

    Code:
    - smartassv2: some optimization for the governor.
    - Updates to kernel source. (Remove the extra script because we don't need any extra modules anymore).
    - thunderg: Snappy compresstion support to Zram.
    - Revert some patches.

    Download: http://www.mediafire.com/download.php?x16mm84ljez4qmx

    Remember, if u want say thanks, press thanks button of TA or DJ. I didn't anything, simply compile the latest sources of TA, anymore. So press the thanks button of them, not of me. I'll check the github and if there are any new changes I'll compile and upload again.