Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Kernel] Lightning Zap! Phase 4 Updated 15JUN13

OP thomas.raines

9th May 2013, 03:15 AM   |  #1  
thomas.raines's Avatar
OP Recognized Developer
Flag Houston
Thanks Meter: 3,309
 
1,875 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Thomas.Raines presents

The Lightning Zap! kernel for the Epic 4G Touch

This is for cm-10.1 ROMs

Safe to use other tweaks,
i.e. Exit_Olny's

ATTN:
I thomas.raines, nor it's affiliates claim responsibility for anything you do to damage, destroy, brick, explode, or otherwise mess up your device.


Features:
Improved performance
Improved battery life
Improved network speeds
Improved boot times
Smoother scrolling
Better responsiveness
Cleaner file systems
Governor tweaks for amazing speed and performance without sacrificing battery life
Improved Memory and Ram tweaks
Improved Internet speed
Amazing kernel tweaks, build.prop mods, init.d scripts and more!

Instructions:
Make a backup
Download .zip to PC
Transfer .zip to your sdcard
Or just download it straight to your phone
Reboot to recovery
Flash
Phone will automatically reboot after install**
Wait 10 minutes
Enjoy the Lightning Zap!

See 3rd post for further instructions on improving and customizing your Lighting Zap! experience.

**The first boots always takes the longest especially after a fresh install. If you pull a logcat during the first boot, you may see a few errors with the vacuum script. This is normal, and will be "fixed" after the phone has built the databases for the apps.

Please allow 24 hours after install and 1 full charge cycle before reporting results. Always provide me with a logcat with any issues you may experience.

Phase 1: Introduction of LZ kernel to device
Phase 2: Fine tuning of tweaks, values, etc
Phase 3: Implementation of more governors/io-schedulers
Phase 4: OC/UV and continue updating and adjusting as necessary

Source Code:
kernel
LZ_Packages
Includes flashing script, scripts, and other included packages for the lz kernels.
LZ-vendor (I'll provide some instructions on how to implement lz kernel into your ROM this evening.)

Thanks to
dastin1015 and Team-Hydra for kernel source
ktempleton
untz1456 for testing and help with debugging/verifying changes
elport for testing
and the rest of the testers (pm me and I'll add your names guys)
Last edited by thomas.raines; 15th August 2013 at 11:08 PM.
The Following 94 Users Say Thank You to thomas.raines For This Useful Post: [ View ]
9th May 2013, 03:15 AM   |  #2  
thomas.raines's Avatar
OP Recognized Developer
Flag Houston
Thanks Meter: 3,309
 
1,875 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Download links and changelog
If you have rotation problems try this (thanks to bilgerryan): http://db.tt/b6GG7eU1
If you use TWRP, you may have to fix root perms before you reboot...

ATTENTION: I am only updating the smdk4412 (new kernel) at this time. I believe most ROM devs have updated thier sources to use the smdk4412
If your ROM isn't yet compatibile with the new kernel, first talk to your ROM dev. If you ROM dev is not willing or unable to update
then let me know, and I will try to make the time to configure my sources for compiling the smdk4210 and update it. Otherwise, you
will have to wait till I can get to it.

smdk4412_p4.zip New kernel (link coming soon)
p_4
Added phase 1 thru 3.1 from old kernel
Bumped to 4.
cherry-picked from AGAT_GB27_kernel. Thanks agat63!
Added OC to 1.6
Added UV
Edited bus frequencies and a whole bunch more
Voltage Control app still not working properly, but well enough...lol (I'm still working on it)

smdk4210 Old kernel
p_3.1
Bumped to 3.1.
Added lionheart governor.
Fixed smartass2 governor.
Added vr-ioscheduler.
p_3
Bumped to phase 3.
Added hypervTNT (with phase 2 and 3 stepping) and smartass2 governors.
Working on voltage control app compatibility


E4GT_p2.zip
Bump to phase 2
Minor adjustments on system control values
Added Xan's Voltage Control App (This will come in to play very soon)

E4GT_p1.1.zip
Introduction of Lightning Zap!
Known bug. This might goober up gapps. So, be aware you might have to reinstall gapps. I'm working on it now...
Last edited by thomas.raines; 15th July 2013 at 11:58 PM.
The Following 47 Users Say Thank You to thomas.raines For This Useful Post: [ View ]
9th May 2013, 03:15 AM   |  #3  
thomas.raines's Avatar
OP Recognized Developer
Flag Houston
Thanks Meter: 3,309
 
1,875 posts
Join Date:Joined: Jun 2011
Donate to Me
More
More tips and tricks
The governor tweak is set for a fairly balance of performance and battery life. If you find yourself needing battery life over performance, you can make some minor changes. Here's how:
1 Download Script Manager from the market (it's free)
2 Open Script Manager and navigate to /system/etc/init.d
3 Press menu/more/advanced options and select mount as RW
4 Select 01governor and select "edit" at the top (this will open the file in a text editor)
5 Uncomment (remove # in the particular line) and change:
Code:
echo "45" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
To:
Code:
echo "70" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
Only change values in increments of 5 for the up_threshold.
6 Select menu/save
7 Press the skull and cross bones icon at the top (this will allow Super User)
8 Press run, close app and enjoy
This will result is slightly slower performance but higher battery life.

When running in a higher performance mode (especially for gaming) you can disable powersave_bias by changing the 1 to a 0 like this:
Code:
echo "1" > /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias;
echo "0" >     /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias;
Powersave_bias only allows the CPU to peak for small increments at a time, and not allow the CPU to remain peaked even when the system calls for it. In gaming, that could result in choppy, laggy perofrmance and slow FPS..

This is now controlled by the kernel. You can still change the values, but be careful as too low can result in camera and graphics issue and too high can seriously drain your battery

Changing the sampling rate controls smoothness and responsiveness. I set 150000 as default
Code:
    echo "150000" >    /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate;
I am not responsible if you do something wrong. Make a back up just in case.
Last edited by thomas.raines; 9th May 2013 at 03:31 AM.
The Following 29 Users Say Thank You to thomas.raines For This Useful Post: [ View ]
9th May 2013, 03:16 AM   |  #4  
thomas.raines's Avatar
OP Recognized Developer
Flag Houston
Thanks Meter: 3,309
 
1,875 posts
Join Date:Joined: Jun 2011
Donate to Me
More
How to incorporate LZ kernel into your ROM.
First you would add the kernel and vendor files to your manifest, then repo sync. I'm not going to tell you how to do this because I think if you are compiling a ROM you probably already know how. If not, let me know, and I'll post that up to.

Then, in device/samsung/d710/d710.mk add:
Code:
# Adding Lightning Zap! vendor files
$(call inherit-product-if-exists, vendor/lz-kernel/E4GT/lightningzap.mk)
Then compile as normal, and you will have the complete Lightning Zap! kernel package.
Last edited by thomas.raines; 10th May 2013 at 04:35 AM.
The Following 20 Users Say Thank You to thomas.raines For This Useful Post: [ View ]
9th May 2013, 03:21 AM   |  #5  
ktempleton's Avatar
Recognized Contributor
Flag Lebanon
Thanks Meter: 5,977
 
4,426 posts
Join Date:Joined: Oct 2012
Donate to Me
More
You are the man thanks again for taking this on can't wait

Sent from my SGH-I577 using xda premium
The Following 3 Users Say Thank You to ktempleton For This Useful Post: [ View ]
9th May 2013, 03:25 AM   |  #6  
child.prodigy.99's Avatar
Member
Thanks Meter: 5
 
35 posts
Join Date:Joined: Jul 2012
More
Where is the dl link

Sent from my SPH-D710 using xda app-developers app
The Following User Says Thank You to child.prodigy.99 For This Useful Post: [ View ]
9th May 2013, 03:29 AM   |  #7  
Senior Member
Flag Kansas City, MO
Thanks Meter: 119
 
344 posts
Join Date:Joined: Jan 2008
More
I'll be waiting for phase 4, and -will- this work with Extweaks?
9th May 2013, 03:33 AM   |  #8  
JayDroid412's Avatar
Senior Member
Flag Pittsburgh
Thanks Meter: 176
 
204 posts
Join Date:Joined: Dec 2012
More
What kinda ROM you working on? I'm very interested now after seeing this kernel.

Sent from my SPH-D710 using xda premium

---------- Post added at 09:33 PM ---------- Previous post was at 09:29 PM ----------

Oh. And.... Does this kernel have a recovery built in?


Sent from my SPH-D710 using xda premium
9th May 2013, 03:40 AM   |  #9  
mkfryan's Avatar
Senior Member
Sturgis SD
Thanks Meter: 237
 
541 posts
Join Date:Joined: Aug 2012
More
Quote:
Originally Posted by JayDroid412

What kinda ROM you working on? I'm very interested now after seeing this kernel.

Sent from my SPH-D710 using xda premium

---------- Post added at 09:33 PM ---------- Previous post was at 09:29 PM ----------

Oh. And.... Does this kernel have a recovery built in?


Sent from my SPH-D710 using xda premium

It has cwm

Sent from my SPH-D710 using xda app-developers app
The Following User Says Thank You to mkfryan For This Useful Post: [ View ]
9th May 2013, 03:42 AM   |  #10  
child.prodigy.99's Avatar
Member
Thanks Meter: 5
 
35 posts
Join Date:Joined: Jul 2012
More
Nvm

Sent from my SPH-D710 using xda app-developers app

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes