yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Sultanxda:
r5.5 released

I just released r5.5 that automatically forces both CPU cores online. Try installing that and tell me if it helps.

EDIT: I just tested the Intellidemand governor and after leaving the screen locked for about 5 minutes, my second CPU core went offline and I couldn't turn it back on through the file that determines whether or not Core1 is online. I'm going to investigate this further to see if it is related to Intellidemand specifically or to any other CPU governors. Thanks for reporting that. Also, because of my modifications to r5.5, rebooting will force Core1 back online.

EDIT2: This behavior is also occurring while using Ondemand. I'm going to try recompiling without using DragunKorr's CPU governors and instead using Bruce's.
[HTC Sensation] zx34:
Min and Max frequenc are both at maximum 1.512GHz on both core, When I adjust the minimum frequenc down, the core2 is dead :(
[HTC Sensation] Tung_meister:
I think you may have introduced another issue in 5.5 as I'm having the same CPU1 issues as before + now I'm getting reboots every time I try to benchmark in Antutu.
[HTC Sensation] Sultanxda:
The only other thing I introduced in r5.5 is higher Wi-Fi voltages. Antutu isn't crashing for me :confused:. Life would be a lot easier if my phone was buggier...

I'm going to try compiling with the Linaro toolchain instead to see if it helps

EDIT: Well, I just wasted the last 2 hours trying to compile with Linaro with no success
[HTC Sensation] Tung_meister:
Strange, I relfashed r5 then r5.5 and now Antutu is working ok.
[HTC Sensation] Sultanxda:
r6 released

It took me several hours, but I finally realized what was making Core1 go offline: having the default CPU governor set to Performance caused the problem :confused:. In r6 I have made the default CPU governor Ondemand and made the max CPU frequency 1.512GHz and the min CPU frequency 384MHz. This doesn't really harm boot up speed AND it helps solve the Core1 issue (also makes things simpler because now there's only 1 kernel flavor that works for all devices). Read the changelog in the second post for more details on r6. Enjoy!
[HTC Sensation] davebugyi:
r6 - CPU1 is online when booting and stays online until i turn off the screen and let the phone "sleep". Then it remains offline till the next reboot.
[HTC Sensation] topgeardave:
If you want a true multi core governor. Try pegasusq! It's probably the best governor for every day usage in terms of performance
[HTC Sensation] Sultanxda:
Try this kernel: http://d-h.st/DpH

It's r6 but it has kernel based mpdecision enabled. Tell me if it helps.
[HTC Sensation] Tung_meister:
Both cores seem to be staying online for me now but when I've adjusted the frequency with the CyanogenMod setting the frequency change has only been applied to CPU0 with CPU1 sticking to the 1512Mhz max.
[HTC Sensation] Sultanxda:
Kernel Tuner allows you to control the frequency and governor of each CPU core. Try using that.
[HTC Sensation] peepee999:
Tried using Kernel Tuner to underclock it to 1026 but it always goes back to default. Any fix?
[HTC Sensation] NightM@re:
Can't install any apps after flashing v6 , it says application not installed
[HTC Sensation] n.vk1305:
camera problems in r43.8. selecting front facing camera FC's gallery.shoukd reboot the phone.
[HTC Sensation] Sultanxda:
Gallery doesn't force close when I switch to the FFC. Try clearing data for Gallery and if you still have the problem then it's probably ROM-related.
[HTC Sensation] n.vk1305:
:D going to try your ROM.!
[HTC Sensation] MrJukeHardbane:
Flashed r43.8. So far it's working good. I'll let you know if any issue comes up. :)
[HTC Sensation] sunanulh:
Thanks

But it's not like CRT. It's just fade and off.
[HTC Sensation] Chikko:
Till now i have no random reboot with last release. It seems faster and smoother. Great battery life.
[HTC Sensation] ashkan-khatar:
Everything awesome except for video recording, it is soooooo unstable...
[HTC Sensation] Noobel:
So far no big improvement. Camera is barely usable @ 1080p. If it does not FC on start on switching to 1080p it will hang and FC at the end of recording.

Still same story as I've written before here.

Why did you remove max off-screen frequency? How does it behave now?

Could you please point out benefits or special features of Simple GPU governor from Faux123?

Thanx
[HTC Sensation] ashkan-khatar:
Plus, the damn freeze in real racing 3 while switching cars is still present...
[HTC Sensation] smint86:
Sorry guys, but I can't confirm this. I tested 1080p video recording thrice, recording 3 2+ minutes videos without problems. No single gallery fc at all. No freeze at starting, switching to video. It takes a pretty long time to save the video though, but it doesn't fc. So this is no general problem.
[HTC Sensation] Beloch:
Same here. I am glad that I can finally use MIUI rom and other kernel! Thanks a lot. i tried video recording like Noobel said and I have same problem. At FHD camera wount crash but lag and nothing happen, I can just swipe to gallery. But I am using R42, but will try new one. i will let you know. Thanks again man!
[HTC Sensation] Noobel:
r42 is really good with Sutan's CM10.2 r43-r43.8 have issues with 1080p video recording
[HTC Sensation] smint86:
Okay, after doing another 5 minute shot at 1080p, I also saw some problems. Again, no fc, the video did record and save as it should. But there were some lags while recording, which are also visible while watching the video. It hangs for about 1-2 seconds and then continues.

Swyped via Tapatalk
[HTC Sensation] MrJukeHardbane:
Screen freeze are still there but for very short duration. Lot better than r43.5. It's just the CRT off animation that I am missing right now. By the way it works one in 100 times. Any reason for that?
[HTC Sensation] VekiCRO:
So far no problems with Real Racing 3 and r43.8 ;)

Great work,thanks :)
[HTC Sensation] sonnhy:
I have some problems when switching between front/back camera, also, for recording video (not 1080p although)..
[HTC Sensation] Noobel:
Use r42 'till Sultan fixes the whole thing. :cowboy:
[HTC Sensation] reddvilzz:
I got some freezes while playing kingdom rush. Is it because the 3D governor? Before i used the simple one but now i change it to ondemand to see if it's help.
[HTC Sensation] onnaj:
My phone won't automaticly resolve the wifi connection. When i went out and use 3G, the HTC won't automaticly turn to wifi again when home again. I manually have to turn wifi off and on to resolve the connection. I'm on 43.5 btw
[HTC Sensation] SnZ:
Can't really post now more detailed info, but I got 2times complete freeze and after that reboot.

1) was playing some game

2)was installing app from google and after that

~Sent from my mobile device using my neighbors WiFi
[HTC Sensation] onnaj:
I also have the freezes now and then :( Before kernel 42 i hadn't absolutely no probs at all.

Now it happened with the insight timer app and hotmail
[HTC Sensation] tibbyke:
I also have frezez in aps like facebook messenger and once happend when I tried to unlock my phone. :(
[HTC Sensation] olegat0r:
[MENTION=4800121]android1234567[/MENTION]

I run "adb shell cat /proc/kmsg" and played Real Racing 3 waiting to hang.

When I got hang I saw this:

<3>[17425.540557] kgsl: kgsl_mmu_map: gen_pool_alloc(11042816) failed from pool: general_pool
<3>[17425.540710] kgsl: kgsl_mmu_map: [0] allocated=259231744, entries=1865
<3>[17425.556304] kgsl: kgsl_mmu_map: gen_pool_alloc(11042816) failed from pool: general_pool
<3>[17425.556396] kgsl: kgsl_mmu_map: [0] allocated=258576384, entries=1855
<3>[17425.573272] kgsl: kgsl_mmu_map: gen_pool_alloc(11042816) failed from pool: general_pool
<3>[17425.573455] kgsl: kgsl_mmu_map: [0] allocated=258314240, entries=1853
<3>[17428.983917] kgsl: kgsl_mmu_map: gen_pool_alloc(2088960) failed from pool: general_pool
<3>[17428.984283] kgsl: kgsl_mmu_map: [0] allocated=262635520, entries=1906
<3>[17428.985198] kgsl: kgsl_mmu_map: gen_pool_alloc(2088960) failed from pool: general_pool
<3>[17428.985565] kgsl: kgsl_mmu_map: [0] allocated=262635520, entries=1906

The hang is not full, it is partial, I still could see another info running in console.

I hope this will help you to resolve the bug.

After hang I had to reboot my phone with 3 keys combination. (but I think I could do "adb reboot")

Reinstalled 43.8 with default settings (only change is cpu freq: 1566mhz)

And again. RR3 running, waiting for hang. Now I was writing kmsg log to txt file.

Again, when I got hang:

kgsl: kgsl_mmu_map: gen_pool_alloc([COLOR="Silver"]something[/COLOR]) failed from pool

And 1 more thing:

in logcat that was written at the same time I found such warning in one place (which is the place of hang I think)

W/Adreno200-GSL( 128): <gsl_ldd_control:225>: ioctl code 0xc01c0915 (IOCTL_KGSL_MAP_USER_MEM) failed: errno 12 Out of memory
W/Adreno200-EGLSUB( 128): <GetBackBuffer:2203>: failed to map the memory for fd=1078581437 offs=26
W/Adreno200-ES20( 128): <qgl2DrvAPI_glFinish:33>: GL_OUT_OF_MEMORY
W/Adreno200-GSL( 128): <gsl_ldd_control:225>: ioctl code 0xc01c0915 (IOCTL_KGSL_MAP_USER_MEM) failed: errno 12 Out of memory
W/Adreno200-EGLSUB( 128): <GetBackBuffer:2203>: failed to map the memory for fd=1078581437 offs=26
W/Adreno200-EGL( 128): <qeglDrvAPI_eglSwapBuffers:3477>: EGL_BAD_ALLOC
W/Adreno200-GSL( 3145): <gsl_ldd_control:225>: ioctl code 0xc01c0915 (IOCTL_KGSL_MAP_USER_MEM) failed: errno 12 Out of memory
W/Adreno200-EGLSUB( 3145): <GetBackBuffer:2203>: failed to map the memory for fd=1074297021 offs=50
W/Adreno200-GSL( 3145): <gsl_ldd_control:225>: ioctl code 0xc01c0915 (IOCTL_KGSL_MAP_USER_MEM) failed: errno 12 Out of memory
W/Adreno200-EGLSUB( 3145): <GetBackBuffer:2203>: failed to map the memory for fd=1074297021 offs=50
W/Adreno200-ES20( 3145): <gl2_surface_swap:43>: GL_OUT_OF_MEMORY
W/Adreno200-EGL( 3145): <qeglDrvAPI_eglSwapBuffers:3477>: EGL_BAD_ALLOC
W/HardwareRenderer( 3145): EGL error: EGL_BAD_ALLOC
W/HardwareRenderer( 3145): Mountain View, we've had a problem here. Switching back to software rendering.
[HTC Sensation] smint86:
I had a random reboot, while updating apps from play store: https://db.tt/KvTwG6iy

R43.8

Cpu: 1512 mhz, interactive gov

Gpu: stock freqs, simple gov

Misc: mostly stock, besides fsync off and minfree medium

Swyped via Tapatalk
[HTC Sensation] szotaa:
[MENTION=4800121]android1234567[/MENTION] still trying to get cam working with ION? I'm not asking for any eta, just would love to hear is there any work in progress

Wysłane z mojego HTC Sensation przy użyciu Tapatalk 4
[HTC Sensation] SnZ:
It hang for me almost always in Real Racing 3...

Still can't normally install anything from market without reboot/FC..

//going to use temporarily r42 (it works far better, and don't know why but for ex. new app is loading like 5s and with r43.8 its +15s or more)
[HTC Sensation] Sultanxda:
Stacktrace points to cryptography drivers. Probably caused by something stupid I did a long time ago.
[HTC Sensation] redback_rsa:
reboot whilst the phone was lying on my desk.

CPU: 1566, Intellidemand, 9% Plus UV

GPU: 2D/3D one level below normal underclock (whatever they are), ondemand

RAM: Optimal II

Rest are stock..

http://waa.ai/Dfd
[HTC Sensation] Sultanxda:
Try undervolting a bit less. On another note, thermald is crazy:

[49686.185668] msm_thermal: Thermal Throttled (max)! temp: 4294967249
[49686.186035] msm_thermal: Limiting core0 max frequency to 384000
[49686.186370] msm_thermal: Thermal Throttled (max)! temp: 4294967249
[49686.186584] msm_thermal: Limiting core1 max frequency to 384000

Thermald thought your phone was 275 times hotter than the core of the sun... That may have also caused the reboot.
[HTC Sensation] redback_rsa:
Gonna reflash now. Any point in turning on logcat, will it show more (useful) info in the kmsg?
[HTC Sensation] Sultanxda:
Probably not. Kmsg is the most useful to me for fixing random reboots.
[HTC Sensation] smint86:
After getting two more reboots, which didn't give me a last_kmsg, I switched back to r42, which imho was the best release so far! Looking forward to r44 :)

Swyped via Tapatalk
[HTC Sensation] Sultanxda:
If a random reboot didn't give you a last_kmsg then it could be a battery issue.
[HTC Sensation] smint86:
Yeah, possible, but I don't think so. I'm using two anker batterys, they're quite new (~6 months) and they fit very good. Also, I really didn't have this problem with previous releases. I'll see if it still happens with r42 and will eagerly look forward to r44 ;).

Swyped via Tapatalk
[HTC Sensation] ianoob:
Another weekend, another trip... music is still skipping over BT with screen on or off on 43.8. The changes you made fixed headphones though.
[HTC Sensation] Sultanxda:
Was music ever working fine over BT for you in a previous kernel version?
[HTC Sensation] Electriccars:
How do I get a last_kmsg?

I'm interested because yesterday I had a couple random reboots but I'm not sure if they were caused by my , well used 13 month old, Anker batteries or the ROM/kernel. Though I strongly suspect it's the batteries.
[HTC Sensation] Sultanxda:
I played Real Racing 3 for 30 minutes and completed about 10 or 11 races on kernel r44 with no freezes :)
[HTC Sensation] ianoob:
Yes, although I couldn't tell you exactly which version broke it... last time I can confirm it was working was about a month ago.

Sorry I can't give you more, and again can't get loss for a couple days.
[HTC Sensation] MrJukeHardbane:
That's amazing. And please add CRT off animation for MIUI.
[HTC Sensation] Sultanxda:
R44 uploaded. This should be a solid release :)
[HTC Sensation] BSHD666:
Yea! I'll flash that
[HTC Sensation] MrJukeHardbane:
Flashed it. CRT fixed :D. No screen freeze as of now with gaming and browsers. It is a solid release.
[HTC Sensation] Karam.:
first thank u :( I kept telling non sense developers and no one listened

second , what's this FU*&^^%& thermald !?
[HTC Sensation] Sultanxda:
Thermald = thermal daemon

Thermald lowers your CPU's max frequency when it reaches high temperatures in order to cool it down. This prevents your SOC (system on a chip) from being damaged by heat.
[HTC Sensation] Karam.:
Thank you

but it used to do the opposite for me !

I'm mostly on 1188 or 972 , then it works and makes device hot

I made widget for the 89z to run when device gets hot :D

Thanks infinitely
[HTC Sensation] kukuthejak:
DT2W

Is it possible to have double tap 2 wake on this kenel?
[HTC Sensation] Beloch:
Yup that would be great. Waiting for the answer.
[HTC Sensation] ems328i:
Had a couple of random reboots on r44, didn't have any on the last 3 releases, last_kmsg attached.
[HTC Sensation] SnZ:
Random reboot in Real Racing (was messing with car changing/tuning).

r44
[HTC Sensation] onnaj:
HTC was rebooting at the moment i took it out of my pocket. So it wasn't used at that moment. Hope there will be stable release again. Before lets say R38 i didn't had much problems.

But it's good to see you're trying to solve it very quickly! Thumbs up!
[HTC Sensation] papikev:
I know you are getting several reports on reboots, and I have just had my first on R44. It happened at the moment I received an email. Last kmsg and settings attached. Signature is up to date. Hope this helps:

[ 2885.797515] suspend: exit suspend, ret = 0 (2013-10-27 12:55:10.013203503 UTC)
[ 2885.807708] call alarm, type 2, func alarm_triggered+0x0/0xa4, 4096842000000 (s 4096842000000)
[ 2885.870666] [GSNR][MPU3050][TIMERIRQ]stop_timerirq: data->period = 20, data->run = 0
[ 2885.882446] [GSNR][MPU3050][TIMERIRQ]start_timerirq: data->period = 20
[ 2885.903533] [GSNR][MPU3050][TIMERIRQ]stop_timerirq: data->period = 20, data->run = 1
[ 2885.932556] [GSNR][MPU3050][TIMERIRQ]start_timerirq: data->period = 200
[ 2885.932922] MPL-accODR: 25000
[ 2885.955688] [GSNR][MPU3050][TIMERIRQ]stop_timerirq: data->period = 200, data->run = 1
[ 2885.972503] [GSNR][MPU3050][TIMERIRQ]start_timerirq: data->period = 20
[ 2885.972717] MPL-accODR: 25000
[ 2886.002655] msm_thermal: Thermal Throttled (max)! temp: 4294967294
[ 2886.004180] msm_thermal: Limiting core1 max frequency to 384000
[ 2886.670074] [GSNR][MPU3050][TIMERIRQ]stop_timerirq: data->period = 20, data->run = 1
[ 2887.003021] msm_thermal: ERROR! pre_throttled_max=0, falling back to 1944000
[ 2887.003265] msm_thermal: Low Thermal Throttling Ended! temp: 26
[ 2887.003692] msm_thermal: Limiting core0 max frequency to 1944000
[ 2887.003906] msm_thermal: ERROR! pre_throttled_max=0, falling back to 1944000
[ 2887.004272] msm_thermal: Low Thermal Throttling Ended! temp: 26
[ 2887.004699] msm_thermal: Limiting core1 max frequency to 1944000
[ 2887.018035] Freezing user space processes ... mmc0: Starting deferred resume
[ 2887.033050] (elapsed 0.01 seconds) done.
[ 2887.044952] mmc0: Deferred resume completed
[HTC Sensation] cyberain:
I don't have CRT off animation on r44 :/ Why? My ROM is CM 10.2 by android1-7
[HTC Sensation] smint86:
A page search of ROMs OP would have brought you to this:
[HTC Sensation] ianoob:
Haven't tested over a long period, but the new BT stack seems to have fixed the stuttering, plus navigation is the same volume as the music! Thank you
[HTC Sensation] cyberain:
Ok I misunderstood the latest changelog, just this entry:

"Added back an old hack to fix the CRT animation in JB 4.1.X ROMs"

I'm sorry: P
[HTC Sensation] Sultanxda:
Argh! I really hate thermald. Strange that it worked for me though. I played RR3 for an hour without any issues.
[HTC Sensation] papikev:
No pressure from me bro. Take your time with whatever you need to do. I just want to provide anything that might help make your job a bit easier.
[HTC Sensation] Sultanxda:
I see 2 different random reboots in r44 so far and you seem to have gotten the rarer one (I think this reboot has hidden itself in the shadows for a while). The common reboot is because of the CFG80211 change and it's an easy fix. Your reboot involves your phone becoming 275 times hotter than the core of the sun :p
[HTC Sensation] ems328i:
Is this reboot what I experienced? My last_kmsg is posted 2 pages back (post #2630). Thanks for all your hard work!
[HTC Sensation] Sultanxda:
I believe you got the more common random reboot:

[ 164.436096] CFG80211-ERROR) wl_notify_pfn_status : >>> PNO Event
[ 164.444396] Unable to handle kernel paging request at virtual address 00f354a4
[ 164.444793] pgd = c0004000
[ 164.444976] [00f354a4] *pgd=00000000
[ 164.445373] Internal error: Oops: 5 [#1] PREEMPT SMP
[HTC Sensation] ems328i:
I just love an error code that contains 'Oops'! :cool:
[HTC Sensation] papikev:
I guess I can use it as a coaster/warmer to keep my coffee hot :eek:
[HTC Sensation] fbf2201:
For me it felt like wifi was a bit more responsive and hang less in r44 - but maybe just in my mind. ;)

But unfortunately I got the same reboot twice.

It happened when mobile data was active and I entered a known wifi area (wifi switched on). And it happened with two different wifi networks like that.
[HTC Sensation] jazzzzzzz:
Am fed up because I don't encounter any problems with the kernel... Lol..;).......

am not a gamer may be that's y...awesome work android1-9
[HTC Sensation] damagedbits:
It seems like every aosp ROM has WiFi switching bugs on the sensation, at least for me. I've had random reboots when switching from mobile network to WiFi since the XenonHD ROM was still new lol
[HTC Sensation] Sultanxda:
I spent some time trying to figure out why the max frequency was being restored to 1944MHz after thermald finished throttling your CPU, and I ran out of time and couldn't find out why. So I created a temporary workaround: https://github.com/sultanxda/sultan...mmit/ed7d9c778e0d71d01b0e0f4cf10c2657dc415e0c

The problem with this workaround is that it requires the CPU's max frequency to be set through the Aroma installer or an init.d script; in other words, you can't change your CPU's max freq through any apps. However, with this workaround the correct CPU max frequency will be restored after thermald finishes throttling your CPU and there will be no more random reboots due to thermald stupidly setting the max CPU freq to 1944MHz :)

Now I just need to figure out why the temperature sensor is reporting that your CPU is 275 times hotter than the core of the sun...
[HTC Sensation] ganeshp:
anyone facing shutdowns on the phone when sitting idle ?

I was unable to report the problem because there was no last_kmsg generated :(
[HTC Sensation] Sultanxda:
A shutdown with no last_kmsg generated usually means that it was caused by your battery, unless many other people report the same issue with r44 vs. older kernel versions.
[HTC Sensation] grof1985:
I had reboot problem on earlier versions too. And than i re-flashed kernel, but disabled mpdecision, and there was no reboots again
[HTC Sensation] ganeshp:
Yes its battery ..one pin got stuck and I've corrected it
[HTC Sensation] MrJukeHardbane:
I faced two random shutdowns around 15% battery. I guess it's because my battery is older?
[HTC Sensation] papikev:
Personally, I am fine with the workaround limiting the usage of 3rd party apps to adjust cpu as I never really liked using apps to adjust it anyway. I always know what I want my setup to be when I go through the aroma installer. Funny you say that though, as the times when I did change values after flashing I always did it through init.d. Thanks for the time your spending on this.
[HTC Sensation] tibbyke:
I also faced two random reboots, one while playing clah of clans ( firsty my phone freezed for about 15 seconds, than it reboted) and the second one was while unlocking my phone. Sorry, I don`t have reports.
[HTC Sensation] damagedbits:
My phone has been rebooting constantly after about three minutes of use since I flashed r44. Can't get kmsg; adb keeps saying "error: device offline" on albinoman's rom no matter what I try (updating sdk, killing server, etc.) but I'd say the problem's most certainly with this version of the kernel since a ton of us are getting reboots and everything's been running smooth for me until I flashed the latest version.
[HTC Sensation] Shredz98:
Hi

I have the same problem with 1-7 latest build and kernel... Reverted back to kernel r42 and everything running smooth except that my RAM is being eaten away but that may not be ROM/kernel related
[HTC Sensation] smint86:
You could also get the last_kmsg manually by simply going to /proc/ with a root explorer. Just copy and paste it to your sd card, upload it, there you go ;). It'll be there after the random reboot.

[MENTION=4800121]android1234567[/MENTION]: I think my random reboots without last_kmsg have been battery problems, even if I couldn't believe it. It haven't been random reboots, just the device being shut down after losing contact. When pressing power button, it'll boot, looking like a random reboot. I put a piece of paper inside to stabilize the connection, didn't happen again so far.

Swyped via Tapatalk
[HTC Sensation] ashkan-khatar:
I'd like to say it's fixed, but try switching over cars, still freezes... :(

Sent from whatever isn't something to be locked at, the thing is that it is sent.
[HTC Sensation] ganeshp:
I did have similar problem earlier and thought the problem is with batttery..looked up the battery ..one pin went inside and ive corrected it ..im already having piece of card opposite to battery pins to keep the contact tight. but even after doing all the above ..when the phone is charging sitting idle i faced a random shutdown.

I didnt got a last_kmsg either

it looks like the problem is with kernel itself. I'll revert back to 43.8 for the time being
[HTC Sensation] cyberain:
Today I had 3 random reboots within 20 minutes when I was in town and I listened to music on Poweramp (I did not install v4a). I use r44
[HTC Sensation] SnZ:
It's funny because i've got same 3-4+ when phone was in my pocket (idle), reflashed immediately to r42.. :(
[HTC Sensation] onnaj:
I've also had the problem again that the phone turned off on idle twice.

My wifi switching problem is solved though. Now when i get home the phone switches from 3g to wifi automaticly
[HTC Sensation] ianoob:
Android1-7, BT isn't completely fixed. It works fine for the 1st 45min, then starts stuttering again. It is phone uptime causing it, not the app. The stutters are no longer complete pauses though, more like a flash 80% mute.