yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] melethron:
@ coutts99:

your irc channel has (+i) set. Couldn't write or rejoin...

I just wanted to ask how to enable snq's vdd interface in your source... but i noticed that the acpu-scorpion.c is missing the snq patch.... And im also not sure how i setup to compile the kernel as a SVS kernel.

But i think i just compile a havs kernel with your old vdd levels This one is stable (for me):

struct clkctl_acpu_speed acpu_vdd_tbl[] = {
{ 19200, VOLTAGE_MIN, 975 },
{ 128000, VOLTAGE_MIN, 975 },
{ 245000, VOLTAGE_MIN, 1000 },
/* Remove 256 as is commented out of acpuclock-scorpion.c, this was causing setcpu to be out by one when clock to speed above this
{ 256000, VOLTAGE_MIN, 1000 }, */
{ 384000, VOLTAGE_MIN, 1025 },
{ 422400, VOLTAGE_MIN, 1050 },
{ 460800, VOLTAGE_MIN, 1050 },
{ 499200, VOLTAGE_MIN, 1075 },
{ 537600, VOLTAGE_MIN, 1075 },
{ 576000, VOLTAGE_MIN, 1100 },
{ 614400, VOLTAGE_MIN, 1100 },
{ 652800, VOLTAGE_MIN, 1125 },
{ 691200, VOLTAGE_MIN, 1150 },
{ 729600, VOLTAGE_MIN, 1175 },
{ 768000, VOLTAGE_MIN, 1200 },
{ 806400, 1175, 1225 },
{ 844800, 1200, 1250 },
{ 883200, 1200, 1250 },
{ 921600, 1225, 1275 },
{ 960000, 1225, 1275 },
{ 998400, 1225, 1275 },
#ifdef	USE_OVERCLOCKING
{ 1036800, 1225, 1275 },
{ 1075200, 1225, 1275 },
{ 1113600, 1250, 1300 },
#endif
#ifdef	USE_EXTREMEOVERCLOCKING
{ 1152000, 1250, 1300 },
{ 1190400, 1250, 1300 },
#endif
{ 0 },
};,

And this one isnt:

struct clkctl_acpu_speed
acpu_vdd_tbl[] = {
{ 19200, VOLTAGE_MIN, VOLTAGE_MIN },
{ 128000, VOLTAGE_MIN, VOLTAGE_MIN },
{ 245000, VOLTAGE_MIN, 925 },
/* Remove 256 as is commented out of acpuclock-scorpion.c, this was causing setcpu to be out by one when clock to speed above this
{ 256000, VOLTAGE_MIN, 1000 }, */
{ 384000, VOLTAGE_MIN, 975 },
{ 422400, VOLTAGE_MIN, 975 },
{ 460800, VOLTAGE_MIN, 1000 },
{ 499200, VOLTAGE_MIN, 1025 },
{ 537600, VOLTAGE_MIN, 1025 },
{ 576000, VOLTAGE_MIN, 1050 },
{ 614400, VOLTAGE_MIN, 1075 },
{ 652800, VOLTAGE_MIN, 1100 },
{ 691200, VOLTAGE_MIN, 1125 },
{ 729600, VOLTAGE_MIN, 1150 },
{ 768000, VOLTAGE_MIN, 1175 },
{ 806400, 1175, 1200 },
{ 844800, 1200, 1200 },
{ 883200, 1200, 1250 },
{ 921600, 1200, 1225 },
{ 960000, 1200, 1225 },
{ 998400, 1225, 1250 },
#ifdef	USE_OVERCLOCKING
{ 1036800, 1225, 1275 },
{ 1075200, 1225, 1275 },
{ 1113600, 1250, 1300 },
#endif
#ifdef	USE_EXTREMEOVERCLOCKING
{ 1152000, 1350, 1350 },
{ 1190400, 1400, 1400 },

But im still interested why snq's vdd-level patch isn't present in acpu-scorpion.c . I thought its a based on snq's 2.2f kernel.
[Desire Android Development] Anakha56:
Coutts any luck with the car panel problem?
[Desire Android Development] coutts99:
It is indeed originally forked from 2.2f, send me the patch if you have it please.
[Desire Android Development] coutts99:
Unfortunately not yet.
[Desire Android Development] sudeki300:
would this kernel work ok with RCMixHD v0.14b, or would there be issues.thanks...........................sudeki300
[Desire Android Development] coutts99:
Yes it should work
[Desire Android Development] sudeki300:
thanks for the super quick reply, is this just flashed from recovery like any other zip file?.................sudeki300
[Desire Android Development] coutts99:
Yep
[Desire Android Development] sudeki300:
thanks again buddy..............sudeki300
[Desire Android Development] jj22ee:
1.3.4 is awesome no problems here and it seems to be running smooth
[Desire Android Development] sudeki300:
do i need to do any wipes before flashing a new kernel.thanks and sorry for all the questions..........................sudeki300
[Desire Android Development] melethron:
It's here: https://gist.github.com/650010

But i have no idea if it simply can be patched as your acpu file has include "avs.c" stuff in it.
[Desire Android Development] coutts99:
Ill do it manually. Be tomorrow now though
[Desire Android Development] woti23:
on the Z rom 0.6-test1 - the kernel produces tons of lines in logcat

E/IPCThreadState( 906): Failed to find cpu subsys
E/IPCThreadState( 906): Failed to find cpu subsys
E/IPCThreadState( 906): Failed to find cpu subsys
E/dalvikvm( 799): Cannot get policy, owner thread id=826
E/dalvikvm( 799): Cannot get policy, waiter thread id=818
E/dalvikvm( 799): Failed to find cpu subsys

think its related to CGROUP(S)

actually on this rom it seems somehow used, however?
[Desire Android Development] Anakha56:
:-(.

Not sure if this would help any but I downloaded richards kernel for Sense ROM's and it is working fine on the 2.2 ROM with the car panel. Any idea what the difference could be that is causing the problem?
[Desire Android Development] hojnikb:
Does this kernel include sdfix ?

becouse today i bought myself a class4 8gb card and max speed i can get from it is around 2mb for write and 12mb for read (measured from crystaldiskmark)

I've tried same card on external sdcard reader and it gets around 16+mb read and 4.5mb write...
[Desire Android Development] hojnikb:
Nevermind, it seems like a common issue with write speed even with the patch enabled.

Guess internal reader isnt the best... ;(
[Desire Android Development] hojnikb:
Its seems like its a sh*** card, when writting, every few mb of written data it freezes for a few second and then it starts writting again.

Guess i will stay away from kingston next time ;(
[Desire Android Development] coutts99:
BFS updated to version 363
[Desire Android Development] coutts99:
Patched and non-havs kernel re-built.

Regards
[Desire Android Development] coutts99:
BTW btrfs and reiser are built into the normal kernels so need to download melethron.zip
[Desire Android Development] melethron:
Nice. I git clone your source later. I want "deadline" also and i want to look into cgroups stuff on desire z rom. What config is the SVS version?
[Desire Android Development] coutts99:
SVS -:

stevec@aoede:~/dev/phone/kernel/couttstech-bravo$ grep DEADLINE .config

CONFIG_IOSCHED_DEADLINE=y

# CONFIG_DEFAULT_DEADLINE is not set

stevec@aoede:~/dev/phone/kernel/couttstech-bravo$ grep CGROUP .config

CONFIG_CGROUPS=y

# CONFIG_CGROUP_DEBUG is not set

CONFIG_CGROUP_NS=y

CONFIG_CGROUP_FREEZER=y

CONFIG_CGROUP_DEVICE=y

CONFIG_CGROUP_MEM_RES_CTLR=y

CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y

# CONFIG_CGROUP_BFQIO is not set

# CONFIG_NET_CLS_CGROUP is not set

Deadline is there, although BFQ is still default.
[Desire Android Development] Terepin:
coutts, could you fork LeeDrOid's latest 2.3 kernel, pretty please? Battery is handled better with it, e.g. no overheating during recharging, faster recharging and slower undercharging.
[Desire Android Development] melethron:
Oh, ok. I still wanna take a look in this. Ill check the config of the z-rom for that.
[Desire Android Development] woti23:
neophytes kernel - no error messages

CONFIG_GROUP_SCHED=y

CONFIG_FAIR_GROUP_SCHED=y

CONFIG_RT_GROUP_SCHED=y

CONFIG_CGROUP_SCHED=y

CONFIG_CGROUPS=y

# CONFIG_CGROUP_DEBUG is not set

# CONFIG_CGROUP_NS is not set

# CONFIG_CGROUP_FREEZER is not set

# CONFIG_CGROUP_DEVICE is not set

# CONFIG_CGROUP_CPUACCT is not set

CONFIG_SCHED_AUTOGROUP=y

CONFIG_CGROUP_BFQIO=y

# CONFIG_NET_CLS_CGROUP is not set

coutts99 kernel - error messages

CONFIG_CGROUPS=y

# CONFIG_CGROUP_DEBUG is not set

CONFIG_CGROUP_NS=y

CONFIG_CGROUP_FREEZER=y

CONFIG_CGROUP_DEVICE=y

CONFIG_CGROUP_MEM_RES_CTLR=y

CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y

# CONFIG_CGROUP_BFQIO is not set

# CONFIG_NET_CLS_CGROUP is not set

how comes that mostly the opposite is configured?
[Desire Android Development] melethron:
Snq didn't update the github since november. Only 2.2f kernel there :/
[Desire Android Development] Terepin:
Then ask Lee for it. He had to get it from somewhere.
[Desire Android Development] melethron:
Tried to, .... but he doesn't answer.......

And snq is afk in irc .... since some time .....
[Desire Android Development] coutts99:
Been trying to get in touch with snq for a while now......
[Desire Android Development] chihliouma:
Hi coutts99, I've tried your kernel in my DESIRE for using the ROM from BAADNWZ ver. 1.4b, but after install, everything is fine except the WI-FI is NOT working. Can you take a look and advice how to make the WI-FI working ? Thanks and I love your kernel.
[Desire Android Development] coutts99:
Does wifi start when you turn it on in settings, or does it error.

Can anyone else confirm a wifi problem?
[Desire Android Development] coutts99:
Also what version of kernel did you download?
[Desire Android Development] pina_:
Am I right that the phone is getting a bit warmer than usual?
[Desire Android Development] coutts99:
No idea, mine isn't, are you over clocking?
[Desire Android Development] chihliouma:
Hi Coutts99, by taking your advice, now I tried "couttstech-2.6.32.27_OC1190_HAVS@875mV_CMBattFix_BFS_BFQ.zip", but it just keeps reflashing in the 1st splash screen. Any idea ? Thanks.
[Desire Android Development] erklat:
Try 925mV version. Maybe you have less than stellar snapdragon which needs more juice :)

Would you consider flashing 875mV version a downgrade coming from the Leedroid 2.3c kernel? I like low vdd levels this kernel has.
[Desire Android Development] Anakha56:
coutts I really hate to be bugging you but your kernel was by far the best I have ever used, richards causes my phone to get sluggish after some heavy use and a reboot fixes that problem. So I am hoping that you have found the problem within the kernel for the car dock? Could it be a voltage setting?
[Desire Android Development] coutts99:
Yes I know, I really don't know why it doesn't work. I'm working on getting my aosp kernel working on sense, and it may work work that. Only got to get wireless working, you can flash that and try dock maybe :) I'm working on fixing wireless. If I get it going I can ditch this kernel.
[Desire Android Development] Anakha56:
If wireless is the only issue and you need a test to be done, swing it my way. I can always flash richards kernel back so it is really not a train smash. So yeah let me get some testing done :).
[Desire Android Development] coutts99:
Look for my aosp thread, just see if dock works, and also everything else does (except wireless) :)
[Desire Android Development] Anakha56:
Awesome, will download now and fetch the dock from my car. Will let you know as soon as testing gets done provided nothing at work stops me :p.
[Desire Android Development] Anakha56:
It worked! However...

There appears to be some wierd graphic artifacting that is happening. Will try to grab a screenshot soon but basically any animation (battery charging for example) would have lines going through it. Not sure what would cause that maybe a refresh issue? Drivers? have flashed back to richards just because I have no idea what is causing that problem and I dont want to risk damage with prolonged exposure :p. But I can confirm the device did not reboot when plugged into the dock :).
[Desire Android Development] chihliouma:
Hi Coutts 99, would you advice what's the issue that I may need to take care. Thanks.
[Desire Android Development] coutts99:
No idea, can you get onto adb shell, provide logcat etc so I have something to go on?
[Desire Android Development] Sandrioni:
Same here. Tried 925, and now it's all good
[Desire Android Development] coutts99:
Full ck2 patch set applied
[Desire Android Development] Fightspit:
What is the "ck2" ? Never heard about this ... :o
[Desire Android Development] twics:
IMO your best kernel was couttstech-2.6.32.26_LeeDroidv2.2f_HAVS@925mV_CMBattFix_BFS_BFQ I tried it with Rcmix v0.13 as well as leedroid and it worked well

Like Sudeki300 im now using RcmixHD 0.14b data2ext and tried couttstech-2.6.32.27_OC1190_HAVS@925mV_CMBattFix_BFS_BFQ but SetCPu kept reseting every time the phone went to sleep other than that it was ok, now reverted back to original kernel SetCPu works fine.
[Desire Android Development] melethron:
Coutts did you fix that:
[Desire Android Development] coutts99:
I've never come across this issue
[Desire Android Development] coutts99:
Never changed anything in .config for a while now, do you want the CGROUPS bits to match?
[Desire Android Development] erklat:
What are the optimal settings for advanced tab in SETcpu with ondemand governor? In the first post it is said it gives the best battery performance. Should I leave it at default values?
[Desire Android Development] coutts99:
I've never changed them :) I just stuck with smartass

Someone else may know more about them?
[Desire Android Development] Terepin:
What is ck2?
[Desire Android Development] Anakha56:
coutts does this one have your fix for the car dock? Or are you still wanting the AOSP kernel to be the fix for that?
[Desire Android Development] erklat:
o.O it seems no one knows for sure which governor achieves best battery performance..

I used smartass for days now with Leedroid 2.3c but decided to try to achieve better battery life with this 875mV kernel, but at the same time disabling my setcpu profiles. Then I saw that statement in the first post.

It seems that ondemand ramps the frequency to the max allowed while smartass dynamically changes it depending on nature of CPU load. Most of the time I spent at 1036mhz while using it. What are the mV levels at 998 thru 1113?

I know I should keep it stock at least for battery life. My goal is 30 hours at least with my daily usage.
[Desire Android Development] coutts99:
not sure off the top of my head. Go to adb shell then do 'dmesg | grep AVS' and you can see what voltages are being set.
[Desire Android Development] coutts99:
No fix yet. I'm going to try looking at that again tomorrow.
[Desire Android Development] Anakha56:
Thank you :). I really do appreciate all the work you are doing to ge this problem sorted. :)
[Desire Android Development] coutts99:
Its hard without one to test with. Snq mentioned something about a car dock problem a while ago, haven't been able to get touch with him though :(

The asop kernel on sense is harder than I thought, noticed today I don't get any signal as well as the graphic problems
[Desire Android Development] Anakha56:
I seemed to get signal just had that odd graphics problem. I saw in your AOSP kernel you had a fix for HAVS, is it the same one used in the Sense one? If not could the one in AOSP be imported into Sense?

I'm pretty sure he is just enjoying an extended holiday and will be back in no time. :)
[Desire Android Development] coutts99:
Havs doesn't need a fix on this kernel, it works fine.
[Desire Android Development] ssauger:
yes for me too, somtimes screen switched on for a short time.

And atm i cant use only GSM mode, phone reboots. But i installed new version of extended controls a few mins before. maybe thats the problem, i will test it
[Desire Android Development] coutts99:
Can you confirm if this is a problem please.
[Desire Android Development] spitjo:
This is very interesting!

This kernel takes the best things from other kernels and put them together!!

Good work man!!
[Desire Android Development] ssauger:
Seems no problem with the kernel or the app. i tried a other sim card from a other provider and now it works again with my normal sim card (gsm problem). the problem with a short screen on during charge i also noticed. but this happend one time during the charge, so for me its no problem cause screen turns off auto after a short time.
[Desire Android Development] Ninolina:
Have you check this one for me? I would like to flash this verson of kernel but it gives me only 1113 for OC..

Thanks..:-)
[Desire Android Development] coutts99:
i compiled them all this morning so should be fine now
[Desire Android Development] sffmandrake:
875mV work like charm here, thx (AuraxTsense):D
[Desire Android Development] coutts99:
Having trouble getting this patched, and according to this

http://review.cyanogenmod.com/#change,417

"Patch Set 1: Abandoned

does nothing good, tested with 2.6.35.7 and .8 kernels barely shows improvement. Tested on a clean build again."

So, don't think I am going to bother.
[Desire Android Development] theyau:
which one

i dont no which one to download it is really complicated :confused:
[Desire Android Development] coutts99:
Start with 925 OC1130

If thats stable, try higher OC or lower minimum voltage or both
[Desire Android Development] theyau:
can you put a link up????? plz
[Desire Android Development] coutts99:
Link is in first post

Start with this one -: http://mirror.couttstech.com/androi...eeDroidv2.2f_HAVS@925mV_CMBattFix_BFS_BFQ.zip
[Desire Android Development] superfurryallan:
Hi Coutts,

I wonder if you can help?

Siebre's HAVS kernels, bot 875mV and 925mV dont work on my desire. I experience freezing on boot always on the 875mV and occasionally it will get to the home screen before freezing on the 925mV kernel.

Your 875mV kernel works fine and booted first time.

i'm keen to use the GCS scheduler as on Siebre's HAVS kernel, it is very smooth on my desire.

I'd be very keen to try you're kernel with GCS, as i like the GCS experience, and i think HAVS should be better for battery life.

Perhaps i'm misguided regarding HAVS and battery life however.

Can you clarify? Would it be possible for you to implement GCS on your Kernel?
[Desire Android Development] yukkio:
Ok, no problem. When cyanogen team android have the patch it will be more easy to compile.

BR.
[Desire Android Development] snq-:
i think you miss the point here: there _is_ a patch, cyanogen just doesn't like the completely braindead idea of including it

(and this proves that - unlike many - he knows what the patch actually does)
[Desire Android Development] coutts99:
No, I can't get the patch applied easily, not sure now sibere did it, all the patches I can find require backporting.

I also doubt it makes any difference so am stopping with Bfs.
[Desire Android Development] superfurryallan:
Have you done any testing or do you have any opinion on the difference in battery consumption on say a SAVS kernel (minimum voltage 950mV) and your HAVS 875mV kernel?

I'm looking at my current widget just now on SAVS and it is steady on 7mA, although yesterday i was steady at 3mA with 3g enabled.

Your HAVS 875mV was stable at 4mA this morning, i only tested it for 30 minutes or so.

I realise its not an exact science, but which in your opinion should give the best battery life?

Regards

Allan
[Desire Android Development] superfurryallan:
deleted deleted deleted
[Desire Android Development] coutts99:
Ok, as there is quite a bit debate about this, Group Scheduling backport patch is here -:

http://mirror.couttstech.com/android/bravo/kernel/taskgroup-2.6.38-backport-2.6.32.patch

I am building a kernel with it enabled
[Desire Android Development] coutts99:
Ok autogroup version

http://mirror.couttstech.com/androi...dv2.2f_HAVS@925mV_CMBattFix_AUTOGROUP_BFQ.zip

HAVS@925 OC1130

OK, flashed and it boots

# cat /proc/sys/kernel/sched_autogroup_enabled

1
[Desire Android Development] Anakha56:
Ah okay then. Was just throwing ideas out, will stop now since I have no idea what I am talking about. Again thank you :).
[Desire Android Development] twics:
Yea, after your reply I thought id try it again with a fresh install of the Rom and new SD card which I got today, with the original kernel with rom RCmix HD V0.14b SetCPu keeps its setting 1113MHz even after phone goes to sleep, with your kernel that I mentioned in my other post after sleep and on wake it resets to 998MHz 245, if you change the scaling from smartass to something else like ondemand it will reset to smartass.

Having said all this I still think your kernel's are best on battery so if this gets fix ill use.
[Desire Android Development] Anakha56:
coutts since your kernel was based on leedroids at one point did you see this one?

http://leedroid.protogenlabs.com/customization/

Just thought I would point it out but knowing my luck you have already seen it. :)
[Desire Android Development] melethron:
Hey, i think you change it. I'm not really sure about those settings but logcat shows a HUGE amount of errors with your kernel. Dont think thats good.
[Desire Android Development] woti23:
compiled the leedroid/snq 2.6.32-15 source yesterday, unbelievable i managed to compile and flash it and it works, too. now i have the added reiserfs, btrfs and swap.

(my first arm arch kernel compile, hehe). everthing ok, only thing i don't know now about battery life, because i had to connect to usb the last days while using as wlan ap with an low signal 3g connection.

looked at the config of coutts source today. the bfs kernel has the cgroups set and the cgroups subconfigs all not set, should be ok now. will compile it later.

edit: error messages keep staying, if BFS is enabled
[Desire Android Development] melethron:
Hmm maybe we should check the kernel config of cyanogen. He uses BFS also. I also wonder if cgroup is present in version before froyo 2.2.1 (or desire hd before 1.72). I never noticed "/dev/cpuctl type cgroup" in "mount" before i used 1.72.

EDIT: Did you notice speed decrease with BFS on robos z rom ?

I think i take a look at what cgroup even is xD
[Desire Android Development] coutts99:
I think it should be disabled completely.
[Desire Android Development] woti23:
there is a cgroups (control groups)

and a cgroup cpu scheduler

the cpu scheduler gets deactivated in the kernel config if BFS is enabled.

can't say about speed as i'm still at trying to find out what's causing the error messages.

well, took a quick look at both homebrewn kernels (2.6.32-15 snq / 2.6.32.27 coutts source)

seems about the same, but then u know i'm walking on the edge with a loop file mount (ext4) for /data/data
[Desire Android Development] melethron:
Quoting Con Kolivas from 1.1.2011:

http://ck-hack.blogspot.com/2010/12/bfs-for-2637-rc8.html

Well but i still wonder since when cgroups is used. Is it feautere of froyo 2.2.1?! Someone?
[Desire Android Development] coutts99:
I read that today :)

Anyway I'm going to be short of time for a while, so this and the asop kernel will die shortly :)
[Desire Android Development] Anakha56:
:( Sad news hopefully snq will come alive before you go AWOL so we can get a fix on the car dock problem :).
[Desire Android Development] melethron:
Sad indeed. :(

Well about cardock: if you want to use it for now use a kernel without chargemod.
[Desire Android Development] coutts99:
Ill compile one with the original battery driver, that should get it working.
[Desire Android Development] coutts99:
but that will be it, consider this kernel dead
[Desire Android Development] melethron:
R.I.P. :( :( :(
[Desire Android Development] Terepin:
Permanently?
[Desire Android Development] Anakha56:
Thanks coutts, I will have to flash back to Pays ROM to test once done. I have just flashed Reflex to test however I think I will get the same result.

Thank you for the wonderful effort you have put into this kernel it is truly one of the best. :)
[Desire Android Development] Anakha56:
Will you update this thread with the name for the fixed one? Will keep a eye on the first page mainly.
[Desire Android Development] theooo:
Hello guys, im interested to this kernel, but since my desire didn't work well with HAVS kernel, i prefer non havs kernel, and i see in first page there is a non havs version. but no clue for voltage level in that kernel. Anyone know? Thanx in advance, sorry for my english.. :D
[Desire Android Development] coutts99:
Ok, I'm building now without any battery fix (back to stock driver). If it works I can add sibere battery fix, that should keep you at 100% when charging but dock should also work.

Melethron, I'm also compiling without CGROUPS, we can see if it clears those errors.
[Desire Android Development] rafi300:
1000th poster!! I always wanted to do this. Hehe
[Desire Android Development] Anakha56:
Thank you :-). Will flash it over Neo's Reflex ROM and report back. easiest way to test :-).
[Desire Android Development] coutts99:
1001 actually :)

I beat you to it :)
[Desire Android Development] rafi300:
Lol .. what rom are yu running nowadays coutts?
[Desire Android Development] coutts99:
Oxygen 2 RC6, using my AOSP kernel.

But thinking of going back to a sense rom, maybe try Melethrons, that sqllite stuff sounds interesting.