yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] interloper:
Configuration File

################################
# LITHIDS FREEDOM KERNEL CONFIGURATION
################################

# This configuration is completely written by Lithid to work with the Freedom Kernel.
# Please read through this configuration to properly set the attributes for this scripts
# configuration. Failure to do so may result in a broken config, or your **** just might
# not work. So please. Follow the rules...

# Uncommented fields are enabled, Commented fields are disabled.

################################
# List of available governors:
################################
# interactiveX
# ondemand
# userspace
# powersave
# performance
# smartass
################################

################################
# List of available cpu frequencies:
################################
# 245000
# 256000
# 384000
# 422400
# 460800
# 499200
# 537600
# 576000
# 614400
# 652800
# 691200
# 729600
# 768000
# 806400
# 844800
# 883200
# 921600
# 960000
# 998400
# 1036800
# 1075200
# 1113600
# 1152000
# 1190400
# 1228800
################################

# Please see list of available governors for options.
CONFIG_FREEDOM_GOVERNOR=interactivex

# Please see list of available cpu frequencies for options.
CONFIG_FREEDOM_MAXCPU=768000

# Please see list of available cpu frequencies for options.
CONFIG_FREEDOM_MINCPU=128000

# Configuration for low memory free.
# Default is 3584,4096,8192,10240,11264,12288
# CONFIG_FREEDOM_LOWMEMFREE=0,0,0,5120,5632,6144

# Configurations for TCP Buffer read and write.
# Default for both is 262144
# CONFIG_FREEDOM_TCPBUFFER_W=524288
# CONFIG_FREEDOM_TCPBUFFER_R=524288

Here is how you varify the current cpu configuration:

# /etc/init.d/88FREEDOM --verify
Verify the current Freedom Kernel configuration
>>>
Your current governor is: interactiveX
Your max cpu frequency is: 768000
Your min cpu frequency is: 128000
Your min memory free config is: 3584,4096,8192,10240,11264,12288
Your tcp buffer w/r is: 262144/262144
>>>

Here is how you look at your current cpu freq stats:

# /etc/init.d/88FREEDOM --stats
Verify the current Freedom Kernel configuration
>>>
128000 23369
245000 3053
384000 556
422400 79
460800 60
499200 74
537600 45
576000 21
614400 34
652800 126
691200 166
729600 158
768000 13213
806400 30
844800 5
883200 5
921600 0
960000 0
998400 860
1036800 0
1075200 0
1113600 0
1152000 0
1190400 0
1228800 0
>>>

Lastly, all information gets logged on boot. Check it here:

# cat /data/local/tmp/FreedomKernel.log
Mounting the sdcard
Applying dos2unix to /sdcard/FREEDOM-CONFIG/config file just incase!
Killing extra scripts with a loop
Writting interactiveX
Writting 768000
Writting 128000
Skipping attribute low memory free
Skipping attribute TCP Buffer R/W
Unmounted sdcard
Complete

[/CENTER][/QUOTE]

This file does not exist on my wifes sdcard/*...I am going to reflash to see if it gets created, but if not can I just create a text file myself with the code? Thank you for a clean kernel Lithid.
[EVO 4G Android Development] buckhunter:
That is a script for a future release (v0.9.5) that Lithid was working on. The current released version is v0.9
[EVO 4G Android Development] interloper:
Dang. I checked the version but didn't notice the version was different on the topic...thank you. I still wonder if it can be created for use with v.9+... I suppose I'll have to try it and see. Cheers!
[EVO 4G Android Development] tang12:
So we probably wont see a v0.9+? I just came back to sense from aosp and find out my favorite kernel is stopping ;(
[EVO 4G Android Development] ckoadiyn:
He visited yesterday he posted in a ics forum here..
[EVO 4G Android Development] trancefreak64:
I hate sound like a knob becaise I use aosp cm7 but where and how would I adjust or tweak this kernel. Do I need an app ?
[EVO 4G Android Development] vin255764:
Its a Sense kernel.Sense ROM+SetCPU from market
[EVO 4G Android Development] androidsupra:
no frills cpu is really good and it's free
[EVO 4G Android Development] Leeboy:
This is a Sense kernel, you need an aosp kernel! Try the Tiamat 3.3.7 kernel aka "Lee".......it's not the newest release, but seems to be the most stable for anyone running aosp roms;) Worked great for me on Deck's rom! It's undervolted by default and you can also overclock up to 1.267ghz. if your phone will allow. Download "System Tuner Pro" from the market for overclocking and various other tweaks. Then download "Incredicontrol", also from the market, for setting your voltages. Hope this helps!

>>And here is a link:

http://tiamat-dev.com/tiamat_evo/
[EVO 4G Android Development] interloper:
Nice catch.
[EVO 4G Android Development] wallaceb:
i have recently been experiencing this issue
[EVO 4G Android Development] buckhunter:
Which version are you on stock/less/more/aggressive? What is your min cpu set too 128/245?
[EVO 4G Android Development] interloper:
I use this kernel with a stock rooted. I don't have any problems at all. I flash this too http://xdaforums.com/showthread.php?p=18376087 . The device experienced issues with the "other guys" kernel but this one has been a rock.
[EVO 4G Android Development] Dan330:
is this the best kernel for Synergy + God mode?

i just flashed the Aggressive version... is that best?
[EVO 4G Android Development] buckhunter:
All phones react differently but aggressive has the most undervolt for battery life (-175)
[EVO 4G Android Development] picklerick:
is there away to enable /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies with having to compile it from source? I dont have the need for all the available frequencies and would like to only make about 5 active plus I only see the min and max freq's being used no matter what governor i select
[EVO 4G Android Development] trancefreak64:
Thanks guys I use cm7 and I needed some tips for my wife's phone with mikg 2.61 thanks for all the advice.
[EVO 4G Android Development] pmacevad:
I know devs hate when asked for an eta but is there going to be an update anytime soon or has this thread been abandoned? It's a great kernel, the only one I use for sense, and I'd love to see it progress. Things have seemed to come to a screeching halt. Anyone have any knowledge of what's going on? Tia.

Sent from my modded mikG Evo... It's easier this way. :)
[EVO 4G Android Development] fasteddie5:
I've read here that the dev has moved on to a different device.
[EVO 4G Android Development] androidsupra:
the dev has moved to a different os, I wouldn't count on anything happening here

infectedrom.com its everywhere you want to be...
[EVO 4G Android Development] buckhunter:
Lithid has an Iphone but he still has his evo too I think so we will have to wait and see I guess. Maybe check him out on twitter
[EVO 4G Android Development] mxl180:
Just wanna say I went back to stock for a couple weeks now. No more random death boot, but battery is worst.
[EVO 4G Android Development] moorreese:
I installed the aggressive .9 Freedom Kernel yesterday and its working great but as soon as I rebooted it after the install a headphone\headset icon appeared in my notification tray and I don't know how to get rid of it. Has anyone else had this problem before? :confused:
[EVO 4G Android Development] aaanadie:
:D:D:D New sense kernel for all flash maniacs!!! :D:D:D

http://xdaforums.com/showthread.php?t=1411383
[EVO 4G Android Development] interloper:
I've never had this issue and have used this kernel on a couple different devices. Have you reflashed yet for the easy fix?
[EVO 4G Android Development] jirafabo:
could someone mind explaining the difference between GODMODE, NIGHTLY, and UNIVERSAL? I don't see how that's not explained in the OP.
[EVO 4G Android Development] buckhunter:
Godmode= Synergy rom w/godmode

Nightly= Cm nightly rom

Universal= Roms other than the ones above
[EVO 4G Android Development] jirafabo:
Thank you, however now I have another problem.

When I try to flash it, I get a signature error. "Zip isn't signed correctly!"

I'm flashing on top of a Fresh ROM, I am on an older version of HBOOT, not sure if that could be the problem. everything else is up to date.....

Any ideas?
[EVO 4G Android Development] Legendary20:
What recovery u using
[EVO 4G Android Development] jirafabo:
RA-supersonic-v2.2.1 pretty old

Also I found this on Fresh's site. But I'm not sure if that relates to his ROM flash or this.

"Why do I get invalid signature when flashing?

This zip is signed the same as I’ve signed every other rom for the last 2.5 years but was getting invalid signature from TWRC 1.1.1. So make sure signature checking is disabled. You can compare the md5 below to make sure your download is good though."
[EVO 4G Android Development] buckhunter:
Yeah you might want to update to 2.3
[EVO 4G Android Development] jirafabo:
Since I can't try out TWRP Recovery on my Epic Touch, I took advantage of my girl's Evo and installed that instead. It worked when I chose to not verify signature, but not with signature checking on. Guess it's a Fresh ROM issue.

Thanks for your help. Let's see if she notices some battery savings.
[EVO 4G Android Development] buckhunter:
Which one did you dl. Less/More/Aggressive?
[EVO 4G Android Development] jirafabo:
i went with less. she keeps saying her battery is dropping like crazy, but ill wait til i recalibrate and run for a few days before i accept that.
[EVO 4G Android Development] Legendary20:
If u ever run into issue again. Say you went to amon ra for some reason. All you have to do his go to toggle signature verification in recovery. It is in the menu where you go to install zips.
[EVO 4G Android Development] buckhunter:
It should def get better after recalibrate and let it settle a few days. I ran the aggressive for months with no issues but some phones dont like -175 uv and had reboot issues.

Edit: check your pm.
[EVO 4G Android Development] jirafabo:
I looked around in the RA recovery, but didn't notice the toggle option, but then again I was looking in MORE, not in the flash menu. Oh well, she has TWRP now! Thanks for the help!
[EVO 4G Android Development] saprano614:
any chance of an update to the newest kernel
[EVO 4G Android Development] a senile fungus:
Only time will tell, eh?

~ I'm a fungi
[EVO 4G Android Development] buckhunter:
Not unless someone else takes over this project.
[EVO 4G Android Development] sinnedone:
I thought I read somewhere lithid went to iPhone, if that's true I don't see him updating.
[EVO 4G Android Development] Notorious:
He got a gs2
[EVO 4G Android Development] detcup4evr:
Hey not sure if anyone is interested, but I downloaded lithid's source and enabled swap on the aggressive version of .9

Sent from my Synergized Evo with aggressive Freedom using the XDA app
[EVO 4G Android Development] Captain_Throwback:
That sounds like something interesting to try out, since I have a swap partition. May I please have a link?

My device usually prefers Less Freedom, but I can see if Aggressive works okay for a little bit.
[EVO 4G Android Development] Greytest:
Is this the universal or synergy edition?

I'm interested in the universal.:)

Are you going to do any updates?
[EVO 4G Android Development] detcup4evr:
Glad to see there is some Interest in swap. I decided to compile a stock and Less version in addition to Aggressive. My phone booted fine with all 3.

SWAP Info/Steps:

1.	I created a Swap Partition with Amon.RA.

2.	I used AppsToSD Gui to activate swap.

3.	You can check Swap by opening Terminal Emulator and typing Free

As far as further development, I would like to be able to continue to build upon the great Base Lithid created, however I still have a ton to learn.

I’ll probably look at some of the other Kernels out there and see if I can get some ideas.
[EVO 4G Android Development] Greytest:
Yay! Thanks a million.
[EVO 4G Android Development] Greytest:
Flashed the Aggressive.. .working like a champ! Thanks again.
[EVO 4G Android Development] sinnedone:
If you try it out post your results. I know swap space used to help alot on my original palm pre. It might help with those sense 3.0-3.5 roms that like to hog up memory.
[EVO 4G Android Development] cmonsterf50:
What size swap partition did you use?
[EVO 4G Android Development] detcup4evr:
So far seems like the phone responds better. I used a 64 mb Partition and Swapiness at 60 (defaulted in Apps2SD gui) Although I haven't had much chance to really put my phone through the usual paces, as I been in a training class today.
[EVO 4G Android Development] sinnedone:
What rom are you using?
[EVO 4G Android Development] detcup4evr:
Syngery RS1
[EVO 4G Android Development] dieselford:
Nice job! I can't seem to get a kernel to compile. Glad to see someone stepping up to kernel development. I would like to see smartass v2 governor. My phone seems to like smartass v2 with deadline I/o. Unfortunately there is no sense kernel with both. Been trying to figure it out myself.

Sent from my Anthraxed Shooter OG Evo
[EVO 4G Android Development] Notorious:
Ziggys kernel in virus infected rom had smartassv2 it was in the previous builds
[EVO 4G Android Development] dieselford:
Not sure but I believe it did not have deadline as an I/o option. Will look into it though.

Sent from my Anthraxed Shooter OG Evo
[EVO 4G Android Development] Notorious:
I was just mentioning ziggys kernel had smartass v2 not sure about deadline
[EVO 4G Android Development] detcup4evr:
It was a beast tring to figure out how to compile a Kernel. Every website has a different set of instructions and none of them seemed to work for me. I might toss together a quick Guide on what I did to get it working.

On a side note Thanks for the GREAT beginner Task for me. :) I think I managed to Port it out of Ziggy's. When I selected SMARTASSV2 from SetCPU I could see a change in CPU behavior. Give it a test run and let me know if you think it is working.

Thanks for Telling me where I could see smartass V2 in action. (http://git.ziggy471.com/supersonic-gb.git/commit/?id=7359c7ae3e2ebdb7d42477359d3ff98c748a7540)

I also Added Tiny RCU (Netarchy Golden Monkey had that and I remember it being Pretty Snappy) so I thought I would add it and see if it makes a difference.

If any one wants a copy of the config files (3) for SmartASSv2 (I Borrowed the code From Ziggy) Thanks Ziggy! please let me know. I am going to look into getting o a GITHub account.
[EVO 4G Android Development] cmonsterf50:
If you get more involved with this, you night need your own thread. :)
[EVO 4G Android Development] dieselford:
The guide would be awesome. I get close but no cigar. I get a few errors and don't know enough yet to resolve them. Will try out your kernel with smartass v2. Already running less freedom with swap. Thanks for doing what I haven't figured out yet.

Sent from my Anthraxed Shooter OG Evo
[EVO 4G Android Development] sinnedone:
What make/side/speed card you using?

That's a sense 3.5 rom?
[EVO 4G Android Development] dieselford:
I run a 16gb class 10

Been running with swap and smartass v2 all day. So far so good. Still working on my dev skills. However, you have made this kernel better than it was already. Lithid did a great job building this to begin with.

Sent from my Anthraxed Shooter OG Evo
[EVO 4G Android Development] tang12:
Do i need swap to run the kernel? I think i skipped it when i partitioned...
[EVO 4G Android Development] detcup4evr:
You don't need a swap partition to use the kernel, u can run it without using swap, however, if u want to try swap without a partition u can try using swapper2 (free from matket) that allows u to use a swap file.

On a side note I am working on a few more tweaks, I am running a test version with SIO i/o schedule, and results are good so far, if any one has any suggestions I am willing to look into them.

I want to add a couple more changes before I start the new thread.

Sent from my Synergized Evo running Aggressive Freedom with SWAP using the XDA app
[EVO 4G Android Development] dieselford:
More freedom version is my preference if you make new versions. That would be great. How about that guide? I managed to compile the stock set up from lithid's github. Still need to figure out my own. Where do you put patch files for i/o schedulers?

Sent from my Anthraxed Shooter OG Evo
[EVO 4G Android Development] shizkoff777:
Keep it going guys
[EVO 4G Android Development] ca1ne:
Glad to see someone working on it, I'm a little behind in my work on a kernel, because I never got a response from lithid giving me permission to use this as a base, so I'm starting from HTC source and adding everything in... Anywho, want to get together and have some kernel fun when the new kernel source drops..
[EVO 4G Android Development] Greytest:
Say yes say yes
[EVO 4G Android Development] Schnider:
Hello just wanted to say thank you for this amazing kernel relize I don't have a lot running but even still these numbers are pretty amazing to me View attachment 891942
[EVO 4G Android Development] sharkboy0901:
Does this kernel have swap too?

And is it agressive? More? Or less?
[EVO 4G Android Development] Notorious:
Kernel has swap support. Not sure on the level of undervolt he used
[EVO 4G Android Development] sharkboy0901:
Thanks for quick reply just need it to be aggressive to be perfect because it gives me the best battery life
[EVO 4G Android Development] Greytest:
View attachment 893590

Sent from my PC36100
[EVO 4G Android Development] pmacevad:
Is this a new kernel for the evo? Is this a flashable zip? Exciting if it is. Haven't checked this threat in ages.

Sent from my Modded Evo... It's easier this way. :D
[EVO 4G Android Development] Notorious:
based on lithids kernel with swap support and smartass v2 scaling governor and its flashable :D
[EVO 4G Android Development] detcup4evr:
I am game to put our heads together and see what we can do. All of this is pretty new to me, but I am picking up a lot pretty quickly. Still working on getting all my ducks in a row before I release the version I am using (More,less, and Aggressive).

I am also trying to get a certain feature working (sbc) before started a new kernel thread otherwise the thread will be clogged with can i add sbc requests :)

Tomorrow I will flash back to the nonsbc version to see if the extra battery life is in my head. So far sbc is still giving me -ma when changing but seems like battery is taking and hour to get to 90% which seems longer then I remember.

***Edit*** Just digging through the Battery Charging code and found why I am not getting charges above 4193 (I don't want them to much more above that 4202 is max) but I might try tweaking that number and see what happens.
[EVO 4G Android Development] pmacevad:
Sweet! Thanks to those who picked this back up is in order. I'm going to give this a flash and check it out. :D
[EVO 4G Android Development] ca1ne:
That's exactly what I've been doing on my end lol, so we will probably be releasing similar kernels, lol.. But same for me, just learning now, getting prepped for new source
[EVO 4G Android Development] NxNW:
lithid still shows up on XDA from time to time. (He has a new tool out that is getting some attention.) Maybe try asking him again?
[EVO 4G Android Development] xxRAMOTHxx:
What is his new tool?
[EVO 4G Android Development] Notorious:
Compile cyanogenmod nightlys
[EVO 4G Android Development] xxRAMOTHxx:
Ahh.. Thank you!
[EVO 4G Android Development] mxl180:
I stopped using the kernel after random reset loops. BUT started using again but this time setting the minimum to 256 and max to 768, no reboots for the last few days.
[EVO 4G Android Development] detcup4evr:
Hey Guys I have posted the updated kernels here:

http://xdaforums.com/showthread.php?p=22514146#post22514146
[EVO 4G Android Development] ArrhythmiA:
Every time I try using an overclock app the whole phone crashes and reboots...

Any ideas
[EVO 4G Android Development] Notorious:
how high are you overclocking?
[EVO 4G Android Development] buckhunter:
How high are you trying to oc
[EVO 4G Android Development] cmonsterf50:
Oh ... Can I ask too? I tend to stay at 1126.
[EVO 4G Android Development] ArrhythmiA:
It gave a 12?? something option, set it to that. Then after that I would open the app, black screen with menu bar, then crash.

This was mainly with CPU Tuner.
[EVO 4G Android Development] Notorious:
your overclocking to 1.2Ghz most evos cant handle that try lowering it a little
[EVO 4G Android Development] ArrhythmiA:
Thanks.

Let me reload the Kernel and try again.
[EVO 4G Android Development] ArrhythmiA:
Alright.

Now I'm using SetCPU Set at 1152000. Its running and stable doesn't seem too much faster. And I have no idea what scaling to leave it on, I've got it ondemand. What should my benchmark numbers be?
[EVO 4G Android Development] boombotz401:
That varies but as for governers its different from phone to phone mine works best with smartass v2 and interactivex but yours may vary depending on setup try one out give it a day or 2 and try another

Remember not to set your over clock settings on boot higher isn't always better hope this helps
[EVO 4G Android Development] boombotz401:
Also I take no credit for this but a user posted to delete the file post boot sh file in system etc and made a world of difference for me

Thank leeboy for that
[EVO 4G Android Development] ArrhythmiA:
So delete the kernel off my SD card after booting?
[EVO 4G Android Development] interloper:
He said to go to /system/etc and delete the file called "sh". Use Root Explorer if you have it or if you can use adb use the command:

adb shell
rm -f /system/etc/sh

"sh" should not exist in that location anyways. It belongs in /system/bin. If it is in /system/bin do not remove it or you will lose shell access and apps such as adb and terminal emulator will no longer work.

Good luck.
[EVO 4G Android Development] volk9029:
No go to etc find the init.post_boot.sh file and delete that, nothing else.

Sent from my lair.
[EVO 4G Android Development] interloper:
Can either of you send me a copy of that file. My email is on my profile I believe. Thanks fellas.
[EVO 4G Android Development] Leeboy:
Do you even know what the hell you're talking about? Apparently not!

I'm the one that originally posted this procedure. This is something that people have been doing for quiet a while now.......I've been doing it since the Hero. In fact, it's the first file I usually move/delete. This file is nothing more than a boot script that manages your cpu during startup. Use a text editor and open it yourself......it has nothing to do with loosing shell access. There are various settings for the governer, polling interval, up/down thresholds, min/max. frequencies, etc. Using a third party app for taking control of your cpu in conjunction with this file can cause instability, various reboots and bad battery life. It's best to have only one app or script controlling your cpu. Otherwise, your phone will constantly be "confused" and bog down or eventually reboot itself. I've deleted this file on all 4 of my current phones (Evo, E3D, Epic, Hero) and they all run beautiful! A word of warning though, if you're not going to use any app to control your cpu, LEAVE THIS FILE ALONE!

>>Maybe you should educate yourself better before scaring people by posting something you know nothing about;)
[EVO 4G Android Development] Notorious:
hows the 3D world?
[EVO 4G Android Development] Leeboy:
Hey! What's shakin' noob? 3D world's been great! Vin, Joel, Virus and Mik got this thing flying with their bad ass roms. Chad's been back in action for a while now over at infectedrom.com......should see some stuff for the Evo over there soon. He finally gave the ol' finger to xda and all the bs over here! Qualcomm source is a beautiful thing:D
[EVO 4G Android Development] Notorious:
Yea I've been watching some nice roms out there
[EVO 4G Android Development] Leeboy:
Better get you're butt over there soon......could use your help, the ol' gang misses ya;)
[EVO 4G Android Development] Notorious:
It's crazy over there so much questions and then you have GSM and CDMA I can't do it