[Kernel]G2x-CM7[2.6.32.60] (054-stable)OC~1.55GHz/UV/SLQB/BFQ/ZRAM/Voodoo [Oct-9]

Search This thread

EEngineer

Senior Member
Oct 20, 2011
954
173
USA
T-Mobile LG G5
Can someone tell me what's the difference between the
P999-CM-Kernel-054-sv-stable.zip
and
P999-CM-Kernel-054-sv-lg-stable.zip

kernels? What difference does the Low Grade (lg) mean?
 

justjackyl

Senior Member
Jul 28, 2012
1,539
565
Can someone tell me what's the difference between the
P999-CM-Kernel-054-sv-stable.zip
and
P999-CM-Kernel-054-sv-lg-stable.zip

kernels? What difference does the Low Grade (lg) mean?

sv you can undervolt with sv stable. LG ver you cannot. Sv means stock voltage.

Sent from my glorified LG pet rock™
 

EEngineer

Senior Member
Oct 20, 2011
954
173
USA
T-Mobile LG G5
sv you can undervolt with sv stable. LG ver you cannot. Sv means stock voltage.
Installed faux 054 SV. Haven't played around with undervolting yet.
Do I have to use Pimp My CPU for undervolting?
Anyway, phone gets really hot at 1.5GHz. I'm still running tests.
At one point my G2X wouldn't turn on, I removed the battery (original OEM battery) and it was very hot.

There is one problem with faux kernel and it is with playing videos. I even tried this at only 1.1GHz max. If I play a video, any video, even for just one second, when I stop playing the video I can't scroll, swipe, or pinch-zoom anything. I can't pinch-zoom the video I'm playing either. This happens if I use MX Video Player the built-in video player, or any video player.

That means I can't scroll the desktop, the task bar, menus, nothing. The screen will only respond to a tap, nothing else. I have to press the power button to turn the screen off, then turn the screen back on again, and scrolling is enabled again. Is this a known bug?
 

justjackyl

Senior Member
Jul 28, 2012
1,539
565
Installed faux 054 SV. Haven't played around with undervolting yet.
Do I have to use Pimp My CPU for undervolting?
Anyway, phone gets really hot at 1.5GHz. I'm still running tests.
At one point my G2X wouldn't turn on, I removed the battery (original OEM battery) and it was very hot.

There is one problem with faux kernel and it is with playing videos. I even tried this at only 1.1GHz max. If I play a video, any video, even for just one second, when I stop playing the video I can't scroll, swipe, or pinch-zoom anything. I can't pinch-zoom the video I'm playing either. This happens if I use MX Video Player the built-in video player, or any video player.

That means I can't scroll the desktop, the task bar, menus, nothing. The screen will only respond to a tap, nothing else. I have to press the power button to turn the screen off, then turn the screen back on again, and scrolling is enabled again. Is this a known bug?

I use CPU master to undervolt.

The bug your encountering sounds like the lag bug when the soft key leds are off. By hitting the power button on/off it forces those back on?
That sound right?
Are you using any app to kill those lights? With Faux, you can't.

Sent from my glorified LG pet rock™

---------- Post added at 12:07 PM ---------- Previous post was at 11:48 AM ----------

EE- I wanted to add in this is a known issue on Faux.
I use MX Player as well. Any app that kills the softkey led will cause severe screen/input lag if that app does not turn the lights on after it exits or you jump to home screen from app.
MX and Netflix apps both will do this for me if I exit the app by just pressing home. If I exit the app via back button or in app quit/exit button the lights come back and does not lag. Mazouts kernel fixes this starting with v205, but as I said, if control of the lights is handed back to system when app is done it won't happen. Try killing the app.

Also, it is known that some models of this phone hate faux and love trinity and vice versa. I am blessed to have a model that doesn't care. If you have issues with faux, try Trinity T15.

Also, yes, by default install Faux is OC to 1.5 and burns up the phone. I'm sure you've bumped it down by noe. My phone will handle 1480mhz, anything over is a bake fest.
I gotta go to work.

Do you use GTalk at all?
justjackyl@gmail.com
add me if you'd like to talk directly.

Sent from my glorified LG pet rock™
 

justjackyl

Senior Member
Jul 28, 2012
1,539
565
Thanks for everyone's help. It would have been nice if there was a bug list for faux.

Can I assume all faux-based kernels has this bug, like Mazout360's kernel?

Its been mentioned in this thread. Maybe Ill compile a bug list for my kernels thread. Digging through thia thread is a headache.
Mazout just used source, he has fixed that issue.
As long as you exit an app that kills those lights, you should be fine.
Try Trinity T15 if your not happy with Faux.
Or Maz's 205OC . Stay away from 218 , I've had nothing but issies.
Does the voice lag still exist?
Also, can you test wifi call on another hotspot at say a friends house?

Sent from my glorified LG pet rock™
 

EEngineer

Senior Member
Oct 20, 2011
954
173
USA
T-Mobile LG G5
Its been mentioned in this thread. Maybe Ill compile a bug list for my kernels thread. Digging through thia thread is a headache.
Mazout just used source, he has fixed that issue.
As long as you exit an app that kills those lights, you should be fine.
Try Trinity T15 if your not happy with Faux.
Or Maz's 205OC . Stay away from 218 , I've had nothing but issies.
Does the voice lag still exist?
Also, can you test wifi call on another hotspot at say a friends house?
Yeah, but when playing video I can't pinch-zoom or scroll, so Faux is out for me.

I had Trinity ELP, worked fine but camera quality could have been better. Or maybe it was because I was using an old CM7 nightly.

So it's between Trinity T15 and Maz 205OC. Trinity is older so I think I'll try Maz first.

From http://goo.im/devs/Mazout360/KernelP999 am I looking at Mazkrnl_0205GBOC.zip ?

Yes, I still get the voice lag. Free WiFi in my area so far blocks VoIP. A friend's house means messing with their router, maybe it comes down to the mismatched baseband?

UPDATE: Installed Mazkrnl_0205GBOC.zip. Nice and fast and smooth.
But I've lost haptic feedback on softkeys, no vibration, even though it's selected in Settings. Feels very strange.
 
Last edited:

redmonke255

Senior Member
Jan 12, 2012
1,041
295
Fort Worth, Texas
Honestly the stock cm kernel is pretty decent. Not noticing bugs and I have an app that restarts my phone once a day so there isn't much slow down.

Sent from my LG-P999 using xda app-developers app
 

EEngineer

Senior Member
Oct 20, 2011
954
173
USA
T-Mobile LG G5
Did a test where I put my phone on pass-through of my router (DMZ) - still the voice lag on WiFi calling so it's not the router.

Also, tried it with an old RIL that matches the baseband v10f and I still get the voice lag.
 

EEngineer

Senior Member
Oct 20, 2011
954
173
USA
T-Mobile LG G5
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 161
    Here's a kernel build based on CM7 Kernel Source Tree

    Special Shout out to DebauchedSloth for his pull requests and collaboration on this open source project

    Just a statement regarding kernel source: The Kernel Source is of course covered under GPL version 2. Free software does NOT mean no work or time was spent working on it. I have donated a large sum of my free time to hack this kernel. If you use my modified kernel source in its entirety, I kindly ask you to send me a github pull request or PM whenever you find bugs or think you can help improve my kernel hack further. This way the entire community will truly benefit from the spirit of open source. Thank you :cool:

    What is a Kernel? The Kernel is the Foundation in which everything else builds upon in any software system.
    [Car Analogy]: Kernel is like the Engine, Electrical system and the Transmission to a car. The Library, Framework and the Apps [AKA ROM] are the body frame and the rest of the Car.




    THIS KERNEL is BASED ON CM7 Source Code. So it is COMPATIBLE ONLY WITH CM7 Builds.

    Please DO NOT use any task killers, they DO NOT improve performance nor battery life. They INTERFERE with your phone's stability (more crashes) and App compatibilities (Forced Close).


    ZRAM (aka CompCache aka RAMZSwap)

    ZRAM is an updated version formally known as CompCache and RAMZSwap. It was originally designed for 2.6.38.xx kernels, I have backported to our 2.6.35.xx kernel. ZRAM allows real-time compression of memory objects in RAM thus reducing memory pressure for the Linux kernel and can keep more apps in memory longer (more apps in RAM == better performance, less fetching from slower MMC or SDCard). Compression, however, is not Free. Some CPU cycles are required to do the compress/decompression, so there's a slight penalty for it. The original CompCache / RAMZSwap required a user space binary to control its behavior which adds additional penalty to performance, but the new version ZRAM eliminated the need for a separate dedicated daemon, thus reducing the overhead and increased performance from the old CompCache by 20%. Therefore, with the newer implementation of ZRAM interface, the performance penalty is almost negligible. :D

    Joe's RCU (Optimized for Small SMP systems)

    Joe Korty has created an RCU for small SMP systems (> 32 cores). His approach is to isolate all the Garbage Collection (GC, a slow time consuming but necessary processing) to a single core, thus allowing other cores to ONLY work on real required processing. This will allow the additional cores to complete their assigned tasks as fast as possible (not bogged down by GC) then immediately go back to a suspended state (saving battery).

    Fast No Hz RCU (Optimized for SMP operations)

    Fast NoHz is an optimized version of the traditional Tree RCU. Many new kernels are using the Tickless NoHz design. This RCU is tailored and designed to work with the new NoHz kernel system.

    Brain F*ck Scheduler - (BFS)

    This scheduler is designed to be simple and speedy tailor specifically for user interface type systems such as desktop/smart phone devices where user interaction is MORE important than serving 1 million web requests (CFS, the default scheduler) at the same time (think of nimble desktop workstations vs large corporate servers).

    SLQB - (SLAB allocator with Queue)

    This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate). Not all kernels are using SLQB including CM7 main line...

    Fair Budget Queue (BFQ I/O scheduler)

    This I/O scheduler is an improvement on top of Completely Fair Queue (CFQ). CFQ is fair in terms of time but not in terms of throughput / bandwidth, so BFQ make sure that both time and throughput / bandwidth are balanced across all requests.

    THIS IS ONLY FOR THOSE WHO ARE WILLING to FLASH THIS ON HIS/HER OWN PHONE... IF YOU ARE NOT COMFORTABLE WITH THIS YOU SHOULD NOT FLASH THIS.

    For those who decide to flash, please post the results and/or issues here :D




    [ Current Release Files: ]

    [ Start @ 1.0 GHz, Stock Voltage, Max @ 1.55 GHz ]
    (Official LGE/Tegra Voltage Values, Same as STOCK LGE Kernel)

    The File ==> CM SV Kernel Version 054 stable <==

    [ Start @ 1.0 GHz, Stock Voltage (Low Grade aka LG, Max @ 1.48 GHz ]
    (Official LGE/Tegra Voltage Values, Same as STOCK LGE Kernel)

    The File ==> CM SV Kernel Version 054 stable (LG) <==

    [ Installation procedure: ]

    1. reboot to CWM
    2. Clear cache
    3. Advanced, clear Dalvik
    4. install zip from SDcard
    5. Reboot

    DONE!

    [ Bulletin: ]

    Version 050 is out. SOD, performance issues fixed :D


    [ Bugs: ]

    None so far... :p

    [ History: ]

    See 2nd post below!

    Standard Disclaimer: Not responsible for bricking your phone, voiding your warranty, or any other pain or suffering you may feel as result of using this ROM or Kernel!!!


    My github in Compliance with GPL :D
    25
    [ History: ]

    Version 0.0.1 (deprecated)

    Added SLQB memory allocator
    Added FakeShmoo OC/UV
    Added MinMax Governor

    Version 0.0.2 (deprecated)

    Adjusted Touch Sensitivity
    Adjusted virtual keyboard deadzone

    Version 0.0.3 (deprecated)

    Updated Kernel to 2.6.32.40!!! Latest Patches!

    Version 0.0.4 (deprecated)

    Added new 1500 MHz frequency
    Made Performance Governor Default (supposedly Tegra has HW scaler)
    Default to 1100 MHz as startup frequency.

    Version 0.0.5 (deprecated)

    Fixed Max OC to allow proper 1.5 GHz setting
    Revert back to MinMax Governor to conserve Battery Life

    Version 0.0.6 (deprecated)

    Updated kernel battery driver for better battery reading
    Reduced amount of memory freed by oom_kill
    Undervolted -50mv across the board by default
    Lowest CPU Freq is now 400 MHz instead of 300 MHz, voltage remain the same
    Governor switched back to performance due to some issues

    Version 0.0.7 (deprecated)

    Removed unnecessary spin locks to eliminate random stalls (lag)

    Version 0.0.8 (deprecated)

    Removed LG ATS driver support (not needed)
    Removed ERRATA 720789 (not needed)

    Version 0.0.9 (deprecated)

    [ major fail on my part. blame on 3AM kernel hacking ]
    Patched MM portion of kernel
    Added Relaxed I/O accesses

    Version 0.1.0 (deprecated)

    Patched from 2.6.32.40 to 2.6.32.41
    Compiled with Tegra2 specific VFP optimizations :D

    Version 0.1.1 (deprecated)

    Compiled with even MORE Tegra2 specific optimizations :D

    Version 0.1.3 (Beta, Closed!)

    Updated battery driver by DebauchedSloth :D
    Boosted Headset volume by DebauchedSloth :D

    Version 0.1.4 (Beta, Closed!)

    Updated battery driver (part 2) by DebauchedSloth :D

    Version 0.1.7 (deprecated)

    Use normal oom_killer threshold
    Upated to use TMUS specific CPWatcher (fixed kernel oops)
    Revert star_battery change internal percentage calc method
    Mem Cgroup optimizations
    Fixed init.d issue
    Added read-ahead cache for internal FLASH and SDCARD

    Version 0.1.8 (deprecated)

    Patched MM
    Patched ASHMEM
    Updated RCU to use NoHz matching NoHz for SMP used by Tegra2

    Version 0.1.9 (deprecated)

    BCM4329 disable ISCAN, enabled CSCAN
    Patched RCU IRQ handling
    Grab CPU Serial Number during boot

    Version 0.2.0 (deprecated)

    Added LG specific LED kernel driver (props to Aremcee)
    Enabled LED generic driver

    Version 0.2.1 (deprecated)

    Fixed LG LCD Back Light driver
    Updated LG LCD ALC/ALS sense cycle from every second to every 1.5 seconds (reduce pulsing effect)

    Version 0.2.2 (deprecated)

    Memory Carveout reduced from 128 MB to 64 MB
    Updated LED config
    Overclocked AVP from 240000 KHz to 266400 KHz
    Overclocked DDR2 SDRAM timing from 300 MHz to 333 MHz

    Version 0.2.3 (deprecated)

    Updated BlackLight driver to be more compatible

    Version 0.2.4 (deprecated)

    Reduced cpu load by making LED notification as a single cpu thread
    Reduced cpu load by making Battery driver polling as a single cpu thread
    Reverted back to CM7 battery driver for now

    Version 0.2.7 (deprecated)

    Updated OC Voltages and Frequencies for UV and SV kernels
    UV Kernel up to 1.55 GHz
    SV Kernel up to 1.40 GHz
    Fixed Gyro/Accelerometer output scale factor
    Fixed Suspend issue
    Fixed lag issue

    Version 0.2.8 (deprecated)

    Enabled USB Accessories Support
    Revert to DS' Battery Driver (CM7 batter driver was causing overheating issues and faulty charges).

    Version 0.2.9 (deprecated)

    Patched to the p990h v10a drop
    Split DS and CM driver into separate zips
    Dropping EXT3 versions (too many zips to deal with)

    Version 0.3.0 (deprecated)

    Fixed WiFi DeepSleep
    Enable BT Address access
    Reduced unnecessary activities in Battery Charger
    Power off Hall Sensor (magnetic) and Accelerometer when not using

    Version 0.3.1 (deprecated)

    Fixed overly aggressive accelerometer sleep policy
    Added Voodoo Sound Processing

    Version 0.3.2 (deprecated)

    Reverted both power save for Hall and Accelerometer
    (Both commits broke magnetic and compass drivers)

    Version 0.3.3 (deprecated)

    Partially revert load reduction for battery drivers (CM7 and DS)
    (this is to fix alarm issue)
    Revert WiFi deep sleep policy
    (this is to fix WiFi Calling Issue while screen off)

    Version 0.3.4 (deprecated)

    Changed GPU carving back to 128MB to fix reboot issues
    Cleaned up FakeShmoo Overclock code in general for future tweaks
    GPU 3D overclock enabled
    APV Overclock increased to 280000
    Added new LED notification compatibility

    Version 0.3.5 (deprecated)

    Updated to LG latest drop v10e
    Allowed LED lights to be configurable

    Version 0.3.6 (deprecated)

    Updated to LG latest drop v10e (part 2)
    Updated touch screen driver

    Version 0.3.7 (deprecated)

    Reverted drop v10e's NVRM changes
    Adjusted sleep GPIO settings
    Updated Kernel to patch level 2.6.32.42

    Version 0.3.8 (deprecated)

    tegra_gps: Hold wakelock while GPS is in use
    Cleaned up OC minor coding error
    Updated Bluetooth Sleep driver from V21e (Better Power Savings)
    Added Compressed RAM Swap Memory from LGE V21e (More available RAM)
    Updated WL driver to use thread based control from LGE V21e (Better way of Control)
    Updated Gyro Accel, Compass and TS0710MUX (used for GSM) drivers from LGE V21e (Faster Transfer and better sensor readings)
    Added Memory Carveout Killer to reclaim unused memory from LGE V21e (More available RAM)

    Version 0.4.1 (deprecated)

    Fixed oops that was 0.4.0 (Blame midnight hax and lack of caffeine)
    Patched kernel to 2.6.32.45
    Updated Battery Charger driver from LGE V21e
    Updated rindrv for better TCP throughput from LGE V21e
    Updated Mic Bias for headset from LGE V21e
    Updated Headset and Amp initialization order per LGE V21e
    star_bl: Lower ALC voltage values
    p99x: Board file updates from v21e
    star: Fix headset detection on resume
    star_powerkey: Fix missed events while on LP1
    star_proximity: Move event generation to workqueue
    nvodm_touch_synaptics: Adjust coordinate limits
    star_proximity: Fix pin assignment on p999
    Updated CM7 battery charger driver

    Version 0.4.2 (deprecated, Nightly 143+)

    Updated RAMDISK for Nightly 143+
    USB: Remove serial functions from RNDIS composition
    Revert "TTY: ldisc, do not close until there are readers
    Revert "Fix memory leak in cpufreq_stat
    removed LGE's compressed RAM Swap

    Version 0.4.3 (deprecated)

    Used the git implementation of SHA-1 to reduce boot time by 11%
    Updated uidstat to only count IPv4 traffic
    Optimized memcpy and memmove for string library calls (real working version ;) )
    Version 0.4.4 (deprecated, Nightly 174+)

    Added optimized CRC32 and CRC32c which pretty much improves EVERYTHING which use those 2 library calls including File Systems, TCP/IP etc
    Added Arcee's SPI DVS patch
    Added LZO compression support (for ZRAM)
    Added ZRAM patched to beyond Linux 3.1-rc9 (a newer version of Ramzswap without user space daemon )
    tegra: Updated nvhost for new star userspace bits

    Version 0.4.5 (deprecated, Nightly 174+)

    cpufreq: fix cpufreq_stats table removal warning via cpu hot-plug
    base:cpu.c: Cherry pick updates from Motorola Atrix 4G kernel
    cpufreq: cherry picked updates from Motorola Atrix 4G kernel
    compilation: fixed annoying debug section mismatch warnings
    Revert "Fix memory leak in cpufreq_stat"
    kernel patch: 2.6.32.48 -> 2.6.32.49-rc1
    atomic_t: Cast to volatile when accessing atomic variables
    Revert "Revert "Fix memory leak in cpufreq_stat""
    Revert "Revert "TTY: ldisc, do not close until there are readers""
    Revert "tegra: Import dvs updates for SPI from p999's v21e"
    Revert "nvrm_user.c: Updates from the p990 v10e drop. Fixes BSOD while charging"
    kernel patch: 2.6.32.47 -> 2.6.32.48
    kernel patch: 2.6.32.46 -> 2.6.32.47
    kernel patch: 2.6.32.45 -> 2.6.32.46

    Version 0.4.6 (deprecated, Nightly 174+)

    star: Import some v20l patches
    star: Add GPIO pins G0, G1, and W2 to wakeup pad
    mm: retry page fault when blocking on disk transfer
    sched/rt: code cleanup, remove a redundant function call
    ARM: Add optimised swahb32() byteswap helper for v6 and above
    hugetlb: Replace BUG() with BUILD_BUG() for dummy definitions.
    kernel.h: Add BUILD_BUG() macro.
    block: limit default readahead size for small devices
    PM / Suspend: Fix bug in suspend statistics update
    mm/vmalloc.c: eliminate extra loop in pcpu_get_vm_areas error path
    lockdep: print lock name for lockdep_init_error
    init/main.c: execute lockdep_init as early as possible
    [PATCH] Input: introduce device properties
    [PATCH] input: mt: Add hovering distance axis
    input: mt: Break out slots handling
    Input: introduce MT event slots
    USB: f_mass_storage: Disable write cache support
    kernel:sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
    sched: don't call task_group() many times in set_task_rq()
    PM: wakelocks: Don't report wake up wakelock if suspend aborted
    rtc alarm: fix bad index when canceling alarms[]
    ARM: support XZ compressed kernels
    decompressors: add boot-time XZ support
    decompressors: add XZ decompressor module
    arm: Allow CPU-supported unaligned accesses
    PM: wakelocks: Display wakelocks preventing suspend by default
    mmc: core: put eMMC in sleep (cmd5) mode before suspend
    input: evdev: Add missing wake_lock_destroy
    lookup3(). The new hash function

    Version 0.4.7 (deprecated, Nightly 174+)

    Patched to kernel.org 2.6.32.50

    Version 0.4.8 (deprecated)

    Patched to kernel.org 2.6.32.51


    Version 050 (Current, CM7.2.0+)

    Increased BL polling from 2 sec to 3 sec
    Fixed sys_sync() stability issues
    Backport CFS Autogroup to allow for better multitasking performance (smoother operations)
    Optimize Driver wait/sleep time outs with more CPU friendly operations
    Fixed occasional Sleep-to-Off issues (Take 2 )
    Fixed occasional Sleep-to-Off issues
    Removed some kernel debug options
    Enable ARM unaligned access
    Added CM7.2.0 Stable Compatible RAMDISK
    Added Screen Off CPU limiter (limit CPU usage to Max 503 MHz)
    Turn off 2nd CPU core while screen off
    Fixed reboot hang issues
    Fix Temple run issue using Sensor updates from v20L
    DS battery driver is NOW DEPRECATED (NO LONGER AVAILABLE)
    Add CPU Freq Table support (which fix the CPU stats bug, now you can use CPUSPY to see deep sleep stats)
    Adjusted CPU freq table, Lowest @ 216MHz, Highest @ 1552MHz
    use generic strnlen_user and strncpy_from_user functions
    Patched to Linux 2.6.32.59
    Added 18 patches from LGE V21Y 2.3.4 GB source drop
    18
    Reserved 2 just in case....
    16
    Remember folks, hit them [Thanks] button if you enjoyed my efforts! ;) :cool:
    12
    Kernel 050 stable is out. wow... 50th major release :victory: