[Kernel][4/26/2012][Sense][SWAP][2WCR][Freedom Base] Evo4g Lionfish 1.8 GB 2.6.35.10

Search This thread

detcup4evr

Senior Member
Jun 18, 2010
661
313
Commerce Twp
github.com
This is my First attempt at making a Kernel Mod. I loved Lithid’s Freedom kernel, but wanted a few more features, so I thought I would give modding a try.

First off thanks to All the great Kernel Developers out there: Lithid, Netarchy, Taostmod, barnacles10, Ziggy. You guys and your work were my inspiration for the mods I made.

Thanks to All the Rom builders particularly to Myn and team Syngery for showing me that Root was for more than Wifi tether.

This Kernel is based on Lithid’s Freedom ver .9 kernel. So it will contain all the Freedom enhancments.
http://forum.xda-developers.com/showthread.php?t=1192529

I will continue creating 4 versions of the Kernel, I would start with stock or less then move your way up not all Evo’s can support all modes:

Stock Lionfish – uses stock voltages
Less Lionfish - Under volts CPU by 50mv
More Lionfish – Under volts CPU by 100mv
Aggressive Lionfish – Under volts CPU by 150mv

Lionfish Version 1.0 Add-ons
- Added Swap Support
- Added SmartAss2 governor (Thanks Ziggy)
- Tiny RCU enabled - Netarchy
- Audio volume Tweaks - Netarchy
- Changed Boot Speed to 998 mhz (From 728) - Netarchy
- Scheduler Changed to SIO

Lionfish 1.2 Additions
- 2 Way call recording (Cyanogenmod Team,nmdang,streetdegree,bananacakes,google search,skvalex,2wcr
- 10 Point Multi Touch (barnacles10)

Lionfish 1.4 Addition
- Added Intellidemand Governor (Thanks Faux123 and Tiny4579)

Lionfish 1.6
- Changed low battery cutoff for Flash to 1% from 15%
- Added Zram and Clean Cache (Thanks Faux123)
- Added Neon and Snap Dragon Enhancements (Thanks Faux123)
- Tweaked Auto Brightness so it doesn’t get as bright

Lionfish 1.7 - Test Version

Lionfish 1.8 *Note First Boot May take a while*
- Memory Tweaks (Thanks Cy4n1d3)
- Added Zram Tweaks (Thanks Cy4n1d3)
- Added BFQ, V(R) I/O schedulers
- Added OndemandX Governor
- Tiny Preempt RCU (Thanks imoseyon and Bananacakes)
- Fast Battery Charging tweak (Thanks Imoseyon)
- Removed CIQ (Thanks Ca1ne)
- Added Ca1ne FFC fix (Thanks ca1ne)
- Added an SBC version of the Kernel

MD5 Sums are located here

VERSION 1.8 WITHOUT the brightness tweak

You assume all Risk When Flashing this Kernel; I cannot guarantee it will work on your device.

Please be aware that Recording Conversations may be Illegal in some situations, be sure to Follow all Laws pertaining to Recording Phone calls. You are responsible for any laws you break.

Tips and Tricks for a sucessfull Install
1. If you are usinig V6 SuperCharger with kernel i/O tweaks. Please uninstal the I/O Scheduler tweak. Failure to do so may casue random reboots. (Thanks Kelldane!!)
2. Please navigate to the system/etc folder and scroll down until you find the init.post_boot.sh file and either delete it or move it to a safe place on your sd card. More Info (Thanks Leeboy!!)

My Evo is currently running:
Synergy RS1 (Sense 2.1/3.0 Hybrid)
Baseband version: 2.15.00.12.19
PRI Version: 2.33-003
PRL Version: 60683

See FAQ before Flashing

Known Issues:
Roms based on 4.67.651.3 may have front facing camera image is mirrored

Please See Attachments for latest Version 1.6

God Mode Versions Can be found here
http://forum.xda-developers.com/showpost.php?p=22640470&postcount=51

Experimental Sense 3.5 Version Same as universal but mounts /data first may not be needed on All Sense Roms:
http://forum.xda-developers.com/showpost.php?p=23109708&postcount=112

My Github
 

Attachments

  • Aggressive-Lionfish-1.8-SBC-UNIVERSAL-signed.zip
    3.3 MB · Views: 934
  • Aggressive-Lionfish-1.8-UNIVERSAL-signed.zip
    3.3 MB · Views: 381
  • Less-Lionfish-1.8-SBC-UNIVERSAL-signed.zip
    3.3 MB · Views: 472
  • Less-Lionfish-1.8-UNIVERSAL-signed.zip
    3.3 MB · Views: 294
  • Lionfish-1.8-SBC-UNIVERSAL-signed.zip
    3.3 MB · Views: 625
  • Lionfish-1.8-UNIVERSAL-signed.zip
    3.3 MB · Views: 435
  • More-Lionfish-1.8-SBC-UNIVERSAL-signed.zip
    3.3 MB · Views: 474
  • More-Lionfish-1.8-UNIVERSAL-signed.zip
    3.3 MB · Views: 311
Last edited:

detcup4evr

Senior Member
Jun 18, 2010
661
313
Commerce Twp
github.com
FAQ:

Q: How do I install this?
A: Use RA Recovery (Note: other recoveries may work but I only tested with RA Recovery)
1. If you are usinig V6 SuperCharger with kernel i/O tweaks. Please uninstal the I/O Scheduler tweak. Failure to do so may casue random reboots. (Thanks Kelldane!!)
2. Please navigate to the system/etc folder and scroll down until you find the init.post_boot.sh file and either delete it or move it to a safe place on your sd card. More Info (Thanks Leeboy!!)
3. Make a nandroid Backup of your Phone
4. Wipe Cache
5. Wipe Dalvik Cache
6. Wipe Cache
7. Wipe Dalvik
8. Flash Zip from SD card

Q: Why must I wipe Cache and Dalvik Cache 2x isn’t once enough?
A; Feel free to take that risk, I always wipe cache and Dalvik cache twice, and never have issues after flashing a Kernel

Q: What are all these things like SIO, and SmartAss2?
A: Please see this link for explanation of common Kernel modifications
http://forum.xda-developers.com/showthread.php?t=1369817

Q: What is SIO?
A: Simple I/O scheduler See Link above for more information or the following link for a performance comparision of the various I/O schedulers out there:
http://forum.xda-developers.com/showthread.php?t=1176334

Q: How do I Use SWAP?
A: You can create a Swap Partition or Use Swapper2 to create a swap file. To create a SWAP partition follow: (http://forum.xda-developers.com/showthread.php?t=1121538)
1. BACK UP YOUR MEMORY CARD TO YOUR COMPUTER AS THIS WILL ERASE EVERYTHING!!==== THIS IS IMPORTANT
2. Reboot into recovery (Use Amon RA 2.3==NOTHING OTHER THEN AMON )
3. Select =Partition sdcard=
4. Select =Partition SD=
5. Set swap to Any Number I use 64

Q: How big of a SWAP should I create?
A: I am using a 64 MB swap partition

Q: How do I activate Swap and See if it is working?
A: App2SDGui, or swapper2 both apps can enable Swap, to check it Open Terminal and type Free at the prompt you will see your swap partition show up.

Q: Why is your Kernel named Lionfish, water and phones don’t typically mix well, will your Kernel make my phone waterproof?
A: No your phone will not become waterproof with this kernel, I choose the name Lionfish because they are cool looking fish.

Q: I really like SBC will you add it?
A: Not Likely, I recently was looking into SBC and playing with it I never got it to work quite right, and found that without SBC my phone will Change up to 4191mV SBC will charge your Phone higher than that, but not much higher. I might come back around to it one day, but please don’t clog up the thread with requests for sbc.

Q: My old favorite kernel did something that this one doesn’t do; can you make Lionfish do it?
A: I make no promises, but will gladly evaluate any and all ideas?

Q: How Can I test Two Way Call Recording (2WCR)? (Follow all Laws Regarding Recording)
A: Use the Call Recorder Trial http://forum.xda-developers.com/showthread.php?t=1441643
 
Last edited:

detcup4evr

Senior Member
Jun 18, 2010
661
313
Commerce Twp
github.com
Potential future Features and Likely hood of Success:

SBC - Likelihood: Medium Comment: Evaluated it for a while, Couldn’t get it working properly have a few other ideas, but still not sold on it.

Bluetooth HID – Likelihood: Low Comment: Looking into it but pretty advanced and probably requires changes to framework

2 Way Call Recording - Added Ver 1.2 - Thanks to Cyanogenmod Team,nmdang,streetdegree,bananacakes,google search,skvalex,2wcr

10 Point Touch - Added Ver 1.2 - thanks to barnacles10

Intellidemand Governor - Added ver 1.4

Zram,CleanCache, Snapdragon tunning (Porting From Faux123 Sensation Kernel) Included in Ver 1.6

Currently Under Investigation:
XZ decompression, Havs, Voodo Sound drivers

Next version will contain:
a Couple new governors and a new I/O scheduler


Old Versions:

Version 1.2 Download Links

Rapidshare Links
Stock Lionfish 1.2
Less Lionfish 1.2
More Lionfish 1.2
Aggressive Lionfish 1.2

Megashare Links
Stock Lionfish 1.2
Less Lionfish 1.2
More Lionfish 1.2
Aggressive Lionfish 1.2

Version 1.0 Download Links
Megashare Links
Stock Lionfish
Less Lionfish
More Lionfish
Aggressive Lionfish

RapidShare Links
Stock Lionfish
Less Lionfish
More Lionfish
Aggressive Lionfish
 
Last edited:

Greytest

Senior Member
Jul 29, 2011
217
50
PHILLY
SWEET! Is this different than your last post in the Freedom thread?

EDIT: I see the differences. Awesome work. Flashing...
 
Last edited:

Greytest

Senior Member
Jul 29, 2011
217
50
PHILLY
Yes, in addition to having all 4 versions (Stock, less, more, aggressive) It has the following additions from the one I posted in the Freedom Kernel Thread:

- Audio volume Tweaks
- Changed Boot Speed to 998 mhz (From 728)
- Default Scheduler Changed to SIO

AWESOME! Running like a champ! Noticeable improvement in snappiness :) I've been flinging the screen back and forth, open closing apps and menus trying to get lag or an FC or something but it just keeps going! We'll see how it goes over the next few days with SD card, battery, wifi, etc.
Thanks!
 
Last edited:

ngh55

Senior Member
Dec 8, 2007
270
29
Will this work with AOSP ROMS like MIUI, and or adding the 2WCR feature is a must man :D
 

duce415

Senior Member
May 28, 2011
775
186
Running the aggressive version of this kernel with mikg 3.0... Going to see how it goes... Speed, responsiveness, battery life etc....

Sent from my PC36100 using XDA Premium App
 
Mar 30, 2010
48
4
Been using aggressive and so far so good. Glad to see someone step up to the challenge. Thanks
Sent from my PC36100 using XDA App
 

PhxkinMassacre

Senior Member
Dec 4, 2010
1,434
472
Lemont
Nice to see a new kernel pop up, its been a while! Haha but by any chance will you be adding SBC to your kernel at any point? It would be much appreciated :D

Sent from my PC36100 using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 63
    This is my First attempt at making a Kernel Mod. I loved Lithid’s Freedom kernel, but wanted a few more features, so I thought I would give modding a try.

    First off thanks to All the great Kernel Developers out there: Lithid, Netarchy, Taostmod, barnacles10, Ziggy. You guys and your work were my inspiration for the mods I made.

    Thanks to All the Rom builders particularly to Myn and team Syngery for showing me that Root was for more than Wifi tether.

    This Kernel is based on Lithid’s Freedom ver .9 kernel. So it will contain all the Freedom enhancments.
    http://forum.xda-developers.com/showthread.php?t=1192529

    I will continue creating 4 versions of the Kernel, I would start with stock or less then move your way up not all Evo’s can support all modes:

    Stock Lionfish – uses stock voltages
    Less Lionfish - Under volts CPU by 50mv
    More Lionfish – Under volts CPU by 100mv
    Aggressive Lionfish – Under volts CPU by 150mv

    Lionfish Version 1.0 Add-ons
    - Added Swap Support
    - Added SmartAss2 governor (Thanks Ziggy)
    - Tiny RCU enabled - Netarchy
    - Audio volume Tweaks - Netarchy
    - Changed Boot Speed to 998 mhz (From 728) - Netarchy
    - Scheduler Changed to SIO

    Lionfish 1.2 Additions
    - 2 Way call recording (Cyanogenmod Team,nmdang,streetdegree,bananacakes,google search,skvalex,2wcr
    - 10 Point Multi Touch (barnacles10)

    Lionfish 1.4 Addition
    - Added Intellidemand Governor (Thanks Faux123 and Tiny4579)

    Lionfish 1.6
    - Changed low battery cutoff for Flash to 1% from 15%
    - Added Zram and Clean Cache (Thanks Faux123)
    - Added Neon and Snap Dragon Enhancements (Thanks Faux123)
    - Tweaked Auto Brightness so it doesn’t get as bright

    Lionfish 1.7 - Test Version

    Lionfish 1.8 *Note First Boot May take a while*
    - Memory Tweaks (Thanks Cy4n1d3)
    - Added Zram Tweaks (Thanks Cy4n1d3)
    - Added BFQ, V(R) I/O schedulers
    - Added OndemandX Governor
    - Tiny Preempt RCU (Thanks imoseyon and Bananacakes)
    - Fast Battery Charging tweak (Thanks Imoseyon)
    - Removed CIQ (Thanks Ca1ne)
    - Added Ca1ne FFC fix (Thanks ca1ne)
    - Added an SBC version of the Kernel

    MD5 Sums are located here

    VERSION 1.8 WITHOUT the brightness tweak

    You assume all Risk When Flashing this Kernel; I cannot guarantee it will work on your device.

    Please be aware that Recording Conversations may be Illegal in some situations, be sure to Follow all Laws pertaining to Recording Phone calls. You are responsible for any laws you break.

    Tips and Tricks for a sucessfull Install
    1. If you are usinig V6 SuperCharger with kernel i/O tweaks. Please uninstal the I/O Scheduler tweak. Failure to do so may casue random reboots. (Thanks Kelldane!!)
    2. Please navigate to the system/etc folder and scroll down until you find the init.post_boot.sh file and either delete it or move it to a safe place on your sd card. More Info (Thanks Leeboy!!)

    My Evo is currently running:
    Synergy RS1 (Sense 2.1/3.0 Hybrid)
    Baseband version: 2.15.00.12.19
    PRI Version: 2.33-003
    PRL Version: 60683

    See FAQ before Flashing

    Known Issues:
    Roms based on 4.67.651.3 may have front facing camera image is mirrored

    Please See Attachments for latest Version 1.6

    God Mode Versions Can be found here
    http://forum.xda-developers.com/showpost.php?p=22640470&postcount=51

    Experimental Sense 3.5 Version Same as universal but mounts /data first may not be needed on All Sense Roms:
    http://forum.xda-developers.com/showpost.php?p=23109708&postcount=112

    My Github
    8
    FAQ:

    Q: How do I install this?
    A: Use RA Recovery (Note: other recoveries may work but I only tested with RA Recovery)
    1. If you are usinig V6 SuperCharger with kernel i/O tweaks. Please uninstal the I/O Scheduler tweak. Failure to do so may casue random reboots. (Thanks Kelldane!!)
    2. Please navigate to the system/etc folder and scroll down until you find the init.post_boot.sh file and either delete it or move it to a safe place on your sd card. More Info (Thanks Leeboy!!)
    3. Make a nandroid Backup of your Phone
    4. Wipe Cache
    5. Wipe Dalvik Cache
    6. Wipe Cache
    7. Wipe Dalvik
    8. Flash Zip from SD card

    Q: Why must I wipe Cache and Dalvik Cache 2x isn’t once enough?
    A; Feel free to take that risk, I always wipe cache and Dalvik cache twice, and never have issues after flashing a Kernel

    Q: What are all these things like SIO, and SmartAss2?
    A: Please see this link for explanation of common Kernel modifications
    http://forum.xda-developers.com/showthread.php?t=1369817

    Q: What is SIO?
    A: Simple I/O scheduler See Link above for more information or the following link for a performance comparision of the various I/O schedulers out there:
    http://forum.xda-developers.com/showthread.php?t=1176334

    Q: How do I Use SWAP?
    A: You can create a Swap Partition or Use Swapper2 to create a swap file. To create a SWAP partition follow: (http://forum.xda-developers.com/showthread.php?t=1121538)
    1. BACK UP YOUR MEMORY CARD TO YOUR COMPUTER AS THIS WILL ERASE EVERYTHING!!==== THIS IS IMPORTANT
    2. Reboot into recovery (Use Amon RA 2.3==NOTHING OTHER THEN AMON )
    3. Select =Partition sdcard=
    4. Select =Partition SD=
    5. Set swap to Any Number I use 64

    Q: How big of a SWAP should I create?
    A: I am using a 64 MB swap partition

    Q: How do I activate Swap and See if it is working?
    A: App2SDGui, or swapper2 both apps can enable Swap, to check it Open Terminal and type Free at the prompt you will see your swap partition show up.

    Q: Why is your Kernel named Lionfish, water and phones don’t typically mix well, will your Kernel make my phone waterproof?
    A: No your phone will not become waterproof with this kernel, I choose the name Lionfish because they are cool looking fish.

    Q: I really like SBC will you add it?
    A: Not Likely, I recently was looking into SBC and playing with it I never got it to work quite right, and found that without SBC my phone will Change up to 4191mV SBC will charge your Phone higher than that, but not much higher. I might come back around to it one day, but please don’t clog up the thread with requests for sbc.

    Q: My old favorite kernel did something that this one doesn’t do; can you make Lionfish do it?
    A: I make no promises, but will gladly evaluate any and all ideas?

    Q: How Can I test Two Way Call Recording (2WCR)? (Follow all Laws Regarding Recording)
    A: Use the Call Recorder Trial http://forum.xda-developers.com/showthread.php?t=1441643
    8
    Been a while since I've posted over here......thought I would chirp in after reading several problems users are having with occasional reboots. For anyone using a third party app for setting cpu parameters (System Tuner, SetCpu etc.), it is best to FIRST navigate to the system/etc folder and scroll down until you find the init.post_boot.sh file and either delete it or move it to a safe place on your sd card. This file outlines several parameters for controlling your cpu at bootup. Some of these settings include, a pre-determined gov., polling intervals, up/down thresholds and min/max cpu frequencies. This is a file rom devs use/modify to control the rom's cpu BEFORE the use of any custom kernels. They modify it for the kernel that COMES WITH THE ROM. All of this is completely unnecessary if you're going to use an app such as System Tuner to control your cpu. Without deleting this file AND using System Tuner/SetCpu in conjunction with it, bad things can happen in the background. Your phone will constantly be playing "ping pong" with itself because of too many apps/scripts telling it to do different things. This is especially bad if your using System Tuner to "remember" your customized cpu settings, by applying init.d scripts at boot. All of this going back and forth in the background WILL cause your phone to bog down and possibly reboot itself. Another side-effect is bad battery life because of the phone being in a constant "state of confusion". The bottom line.....if you're going to use a custom kernel and a third party app to take control of it, DELETE OR MOVE the init.post_boot.sh file! I have been running this kernel (1.2) on Vin's RCMix 12/16 rom for the past couple of days, and not one reboot or any other weird $hit going on! I have deleted the above mentioned file and am using System Tuner Pro for all of my settings. I use the interactiveX gov. with 384min./1.19max. cpu settings.....all of them reapplied at boot thru the use of init.d scripts. These scripts are automatically created by System Tuner in the boot settings from the app. I've tried all the governers included with the kernel and interactiveX gives me the best responsiveness/speed/battery life with Vin's rom. If anyone is curious, I'm getting 42mflops in 1.9 secs. on average, running the Linepak benchmark app:eek: My hat goes off to you detcup4evr, you have done an outstanding job picking up where Lithid left off! Congrats on you're endeavors into the world of custom kernels......good to see eager/talented people like you jumping in head first:D KICK-ASS job my friend.....gonna keep my eye on you:eek:

    >>FYI.....I'm using the 1.2 universal, no uv'ing

    ---------- Post added at 01:09 PM ---------- Previous post was at 12:46 PM ----------

    I'm running 1.2 stock. I understand it's using SIO by default but what are the default clock speeds? Should I be using something like setcpu? Currently running mikg 3.0 with no swap partition, reading the thread it appears that is ok as swap is disabled by default? Thanks.

    Sent from my PC36100 using Tapatalk

    Best not to use swap. It's old school Linux. To many read/writes to your sd card will shorten it's life, as will apps to sd! All of this will also cause sd corruption more readily, which will in turn, cause instability issues with your phone. I have never used apps to sd or any swap partion because of this. Your phone's nand chip can handle constant reading and writing without wearing out as quickly because of wear leveling being implemented by HTC......this is age old information, Google it!
    7
    I am loving the kernel, but am hating the max brightness tweak. A version without that it an easy way to disable it would be fantastic.

    Thank you for all the work. It has breathed new life into my EVO.

    Sent from my PC36100 using XDA

    You ask and you shall recieve
    7
    I ente really understand what swap is either, im running this kernel and my sd is already patlrtitioned. What are fue benilefits if swap and how do i take advantage id that feature?

    Sent from my PC36100 using Tapatalk

    Swap space in Linux is used when the amount of physical memory (RAM) is full. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. While swap space can help machines with a small amount of RAM, it should not be considered a replacement for more RAM. Swap space is located on hard drives, which have a slower access time than physical memory. Source

    The benefits is it helps the system keep more apps in memory. On some of the more Ram hungry roms your should see a boost.

    To take advantage of SWAP you will need a Special Swap Partition on your SD Card or it looked like swapper2 was able to utilize a SWAP file instead of a SWAP partition.

    You will need an App (Apps2SDGui or Swapper2, there are probably others in the market) to activate/configure SWAP.

    With Apps2SDGui when you open the App you will see a button that says SWAP is off, Click the button and then it will activate SWAP, and your see a setting called swappiness, This determines how much the phone will use SWAP, Higher setting means the higher the SWAP rate. Since SD memory is slower then Phone memory if swappiness is too high it could cause lagging as memory is moved from SWAP to RAM. 60 seems to be working fine for me.

    Swapper2 has very similar process to enable Swap. I stumbled across this guide using swapper http://homar.blog.fc2.com/blog-entry-231.html

    Hope that makes sense