yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] vlad2277:
Is Bluetooth working with this kernel?

If yes, battery drain?

Was using tytung bow and have trouble connecting to bt and drain around 60mah in standby after use.
[HD2 Android NAND Development] da-pharoah:
So I just have to say thank you for your dedication! your amazing. I just flashed the cLK on hyperdroid 2.1 and its on the first boot after. Upon it starting up I noticed a major difference right away!!! It's effin pretty pimp!! I use go launcher ex and have the random effects settings on for transitions and it just too smooth. Feels native and this is with over 300 apps on a 16 gb class 2 card(the stock card for HD2). So thanks again!
[HD2 Android NAND Development] Mikhei777:
What is default governor of your kernel? I tried it with Sense 3.0 but had some lags. Revert to HierOS :(
[HD2 Android NAND Development] djsolidsnake86:
thank you man

my only request is to update the kernel to new 2.6.35 if possible :)

anyway thank you for this!
[HD2 Android NAND Development] clyder:
Why did you removed ext3 support? I am asking because ext3 is default format for partition in recovery and many people are probably using it.

You also removed ReiserFS. I am using that FS on my sd-ext partition for a week now and it gives much better performance then ext4.
[HD2 Android NAND Development] Keresztapper:
2 way call recording is still not supported so I moved back to tytung's r11. Thank you for your work, I hope rvoix will be supported one day.
[HD2 Android NAND Development] tmotard:
BT working well for me.

No battery drain.
[HD2 Android NAND Development] Kefir.net:
My phone can't work stable on 1.5GHz with any kernel and any voltage, so I don't know, where is a problem :(

Interactive governor is default. Mostly I tested it with AOSP rom, but I also tried Desire HD 2.3.3 with Sense 2.1 and it works fine for me..

I don't see any reason to use ext3 if you can use ext4, and I think most people thinking the same.

Reiser..ok, maybe I'll add it back later.

I just want to make kernel cleaner..
[HD2 Android NAND Development] clyder:
I agree with you that ext4 is better. I havent used ext3 at all. My concern was because I guess that most of the people that use a2sd create ext partition with recovery because it is the easiest way but recovery is doing that with ext3.

As for ReiserFS, I switched to it about 10 days ago because of a suggestion from a friend and realized that it has noticeble better performance. Apps launches much quickly now.
[HD2 Android NAND Development] dorimanx:
thanks for sharing about the ReiserFS

how did you reformatted to this type of partition?

can gparted live be used to do that?
[HD2 Android NAND Development] clyder:
I used gparted live. Just reformated it with reiserFS, restored sdext through recovery and it was working on next boot.
[HD2 Android NAND Development] shorty1483:
The instability is the same case than the problem of others like me with UV I think. It has to do with manufacturing of the CPUs and different revisions and series but still same CPU type. Every kernel has different behavior.
[HD2 Android NAND Development] dorimanx:
did you make any test to see the speed read /write differences?

---------- Post added at 01:31 PM ---------- Previous post was at 01:30 PM ----------

For kernel DEV

here is the CLK google install script (CWM)

ui_print("Kefir.net's HD2 kernel v0.9.5");
ui_print(" ");
ui_print(" ");
show_progress(0.500000, 0);
mount("MTD", "system", "/system");
ui_print("Writing boot.img...");
show_progress(0.200000, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
ui_print("Copying modules to system...");
delete_recursive("/system/lib/modules");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/lib/modules");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
show_progress(0.200000, 10);
show_progress(0.100000, 0);
unmount("/system");
ui_print("Update complete");

just in case :)
[HD2 Android NAND Development] Kefir.net:
Oh, yes, I forgot to update it in cLK zip..thanks :)
[HD2 Android NAND Development] clyder:
My comment on performance is based mostly on a feeling. I might be wrong though.

I am not sure how to test sdext partition speed. All benchmark apps I found are testing only sd card and not additional partititions.

Pushing files with adb is giving a speed of 2-2.5 MB/s by copying to sdcard or sdext and benchmark apps are giving results of about 6-7MB/s for sdcard, so I guess that adb push works slower?
[HD2 Android NAND Development] Howell:
Hi Kefir,

You says in the OP that 0.9.1 version has no Bt headset support, this brings to my mind a few questions :

- why ?

- is it still the case in 0.9.5 ?

- if yes, do you plan to add it over ?

I'm asking this, of course, because I extensively use a Bt headset ;)
[HD2 Android NAND Development] Kefir.net:
I just made an extra-lite kernel in 0.9.1, without most useless for me features..

From 0.9.2 and later, it has BT headset and most features are supported :)
[HD2 Android NAND Development] Howell:
Thanks for your quick answer ;)
[HD2 Android NAND Development] dorimanx:
:)

Then here you go! something to test!

create new script in gscript app

paste this in! and run x5 times, you will get the speed when transferring 3MB file READ / WRITE

#echo "SD-EXT WRITE SPEED"
dd if=/dev/zero of=/sd-ext/test count=30000
sleep 1
echo "SD-EXT READ SPEED"
dd if=/sd-ext/test of=/dev/zero
sleep 2
rm /sd-ext/test

---------- Post added at 03:59 PM ---------- Previous post was at 03:49 PM ----------

I have notices that in this kernel i am missing this option

kernel.sched_compat_yield=1

i get

sysctl: error: 'kernel.sched_compat_yield' is an unknown key

this is for faster java code read.

can you please add this back.

Thanks :)

Also i found some strange CPU behavior

# vmstat

procs memory system cpu
r b free mapped anon slab in cs flt us ni sy id wa ir
0 0 56360 24200 210888 16052 4261 3472 0 2 0 0 99 0 0
1 0 56360 24204 210888 16044 4338 3460 0 1 0 0 99 0 0
1 0 56360 24204 210888 16048 4328 3474 0 0 0 0 99 0 0
1 0 56360 24204 210892 16048 4275 3498 0 1 0 0 99 0 0
1 0 56360 24204 210892 16044 4301 3463 0 3 0 0 99 0 0
0 0 56360 24204 210896 16052 4294 3464 0 1 0 0 99 0 0
1 0 56360 24204 210896 16052 4302 3443 0 1 0 0 99 0 0
1 0 56360 24204 210896 16044 4312 3501 0 1 1 0 99 0 0
3 0 55092 24204 212100 16056 4303 5175 0 45 0 1 99 0 0
0 0 55092 24204 212100 16056 4313 3522 0 2 0 0 99 0 0
0 0 55092 24204 212100 16044 4206 3440 0 2 0 1 99 0 0
1 0 55092 24204 212100 16052 4320 3463 0 1 0 0 99 0 0
1 0 55092 24204 212100 16052 4321 3467 0 1 0 0 99 0 0
0 0 59060 24204 208056 16044 4270 3437 0 5 0 0 99 0 0
4 0 58992 24204 208856 16056 4240 4238 10 12 0 0 99 3 0
2 0 58572 24204 209404 16060 3966 3956 0 33 1 0 99 0 0
1 0 58572 24204 209404 16044 4291 3450 0 0 0 0 99 0 0
0 0 58572 24204 209404 16048 4267 3451 0 1 0 0 99 0 0
1 0 58572 24204 209404 16048 4274 3426 0 1 0 0 99 0 0
2 0 59060 24280 208776 16104 4228 3783 19 8 0 2 99 0 0
procs memory system cpu
r b free mapped anon slab in cs flt us ni sy id wa ir
1 0 59124 24200 208336 16128 5569 4378 0 44 0 2 99 0 0
1 0 59124 24200 208336 16128 4129 3730 0 1 0 0 99 0 0
0 0 59184 24200 208336 16100 4048 3533 0 1 0 0 99 0 0
0 0 59184 24200 208336 16104 4301 3447 0 1 0 0 99 0 0
1 0 59184 24200 208336 16104 4240 3417 0 1 0 1 99 0 0
^C

#

it's used but report that it's not!
[HD2 Android NAND Development] clyder:
I did it x9 times :)

I have a 8Gb class6 card

here are the results:

write	read

5 838 084 - 76 500 000

11 916 214 - 72 116 276

3 996 877 - 68 266 666

5 907 692 - 65 361 702

9 035 294 - 72 112 676

7 402 409 - 48 454 258

7 470 871 - 66 782 608

11 018 651 - 68 266 666

14 449 670 - 67 368 421

average:

8 559 529.11 - 60 421 030.33
[HD2 Android NAND Development] Kefir.net:
Kernel is using BFS CPU scheduler, and this is a feature of CFS, I can't add it..
[HD2 Android NAND Development] djsolidsnake86:
http://xdaforums.com/showthread.php?t=1271322

can be useful for update this to 2.6.35?
[HD2 Android NAND Development] mwakious:
beta testing it

hi thanks for your work!

i am testing it now on my beta sense release,i will inform you later...

edit:the cLK version 0.9.5 i'm using...
[HD2 Android NAND Development] Kefir.net:
This sources are already available for a month, there is a big progress with it http://xdaforums.com/showthread.php?t=1049170&page=39, so maybe soon we can have 2.6.35..

Ok, but don't know if it will work well with Sense, because it built with NexusHD2 3.0 initrd.gz.
[HD2 Android NAND Development] dorimanx:
A Cool!

what options then we have now to tweak :)

sysctl -a | grep ????

Thanks!
[HD2 Android NAND Development] ph03n!x:
Are the stock voltages for each frequency step available somewhere?

Swyped from my HTC HD2 running CM7 (Gingerbread 2.3.5)
[HD2 Android NAND Development] Kefir.net:
I don't know, I haven't tried to adjust it's config yet..

Yes, http://www.multiupload.com/8CP9AF9UGO - from Rafpigna thread.

Updated to 0.9.6!

- some patches and fixes from aca-kernel, CM7, Linux kernel mainline

- other bugixes.
[HD2 Android NAND Development] tobiascrystal:
Since the magldr version does not have the initrd it is fine to use with sense roms right? I saw that you made the two different clk versions and it made me wonder if that is the only difference. I have heard many times that tutung kernels are better for cm and raf kernels are better for sense builds, do you know if this is true or the reason why?
[HD2 Android NAND Development] Kefir.net:
Yes, you can use it with Sense roms.

cLK kernel doesn't have separate initrd.gz, it's integrated in boot.img, so 2 different cLK versions has different initrd.gz's - for AOSP and for Sense.

Both rafpigna's and tytung's kernel based on the same source, most diffences are in configuration. I always prefered tytung's kernel both for AOSP, CM7 and Sense ROMs and didn't have any problems. Everyone has is't own experience, you must try both to find out which is the best.
[HD2 Android NAND Development] dorimanx:
thanks for update!

can you tell us what benifit we get with BFS? are tytung and hieros used that cpu scheduler?

Sent from my HD2
[HD2 Android NAND Development] Kefir.net:
BFS is newer, simplier and lighter, than CFS. It concentrates more on running applications, while CFS designed more for system services. Also it loads CPU less, than CFS.

So I prefer BFS, because we are running communicator, not a server :)

Also, if I'm not wrong, CyanogenMod kernels are powered with BFS scheduler by default.

No, they don't use BFS.
[HD2 Android NAND Development] shorty1483:
http://ck.kolivas.org/patches/bfs/bfs-faq.txt
[HD2 Android NAND Development] dorimanx:
thanks,

I have installed 0.9.6

all benchmarks apps show 30% cpu power down.

in linkpack I used to get 43 Max and now 38 :-(

also in quadrant was 1880 and now 1550

its something new or its bug.... feels like I am not on 1.5 full oc, its like I on 998 or lower,

cpu is 0 used! that cool, its was jumping from 1 to 7 with all rest kernels.

please advice.

thanks.

Sent from my HD2
[HD2 Android NAND Development] Kefir.net:
Hm, most changes was on kgls driver, camera driver, usb stack and fixing crashes.

Nothing related to CPU performance..

I just runned linpack and quadrant so:

linpack v0.9.5 v0.9.6

aver ~41.1 ~41.8

max ~42.6 ~42.4

So, almost the same.

Quadrant always gives me very low result, don't know, maybe because of strong undervolting I use. But I get ~1131 on 0.9.5 and 1252 on 0.9.6.

:confused:
[HD2 Android NAND Development] shorty1483:
Got almost same score in Quadrant with 0.9.5 and 0.9.6, around 1600-1700, including UV and OC with interactive governor.
[HD2 Android NAND Development] dorimanx:
Hmm... thanks i will keep testing..

can you add the AS i/o scheduler it's the fastest of all. but i never found working kernel with that mod.

scores

you can be the first dev!

rom run smooth with 0.9.6, no lags, but bummer about the scores... i will check what i can do with tweaks.

keep up the best work! it's so cool that you here and listen, not as others that post one update each mount , or worse.

:)
[HD2 Android NAND Development] Kefir.net:
Whai is AS? Can't find anything about it..can you give me a link?

I just want to make kernel as good as possible :) But I can't promice for everytime quick updates, because I'll have a lot of work in univercity..
[HD2 Android NAND Development] dorimanx:
Read all about BFS!

"BFS is the Brain **** Scheduler" HAHAHA :) nice.

Here some info!

Anticipatory IO Scheduler (AS)

http://wlug.org.nz/LinuxIoScheduler

http://www.linuxhowtos.org/System/iosched.htm

http://kerneltrap.org/node/567

http://www.linuxplanet.com/linuxplanet/tutorials/6742/2

all i found for now.
[HD2 Android NAND Development] YZ:
anyone tested this on hyperdroid 3.0.0 yet ? if so, can You report:

Boot time

Battery drain

Speed

thx.
[HD2 Android NAND Development] da-pharoah:
So I just flashed the new update thinking it would resolve my issue, but it didnt.. I can't seem to download from the market, the downloads dont even start. I have the old 2.6 market as I dont like the new version. But before I switched to this kernal I was able to download just fine... and this is the only thing i have changed in the last couple of days... im on hyperdroid 2.1 with cLK..... just for testing I also have 1 mobile market and that seems to download but at a slower than norm pace... Ima try to update to the latest version of the market just to rule that out... but anyone else having this issue of the market not downloading???
[HD2 Android NAND Development] ph03n!x:
Titanium Backup, backup all apps, wipe data, restore all apps from Titanium Backup.
[HD2 Android NAND Development] da-pharoah:
Really?? ok let me try that....
[HD2 Android NAND Development] dorimanx:
new report.

I didn't made any changes, just plugged to charger and disconnected after hour.

and now I get monster speed!

quadrant was 1550 and didnt reached 1650

and now! yea this what I need!

Sent from my HD2
[HD2 Android NAND Development] Kefir.net:
Compiling now test version with AS scheduler.

By the way, it AS cheduler was excluded in next linux kernel 2.6.33..

I don't think it's a kernel-related problem. I have no problems with downloading from market..

Charger magic! :o

Added 0.9.6.1_ASTest kernel with Anticipatory I/O scheduler (just for testing it)
[HD2 Android NAND Development] da-pharoah:
I don't know what the deal is. But like I said only thing I have changed was the kernal. I didnt have this problem before. I'm restoring now via CWM to whats up and run more tests... I did the wipe and TB process but after loading up the 'first boot' I got FC message for com.android.phone.... so ima start over and see if I run into the same issue... except this time after restoring ill check the market and if all is well i'll flash your latest kernal again. Hopefully hopefully this was just a random bug and nothing serious.
[HD2 Android NAND Development] YZ:
what do you mean with ext3 excluded ?

I have ext3 partition on my sd card.. That wont work if I install this kernel?
[HD2 Android NAND Development] tobiascrystal:
Wow, I am trying the newest 9.6 and I couldn't tell you if it is all in my head or not but my phone feels like it is about to take off and start flying. The personalize button in sense is nearly instantaneous now and normally it takes forever even the sms app has picked up some speed. We'll see how the battery is though, all this speed has to be coming from somewhere!

BFS... Lol gotta love these programmers sense of humor.
[HD2 Android NAND Development] Kefir.net:
But why are you using ext3?..Yes, you'll need to convert it to ext4.

:)

Just for statistics - what Sense ROM are you using? And MAGLDR or cLK?
[HD2 Android NAND Development] YZ:
hmm.. The partition was made by cwm.. cwm makes a ext3 partition, doesn't it ?
[HD2 Android NAND Development] ph03n!x:
@keifer.net, like I said earlier, ClockWorkMod creates SD-EXT partition in EXT3, and most users would have used CWM to create EXT partitions. With EXT3 removed, they will start bombarding their ROM thread or this thread saying their EXT partition/ data2SD or APPS2SD is not working :)

Until CWM supports EXT4, I think it is a good idea to include EXT3.

Totally different issue:

I am trying out various kernels in my quest to figure out no sound/ libaudio.so issues, and I noticed that in HeirOS 1.7.5, notifications LED lights work even if you have a working auto brightness configuration. Anything you can do?
[HD2 Android NAND Development] YZ:
+1 I think over 90 % of the people on xda with a hd2 have ext3 :)
[HD2 Android NAND Development] tobiascrystal:
Tmous - magldr - daekins eclipse sense. No ext obviously

Quadrant not so impressive but...

1170 - on demand

1334 - performance

1418 - smartass v2

I have never had great scores I have never been able to get too high, I don't know how to "make it score higher" I just use setcpu. I always base it off of the actual function of the phone doing the things I normally mess with, the two slowest being that personalize button and the sms app.
[HD2 Android NAND Development] Kefir.net:
Yes..Ok, compiling with ext3 support.

I don't know where is a problem can be and there is no HierOS 1.7.5 sources to view it, only 1.7.2 avaliable.
[HD2 Android NAND Development] tinuz97:
I get robo voice with it, so I am back to standard kernel that came with HyperDroid
[HD2 Android NAND Development] YZ:
Wow! Thank You so much :) Will try it as soon as you upload it :) thx again.

btw, you kernel supports internet on clk and bluetooth now ?
[HD2 Android NAND Development] Kefir.net:
Try attached zip to fix robovoice

Updated to 0.9.6.1

Just added back ext3 support.
[HD2 Android NAND Development] tinuz97:
Thx! Gonna try that tomorrow.
[HD2 Android NAND Development] da-pharoah:
Can you double check that aosp cLK link?... it doesn't seem to be working.... thanks in advance..

Edit:

Nevermind it works now .......
[HD2 Android NAND Development] tobiascrystal:
I've just had two really bad lockups on your .6 kernel I don't know exactly what happened the only difference between earlier today and now is that I am using the wifi's right now. I was also using on-demand with setcpu. They were real bad I couldn't even do the three button thing to reset it, it just sat there with the screen on and doing nothing :-(
[HD2 Android NAND Development] Kefir.net:
Did you had the same issue in 0.9.5?..

Don't use AS_Test kernel, it was for testing AS scheduler only, use just 0.9.6.1.

Yes, maybe you can try to put wpa_supplicant from tutung r12, but I'm unsure if it works with Sense builds. I had working Wi-Fi without it..

Is it a Android 2.3 Sense rom?..
[HD2 Android NAND Development] Keresztapper:
If I flash this libaudio, can I expect my 2 way call recording issue to be fixed? In this case I could finaly give a try to your exciting kernel.
[HD2 Android NAND Development] Kefir.net:
If it doesn't work on tytung_r12, than no.

You said it's conflicts with microphone fix?..
[HD2 Android NAND Development] Keresztapper:
I tried to flash the kernel and the attached libaudio, but it does not solve my problem.

The issue with 2 way call recording means that with kernels containing audio tweaks, my voice on the records is very quiet, it can hardly be understood...
[HD2 Android NAND Development] pyrorob:
ok, i was interested in testing that AS scheduler, but even using the stock kernel im still getting the same errors, speeds still there thou, but using a os monitor, i see that its constantly using 3-5% cpu just by these errors.

this is a 2.2.1 sense rom
[HD2 Android NAND Development] Hinnne:
it seems that battery drain with oc hieros kernel is better (lower) than with oc kefir clk kernel. i am always using ondemand. could that be? what is your opinion? thank you for communicating your insights.
[HD2 Android NAND Development] Kefir.net:
I'll check it in the everning if it can be changed..

It's strange, I have nothing like your errors in dmesg and logcat. Maybe it's because of Sense 2.2, I haven't tested it on Sense a lot..

Please provide a full dmesg log from the beginning of errors.

Anything is possible and battery life depends on lots of factors..end everybody has it's own experience. To be sure, use current widget to check battery drain value in different states with different kernels.

And are you using Sense rom?..

I'll concentrate now on new warrenb Desire 2.6.35 kernel..
[HD2 Android NAND Development] pyrorob:
in logcat i can see that the first onset of the errors are right after it starts the runtime and services:

SurfaceFlinger( 2018): GL_MAX_TEXTURE_SIZE = 2048
SurfaceFlinger( 2018): GL_MAX_VIEWPORT_DIMS = 2048
sysproc ( 2018): System server: starting Android runtime.
sysproc ( 2018): System server: starting Android services.
SystemServer( 2018): Entered the Android system server!
sysproc ( 2018): System server: entering thread pool.
SystemServer( 2018): Entropy Service
SystemServer( 2018): Power Manager
SystemServer( 2018): Activity Manager
ActivityManager( 2018): Memory class: 48
dalvikvm( 2018): GC_FOR_MALLOC freed 661 objects / 80960 bytes in 39ms
dalvikvm( 2018): GC_FOR_MALLOC freed 503 objects / 168376 bytes in 38ms
dalvikvm( 2018): Cannot get policy, owner thread id=2033
dalvikvm( 2018): Cannot get policy, waiter thread id=2032
dalvikvm( 2018): Failed to find cpu subsys
dalvikvm( 2018): Failed to find cpu subsys
dalvikvm( 2018): Cannot get policy, owner thread id=2032
dalvikvm( 2018): Cannot get policy, waiter thread id=2033
dalvikvm( 2018): Failed to find cpu subsys
dalvikvm( 2018): Failed to find cpu subsys

so pretty immediately..

View attachment 727374
[HD2 Android NAND Development] tinuz97:
Libaudio fix working great on hyperdroid 3.0.

No more robo voice for me, thx.
[HD2 Android NAND Development] mwakious:
after beta testing your last release on my new ROM(out for beta testing)everything works great,except the known problem with wifi...:o
[HD2 Android NAND Development] Kefir.net:
Thanks for feedback. Did you have Wi-Fi with tytung_r12 kernel?..
[HD2 Android NAND Development] mwakious:
no,with ty's kernel i had connection on wifi (like yours)but no internet surfing..ty's kernel gave me lags with the camcoder to,yours no.

i'll keep testing and i will post:D
[HD2 Android NAND Development] ph03n!x:
Been on 0.9.6 for about a day now, all good. Using it on CM7 nightly (arif-ali) with a few customizations. Working - Wifi, BT, GPS, Data, Camera, SetCPU scaling from 128 to 1536 MHz - all work (these are what I used/ tried). Quadrant Score of 1498 in performance, no tweaks and 1558 with noatime, nodiratime, non-rotational partitions and increased cache.
[HD2 Android NAND Development] YZ:
Wifi, bluetooth, data works. Will report battery life later. How can I check if app2sd works?

Btw, blazing fast boot time !
[HD2 Android NAND Development] tobiascrystal:
Cant say you are so awesome at updating your kernel that by the time I woke up you had already skipped that version!!!

Thanks for all of your support!
[HD2 Android NAND Development] jpl69:
First boot Wifi conected but no surfing / restarted with wifi on, and now wifi ok !

VPN woking fine :) yeah

Is this finaly a Raf 1.9 replacment ? Keep up, i don't now where is the thank you button as i would press it .
[HD2 Android NAND Development] zagzag99:
Testing your kernel on typhoon

Testing on typhoon's 3.6.5 cLK

0.9.5 - 0.9.6.1 was working nicely with 3.6.4

it would be great if you could bundle future releases with the initrd.gz of typhoon (attached .gz renamed to .zip)

Thanks.
[HD2 Android NAND Development] Kefir.net:
cLK image for Typhoon :)
[HD2 Android NAND Development] YZ:
My Quadrant score = 1034

after overclocking: 1489
[HD2 Android NAND Development] Hinnne:
Corrent Widget log:

Kefir 0.9.5 clk oc ondemand with dorimanx light Rom.always above 50mah.

With hieros 1.7.x oc ondemand very often 4-6mah.

Can you confirm this?where could be the Problem?thanks
[HD2 Android NAND Development] Kefir.net:
No, I have 3-5 mah at sleep..

Something prevent your phone to sleep correctly..don't know what..

And why v0.9.5? Do you have the same issues with 0.9.6.1?

Added testing kernel 0.9.7b spectial for Android 2.3 Sense roms!