yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] emanuele252:
I tried 009b3...with -75 of undervoltet. 192 MHz min freq, 1.5 GHz max freq, 492 max freq screen off, 964 2phase freq (if I remember well), and aggressive mainfree (i selected it on aroma installer). I use viper 1.1.0. No mainfree tweaks.

The kernel seem laggy if compared to version 008b8v5. Then I have had some reboots. But the ram was always over 100 MB.

I prefer v 008b8v5...

Anyway I love your kernel. Very good work

Inviato dal mio HTC Sensation Z710e con Tapatalk 2
[HTC Sensation] jyo1:
9b4 working great.. (even previous versions were always working fine for me :) )
[HTC Sensation] 69gm:
You might have to do what I did. Superwipe and start all over. You might have some residual things on your phone that is interfering. Superwipe, reinstall ROM. Don't use nandroid data. It will just put back what was interfering. Then flash kernel and see if lag goes away...It worked for me! Oh also if you're getting reboots, don't undervolt. I don't think it's worth the trouble anyway. From what most have told me, they don't see a significant difference...not enough to worry about instability. Good luck!
[HTC Sensation] Yank555:
Just go right ahead ;)

JP.
[HTC Sensation] cwk_and:
faux9b4 is well done :good:

very snappy and stabil all the time.

125mV are undervolted ,so far it is working great on viper ROM,

no ramdom and lag issue reboot at all..
[HTC Sensation] Yank555:
Hi,

just to let you know that I have found the time to compile yank v2.5 (faux 009b4 based) and added the link here :

http://xdaforums.com/showpost.php?p=30942037&postcount=8944

JP.
[HTC Sensation] Iceberger:
Just installed yank v2.5, So far so good.

Great work! this kernel (009b4) is as good as 008b8.
[HTC Sensation] kaleci07:
I'm happy to say , lag problem gone whit v9b4 (yank 2.5)
[HTC Sensation] haifish9999:
+1

It's happen with me too.
[HTC Sensation] mandeep294:
thanks faux for d gr8 kernel..tried a few kernels on viper 1.1.0 but lag was very bad..latest version of ur kernel works like a charm

kudos
[HTC Sensation] zooster:
Tried b4 aroma.... Still laggy, so I tried stock version deleting 99z_kernel and it's fine.

I'll attach the script I've deleted. Maybe scripting is not good, I dunno why.
[HTC Sensation] Yank555:
Eagerly awaiting the script ;)

JP.

PS: Oh, and please also include a list the the scripts in init.d please (terminal : "ls -l /system/etc/init.d"). Thanx !
[HTC Sensation] radiohitec:
Test the versionyank v2.5 (faux 009b4 based), my phone is flying and have no memory leaks, thks for this great version!!!!
[HTC Sensation] balf:
On 9b3 its elimiated the lag from v8, it was actually unusable for me on venom, this is sharp though, much like the faux i love. About to install b4, see how it goes, most things stock I/O on deadline though, i find cfq generates lag on any kernel for me
[HTC Sensation] zooster:
Here is the content of 99z_kernel:

#!/system/bin/sh
#----------------------------------------------------
# Yank555.lu - generated kernel options init.d script
#----------------------------------------------------
# Script generated on 31/08/2012 at 12:41
#----------------------------------------------------

# - Set CPU min frequencies for both cores
echo 192000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1 > /sys/devices/system/cpu/cpu1/online
echo 192000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

# - Set CPU max frequencies for both cores
echo 1728000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1 > /sys/devices/system/cpu/cpu1/online
echo 1728000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

# - Set screen off max frequencies for both cores
echo 594000 > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq
echo 1 > /sys/devices/system/cpu/cpu1/online
echo 594000 > /sys/devices/system/cpu/cpu1/cpufreq/screen_off_max_freq

# - Set governor to intellidemand
echo "intellidemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "intellidemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpufreq/intellidemand/io_is_busy

# - Set intellidemand active max frequency
echo 1728000 > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_active_max_freq

# - Set intellidemand inactive max frequency
echo 1134000 > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_inactive_max_freq

# - Set two-phase frequency for intellidemand
echo 1080000 > /sys/devices/system/cpu/cpufreq/intellidemand/two_phase_freq

# - Set undervolting
echo "-37500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

# - Set GPU max frequency
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk

# - Enable USB forced fast charge
echo 1 > /sys/kernel/fast_charge/force_fast_charge

# - Enable Sweep2wake without backlight
echo 2 > /sys/android_touch/sweep2wake/s2w_switch

# - Hardswap by Yank555.lu not installed

# - zRam not activated

# - Notification LED duration normal
echo 1 > /sys/kernel/notification_leds/off_timer_multiplier

# - Set Android Low Memory Killer (in number of pages of 4Kbytes)
# Forground apps : 4252 pages / 16.61Mb
# Visible apps : 5416 pages / 21.15Mb
# Secondary server : 6580 pages / 25.70Mb
# Hidden apps : 7946 pages / 31.04Mb
# Content providers : 13664 pages / 53.38Mb
# Emtpy apps : 16854 pages / 65.84Mb
chmod 664 /sys/module/lowmemorykiller/parameters/minfree
echo "4252,5416,6580,7946,13664,16854" > /sys/module/lowmemorykiller/parameters/minfree

# - Set MMC readahead buffer size
# Wait for everything to become ready
sleep 120
# Internal MMC
echo 2048 > /sys/block/mmcblk0/bdi/read_ahead_kb
# SD card
echo 2048 > /sys/block/mmcblk1/bdi/read_ahead_kb

# - Set MMC I/O scheduler
# Internal MMC
echo "cfq" > /sys/block/mmcblk0/queue/scheduler
# SD card
echo "cfq" > /sys/block/mmcblk1/queue/scheduler

#----------------------------------------------------
# End of generated script
#----------------------------------------------------
[HTC Sensation] Potapson:
Faux 9b4 work perfectly with Viper Rom. Thanks.
[HTC Sensation] Yank555:
I don't get it, how could this run differently to faux's naked kernel (without 99z script), you did use all the stock faux settings ?!

Very strange...

Maybe faux can see one setting that doesn't fit in the picture ?

JP.
[HTC Sensation] balf:
Same here, all good
[HTC Sensation] paulove:
I am using hard swap on My phone and are experiencing some strange thing.

After a reboot my phone is unstable and booting 3 or 4 times before it is stable as a rock. Using yank 2.5 on viperS 1.1.0
[HTC Sensation] Zirias:
Also, lag in music player on "stock" XE rom is gone -- great!
[HTC Sensation] kairanz:
So,which one giving the best result?with or without memory compactation?

Since i don't really understand what its mean :D
[HTC Sensation] ganeshp:
finally 009b4 has beaten 008b5 on ViperS :D
[HTC Sensation] The Illest 619:
Is zram activated by default with faux kernel? I see that in the script its turned off?
[HTC Sensation] UnixSlayer:
Just incase anyone is interested. I noticed lag on some of the kernels after 08b8. I know this makes no sense in Linux, but I decided to defrag my sdcard. It was heavily fragmented. Now there is no lag on the later kernels. Seems I do have programs on my sdcard. They might have been lagged because of the fragmentation. Everything is fast, and fine now.

P.S. I used Diskeeper connected through USB on my computer. The sdcard is formatted with fat. Could be part of the culprit.
[HTC Sensation] Zirias:
First of all -- you DID follow the thread? The lag problems should be fixed in 9b4 :) And then -- sure fragmentation CAN cause some performance impact. Which IO scheduler did you use? yank advised me NOT to use bfq but instead cfq ... as I upgraded to 9b4 the same time i switched to cfq, I'm not entirely sure it really helped, but maybe you could give it a chance ;)
[HTC Sensation] 69gm:
+1

I was ready to flash until I saw 2 different things (faux's and Yank's). Usually they are the same except for GPU OC but not there is a definite difference with this memory compactation. So what exactly is the difference?
[HTC Sensation] paulove:
I had too low interactive frequencys.

Increased it and all is good.
[HTC Sensation] UnixSlayer:
I've been using cfg. But since I defragged, I've had no problems. Before the defrag, major lag. Maybe I have more things running from my sdcard then most others.
[HTC Sensation] Catpoule:
hi everybody,

i'm using hardswap with faux 9B4 and it's running fine, no memory lags any more.

Thanks a lot for the fix.

using viper rom.
[HTC Sensation] ajay83:
I agree. Fauxs' has memory compaction disabled, but Yanks' has it enabled. Im using Yanks at the moment, no uv, no zram nor hardswap and it's running real good. Do wonder which is the one everyone should be using
[HTC Sensation] zooster:
I really dunno, I just reported the behavior of my phone.

But it's not the first time that naked version works better than the scripted one.

Either there's some setting interferring with the normal behavior of the kernel or is the scripting itself having a problem with the optimal behavior...
[HTC Sensation] Catpoule:
hi faux ,hi Yank,

first of all, congratulations again

can you explane to me what is memory compaction please ?
[HTC Sensation] klothius:
http://lwn.net/Articles/368869/

The article is 2 years old, but it's a perfect and simple explanation as to what memory compaction does. More simplistic answer is...think of it like memory defragmentation. It's being done as to have a contiguous free pages in ram so if a process needs large ammounts of ram, it can allocate it much simpler and faster because it doesn't need to search where to put data so that it can be contiguous.

That sounds terrific, but for a process to benefit from this, the kernel has to have a support for huge pages and current linux kernel does not have that support for arm processors.

I saw a patch from february this year to add support for huge pages in mainline linux kernel, but it hasn't been integrated yet (not sure if there was something wrong with it or they just didn't include it for lack of time). Maybe faux can google it up and see if it can be implemented...don't know if we would have a big benefit from it, but I'm guessing there should be some at least.
[HTC Sensation] faux123:
Yes and no. Compaction is wonderful because when system is requesting for memory, most of the time due to compaction, order 0 memory would be available for immediate use. Assuming everything is mostly controlled by Linux kernel (as in servers and desktops). But Android is a little bit different. Android relies on several Virtual Machines (VM). The apps are running on Dalvik VM, the browser is running on it's own VM V8 (JavaScript engine). Each VM has it's own memory management and garbage collection. So the native kernel compaction with 2 workers constantly scanning the memory to migrate page allocations and compacting them in the background may hurt more than it helps.

So far I've disabled compaction for Samsung SGS2, HTC Amaze, Samsung Galaxy Nexus and now Sensation 4G and I've yet running into any performance or memory related issues. (Matter of fact, for my Galaxy Nexus kernel users, they've commented that without compaction, it is running smoother than ever, SGS2 has been running without compaction since inception. My .32 kernels for G2x and Atrix all have no issues because compaction was added only after 2.6.35). :cool:

PS: another side effect of compaction is how the memory is reclaimed. Without compaction it is using the lumpy reclaim, with compaction it is using another type.
[HTC Sensation] klothius:
Yeah, when you put it in a context with androids inner workings it adds up to no support of hugetlb for arm and it makes it even clearer that it's most probably just a waste of cpu cycles for it to work on something we'll see no real benefit of.

Thanks for clearing it up :)
[HTC Sensation] Yank555:
I noticed faux had disabled it after I compiled 2.5, will offer a 2.51 with it disabled, so you can choose.

I'm running my SGS3 kernel without as well for now, need a little longer to assert if it's better or worse...

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

EDIT :

V2.51 with memory compactation disbaled is online and can be found here :

http://xdaforums.com/showpost.php?p=30942037&postcount=8944
[HTC Sensation] blek42:
I migrated from 008b13 to 009b4 (Yank555 2.5) and configured as in my signature. The new kernel frees my RAM, eliminated the lag, and made my sensation silky smooth again. Thanks for the hard work that took place between these 2 kernel versions to address the lag reports!
[HTC Sensation] 69gm:
Just reporting that I installed 009v4 and everything is all well. No GPU OC, everything default except screen off freq (486...which is what was stable for me on bricked). S2W on, ZRAM on, Swapdisk off. Kept the CPU OC to Yanks which is 1728 I believe. If it becomes unstable I know I'll clock down the CPU. Intellidemand governor...everything very smooth! Yayy!!! :good:
[HTC Sensation] xgnesh39:
I have flashed Mr. Yank's 2.5v yesterday night running with ViperS v1.1.0, all set to Yank Default settings except CPU OC to 1.67mhz, no s2w.. Really amazing, smooth running, no issue so far, memory stays around 139mb last few hours even with alot of surfing and playing games, as the same time battery life is also ok, dropped to 29% ..so far of my usage.. Will report back later..

Thanks Mr. Yank..
[HTC Sensation] djgboy:
V2.5 is running good no lagg at all thank you :)
[HTC Sensation] UnixSlayer:
09b4 is running fantastic! No lag whatsoever. I'm going to archive the 08b8 zip now. Don't need it anymore!

:)
[HTC Sensation] Dijkstra88:
Hi Yank just to let you inform. This sundayevening ViperS will get an update to version 1.2.0 with sense 4.1. Hopefully b4 still performs great with that version. I have faith in you :p

Send from my HTC Sensation Z710e with Tapatalk
[HTC Sensation] emanuele252:
Hi to all. I'm trying the kernel 009b4 for a day...i'm impressive about its performance. No lag, no reboots, no issiu and the ram is always over 125 MB It works fantastically.

I've done a new installation...full wipe and then installed directly the kernel.

My parameters are:

192 MHz min freq

1.51 GHz max freq

492 MHz max screen off freq

Then 864 and 972..for next steps.

Gpu OC at 300, zram enabled, -75 mV of UV and aggressive kill apps.

Just a question:

Is there any way to install correctly a new kernel without make a full wipe before? I mean for a right running..

Inviato dal mio HTC Sensation Z710e con Tapatalk 2
[HTC Sensation] The Illest 619:
Not sure if its just me but 009b4 not only performs better but it seems like battery is lasting longer too, not sure if its kernel related as it may or may not be, but I've been on Pandora, browsing, on the xda app, texting, facebook app, gps WiFi and Bluetooth on. Fairly heavy use and I'm at 51% after 8 hrs.
[HTC Sensation] ammenRA:
Cmiiw, that's for intellidemand and two phases, right? If so, i think you got it backwards, intellidemand should be higher than two phases.
[HTC Sensation] Iceberger:
I agree, I'm using Yank 2.51 now and it seems 008b8 wont be necessary anymore.
[HTC Sensation] ivicask:
I got to the confirm this, im curently testing it on ViperS 1.2beta, and rom was never smoother than this, and there are no more slowdowns or lags after you use phone for some time and battery is also rock solid!

Faux you did amazing job!
[HTC Sensation] hamlet2000:
Same here. Thank you guys.
[HTC Sensation] Stephen:
Yup same for me to 1.2 beta is simply awsome with this kernel!
[HTC Sensation] Yank555:
Well if you either well know what mods you made / flashed, and know what they do exactly and know how to properly keep your system clean, then no need.

Else it's always best to start off with a clean slate, takes a little longer up front but save lots of time and headaches afterwards :D

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] sjknight413:
Stop teasing us! :D
[HTC Sensation] Elemental_Fire:
Dear faux123, please check your inbox. I have an important but interesting development to talk to you about :)
[HTC Sensation] Philips9:
If I come from Sebastian FM 1.5.2 kernel and I would try faux kernel, I must flash "Powerful Kernel Reset - MOD Remover" before flash faux kernel?

thx in advance
[HTC Sensation] 3c:
Why don't you try it instead of asking in the wrong thread: The OP has its own opinion so he will only repeat the same thing. And others around will do the same!
[HTC Sensation] player4lifeov:
MY score on CF bench
[HTC Sensation] ptaylor09:
What version did you use?
[HTC Sensation] ijob:
Folks why do I have no other models to compare my scores with?

----------

Sent from the back of Michael Caine's Mini Cooper S, holding on for dear life......
[HTC Sensation] player4lifeov:
The 1.56 nohz
[HTC Sensation] ptaylor09:
Same here
[HTC Sensation] B-Man2005:
Demon controller is not working :(
[HTC Sensation] BigBoppa:
If i use the 1.78 GHz kernel (no matter if J or N), i have a problem with the ThermalDaemon:

If i flash the patched TD from OP, my logcat shows

ThermalDaemon CPU[1] limited to 1566000 (as it is set in the thermald.conf).

if i change in thermald.conf 1566000 to 1782000 and reboot phone, logcat gives:

ThermalDaemon CPU[1] limited to 384000 :eek:

then i edit it back, reboot, but still limited to 384000. :confused:

I have to flash TD again to have it working at least at 1566000

Any ideas? Or could faux build a 2nd TD for 1.76? :D
[HTC Sensation] jiggaman508:
Why post if it's just negative????? You must be unfamiliar with faux's work, because imo, he's one of the best kernel devs on android, and is finally bringing out the true potential of our beloved sensation....please show some respect....
[HTC Sensation] Dust2Dust:
Celcius or Fahrenheit

Could anyone tell me wether the thresholds in thermald.conf are in celcius or fahrenheit??

I hope Celcius because yesterday navigating I was on a 42 degrees celcius steady. The device felt warm but not hot.
[HTC Sensation] ptaylor09:
C-ya you ungrateful bastard. Its ppl like you that push dev's away, cuz they don't want to put up with little bit**es like you. And if you want the modded kernels but not oc, then make one urself, and dude you need to look around at the roms out right now, cuz I see faux's name in alot of them.
[HTC Sensation] zoman7663:
Thanks Faux! Your kernels are the bomb! Using them on my G2x also. The latest version 0.1.2 NoHz N version is extremely smooth and fast, but on my device any sort of reboot ends in a "system not responding" FC error. Flashed the JRCU version (both 1.56 GHz) and VIOLA! All is working well. Thanks again for your hard work.
[HTC Sensation] RADLOUNI:
Error

Hi Guys

I am getting assert failed error while trying to install the new kernel and installation is aborted

has anyone successfully flashed this???? Thanks

Thanks Faux for all your help and efforts
[HTC Sensation] piimp:
Did u revert back to stock kernel first? N if u don't know where to get it check mikes ROM or baad's

Sent by my feau gee
[HTC Sensation] B-Man2005:
Why does oc deamon not work ?
[HTC Sensation] RADLOUNI:
yes

yes i flashed stock HTC RUU so i am back on stock kernel, my ROM is official 2.3.4

dont know how to solve this !!!!!!!!!
[HTC Sensation] Derek0228:
Redownload the kernel and toggle signature checking in CWM.
[HTC Sensation] i900frenchaddict:
Could there be a version of the latest kernel that includes the GPU overclock, for people like me who didn't have a single screen tearing issues?

For me, an "emulators addict", this GPU overclocking had been the best news ever, the results were clearly visible when playing N64oid, an emu that mainly uses GPU.

Some games ranged from "unplayable because to slow" to "playable"

Also some Tegra2 games run using CF3d drivers became really smooth (Trainz fro example) with the GPU overclocked

I'll really miss this feature :(
[HTC Sensation] omar302:
Dear Faux,

HD Games like Cordy do not work anymore in V0.1.2, screen gets graphic glitches. Your previuos kernels were working fine. I am sure it is because of the new HTC base because the same problem is present in 2.3.4 HTC stock kernel & stock ROM.
[HTC Sensation] d.brown:
@frenchaddict Here's your answer... Next time read

Hi my name is DloBrown and Im A nightly addict who've been sober for too long!!!
[HTC Sensation] dragon25slayer:
yes m8 thats what i did :)

http://xdaforums.com/showpost.php?p=30942037&postcount=8944
[HTC Sensation] The Illest 619:
Might want to read up on yanks advice and info regarding reset mods.
[HTC Sensation] haifish9999:
I don't think so, when you flash this kernel it's will be deleted all older by itselft then created a newer setting.Don't care about kernel_reset mod.I've tried and everything older setting are gone.
[HTC Sensation] Balikesirli:
True.

I come from bricked kernel and i didn't use kernel resetter..

Faux kernel works fine :)

Gesendet von meinem Sensation mit Tapatalk 2
[HTC Sensation] axetilen:
@Yank555

Hi sir, would you mind adding a command to delete 21uv from other MODs such as my SB 1.6 and D-SHEL, so it will not combine with your 99z_kernel?

Some people have reported that they arent able to boot their phones after flashing faux AROMA

Thanks in advance
[HTC Sensation] Yank555:
Thanx for the info, will do ;)

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] axetilen:
I think there are 2 uv files I have found: 21uv and 32vdd_levels :)
[HTC Sensation] Yank555:
See my point in what I was writing in the Viper thread :rolleyes:

Was just done with adding "21uv" and "90zram" removal, but I'll add this one as well ;)

If you know of other files that make sense to clean-up, please let me know, I'll add them, even if I actually didn't want to clutter a kernel installer with housekeeping stuff that users should actually be taking care of, as I might end up removing sth other user, who know what they're doing, don't want removed :(

JP.

EDIT -----------------------------------------------------------------------------------------------------------------------------------------------

I've added a faux 009b4 v2 and a yank v2.52 with this clean-up included, download links to be found here :

http://xdaforums.com/showpost.php?p=30942037&postcount=8944

JP.
[HTC Sensation] X46X:
Hi guys first of all, thanks fou your hard and awesome work which we do for us! Just tell me please which Memory killer settings is best? I now use stock setting, but I donť know, if there any other better setting, I like to try it :D
[HTC Sensation] sjknight413:
You really don't need any sort of so called 'powerful' kernel reset mods to flash a new kernel. Just look for init.qcom.post-boot.sh and init.post-boot.sh in system etc and delete them. Then delete any rogue init.d scripts such as yanks 99z_kernel if coming from faux. The three main kernels sort out mpdecision and thermald themselves so just delete them if you are really that worried.

Then flash the kernel.

It really isn't that hard to flash a kernel. Never in my whole time with android since back in my hero days has there been talk of such ridiculous kernel flashing processes such as reflashing your whole system first. There is absolutely no need for it and it just wastes time!
[HTC Sensation] haifish9999:
I've flashed v2.52 but still see v2.51 in my device.
[HTC Sensation] axetilen:
Sorry but you forgot there are some newbies and they dont know a script is a rogue script or not and what the functions it has. They are always afraid that deleting some files => their devices wouldnot work correctly or they can miss some tweaks of their current ROMs

kernel reset is made to help them to delete unnecessary scripts from the old kernels or MODs which may affect kernel behaviors. for example, 69force can prevent 99z_kernel from changing CPU frequency

New Yank555 kernel already includes some commands to delete some scripts what affect the kernel