yashsingh1/xdaforums huggingface dataset:
[HTC Aria Android Development] cHarley04:
I'm just beginning to test with different gov and power (plugged in vs unplugged) scenarios. I normally run Tasker to set different CPU speed configs depending on what I'm doing with the phone, but disabled it for my testing.

So far, screen-off, unplugged with smartass looks like it's all deep sleep mode, with nothing else logged below 320mhz.

Plugged in (charging) and screen off, it doesn't deep sleep but spends over 70% of them time at 200mhz which is my min. clock freq.

------

Edit: on a side note and this is screen-on and using the phone, it appears that with smartass, the gov skips over using several intermediate clock speeds. With my max speed set at 806, I don't see any usage of 480, 768 or 787.
[HTC Aria Android Development] drowningchild:
Mostly for performance it slips speeds

When I used interactive it usually skipped 7xx mhz I'll take a look at smartass and tweak it a bit
[HTC Aria Android Development] tommyguns818:
Which kernel is D610 #1?
[HTC Aria Android Development] cHarley04:
drowningchild's 7-5 found HERE in this thread. It's for use with nightlies released after CM7 7.0.3.

.
[HTC Aria Android Development] cHarley04:
I'm going to spend a couple of days gathering data with different scenarios, but one thing I've seen already is that contrary to posts here earlier, unplugged / screen-off / with smartass, does not limit the max CPU speed to 320. I'm seeing it spend time at my max of 806. Smartass is also allowing my phone to "deep sleep" at times while I'm streaming music via BT (again screen-off & unplugged). This has caused the phone to "lock-up" twice, I could not wake-up the screen as all phone buttons seemed dead, but repeatedly pressing the power button finally caused a phone reboot.

Outside of this test environment, I'm using Tasker to set On-Demand & 320-768 when the condition BT is active, and have no lockup issues.
[HTC Aria Android Development] tommyguns818:
So if I'm using rc4, which latest kernel will work with that? Drownings 7?
[HTC Aria Android Development] uacvax:
The "lock-up" behavior is consistent with what I have experienced before, though I have not tried spamming the power button too much. I've been just pulling the battery.
[HTC Aria Android Development] cHarley04:
It's certainly too early for me to draw any conclusions yet, but my hunch at this point is that there is a point where slowing CPU speeds during a screen-off state, in the name of battery conservation, regardless of the gov used, is going to potentially lead to lockups. Especially if you are running active background tasks.
[HTC Aria Android Development] cHarley04:
You want drownings' 7-2 which is linked in the OP of this thread.
[HTC Aria Android Development] tommyguns818:
Thanks Charley.
[HTC Aria Android Development] drowningchild:
I will look into this later tonight when I have free time
[HTC Aria Android Development] Darius_bd:
Hej, kinda the same happened to me but while listening to music connected to an AV input, yet Interactive governor. Also happened some days ago with Smartass governor with phones...
[HTC Aria Android Development] DroidRunner:
No, now.

Jk. Thanks for your work on everything
[HTC Aria Android Development] drowningchild:
ok :P

http://www.mediafire.com/file/tf2c6rjuzgt50bj/drowningkernel_7-6.zip

i dont know about the sleep issue but this is the same but goes up in increments of 100mhz and sleeps @ a max of 245 i can easily change it back to 320 just testing

i have not flashed this yet but it should work
[HTC Aria Android Development] cHarley04:
Yep, I have just seen this with the Interactive gov. in addition to Smartass. So far, On-Demand appears to work fine.
[HTC Aria Android Development] drowningchild:
i have only seen this in the .29 kernel right when oc came along
[HTC Aria Android Development] DroidRunner:
New kernal scales up to 960mhz
[HTC Aria Android Development] Darius_bd:
Are you using Equalizer app by any chance?
[HTC Aria Android Development] drowningchild:
oops i put the wrong cpu tables in lol

that was a request from espresso people

is your phone stable? :P
[HTC Aria Android Development] drowningchild:
and i would suggest rebooting TWICE when flashing a kernel to help clear up nonsense
[HTC Aria Android Development] tommyguns818:
So I used 7-2 kernel with my rc4 dealio and was getting an error with connecting with wifi. So which kernel will best suit the rc4 cm7 that I'm currently running? Thanks
[HTC Aria Android Development] mikelebz:
wifi is broken in 7-2. use 7-5 posted a few pages back
[HTC Aria Android Development] Moh_Jay:
Phone isn't stable on the 900s it just completely freezes :P

Signatures are fancy.
[HTC Aria Android Development] drowningchild:
i freeze right @ 825 :(
[HTC Aria Android Development] DroidRunner:
I saw 960, set it to that because I was giddy, and immediately my phone froze. Oh well.
[HTC Aria Android Development] Moh_Jay:
Weird I use 825 as my Max and it works fine :D

Signatures are fancy.
[HTC Aria Android Development] cHarley04:
Yes I am.

N70 & 7-5 kernel

Edit: I disabled the equalizer and tested again (streaming music via BT - Screen Off).

Using the On-Demand or Interactive govs and set to 320-787 everything works as expected (not entering deep sleep) when playing media.

Using the Smartass gov with the same 320-787 cpu settings, the phone eventually enters "deep sleep" mode, media play stops and the BT connection enters a "hung" state and won't reconnect. The BT headset has to be power cycled and the phone's BT switched off and back on, to reestablish the BT connection.
[HTC Aria Android Development] lhinsz:
Freeze Point @ 825 here too

Mine has always had troubles if I go past 806... Although I'm just getting ready to flash your kernel with CM7 N#70...

Should I use 7-5 or 7-6?

Sounds like you have done an awesome job; looking forward to trying your kernel -- Thanks!!
[HTC Aria Android Development] cHarley04:
7-5 is this latest I know of, unless drowning snuck something new in I didn't see.
[HTC Aria Android Development] retired_mnbooze:
Post 399 has 7-6, and Posts 404 and 405 contain issues as stated by drowning. (906 max from Expresso CPU tables left in and suggestion of rebooting twice)
[HTC Aria Android Development] juggalofr33k:
Using n74 with 7-6. Everything is running great.
[HTC Aria Android Development] tommyguns818:
I'm using ladios' rc4 test rom currently and was wondering if 7-6 is compatible with it?
[HTC Aria Android Development] okachowwa:
7-6 is AMAZING! but the wifi is broken on my phone running it D: it says error. But if that gets fixed, amazing.
[HTC Aria Android Development] tommyguns818:
^^^^ Good to know. Thanks so far 7-5 is working great with my rc4. This is like my favorite rom so far. I keep coming back to this little work horse. Thanks again. Great work
[HTC Aria Android Development] drowningchild:
youre using too old of a rom revert to an older kernel

all kernels located here:http://www.mediafire.com/?lhb8b2e2h87hx
[HTC Aria Android Development] okachowwa:
I'm running 7.0.2
[HTC Aria Android Development] tommyguns818:
Thanks drowningchild for the link. Ill figure out which one is the latest and best choice for rc4.
[HTC Aria Android Development] lilhaiti:
Try Drowning 7 with RC4...maybe even Drowning 7-SIO.
[HTC Aria Android Development] uacvax:
Is this change you are referring to only for smartass governor? I can test a few days without using smartass and let you know if it is indeed for a fact the smartass causing problems. Or was that already confirmed?
[HTC Aria Android Development] drowningchild:
it is indeed the smartass :( (at least for the latest kernel it would never scale back when sleeping, my mistke one extra zero i had in the settings)

i fixed it and will post a newer kernel very very soon with reverted cputables
[HTC Aria Android Development] drowningchild:
bump with link :)

http://www.mediafire.com/file/cz0nzcor400amxx/drowningkernel_7-7.zip
[HTC Aria Android Development] uacvax:
Been running 7-7 for a day now on Smartass. No screen freezes yet. Will keep you posted if it does it in the future. Thanks.

Edit: Just checked CPU Spy, it appears 120-600 Smartass almost never uses 600mhz and I can feel it in my usage of the phone. It is not as snappy as it use to be with 7-5 (though no screen locks yet).

600mhz = 0:05:41 <-- effectively never used.

480mhz = 0:52:16

400mhz = 0:55:45

245mhz = 0:07:30

200mhz = 1:12:19

120mhz = 5:37:00

Deep sleep = 16:04:02

Note: Setting up my CPU max to 768mhz did not allow it to use 600 assuming there was some issues wrong with using the last step.
[HTC Aria Android Development] Darius_bd:
I wouldn't say that low time is bad. I use my phone for reading on the way out an back home (like two hours with screen always on) and even so it says my phone just clocked 17 mins @ 800mhz and it feels very snappy with old drowningchild's kernel. So maybe the phone just need spikes of max clock for some time, not all the time. Just to keep in mind.
[HTC Aria Android Development] uacvax:
Except I can feel considerable lag in swiping between screens or even getting the keyboard to recognize letters I'm tapping as I write an SMS at 400 or 480mhz.
[HTC Aria Android Development] BuckMulligan:
There's been a discussion over in the CM7 nightly thread about possible problems using the Smartass governor when performing CPU intensive tasks with the screen off. I just want to stir the pot by reporting that I typically stream music to BT headphones with the screen off for 45 minutes at a time during my daily bus commutes with no problem at all. CM 7.0.3, drowningkernel_7.5, Smartass enabled.
[HTC Aria Android Development] cHarley04:
Yep, it's a Smartass issue. It should have been posted here, but mistakenly I posted on this in the "Nightly Builds Starting" thread. I suggest anyone else that's interested go there and read through posts 2607 - 2628.

The bottom line is that Smartass doesn't give a

Ratsass

how busy (loaded) your CPU is during Screen Off mode. A few minutes after entering Screen Off, it's going to put the CPU into Deep Sleep mode and any CPU intensive apps you have running in the background are going to crash. :rolleyes:
[HTC Aria Android Development] BuckMulligan:
I understand that that's the issue - what I'm saying is that I can't duplicate the problem on my device. I'm using Smartass, my screen's off, my processor is busy serving up music over my BT headphones, and everything is copacetic.
[HTC Aria Android Development] drowningchild:
+1

ill TRY to fix smartass :( for others

been working on a 2.6.35 port though :)
[HTC Aria Android Development] cHarley04:
It's never easy is it?

I've got 2 Aria's. Right now, one is loaded with N77, the other with CM 7.0.3, both with drowning's 7-5 kernel. I can reproduce the symptom at will on either phone, and using 2 different BT headsets. :confused:

Thanks for all your efforts & hard work.

I'd write this thing off as something I was doing wrong, if it wasn't for the comments in the kernel source, that seem to make it clear that Smartass is going to down clock the CPU regardless of load.
[HTC Aria Android Development] drowningchild:
so its an issue with bluetooth?

i have no bluetooth acc. at all

the only bluetooth testing ive done is a few file transfers with my girlfriends backflip
[HTC Aria Android Development] dandrumheller:
Not necessarily only bluetooth - I get stuttering when streaming pandora with screen off while running 120/600 smartass. I was aware of the 320 upper limit with screen off, and took it for granted that pandora needs more than 320mhz to effectively stream. I can also make runkeeper audio notifications stutter if I am also playing on-device music on winamp simultaneously. the music continues to play fine, but runkeeper lags. Does not appear to impact the gps track/run data in runkeeper, however.
[HTC Aria Android Development] cHarley04:
That's making sense then. The media player is probably pushing Smartass @320 to the limit in Screen Off mode, and adding Bluetooth on top, hands it more than it can handle. I wonder if my media player app eventually crashes from lack of CPU response, and once smartass looses what load it had at the 320 max, it then drops into Deep Sleep?

EDIT: I'd love to get a copy of the 7-5 kernel with the Screen Off max limit set to 600. That's one way to answer the question for sure.

EDIT2: Or better yet, the smartass kernel with the Screen Off function removed. Then we could use a Profile or Tasker to setup our own custom Screen Off min and max smartass settings.
[HTC Aria Android Development] :
I got stuttering when I first started using smartass streaming Pandora while plugged into headphone jack in my car. I upped my min to 200MHz and that seemed to fix it.

I have not had a problem since and I stream Pandora or grooveshark while driving all the time, although rarely BT so can't really comment on that. Could just be lucky though.
[HTC Aria Android Development] CallMeAria:
Smartass is just the interactive governor with the screen off tweak. So Interactive IS smartass without the screen off function.

Sent from my cm7 Aria.
[HTC Aria Android Development] crossix:
I just ran into a problem with smart and Netflix.. I'm running N75 and SA7.7 with a setting of 200/806 on the freq..

The video on Netflix lagged& studdered horribly but after switching to interactive or even on demand it works like a charm.
[HTC Aria Android Development] Darius_bd:
AFAIK, the Smartass is based on how Interactive works but written from scratch, so it's not just that tweak.
[HTC Aria Android Development] CallMeAria:
Right, but Smartass governor scales in the same way as the Interactive governor, so running the Interactive governor with a screen off profile (setcpu/tasker) will work in the same way that using the Smartass kernel does. The benefit of the smartass is that you dont need a separate service running to control screen off speeds as its built into the governor.
[HTC Aria Android Development] drowningchild:
yup

and i always get lag with profiles
[HTC Aria Android Development] Darius_bd:
.

Yet with any kind of governor, my phone takes ages to wake up and show me the answering screen when someone is calling me. What could be?
[HTC Aria Android Development] cHarley04:
Have you tried increasing the Min clock setting for whatever gov you're using?

I find that if I'm streaming music over BT (with any gov), I can reduce that lag by increasing the min clock speed. In my case, while streaming music, 320 is a bare min, with 400 being better, if I want anything close to decent response to an incoming call.

.
[HTC Aria Android Development] cHarley04:
I agree that they typically cause lag. In my case though, I'm using Tasker instead of a Profile, and it only changes the governor config based on whether or not bluetooth is active. That's not a condition that changes state frequently, at least as I use it.
[HTC Aria Android Development] lsusparky621:
Got a small problem if anyone can offer some advice:

I am running 7.0.3 with the 7-5 version of this kernel. The battery life is great, but my programs that run in the background (most notably Beluga and Facebook) aren't giving me notifications when my phone is in screen off mode.

Since we know about the deep sleep problems of Smartass, I figured that was the culprit and made the switch to Interactive (my CPU speeds are 320 and 787). However, the problem is still persisting.

I have rebooted a few times--no fix. I am not running any 3rd party CPU program with screen on/off profiles.

Should I move to the ladios kernel (is that one even compatible with 7.0.3?) or is there another fix to this problem?

Thanks!
[HTC Aria Android Development] drowningchild:
deep sleep is in any kernel/device as i see
[HTC Aria Android Development] dandrumheller:
Fwiw, I have never gotten reliable fb notifications on cm roms on the aria. I don't use beluga, so can't comment on that, but I get trillian notifications just fine with screen off. I am on 7.0.3, downings 7-5 kernel, 120/600 smartass.
[HTC Aria Android Development] Darius_bd:
And there should be notifications with deep sleep too...

Btw, I'm using my phone @ 320/800 and the battery is behaving just fine. Seems lowering the minimum clock doesnt have a big impact in the phone.
[HTC Aria Android Development] lsusparky621:
Well the puzzling thing about it all is that when I was using the nightlies with the corresponding drowning kernel, I never had problems receiving notifications. This has only started since doing a full wipe and installing 7.0.3. I used the stock kernel with 7.0.3 for the first day and didn't have a problem with the notifications, but as soon as I moved to 7-5 with 7.0.3, I started not receiving the notifications. :confused:
[HTC Aria Android Development] drowningchild:
new kernel based of works of aleho/ladios(thank you)

2.6.35 based off of marvel(wildfire s) sources

replaces wifi driver and works:)

http://www.mediafire.com/file/flijooygxt63ax1/drowningkernel-35-wifi.zip

EDIT: uses V(R) i/o and has stock cpu freqs, next build will have updated freqs & SLQB
[HTC Aria Android Development] DroidRunner:
Trackpad wake no workie

Ok. Now it does.
[HTC Aria Android Development] drowningchild:
i think the board files need to be updated, as when i was just trying to port the kernel i coudnt get it working, errors with board files :(

doesnt work when device is actually sleeping
[HTC Aria Android Development] DroidRunner:
Its very temperamental actually
[HTC Aria Android Development] drowningchild:
bump for change to 1st post
[HTC Aria Android Development] tommyguns818:
bad file?

i tried to flash your new puppy here and its seems to not want to install. i tried downloading from phone and via pc. says something about file being bad.

edit: I downloaded it from stock browser and it worked. Xscope was giving me troubles. all is good? :P
[HTC Aria Android Development] drowningchild:
Works for me?
[HTC Aria Android Development] mikelebz:
after I flashed, my SD card can not be read. I don't know if this is a coincidence or not. I am re-formatting it now.
[HTC Aria Android Development] drowningchild:
Everything is fine on my end just dl'd it from stock browser & flashed fine with no issues at all
[HTC Aria Android Development] cHarley04:
The new kernel 8 flashed fine for me, but if causes the following FC at the end of the boot process:

"The application Cyanogen settings (process com.cyanogenmod.parts) has stopped unexpectedly. Please try again."

This occurs during the process of granting apps super permissions.

I re-flashed 7-5 and everything's fine.
[HTC Aria Android Development] drowningchild:
are you using smartass?

this kernel doesnt have smartass(yet) and it could be set in cpu settings of cmsettings
[HTC Aria Android Development] cHarley04:
No, SetCPU & cmsettings are both set to Interactive.
[HTC Aria Android Development] drowningchild:
the only thing i can think is to fix permissions

im using nightly 88 with no issues
[HTC Aria Android Development] tommyguns818:
Running n89 with drownings 8. Everything is good so far. Trackball wake works if you enable menu unlock in the lockscreen settings. Sweet.
[HTC Aria Android Development] drowningchild:
likely because its preventing from "deep-sleep" mode, waiting for an input

EDIT doesnt work for me with menu unlock after waiting a bit
[HTC Aria Android Development] DroidRunner:
Same thing on nightly 91 with drowning kernal 8
[HTC Aria Android Development] DroidRunner:
Nightly 91 drowning 7-5, why is my wifi messed, it says broken
[HTC Aria Android Development] drowningchild:
Did you install version 8??

It replaces wifi driver so you'd need to reflash the rom to get the driver back to stock
[HTC Aria Android Development] DroidRunner:
Sorry, all is well
[HTC Aria Android Development] Moh_Jay:
Okay in your newest kernel:

Trackpad wake doesn't work

New wifi drivers

No aufs compatibility

No smartass

Are these the only changes/complications in this kernel?

Signatures are fancy.
[HTC Aria Android Development] drowningchild:
Should be the same version of the drivers, and the changes are pretty much whatever the changes were from 2.6.32.17 to 2.6.35.13 linux kernel added slqb allocator hopefully more to come soon

Trackpad wake caused errors with the board file

Changelog is on my Github.com just look at the commits

Github.com/drowningchild

Smartass/aufs will be added soon, it's been only a few days be patient :)
[HTC Aria Android Development] Moh_Jay:
Alright thanks for the info and I don't use smartass :P so I'm good

Signatures are fancy.
[HTC Aria Android Development] CallMeAria:
On kernel 8 w/nightly 90 I can't adjust CPU frequency settings. Tried reflashing, same thing. Went back to kernel 7-7 and is well.

Anybody else get this?

Sent from my cm7 Aria.
[HTC Aria Android Development] bhannemann:
Yes, same for me as well.
[HTC Aria Android Development] DroidRunner:
Ditto.
[HTC Aria Android Development] AlbinoAsian:
I'd really like to try 7.7, is there a link?
[HTC Aria Android Development] tommyguns818:
^^^^^ yeah, first page of this thread.
[HTC Aria Android Development] cHarley04:
You can find all of his kernels HERE.
[HTC Aria Android Development] AlbinoAsian:
Thanks for that, I didn't realise there was a list of the previous kernels... my greatfulness outweighs my stupidity ;)
[HTC Aria Android Development] DroidRunner:
Does it?

Kidding
[HTC Aria Android Development] cHarley04:
Actually, there have been so many Drowning kernel releases here, many of which without any

organized

description of the difference between them, that I don't know which way is up any more, or which kernel is applicable with what release.

Sorry drowning, I do appreciate your hard work,

which has been excellent

, but I just can't figure out what goes with what anymore.

:confused:
[HTC Aria Android Development] drowningchild:
My cpu scales fine, I don't know what the issue is?
[HTC Aria Android Development] s0be:
I'll need to wait til I get home and have ADB access (5-6 hours from now), but I suspect /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies is not being created, causing cmsettings to not be able to find the available list of frequencies, as well as not being able to validate and set scaling ranges?
[HTC Aria Android Development] drowningchild:
Might be the issue in don't use cmsettings cpu, I use setcpu
[HTC Aria Android Development] drowningchild:
7-5 is prob the best you can use with smartass, kernel version 2.6.32.17

8 is a newer kernel version,2.6.35.13(with very few issues and better performance, from my standpoint)

ANY changes i am making will be on github

www.github.com/drowningchild
[HTC Aria Android Development] Darius_bd:
Which kernel is the latest that supports AUFS? Does it has its own wifi drivers?
[HTC Aria Android Development] drowningchild:
7 series is .32 8 is .35

8 has no aufs & has a different wifi driver
[HTC Aria Android Development] s0be:
This is, indeed the case. Here's an example fix:

https://github.com/Decad3nce/htc-kernel-heroc/commit/bbf36c9e599d63b454b40a818fd6af7fafba3c2b

This was used in the 2.6.29 HERC kernel, but the same code *SHOULD* work for this kernel (it worked for my 2.6.35 HERC kernel).

Note: if it doesn't work, it may cause rapture.
[HTC Aria Android Development] drowningchild:
bump with updated kernel, using cyanogen sources

using exact wifi driver as other phones with bcm4329(ace/glacier/vision/etc)

no v(r)/sio for now using cyanogen standard BFQ
[HTC Aria Android Development] s0be:
https://github.com/drowningchild/ht...mmit/d4f6a9850152e1622e69ab36e7e0738dd9900339

That commit in your current release is the same as the fix I linked. CMSettings CPU now works. Thanks.
[HTC Aria Android Development] drowningchild:
i was trying to add it but a cherry pick of aufs from the older kernel messed alot of stuff up :(

then i seen that cyanogen started & did most of it :)

thanks for help

edit: i did the commits afterwards of those

now all it needs is trackpad wake
[HTC Aria Android Development] lilhaiti:
Just installed 8-1...trackball wake works when it wants to. Everything else seems cool so far
[HTC Aria Android Development] Moh_Jay:
8-1 is fantastic! I get much better wifi signal than with the stock kernel.

Signatures are fancy.
[HTC Aria Android Development] drowningchild:
yeah i noticed wifi is better too :)