yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] acesabe:
After checking to see if Google Maps still causes reboot, which it does, I took a look at the last_kmsg for clues and see an odd message at the end:

[ 76.024632] [VIB]update_binary(parent:recovery): vibrates 30 msec
[ 76.025792] [ATS][set_vibration][successful]
[ 76.055669] [VIB]pmic8058_vib_timer_func
[ 79.231083] reboot: undefined
[ 79.675968] EXT4-fs (mmcblk0p24): re-mounted. Opts: barrier=1,data=ordered
[ 82.394992] EXT4-fs (mmcblk0p24): re-mounted. Opts: barrier=1,data=ordered
[ 82.396610] emergency_remount (LINUX_REBOOT_CMD_RESTART).
[ 82.397068] [BATT][tps65200] TPS65200 shutdown
[ 82.397709] Emergency Sync complete
[ 82.397831] (pid 7) request emergency remount
[ 82.398533] recovery(parent:recovery): Restarting system.
[ 82.398746] arch_reset: Going down for restart now.
[ 82.398868] arch_reset: mode 104
[ 82.399082] arch_reset: no command restart.
[ 82.399173] from arch_reset
[ 82.399295] wait_rmt_final_call_back: Modem is not up, skip efs_sync
[ 82.399509] back arch_reset
[ 82.399631]
[ 82.399723] [COLOR="Red"]Restarting Linux version 2.6.35.13 (mx@ubuntu) [/COLOR](gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Wed Apr 25 19:38:24 CEST 2012
[ 82.399753]

No errors detected

Clearly this is not correct as uname -a reports:

Linux localhost 3.0.41-MSM8660-Sense-Faux123-v008+ #22 SMO PREEMPT

No doubt this has no relevance, but still a sign that the logger isn't getting the correct info!
[HTC Sensation] hinxnz:
I thought I'd mention that on my device with Venom Rom I have changed the min free value to 4096,8192,16384,32768,65536,131072 and it works good but saying this I have never set these values that high as they are very high and multi-tasking isn't affected as much as you would think having them this high. Maybe this has to do with the One S having 1Gb of memory.
[HTC Sensation] ziaulh.ch:
Can anyone confirm that overclocking gpu and 3d consumes more batt? Not considering while gaming. Just normal use.

Sent from my HTC Sensation XE with Beats Audio on VIPER 1.1.0 + FAUX B8 V2
[HTC Sensation] faux123:
Gpu scales based on load, so just like CPU, only will use maximum clock speed if needed. So if you don't do much gaming, the impact of gpu oc would be minimal.
[HTC Sensation] ziaulh.ch:
. F aq

Thanks. Thought so. One more thing faux. Im experiencing more battery drain with edge than wifi. Its terribly eating batt. Trying to find out why... I underclocked fron1.7 to 1.3. But found out edge is the culprit and still draining batt. And more weird case, Asphalt 7 autorun in background and right now showing 11% of batt consumed by the app since unplugged in default task manager, 16% of my batt left. But battery monitor widget doesnt show Asphalt. I did not open the app at all.

Any suggestion?

Sent from my HTC Sensation XE with Beats Audio on VIPER 1.1.0 + FAUX B8 V2
[HTC Sensation] blek42:
Experiencing some lag recently. Can somebody offer input on these memory numbers?

1st: free mem seems low... Less than 20 mb

2nd: I show 100 mb swap even though I am installed swap off.

3rd: would zram or swap on help with the lag here?

Thanks for your input.

# export PATH=/data/local/bin:$PATH

# free

total used free shared buffers

Mem: 592340 574820 17520 0 588

-/+ buffers: 574232 18108

Swap: 102396 102392 4

#
[HTC Sensation] Yank555:
In theory everything is possible, but the led multiplier really does just what is says, it multiplies the requested LED time.

So if a LED time of 5 minutes is requested by the app/system, and you asked for a 5x multiplication, it will just reformulate that request into 5x5=25 minutes.

So it's not eating up any memory as such, it's not reserving any memory either.

JP.

---------- Post added at 12:30 PM ---------- Previous post was at 12:27 PM ----------

You most likely have zram activated by some other script. Type "cat /proc/swaps" in a terminal and you will have confirmation.

JP.

---------- Post added at 12:33 PM ---------- Previous post was at 12:30 PM ----------

I wonder if any init.d script is being executed ...

Can you check if there are "/data/swap.*.log" files on your system. Also check the time/date those files were created.

JP.
[HTC Sensation] remus82:
Its unlikely to be the led multiplier because showp has it in his kernel as well. :)
[HTC Sensation] juancubo:
I guess that it doesn't seem technically correct, but if that the only difference between 1.81 yank555 and 008b8v5, then I have been since then in faux version, without even reaching 120 mb. It may worth a try to recompile 008b13 without led and prove empirically that I am completly wrong. :confused:
[HTC Sensation] Yank555:
All doable, but takes too much time, I'd rather work on LMK options in Aroma.

Because looking at the code it's just not possible to generate a memory leak whatsoever by this mod, it would be like getting a flat tyre because you would have been listening to the wrong radio station :confused:

JP.

Edit:

You can try my 1.7x, which is 1.8x without LED notifications. (Look at my batcave, link in my signature, to download it)

Here's the link to the latest 1.7 : http://batcave.rasquin.co.uk/Android/HTC/Sensation/01_kernel/yank555.lu/Yank555.lu-Pyramid-ICS-sense-v1.7c-aroma.zip
[HTC Sensation] juancubo:
Yeah, you are right ... Too much work for just an crazy idea. I am on 008b8v5 no GPU oc and running Fine. So don't worry. I am fine and happy. Donations on the way.
[HTC Sensation] ziaulh.ch:
YANK

Thanks for all your effort. The people who tries to understand will do what you are suggesting with this kernel. Its important to understand kernel wgen people are flashing one otherwise it wil not serve the objective properly.

I posted hours back about battery issue with 2g network on. Any idea?

Sent from my HTC Sensation XE with Beats Audio on VIPER 1.1.0 + FAUX B8 V5
[HTC Sensation] Yank555:
I saw your post, never had that issue...

But I'm astonished, as 2g is supposed to draw less than 3g... I must say I mostly have 3g network around here and never had any issue with my Sensation.

Does battery stats show your device awake a lot ? Tried BetterBatteryStats to see if there was any kind of wakelock ?

JP.
[HTC Sensation] ajay83:
Hey people.

Just wondered..

What's the best way to change governor with a faux kernal should I wish to try other settings out please? Should I use system tuner and set up an init.d on boot complete or Setcpu perhaps?

Currently on 008b8v5 - 192min - 1512Max, 486screen off, 1134inactive max, 918phase2. No UV, No hardswap and no Zram either.
[HTC Sensation] Yank555:
I'd say to use System Tuner and choose "on boot complete", so you'd be winning against any init.d script.

Not sure, though, if using anything else than Intellidemand will give as good a balance between snappyness and battery life.

JP.
[HTC Sensation] ajay83:
Thanks Yank. Very true. Intellidemand does have the best of them all I think. Keep on the good work, looking forward to future releases from yourself and Faux.
[HTC Sensation] ziaulh.ch:
There are wakelocks... But i have tried to drain the batt to check peoper usage time. I was using it actively and it drained quite fast. I was astonished too to see such drain with 2g.

Sent from my HTC Sensation XE with Beats Audio on VIPER 1.1.0 + FAUX B8 V5
[HTC Sensation] Yank555:
Hi,

I've been looking into hinxnz's script as promised.

This is the lastest version I found :

#!/system/bin/sh
chmod 664 /sys/module/lowmemorykiller/parameters/minfree
echo "2048,4096,8192,16384,32768,65536" > /sys/module/lowmemorykiller/parameters/minfree
chmod 444 /sys/module/lowmemorykiller/parameters/minfree
echo "100" > /proc/sys/vm/swappiness
echo "20" > /proc/sys/vm/dirty_ratio
echo "5" > /proc/sys/vm/dirty_background_ratio
echo "4096" > /proc/sys/vm/min_free_kbytes

A few comments :

664 is the correct file access for minfree, setting it to 444 provides little to medium protection, since anyone can (re)set the file access.

minfree setting is conservative, which is good and should help keep the system lag-free

swappiness set to 100 will maximise the use of swap, so this only helps if you have zram or hardswap

default dirty_ratio and dirty_background_ratio is 0, setting those higher allows for more writes to be cached, thus kept in RAM and lowering available RAM, may reduce lag because writes to RAM are faster, or may in fact delay writes to a batch and induce bigger lag later in the process when a batch write is needed to flush the caches ?! I believe leaving these settings to 0 should be better, keeping you waiting when you're expecting it, not when you won't understand why. Plus setting these higher than 0 will increase the RAM usage for write cache, thus lowering the amount of free RAM.

min_free_kbytes is set to 4096 by default

When I relate to defaults, I mean default on stock htc ROM, on other ROMs, the ROM chefs may change these.

You may want to have a read on a few thoughts about swap and LMK I expressed in my SGS3 hardswap thread :

http://xdaforums.com/showpost.php?p=30729178&postcount=428

Also, this may be a very good read as well : http://www.westnet.com/~gsmith/content/linux-pdflush.htm

Look for "Tuning Recommendations for write-heavy operations" and "Swapping" (right below) if you don't want to read all of it ;)

JP.

Edit : Just done updating Aroma with LMK settings option. If you want a glimpse at how my desk looks like, have a look at the pic attached ;)
[HTC Sensation] Yank555:
Hi,

Here's the AROMA installer version :

Remember, Nandroid is your friend, always backup your system before flashing !!

Enjoy, JP.

-------------------------------------

Important notice :

In my tests, Anrdoid LMK settings are overridden by Viper ... so no way around their settings I'm afraid.
[HTC Sensation] ajay83:
Cheers Yank.

If you've already tested and the LMK settings don't stick, is it advisable? Is this something that the Viper chefs could change in their ROMS, to make things easier for us?
[HTC Sensation] Yank555:
Hi,

Can't speak for them, but I'd at least leave the option to have this handled elsewhere, e.g. an option "don't change" in the minfree settings.

I can't override what the ROM does after the init.d scripts are executed...

JP.
[HTC Sensation] Hawke84:
Yank thanks for looking into lmk settings. I'll pass this onto the vipers devs
[HTC Sensation] ajay83:
Hey Yank. Just tried.

In sys/module/lowmemorykiller/parameters/minfree the values are still as stock and in venom tweaks too( although that wont go past the limits set in there anyway so i always leave on stock)

I chose aggressive in aroma, and ive opened every app, and forced ram down to 90mb but system is still flying and the RAM pickup was quicker. I don't know whether this is just a placebo but I'll keep an eye on it.

EDIT: system has started to slow down and lag now lol
[HTC Sensation] Marusaia:
EIZO Screens, You are lucky.
[HTC Sensation] Yank555:
Not the newest anymore, but yeah, those things are still pretty top notch, wouldn't want to miss them :D
[HTC Sensation] snake4fun:
Hello Yank,

Do you have a proposal which are the best setting for lmk or what was the default setting in 2.3?

Gesendet von meinem Sensation XE with Beats Audio Z715e mit Tapatalk 2
[HTC Sensation] Yank555:
Default setting on 2.3 (or 008b13) was stock, which is the default in Aroma.

Hard to tell from here, I was running fine on HyperNonSense on "Very Light" settings, using hardswap though. But HNS is also very lightweight, no Sense at all, all stripped down and replaced by AOSP stuff. My Sensation was just flying in that setup !

In the meantime I've switched to Viper because of the issues people were having, "unfortunately" mine's been running nice, but it's not my daily driver anymore either...

JP.
[HTC Sensation] X46X:
Lag is here, for me too :( Which version is lagfree? 1.81 or newest?
[HTC Sensation] Yank555:
For me both are lagfree ... so ??

How is your minfree configured in Venom Tweaks ?

JP.
[HTC Sensation] X46X:
Xtreme, now I set it to Normal and we see :)
[HTC Sensation] Yank555:
Keep it rather high to avoid lag. Do you use zram / hardswap ?

JP.
[HTC Sensation] X46X:
What is "high" for you? Which setting you prefer? Yes, I use zRam
[HTC Sensation] Part Four:
Same here.
[HTC Sensation] player4lifeov:
Can the Daemon controller be used for this kernel? or should i use setcpu?
[HTC Sensation] chrisgto4:
No...well maybe
[HTC Sensation] Part Four:
Please read a little before posting. Don't use either.
[HTC Sensation] -juanito-:
i just flashed.. i'am stock on htc logo and my sensation rebooted himself :(
[HTC Sensation] player4lifeov:
I know he mentioned not to use setcpu or cpu master but i was wondering whether or not daemon controller would work. Thanks for the answer though
[HTC Sensation] raycaster3:
If you came from a custom kernel you must flash stock kernel BEFORE this kernel will work. If you did that then idk what's up.

Sent from my HTC Pyramid
[HTC Sensation] omar302:
Dear Faux,

Just tried V0.1.2 1.56GHz Nohz and the problem is now sorted out. Keyboard font is back to normal. Thanks again for all your work.
[HTC Sensation] -juanito-:
what i should use with latest kernel..setCPU or demaond controller ?
[HTC Sensation] baadnewz:
none

my rom v242 + faux 1.1.2 1.56 GHz JRCU edition

http://attachments.xda-developers.com/attachment.php?attachmentid=713359&d=1315458962
[HTC Sensation] awesam:
juanito, now i finally understand what you are saying :o

you sensation rebooted itself CONSTANTLY after installing Faux 0.1.2, correct ?

( I thought it booted up fine but without HTC logo. )

You should have read carefully, it says you need to flash stock rom FIRST

http://xdaforums.com/showpost.php?p=16419842&postcount=3856

Followed by : Faux 0.1.2

http://xdaforums.com/showthread.php?t=1216197
[HTC Sensation] Masrawy:
Sorry for being a noob but I would like to learn a little bit, so I have few questions here...

I see there's a new version (0.1.2). I would like to know the difference between JRCU Edition and Fast NoHz Edition, I don't understand the difference.

Also why isn't it possible to have 1.78Ghz kernel with Sync L2? It would be great to have the advantages of both kernels!

What does it do Sync L2?

thanks!
[HTC Sensation] Andresehn:
As has been said previously, No CPU controls (SetCPU/Daemon Controller/etc) are recommended for use at this time. However, I haven't had any trouble with Daemon Controller so far (0.1.2|1.56GHz NoHz).

YMMV.
[HTC Sensation] GideonX:
Your questions have been answered repeatedly by faux and countless others. Please do a simple search on this thread.
[HTC Sensation] Whiskey103:
Thanks for the new version, great work. :D
[HTC Sensation] -juanito-:
thank u..but i got (12123, 3607, 7012) 7012 with AR HD 3.0.4..so i think i will get more on AR HD 3.0.5 :D
[HTC Sensation] Step-han:
I use SetCPU and it just work fine.. Good scores and benchmarks etc. (i'm using Fast NoHz Edition 1.56 ghz)
[HTC Sensation] player4lifeov:
I got 6893 on cf bench!
[HTC Sensation] 3c:
so sheep-like! Sorry no disrespect meant.. but if OP tells you to jump off a cliff will you do it? What if I want the modded kernels but not the OC which drains more battery?

Same goes for task killers! So why don't you all disable Android internal task killer then ? LOL

And what about those 4 versions without a single explanations? All OP says is don't do this, don't do that!

Moving on... as there are other devs around making better kernels!
[HTC Sensation] awesam:
try benchmark after 6-hours or so, see if it changes.

i don't do benchmarks, as long as its fast and stable (and with good batt life), i'm happy :)

thanks to ALL devs
[HTC Sensation] Yank555:
High means high values for LMK, meaning it should start killing sooner to keep RAM free...

If I may, I don't think zram is a good idea on a Sense ROM, especially not a Sense 4 ROM (Sense = memory hungry, and zram eats up memory).

I'd try either without or use hardswap.

Have a read here, it's on my SGS3 thread, but almost everythink applies for the Sensation as well :

http://xdaforums.com/showthread.php?p=29767731

Most interesting is the second question in the faq for this topic.

JP.
[HTC Sensation] snake4fun:
Hi faux and yank,

Thanks for the great work. Know my lightning sense Rom working lag free.

Gesendet von meinem Sensation XE with Beats Audio Z715e mit Tapatalk 2
[HTC Sensation] ajay83:
Question for ya yank. My minfree settings in venom tweaks are stock and the values in sys/module/lowmemorykiller/minfree 6348,8089,9830,11878,13619,16793.

But in the 'minfile' next to it in same folder has 6379,8125,9871,11919,20497,25282

Due you perhaps think this has anything to do with the lag going on?
[HTC Sensation] chrisrj28:
I would like to know this as well
[HTC Sensation] Yank555:
Let me look into this ;)

Funny thing, this entry does not exist on my SGS3, so I had to boot my Sensation to see what exactly else was in there...

JP.

EDIT : One thing about "free memory", I just stumbled onto this comment in the sources of the low memory killer :

* The driver considers memory used for caches to be free, but if a large
* percentage of the cached memory is locked this can be very inaccurate
* and processes may not get killed until the normal oom killer is triggered.

That is probably the explanation of the difference between the "free" command in terminal and free RAM shown by Android, but I'm not 100% sure.
[HTC Sensation] zedrix53:
i hope yank and mike can make kernel for senseless
[HTC Sensation] chrisrj28:
So could this be cause of the issues we have when trying to increase lmk?
[HTC Sensation] The Illest 619:
interesting.. mine has two different values as well, but im not experiencing any lag... probably due to the fact that i removed most of htc sense.
[HTC Sensation] zooster:
I did a last try, I deleted 99 zkernel script fromt init.d and installed 008 final without aroma: everything works fine without lags and issues.

Maybe who experiences lags can try this and make a report.
[HTC Sensation] Yank555:
Been going through the lowmemorykiller sources, didn't go too deep, but from what I can see, this "minfile" is htc specific, hence I don't see it on my Sammy. Both sources are so different, they almost look like they had nothing in common, almost ;)

What I can say it that it is related to cache, obviously writecache.

But since dirty_ratio and dirty_background_ratio are both 0 by default (on stock ROM and on Viper as well), there is no write cache, apps are forced to flush to disk at all times ... so what's it for ??

Googling didn't really give much more information.

Neither System Tuner nor Viper Tweaks touch the context of minfile, I've checked that as well.

If anyone can get hold of more details on this, please let us know ! Might be important ...

JP.

---------- Post added at 11:04 PM ---------- Previous post was at 11:02 PM ----------

Would have been interesting to post the 99z file prior to deleting it to see what you had chosen so I could compare to stock faux config...

JP.

---------- Post added at 11:18 PM ---------- Previous post was at 11:04 PM ----------

Hi,

one thing, when reporting free memory, can you please state where you got this information from ?

Like typing free in a terminal, looking at settings, using System Tuner etc.

Thanx a lot, JP.
[HTC Sensation] The Illest 619:
regarding minfree and minfile i found a post HERE that states:

"

I just changed the minfree values manually and am seeing better multitasking so far. Here's the values if you're interested:

/sys/module/lowmemorykiller/parameters/adj "0,2,4,7,9,12"

/sys/module/lowmemorykiller/parameters/minfree "6348,8089,9830,11878,13619,16793"

/sys/module/lowmemorykiller/parameters/minfile "6348,8089,9830,11878,13619,16793"

here the values are set the same in both files. does it help figuring out what it is? not likely.. but it is an observation.
[HTC Sensation] Iceberger:
Beta 9 is out.

Download here
[HTC Sensation] john_matrix:
What's new? any changelog?
[HTC Sensation] Yank555:
Updated to Linux 3.0.42, will try to get an Aroma ready for tonight, but not sure, I have a meeting this evening ...
[HTC Sensation] jyo1:
Installed and works great :)
[HTC Sensation] john_matrix:
Any issues (lags) with Sense 4 ROM?
[HTC Sensation] Hawke84:
i havent tried but i would think it would. the newer linux kernel uses a different memory management which is what caused issues with sense 4 low memory killer and hence caused the sense lags.

unless they have changed the memory management again in this version of the kernel i would expect similar lag issues..
[HTC Sensation] Yank555:
There's no change to mm in 3.0.42.

JP.
[HTC Sensation] kaleci07:
is there any way to make zip install for "99z_z_autokill" file i couldn't take the script in android :(
[HTC Sensation] hinxnz:
Here you go..

http://db.tt/pZBBz7b8

Sent from my HTC Sensation with Beats Audio
[HTC Sensation] Freshi87:
Take your time man!

Everything is very fine, because you and faux spend so much time and hardwork for this kernel, give support and so on.

Thank you both so much for being there all the time!!!!

Regards

Gesendet von meinem Sensation mit Tapatalk 2
[HTC Sensation] Potapson:
Beta 9-Extremely laggy with Viper Rom.
[HTC Sensation] ziaulh.ch:
New versions or beta will not work. Use 008b8 v2 or v5

Sent from my HTC Sensation XE with Beats Audio on VIPER 1.1.0 + FAUX B8 V5
[HTC Sensation] sjknight413:
Well then obviously you are doing something wrong.

Running absolutely amazingly here with 384mb softswap on the data partition and the least aggressive lmk settings possible. Two phase 810mhz, inactive 918mhz and max/active 1188mhz.

---------- Post added at 03:34 PM ---------- Previous post was at 03:33 PM ----------

Incorrect.
[HTC Sensation] ziaulh.ch:
Incorrect for some, correct for some. For me also it lagged too much. Not.possible that i did something wrong.

Sent from my HTC Sensation XE with Beats Audio on VIPER 1.1.0 + FAUX B8 V5
[HTC Sensation] sjknight413:
You just need to add more memory to your system via zram, hardswap or softswap and lower your lmk values accordingly and it will be perfect.

Pretty sure the linux 3.0.41 update+ were not designed for a system with as little ram as a sensation.
[HTC Sensation] Freshi87:
On elegancia sense 4 v2.7.0 it worked fine.

No issues or lags in sight captain ;)

Gesendet von meinem Sensation mit Tapatalk 2
[HTC Sensation] Yank555:
OK, so for all faux 008b8 "lovers" ;)

I've repacked the 008b8 kernel (

kernel is unchanged !

) with the latest version of Aroma Installer (all new options working on the older kernel are added) and the script generator of course is also updated to the latest level.

Download links are here : http://xdaforums.com/showpost.php?p=29236020&postcount=7716

I've also added Yank555.lu v1.82, which is equivalent to faux 008b8 but with lower GPU OC (300MHz instead of 320MHz) and it had the LED notification mod as well.

Enjoy and be carefull, don't forget to nandroid !!

JP.
[HTC Sensation] Raven2k:
Thanks!! :)

One comment about the batcave - If possible, could you (well at least future releases) add a companion md5 file for the Zips ?

But really - thanks again!! :)
[HTC Sensation] john_matrix:
Thanks Yank!

You're awesome! :)

One question, by installing all these kernel, do you think it's necessary to use a script to "clean" the previous kernel before installing a new one?
[HTC Sensation] joaquinf:
Not necessary at all. The script does it all automatically :)
[HTC Sensation] 69gm:
Too hot to handle...

I've tried different flavors of faux trying to get it to work as well as it does for many people. Heard that the culprit for lag might be the newest Linux wasn't designed for the Sensation's low RAM (damn you HTC! ;)). What's the best way people have found to tweak things? Also, do some ROMs just have a harder time with this kernel? I'm on Elegancia Sense 4. Between mine and Viper's Sense 4, those seem to be the ROMs with the most issues. Thoughts?

My other issue is that with this kernel, my phone runs very hot after playing games like Plants vs. Zombies. It gets warm with other kernels but with faux, my phone gets really hot. Once my phone even froze up and I had to do a battery pull. It also causes reboots. Any ideas?

Thanks all! Like I said before, I love the support and how proactive faux and Yank are in supporting this kernel. But until I can get it working 100%, I can't use it...