yashsingh1/xdaforums huggingface dataset:
[myTouch 4G Android Development] slimxfir:
same with me
[myTouch 4G Android Development] thederekjay:
Try a reboot.. should resolve the issue

Sent from my ::demonspeed:: HTC Glacier
[myTouch 4G Android Development] estallings15:
It didn't. I tried several times. I had to switch back to non-bfs.
[myTouch 4G Android Development] thederekjay:
Yeah BFS is buggy.. I honestly don't know why the WiFi issues?? I might not support it anymore because it seems more issues than good

Sent from my ::demonspeed:: HTC Glacier
[myTouch 4G Android Development] sdukas:
I had that same issue. Thanks for the suggestion to switch back to the non-BFS version.
[myTouch 4G Android Development] estallings15:
I know you are a fantastic dev and I'm not questioning you in any way. I just wanted to point out that this issue used to be prevalent with faux123's bfs kernels. It was a problem with the permissions on one of the files not being correct. Changing the permissions would always fix it.
[myTouch 4G Android Development] thederekjay:
hmm maybe? but to me that doesnt make sense because i use the same script and package for both kernels. Meaning if it works on one, should work on the other??? :confused:
[myTouch 4G Android Development] estallings15:
You would know better than I would. As I recall it was the bcm4329.ko. The fix was to extract the file from the zip with root explorer and drop it in the appropriate folder, then change the permissions and reboot. Its just a straw to grasp at. Hope you get it figured out though. I like bfs.
[myTouch 4G Android Development] Dragonswithin:
Hate to be a pain but I wanted to know if the lower WiFi voltage could be the cause of poor WiFi range on my phone. I use WiFi calling all the time and I only get one bar on WiFi in my room but with two different laptops in the same spot I get full service and my roommates iPhone gets good signal in the same spot. A few months ago using the same router I would get better signal on my phone then on my laptop so i'm kinda at a loss any help would be much appreciated.
[myTouch 4G Android Development] idiopathic:
v10 has been working great. Thanks for all your work.

Is there a way to add more speed to scaling_available_frequencies? For example less then 122 mhz. Like 61mhz or 25 mhz. I am wondering would speeds less than 122mhz work under idle. The kernel uses a scaling governor such as smartass anyway. So if at anytime it's lagging at say 61 mhz or 25 mhz it would just kick the speed up to what it need.
[myTouch 4G Android Development] blklexluthor:
I know its outdated but I've been trying a few older roms....would it be possible for someone to post v5 of this kernel? Or point me to where I can find download links to older kernels? I've been searching for awhile now.....please and thank you.
[myTouch 4G Android Development] blklexluthor:
Helllo helllo *major echo* lol Tdj.....anybody? Someone has to have it laying around... :(
[myTouch 4G Android Development] thederekjay:
http://www.mediafire.com/file/duthlejd3b65fx3/2.6.35.13-demonspeed_INSANITY-v5-CM7.zip

Sent from my .::DARKSIDE::. HTC Glacier
[myTouch 4G Android Development] blklexluthor:
Aww tdj.... YOU ARE THE MAN! I'm going to update tapatalk just so I can hit the thanks button repeatedly. :)

Sent from my .::DARKSIDE::. HTC Glacier
[myTouch 4G Android Development] TmobileDash12:
Just curious, does this use smartass v2?
[myTouch 4G Android Development] thederekjay:
Yes smartass and superbad are variants of the "smartass v2"
[myTouch 4G Android Development] BGOM21:
I always use tdj kernels as they seem to have the best battery support. Curious if this v10 will work with the cm 7.1 stable release on 2.3.7
[myTouch 4G Android Development] thederekjay:
Should.. cm hasn't added many changes to kernel source....
[myTouch 4G Android Development] xandermpls:
Your kernel rocks so hard tdj. Thank you

http://Zanderthezillionaire.biz
[myTouch 4G Android Development] IlPapu:
Wifi Issue

Using CM7 nightly 218 radio 12.55.60.25_26.09.04.26 and I can't seem to get wifi to work with either CFS or BFS. Wifi enables looks around, but can't find my wireless network. When I use the stock CM7 kernel I get a scan and can connect to my network and others that are around.

I don't know if there is a solution to this or if it is a bug or not. Either way, I felt I should report the issue. I would love to keep using this kernel. I was using Faux's kernel, but it seems he has stopped developing for it, so I moved to this more active thread.

Let me know if you need any more info!
[myTouch 4G Android Development] IlPapu:
I think I found the answer....

So after trying many other kernels and all sorts of monkey business, I found that if I "forget" the networks and re-add them one by one, the issue seems to go away. I think part of the issue was that I had added them somewhere along android 2.3.3(maybe) and since upgrading ROMs my wifi connections must have gotten jumbled and confused the names and keys. This must have caused the wifi to stop scanning. I can't find any physical proof, but I was using Wifi Joiner and all my saved networks were coming up with the wrong names. I hope this helps some of you out there who are having issues getting wifi to scan for networks!

Good luck!
[myTouch 4G Android Development] tampaboy1984:
I tried flashing both #25 and #26 but both caused my phone to not detect my sim card and forces me to reboot or shut off phone.
[myTouch 4G Android Development] thederekjay:
Are you running a sense Rom? I see you in the sense threads? This is a cm7 kernel, hence the title of the thread...
[myTouch 4G Android Development] Green_Arrow:
finally i find a kernel other than tiamat that is still being updated! thank you for that.

but i have an evo 4g and i was wondering if it would still work the same and also i wanted to know how good is battery life with this? the best battery life i have had so far is cm7 with GoDm0de and it lasted me 1 day and 6 hours, but it's not longer being updated.
[myTouch 4G Android Development] gadget421:
If you have a drop in internet, use cm7 stock, I was using smartass and had drops. Some reason 10.1 drops internet
[myTouch 4G Android Development] thederekjay:
Right CPU governor effects drops in internet...
[myTouch 4G Android Development] CoNsPiRiSiZe:
I sense sarcasm :-P

Sent from my HTC Glacier using SwiftKey X keyboard from TDJ's MIUI
[myTouch 4G Android Development] gadget421:
Just look into it, if I use cm7 stock kernel no problems, use your smartass I get no internet after a couple minutes. On cm7 #227. Also tried all radios
[myTouch 4G Android Development] syntropic:
I am giving this kernel a shot. It seems to have a pretty good reception.

I have been suffering from wifi calling problems ever since I moved into a building that does not get a cellular signal. My wifi is set up correctly, using channel 1, the least cluttered channel, and I have used wifi analyzer to make sure the wifi signal is strong and also to confirm there are no fluctuations.

However, when using wifi calling (and this seems to happen with data too, although it is hardly noticeable since calls don't get dropped when using data.) The connection is quickly restored, but that means nothing when I am on a call..it still gets dropped. It is frustrating as it gets.

I always suspected it might have to do with TMOs wifi calling app (though not sure). I have tried to use the wifi fixer app, and the wifi static app to lock a wifi IP address and prevent it from dropping.

It is quite odd. Many times I will be on a call using the speakerphone so I can watch the screen. I won't move the phone at all, but about 4 minutes into any call, the notification bar states "you might lose your call; almost out of wifi coverage area". Then about 6 seconds later, it will drop the call

And in this time, I have not moved. When I check wifi analyzer running in background, the signal shows as being steady throughout this "call dropping" period.

So this is a problem internally with wifi. I have tried different ROMs, including sense ROMs, but it doesn't matter.

So I thought if it is the wifi calling app, since this kernel has native wifi calling built in, I could flash this kernel and uninstall TMOs wifi calling app.

Will try it and see if it has any effect and let you know.

If anyone else had had similar wifi experience let me know
[myTouch 4G Android Development] thederekjay:
Native Wi-Fi calling meaning that i use HTC source code and not cm's hack... you will always need the application...
[myTouch 4G Android Development] syntropic:
I didn't know that.. But good news its that it does seem to work better. And without the app.

Today i was using it after having flash this kernel, and I know there was no cell signal, but wifi was connected--and I honestly made a 10 minute clear call.

It could have been the cell network, but that would have been a first, since I never am able to connect from this location.

Are you sure the app is required for wifi calling? just trying to make sure what's happening here.
[myTouch 4G Android Development] thederekjay:
Yes I am sure..
[myTouch 4G Android Development] wolfepakt:
There does seem to be an issue with it. I was having a problem with losing internet connectivity after an hour our two of uptime. Every thing would show fine, wifi or mobile

data would show connected, but nothing couldconnect (browser, market, XDa, etc.) A reboot would fix it. Anything actively connected would continue, i.e. streaming audio etc.but nothing new would connect.

I decided to try the tiamat kernel and am not seeing the problem.

I am on cm7.1.

Edit: I am trying the non bfs version of the ds kernel and so far so good... Will update later.
[myTouch 4G Android Development] citizeninsane89:
BFS is known to be problematic.
[myTouch 4G Android Development] wolfepakt:
Yeah I had remembered reading it somewhere so decided to give it a try, since I like tdj's kernels. I am at almost an hour of uptime so far with no issues. I report back if I see anything else.

And reading my last post, I think I need to stop posting from my phone.... :-D kinda hard to understand what I was trying to say!
[myTouch 4G Android Development] jayb222:
Is v11 gonna be released a it's own file soon or is it only with mini?
[myTouch 4G Android Development] wolfepakt:
Up time at almost three hours. Guess I just need to avoid bfs!
[myTouch 4G Android Development] thederekjay:
Will eventually be released.. still working on it.. you can't grab the link from the miui thread if you want to try it.
[myTouch 4G Android Development] wolfepakt:
The miui thread has the file, not as included in the ROM, as beta.
[myTouch 4G Android Development] thederekjay:
Here:

Beta v11. Lots of updates, not listing them all now.. enjoy

http://dev-host.org/vloqlsfxkrbs/glacier-demonspeed-v11-CM7__1_102511.zip
[myTouch 4G Android Development] jayb222:
Thanks tdj!
[myTouch 4G Android Development] wolfepakt:
Working great on cm7.1
[myTouch 4G Android Development] mulletcutter:
why did you take off demonspeed gov?? id get great batt life using that, no lag very smooth.
[myTouch 4G Android Development] blinksilver:
seems to be working well. nothing to complain about. For reference: 122mhz-1.84ghz using smartass v2.
[myTouch 4G Android Development] thederekjay:
Y are you over clocking so high? Also you're creating a huge voltage swing with the values you're using, thus making you substantially more likely to freeze/lock up your device and/or over heat.. over clocking is OK but maybe knock the 1.8 to something like 1.4. Just my 2 cents... the higher CPU speeds are more or less for benchmarking IMO
[myTouch 4G Android Development] corwest:
Agree to be honest i have never been able to tell any sort of visual performance difference past 1 ghz.
[myTouch 4G Android Development] jaibar:
I have been using the beta version (something-11) with a few cm7 nightlies (227, 233 etc) and also with a few gigglebread builds: haven't noticed any special issues.

However, out of shear laziness I use only regular governors because I tend to forget to remove the "set on boot" from setCPU, and after flashing a new ROM it usually won't know what to do with things like "smartass v2" or "scary", so I leave all profiles with more conventional ones like "on demand" etc- haven't noticed much difference between them anyway.

I am not sure if this kernel has Under Voltage settings and unfortunately, I don't know how one can see (or log to a file?) the cpu voltage just to see it changes at all. SetCPU, for example, has some graphic and textual information ("Time in state") about the frequency- is there such a thing for voltage?

The same applies for other kernel features (for example low Wifi voltage) that I don't see any way to check them or see their functionality- perhaps some "kernel monitor" or something like that?
[myTouch 4G Android Development] blinksilver:
I have tweaked the voltages so I don't get a lockup, plus my battery life is wonderful.

I think if you choose the right governor(smartassv2) and keep the low end voltages really low, and from there scale up your voltages linearly, things just work out.

UPDATE: just for reference, when I say linearly, I mean find your min and max, use a extrapolation function to figure what linear would be for each state, and then use the nearest stable neighbor.
[myTouch 4G Android Development] jaibar:
Can you explain how to tweak the voltages?
[myTouch 4G Android Development] thederekjay:
this is the release version... http://dev-host.org/q24ye73muac8/glacier-DARKSIDE-v11-CM7__27_110111.zip

once again freshly rebuilt from cm7 source.. scrapped the old one and started new.. got rid of a lot of garbage code and optimized to my liking

default gov is smartass v2 122/1017

removed some redundant cpu governors.. more info to come when i update the op later on...
[myTouch 4G Android Development] blinksilver:
Nice, fresh start on the cm7 codebase!

Can I ask why you took out some of the higher freqs. 1840Mhz was the sweet spot for me. I know its only 36Mhz, but I was just wondering.

Otherwise still rocking, the glacier scene owes you a debt of thanks! You do seriously good work!
[myTouch 4G Android Development] thederekjay:
stability and didn't loose any performance..

see attached..

quad standard and advanced from yesterday..
[myTouch 4G Android Development] jaibar:
Thanks! Can you post the md5 for this version? EDIT: never mind, just saw the link includes md5, next time I check before I post ;-)
[myTouch 4G Android Development] yellowjeep:
Anytime I switch to this or any other kernel I lose video playback. I get sound but no images. I get video after reverting back to my last nandroid backup with ckisgen 1.4 but the battery life sucks. Any advice?

I wipe cache and dalvik every time but it doesn't change anything.
[myTouch 4G Android Development] cokewins:
I'm using CM 7.1 and upgraded to this kernel a few days ago. Ever since, my phone won't idle. In spare parts battery history "Running" is always at roughly 80%+ , even though "Screen on" is more like 6%. Battery life is not too bad since it is 122mhz most of the time, but it is worse than usual.

Anyone else have this issue or a suggested solution? I didn't have this problem on the stock CM 7.1 kernel.
[myTouch 4G Android Development] addictarmy:
I'm on v11 with nightbuild 238 and right now my phone says "Phone idle 39%"

note, been using LAGREE vs. default gov smartass v2
[myTouch 4G Android Development] cokewins:
I'm using the smartass v2 governor, could that be it?

My "Phone Idle" is ~20%. Do you have spare parts? What is your % running in Spare Parts -> Other Usage?
[myTouch 4G Android Development] jaibar:
I suddenly discovered that my battery drained completely in 7hours + change. Moving back to cm7 kernel didn't help.

Then I installed bettermemorystats from another thread @xda and discovered the culprit that kept my phone with partial wakelock for the whole 7 hours (i.e. phone wouldn't sleep even when screen off) was google services! Then I managed to nail it down to network location- turned off and back to ~20 hours battery time.

My 2cents- it is always good to know who eats battery, not always it is the kernel...
[myTouch 4G Android Development] cokewins:
I definitely agree that it very well may not be the kernel. Just trying to get as many data points as I can to track down the culprit. I'll try out that bettermemorystats to see if I can find anything. Do you have a link for it?

EDIT: Did you mean betterbatterystats?
[myTouch 4G Android Development] jaibar:
Yeah, that one.... long name, great usage. It's on xda and market too (good idea to sm support dev)
[myTouch 4G Android Development] jaibar:
Yeah, that one.... long name, great usage. It's on xda (android Asia thread), and, market too (good idea to sm support dev)
[myTouch 4G Android Development] addictarmy:
Phone idle is at 34% and spare parts shows running at 30.2
[myTouch 4G Android Development] cokewins:
Thanks. Guess yours is working and mine is not. As an update, I've found that there are several kernel level wakelocks that are keeping the phone awake. Not sure yet why these wakelocks are held for so long however.

"suspend_backoff" (): 19 h 22 m (69720 s) Count:275 78.9%

"main" (): 1 h 35 m 5 s (5705 s) Count:76 6.5%

"PowerManagerService" (): 27 m 14 s (1634 s) Count:5625 1.8%

"SMD_DS" (): 20 m 6 s (1206 s) Count:2383 1.4%

"deleted_wake_locks" (): 12 m 49 s (769 s) Count:15613 0.9%
[myTouch 4G Android Development] betovanbuuren:
Can you tell me how to turn off google services??
[myTouch 4G Android Development] jaibar:
Not all the services can be turned off- but hey- it is still some comfort to know who the culprit is (and that it is not always the ROM and/or Kernel)... :D

I see quite a lot people telling how wonderfully and magically night build #XXX gives them 48 hours battery life and how awful some other ROM #YYY drains them the whole battery in 6 hours, or how this kernel ZZZ gives 10 times more battery life compared to the stock one and so on. But, when you inspect the battery consumption factors you suddenly see that in one case the phone was all the time with screen off, wifi off, standby and in the second I forgot to tell I was playing games and overclocking and all the time meddling with the screen installing live wallpapers and animated widgets... Comparing apples to oranges, and in many times not waiting a couple of days to see that battery stats are somehow stabilized...

As to the services, some of them such as network location, auto/background syncing and the such can be turned off, or easily controlled from some widget on screen so it is not such a pain to turn them on/off vs. more battery life. Then, if you keep awareness of turning off 3G, Wifi and the screen when not in use you'll see a dramatic increase in battery life regardless of ROM or Kernel.
[myTouch 4G Android Development] betovanbuuren:
And about change the cm 7 stock firmware for demonspeed is a good idea?
[myTouch 4G Android Development] jaibar:
Yeah, well, I guess most participants/readers in this thread have either changed to TDJ's kernel or considering it... :p

For me, being a geek as I am, it is just a matter of fun to flash new builds, kernels see what's new etc. Sometimes it gets screwed and then you end up with a good reason to tell your GF it is time to upgrade the phone (in other words- bricked :D), 99.9% of the times it is just fine.

Can I tell there's a big difference between CM7's "stock"/AOSP kernel to demonspeed? Not really- but It has much more cooler governor names such as "smartass", "scary", "superbad" and "darkside"- you won't find'em in CM7 nominal kernel with the traditional "ondemand" and "powersave" stuff.

It also allows overclocking to higher frequencies vs. CM7- for some it is a good reason by itself.

Other than that, most of the features are quite hard to evaluate or tell if they work or do anything substantial at all. I can change the OC frequency, do some quadrant scoring and say "wow, it is fast at 1.8GHz" but how can one tell that the "extensive ext4 tweaks" are making any difference, or that the "under volt" feature is actually doing anything? You can browse through all the features in the OP and most of them are quite hard to check on...

Myself, I haven't noticed any issues with either kernels (including BFS versions and other kernels I've tried before such as Faux123's etc)- but perhaps I haven't abused my phone enough yet :eek:
[myTouch 4G Android Development] betovanbuuren:
I 've had placed already demonspeed on internal SD but when i go to recovery and choose install zip file then selected and finally flash it, it appears an error that says: "error in sdcard glacier demonspeed v10 cm7 status 7"

Any idea how to fix it?
[myTouch 4G Android Development] jaibar:
Did you run md5 check on the zip file? Not a bad habit to always check before flashing things...
[myTouch 4G Android Development] betovanbuuren:
Oops no i didn't can you explain me a little to know about md5 check? So if i get the status 7 error flashing demonspeed kernel i will no be able somehow fix it and flash it??

Your guide will be much appreciated :o
[myTouch 4G Android Development] jaibar:
First, I think that if you don't know anything about md5 checksums, then perhaps before flashing new kernels (and roms or whatever) perhaps you should read a little bit about it (google it!)

Next, you can find in market applications that will check the md5 of the specific file that you have downloaded (or a Windows program for your PC etc. etc.)

Then, you have to compare the md5 checksum of your file with the one provided by the developer (it is in the link where you have downloaded!).

IF both are the same, you go ahead and flash it.

IF they are different, you simply download the file again (and check it, of course)- because most likely it is a download interrupted problem or during copy or something like that.
[myTouch 4G Android Development] TmobileDash12:
Poop. Thought we'd get a download link to the beta v12 kernel today. Maybe next week when it's official :[
[myTouch 4G Android Development] blinksilver:
Hey tdj, do you plan on keeping this thread up to date with the changes on the demonspeed kernel? I currently just grab the kernel out of your MIUI rom, but it would sorta nice to know whats changing.

If not I understand, this community is shrinking.
[myTouch 4G Android Development] Royalknight6190:
Yes he plans on it, he is dealing with a lot of crap right now, especially not even having a computer. So I am sure once he gets his computer back he will update this.

Coming from the DARKSIDE.
[myTouch 4G Android Development] cokewins:
How do you grab the kernel out of the rom?
[myTouch 4G Android Development] thederekjay:
Extract the boot.img with yaffs2. Pull the zimage and repeat with the boot.img of the current rom you're using, only pushing the zimage to the root directory ... or download this:

dev-host.org/4g40trzfdoaq/glacier-DARKSIDE-v12-BETA-CM7__38_111211.zip

That is the most current released beta. I do plan on keeping the kernel threads updated. Just having some bad luck as of late. Kernel development is on hold until i get 1 of my 2 computers back. Long story short... seperating from my sons mother after 7 years and she is holding onto all my stuff, that includes my desktop with all my development crap. I managed to get my netbook from her, but that died yesterday and is being sent in under warranty repair. So that puts me a few weeks out on kernel development..
[myTouch 4G Android Development] jmccw:
Good luck with your life transition, tdj. I did something similar a couple months back. It is hard not being with the kids 24/7 but you will find a way to make it work. Take care.
[myTouch 4G Android Development] blinksilver:
I second that. Good luck tdj. I wish I could offer more than just a good luck, lord knows you've done more for me then that. I guess that's the problem with the internet.
[myTouch 4G Android Development] invasion2:
How do you change the governors in CM7?

lol lame question....sorry!
[myTouch 4G Android Development] wealthy23:
Lol it's ok you go to your settings then go to cm settings go to performance then cpu setting and pick your governor