yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] lilhaiti:
Do you think this Kernel would work with Aria CM6.1 RC2 Rom? DumFuq's ROM worked great with the Aria, just wondering if this might work.
[Legend Android Development] paliyoes:
How could I install it with Rom Manager?
[Legend Android Development] BlaY0:
It might. The only way we can find out is for you to test it and report back...
[Legend Android Development] Dr.Romca:
I would point you to the first post and the red bold text, but I feel it is senseless...

So yes, you can install with ROM manager:

After you have installed Flash Clockwork recovery, choose Install ROM from SD card, choose the signed zip...
[Legend Android Development] TheGrammarFreak:
Why not? ;)
[Legend Android Development] paliyoes:
I tried 3 times and the flash clockwork recovery exit to the standard flash menu.
[Legend Android Development] lilhaiti:
Tried it on the Aria...it got stuck at the white HTC screen.
[Legend Android Development] Dr.Romca:
Did you permit superuser access? Search google for how to work with the rom manager....threre are some helpfull articles...
[Legend Android Development] BlaY0:
OK, I ported ondemand governor from CM's kernel source and now it works as it should (I guess).

I also make one image for all you 768 MHz lovers ;)

I reworked aufs script a little so if anyone would like to test system overlay and report back, use that thread instead...
[Legend Android Development] Kot_Ik:
Nevertheless "interactive" governor still seems to be more responsive to system needs than "ondemand"
[Legend Android Development] gyroing:
Thx BlaYO ;)
[Legend Android Development] ikdegek:
Blayo thanks, I installed the 787 one, but after several times, the max. is 528....:confused:

I tried Setcpu and Overclock widget, same result: 528.

Anyone else??

EDIT:Solved, thanks for your work BlaYo!
[Legend Android Development] itru_basil:
Thank you, BlaY0! It's best for my Legend :-)
[Legend Android Development] Dr.Romca:
I'd love 844MHz even more :D It's just that my Legend likes slow walks more :p

But seriously, Thank you :-) Again you have pulled a masterpiece :-)
[Legend Android Development] canttona:
Nice! Thanks man!!!
[Legend Android Development] mccard:
Works great, thanks man - keep up the good work!
[Legend Android Development] andrekua:
Thanks you very much yet again for the new 768MHz kernel. The old 787MHz keep crashing the browser when loading heavy sites.
[Legend Android Development] kuklux:
Can you make 806Mhz
[Legend Android Development] marclh1992:
AUFS isn't working with this kernel and the extension.
[Legend Android Development] Sckank:
Any ETA on that one? :-)
[Legend Android Development] BlaY0:
It is... otherwise I wouldn't be using it right now...
[Legend Android Development] BlaY0:
New version (0.3)

OK guys, 0.3 is smaller so it can be used also by those having problems flashing previous ones because of bad blocks on boot partition...

Report back...
[Legend Android Development] Tonyshun87:
Used a day, work fine
[Legend Android Development] maxq1:
er..how's about an 806/825 kernel?
[Legend Android Development] bitbitbit:
Thanks BlaY0! The ondemand governor works a lot better than the stock one. With the stock one, it was running at 600mhz the whole time even when I am doing nothing. Your kernal fixed that. The interactive governor is very laggy though (could be just me).
[Legend Android Development] BlaY0:
Hmm, it is not laggy for me. Actually it is quite snappy.

Sent from my HTC Legend
[Legend Android Development] cryshop:
Yeah, I experienced Interactive is snappier than On Demand.
[Legend Android Development] kugel.:
A well configured ondemand is snappy as well. interactive has the problem that it tends to boost in low-load situations (such as listening to music), which ondemand doesn't do. ondemand makes listening to music almost free battery-wise.
[Legend Android Development] andrekua:
I had the same problem, but I dont think its the governor problem. When I set two profiles for Screen Off and Battery <100%, I find SetCPU is a bit laggy changing between both. I had them all removed and used interactive 768/245, it had no problem at all.
[Legend Android Development] BlaY0:
That's right, but the problem is that with SetCPU you can't configure it well if you have more than one (default) profile. Powersave bias depends on your upper/lower frequency limit ratio and frequency steps available between those limits but SetCPU doesn't have the facility to set different powersave biases (and other settings) for different profiles...
[Legend Android Development] kugel.:
I don't use profiles :-) ondemand alone makes basically sure that there's no boost when the screen is off.
[Legend Android Development] BlaY0:
OK, tell us then what are your ondemand governor settings for single profile...
[Legend Android Development] Dr.Romca:
I just tested the 768MHz version in Quadrant and I got 915 points.

Pretty cool!

Will you be uploading thw 0.3 version here? Or is it the same link?

Thank you!
[Legend Android Development] BlaY0:
Same file name, same link...

Sent from my HTC Legend
[Legend Android Development] kugel.:
sampling rate: 100000us, up threshold: 92+, ignore nice load: 1, powersave bias: 200

these work very well for me and I get routinely two days of battery life (while having overclocked to 768mhz). I'm using an audio player which uses way less CPU than the built-in one though (Rockbox).
[Legend Android Development] Dr.Romca:
Cool, this one's even snappier! Great work!

btw: Quadrant score: 1108pts!

Thank you!
[Legend Android Development] BlaY0:
I guess BFQ IO scheduler is responsible for this...
[Legend Android Development] krasenk:
915 in Quadrant with O.C. kernel @768Mhz? Seriously? I'm getting 917 in Quadrant with stock Froyo with Sense UI and standard kernel @600Mhz. Quite weird...
[Legend Android Development] Dr.Romca:
Now I got 1108pts :D

edit: I got 881 pts with the same ROM on stock kernel @600MHz :confused:
[Legend Android Development] krasenk:
Now that sounds more realistic! :)
[Legend Android Development] katse:
Just flashed the kernel. Thanks blay0! It is really snappy with 768 MHz. Unfortunately wifi doesn't work. No idea why. I also have some graphical issues with horizontal lines as already mentioned in a earlier post. I am using custom dpi-settings (150). can this be the reason? Running cm 6.1 rc2.
[Legend Android Development] BlaY0:
If you want Wi-Fi to work with this kernel, you have to use Wi-Fi driver that is the same version as kernel. You can not use new kernel and old Wi-Fi driver (module)!

Sent from my HTC Legend
[Legend Android Development] katse:
Thanks for the fast reply! In that case and because of the horizontal lines issue I will switch back to the old kernel. Will wait for rc3, hoping that it will be released soon including 2.6.32... just for interest (forgive my noobiness)- where can I find the driver? Is it installed like a radio?
[Legend Android Development] BlaY0:
In some stock based FroYo ROM.

Sent from my HTC Legend
[Legend Android Development] kuklux:
Blayo can you make 806Mhz...

How can i check my frequency when screen is off? What is command in adb?
[Legend Android Development] nevak:
Maybe this is a stupid question but, can we set the maximum and minimum frequencies by doing something like (for example) this:

echo 806000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

I have tried that through adb shell and also editing that file but it does not have any effect, so there is something I'm missing...

Sorry if this is something obvious but I suck at linux xD

PS: thanks for the kernel :D
[Legend Android Development] bitbitbit:
Thanks! It's much smoother now
[Legend Android Development] jgescit:
With this kernel, we need to install SetCpu to change interactive/ondemand?

We need to install Setcpu for adjust cpu clock to 122/787, or only install the kernek?

Sorry, but i'm lost...
[Legend Android Development] nafnist:
works a bunch, thx brilliant
[Legend Android Development] TheGrammarFreak:
Isn't it "works brilliant, thanks a bunch"? ;)

Swyped from my HTC Legend
[Legend Android Development] Trekvogel:
Thanks a lot. The 787 kernal seems to work very well with the unofficial wwe froyo rom. The framerate in Spaghetti & Marshmallows is certainly better and the browser is very fast. No issues found until now. Now to test the effects on battery life.
[Legend Android Development] Dr.Romca:
I think if you go down to 128mhz whilst screen off, it cpuld be the same....as for me
[Legend Android Development] andrekua:
I thought Blayo did mention that his kernel allows higher frequency but default to 600MHz. If you need higher frequency, use setcpu or DIY.
[Legend Android Development] Dr.Romca:
I don't think that was his concern :-) Krasenk only commented my relatively low score on the previous kernel ;-)
[Legend Android Development] nevak:
I think that you can check it by running this inside adb shell:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
[Legend Android Development] nafnist:
In setCPU you can see how many sec. each freq. has been active.
[Legend Android Development] gyroing:
I couldn't get more than 993 with oc kernel 768 MHz is it normal?

Sent from my HTC Legend
[Legend Android Development] zulfator:
Ondemand runs only on 600 runing guadrant, seing from my scores it speeds to 787 only when i touch the screen?
[Legend Android Development] nafnist:
Try using interactive gov.
[Legend Android Development] zulfator:
Thx, now it works as it should,though the battery doesn't seem pleased.
[Legend Android Development] nafnist:
well.... you are overclocking
[Legend Android Development] zulfator:
...and it runs faster!Maybe i will save some juice with lower frequencyes when the screen is off.
[Legend Android Development] nafnist:
you can bet on it m8
[Legend Android Development] fabian.ecker:
I just did a clean re-flash of the 2nd revision of the vodafone rom by whitetigerdk (i was on the first revision since day 1) and replaced the kernel immediately with BlaY0's. i just tried out google goggles and it gives me the ipv6 error. appearantly u only get that when a kernel does no support ipv6. the vodafone kernel worked fine as far as i recall, could be wrong though. not that i really need the goggles, i'm just curious as to wether there is a quick fix or if the kernel would need to be recompiled to enable said functionality.

maybe someone finds the time to drop a line or two on the issue. :-)

and thanks guys, i really appreciate all the work u do!
[Legend Android Development] BlaY0:
I modularized ipv6 support in order to shrink the size of kernel. Module can be loaded any time U want by issuing:

insmod /system/lib/modules/ipv6.ko

...this can be also done by run-parts routine in boot process itself.

Sent from my HTC Legend
[Legend Android Development] sz1a:
Would anyone like to run a quadrant benchmark with the overclocked kernel and a compatible rom? Would be interesting to see if there are any differences between this one and dumfuqs with the new HTC roms.

With Juicy I get ~1044 on average.
[Legend Android Development] cryshop:
@768Mhz, vodafone 2.2 rom
[Legend Android Development] nafnist:
Mdj Froyo w/dumfuq's cm-kernel vs Mdj Froyo w/blayo's froyo-kernel

@ 787mhz interactive

vs ​
[Legend Android Development] Dr.Romca:
I don'tknow about dumfuq's Kernel, but:

I use MoDaco r1 Froyo release (with sense) and Blayo's O.C. Kernel @ 768MHz (can't go higher),

@nafnist: Wow 878MHz? I'll trade your legend for mine :p
[Legend Android Development] e3rfn:
thx blayo good job, can u tell me how can i make it 806mhz ? or is it possible for u to make one !?
[Legend Android Development] nafnist:
lol typo, and I agree. Blayo kernel is just as fast ;-)
[Legend Android Development] BlaY0:
I achieved max 1194 with 787 MHz kernel...
[Legend Android Development] rašo:
how uninstal this?my battery is quickly discharged :confused::confused:
[Legend Android Development] sz1a:
Thanks guys for the snapshots. Would you say Modaco's R1 with sense together with Blay0's kernel feel snappy? Do apps etc play nice? I'm on Juicy and dumfuq but might just upgrade to that combo if its better and would be cool to check out the new sense features too. Gonna miss the cyanogen pull down bar with different radio shortcuts tho.
[Legend Android Development] bitbitbit:
This could be a stupid question....but there isn't a ipv6.ko in that directory. Am I supposed to get it from somewhere else? And I suppose this is something that I have to run after each reboot unless I add this to the run-parts routine?
[Legend Android Development] BlaY0:
You probably don't have 0.3 installed then. Flash it again.
[Legend Android Development] :
The file _is_ there. Could you please tell us how to load it on bootup?

Thanks
[Legend Android Development] BlaY0:
How to load it is described in 1st and 101st post. You can do it via adb or via some terminal client for android (I'm using ConnectBot). You need to be root to do this...
[Legend Android Development] PresidentJFJ:
I gotta put in another request for an 806 kernel. Definitely my sweet spot
[Legend Android Development] BlaY0:
Try that "experimental" kernel from CM 6.1. It is basically no different than mine except it has all frequencies available.

EDIT: Don't just flash that zip! It will run over the entire boot.img! If you don't know how to extract just kernel from that image, you'd better stay with what you currently have...

Sent from my HTC Legend
[Legend Android Development] PresidentJFJ:
hmmm. thanks for the warning Blayo lol. If you wouldn't mind do you think you could extract the kernel and make 806? Definitely don't bother just for me but if you do feel so inclined I'd be pretty damn happy.

Thanks a lot for the kernel as is though. greatly appreciated
[Legend Android Development] loscassapalle:
someone tried this kernel in CM 6.1 stable?
[Legend Android Development] ali ba:
Which is bad, because...?
[Legend Android Development] BlaY0:
Because it will run over his curren initrd and he might not want that. One can not assume that he is using initrd which is the same as the one you are offering from your boot.img... and you of all here should know that...
[Legend Android Development] ali ba:
Well, if his ramdisk is not compatible, then the kernel config might not be as well. Or the modules used. To put it into other words: It might be not the best idea to advise people to flash the CM kernel unless they are using CM.

Yes, you are right. I'm not worthy. I resign, do you want my position as maintainer of the Legend port? I'm not half as capable as you.
[Legend Android Development] Sckank:
*I just sit here and shuts up*
[Legend Android Development] BlaY0:
Mod edit: Removed abuse.
[Legend Android Development] PresidentJFJ:
Ali BA has a serious temper it seems. Blayos just trying to help and be productive. I appreciate both your guys' stuff. No reason to argue over who's the better Dev. Ultimately it's all for the sake of progress. I'll just use the old kernel til I know whats going on.

On another note blayo. There was a lot of graphical issues with cm6.1 and the new kernel. Weird white lines scratching out colour and following touch input on the lock screen. Performance seemed comparable. My biggest inclination towards the new kernel is definitely native wifi hotspot control
[Legend Android Development] Sckank:
I got some issues too. There's a couple of widgets also not working good for me. Guess I'm back to Froyo then. That sucks 'couse I love the snappy CM6.1 :-/
[Legend Android Development] BlaY0:
Hmm, if we are talking about CM here... Alex prepared .32 experimental kernel for that. My kernels are primarily ment for stock based ROMs, thread title also indicates that. I never tested this kernel on CM myself... I think CM is really great but I have my reasons why I am staying on stock based ROM.

Sent from my HTC Legend
[Legend Android Development] kugel.:
Stop that please. We've gotten very far with multiple very capable developers and we have thus no reason to reason to insult each other.
[Legend Android Development] stanace:
Hey guys, has anyone experienced an issue with this kernel where the WiFi won't start? When I go to the Wireless settings page, it shows "Error" under the Wifi toggle.

Currently, I'm using BlaYo's new B-0.1 Froyo ROM but I've experienced the exact same issue on Cyanogenmod RC2 as well (besides the known issue about graphical glitching).

What could be the cause of the problem?

Wifi works fine with the default kernel in B-0.1 and also with dumfuq's OC kernels.
[Legend Android Development] Dr.Romca:
I ran this combo fo all te time those have been around, now I'm on BlaY0's B0.1.

But R1+KRNL felt very good and I only had the 768MHz version...

Now it's very similar, but vaqrios things run smoother in the B0.1 - Live wallpapers for example...
[Legend Android Development] Dr.Romca:
I'm using B0.1+this KRNL and it works great, had to wipe - even though I ran a Sense FroyoROM before....I think the vodafone crap messed the phone up somehow...
[Legend Android Development] joq3:
The command Blay0 provided works fine, only issue is you have to do it at each reboot.

Blay0, how do i add this to the "run-part routine"? Hope it's not too much trouble explaining?
[Legend Android Development] stanace:
I'm pretty sure I did a full wipe before flashing the new kernel. No dice.

Some other people have mentioned the same issue in the B0.1 thread as well. Maybe it has to do with the HTC Legend Asia models.

Edit: Nevermind, the issue is fixed.

I flashed BlaYo's "kernel_2.6.32.17-g30929af_custom.zip" (attachment from B0.1 thread) and everything is working smooth like gravy again.

I was using "kernel_2.6.32.17-g732a780_custom_787" and "kernel_2.6.32.17-g732a780_custom_768" before but for some reason the wi-fi wouldn't work properly on either.
[Legend Android Development] BlaY0:
You were fast m8... I have just uploaded it ;)

Hmm, if you have run-parts operational, that means if you have at least /system/etc/init.d directory present on your phone, you can make a script that would do the trick... first boot into ClockworkMod recovery and then:

adb shell
mount /system
echo "insmod /system/lib/modules/ipv6.ko" > /system/etc/init.d/55ipv6
chmod 755 /system/etc/init.d/55ipv6
umount /system
exit
adb reboot
[Legend Android Development] joq3:
I tried doing what you explained. I did not succeed. Is it possible that you could upload a kernel with the ipv6 function enabled?
[Legend Android Development] sj.wasan:
+1 me too :(
[Legend Android Development] BlaY0:
No, ipv6 will stay as module coz otherwise it would enlarge the kernel too much and some of ppl would have problems installing it.

You can install GScript and try to load module from there by issuing:

insmod /system/lib/modules/ipv6.ko

Sent from my HTC Legend
[Legend Android Development] gnidendepind:
Hi..

Know that the question have been asked before, but I never found the answer, so tries again :-) : will this kernel work with cm 6.1.0 stable?
[Legend Android Development] Sckank:
Not 100%.
[Legend Android Development] gnidendepind:
Meaning? :-) does it mean that I shouldn't try to flash it or?
[Legend Android Development] guap:
I'm facing SERIOUS battery issues, how can I return to my stock kernel? just re-flashing the previous rom?
[Legend Android Development] BlaY0:
Go into advanced nandroid restore menu of ClockworkMod recovery and restore boot.img.
[Legend Android Development] guap:
done, tnx :)
[Legend Android Development] blue09313:
my kernel is 2.6.32.17-g30929af , the g30929af are difference for your g732a780 .

so , can i use this oc file ?

answer to me , please ~~~~
[Legend Android Development] BlaY0:
You can try...
[Legend Android Development] blue09313:
can not open device @@

have other to try?

soft no. 3.15.708.2
[Legend Android Development] BlaY0:
Update! Now with 806 MHz OC and ext4 support...
[Legend Android Development] kugel.:
I just tried this on CM6.1, and I experience the aforementioned graphic glitches.

Also, ondemand is just as broken as in the CM6.1 2.6.32 kernel. It spends 40% of the time @600 when idling for no reason. The 2.6.29 kernel spends 99% @245MHz, as it should be. I don't know the reason for this.

BTW: Is there a guide for flashing the kernel somewhere? I once tried but failed horribly. Compiling is easy, but I didn't get it onto my phone without deadlock at boot.
[Legend Android Development] BlaY0:
1. Wouldn't know, I don't use CM but I heard ppl complaining about this.

2. Me neither. But it definitely is much better comparing to pure stock 2.6.32.17.

3. Yes. I think koush made it some time ago (Koush's Any Kernel). It is basicilly done in 5 steps... dump boot partition into image file, unpack that image (kernel + initrd), replace kernel with your own, make new image and flash it back to boot partition.
[Legend Android Development] Bricolo_fr:
BlaY0,

In this thread you mentionned an odd behavior of the ondemand in the stock 2.6.32.17 kernel. Could you detail what you observed?

I just upgrated my Legend to a stock rooted froyo rom (will try yours next :) ) and it seems I lost some battery life.

I'm really interested in extending the battery life, performance is good enough for me (I'm not planning to use overclocking). What would be the best kernel, governor, setcpu setting?
[Legend Android Development] rajasyaitan:
I can confirm this.
[Legend Android Development] waterpolo:
I have installed SetCPU.

Which settings / values should I set to set my ROM on 787 Mhz?
[Legend Android Development] areicko:
Can I install this kernel under cyanogenmod 6.1 ? Indeed I'd like to flash the new clockword 3, but I need the 2.6.32 kernel, right (I've 2.6.29). So I'd like to know if it's possible to use this one, or if you could help me ;-)

thanks !
[Legend Android Development] BlaY0:
Turn your eyes for 1,5 degrees up and read the words you see, combining them into a sentence...

Sent from my HTC Legend
[Legend Android Development] areicko:
If you meant that the title shows it's 2.6.32, I've seen that :-D

I was wondering because as it is written "stock", if it means that it is only for htc roms (or any sense derivative), or if I could use them with cyanogen roms.

sorry if my question is stupid, most of the time I can do it by myself(such as S-off stuff, even if it took me almost 3 hours ^^), I'd just like to save some time ;-)

thank you anyway for your work !
[Legend Android Development] BlaY0:
Read post two posts before yours...

Sent from my HTC Legend
[Legend Android Development] Quanny2000:
I flashed this kernel on cyanogenmod without realizing it was intended for ota froyo, it worked but I too got the screen flicker issue, I believe that's what most people are doing, and what causes the screen flicker, is due to people flashing this kernel to cmmod roms ...

Btw, yes, I'm back lol
[Legend Android Development] areicko:
Oh I understand now ! Thanks for your help even if I could have done it by myself (bit lazy sometimes ^^)

Is there any kernel for the cyanogen mod roms ?

(I swear I've used the search function, but I can't find one that is not related to your post or already included in a rom...)

Thanks again !
[Legend Android Development] Quanny2000:
Very few, if any, that I've seen around...

Although I'm currently working on one... :)
[Legend Android Development] TheGrammarFreak:
Where've you been man?

Sent from my GT-P1000
[Legend Android Development] Quanny2000:
Been dealing with some personal stuff mostly, but everything is good now!
[Legend Android Development] TheGrammarFreak:
Cool. Glad your back. :)

Sent from my GT-P1000
[Legend Android Development] BlaY0:
version 0.5

New version...

Allows trackpad wake.
[Legend Android Development] janarp:
thanks
[Legend Android Development] kugel.:
Can you please release the source, or at the very least the patch which fixes track ball wake?
[Legend Android Development] ogo2:
Thanks, BlaY0! Nice Job. :)
[Legend Android Development] BlaY0:
I could but I don't see a really good reason. What I do is basically patch stock kernel from HTC Dev Center with known patches from CM's github and kernel's git. Trackpad wake was applied on 3rd December 2010 to CM's msm7227 kernel source.

Maybe I will post here a cumulative patch to a full stock source...

Sent from my HTC Legend