FORUMS
Remove All Ads from XDA

[KERNEL] | WildKernel Build #5 Reloaded 2 | Featurlicous | Tame Companion | Nov 7

1,784 posts
Thanks Meter: 2,608
 
By Emmanuel U, Inactive Recognized Developer on 1st April 2015, 09:04 AM
Post Reply Email Thread
Announcement from Emmanuel U: My Kernel Companion app Tame works great with this! Check it out
WildKernel
for LG Optimus G Pro (E98x & F240x Variants)


Go check out Tame! It goes great with this and it handles OTA updates for this kernel.

Unrelated: Is your Gpro camera buggy?

This is a Linux based (3.4.0) Kernel which is maintained by me, and kept inline with the CyanogenMod Kernel so this is compatible with ALL the latest 5.x AOSP Roms (unless otherwise stated in the ROM).

Please report anything good and bad so that I know what to keep and what not to keep for the next release. This also helps me push out fixes faster when presented with lots of information (such as logs etc.).

Please see changelogs for an in-depth look at features. Also take a look at the screenshots for a sneak peek.
Feeling like a critic? Leave a review!


Link broken? Try one of the mirrors, Still a no go? Goto my signature and click the file backups link, then navigate to what you were looking for.


So what is this mysterious zip file doing to my device?
Code:
Note: Your phone must already have a booting ROM installed for WildKernel to work. If you find yourself not booting 
after installing WildKernel, reinstall your ROM zip then reboot. Ensure that it boots now, then try installing WildKernel again. 
If it fails a second time, yell at me below in this thread preferably with a log of some sort attached.

1. Extracts boot partition and de-lokifies it for manipulation.
2. Takes our new file and decompiles a now readable boot image to utilize its ramdisk, the one currently installed in your ROM
3. Then, it fuses my kernel image with your ROM's ramdisk to form a new boot image
4. Our new boot image is loki-fied and flashed to your boot partition

Assuming that these 4 steps were successful, you can now show your new phone off to your friends.


There is NO need to clear caches, kernel installer handles everything. Just flash and reboot.
E98x Build #5 Reloaded: Primary | Mirrors: #1 / #2
F240x Build #5 Reloaded #2: Primary | Mirrors: #1 / #2

All Releases: AFH | TRU Mirrors


Thanks:
TeamChopsticks & CyanogenMod
TeamSXL
SultanXDA
mcaserg
TeamDS
faux123
Tamcore
cretin45
showp1984
RomanBB
Mito Takatori
and any others I may have missed



Info on Governors/Schedulers
You may find my source hosted @ Github

What Do I Pack?
Tame (duhh)
CM 12.1 10/2/16 & Minimal Gapps 5.1
Ondemand on 1st core @ 384-1782mhz
Performance on other cores @ 1458mhz
CFQ Scheduler
4th core disabled
Stock Voltage
GPU: 320mhz

Did you read the announcement? (page header)



XDA:DevDB Information
WildKernel for the LG Optimus G Pro (E98x & F240x Devices), Kernel for the LG Optimus G Pro

Contributors
Emmanuel U
Source Code: https://github.com/EmmanuelU/wild_kernel_lge_gproj/

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: Build #5
Stable Release Date: 2015-10-28

Created 2015-04-01
Last Updated 2015-11-07
The Following 27 Users Say Thank You to Emmanuel U For This Useful Post: [ View ] Gift Emmanuel U Ad-Free
1st April 2015, 09:04 AM |#2  
Emmanuel U's Avatar
OP Inactive Recognized Developer
Flag Chi-Town Suburbs
Thanks Meter: 2,608
 
More

Changelog:
Code:
November 7, 2015 - Build #5 Reloaded #2
1. Fixed blackouts for F240x (my changes weren't previously applied in last update)


October 28, 2015 - Build #5 Reloaded
1. Reverted CM's color adjustment code that created the possibility for blackouts, this is a workaround. There is still a problem with mdp but this will prevent any more blackouts.


September 23, 2015 - Build #5
1. Mpdecision re-enabled (recommended), intelliplug still available just disabled by default
2. Support for customizing HBLN's pattern style
3. Updates from CM Upstream
4. Misc memory patches
5. Interactive governor updated from upstream


August 16, 2015 - Build #4
1. Implement DoubleTap2Wake and Sweep2Wake
2. Improve lge_touch_core logic for wake features


June 21, 2015 - Build #3
1. Touch Boost updates and revamps
2. Added Governors: Adaptive, Intellidemand, Lionheart, SmartassV2 and Wheatley
3. Patch and tweak govenors
4. Added TCP Congestion controllers: Westwood and Veno
5. Made CUBIC the default TCP Congestion Controller
6. Disabled mpdecision
7. Added Intelliplug
8. Misc patches for my drivers


April 19, 2015 - Build #2 Reloaded
1. Synchronized F240x Kernel to include FauxSound (oops heh should've already been added)
2. 5.1 Bootloop issues seem to have been fixed as reported by my testers, but let me know. Thanks SultanXDA for the pointer.


April 16, 2015 - Build #2
1. Support for the LG F240x Variants
2. Thermald Re-enabled, but limited.
3. Created the ability to disable secondary CPUs, to save power.
4. Added ability to use USB Fast Charge
5. Added FauxSound Support
6. Increased regular charge current max to 1500mA for faster regular charging too
7. Lollipop 5.1.x is now supported


April 1, 2015 - Build #1
1. Initial Release - Official CM Kernel
2. Home Button: Added Support for Forcing Notification Pulse Intervals
3. Home Button: Added Support for Forcing Notification Pulse Blink Colors
4. Ondemand & Interactive patches
5. Input Boost Driver by SultanXDA
6. My Retain Cpufreq driver
7. Thermald HAL disabled, here's why.
8. Disabled some unneeded debugging
9. ROW patches
10. Voltage Control Support
11. 2.1ghz support (overclock with discretion, no device is built the same)


Things You Should Know:

This kernel supports overclocking of up to 2.1ghz, however don't report instability as no 2 devices are built equal. If you feel the need to overclock, experiment with what your device can handle.

Automatically Disable HW Overlays:
As you know, our ROMs currently have graphical issues caused by our MDP drivers and need HW Overlays disabled as a workaround. Well you can add this to a Run At Boot Script in my app Tame (or your own script, ran with su) to save yourself having to manually re-enable it.
Code:
service call SurfaceFlinger 1008 i32 1

Every custom feature in this kernel can be easily configured with Tame (highly recommended), however here is how you can configure things using your favorite ADB/Terminal shell if you're feeling independent.

CPU Control:
Code:
You should be able to understand what I'm doing here. replace cpu0 with cpu[1-3] to change your secondary cores.

echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1728000"> /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Voltage Control:
Code:
Overvolt CPU by 25mV
echo "+25000" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

Undervolt CPU by 25mV
echo "-25000" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

Note:
Values are complimentary. so to undo voltage changes, reboot or input the opposite of what you had previously input.
Home Button Light Notification Control:
Code:
Force all notifications to pulse red (you must input a RGB value)
echo "FFFFFF" > /sys/class/leds/R/device/led_blink_rgb

Force all notifications to pulse for 300 milliseconds, every 1.5 seconds
echo "300 1500" > /sys/class/leds/R/device/led_blink_interval
Input Boost Control:
Code:
Dynamically raise minimum frequency for touch events (in 3 levels).

Enable
echo 1 > /sys/kernel/cpu_input_boost/enabled

Set the boost levels for CPU #1-3 (CPU #1 is the highest level)
echo "1134000 918000 702000" > /sys/kernel/cpu_input_boost/boost_freqs
GPU Control:
Code:
View available GPU clock frequencies
cat /sys/class/kgsl/kgsl-3d0/gpu_available_frequencies

Set max GPU Clock to 400mhz
echo 400000000 > /sys/class/kgsl/kgsl-3d0/max_gpuclk
USB Fast Charge:
Code:
This only effects non-wall chargers, wall charging is already allowed max current (1500mA)

Enable maximum speed charging (1500mA under best conditions)
echo 1 > /sys/kernel/fast_charge/force_fast_charge

Limit USB charging to 1300mA
echo 2 > /sys/kernel/fast_charge/force_fast_charge
echo 1300 > /sys/kernel/fast_charge/fast_charge_level
CPU Toggler:
Code:
I recommend disabling CPUs in greatest to least order (4-1) to avoid any possible issues, so disable your 4th core before your 3rd etc. Disabling cores can save power, but also be wary that disabling too many with to little power may slow your device down to a point of it being detrimental.

Disable 4th CPU
echo 0 > /sys/devices/system/cpu/cpu3/enabled

Disable 3rd CPU
echo 0 > /sys/devices/system/cpu/cpu2/enabled
Custom Wake Triggers:
Code:
Note: These features prevent your touchscreen from fully entering sleep, which can consume (slightly noticeable) battery

DoubleTap2Wake - Double tap the center of your screen
echo 1 > /sys/android_touch/doubletap2wake

Sweep2Wake - Sweep your finger from the left part of the screen to the right
echo 1 > /sys/android_touch/sweep2wake
TCP Control:
Code:
Note: It's a common misconception that certain protocols are the best for everyone. While this has a small truth, it ultimately depends on your connection speeds and distance. I would disregard what you may have read about reviews of various protocols, and experiment to see which one works the best for you.

See available protocols
sysctl net.ipv4.tcp_available_congestion_control

Change protocol to westwood
sysctl -w net.ipv4.tcp_congestion_control=westwood
The Following 9 Users Say Thank You to Emmanuel U For This Useful Post: [ View ] Gift Emmanuel U Ad-Free
1st April 2015, 09:06 AM |#3  
Emmanuel U's Avatar
OP Inactive Recognized Developer
Flag Chi-Town Suburbs
Thanks Meter: 2,608
 
More
How to make your Developer's Day

Bug Reporting:

Things marked in bold are things you should mention in a bug report to any developer, to make our lives easier.
To be clear as I'm writing this, almost all bugs you encounter are unrelated to your kernel. Most issues stem from the ROM/app/mod you're running, however on the rare occasion, I may be at fault :P

Well first off, let's narrow down the bug. Assuming your phone rebooted at some point, what caused your phone to reboot? Assuming you're running the latest version of my kernel, did your phone reboot when you were using it, or did you notice it reboot by itself when you weren't using.
Were you overlocking or playing a game? - IF SO stop yourself right here. This is your fault haha I win, otherwise keep going down.
Okay, can you reproduce this reboot? If so, this is a major giveaway that it is indeed an issue.

Reproducing your bug, to capture:
So now I'm gonna need 2 files off your device. Note, you need ADB drivers installed on your computer (google it), and your device plugged in.
First: Plug your device into your computer, to prepare to capture your error.
2nd: Logcat.
Once device is plugged, run:
Code:
adb  logcat > logcat.txt
While this is running, reproduce your bug. If your phone doesn't reboot, this is probably not a kernel issue, but reboot yourself and keep going anyway.

Next we will retrieve your KMSG, once phone has rebooted run
Code:
adb pull /proc/last_kmsg kmsg.txt
Note: above will retrieve kernel logs right up until your phone powers off, from the LAST session. Battery pulling, or rebooting twice will overwrite this log and make it irrelevant.

You will now have 2 files logcat.txt and kmsg.txt. Attach em to a Pastebin or attach them to your post.


moe coming soon
The Following 4 Users Say Thank You to Emmanuel U For This Useful Post: [ View ] Gift Emmanuel U Ad-Free
1st April 2015, 09:54 AM |#4  
Senior Member
Flag Kolkata
Thanks Meter: 53
 
More
Will there be any release in future for Korean versions?
1st April 2015, 09:56 AM |#5  
Emmanuel U's Avatar
OP Inactive Recognized Developer
Flag Chi-Town Suburbs
Thanks Meter: 2,608
 
More
Quote:
Originally Posted by asingha94

Will there be any release in future for Korean versions?

most likely yes, but for now I'm sticking with my current device only through beta stages.
The Following 2 Users Say Thank You to Emmanuel U For This Useful Post: [ View ] Gift Emmanuel U Ad-Free
1st April 2015, 09:58 AM |#6  
Senior Member
Flag Kolkata
Thanks Meter: 53
 
More
Quote:
Originally Posted by Emmanuel U

most likely yes, but for now I'm sticking with my current device only through beta stages.

Thanx & good luck..
1st April 2015, 02:46 PM |#7  
Member
Flag Dallas
Thanks Meter: 3
 
More
Does this work with android 5.1?
1st April 2015, 03:35 PM |#8  
Emmanuel U's Avatar
OP Inactive Recognized Developer
Flag Chi-Town Suburbs
Thanks Meter: 2,608
 
More
Quote:
Originally Posted by warthog1997

Does this work with android 5.1?

Wow that was quick, I didn't even notice there was a 5.1 ROM available for this device. While the kernel most likely won't require any changes on 5.1, the kernel installer will fail when trying 5.1 because it's only set to install on 5.0.x versions.
The Following User Says Thank You to Emmanuel U For This Useful Post: [ View ] Gift Emmanuel U Ad-Free
1st April 2015, 05:34 PM |#9  
Member
Flag Kragujevac
Thanks Meter: 17
 
More
Thumbs up Awesome!
Nice build dude. Rock solid on ressurection remix 5.3.8 thx to @Alezzander_ . Its first OC capable kernel since android 4.3 time (that rus mcaserg was a real genius too bad he abandoned this phone)
Maybe you two can combine your intelligence and give us something unseen on g pro scene @Snepsts
Didnt checked my pvt but i need +20 mV to get 2GHz stable (on default instant reboot)
And btw faux sound would be nice Thx dev!
1st April 2015, 08:33 PM |#10  
Emmanuel U's Avatar
OP Inactive Recognized Developer
Flag Chi-Town Suburbs
Thanks Meter: 2,608
 
More
Links updated.
The Following 2 Users Say Thank You to Emmanuel U For This Useful Post: [ View ] Gift Emmanuel U Ad-Free
2nd April 2015, 10:32 AM |#11  
nerdyblonde's Avatar
Senior Member
Flag Virginia
Thanks Meter: 1,653
 
More
Quote:
Originally Posted by Emmanuel U

Links updated.

Awesome! Thanks for this @Emmanuel U.. I could include it in BlissPop if you wouldn't have a problem with that (with credits to you of course).. It's running so smooth on my latest version..Do you have plans for underclocking?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes