Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,332 Members 51,547 Now Online
XDA Developers Android and Mobile Development Forum

[Kernel] Lightning Zap! Phase 4 Updated 15JUN13

Tip us?
 
thomas.raines
Old
(Last edited by thomas.raines; 15th August 2013 at 10:08 PM.)
#1  
thomas.raines's Avatar
Recognized Developer - OP
Thanks Meter 3255
Posts: 1,856
Join Date: Jun 2011
Location: Houston

 
DONATE TO ME
Default [Kernel] Lightning Zap! Phase 4 Updated 15JUN13

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)
Remember, the thanks button is free, but it doesn't hurt to show a dev your appreciation by using the donate button...
My Works
SGS4G: Gummy Mutt, Original Lightning Zap, Lightning Zap Kernel, Gremlin Remover
Blaze 4G: Lightning Zap, ICS 1-Click Starter, OOPS, Quick Recovery, Lightning Zap Kernel
LG Nitro: Lightning Zap
Skyrocket: Lightning Zap! kernel
E4GT: Lightning Zap! kernel
Phone Support for the Lost
The Following 94 Users Say Thank You to thomas.raines For This Useful Post: [ Click to Expand ]
 
thomas.raines
Old
(Last edited by thomas.raines; 15th July 2013 at 10:58 PM.)
#2  
thomas.raines's Avatar
Recognized Developer - OP
Thanks Meter 3255
Posts: 1,856
Join Date: Jun 2011
Location: Houston

 
DONATE TO ME
Default 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...
Remember, the thanks button is free, but it doesn't hurt to show a dev your appreciation by using the donate button...
My Works
SGS4G: Gummy Mutt, Original Lightning Zap, Lightning Zap Kernel, Gremlin Remover
Blaze 4G: Lightning Zap, ICS 1-Click Starter, OOPS, Quick Recovery, Lightning Zap Kernel
LG Nitro: Lightning Zap
Skyrocket: Lightning Zap! kernel
E4GT: Lightning Zap! kernel
Phone Support for the Lost
The Following 47 Users Say Thank You to thomas.raines For This Useful Post: [ Click to Expand ]
 
thomas.raines
Old
(Last edited by thomas.raines; 9th May 2013 at 02:31 AM.)
#3  
thomas.raines's Avatar
Recognized Developer - OP
Thanks Meter 3255
Posts: 1,856
Join Date: Jun 2011
Location: Houston

 
DONATE TO ME
Default 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:
Select Code
echo "45" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
To:
Code:
Select 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:
Select 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:
Select 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.
Remember, the thanks button is free, but it doesn't hurt to show a dev your appreciation by using the donate button...
My Works
SGS4G: Gummy Mutt, Original Lightning Zap, Lightning Zap Kernel, Gremlin Remover
Blaze 4G: Lightning Zap, ICS 1-Click Starter, OOPS, Quick Recovery, Lightning Zap Kernel
LG Nitro: Lightning Zap
Skyrocket: Lightning Zap! kernel
E4GT: Lightning Zap! kernel
Phone Support for the Lost
The Following 29 Users Say Thank You to thomas.raines For This Useful Post: [ Click to Expand ]
 
thomas.raines
Old
(Last edited by thomas.raines; 10th May 2013 at 03:35 AM.)
#4  
thomas.raines's Avatar
Recognized Developer - OP
Thanks Meter 3255
Posts: 1,856
Join Date: Jun 2011
Location: Houston

 
DONATE TO ME
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:
Select 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.
Remember, the thanks button is free, but it doesn't hurt to show a dev your appreciation by using the donate button...
My Works
SGS4G: Gummy Mutt, Original Lightning Zap, Lightning Zap Kernel, Gremlin Remover
Blaze 4G: Lightning Zap, ICS 1-Click Starter, OOPS, Quick Recovery, Lightning Zap Kernel
LG Nitro: Lightning Zap
Skyrocket: Lightning Zap! kernel
E4GT: Lightning Zap! kernel
Phone Support for the Lost
The Following 20 Users Say Thank You to thomas.raines For This Useful Post: [ Click to Expand ]
 
ktempleton
Old
#5  
ktempleton's Avatar
Recognized Contributor
Thanks Meter 5974
Posts: 4,426
Join Date: Oct 2012
Location: Lebanon

 
DONATE TO ME
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: [ Click to Expand ]
 
child.prodigy.99
Old
#6  
child.prodigy.99's Avatar
Member
Thanks Meter 5
Posts: 35
Join Date: Jul 2012
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: [ Click to Expand ]
 
Warboy
Old
#7  
Senior Member
Thanks Meter 116
Posts: 333
Join Date: Jan 2008
Location: Kansas City, MO
I'll be waiting for phase 4, and -will- this work with Extweaks?
 
JayDroid412
Old
#8  
JayDroid412's Avatar
Senior Member
Thanks Meter 176
Posts: 204
Join Date: Dec 2012
Location: Pittsburgh
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
 
mkfryan
Old
#9  
mkfryan's Avatar
Senior Member
Thanks Meter 199
Posts: 498
Join Date: Aug 2012
Location: Sturgis SD
Quote:
Originally Posted by JayDroid412 View Post
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: [ Click to Expand ]
 
child.prodigy.99
Old
#10  
child.prodigy.99's Avatar
Member
Thanks Meter 5
Posts: 35
Join Date: Jul 2012
Nvm

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes