yashsingh1/xdaforums huggingface dataset:
[Droid Eris Android Development] DS36:
wow no freaking wonder this plus colins_batt tweak gave me 40 hours of life
[Droid Eris Android Development] Hungry Man:
lol =p

Awesome :D Thanks so much for the work guys.
[Droid Eris Android Development] BeinDroid:
Can't get the download link to pull up anything... Anyone repost it or re-up?
[Droid Eris Android Development] DS36:
here you go
[Droid Eris Android Development] BeinDroid:
thanks. perfect
[Droid Eris Android Development] sticktodrum:
DS36, you are a sexybeastman for posting the link. My fone can haz secks speedz nao!
[Droid Eris Android Development] DS36:
haha no doubt

i prefer the batt savings

enjoy
[Droid Eris Android Development] Abrasher:
Is there a place to go to where I can read up on android Kernels?
[Droid Eris Android Development] kmo97:
Will this work on a 2.1 ROM?

xtrSense to be exact.
[Droid Eris Android Development] piccolo75:
Not sure what's going on here. I've been running KaosFroyo V37 with no problems, other than an extremely short battery life. Tried flashing CFSv6 this afternoon and the install process appears to go just fine. However, when rebooting my Eris it seems to freeze at the bootloader screen goes no further.

I tried reflashing Kaos V37, then I did a Dalvik wipe, rebooted and all was well. Then I rebooted into recovery mode and flashed CFSv6 and the installation appeared to go as it should...until rebooting. When rebooting it never goes past the bootloader screen (three droids on skateboards).

I am able to flash CFSv5 with no problems, but for whatever reason CFSv6 will not run.

Any help would be greatly appreciated.
[Droid Eris Android Development] Hungry Man:
I've actually had that problem. I've had to pull the battery, reflash kernel, wipe dalvik, reflash my ROM. Any time I reboot it's a battle just trying to turn it back on it seems.
[Droid Eris Android Development] dstroo2012:
Yeah I flashed v6 late last week today I charged my phone off went to reboot and my phone stuck at the boot screen tryed to do a nand restore and that didnt work had to re flash everything? Came here to get it again so I could flash it but maybe ill hold off
[Droid Eris Android Development] Hungry Man:
Basically... if you turn your phone off it causes problems. Wipe dalvik and try reflashing the kernel and then reboot and it should work. Hopefully this'll get fixed asap >.< but it's not a huge deal ebcause I don't turn my phone off.
[Droid Eris Android Development] Conap:
Your saying this kernel causes a boot loop if you turn your phone off? I turn my phone off all the time with no issues...what roms has this happened on?
[Droid Eris Android Development] loki154:
I turn my phone off every day with no boot loops
[Droid Eris Android Development] dstroo2012:
Im running kaodfroyo v37 I had cfs v6 on my phone running fine for a few days then drain the battery all the way to wipe stats went to turn it on and got stuck at boot screen
[Droid Eris Android Development] Conap:
if you get a boot loop and you can get of logcat of the loop it can be helpful....i personally turn my phone of all the time and have never had a boot loop...well one time i did cause i pulled the battery in the middle of flashing a test boot.img and it wasn't really a boot loop cause it didn't come on at all but that's a user error not a kernel error lol....of course i'm normally running CELBfroyo but have also used this kernel on some other roms mostly one's i have made and have had no issues like this.
[Droid Eris Android Development] Hungry Man:
I haven't had a problem lately. I just rebooted with the newest Tazz ROM and it's working nicely.
[Droid Eris Android Development] homewmt:
You should take a look at this

http://xdaforums.com/showthread.php?t=730471

This is a hero kernel, looks very interesting, maybe you could implement some of these things like setting OC speed at boot, governors, and performance tweaks.
[Droid Eris Android Development] DS36:
That looks really interesting hope we get a port mr conap ;)
[Droid Eris Android Development] Hungry Man:
I think my previous issues can be tracked to my customizing the framework-res.apk on my phone. I've resolved that issue and no other issues have come up with this kernel.

Sorry for the false alarm on that :D Great work as always.

^^ And isn't that the other Hero? The one we can't port from? I could be wrong I only glanced.
[Droid Eris Android Development] DS36:
Yea your right its the g2 false alarm
[Droid Eris Android Development] Conap:
Glad you got it resolved....

And you can't "port" a kernel quite as easily as you do a rom....i can take a look at the source and see if there's anything that can be added to our kernel though....
[Droid Eris Android Development] srmccoy:
I too had issues with restarting my device. After flashing the kernel, everything boots just fine. The next reboot, however, results in the "Endless Skateboarding Androids of Doom™".

I had to wipe-dalvik and re-flash the kernel in order to get it to boot.

Edit: I'm running KaosFroyo v37 as well as others that have posted.
[Droid Eris Android Development] eklipze:
What are the chances our device might see some undervolting on future versions of this kernel?

Maybe conap or d3ca can give some insight. Thanks for all you guys do!
[Droid Eris Android Development] Hungry Man:
V3 and on have undervolting. I think it's been mentioned taht they're undervolted as much as possible but I can't speak for the devs.
[Droid Eris Android Development] eklipze:
Awesome then!
[Droid Eris Android Development] ukjerry:
I noticed that DecafuctCFSv7.zip is available and wondered if there is any advantage upgrading from V6 to V7!
[Droid Eris Android Development] Conap:
There is no change except that I added a loop.ko module for mounting debian on the phone...if you aren't interested in debian on your phone then no need to update. In hindsight should not have named it v7 cause i seem to have confused alot of people....sorry about that.
[Droid Eris Android Development] ukjerry:
Thanks for the info

Sent using my CELB 3.5
[Droid Eris Android Development] koamalu:
Just a question, I was wondering if you were still working on a .32 kernel or a .34 kernel for a possible gingerbread ROM later?
[Droid Eris Android Development] yngfam:
Sorry for such a dumb question. I just rooted and flashed KaosFroyo v38 on my Eris and It is draining my battery like crazy. everyone says to flash your kernel and that will solve the battery issue. what is the process for me to do this? I assume it is download your file,drag it to the root of my sd card then power off the phone. reboot the phone holding the down volume and send key, then do I choose recovery and thats it?
[Droid Eris Android Development] Conap:
yeah put it on sd card, reboot into recovery, flash zip from sd, and pick the cfskernel...it's the same as flashing a rom...do NOT wipe though....
[Droid Eris Android Development] yngfam:
thank you very much
[Droid Eris Android Development] Mudrover:
I too am having terrible battery life with KaosFroyo v38 and was told to get CFSv6 kernel. However, whenever I flash the kernel and reboot, I get stuck at the boot screen. I have tried wiping Dalvik like others have said but that doesn't seem to fix. Only way I can get it back up is to wipe to factory and reflash KaosFroyo. I even reflashed back to KF v37 and tried the kernel and got the same result. Currently I am back running KF v38 and in the discharge process of reconditioning my battery to see if that helps. Any ideas?? Thanks in advanced.

P.S. - It's been 1.5 hrs since I unplugged this morning at a full charge and Im already at 79% and it's been asleep for 95% of the time :(
[Droid Eris Android Development] workshed:
Make sure you do NOT wipe dalvik or data before you flash the kernel. I would do a complete wipe of both dalvik and data, reflash the ROM you want to use, full boot that, reboot and flash the kernel, don't wipe anything.
[Droid Eris Android Development] Mudrover:
Pretty sure I did this but I will try again. *crosses fingers*
[Droid Eris Android Development] workshed:
Just make sure when flashing the kernel, you don't wipe anything before or after you flash it.
[Droid Eris Android Development] TopherBrowne:
KFv38 and CFSv6 here too. I did the deep discharge yesterday after a full charge and batt stat clear. The phone lasted about 24 hours with normal usage. That's about average. It's recharging now. We'll see what today brings.
[Droid Eris Android Development] Mudrover:
Been staring at the boot screen for about 3 minutes now. I don't think it worked. No idea what I'm doing wrong. Looks like this kernel just doesn't like my phone. Will reflash back to v38 and continue with the battery recondition and see if that helps I guess.
[Droid Eris Android Development] Mudrover:
Your lucky. I would love to get 24 hours out of my phone again. 2.5 hours since I unplugged and I'm at 55%. I think I will be lucky to get 6 hours out of it. :(
[Droid Eris Android Development] workshed:
You could always try another rom. There are many to choose from here, most all of them work great and don't have battery drain issues... you should try that anyways, then flash the cfs kernel and see if it does the same thing. Then you'll have a better idea if it's the rom you're trying to use or just your phone being strange lol.
[Droid Eris Android Development] Mudrover:
Yep, that was my next step. Process of elimination. Will do when I recharge.

Thanks for your help.
[Droid Eris Android Development] workshed:
No problem, that's what I'm here for :D

Also, don't forget to recalibrate your battery!
[Droid Eris Android Development] dougie9816:
This may be a dumb question, but I just flashed CFS V6 and wanted to verify what the Kernel version should show as in my settings.

I am showing "2.6.29-DecaFuntCFS-dirty-cd76c7c1 conap@conap-laptop #20." Is this correct for version 6?

This is the first time that I've updated the Kernel (I've read through the thread). I downloaded and installed to my SD Card, the unzipped the file. Was there anything else that I needed to do?
[Droid Eris Android Development] koamalu:
You don't unzip the file. You flash it like any ROM from recovery.
[Droid Eris Android Development] workshed:
You don't unzip it like the user above me stated... you put it on the root of your sdcard and flash it in recovery like a normal rom.

And yes, #20 is the sixth version of Conap's CFS kernel.
[Droid Eris Android Development] Maxors:
I run KFv38 and flashed CFSv6 (of which it said it succeeded) only to get the endless android skateboard boot picture. I tried wiping delvik cache then reflashing (also wiped delvik again after flashing for one attempt) to no avail. Any help would be much appreciated.

I tried to search the thread but didn't find anything that could help me ><.

Edit: I went looking through this thread more extensively and I found something I've yet to try a page back or so. Gonna try a factory and delvik wipe, flash the ROM, then go into a full boot without wiping anything, reboot, and finish with flashing the kernel. I'll let you know how that goes tomorrow.
[Droid Eris Android Development] dougie9816:
Thanks much!
[Droid Eris Android Development] Mudrover:
So I did the battery recondition which didn't seem to change anything. Tried Tazz Froyo rom with the same result. I decided to revert back to v37 which had worked fine before but now I am still chewing through the battery even with v37. I've gone back to the kaosfroyo post to see if I can get any answers there.

Let me know if you think of anything.
[Droid Eris Android Development] sovereignblood:
I tried this with no luck... Hope it works out better for you.
[Droid Eris Android Development] Conap:
This is probably due to the kernel update automatically wiping cache. It would be helpful if you could get a logcat off the loop. The other option would be to take the zimage out of the zip boot your phone into fastboot and do:

fastboot flash zimage zImage

you would then need to take the wlan.ko out of the zip file and do:

adb remount

adb push wlan.ko system/lib/modulesthe

then your wifi should work...not sure why wiping the cache would cause a reboot but this happened to someone else a while back.
[Droid Eris Android Development] whojabacod:
Why no wipe don't the zips do a wipe what's the harm in a double wipe
[Droid Eris Android Development] Conap:
The zips do automatically wipe the dalvik-cache...a double wipe shouldn't do any harm. It should be a good thing. But maybe something installed on the phone is not recreating the needed files in the dalvik-cache for the rom to boot correctly.
[Droid Eris Android Development] whojabacod:
Hhhhhhhmmmmmmmmmm.............
[Droid Eris Android Development] Conap:
?....am i not explaining well? When the phone boots the first time all your apps create a file in the dalvik-cache. When rebooting if the file is already there then the phone skips that apps. This is the reason the phone take's longer on first boot because it is creating all these files that the phone is dependant on. When you wipe the dalvik-cache then the phone has to recreate all those files. If for some reason something on your phone has changed or maybe an added app or something can not correctly recreate the file in dalvik-cache it can cause a boot loop especially if it is a system app. It should show in a logcat what it's getting stuck on.
[Droid Eris Android Development] workshed:
Damn good explanation, sir! :D

Can you explain my taxes to me later? :rolleyes: lol
[Droid Eris Android Development] eklipze:
hey conap :D

any chance we'll be seeing decad3nce's latest improvements to the heroC kernel in our neck of the woods at some pt?

https://github.com/Decad3nce/htc-kernel-heroc/commits/heroc

love all you guys do for us! thanks a million times :D

edit: i guess specifically im also curious about the smartass gov.

http://www.ziggy471.com/2010/11/07/smartass-governor-info/
[Droid Eris Android Development] Conap:
yeah i was looking at it yesterday...i will pull it eventually lol....
[Droid Eris Android Development] eklipze:
lol :D you rock dude...
[Droid Eris Android Development] Conap:
updated kernel
[Droid Eris Android Development] macdroid14:
Anyone try V8 yet?
[Droid Eris Android Development] droidJW:
I just flashed over FroShedYo V4 -- no problems. Smooth.

Conap only produces top-shelf stuff.

Next is a nandroid of my current setup and then wipe and flash CELB 3.6
[Droid Eris Android Development] d08speed3:
Will this work fine on xtrROm? Also once I flash it, it shoud be running as interactive instated of ondemad correct?
[Droid Eris Android Development] Conap:
Most rom's set the defualt governor in the init.desire.rc so I couldn't tell you what governor will be loaded by default. You can check what governor is running in adb shell with:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

You can then see the available governors in adb by:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

You can then set your governor in adb shell by:

echo "nameofgovernor" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

where "nameofgoveror" is the one you choose from the list it said were available.
[Droid Eris Android Development] d08speed3:
Ima a noob with Abd shell is there a way to check and set with terminal?
[Droid Eris Android Development] Conap:
same commands from terminal
[Droid Eris Android Development] Slugdoc:
Excellent explanation.

But where does Eris keep its log files? My vague memories of unix tells me it should be in var/sys/log or something, but I can't find any logs.
[Droid Eris Android Development] saintdice:
Do you foresee any problems with the collins tweak? Specifically, do you think the Smartass sleep settings will cause problems with min/max settings that differ from the defaults?

you know what...nevermind. i'm flashing now...
[Droid Eris Android Development] Hungry Man:
I'm going to remove setcpu for a while and see how the phone handles.
[Droid Eris Android Development] Notxok:
Tried changing in terminal and got permission error
[Droid Eris Android Development] eklipze:
One word: awesome.

I have been running the roms basically stock. No autokiller. No setcpu. Just whatever cm or other goodness is baked in by our devs.

These roms usually run fantastic and I haven't found any huge performance or battery gains running setcpu or autokiller.

The phone sleeps really well and spends the majority of its time in the lowest freqs anyway, so increasing the footprint of the total rom seems counter-productive when things like new kernels go a long way.

Afaik the smartass gov even has its own sleep profile behavior compiled directly in.

Either way it's each users choice as its your device. I think alot of these roms our devs have put out work so well (ESP the 2.2.1 / cm6.1 builds) that some of the old tricks are redundancies
[Droid Eris Android Development] Hungry Man:
As of this kernel I agree with you. Before I kept setcpu mostly for the sleep profile. As of this ROM I guess I won't need to.
[Droid Eris Android Development] eklipze:
Hooray for android!
[Droid Eris Android Development] Notxok:
Trying to change to smartass through terminal... anyone else having issues?
[Droid Eris Android Development] Hungry Man:
How are we supposed to use it normally? As in without setcpu? lol

I haven't had a phone without setcpu in months.
[Droid Eris Android Development] eklipze:
A few pages back conap typed out some directions on how to set via terminal or adb.

This wont change the default and it won't stick on boot unless your rom has it set as default in its init.desire.rc (celb3.6 does)
[Droid Eris Android Development] Notxok:
There must be a work around...
[Droid Eris Android Development] Hungry Man:
Ah well I'm running a modified celb3.6 so that's fine.
[Droid Eris Android Development] Notxok:
Modified?
[Droid Eris Android Development] Hungry Man:
I just changed things a bit on my own. At the moment they're quite close but I've only just started.
[Droid Eris Android Development] jdog94:
i got no response from these commands but i am not real good with adb
[Droid Eris Android Development] jdog94:
i did get it to work in terminal emulator and is shows me being ondemand

running froshedyo
[Droid Eris Android Development] d08speed3:
Zach told me to do this so I did....

There are a few options for you

1. From root explorer (or similar) go to /system/etc/usersettings/conf/ and open the cpu_scaling_governor_value file in the text editor. you should see the following:

echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;

change "ondemand" to "smartass" and save the file. MAKE SURE YOU REMOVE ANY BACKUP FILES THAT THE FILE MANAGER APP MAY SAVE.

2. Since the default is already set to smartass for the kernel (I believe that's what Canop stated...) you can just delete the cpu_scaling_governor_value file and reboot the phone.

Hope this helps and let us know how the kernel work with xtrROM

My question is...this Kernel is essential an "Interactive" Kernel correct? Its just called "smartass." Once I did what Zach told me I rebooted the phone and check the cpu scaling and it was set to "ondemand" I then flashed it and it became "interactive." Where as b4 when I tried to flash it without deleting the cpu_scaling_governor_value file it stayed as "ondemnad" so it worked right? lol :)
[Droid Eris Android Development] amfetamine:
V8 is insane. Everytime I think Eris/Froyo/CM development has reached it's apex, xda devs raise the bar.

Excellent work guys.

Using FroShedYo.V4 + cfs.V8. Going to try out CELB.V3.6 later today.
[Droid Eris Android Development] amfetamine:
Have to run as su.

Change will not survive reboot.

Ondemand setting in cfs.V8 offers a nice performance boost as well.

Run su, cut and paste commands from Conap's post into the Terminal.
[Droid Eris Android Development] Mudrover:
Hey all. 2 revs since v6 so I figured I would give this a shot again. Flashed KaosFroyo v38, flashed CFSv8 on top and still get a boot loop. Dev wipe, reboot, still boot loop. Flashed back to Kaos v37, downloaded CELB Rom v3.6, dev wipe (per the instructions), flashed, reboot...boot loop. Performed a full data wipe, dev wipe, reflashed CELB Rom v3.6, reboot....BOOTLOOP!

Am I missing something here?? I've waited up to 10 minutes at the boot screen just to be sure. Is that long enough?? My eris just doesn't seem to like this kernel. Any advice is appreciated.

Back to KaosFroyo v37 I go.
[Droid Eris Android Development] d08speed3:
My eris seems to not like the new kernel as well. Boot loop FML lol. Oh well...
[Droid Eris Android Development] dwcasey:
Running latest FroSHEDYo here ( v4 )...updated to v8 CFS kernel and turned on smartass governor.

Seems like it "studders" less moving around the phone. Wake up from sleep is smoother.

Q: does the smartass take affect ( or any changes to that file ) immediately?
[Droid Eris Android Development] eklipze:
i made a quick shell script for those of you that arent running celb3.6 and would like an easy way to change to the smartass gov (since im not too sure if it sticks on reboot)

smartass.sh : http://dl.dropbox.com/u/5642362/smartass.sh

download smartass.sh and put it on your sdcard

in terminal or adb:

su

cd /sdcard/

chmod a+x smartass.sh

then to change to smartass gov type

sh smartass.sh

congrats you should be running the smartass gov. you will probably have to go into terminal and

su

sh /sdcard/smartass.sh

when you reboot but its easier than typing out the whole command

also to verify that your changes took effect:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

should spit out "smartass"
[Droid Eris Android Development] eklipze:
Yes they should

verify with

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[Droid Eris Android Development] Notxok:
Can you mod this for gscript so we can set on boot?
[Droid Eris Android Development] eklipze:
it should work in gscript fine as its just a simple one liner shell script...

i was having trouble having it list on my sdcard w/ gscript so i just put the smartass.sh into /sdcard/gscript and then the load file button in 'add script' found the file and i was able to add it no problem.

try dropping the script into that gscript folder on your sdcard and it should work dandy.
[Droid Eris Android Development] x2kjosh:
Smartass becomes an option in collins too why you flash this.
[Droid Eris Android Development] dwcasey:
I loaded it into gscript lite and it looks like it's working, but I get stderr: errors before and after my commands.
[Droid Eris Android Development] eklipze:
+1 sometimes I've frozen and gotten stuck on the skateboards. I flashed to bfs then back to this.

Which log do devs need to help diagnose?

So far this flash seems stable though!!! :)
[Droid Eris Android Development] amfetamine:
Flashed on CELB2.3; wipe dalvik (twice if you're retentive like me) ; flash; wipe dalvik (see previous notation) ; reboot ; tinker. Feels good. Sharp and responsive. I bumped up some visuals; surface dithering, spareparts fancy input, fast windows animations. Stable. Nice bump in performance/responsiveness.
[Droid Eris Android Development] wilshyre:
I'm not having many issues with the BFS kernel, and I'm thoroughly enjoying the speed. That being said, I'm wondering if this CFS kernel would be faster.. it slower on our Eris? Has anyone done comparisons from the different kernel from quadrant/linpack scores? And if nit on the eris, what about the hero? Which one probably means better performance?
[Droid Eris Android Development] mrfitz98:
I'm not someone into benchmarks, but this is NOTICEABLY snappier with kaos.froyo v32.

Very nice work guys.
[Droid Eris Android Development] pkopalek:
Strangely, this EXACT same loop happens to me on Ivan's Eris_Official if I flash the July OTA update over it, and I can't figure out why.
[Droid Eris Android Development] Hungry Man:
BFS will get you higher quadrants and faster single app speed. CFS is better for multitasking and scrolling and just general phone use. That's what I understand it to be at least.
[Droid Eris Android Development] Pantheon.:
Flashed over my rom, and it feels much faster. Great work. :D
[Droid Eris Android Development] Hungry Man:
Ah finally got it to work.

Going to try it out.