yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Hawke84:
For the lag I'm using faux beta 8 which is the best for me. I haven't been able to get lmk working with sense 4 and no lag.

For the heat try reflashing with lower gpu clock
[HTC Sensation] Yank555:
If you stay with the same, no use, if you mix wines (kernels I mean ;) ), better to clean up, but as I posted today in Viper thread I don't like these super magical clean-up scripts, they are outdated so fast, that I find it dangerous to use them without knowing what they do :(

Best cleanup is to :

Wipe cache / dalvik (only !)

Reflash your ROM

Reflash mods if you had any

JP.

---------- Post added at 11:07 PM ---------- Previous post was at 11:01 PM ----------

I agree with what was said already, less heat, try my version, it has 300MHz GPU OC instead of 320. If it's still too much, use 266 with either one (faux/yank).

As for Sense 4 and lag, Sense 3.6 is a RAM eater, Sense 4 is even worse ... and we have too little of :(

Anyway, Sense 4 ROMs seem to cope with Linux 3.0.38 or older better than with newer (3.0.39 or more).

So try faux 008b8 v6 / yank 1.82 ...

JP.
[HTC Sensation] ifti_a:
Can yank please post the lmk list we get in aroma while flashing the latest kernel.

I'm not sure which I selected.......I think aggressive

# - Set Android Low Memory Killer (in number of pages of 4Kbytes)

# Forground apps : 2048 pages / 8Mb

# Visible apps : 4096 pages / 16Mb

# Secondary server : 8192 pages / 32Mb

# Hidden apps : 16384 pages / 64Mb

# Content providers : 24576 pages / 96Mb

# Emtpy apps : 32768 pages / 128Mb

chmod 664 /sys/module/lowmemorykiller/parameters/minfree

echo "2048,4096,8192,16384,24576,32768" > /sys/module/lowmemorykiller/parameters/minfree
[HTC Sensation] 69gm:
I appreciate the answers guys! So looks like beta 8 is the sweet spot for Sensation running Sense 4 ROM? So does that mean for Sensation, we are stuck at 8b8 forever?

I know about the lower gpu but was wondering since I have used both 320 and 300 on other kernels and it never got as hot as on faux. Still might just be a fluke and I just have to reflash!

Again thanks for the feedback!

---------- Post added at 04:57 PM ---------- Previous post was at 04:07 PM ----------

I actually should've asked this sooner too but what would we be missing out on by sticking with the older Linux (by sticking with 8b8). I noticed that v9b1 is even a higher version of Linux and just wondered if we would be missing out on something...

Thanks Yank! I will definitely reflash once you get the Aroma for v9. I will fool around with the lmk and see how aggressive I need to be...any other tips to tweak it? Yes or no to ZRAM? Or Swap disk?
[HTC Sensation] faux123:
Yes, you will be missing out some new features and bug fixes, but such is life with a port.
[HTC Sensation] hinxnz:
Here is a changelog to 3.0.42, even if you don't understand what the fixes, features etc are, you can see there is quite a bit added.

Sent from my HTC Sensation with Beats Audio
[HTC Sensation] akapaul26:
V9 running pretty badass on elegancia sense 4 desensed! Thanks to faux.....looking good!

Sent from my Sensation 4G using Xparent Blue Tapatalk 2
[HTC Sensation] 69gm:
Thanks faux! Once Yank gets the Aroma version up for v9, I'll give it a go fooling around with lmks so I don't miss out. I want all the new features and bug fixes! :D

I need Yank's Aroma 'cuz I'm not smart enough to use yours without it! :silly::eek:

If I get a sweet spot, I'll report back.

---------- Post added at 06:35 PM ---------- Previous post was at 06:33 PM ----------

Hi Paul,

I know you like the desensed Elegancia but have you ever tried faux with the other flavors of Elegancia and if so, have you experienced the "lag" as some people put it? And again if so, what did you do to help get rid of the lag?

Thanks Paul! :good:
[HTC Sensation] Yank555:
Here is the list :

"Stock htc",	"16/21/26/31/53/66 Mb"
"Very light",	"2/4/5/8/12/16 Mb (least free RAM)"
"Light",	"4/8/10/16/24/32 Mb (less free RAM)"
"Medium",	"4/8/16/32/48/64 Mb (medium free RAM)"
"Aggressive",	"8/16/32/64/96/128 Mb (more free RAM)"
"Very aggressive",	"16/32/64/128/192/256 Mb (most free RAM)"

JP.

---------- Post added at 09:34 AM ---------- Previous post was at 09:32 AM ----------

Will try to remember that ;)

JP.

---------- Post added at 09:38 AM ---------- Previous post was at 09:34 AM ----------

Expect it for tonight (= in ~10 hours from now) ;)

JP.
[HTC Sensation] acesabe:
Faux 009b1 installed last night, looking pretty good so far, no problems when using GoogleEarth for example, but still running out of pmem (switching to ashmem - from logcat) when launching heavy apps such as Chrome with multiple tabs saved, causing unresponsive system. I might have to try out Yanks hardswap yet, as mem usage by Android and all it's apps isn't going to reduce any time soon! (and Sensations ram isn't gonna get any bigger either!)
[HTC Sensation] zedrix53:
Faux 8b8v6 faster than the previous the best among the rest for me no lag super fast no heating issue

What is the best taskiller to choose? I just choose stock
[HTC Sensation] akapaul26:
I have tried faux with just about every sense 4 build of elegancia. I never really see much lag. I think it depends on your apps really and how clean an install you have done. I use system tuner pro to configure my device which I think keeps it running smooth.

Sent from my Sensation 4G using Xparent Blue Tapatalk 2

---------- Post added at 06:27 AM ---------- Previous post was at 06:24 AM ----------

Yank do we have a link for the aroma version yet? I did not see it for v9.

Sent from my Sensation 4G using Xparent Blue Tapatalk 2
[HTC Sensation] zedrix53:
@yank

what is 4ext4tweaks in init.d its still in the system after i flash the fresh rom and install the latest 8b8v6

but ive seen it before i flash faux kernel i think its included in sebastian kernel came from vipers

this is what i get after flashing new vipers and flashing faux kernel

40ext4tweaks

98checksetting

99complete

99z_kernel
[HTC Sensation] magostinelli:
Hello,

if i want to use the hardswap, what is the best size per swap partition?

What difference between the starting and ending of the SD card (regarding the position of swap partition)?
[HTC Sensation] Iceberger:
The answer to the question is in your quote....
[HTC Sensation] tidoubleger:
Is the md5 for the Yank555.lu v1.82 version correct? I've downloaded twice and gotten an md5 of 79d7119d3aeed8a8c103904dcbf1269d, not the posted b07a29d647882d4798e03745d8aa207d. Is my copy just wrong or is the posted md5 not correct?
[HTC Sensation] akapaul26:
Aahh I thought it said 10 min meaning last night.....anyway v9 is smooth as ever.

Sent from my Sensation 4G using Xparent Blue Tapatalk 2
[HTC Sensation] Raven2k:
The MD5 is - 79d7119d3aeed8a8c103904dcbf1269d

The md5 matches & it was successfully installed.
[HTC Sensation] Yank555:
Just got home, am about to start working on it ;)

JP.

---------- Post added at 07:40 PM ---------- Previous post was at 07:38 PM ----------

It's part of Viper, it tweaks the Linux ext4 filesystem, it's not kernel rela5ed as far as I know, which is why I l4ave it untouched.

JP.

---------- Post added at 07:58 PM ---------- Previous post was at 07:40 PM ----------

Oops ... must have forgotten to update it, will check and take care of that right away !

JP.

EDIT : It's updated.
[HTC Sensation] zhelev81:
what are the best settings for htc sensation 4 g with this karnel ,can you advice me please ?
[HTC Sensation] Yank555:
Hard call, you need to try what best fits your usage...

JP.

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

Strange, the LMK settings you used are pure kernel stock, as are the other choices, except maybe bfg scheduler, which I'd rather not use...

I expect you did the same test with plain 009b1 ?

Also, had you an Aroma installation before flashing "plain 009b1" ? If you, did you remove the 99z_kernel file ? If not, you previous settings still would apply to the newer kernel...

JP.
[HTC Sensation] zhelev81:
how do i play with the settings once is installed ?
[HTC Sensation] Yank555:
Easiest is to just reflash, but on the last prompt you just choose "Config only - Regenerate the script with selected config".

That won't reflash the kernel, it will just change your settings.

JP.
[HTC Sensation] acesabe:
Which I was gonna ask, as indeed there will have been a previous 99z_kernel file present, which would have been from your Aroma 008b8 of a few weeks(?) ago (I reverted a couple of days ago), it worked well so go figure! I'll delete it and see what 'vanilla' Faux 009b1 is like..

Need my phone stable tomorrow so will test this further after then, and report back.
[HTC Sensation] Yank555:
Hi,

Here's the AROMA installer version :

There is no Yank version for 009b2, this is simply a version to validate if the lag issue has been found and addressed.

Please report back how it works out !!

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

Enjoy, JP.
[HTC Sensation] Dijkstra88:
Will try it out and report back to you. Thanks Yank

Send from HTC Sensation Z710e with Tapatalk
[HTC Sensation] 69gm:
Just checking...

Just flash this over your Yank for 9b1?
[HTC Sensation] Yank555:
Yup.
[HTC Sensation] hinxnz:
Great bout to test, its morning here but is there a non aroma version?

A good way to induce lag is I open 12 or more pages in opera mobile labs, all xda pages then press home and then long press the sense screen to bring up the personalise menu and then touch the search bar to bring up keyboard and finally I can create the lag, down to 60mb.

Sent from my HTC Sensation with Beats Audio
[HTC Sensation] Yank555:
Nope, no non-Aroma, I compiled it for faux, he didn't have time.

If you want to try it 'naked', just delete 99z_kernel after installing. (Valid also when coming from Aroma to non Aroma btw.)

JP.

Sent from my custom ARHD 2.1.1 / Yank555.lu kernel v1.1 (Linux 3.0.42) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] Dijkstra88:
Tested 009b2 for almost an hour now on viperS. So far no memory drop below the 95mb free ram (lowest time) . I think you have done a great job Yank:D

Send from my HTC Sensation Z710e with Tapatalk
[HTC Sensation] hinxnz:
Didn't work I'm afraid, here's a screenshot can upload your script if needs be..

Edit: will try with higher lmk settings to see if better.. choose low but should of choose stock I guess..

Ps. I like your aroma version :) can't believe I haven't tried it till now..

Sent from my HTC Sensation with Beats Audio
[HTC Sensation] Yank555:
Faux did the work, I just compiled and uploaded ;)

JP.

Sent from my custom ARHD 2.1.1 / Yank555.lu kernel v1.1 (Linux 3.0.42) powered Samsung Galaxy S3 using xda premium

---------- Post added at 01:11 AM ---------- Previous post was at 01:06 AM ----------

I'd rather be interested in a screenshot of your minfree settings in Venom tweaks since those are being used.

JP.

Sent from my custom ARHD 2.1.1 / Yank555.lu kernel v1.1 (Linux 3.0.42) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] hinxnz:
Here you go.. will try with stock setting after this..

Sent from my HTC Sensation with Beats Audio
[HTC Sensation] hinxnz:
Stock lmk values in venom tweaks made no difference still dropped very low after opening 12+ tabs in opera mobile and returning to sense via home key.

Sent from my HTC Sensation with Beats Audio
[HTC Sensation] Yank555:
You had 66Mb free and LMK is set to start killing when free RAM drops below 40Mb (highest level for empty apps) if there are any and so on.

Behaves as configured as far as I can see ...

JP.

Sent from my custom ARHD 2.1.1 / Yank555.lu kernel v1.1 (Linux 3.0.42) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] klothius:
I'm afraid that the change in b9v2 wasn't enough to fix up this issue completely, but only mask it a bit, so that it would be a bit harder to achieve a lowmem situation. It was me that suggested this v2 change to faux, so I know that this one didn't fix it up right unfortunately.

The good thing is, I think the second thing suggested is the real deal that we need, so I would wait just a little bit till faux makes this change in the code if you're on b8. Of course, as I said before, with this "fix" it's a bit harder to crack it completely, so if you really need it ****NOW****, go for it and update later with a real one.

Btw my suggestion to you all for testing is to open up some site with a bunch of pics and just load them up. The site I use for testing is tumblr.com. Just find some nice one with bunch of pics that opens up in a mobile view (you'll have that little "Load more posts" at the end of the page) and keep loading more and more posts and keep checking the mem. Before this 2nd try @ code fixup that's gonna come, it would crack in about 2-3 "pages", but now it keeps it at a comfortable 100megs, so I'm 95% certain that the next beta would be the real fix.
[HTC Sensation] hinxnz:
Not the case with beta8 though, this is what I have it set with that version.

I can raise these lmk values very high with still no luck.. It like the secondary or one of the other groups is just not killing. Not sure which set it is will have to download system tuner and look..

Edit: empty applications are not killing, just installed system tuner and raised empty apps to 256(max) now will test again..

Edit: this had no affect either, bout to download and test 9b3

Sent from my HTC Sensation with Beats Audio
[HTC Sensation] klothius:
Please read the post above yours, the b9v2 isn't the complete solution. The real thing is coming soon :)
[HTC Sensation] Yank555:
Hi,

Here's the AROMA installer version :

There is no Yank version for 009b3, this is simply a version to validate if the lag issue has been found and addressed.

Please report back how it works out !!

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

Enjoy, JP.
[HTC Sensation] faux123:
I want to thank you publicly as well for pointing me to the right direction and doing code review of my derpy code :o

I had a lengthy discussion with Yank and I have been reading about memory compaction in general. Most likely, I will revert the original quick'n'dirty fix and keep the 2nd duplicate code removal patch and disable memory compaction altogether...

I really appreciate your time and comments for my kernel. This is what open source is really about and I want to thank you again. :highfive: :good: :victory:
[HTC Sensation] klothius:
I was just about to suggest the same thing - to reverse the compaction thing to stay compatible with the linux kernel as that definitely wasn't the culprit. :)

I'm glad I could help, but that is the charm of open source...everyone can help out if they want, but I must thank you for accepting the suggestions from me as not everyone would do it :good:
[HTC Sensation] hinxnz:
Excellent work guys 9b3 works great, the low memory is resolved :):):)

Sent from my HTC Sensation with Beats Audio
[HTC Sensation] PaulGiz:
So far, so good. 10 minutes heavy image-filled browsing, opening page after page has left me with 140Mb free. Same conditions before would have had me in the high 80s low 90s.

So, it will take a day to know for sure, but things are definitely moving in the right direction.

Time to change my sig!!

Thanks to all for tracking this down and recompiling. It's nice being a passenger.

P.
[HTC Sensation] chassy_8o9:
I was testing the latest version 009b2, I will return to version 008b8, simply is the only kernel that never gave me problems whatsoever. hope you guys find out how to resolve the issue with the low memory thing. thaks!
[HTC Sensation] chrisrj28:
You should seriously read the last few posts ahead of yours, 009b3 apparently fixes the issue
[HTC Sensation] 69gm:
+1 on this! As klothius said, some devs might just get defensive instead of openly listening to suggestions like you do. Thanks for your open-mindedness. It's that kind of thinking that keeps things moving FORWARD.

klothius, I'm glad you're so good at what you do. I wouldn't be able to help in this capacity even if I tried!

Yayy, open source FTW! :good::good::good:
[HTC Sensation] 69gm:
Well tried the different new ones but unfortunately my phone is still pretty laggy. :(

I was hoping I could get it to work but no...and it has nothing to do with RAM! I usually have a decent amount so I'm not sure what's making my phone lag.

Any more ideas? :confused:
[HTC Sensation] chrisrj28:
You have to be much more specific than that, what were the conditions when you were lagging? How much free ram did you have?
[HTC Sensation] sssurfer:
Hmm.....so many *new* versions of Faux's kernel....which one shud i try ? :confused:

I need stability and im not a frequent changer... :angel:
[HTC Sensation] djgboy:
I try all the new kernels and I still have lagg and I even get reboots and phone gets hott maybe it's the way I am setting it up when I am flashing it ??
[HTC Sensation] ItayPBM:
I have about 120mb free ram and it goes down to 60-80 with one open app

Is that normal?
[HTC Sensation] chrisrj28:
What kernel version are you two using?
[HTC Sensation] Yank555:
Hi,

I suggest to use 009b3 for now. Also to start off, try 'default' settings, leave zram / hard swap be and check how it works.

Don't UV...

Then maybe try higher inactive max / two_phase.

And like a good recepy, add flavours one by one. That will help finding what specifically worsens lag if you have it.

JP.

Sent from my custom ARHD 2.1.1 / Yank555.lu kernel v1.1 (Linux 3.0.42) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] Iceberger:
Going to give it a go,

Just like chassy_8o9 (and others :) ) my favorite and lag free kernel is 008b8.
[HTC Sensation] chrisrj28:
As is mine, I have yet to try the 009b3 but good reports so far. Waiting for three yank version
[HTC Sensation] The Illest 619:
Been using 9b3 for about 5 hours now and everything has been great so far. I didn't have too much lag or any issues beforehand either but since flashing 9b3 I haven't had any what so ever. Looks promising. THANKS to everyone involved in making our phones run better =D

Sent from my HTC Sensation 4G
[HTC Sensation] 69gm:
When I say laggy, I mean EVERYTHING is laggy. After flashing, everything from lockscreen on is unusable. No swiping, no app drawer...nothing is smooth. When I check RAM I have over 100MB free.

Noticed that you yourself like 8b8? Maybe I'll give that a try and see if I have any lag...

Weird mystery though...what is it that's making the newer kernels unusable? Is the newer Linux doomed to not work on the Sensation? Does that mean other kernels out there are based on the older Linux?

Calgon, take me away! LOL! :laugh:

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

I think when I have time, I'll try following Yank's suggestion of going full stock...but should I have to work so hard to get this working? *sigh*

---------- Post added at 09:40 PM ---------- Previous post was at 09:33 PM ----------

Hi Yank,

I have a problem that I don't know how to fix and maybe that's part of the problem with my lack of success in getting this kernel working.

After flashing from my current Bricked to faux, when I use something to check my governor, it says "conservative". Shouldn't it be "intellidemand"? Who knows what else isn't quite working. I wonder if this has anything to do with my laggy problems...

Can you tell me why something like this is happening? If you need more info, can you let me know how I can suppy that to you?

Thanks for the help! I want to get faux's kernel to work and I haven't given up yet but starting to lose faith. Maybe my phone and ROM just weren't meant to use it...
[HTC Sensation] hinxnz:
Hi just wondering if your problem is related to a non-responsive touchscreen due to the silver pin on back of phone not having a good contact with back cover. If you like turn off your phone, remove back cover and very gently/carefully lift it a little so it will make a good contact.

Sent from my HTC Sensation with Beats Audio
[HTC Sensation] piimp:
As far as this, seems like the last governor you used on bricked was conservative. So once u flash faux you have to change it to intellidemand via system tuner or the like, otherwise it'll just keep saying/using conservative

Sent by my feau gee
[HTC Sensation] Yank555:
I noticed you have flased iba21 MOD v.11.7, have you cleaned up whatever was installed ?

It's like I said in a post in the Viper thread, will post the link if I can find it, drinking alcohol across the shelf of the bar will lead to big headache, by that I mean flashing loads of stuff, you will end up with an undefinable mismatch, except if you really know what each mod does and know to handle compatibility of each with another and proper removal if necessary, then you're good to go :silly:

Just a detail, when I say best "reset" is to reflash the ROM, I'm just talking ROM, not your apps or data, those stay untouched !

JP.

EDIT : Found it, have a read => http://xdaforums.com/showpost.php?p=30821245&postcount=9461

---------- Post added at 09:51 AM ---------- Previous post was at 09:49 AM ----------

This is exactly what I meant by "mismatch" :D

If you are on conservative, expect huge lags, it's en extreme power-saving governor that keeps CPU as low as possible.

JP.
[HTC Sensation] hinxnz:
@Yank555 was wondering what the extra 3 modules are for, as far as I know one is for WiFi but aren't they normally compiled into this kernel or is this normal for the aroma version?

Sent from my HTC Sensation with Beats Audio
[HTC Sensation] Zirias:
Just as an info: The installer doesn't work OOTB on the "stock" (?) ROM from here. In order to make it work, you have to create /system/etc/init.d directory before installing and modify /system/etc/init.post_boot.sh afterwards so the call to "/system/xbin/busybox run-parts /system/etc/init.d" is done unconditionally. Property "ro.ident" is empty on this ROM.

Regards, and thanks for your work!
[HTC Sensation] Hawke84:
ive been on beta 9v3 for a few hours now, so far so good. ive been physically trying to make it lag a few times but the mm seems to be doing a good job, no more labs on viperS sense 4.

thanks guys for fixing this and thanks yank for compiling and all the support u give on here! :good:
[HTC Sensation] sssurfer:
Hmm.... so many *new* versions of Faux+Yank Kernel out.....which one shud i flash ?? :confused:

I need stability n Im not a frequent (kernel) changer. :angel:

EDIT : Sry for double Post. :(
[HTC Sensation] Yank555:
They are in fact not needed, those are dedbugging objects. I just have the habit to include all generated modules by default. They won't harm and not do more than take up a little space on "/system/lib/modules".

JP.

---------- Post added at 11:52 AM ---------- Previous post was at 11:47 AM ----------

Yep, that is unfortunately a known issue for me.

I don't know if it's the job of a kernel to create the init.d folder, I don't think so, as its presence and the fact that it is taken into account (scripts executed) is sth. that should be done on the ROM side IMHO, which is why I don't create it. HNS is another ROM that doesn't have the folder, even though just creating it is enough on that ROM, as is comes with init.d support out of the ramdisk.

On stock ROM I have an added dilemma, it doesn't give me anything to know what ROM it is, and I cannot just add init.d execution out of "init.post_boot.sh" for any ROM, as ROMs with ramdisk init.d support would run the script twice, and the UV would be applied twice, so no need to say that will most certainly generate a bootloop for those users.

If you can provide me with a way to be certain I'm on stock ROM, I could add a conditionnal execution to init.post_boot.sh, just like I do for ARHD and Elegancia.

JP.