yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] worstenbrood:
Ok, compiled a GSM version myself too, added some fs (reiser/btfrs) and utf8 support plus applied the patches for in-call recording:
[Desire Android Development] thesubliminaljuggalo:
Ah, alright. Well, if the only thing not working is USB while the phone is powered on, I can definitely live with that and stick to the Gingerbread Kernels (As the Chinese Devs for MIUI are upping their game to 2.3 soon anyway).

I assume that your old 35 kernels are GSM only?
[Desire Android Development] Benee:
yeah. And I think wifi isn't working
[Desire Android Development] m4a1rifle:
I'm using svs, there i tried above command but it doesn't work, i found out that there are no vdd_levels or vdd_levels_havs in /sys/devices/system/cpu/cpu0/cpufreq/

any idea? have to install something first? i'm using busybox if it helps..

Setcpu only shows min max and current CPU frequency, i wanted to view the current voltage (eg 900mv etc.)
[Desire Android Development] p5x:
sorry for the stupid question but how do I tell if my phone is GSM or CDMA?

I'm flashing "vorkKernel-2.6.37.3-SVS-CFS-BFQ-SLQB-09-Mar-11.zip " for oxygen but it breaks my wifi each time...not sure if i'm flashing the right version :confused:
[Desire Android Development] thesubliminaljuggalo:
Easiest way to tell is if you're operating off of a SIM card. Then you'd have a GSM phone model.
[Desire Android Development] p5x:
ah right, is the kernel on the first post for GSM or CDMA?
[Desire Android Development] thesubliminaljuggalo:
GSM

10chars
[Desire Android Development] Kalavere:
Can someone tell me why are the updated Gingerbread ROMs are only CFS kernels? :)
[Desire Android Development] p5x:
Hmmm, any idea why it carries on breaking my Wifi?
[Desire Android Development] Benee:
BFS always behaved strange on Android (made some lags, sd card didn't get mounted, wake up problems etc.). The reason for that can be many things. Since gingerbread CFS is overall better than BFS. So I dropped the support for it.

Sad because I'm a big CK fan, but it is on android worser than CFS.
[Desire Android Development] alphaola:
Can someone pls mirror the 14/03 2.6.37 720p kernel,cant seem to be able to download it.
[Desire Android Development] thesubliminaljuggalo:
As Benee pointed out to be a page or so back, if you're running a 2.2 (Froyo) version of Androind and flash the new roms on the front page, they are built for 2.3 (Gingerbread) and one of the side effects of flashing a 2.3 Kernel onto your 2.2 OS might cause your WiFi to break.

Hope this helps.
[Desire Android Development] Minux31:
Another kernel ULV to test, it runs smooth and fast on my Desire, better than HAVS-CFS-875mV :D

GSM - Stock camera only : vorkKernel-2.6.37.3-SVS-875-CFS-BFQ-SLQB-15-mars-11.zip

Based on 14/03/2011 version of original kernel.
[Desire Android Development] p5x:
I'm using oxygen 2.01 though... and I'm using the oxygen vork kernel
[Desire Android Development] Benee:
The problem with 875mv on SVS is, that if the cpu is on a higher temperature it may reboot. This is where HAVS comes in. It feeds more voltage to the cpu if the temperature goes up, so it remains stable.

Maybe the kernel is stable for now, but if you use your device longer with wifi/bt/gps it may reboot. This is the reason why I think SVS 925 is low enough for the cpu. A reboot consumes more battery than 50mv more for a certain freq.
[Desire Android Development] ghmail2:
vorkKernel-2.6.37.3-SVS-CFS-BFQ-SLQB-09-Mar-11.zip brokes wifi on cm7 rc2 too:(
[Desire Android Development] Minux31:
I'm testing this kernel since yesterday, no reboot for the moment. I've tested with google nav (gps+3G) for a trip about 45min, I've played a long moment last night (Angry birds, Ninja Fruit, AirAttack HD), and no lag or reboot, so it's very stable in my device ...

How can I stress my device more to make a good stability test ?
[Desire Android Development] suiller:
here too, 875 working stable, anyway I dropped with Coutts kernel (.38) up to 800mV for lower frequencies & never had a reboot
[Desire Android Development] Benee:
Benchmarks or setcpu has a integrated stress test.

800mv hrm. That's 175mv less than stock mv. This could harm the cpu. I think 100mv are enough. Anyway the amount you save with this isn't really noticeable. The biggest drainer is the display.
[Desire Android Development] Minux31:
Ok, I'll try some tests ;)
[Desire Android Development] themoviesss:
new kernel is out: 2.6.38

Could this help with the gingersense kernel problems?

Sorry i'm a noob at this :-) just asking..
[Desire Android Development] Benee:
No. HTC releasing the new kernel source would help ;). I don't think they use 37 or something. Maybe 2.6.35. With the new kernel source we could fix a lot of things.
[Desire Android Development] themoviesss:
oke, thnx. Have to wait for a official HTC gingersense kernel/rom then...

I'm glad the RCMix S v02 rom is working already great.

Stable and fast...
[Desire Android Development] Minux31:
SetCpu stress test with no error (1 hour test), Antutu benchmark passed all the time, Quadrant too, without any reboot or something anormal. So I can say it's stable :D
[Desire Android Development] Benee:
Then your device is underclock friendly ;) Not every device will handle 875 svs
[Desire Android Development] willyaranda:
I've flashed your latest 720p kernel for GB and in GingerVillain I'm not getting any 720p option in the camera app.

Is this kernel suitable for the ROM?
[Desire Android Development] Benee:
If the cam works you choosed the right one. This only indicates that this zip is with 720p capable cam drivers. Some roms need this driver for a working cam others like oxygen won't work with it. Rule of thumb: cm cam -> 720p zip.
[Desire Android Development] willyaranda:
But for using the 720p recording? Do we need another APP or a modified camera.apk to get that recording size?

And yes, the camera&recording works without any problem ;)
[Desire Android Development] Benee:
Has to be enabled in the apk and maybe framework? don't know exactly. But because 720p sucks many devs disabled it. The desire is too slow for it.
[Desire Android Development] m4a1rifle:
I'm using your customized vorkKernel, not sure it's related but now if I APNdroid disable data connection for a while (maybe 1hr, the phone must stay on the same place as in connect to the same cell tower) then enable back data connection, seems like the phone will not automatically re-establish the data connection, i have to go to settings, untick and immediately tick back the Data Connection settings for the phone to connect.
[Desire Android Development] Blissful Choreography:
I use cyanogenmod and I find that the battery drain is much worse if I use the 720p kernel than if I use one with the stock camera. Current widget consistently reports in excess of 200mA when checked immediately after switching the screen on as opposed to 12-20mA or sometimes even single figures with the stock camera.

Also after starting the camera app with a stock camera kernel I noticed that the drain was as bad as with 720p hack. So it is possible that the drain is caused by the camera app, but I'm fairly certain that the camera does not start by default with the 720p kernel either.

I haven't tested fully (ie for a full day) with the stock cyanogenmod kernel, but its current draw was similar to the 720p kernel.

All this would be fine but the stock camera does not work on the latest cyanogenmod builds. Luckily the picture quality is so bad that I would rarely use it, and I rarely use a camera anyway. However, I do miss it for barcodes.
[Desire Android Development] BaGRoS:
Maybe You can add patch for call-in recording?
[Desire Android Development] expl0de:
I noticed that with this kernel the trackpad is lighted in standby and with the stock CM kernel it is turned off. Maybe you can fix that and make it more battery efficient.

Never mind, after reboot the red light disappeared. I'll try to find out what is causing the problem.
[Desire Android Development] Kalavere:
Ah, thanks Benee. I've always used BFS on custom ROMs but I quite like the CFS seems to be more stable as you say. Thanks for the kernels. :D
[Desire Android Development] ghmail2:
R4 has problem with od 4.0.36,after reboot i lost all my installed apps,maybe the new froyo build won't fit with the older kernel
[Desire Android Development] ourfear:
yesterday i installed r4 svs on my od 4.0.10, after reboot, i found angry birds disappear......
[Desire Android Development] vnvman:
Guys these kernels haven't been updated for a really long while, don't use them please :rolleyes:
[Desire Android Development] golf60:
Wait for a Update. The vorks runs super on older rooms.
[Desire Android Development] ghmail2:
on od 4.0.10 r4 hat no issue by me,on od 4.0.23 even better

i want to download 4.0.20 to test again but i can not finde a download link:(
[Desire Android Development] ourfear:
yes, today i flashed OD 4.0.10 and R4 svs again, stable and smooth.
[Desire Android Development] Razzee:
First post last link to github
[Desire Android Development] rdgate:
nice work!

using r5 HAVS on latest cm nightly, my desire doesn't often wake up. i hope more stability.

SVS is no problem.
[Desire Android Development] Benee:
Just a little Update. R6 will hopefully be ready tommorow. With bfs :D
[Desire Android Development] vnvman:
Yeah! :D

I knew you were coming back someday.
[Desire Android Development] ourfear:
good job man!

btw, could you tell me what rom you are using? CM6 nightly? or OpenDesire?
[Desire Android Development] Jagdish84:
So i guess theres not gonna be a Sense kernel version :(
[Desire Android Development] Benee:
I'm running Cm nightlies. With my kernel :D
[Desire Android Development] ghmail2:
Your r4 svs is perfect,but the new kernel for frg83 seems a little bit slow like od after 4.0.30,it can never gain more than 1550 quadrant score,but the kernel.35.4 can easily hit 1650+
[Desire Android Development] Benee:
updated. Only SVS for now. But HAVS will follow soon
[Desire Android Development] ourfear:
only 350 kb file? i am using opendesire 4.0.23 + r4 svs, can i update to r6?
[Desire Android Development] Razzee:
mirror is broken he will post a new one
[Desire Android Development] Jagdish84:
Benee, HTC released their source, how bout we senseys get some love as well :)
[Desire Android Development] Benee:
Fixed the Mirror ;)
[Desire Android Development] ourfear:
i am using opendesire 4.0.23 + r4 svs, can i update r4 to r6?
[Desire Android Development] billodell:
could you compile a kernel for the cdma desire? yes i know you gave us everything we need to do it but im a near complete noob and also the links dont work to dl what i need to attempt to do it myself. it would be greatly appreciated if you could find the time to do this for the cdma desire
[Desire Android Development] goz5000:
If you go to the cyanogenmod forums to the cdma desire there in there
[Desire Android Development] Minux31:
Here : http://xdaforums.com/showpost.php?p=12097618&postcount=1131

If you want another version, telle me, I'll do it for you ;)
[Desire Android Development] 2fast4u88:
I can also compile one for you if you want another one. It only takes a few mins but as goz said he has them all posted on cm forums.
[Desire Android Development] worstenbrood:
GSM 720p + nls_utf8 + call recording patch
[Desire Android Development] GuestK00150:
THANKS, can you post a short (but understandable) how to with the steps to compile an option for myself? Would be more than great!

I´d like to try

vorkKernel-2.6.37.3-HAVS-925-CFS-BFQ-SLQB-14

EDIT: saw the instructions in the first post but I´m a linux newbee and can`t get it to go. perhaps you can just post the lines just with the commands to type :rolleyes:
[Desire Android Development] billodell:
thanks for the help!
[Desire Android Development] Minux31:
The command lines are in the insctructions, there's nothing to do more ;)

I made one for you : vorkKernel-2.6.37.3-HAVS-925-CFS-BFQ-SLQB-14-mars-11.zip
[Desire Android Development] GuestK00150:
THANKS! I`ll try compiling again tonight and let you know where exactly I get stuck... Will post tomorrow :o
[Desire Android Development] tufkal:
Benee, looks like some commits yesterday. Has there been an update?
[Desire Android Development] Vuska:
Hi.... may i know... which one is the last Vork Kernel already support for 2 way call recording patch please ?
[Desire Android Development] Benee:
Just a update to a new linux version. I will release a new version later ;)
[Desire Android Development] worstenbrood:
GSM 720p + NLS_UTF8 + INCALL Recording Patch
[Desire Android Development] GuestK00150:
hey benee!

I´m a linux newbee, but thanks to your explanation in first post and your really good build script I managed to build my own vorkkernel version (see attachment). One bug came across my way: it does not matter which version (SVS, build options 7-12) I use, they are all named 975. Are they build correctly and just the name is wrong or is it always building 975?

Thanks for your response and the fix in advance! Keep up the great kernel work! Best AOSP kernel by far ;)
[Desire Android Development] Benee:
Yeah this is the question :D I think they will build correctly but I will have a look.
[Desire Android Development] GuestK00150:
;) THANKS, please post after finishing :)
[Desire Android Development] Audioboxer:
Am I right to assume now that MIUI is based on Gingerbread I can use these kernels?
[Desire Android Development] GuestK00150:
@ benee (and other linux experts)

And I hope you can help me with another problem regarding the kernel building: I tried to set up a small script to automate the process. It looks as follows in the moment:

But it seems the export command does not replace the line in your build script and does not set the variable that way to use them over the ones defined in the script. Is there a command / way to substitute your lines with my lines? So to make it clear: your lines regarding ARM_EABI and BUILD_DIR should be changed to my directories without a user interference by the script. Does not seem too complicated, but I don`t know the command :o
[Desire Android Development] Benee:
yep should work fine ;)

Yep. You export ARM_EABI and BUILD_DIR first, then you start the script. This exports these two again. And they are redefined...but you could try to replace the lines in my build script with sed ;)

sed -i 's/Old line/New line/g'
[Desire Android Development] thejust:
So i compiled my own kernel HAVS-CFS ...... but when i go to phone status under kernel it only states CFS.....computername.... did i compile it right?
[Desire Android Development] GuestK00150:
PERFECT, THANKS! So I got that one to work! Next and last step now :)

What do I exactly have to do when I just want to upgrade sources from github and start the build script again? The end of the script has to be like this:

But I`m not familiar with git so I don`t know what to do to update the sources? Thanks in advance!
[Desire Android Development] Benee:
yep. Only CFS or BFS is shown. Too lazy to add everything ;)

It's in the compile instruction. With git.
[Desire Android Development] thejust:
Gotcha AWESOME kernel btw :D
[Desire Android Development] xavierjohn22:
what would be your kernel recommendation on the GB line up, for my MIUI Gingerbread benee?
[Desire Android Development] Audioboxer:
When someone has some spare time could they please build me an 875mv/850mv CFS SVS Gingerbread stock camera.

Thanks
[Desire Android Development] GuestK00150:
@ benee:

I know, but git add . gives me an error. Do I have to add anything to the command? Do I have to be in a certain directory? Or is git add . the wrong command to start updating everything? Sorry, but the man page did not help at all. I tried hard ;)
[Desire Android Development] asp2010:
I encountered the same problem and found out I wasn't in the right folder. You have to cd to the folder with the build script in it.

In my case, I made a folder vorkKernel where I ran the git clone. This created another vorkKernel folder inside mine, with the contents inside it. So I had to cd to home/user/vorkKernel/vorkKernel to run the commands for the update.

Hope this helps:D
[Desire Android Development] GuestK00150:
Cool! THANKS! Will try tomorrow and report back :D Have a nice weekend everyone out there and thanks for the help to you all :cool:
[Desire Android Development] Minux31:
Here : vorkKernel-2.6.37.3-SVS-875-CFS-BFQ-SLQB-15-mars-11.zip
[Desire Android Development] GuestK00150:
Now everything is set up and working properly thanks to the help around here! I thought I might share the results. Here are the two small scripts, just adjust it to your needs :) Hope that helps linux newbies like me to get their own kernel building done :rolleyes: Perhaps benee can update the instructions to make it clearer for people that are looking it up there...
[Desire Android Development] Benee:
yep thinking about a update script.. ;)
[Desire Android Development] tufkal:
Benee,

There seems to be a glitch with the kernels compiled for CDMA, using your new script method. It does work, which I am eternally grateful for, but somewhere along the line there is a problem.

I'm assuming this is only for CDMA, and has to do with the CDMA tags, since no one has brought this up yet, and it's kinda...noticeable. :)

The boot time when using a CDMA kernel compiled with your script, no matter what combination of options, is over 90 seconds. (yikes!)

I found an old .35 gingerbread CDMA kernel that navalynt compiled around Christmas 2010, and it boots in less than 10 seconds. Of course it's old and x,y,z are broken using that kernel.

Looking at the logcat, it won't take you long to see the problem. The question is , can you fix it? I looked at the .config files and init scripts, and I couldnt find it.

W/AudioSystem( 103): AudioPolicyService not published, waiting...
I/ServiceManager( 103): Waiting for service media.audio_policy...

^--Those take most of the 90 seconds, repeating.

http://dl.dropbox.com/u/19517468/logcat2.txt
[Desire Android Development] faddys123:
I am on gingerbread miui now and the battery life is bad which kernel would you suggest that would help?
[Desire Android Development] vnvman:
Actually any of these will help a lot...try some 875mv one to start with, svs or havs doesn't really make a big difference, they're all great :)
[Desire Android Development] Benee:
@tufkal no kernel problem. Please test with a different rom or look at the init scripts. Sometimes there a zipalign or other scripts. They can slow down the boot. But only on first boot. But it isn't a kernel problem. Kmsg would show problems with the kernel. Most kernel problems are reboots (too low voltage, other problems etc)
[Desire Android Development] faddys123:
Thanks for the info can you give me a link to what you are talking about?
[Desire Android Development] Newsense:
Hmm.... I'm having an issue where, no matter which SVS-CFS combo I choose, it always saves the update zip as the 975 version?

I'm wondering if they are all building correctly and only being named incorrectly, or if it's just actually building the 975 SVS-CFS no matter which of the three I pick.

Anyone else having this issue?
[Desire Android Development] GuestK00150:
already posted that, benee is looking into it when he gets some time ;)
[Desire Android Development] :
ERROR 404 When i try download Kernel 2.6.35.10

Where i found this? Thanks
[Desire Android Development] Benee:
Ohh noes! I delete some old test kernels - need more dropbox space :D. I think I have deleted some releases too ._.
[Desire Android Development] :
Could i have the kernel that I request before?

Thanks!
[Desire Android Development] 71baker:
For anyone looking to flash a Gingerbread Kernel in MiUi 1.3.25 , i can tell you that i flashed the 720p one and it seems to work , 720p recording is still unselectable. I guess something else has to be done to enable it. :D
[Desire Android Development] Benee:
720p kernel. A kernel can't enable 720p recording on it's own. It just have other cam drivers. They could make 720p possible, but the desire is too old for 720p recording. So it is disabled in all roms. The newer driver's are needed for some features in the cam app.
[Desire Android Development] 71baker:
Ok. Thanks for the explanation. Im not really worried about 720p recording to be honest. Mostly didnt know which Kernel to download for MiUi so i checked the 720p setting before and after, figured if i try 720p setting it would hang or something.

Everything else seems to be working fine though!
[Desire Android Development] :
UP! :o ..................
[Desire Android Development] expl0de:
Hi,can someone compile me the 720p kernel from mar-14 with the call-recording patch, without other changes. I'll be very grateful.
[Desire Android Development] vnvman:
Hey guys relax, devs aren't supposed to release updates like "ondemand", this a hobby after all :rolleyes:
[Desire Android Development] brandall:
CPU Control Scripts via Tasker

I've put together some CPU profiles for this Kernel controlled by Tasker, in this thread here

I've noticed that the boot state of this Kernel seems to be set to Conservative @ 1152Mhz. Can I ask why it is set to conservative (if I am right)?

My profiles change the governor and frequency (depending on the phone state) shortly after booting. Is there a way I can adjust the boot governor to 'Performance' as standard?

Would that make any difference at all in the boot time?
[Desire Android Development] Benee:
Nice. The default govenor is the conservative. Anyway it is overwritten by the init.rc the rom defines in the ramdisk (most roms define a setting). The kernel boots at 998 Mhz (at this point android isn't running, so no tts can tell you, which govenor is running). After this your profiles, setcpu, init.rc jumps in (or if nothing is defined, it stays at 998 max Mhz and conservative).
[Desire Android Development] AlxMAX:
@Benee: I have noticed that you use some specific compilation flags for the kernel: -fgcse -fsingle-precision-constant -mtune=cortex-a8 -march=armv7-a -mfpu=neon -ftree-vectorize. Have you noticed any speed improvement compared with the situation where you don't provide such flags (especially -mtune=cortex-a8 and -ftree-vectorize, the latter one being enabled by default by -O3)?
[Desire Android Development] Marchief:
great work, works well on MIUI
[Desire Android Development] brandall:
Thanks for your response and sharing your knowledge. I didn't even consider android may not have been running! My tts and widgets (post android boot), do suggest that the frequency is 1152Mhz prior to any other action/interference though??

Can I assume there is a profile within the Oxygen ROM set-up that instructs this then? Any idea where it would be hiding as standard (might be a question better asked in the Oxygen thread)?
[Desire Android Development] Benee:
I don't know what max clock oxy defines. But it should have 998 Mhz max freq by default enabled and if you have setcpu running, it overwrite the predefines setting.
[Desire Android Development] brandall:
I'll check in the Oxygen thread as not got SetCPU and my Tasker CPU profiles are delayed until after complete boot, so the 1152 is coming from somewhere!?
[Desire Android Development] Benee:
yeah it is applied after complete boot. And - if I understand it - your phone gives you the clock via tts. After complete boot. So your tasker profile is setting the max clock.
[Desire Android Development] GuestK00150:
hey benee!

did you have time to look after the bug in the build script regarding the 975 SVS problem?

Haven`t seen any commits on github ;)

THANKS
[Desire Android Development] Benee:
No. I've been quite busy. But I will definitly fix this problem, bump the kernel to 37.36, update bfq and fix the usb speed problem + some other updates. Maybe weekend or yeah sometime :D
[Desire Android Development] GuestK00150:
thanks for the quick response! Don`t get me wrong, I didn`t mean to push you :o

but I would love to see everything you wrote :D Thanks again for your great work!
[Desire Android Development] AlxMAX:
If it's not much to ask, could you, please tell me if you have noticed any difference between a kernel without -ftree-vectorize and one with it?