yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] kamma:
you have to install module, but i have to build it first... do you want to use CFS or BFS version ?
[Desire HD Android Development] dark7200:
CFS version
[Desire HD Android Development] kamma:
here it goes... :)
[Desire HD Android Development] dark7200:
thanks a lot! :)
[Desire HD Android Development] MarylandCookie:
In a nutshell:
[Desire HD Android Development] Beamen1:
What are the differences between your kernel and Apache's if you don't mind me asking?

Also at what clock speeds is your kernel running stock voltage?

It seems very smooth but it would be cool to know what separates the kernels that you guys build.

Also there is a YT bug in your kernel.
[Desire HD Android Development] kamma:
working on possibility to change any item in frequency table... if its done, you will be able to change complete freq. table on-the-fly... :)
[Desire HD Android Development] xl VipeR lx:
What is the difference between cfs and bfs

Which is the better of the two
[Desire HD Android Development] kamma:
i need few people to test new version...

its not CWM recovery, but fastboot...

pm me...

new feature - change any frequency above 1017600Hz on-the-fly...

how to:

echo 'c1536000 1593600 1325' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

"c" means CHANGE

"1536000" old frequency

"1593600" new frequency (unlimited)

"1325" voltage (limited to 1500mV)
[Desire HD Android Development] Try4Ce:
Hey kamma, great work! Been using this kernel since a few minutes ago, but that YT bug drives me nuts (watch YT videos quite often on my device).

Any chance you can look into that issue anytime soon? It has been fixed in the latest BUZZ kernel, so maybe its worth a look :)

Loving that kernel so far, except for the YT bug its rock solid stable, and amazingly fast. Keep it up!
[Desire HD Android Development] kamma:
and what is this bug about ? i use YT v2.1.6 without any issue...
[Desire HD Android Development] lpachuong:
I tried to flash the kernel with RomManager...and it goes blank. where did i go wrong?
[Desire HD Android Development] Try4Ce:
System starts to lag alot if you press the back button while a video plays. to prevent this, you have to pause the playback first to exit the app. I know its not a big deal, but sometimes you just press "back" and then the trouble starts... It even crashes the system quite alot.

Dunno if its just me, but I think somebody else mentioned that the YT bug is present with the latest kernel
[Desire HD Android Development] kamma:
lol, got this issue too... gonna focus on it...
[Desire HD Android Development] rgrover:
Never had the YouTube bug on Core Droid whilst using a custom kernel, it is present in most of the other popular custom ROMs though.
[Desire HD Android Development] melyee:
i think it exists in all kernel include stock one.

it happens if u start a youtube video, rotate the phone to landscape, then press back key when the video is playing. The phone will become super lag, but if u disable auto rotate then it will be all right.

however, it seems like new evo speedy kernel sources have had include new video driver to fix this.
[Desire HD Android Development] more2come:
MAybe you can contact Apache14 for the YT-Solution, he found a way to fix it. The Buzz-Kernel in combination with the Revo-ROM 2.0.11 plays just fine with the newest youtube app.
[Desire HD Android Development] xl VipeR lx:
Can someone please explain the difference between cfs and bfs and which one is better
[Desire HD Android Development] mancman:
Hello kamma,

nice kernel (I use the CFS), works great together with mikes 2.0.11 fast and smooth ;o)

I use No-frills 1.3 and that works great as well.

Which govenor gives me the same like smartass, I mean when screen is off max freq. at low freq. ???

BUT:

I got 1 problem:

the program QtADB does not work proper, I got no rights to write in the system see screenshot.

Within the ROM with Root Explorer and ES Datei Explorer I got write rights.

Any ideas?

Could you add as well the YT-fix from apache??
[Desire HD Android Development] rgrover:
No it doesn't happen in Core Droid which is why I use that ROM, seen other users saying the same. You can play YouTube videos from all angles & push back button to your hearts content lol.

I have experienced the bug using Revolution (think its fixed from version 2.0.1 although I haven't tested) & Leedroid, so I know its symptoms & how to reproduce it.
[Desire HD Android Development] danielino1987:
HELLO Kamma you can change the frequency permanently? Thanks
[Desire HD Android Development] than33:
NO! This bug is present when You use 1.72 based ROM and custom kerne which in fact is based on old ROM version. It only happens with new YouTube app. It looks like HTC has corrected this with new kernel. The only problem is that there are no sources of this new kernel.

I sought in newest android revolution in changes: "YouTube "Back" button issue fixed". He is using his own kernel. Maybe You should ask him how to fix this.
[Desire HD Android Development] melyee:
is that possible to have the customize vdd_levels script execute automatically?
[Desire HD Android Development] kamma:
Changelog v1.9 - for real enthusiasts

- change any frequency above 1017600Hz on-the-fly

- YouTube issue solved

kkernel_v19bfs_cw.zip (4.57 MB)	http://www.multiupload.com/SA5ZF9PV57

kkernel_v19cfs_cw.zip (4.62 MB)	http://www.multiupload.com/34H269DABM

How to change any frequency above 1017600Hz on-the-fly

echo 'c1536000 1593600 1325' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

"c" means CHANGE

"1536000" old frequency

"1593600" new frequency (unlimited)

"1325" voltage (limited to 1500mV)

How to set max frequency on-the-fly

echo 'm1593600 1350' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

"m" means max frequency

1593600 is max frequency (no limitation)

1350 is voltage for this frequency (maximum is limited to 1500mV)
[Desire HD Android Development] XBOCT:
[Q][Solved]How to run Terminal command at startup?
[Desire HD Android Development] lpachuong:
kamma, I can't get ur kernel work with kali CM7 :( I used Rom Manager to flash then got stucked at the HTC boot screen.
[Desire HD Android Development] Try4Ce:
This kernel is for sense based ROMs. So you cant use it with CM nor MIUI.
[Desire HD Android Development] bertuzzi:
Hi,

which is the best setting for the setcpu whit the version 1.9 of this kernel?

I'm using android revolution 2.0.11 no-sense.

Thank you very much
[Desire HD Android Development] Schmurtz1968:
Fastboot flashing kernel

@kamma

Is it possible to have fastboot flash zip ?
[Desire HD Android Development] kamma:
i can send you zImage... for which version ? CFSxBFS

or you can extract zImage from boot.img
[Desire HD Android Development] bertuzzi:
Hi,

which is the best setting for the setcpu whit the version 1.9 of this kernel?

I'm using android revolution 2.0.11 no-sense.

What is the difference beetwen cfs and bfs?

Thank you very much
[Desire HD Android Development] kamma:
for me its :

interactive governor min max

screen off profile min 245, max 368
[Desire HD Android Development] Moskiller:
What's the difference between bfs and cfs kernel version?
[Desire HD Android Development] ringrover:
kamma

this zip file can i install it from recovery mod ??? or just fastboot ...

if only fastboot ... could please make it for recovery as well
[Desire HD Android Development] XBOCT:
kernel installation

You can install it from recovery. I think that "_cw" in zip name means "ClockWork"
[Desire HD Android Development] autracer:
This kernel isnt best choice 4 me

Takes 6 times more battery.

From 6mA to 35-44 mA

All settings same.
[Desire HD Android Development] coolacrille:
Hello.

Nice work, got 2700 in quadrant(don't know why I care). Also Flash video seems A LOT smoother now on ARDH 2.0.11.

Have a problem though, my WIFI died. When I try to activate it only says "Fel", that is "Error" in english. I used the Kernel Update Utility to flash and everything else seems to be working perfectly :(

Edit: reflashed via recovery, everything ok. Will report back any problems. Thanks.
[Desire HD Android Development] Schmurtz1968:
Extracting zimage from bootimg

I do prefer to feed myself, than to always need help from others.

That is to say that i'll be really enjoyed to know how to extract zimage from bootimg.

I'v send you a PM for that.

Thanks mate for your answer. :)
[Desire HD Android Development] pablo11:
for all the anoying questions about "what's the difference between bfs and cfs"

http://www.stackednotion.com/2010/06/04/what-are-bfs-and-cfs
[Desire HD Android Development] gerz:
ONE QUESTION ermmm why cant i overclock to 2ghz like i used to :( im doing it all right i know because in the previous versions of kamma i would get up to very high speeds now i type in the commands but it wont show up/let me overclock to that speed :(
[Desire HD Android Development] mancman:
Hello kamma,

nice kernel (I use the CFS), works great together with mikes 2.0.11 fast and smooth ;o)

BUT:

I got 1 problem:

the program QtADB does not work proper, I got no rights to write in the system see screenshot.

Within the ROM with Root Explorer and ES Datei Explorer I got write rights.

Any ideas?
[Desire HD Android Development] XBOCT:
/system RW in adb

May be my answer is not useful to you...

default.prop included in boot.img rootfs has line:

ro.secure=1

This doesn't allow adb remount /system with write permission. May be kamma will change it to unsecure in future releases.
[Desire HD Android Development] brolee93:
how to fix in reboot 1700MHz ?

1700MHZ work perfecty with 1350vdd but in reboot my kernel is 1530MHz
[Desire HD Android Development] mancman:
If that would solve my problem

--> would that be possible kamma??
[Desire HD Android Development] Elemental_Fire:
Can't set max frequency any more :( using this.

echo 'm1900000 1500' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

Using LeeDroid 2.0.0
[Desire HD Android Development] brolee93:
how to apply a default rate of my choice and that it does not remove at each reboot ?
[Desire HD Android Development] kamma:
1900000 mod 19200 != 0

so the nearest freq. should be 1920000

use this:

echo 'm1920000 1500' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
[Desire HD Android Development] XBOCT:
adb remount

We can try ;)

Here is kamma's kernel (v.19, cfs) with changed /build.prop
[Desire HD Android Development] danielino1987:
???? Quote..
[Desire HD Android Development] brolee93:
With this parameters my phone freez in ondemand
[Desire HD Android Development] brolee93:
I can not put 1700MHz whereas before it worked with kernel 1.5
[Desire HD Android Development] davebert:
This isn't the first time I'm using your kernels and never had this type of problem but I can copy that.drain on my phone is also risen to about 40 ma. I'm using Core Droid DHD. I hope you can figure out the fault and solve it.

Thanks in advance.
[Desire HD Android Development] Elemental_Fire:
Ohhhh! Thanks kamma :D
[Desire HD Android Development] hammer31:
personally prefet 1.8 than 1.9 ,alot of lagg
[Desire HD Android Development] coolacrille:
Really great performance, but battery drain is way too high for a normal user. But I guess that's how it is is supposed to be ;) Just to let people know... It does what it should.
[Desire HD Android Development] bratboo:
Hi!

Could someone help me? I want to try this kernel but which of them should I use? I'm using Android Revolution ROM

kkernel_v18_172_cw.zip (4.59 MB)

kkernel_v18_cw.zip (4.56 MB)

kkernel_v18cfs_172_cw.zip (4.64 MB)

kkernel_v18cfs_cw.zip (4.64 MB)

Thanks!
[Desire HD Android Development] Try4Ce:
Yeah, I'm reading some serious battery drainage here as well. The currentwidget graphs looks pretty chaotic as well. Using 1.9 CFS with AR 2.0.11
[Desire HD Android Development] pablo11:
Do some research first. Ask in the rom thread too.
[Desire HD Android Development] kamma:
this should be the right choice for you...

kkernel_v18cfs_172_cw.zip
[Desire HD Android Development] pablo11:
You are a very helpful developer. Nice :)
[Desire HD Android Development] than33:
I can confirm that 1.9 is using 30-60 mA all the time. 1.8 is using 3mA when idle as it should.
[Desire HD Android Development] kamma:
need testers for this app...

http://xdaforums.com/showthread.php?t=950364
[Desire HD Android Development] chemita:
sure that is already asked, but my English is not very good. but, can anybody say to me for that it takes a few seconds in lighting my screen with this kernel??? I value his work @Kamma
[Desire HD Android Development] kamma:
this is caused by BFS version on some devices. i recommend to you, to install CFS version.
[Desire HD Android Development] chemita:
thank you very much @Kamma!!! I am going to try to see
[Desire HD Android Development] coolacrille:
Confirmed again. Flashed 1.8 and got a couple hundred less points in Quadrant, but standby is about 6mA now :)
[Desire HD Android Development] chemita:
I do not understand .... it does not change to me the frequency. according to the setcpu and quick system have the frequency 1536 when I have put 1.8ghz I did

it with: echo 'c1536000 1593600 1325' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

and

with this: echo 'm1593600 1350' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
[Desire HD Android Development] mancman:
YES thanks that does the job!!!

Could you add this please as well in the 1.8 cfs for me??

@kamma:

Would please be so nice and implement this in the next versions??

Will there be a less power consuming version soon?
[Desire HD Android Development] XBOCT:
Here is kamma's kernel (v1.8cfs + k18-nls_utf8_cfs kernel module) with modified default.prop
[Desire HD Android Development] funkatiko:
For some reason when i apply heavy undervolt/overclock it frezees while ondemand but if u execute the script while in performance and THEN u switch to ondemand, it works allright. Until next reboot....
[Desire HD Android Development] mancman:
You wrote v1.9 but the file is v1.8, which I asked for!

THX
[Desire HD Android Development] kamma:
strange, tested all day and in standby i got 3mA to 11mA...
[Desire HD Android Development] XBOCT:
I have compared the power consumption of 1.8cfs and 1.9cfs in suspend (WiFi OFF, mobile data OFF, BT OFF).

1.8 eats 1-5mA with short spikes 30-80mA

1.9 eats 1-5mA but occasionally consumption may increase to 30-40mA for at least several hours. Once I turn on and then turn off the phone again, consumption may fall back to 3-5mA, but may stay at 30-40mA.

The same thing happens with latest Apache's and Lee's kernels too. As i know, all these kernels include a new video driver.
[Desire HD Android Development] hammer31:
i can confirm consumition 1.9 is about 46
[Desire HD Android Development] than33:
this is not good for me: after You told me there is lag in bfs based kernels i started to see this. So I flashed kernel with CFS for a try (1.8 - because of 1.9 power bug) and can confirm that CFS is much smoother and stable (in terms of speed). I also made some benchmarks and CFS is giving me 2030 point in quadrant instead of 2200 with BFS. I'm using 1.1 Ghz max. So for now I prefer 1.8 kernel with CFS and with BFQ enabled.

I've read that BFS is tend to prefer tasks with highest cpu usage. This gives You those extra points in quadrant, but it is not good for overal sense of speed. One must remember that there are other tasks in system (like watching your finger on screen) that needs system cpu all the time.
[Desire HD Android Development] kamma:
here is screenshot of power consumption from standby mode...

3-5mA
[Desire HD Android Development] than33:
and what ROM are U using? I got Android Revolution HD 2.0.10
[Desire HD Android Development] kamma:
I am on villainrom 1.4
[Desire HD Android Development] perern:
Kamma? are you going to add 122mhz for even more battery saving?
[Desire HD Android Development] xanadu:
Tonight tried villainrom 1.4 with your 1.9 cfs kernel: battery drain was 43% in 9 hours standby on 2g, wifi off, gps off, bluetooth off:

2011/02/15 04:00:40,-50mA,76%

2011/02/15 04:10:34,-52mA,75%

2011/02/15 04:12:21,-51mA,75%

2011/02/15 04:22:14,-53mA,74%

2011/02/15 04:24:35,-58mA,74%

2011/02/15 04:26:11,-52mA,74%

2011/02/15 04:27:35,-51mA,74%

2011/02/15 04:28:41,-51mA,74%

2011/02/15 04:33:29,-83mA,74%

2011/02/15 04:42:22,-51mA,73%

2011/02/15 04:52:14,-52mA,72%

2011/02/15 04:55:42,-51mA,72%

2011/02/15 04:56:42,-51mA,72%

2011/02/15 05:03:43,-112mA,71%

With 1.8 kernel and android revolution rom it was 9% in 9 hours and currentwidget 3-5 milliamper.
[Desire HD Android Development] perern:
Any way to change frequency below 1017?
[Desire HD Android Development] petar.sabados:
Can also confirm lower batt usage on 1.8 but I do have to say this is the only kernel that allows me 1.5 ghz without freezing up and forcing me to reboot.

Linpack @ 56 with this. And revolution Rom.
[Desire HD Android Development] pb_1996:
when i try to set max frequence nothing happen. i am using terminal emulator. i have version 1.9. what can be wrong?
[Desire HD Android Development] Schmurtz1968:
Did you type SU at first to have Superuser permissions ?
[Desire HD Android Development] chchang1:
i get average 2~3 ma on leedroid;), but it suddenly jumps to 45~50 ma once in a while:eek:, not as much lag:D loving it:cool:
[Desire HD Android Development] Dr.FANTASTIK-US:
Hy kAmMa ,, your kernel is PERFECT !!!!

Hy kAmMa ,, your kernel 1.9_bfs is almost PERFECT never in doubt ,, only 'WakeUp lag' is enervant ! ! ! ! :mad:

here is one night log ,, from battery usage :

> SetCpu : Interactive , max 1536 , min 245. using Core Droid 2.4

2011/02/16 01:00:03,-86mA,99%

2011/02/16 01:07:37,-1mA,99%

2011/02/16 01:17:30,-1mA,99%

2011/02/16 01:27:23,-1mA,99%

2011/02/16 01:30:04,-1mA,99%

2011/02/16 01:37:38,-1mA,99%

2011/02/16 01:47:30,-1mA,99%

2011/02/16 01:57:23,-1mA,99%

2011/02/16 02:00:04,-1mA,99%

2011/02/16 02:07:38,-8mA,99%

2011/02/16 02:17:31,-1mA,99%

2011/02/16 02:27:23,-1mA,99%

2011/02/16 02:30:04,-1mA,99%

2011/02/16 02:37:38,-1mA,99%

2011/02/16 02:47:31,-15mA,99%

2011/02/16 02:57:23,-15mA,99%

2011/02/16 03:00:05,-1mA,99%

2011/02/16 03:07:37,-1mA,99%

2011/02/16 03:17:30,-1mA,99%

2011/02/16 03:27:23,-1mA,99%

2011/02/16 03:30:04,-1mA,99%

2011/02/16 03:37:37,-1mA,99%

2011/02/16 03:47:30,-1mA,99%

2011/02/16 03:57:23,-1mA,99%

2011/02/16 04:00:04,-1mA,99%

2011/02/16 04:07:39,-5mA,99%

2011/02/16 04:17:31,-1mA,99%

2011/02/16 04:27:24,-1mA,99%

2011/02/16 04:30:04,-17mA,99%

2011/02/16 04:37:39,-1mA,99%

2011/02/16 04:47:31,-1mA,99%

2011/02/16 04:57:24,-1mA,99%

2011/02/16 05:00:03,-1mA,99%

2011/02/16 05:07:40,-4mA,99%

2011/02/16 05:17:32,-6mA,99%

2011/02/16 05:27:25,-6mA,99%

2011/02/16 05:30:04,-6mA,99%

2011/02/16 05:37:40,-1mA,99%

2011/02/16 05:47:32,-1mA,99%

2011/02/16 05:57:25,-1mA,99%

2011/02/16 06:00:04,-1mA,99%

2011/02/16 06:07:41,-1mA,99%

2011/02/16 06:17:33,-1mA,99%

2011/02/16 06:27:26,-1mA,99%

2011/02/16 06:30:03,-1mA,99%

2011/02/16 06:37:41,-8mA,99%

2011/02/16 06:47:33,-8mA,99%

2011/02/16 06:57:25,-7mA,99%

2011/02/16 07:00:04,-1mA,99%

2011/02/16 07:07:42,-1mA,99%

2011/02/16 07:17:34,-1mA,99%

2011/02/16 07:27:27,-1mA,99%

2011/02/16 07:30:03,-1mA,99%

2011/02/16 07:37:43,-1mA,98%

2011/02/16 07:47:35,-1mA,98%

2011/02/16 07:57:28,-1mA,98%

2011/02/16 08:00:04,-1mA,98%

2011/02/16 08:07:44,-1mA,98%

2011/02/16 08:17:36,-1mA,98%

2011/02/16 08:27:29,-1mA,98%

2011/02/16 08:30:04,-1mA,98%

2011/02/16 08:37:44,-1mA,98%

2011/02/16 08:47:37,-1mA,98%

2011/02/16 08:57:29,-1mA,98%

2011/02/16 09:00:04,-1mA,98%

2011/02/16 09:07:45,-1mA,98%

2011/02/16 09:17:37,-1mA,98%

2011/02/16 09:19:32,-1mA,98%

2011/02/16 09:20:18,-1mA,98%

>>>> sooo ,, with kernel 1.9_bfs = excelent battery life !!!!

+ excellent quadrant score : 3779 !!!!!! THANK's !!!!
[Desire HD Android Development] kamma:
Score 3779 @1536MHz ?

Wow, it sounds almost impossible...
[Desire HD Android Development] Dr.FANTASTIK-US:
Yes,;) on 1536 Mhz !!! Thank's for YOU.:D
[Desire HD Android Development] pb_1996:
no i didn´t. can that be the problem?

edit: i have try now with Superuser permissions for terminal emulator but it still happen nothing. why?
[Desire HD Android Development] irenutia:
Stupid question But I´ve been looking for it and I can´t find it

@Dr.FANTASTIK-US which program do you use to see a complete battery historial log like the one you attached? With Spare Parts there´s no such detail and I´d like to test exactly the same by using 1.8 instead of 1.9 ;)

Thanks and best regards
[Desire HD Android Development] MrMikeSv:
It's CurrentWidget log
[Desire HD Android Development] kamma:
Battery monitor widget by 3c06
[Desire HD Android Development] irenutia:
Ok, thanks. I had this widget some time ago but never realised about it, only tested for some days.

Thanks a lot

EDIT: Using CurrentWidget and Battery monitor widget by 3c06 now. Thanks @Kamma, @MrMikeSv, @Dr.FANTASTIK-US and @amcaabi
[Desire HD Android Development] Dr.FANTASTIK-US:
yes ,, It's CurrentWidget log.;)
[Desire HD Android Development] amcaabi:
Or you can use Battery Monitor widget... it's same with more function
[Desire HD Android Development] dioooi:
Hi Kamma,

I like your kernel very much, do you have any update to new version?
[Desire HD Android Development] more2come:
Maybe Kamma already knows, but HTC released the new Kernel source for our DHD:

http://dl4.htc.com/RomCode/Source_and_Binaries/ace-QMR-g1e30168.tar.gz

Some new stuff to mess around with ;-)
[Desire HD Android Development] nteeb:
Do you have any more info about that Kernel?The url didn't work for me...

Edit:OK,I finally got it.
[Desire HD Android Development] kamma:
i would like to release new version based on this source tomorrow.
[Desire HD Android Development] dioooi:
Great to see on that new kernel, can you please add the max speed to 2036Mhz like Lee's NuTter kernel?
[Desire HD Android Development] kamma:
test version (CFS only)

kkernel_v20cfs_cw.zip (4.49 MB)	http://www.multiupload.com/ZOIFQG2J37
[Desire HD Android Development] nteeb:
Great news! Are you planning a bfs version, too? I hope so...:D
[Desire HD Android Development] crypt.1nj3ct:
Thanks! This is now faster than Buzz kernel! I am tested it with Quadrant over 30 times. ;)
[Desire HD Android Development] kamma:
Definitely, but i dont know if its gonna be tomorrow or later.
[Desire HD Android Development] nteeb:
Always worth to wait your kernels...:D
[Desire HD Android Development] DubelBoom:
workes with CM7?

cus after i flashed it, the phone didnt boot..
[Desire HD Android Development] Blinkydamo:
No sense mate, there is another kernel for cm7, however there are running a very good kernel built into the ROM.
[Desire HD Android Development] than33:
And what about ext4? Because for now it is not working. We need it for new android revolution rom.
[Desire HD Android Development] kyota:
Kamma ,

Can we using 1.9 and overclock to 2Ghz ? I try to set it through script. But I'm fail ... :confused:
[Desire HD Android Development] kamma:
yes, today in final version...
[Desire HD Android Development] more2come:
Wanted to post this some time ago, but there was a bug I experienced with KErnel 1.9 in combination with Revolution ROM 2.0.12 ...

After using Youtube in fullscreen mode, the camera crashes the whole system. I was able to reproduce this, but now I'm running another version of Revo and another Kernel.

I'll post a system log next time I find a bug like this.