yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Sultanxda:
The good news: the reboot wasn't caused by the memory map :victory:

[ 2920.506866] Going down for restart now
[ 2920.507110] arch_reset: mode 9
[ 2920.507263] arch_reset: restart command `Apps-watchdog-bark-received!'.
[ 2920.607940] subsystem-fatal-8x60: Q6 NMI was sent.

Look at this line:

[ 2920.507263] arch_reset: [COLOR="Red"][B]restart command `Apps-watchdog-bark-received!'[/B][/COLOR].

The kernel was asked to reboot and obeyed. This usually happens when an app uses the kernel incorrectly and causes the phone to hang/freeze; instead of hanging, the kernel decides it's better to reboot, so msm watchdog sends the command to the kernel to reboot. What app were you downloading something with?
[HTC Sensation] AndroidSupporter318:
I was using PDAnet+ which is a tethering app. I was downloading a ROM on my PC via my smartphone's internet.
[HTC Sensation] Sultanxda:
What ROM are you using? Does it have built-in tethering support?

It might also be a problem with the net subsystem in the kernel.
[HTC Sensation] AndroidSupporter318:
I'm using the latest version of Carbon ROM (10/14). I've been using this ROM since it came out (9/14 Initial Release) and it has had this problem ever since. Maybe I should talk to rathore4u about it? :P

I've been too lazy to upload last_kmsg every time it reboots, but I'll be sure to do it more often now. I've used your kernel with Carbon ROM since the overhaul (I think r31?). The reboots started after I started using Carbon ROM + your kernel :( I hope it's not because there's something that's incompatible
[HTC Sensation] AndresSanzH:
I cant change cpu frequencies on carbon ROM via performance settings. Using 593 ram version and 9% plus UV.

Im able to change it via ROM toolbox but when I try to change it via stock settings it just does nothing
[HTC Sensation] Sultanxda:
This issue isn't related to my kernel or Aroma installer. The Aroma installer doesn't lock-in frequencies so you should be able to freely change the CPU settings via any app (I'm able to change my CPU's frequency settings using the built-in CyanogenMod tool). This is a ROM issue; report it to your ROM's maintainer.
[HTC Sensation] BSHD666:
Pls check this i have random reboot with r40 and 593 mb.. :(
[HTC Sensation] Sultanxda:
The lowmemorykiller went on a rampage. What ROM are you using? Did you configure the kernel in advanced mode? If you used advanced mode, then which OOM setting did you select?
[HTC Sensation] BSHD666:
I'm using your rom, I used advanced config

593 ram

MP enabled

S2W enabled with no backlight

Ondemand

Balance Plus

Same Frecuence

1242 MHz--- second phase 810

594MHz screen-off

GPU 2D 200MHz 3D 267

No zram

SIO

1024Kb Buffer Size

Optimal II

No disable logcat

Infinite blink

Vsync Yes

Fsync No

USB Forced Fastcharge

UKSM Yes

No UV

Sorry i'm noob :(

But it's all my config ever with your kernels... it works very fine with r33 no reboots :(
[HTC Sensation] mvinceti:
Wont boot

Hi im on MIUI V5 and last to biuld of this kernel wont boot only v31.5 is ok.
[HTC Sensation] Sultanxda:
Hmm, Android Binder was changed in the kernel and lost a lot of fixes. I'll add the fixes back.
[HTC Sensation] Sultanxda:
I'll see what's wrong with MIUI during the weekend. I used pretty much all of my free time for the next few days on making r40 :p
[HTC Sensation] mvinceti:
np thanks for 31.5 version,its ok but sometime gets random reboots with 624MB on
[HTC Sensation] ganeshp:
Random Reboot on r40 with carbon rom 8/10... when phone sitting idle on 3G

Last kmsg here

https://db.tt/S59Kizty

Memory map: 624

3D Gpu: 300 Mhz

Max Cpu: 1566 Mhz

No UV

Rest all default

edit:

havent looked at the log earlier but ive seen it now

this is inteesting ..the reboot is due to watchdog bark !

netowrk module got a hang it seems.(maybe due to themer app? 87% of CPU was being consumed at the retstart point )

this might give you a good debug stuff :)
[HTC Sensation] jorra:
Random reboot with r40, didn't use the phone at the time. 624 MB kernel, all standard settings except 1556 max freq.

Edit: I'm on your latest CM10.2 ROM
[HTC Sensation] Fubarovic:
I can't adjust the minimum and maximum frequency of the CPU. The speed I selected during the installation of the kernel was used for some time, but after I charged the phone it's stuck at 384/1512. When I try to change it I get this from logcat:

E/Utils ( 1863): Error writing to /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq. Exception:
E/Utils ( 1863): java.io.FileNotFoundException: /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: open failed: EACCES (Permission denied)
E/Utils ( 1863): at libcore.io.IoBridge.open(IoBridge.java:409)
E/Utils ( 1863): at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
E/Utils ( 1863): at java.io.FileOutputStream.<init>(FileOutputStream.java:73)
E/Utils ( 1863): at java.io.FileWriter.<init>(FileWriter.java:80)
E/Utils ( 1863): at com.android.settings.Utils.fileWriteOneLine(Utils.java:529)
E/Utils ( 1863): at com.android.settings.cyanogenmod.Processor.onPreferenceChange(Processor.java:241)
E/Utils ( 1863): at android.preference.Preference.callChangeListener(Preference.java:895)
E/Utils ( 1863): at android.preference.ListPreference.onDialogClosed(ListPreference.java:265)
E/Utils ( 1863): at android.preference.DialogPreference.onDismiss(DialogPreference.java:390)
E/Utils ( 1863): at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1232)
E/Utils ( 1863): at android.os.Handler.dispatchMessage(Handler.java:99)
E/Utils ( 1863): at android.os.Looper.loop(Looper.java:137)
E/Utils ( 1863): at android.app.ActivityThread.main(ActivityThread.java:5289)
E/Utils ( 1863): at java.lang.reflect.Method.invokeNative(Native Method)
E/Utils ( 1863): at java.lang.reflect.Method.invoke(Method.java:525)
E/Utils ( 1863): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
E/Utils ( 1863): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
E/Utils ( 1863): at dalvik.system.NativeStart.main(Native Method)
E/Utils ( 1863): Caused by: libcore.io.ErrnoException: open failed: EACCES (Permission denied)
E/Utils ( 1863): at libcore.io.Posix.open(Native Method)
E/Utils ( 1863): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
E/Utils ( 1863): at libcore.io.IoBridge.open(IoBridge.java:393)
E/Utils ( 1863): ... 17 more

I'm using the built-in option to change frequencies: Settings -> Performance -> Processor.

I'm using the Lungo ROM.
[HTC Sensation] sakafa:
thnx dear,,,,, keeep updating :):laugh::good:
[HTC Sensation] groovepeppy:
using r37, r38, r39 & r40

all freeze whilst selecting car before racing on RealRacing3

r40 freeze after splash screen.

back to r27,5

things that made me keep trying to upgrade from r27,5 is unable to get wifi-ap works with wpa2 and i'm unable to set proc clock from performace menu, i had to edit kernel file from init.d

:(
[HTC Sensation] AndresSanzH:
I performed a clean install and everything were just fine and working (carbon ROM) After flashing your kernel (r40 593mb) the stock settings got broke and I can't change max cpu frequency (I still can change min frequency, but not max frequency) so I think its not a ROM issue
[HTC Sensation] AndresSanzH:
+1 on that. So I'm not the only one :) *foreveralone*
[HTC Sensation] Splder:
I would like to say that its not only miui not working with the latest versions of your kernel. Bruce's cm10 and opensensation cm9 are also not working also tried your gpu + firmware zip on both and that never helped.
[HTC Sensation] papete:
R36

I'm on R36, and everithing is working fine. Only rare problem is random reboots (and I get like 1 every 3 days). So for me R36 is a keeper...

Very good job, my sensation is performing better than ever...
[HTC Sensation] ganeshp:
two random reboots within a span of 1 hour

both correspond to same thing

memory map: 624MB

all default except 3D GPU to 300 and CPU max to 1566

the last kmsgs here

https://www.dropbox.com/s/q15ezg988jwmvli/last_kmsg4.txt

https://www.dropbox.com/s/xt4a06qwzo2eqnt/last_kmsg5.txt

also the cpu values not sticking ..is happening to me too (only core 0 values get reset though ..according to kernel tuner )

PS: I'm reporting these reboots not to make you hurry up and fix them ..but to provide as many useful logs as possible ...take your time and if possible fix it :)
[HTC Sensation] SnZ:
God, i've love comming back from work and see new files to flash.

Thanks!
[HTC Sensation] smint86:
Random reboot, last_kmsg: https://db.tt/q1fcYvtP

R40 @ 624mb, 1512mhz max, sio, interactive gov, minfree medium, rest default

Reboot happened while high internet usage and also high tasks (posting on fb and switching applications.

Swyped via Tapatalk
[HTC Sensation] ganeshp:
Watchdog bark is the issue for you which is network related ..I had a same last_kmsg too

Hopefully android1-7 knew the solution
[HTC Sensation] damagedbits:
Been using r40 on CarbonROM since it was posted yesterday with no FC's or random reboots at all. Here's my config:

-S2W disabled

-ondemand set to balance plus; 1.5Ghz max, 1080mhz second phase

-default min frequency and screen off max frequency

-mpdecision enabled

-no zram or softswap

-uksm enabled

-default vsync/fsync settings

-Optimal II minfree setting

-undervolted -25

-2d GPU at 200mhz/3d at 300mhz
[HTC Sensation] leos0000:
Can I flash on viper 2 rom this is kernel ?
[HTC Sensation] commencal661:
No. ViperS is Sense ROM and this is kernel for AOSP ROMs.
[HTC Sensation] AndroidSupporter318:
random reboot while using wifi

on 624 mb kernel, 1512 mhz OC, -50 UV, rest is default settings
[HTC Sensation] Electriccars:
Problems with runaway CPU.

So today I switched to the latest Carbon build and restored my data as usual, then I made a nandroid and flashed the Sultan r40 kernel.

Ondemand, 1566mhz max, balanced, low backlight, -25mv UV, 320mhz 3d, 200mhz 2d, 624MBs RAM.

It ran like a bat out of hell! Asphalt 7 ran with absolutely no issues, amazing!!!

But my battery isn't doing so well. I have not just the stock battery but an Anker as well, and both were draining unusually fast.

My Anker drained 70% in about 80 minutes with 50 minutes screen on time!!!??? WTF? I then changed my governor to KickassV2 and no difference in drainage. I than checked my CPU speeds over the last 30 minutes and it was 95% at MAX 1566mhz! I changed to badass, and even badass had unusually high percentages of MAX CPU speeds when it had been mostly left alone!

So I restored to my pre-sultan backup and now, with Badass, the CPU speeds are much more manageable, but it's also quite a bit laggier, and of course the RAM is back down. :-/

Any solution to this problem so I can enjoy the increased RAM with the Carbon ROM?

Thanks!
[HTC Sensation] akaHardison:
Can you add a mod named :battery Life Extender.I want to charge more.

:lol
[HTC Sensation] redback_rsa:
Find BetterBatteryStats on xda. See if you're having wakelocks.
[HTC Sensation] Electriccars:
Would wake locks cause it to sustain 1566mhz all the time? I don't think wake locks are the problem. :-\

Maybe I'll try some older versions or I might just wait for the next one.
[HTC Sensation] redback_rsa:
You can also check what process's are running the most. Could be the mediascanner checking for music and whatnot on your SD.

Also 80 minutes isn't enough time to check stuff like battery usage since the batterystats file was deleted.
[HTC Sensation] Electriccars:
Well, I did notice that my Wi-Fi was frozen in a wouldn't-turn-off state during that 80 minutes. And the battery said the screen was using the most, but that's normal while the insane CPU issue wasn't normal.

I'll reflash the kernel and check which processes are being used the most after I get a few more suggestions on what to try. Thanks.
[HTC Sensation] ganeshp:
another reboot on r40 with carbon rom 8-oct one

memory map: 593 MB

3D GPU OC: 300 Mhz

max CPU: 1566 Mhz

rest all default

here is the last kmsg

https://www.dropbox.com/s/bm5tvnrr7rrbdqk/last_kmsg6.txt

the reason seems to be

whch indicates battery problem? (right?)

but i have a doubt

i got a new anker ..relatively new around 1 month old

i havent had a single reboot when im on revelation ...

but as soon as i was on carbon rom with your kernel r38

i had multitue of reboots (around 10 maybe ?) when i was ouside

i didnt have the time to see all the last_kmsg's as im travelling most of the time

but when i reached home and looked at the last kmsg ..it turned out to be battery (why not a single reboot on sense but a lot of reboots when on AOSP based roms due to battery ? are AOSP roms demanding more battery juice comapred to sense roms for all the general tasks?) ...immediately I inserted a piece of card at the oposite end of the battery pins ..for the battery pins to have proper contact

Form then onwards no more reboots due to battery ( there are other reboots though ) ..yesterday after having coupleof random reboots with r40 (Ive provided you the last_kmsg's for them already ) .. i went back to my old backup of revelation rom. I also removed the card put at the backend of the battery in the process. I havent had a single reboot until today morning where i came back to carbon again as i was unable to bear the sluggishness of revelation rom when compared to carbon rom.

Immediately i had this reboot which turned out to be the battery (this raised my suspicion that somehow aosp roms are demanding more battery than required )

Is this a software or hardware problem?.

Can this be verified/confirmed/debunked somehow ? (checking the mah used will help ?)
[HTC Sensation] Sultanxda:
That line of output is a part of the normal shutdown procedure of the phone. This was a software-related reboot and I believe it's being caused by the changes to Android binder in the kernel (a lot of fixes to Android binder got removed a release or two ago). A battery problem will not cause your phone to reboot; instead, a battery problem will cause your phone to shut down as if you pulled out the battery from it. After your phone shuts down from a battery-related issue you need to manually press the power button on your phone and turn it on again (completely different from a random reboot). Battery-related shutdowns tend to occur with batteries that are old and worn out or new batteries that are defective. These battery-related shutdowns occur more frequently when the battery is low on power and there is a sudden demand for more energy (e.g. using the flash LEDs).Last_kmsgs are recorded via the RAM console in the kernel (the kernel console is dumped into RAM into a file named last_kmsg right when the phone reboots). RAM is volatile memory, so if the power being fed to the RAM is disrupted then we will lose all data on the RAM and thus will lose the last_kmsg. This means that when power is disrupted to the phone, a last_kmsg will not be generated, which also means that we will never see evidence of a battery-related shutdown in a last_kmsg.

Also, after looking at your last_kmsg, someone else here posted a last_kmsg with the exact same reboot in it (no mention of watchdog barking and lots of lowmemorykiller rampaging right before the reboot, which is why I think it's related to Android binder).
[HTC Sensation] smint86:
[MENTION=4800121]android1234567[/MENTION]:

Is your kernel compatible to kcontrol (de.bricked.kcontrol)? (by [MENTION=4195844]show-p1984[/MENTION])

I like the layout of this control app, as it really goes into deep and offers a lot of settings. But I don't want to invest the money, if the kernel isn't 100% compatible. There is this page for kernel devs, which gives more information what is needed: http://bricked.de/kcontrol_compat.php
[HTC Sensation] ximmox:
The app shows 59% compatibility on the latest kernel (a40).

Missing are the GPU settings, the deeper Mpdecision tweaks and some obviously unsupported stuff like color calibration or Sound tweaks, which need special kernel and device compatibility.
[HTC Sensation] a9999:
r38 BT issue

just moved to r40 after I found r38 had BT issue

with r38 I can't unpair a device and can't search for all devices, just search the already paired.

r40 seems to have solved the above

will report later if other issues will arise

thanks so far
[HTC Sensation] reddvilzz:
Using r40 for 2 days now on the latest carbon rom (14/10) everything seems to run very well. I don't face any problems like reboot or etc.

Here is my setup on the aroma that i changed:

- max 972

- ondemand gov + balance plus

- -25% uv

- s2w, no backlight

- no backlight

- minfree on optimal II

- the rest i kept at stock from the aroma

Flashed the kernel by flashing kernel and wipe cache + dalvik :)

Just for information that the kernel runs smooth on my side
[HTC Sensation] ganeshp:
Had two reboots on r40 with 593 MB memory map

Both happened when browsing using 3g

And both happened due to modem crash

(same as last_kmsg4 and last_kmsg5 I've posted earlier)
[HTC Sensation] gs111:
I've been using r40 (624mb) with android1-7's 4.3 ROM. I'm happy to report, no reboots!

Things have been stable since I installed it 36 hours ago... no reboots, all features that I use are working (bt with car, bt with pebble, wifi, 3g, wap with wpa2).

I finally get a config of jellybean running that I am really happy with, so I KNOW they will ship Kit Kat later today!
[HTC Sensation] ganeshp:
to [MENTION=535343]all[/MENTION] with no reboots over r40 ..did you guys tried extensive use of 3g ? (like browsing for 10 minutes on 3g/2g ?) ...this scenario is causing almost 70% of reboots for me
[HTC Sensation] reddvilzz:
Nah not for me. I tend to browse frequently on my 3g and no reboots at all. Maybe some apps that causes the reboots. The browser you are using for instance. What browser you used? I use boat browser and opera mini and no reboots while browsing
[HTC Sensation] ganeshp:
I use dolphin and default also browser but I doubt browser is at fault as the log clearly shows modem crashed
[HTC Sensation] gs111:
I do only minor browsing (using Chrome) on 3g (or even wifi for that matter). I'll use other apps on 3g (forum apps, facebook, flickr etc) with lots of data downloads, but if I had to use the browser for 10 minutes on my Sensation, I think I'd snap.
[HTC Sensation] ganeshp:
I'm just giving browsing for 10 minutes as an example ..what I meant was using 3g network continuously even via other apps like xda Facebook etc etc
[HTC Sensation] reddvilzz:
I never use dolphin. For me it always lags out i don't even know why. But so far i never encounter any reboots at all while using the r40 in daily basis
[HTC Sensation] Sultanxda:
These reboots are easy to fix. Also, I will be abandoning the 624MB memory map and instead there will be only 1 kernel and it will have 603MB of RAM (the 624MB memory map will never be stable).
[HTC Sensation] AndresSanzH:
Clever decision, very clever
[HTC Sensation] 69gm:
Will this version allow taking video in 1080p?
[HTC Sensation] Sultanxda:
Of course :) 603MB of RAM is the most RAM we can get while retaining the camcorder's 1080P video functionality. The reason why there's a 10MB increase in RAM (from 593MB) is because I allocated the framebuffer and surfaceflinger more efficiently and I monitored ADSP (digital signal processing) memory usage while recording 1080P video in order to get the maximum amount of RAM while keeping 1080P functionality.

603MB of RAM is the best I can do with PMEM.
[HTC Sensation] leos0000:
Thanks bro g for your hard work.
[HTC Sensation] a9999:
r40 reboots

on r40 - 624

I get reboots from time to time and noticed this happens while charging when it gets to 100%

anyone else got this behavior?
[HTC Sensation] Sultanxda:
New kernel uploaded :) All the random reboots should be fixed; however, there is a chance that the network-related reboots still exist. If they do then they will be killed in another release.
[HTC Sensation] a9999:
tnx

tnx for r41

I just installed it and will report later

thank you for your very quick respond. well done :good:
[HTC Sensation] erdal67:
I got 1 very noob question:

Why isn't 3.4 kernel available?

Because qualcomm stopped support?

Sent from my electric toothbrush
[HTC Sensation] onnaj:
Another n00b question: on my Samsung i9001 i was adviced cleaning cache and wipe dalvik and fix permissions. Is that also necessary for the HTC kernels?

Verstuurd vanaf mijn HTC Sensation met Tapatalk
[HTC Sensation] ganeshp:
nope ...these wipes are not reqired for kernel at all

thats complete false statement saying wiping dalvik + cache is required for installing kernel

wiping cache + dalvik for kernel installation is as good as changing tyres of a car when installing new music system (that much irrelavant :))
[HTC Sensation] AndresSanzH:
CPU frequencys still not work via built in performance settings :/
[HTC Sensation] Sultanxda:
Because it's very difficult, we won't be able to use ION, and camera won't work.
[HTC Sensation] ganeshp:
I'm sorry but I'm taking the honours of giving you the first last_kmsg of the random reboot occurred over r41

It's modem crash again though

https://db.tt/83Dljfd9

Cpu Max 1674 Mhz

3D GPU 300

Rest default

No OC

Btw this random reboot happened after extensive use of phone with network (which was pretty good)
[HTC Sensation] Sultanxda:
Then I know what to fix :)
[HTC Sensation] Chikko:
no random reboot fixed for me with last release. it reboot especially during in/out call... all default settings!
[HTC Sensation] BSHD666:
Pls check my last_kmsg :( i had one random reboot :( .. i don't know what happen, but what's the meaning of Console was locked!?
[HTC Sensation] BSHD666:
Use SetCpu it works great! :D
[HTC Sensation] AndresSanzH:
Im using ROM toolbox but a bug is a bug :) and well, its quite annoying that I can't set CPU frequency via performance settings.
[HTC Sensation] Sultanxda:
Like I said, the Aroma doesn't lock in CPU settings. I used the Aroma on my CM10.2 ROM and I can still change my CPU's frequency through Performance Settings.
[HTC Sensation] AndresSanzH:
For some reason it is not working on Carbon ROM. Some guys are having the same issue :(
[HTC Sensation] mvinceti:
good:)
[HTC Sensation] Pegajoso:
MIUI its supported?
[HTC Sensation] Sultanxda:
At the moment the kernel does not boot with MIUI. I will look into the issue during the weekend.
[HTC Sensation] groovepeppy:
Real Racing 3 still freeze over selecting car to race on r40
[HTC Sensation] fbf2201:
Now, there are already two later versions.

r41 and r41.5
[HTC Sensation] EvilKing009:
Man! This kernel is incredible. :D

Any idea you would gonna create it for Sense ICS/JB too ?
[HTC Sensation] ashkan-khatar:
For Sense ICS is already out, as well as sense JB, without a working camera though.
[HTC Sensation] onnaj:
I'd like to say that your support and development is awesome! You're trying to solve problems right away, really great!

I still don't have any problems at all btw with basic kernel settings and smartassv2 governor. Superb!

Verstuurd vanaf mijn HTC Sensation met Tapatalk
[HTC Sensation] SnZ:
Mhz settings for CPU1

[MENTION=4800121]android1234567[/MENTION]:

I have question about 2nd core aka CPU1.

Is any chance to change permanently the frequencies? I mean CPU1 always lock on 1566Mhz (it's max value).

When i'm trying to configure frequencies in Aroma it doesn't change anything. Looks like it's forgetting them.

This is normal or related to something?

Thanks in advance~
[HTC Sensation] AndresSanzH:
Having same issue. CPU frequencies don't stick after attempting to change em.
[HTC Sensation] Electriccars:
Yeah, so I'm still on carbon but I installed r41.5 and it seems that I can only set a working CPU governor and frequency in aroma. When I try to change it with any app in the ROM it goes berserk always at max speed. I even lowered the max with setCPU and it EXCEEDED it and went back up to where I set it in aroma. Right now I'm good with an aroma specified 1188mhz with badass, hope this gets worked out though. I prefer smartassV2 and a higher frequency but smartassV2 isn't available via aroma. Thanks.
[HTC Sensation] Noobel:
Why don't you just edit 89z_kernel file located in /system/etc/init.d/ ?? ;)

It's a very simple procedure. Even Paris Hilton can do it :D