yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Yank555:
I don't think there would be a "conflict" with scripts, at least the script I generate is executed once, it sets the chosen values throught the sysfs interface mainly, then quits and that's it. It's just the last that wins, that's all.

Since mike's scripts are executed also if you install faux's standalone kernel, they cannot be to blame, so that leaves my script...

What exact options did you choose on Aroma ? If it's a problem on that side, I'd really like to fix it, but I need input...

Could you upload the "99z_kernel" file please, so I can have a look inside to see what is really different from stock values compiled into the kernel.

As a sidenote, faux's flasher will activate zram, just so you know. If you installed Aroma without any kind of swap, you're comparing it with faux's flasher, you're comparing a system with swap to a system without, even if it's zram swap.

Thanx, JP.
[HTC Sensation] Yank555:
Thanx for all the details, that makes working on this a little easier ;)

I believe, the newer memory management changes seem to "affect" the way LMK works, at the same settings it used to start working "sooner" as now.

When you use swap, LMK will be set like "multitask utilmate", and on the new kernel, that might be too aggressive maybe.

I have attached a different 98swap, could you manually replace it in init.d and tell us if this works better ? (file is not flashable)

Thanx, JP.
[HTC Sensation] PeeHoo:
First of all it was really NICE reply!! Even stupid should understand :good:

Anyway here is couple of files you asked. TY!!
[HTC Sensation] ianoob:
Ok, named my old 98swap.bak, unzipped and moved the new to my init.d and rebooted. Opened a bunch of apps and hammered my ram ;)

Couldn't produce any lag, but did get and keep my free <100 for quite a while. Cycled the screen to no difference :confused: free still <100.

Tried starting one more app and it fc'd. Bam, my free RAM was good again.

Again, no lag this time :o
[HTC Sensation] Yank555:
Thanx ;)

You can leave those two, they sould not harm.

JP.
[HTC Sensation] PeeHoo:
Lol what a response time :confused: just had a time come back from other room and reboot phone...
[HTC Sensation] ianoob:
Um, still no lag but where did everything go?
[HTC Sensation] Yank555:
This is with new hardswap script ?

JP.
[HTC Sensation] ianoob:
Yes. Was able to finally induce lag, got a pic in terminal but lmk kicked in before system panel.
[HTC Sensation] Yank555:
You have a 100Mb partition for swap ? Or is it zram ?

Cause swap full, no ram left, must get laggy...

JP.
[HTC Sensation] ianoob:
512mb swap partition, hard swap no zram

New script isn't reading all the swap?

Edit, went back to he original swap script and got this... something isn't reporting correctly.
[HTC Sensation] Yank555:
2 thoughts :

- are the rights for 98swap correct (rwxr-xr-x) ?

- you do have zram activated

Check by typing 'cat /proc/swaps' in a terminal...

JP.
[HTC Sensation] PeeHoo:
Fyi. This 99pmwcpu is coming back... I think it is depending something to the system tuner what I am using f.e checking cpu freq history.
[HTC Sensation] ianoob:
How did that happen?

Reflashing the tweaks and will recheck.

---------- Post added at 05:59 PM ---------- Previous post was at 05:51 PM ----------

Ok, aroma version of 8b10. Made sure I selected hard swap and not zram, same results :confused:
[HTC Sensation] Yank555:
In System Tuner, in the CPU pannel, tap 'boot settings', and there you should see and be able to disable this.

JP.

---------- Post added at 12:12 AM ---------- Previous post was at 12:08 AM ----------

Check for some other file in init.d, or check "/system/etc/init.post_boot.sh".

Also, check your b10 aroma zip's MD5, if it's different then the one in my post, you need to redownload the b10 flasher, I unfortunatley used faux's which enables zram and does not execute init.d scripts on Elegancia, so I had to reupload it again.

JP.
[HTC Sensation] fragargon:
Hi,

I m following the discussion and got the idea.to check out my stuff.

Got only hardswap and no zram activated however I can see this.
[HTC Sensation] Yank555:
50faux ?? ;) What's in there ?

I suspect you need to redownload the b10 aroma zip ...

Damn, you are just too fast downloading guys :D The 'bad' file was only online for a short time.

Ok everybody, please redownload the b10 aroma zip, just to be certain, and check MD5 !

JP.
[HTC Sensation] ianoob:
Ok, a lot of info in the init.post_boot.sh file.

I am using the original 8b10 aroma since I'm on HNS. I will try the newer version. http://db.tt/sqX50lj0
[HTC Sensation] fragargon:
Hi Yank,

Don t worry, I ve got the right aroma file... Check twice. I m not experiencing lags anymore since hardswap...

Didn't want Ttp screw up the discussion.

I just wanted highlight that whilst zram is not activated it s present in /dev/block/

50faux is mpdecision and thermal.

M2cent
[HTC Sensation] joaquinf:
This is what is inside 50faux.
[HTC Sensation] zooster:
I also have 50 faux.

Here is my result

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

app_138@android:/ $ export PATH=/data/local/bin:$PATH

app_138@android:/ $ ls -l /system/etc/init.d

-rwxrwxrwx root shell 391 2008-08-01 14:00 50faux

-rwxrwxrwx root shell 1039 2008-08-01 14:00 93zipalign

-rwxrwxrwx root shell 216 2008-08-01 14:00 99complete

-rwxr-xr-x root root 2528 2012-08-12 20:18 99z_kernel

app_138@android:/ $
[HTC Sensation] fragargon:
Hi,

You should remove that file init.post_boot.sh or at least add extension .bak.

It enables zram and set swappiness to 20 wich is not good thing with yank aroma.

M2c
[HTC Sensation] ianoob:
Ok, got the correct version :o was actually easier to induce lag. Will try the new swap script again. Sorry

Edit, renaming init.post_boot.sh too
[HTC Sensation] chassy_8o9:
yea!! was overwelming... now my phone is useless untill i get home tonight!!! :(

the only thing flashing today was this kernel. This afternoon did not work the WiFi connection. Now, restart, and I find a bootloop!

should have followed your advice and return to the bricked kernel! :s
[HTC Sensation] johnson8cyl:
No backup? Rom file still on sdcard? Bricked kernel still on sdcard? Should be an easy fix but no one else seems to have this problem :confused:
[HTC Sensation] joaquinf:
Shall we?
[HTC Sensation] chassy_8o9:
1. no

2. no

3. no

now will flash from strat venom s 1.1.0 with this kernel... maybe now will work propertly
[HTC Sensation] ianoob:
Ok, named my 98swap and init.post_boot.sh to .bak inserted the revised 98swap and confirmed the correct permissions. Wiped and rebooted, still can overwhelm and induce lag. LMK kicked in right after this shot.
[HTC Sensation] chassy_8o9:
this thing just dont work for me!!! the same issue... no WiFi after a clean instalation of vipers ROM and this KERNEL, seems like my device just not support this! :s
[HTC Sensation] benjdm:
Anybody have an md5 for this? (faux 8b10 without Aroma installer)

---------- Post added 13th August 2012 at 12:18 AM ---------- Previous post was 12th August 2012 at 11:52 PM ----------

I've been experiencing lag. In my /system/etc/init.d folder I have 50faux, 93zipalign, and 99complete. I'm running ARHD 6.7.2 which I flashed after a Superwipe.
[HTC Sensation] Yank555:
No need, it will be replaced by a patched version by Aroma, that will disable zram ;)

I'm not sure it is a good idea to remove that file !! On ARHD and Elegancia no init.d script will be executed if you remove it !!! So not Aroma configs either, and no swap ...

If you still see the zram lines activated (without a # in the beginning of the line) after flashing the Aroma b10, you have the old bad version ! ;)

JP.

---------- Post added at 08:41 AM ---------- Previous post was at 08:38 AM ----------

Unix is not Windows, renaming a file .bak in init.d will not prevent it to be executed !! Check thr LMK settings, most likely the 98swap.bak is executed after the 98swap !

And frankly, leave init.post_boot.sh be, just be sure to use the patched version...

JP.

---------- Post added at 08:44 AM ---------- Previous post was at 08:41 AM ----------

---------- Post added at 08:57 AM ---------- Previous post was at 08:44 AM ----------

Hi,

I've quickly made a 008b10 v2, which has the different LMK settings... and it has the patched init.post_boot.sh as well.

You can download it from here : http://d-h.st/aRH

And just flash it.

I will make the proper updates, need to go to work now !

JP.
[HTC Sensation] TheUntouchable:
Need to flash this too if using your Yank555.lu-Pyramid-ICS-sense-v2.01-aroma?

(Using hardswap now.. lets see what it can do :D )
[HTC Sensation] Yank555:
Well, better not, since you would either have to choose GPU OC at 320MHz, or if you would just flash the scripts, it would try to set GPU OC to 320, and that would not work...

This is more of a test if the "softer" LMK settings make things better...

I'll update the 2.01 zip if this works out ;)

JP.
[HTC Sensation] chrisw99:
Hey chaps,

If I want to install the vanilla faux version (i.e. file Pyramid-ICS-XE-008b10.zip), but I have previously installed an Aroma version, is there anything I need to do to clean up the Aroma config, or can I just flash the faux version over the top?
[HTC Sensation] fragargon:
hi Yank,

damn it, you'r right. I just check this out.

I flashed the downloaded file provided in last post.

here is what i see in ini.post_boot.sh after flashing ...v2:

read_ahead:

zram (still active)

init.d boot script:

this is what i grab with cat in shell:

some other LMK value:
[HTC Sensation] NV30:
faux, can you release kernel with overclocked GPU? 0.1.0 works fine.
[HTC Sensation] krazy_smokezalot:
Nice to have u on the sensation Faux123.... Thanks for the kernal.... Hope CM7 is next but we all know cm rule #1!!!
[HTC Sensation] skyhigh2004:
I love superlite. By stock kernel first do you mean faux 0.1.0 which is what came with the rom stock or a stock HTC kernel?

Sent from my Sensation 4G
[HTC Sensation] fishluke:
I'm confused about this too, but I decided to just flash the one with fast in the name =p.
[HTC Sensation] tibere86:
I can also confirm screenshot is not working on JRCU too. No biggie. This kernel is buttery smooth and fast. Thanks FAUX!!
[HTC Sensation] NYCguy2020:
Anbody got a link to the stock kernel??! thanks.
[HTC Sensation] Lozone:
I got mine from the Coredroid thread.
[HTC Sensation] zoman7663:
Working here! Running 1.56 GHz N version.
[HTC Sensation] Lozone:
Same here.

Working fine.
[HTC Sensation] jlevy73:
Not yet. HTC changed the gpu code and Faux's first pass at OC'ing was a no go. Give it some time
[HTC Sensation] falcon eyez:
This kernel works with IC 2.4.2 like charm

my sensation is a BEAST now !!

THANQ :D
[HTC Sensation] mrpanic7:
Hey faux is it also not recommended to use the daemon controller app? Just asking cuz you don't mention in OP
[HTC Sensation] boa19861105:
How to correctly install

Black screen after installation
[HTC Sensation] raycaster3:
I flashed the stock sensation kernel first then the new kernel. I just got the black screen on a phone call though on the j version. :( it's super smooth and nice otherwise. I'm not using any OC app either.

After the call ended it went back to normal. So I just couldn't put it on speaker. During the call when I wanted to. No big deal. I'm sure that would happen from time to time in stock too.
[HTC Sensation] jlevy73:
No OC method works 100% right now. That includes O/C Daemon, SetCPU, CPU Master, etc. etc. You can easily confirm by checking adb shell commands while running cf-bench. Best thing atm is to not run any clocking app until it's sorted correctly.
[HTC Sensation] d.brown:
Wow I'm finally starting to get what I've paid for thank to you Faux... I'm on 1.56GHZ the Fast edition... Amazing its iphone smooth I know I shouldn't say that but android never felt as smooth... Next step CyanogenMod 7!

Hi my name is DloBrown and Im A nightly addict who've been sober for too long!!!
[HTC Sensation] raycaster3:
Screenshot IS WORKING for me on the JRCU version. The camera sound has a slight delay but the picture is perfect.
[HTC Sensation] d.brown:
Also I tried both 1.56ghz version and this one is the fastest in another world as for smoothness I've been getting 90+ on linpack compare to 60-70 with the "normal" version... Now let's see mA drainage

Hi my name is DloBrown and Im A nightly addict who've been sober for too long!!!
[HTC Sensation] Enzopreme:
Anyone have a link for the stock kernel? I tried to flash over 0.1.0 but it was a no go... And I can't seem to find the stock kernel anywhere....

Sent from my Tmous Revolution HD sensation.....
[HTC Sensation] raycaster3:
Here it is.....
[HTC Sensation] fragargon:
hi,

i flashed that zip ===> Pyramid-ICS-XE-008b10-v2-aroma.zip - but choose only config file.

i show you the result previous post. anyway i manually neutralize zram tweak by (#) and reboot.

now it s fine:

thks
[HTC Sensation] Yank555:
You're right !

Those files (init.post_boot.sh and init.qcom.post_boot.sh) are only flashed if you flash the kernel.

JP.
[HTC Sensation] Raven2k:
Yank - you're the man!

Yank,

I think it's about time you allow us users to thank you in more than just this little "Thanks" button.

You been so kind and helpful (and tolerant) to so many users - I think you deserve a donation as a token of our appreciation.

Take the money for a beer, forward the donation.. help children.. buy APPL stock and smash them after you gain 51% - I don't care :) But I think you've honestly earned it.
[HTC Sensation] zooster:
Guys I don't understand what's wrong with newer kernels, scrips lmk... Boh, I just know that with the same rom and config, b8 aroma v5 is fine. No lag and nothing, just sometime the old sense restart. But still better sometime a sense restart than a frequent lag that makes the phone unusable.

atm I'll sick with b8. You say it's not a kernel faul... So why old b8 works fine? Newer kernels solved sense restart but introduced lags for me.
[HTC Sensation] ianoob:
I just want to clarify, I have to be an idiot and not help my phone at all to induce lag. Normal use it is fine.

Downloading the patched now, some people can learn Yank lol
[HTC Sensation] Yank555:
Thanx ;)

You saying so is far more than enough thanx for me ! But anyway, I've added my paypal address to my account :o

JP.

---------- Post added at 10:14 PM ---------- Previous post was at 09:41 PM ----------

Hi,

I have updated both 008b10 and v2.0x Aroma installer.

The latest including the changelog can be found here : http://xdaforums.com/showpost.php?p=30057886&postcount=8310

JP.
[HTC Sensation] ianoob:
2.02 is running like a top Yank, even being dumb I can't kill RAM :D

Thank you for being patient, helping and posting the mods. And please thank your wife for understanding and allowing all the time spent here ;)
[HTC Sensation] benjdm:
I no longer have the lag. Per Yank555's advice, deleting the System Tuner Pro file from init.d got rid of it. Thanks Yank555 and faux123 and everyone!
[HTC Sensation] The Illest 619:
how can i confirm that zram is enabled or disabled?

ive used latest faux with aroma and flashed each way with and without, while checking init files and checking "free" and "cat proc/swaps" with terminal emulator. with each version im not seeing a difference? but its very possible im not looking at the right files or info.

edit: nvm. i was looking at another init.post_boot.sh file on my sd card left by my old arhd rom.
[HTC Sensation] Raven2k:
Yank, 71K71261BW8339642.

Thanks for all your help. v3 is awesome :)
[HTC Sensation] chrisw99:
That's good to hear, although how does this translate to a solution for those of us who've never used system tuner pro ?! I'm just installing yank v2.02, will report back later.
[HTC Sensation] MaDInDy:
I tested Faux v008b10 aroma v3 on MikroSense Lighting v1.1.4

It work perfect !! no lag and smooth.

Thanks for this version is awesome.
[HTC Sensation] johnson8cyl:
Has the md5 been updated for 8b10v3? Mine isn't even close
[HTC Sensation] ammenRA:
Guys, on my root i got "etc->system/etc folder", "d->sys/kernel/debug" and "sdcard->mnt/sdcard". is that normal, can i delete these folders?

Edit: it's not an empty folders but when i look into system and sys folder, i also have the etc and kernel/debug folder. so i think something has created it or it's like a shortcut folder.
[HTC Sensation] Yank555:
Yep, those are not folders, that are symlinks (symbolic links) put there by your ROM. They should have always been there !

Don't remove them, and don't delete anything in there, or you will break your system !

JP.

PS: More info on symlinks : http://en.wikipedia.org/wiki/Symbolic_link

---------- Post added at 03:44 PM ---------- Previous post was at 03:44 PM ----------

The one in the post is the same that is given by dev-host, and is the one I have once I download the file ...

--> fd69ed5656a0c37f2ab738f5895c1f42

Bad download ?

JP.
[HTC Sensation] johnson8cyl:
Thanks. Probably bad dl. Will dl from pc tomorrow.
[HTC Sensation] Dijkstra88:
B11 released on faux. Androidro. ms. Yank work to do :D :P

Verstuurd van mijn HTC Sensation Z710e met Tapatalk
[HTC Sensation] Yank555:
Hi,

Here's the AROMA installer version :

I have not had the time to test this, so be carefull and report back if it works fine ! Thanx !

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

Enjoy, JP.
[HTC Sensation] zooster:
Just tested b10 aroma v3, usual hell of lag. reverted back to b8 v5. So it's not a script or mod fault since that kernel works fine beside sense restarts. But as I said, better sense restarts than hell of lag.
[HTC Sensation] sp5it:
Working smooth
[HTC Sensation] blue-yu:
How to check current faux version? My phone is reporting:

3.0.39-MSM8660-Sense-Faux123-v008+

paul@ubuntu #17

SMP PREEMPT

What version is that?
[HTC Sensation] piimp:
It means its version 8 beta whatever....so make sure YOU know which beta you flashed :)

But just by looking at linux 3.0.39 its beta 9

Sent by my feau gee
[HTC Sensation] neikes:
I set in Aroma min freq. at 192 mhz but after boot its actually at 384 mhz. i think the init.d-script is overrided by init.qcom.post_boot.sh
[HTC Sensation] Yank555:
Not possible, it's replaced by the installer and mine's fine at 192...

What do you have in your "/system/etc/init.d" ?

Using SetCPU, System Tuner and thelike ?

JP.
[HTC Sensation] neikes:
im refeering to 8b11.

init.d : 40ext4tweaks, 98checksetings, 99complete, 99z_kernel

i checked every script but cant find the reason. Used almost every version of yours, never had behaviors like this.
[HTC Sensation] psycho1:
flashed 8 .10 yesterday with aroma hard swap.. worked great no lag.. thank you.. trying 8.11. but Yank version.. is the only difference 300 vs 320 ? thank you for your work. its very much appreciated

sent from seti alpha 6
[HTC Sensation] ajay83:
Just installed beta 11 through aroma.

Noticed: After boot, SENSE loaded up my own homescreen very quickly

Gallery loaded up very quickly

flicking through screens and settings was very nice/smooth

Not using any CPU apps, but my scripts in init.d are all as they should be with the setting I chose during Aroma installation.

Very nice Faux123 and Yank. Both you guys have done a GREAT job. Thank you!
[HTC Sensation] Yank555:
Strange ! Check what's in the 99z_kernel script...

Yes, basically the difference between faux and yank is GPU OC (320MHz, 300MHz).

Since including both in the same kernel is a bad thing to do (frequency scaling would be worse, since you'd loose one step), I repcompile with this change (plus a little newer fast charge, but only sysfs reporting, works the same in both).

JP.
[HTC Sensation] neikes:
after i cleared cache and dalvik, same problem (or not, cause phone is running) ;)

in 99z_kernel commands are right, but min freq. is in fact 384 mhz not 192 mhz.

using venom 1.1.0.
[HTC Sensation] Jackos:
I hope you mean 300Mhz for yank ;)
[HTC Sensation] neikes:
#!/system/bin/sh

#----------------------------------------------------

# Yank555.lu - generated kernel options init.d script

#----------------------------------------------------

# Script generated on 14/08/2012 at 23:25

#----------------------------------------------------

# - 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 1512000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo 1 > /sys/devices/system/cpu/cpu1/online

echo 1512000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

# - Set screen off max frequencies for both cores

echo 432000 > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq

echo 1 > /sys/devices/system/cpu/cpu1/online

echo 432000 > /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 1512000 > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_active_max_freq

# - Set intellidemand inactive max frequency

echo 810000 > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_inactive_max_freq

# - Set two-phase frequency for intellidemand

echo 810000 > /sys/devices/system/cpu/cpufreq/intellidemand/two_phase_freq

# - Set undervolting

echo "-75000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

# - Set GPU max frequency

echo 266667000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk

# - Disable USB forced fast charge

echo 0 > /sys/kernel/fast_charge/force_fast_charge

# - Disable Sweep2wake

echo 0 > /sys/android_touch/sweep2wake/s2w_switch

# - Hardswap by Yank555.lu not installed

# - zRam activation

if [ -e /sys/block/zram0/disksize ] ; then

busybox mkswap /dev/block/zram0

busybox swapon /dev/block/zram0

fi

# - Notification LED duration infinite

echo 0 > /sys/kernel/notification_leds/off_timer_multiplier

# - 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] Yank555:
No need to clear caches for a kernel, not linked ;)

Can you check what you get when typing this in a terminal :

uname -a

JP.

PS: Scritp looks fine.

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

Course !! Typo, sorry :D
[HTC Sensation] TheUntouchable:
Same here Yank, cpu min is 384MHz :) using your 2.11. System tuner tells it.
[HTC Sensation] zooster:
Just trying b11, so far "seems" to be less laggy but we'll see... in the meantime I can say that I have much memory less than b8 v5, 150Mb vs 70 , zram disabled in both.
[HTC Sensation] Hawke84:
Yes I'm seeing the same for free memory I'm on vipers sense 4 Rom. I haven't touched android low mem killer settings but doesn't make much difference anyway from my testing to the free mem.

What's your setup?
[HTC Sensation] Yank555:
Hmmm ... let me have a look at the 'new' init.post_boot.sh maybe...

JP.

---------- Post added at 10:59 PM ---------- Previous post was at 10:48 PM ----------

Hi,

The min frequency issue shoud be solved with the updated versions (008b11v2 and 2.12).

http://xdaforums.com/showpost.php?p=30216712&postcount=8419

JP.
[HTC Sensation] zooster:
ARHD 6.7.2, b11 aroma, battery %mod+ battery fix eqs+ hq camera 1.5+ soundboost+ jb animation