yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] mrg02d:
Mine turns off.
[HTC Sensation] stuart0001:
Clearing dalvik and cache fixed this for me.
[HTC Sensation] mikef:
Thanks for replying, unfortunately that didn't fix it. I had already done it several times in the course of installing a couple mods and general troubleshooting, but I did it again right now to be sure and my screen just won't shut off now automatically with any of the timers. Not a big deal, the kernel works great otherwise and this issue will probably not reoccur with the released software versions in a few weeks, just hoping someone else had seen it and a possible solution.
[HTC Sensation] Hawke84:
Wrong forum. Ignore
[HTC Sensation] mikef:
too late..... :p
[HTC Sensation] dublinz:
After 13 hours I still have 52% of juice.... Nice....
[HTC Sensation] bigmase521:
Kernel is working great. One thing, I dunno if this is ROM-related (LeeDroid) or kernel but.. my wifi doesn't conform to it's sleep policy. I have it set to "never", but it turns off every time i turn the screen off :mad:. I've tried changing it to the other settings and back but it doesn't matter. My wifi won't stay on :(

Anyone else??
[HTC Sensation] mikef:
I remember seeing a post about that where the guy claimed that the descriptions were in reverse order than the buttons. He set it to "Always" and it worked like "Never". I dunno, never seemed to have a problem with it myself but that stuck in my memory since it was really odd.

Found it: here
[HTC Sensation] bigmase521:
WHAAAAAT? LOL! I just set mine to the "When screen off" option, will report back after a bit. Thanks!
[HTC Sensation] bigmase521:
Yuuup, that was it. Ugh.. lol. Thanks so much!
[HTC Sensation] mikef:
No problem, glad to help. That is a really weird issue though, I wonder if it is a bug in the leaked test ICS ROM that all the devs seem to be working from, but not everyone seems to be reporting it.
[HTC Sensation] ced357:
Thanks a lot sebastianFM...

My sensation with ICS is flying!
[HTC Sensation] omar302:
Hope testing results are positive!

Eagerly awaiting. Thanks again.
[HTC Sensation] xredshark:
Thank you SebastianFM! My Sensation is very happy! And I for use it! :-P
[HTC Sensation] :
BTW this isnt kernel 3.0
[HTC Sensation] bikerg:
Any idea which bluetooth stack version is in this kernel?

I would love to see the latest BlueZ 4.97 release included in a kernel.

http://www.bluez.org/bluez-497/
[HTC Sensation] bobsie41:
+1 Looking forward to this for my stock rooted 2.08.401.1 RUU install!
[HTC Sensation] SebastianFM:
Why not? This is hexedited 3.0.13 kernel from "leaked" HTC Sensation ICS ROM.
[HTC Sensation] :
Theres seems to be some stuff missing, the rom itself looks like its 2.3.5 with some android 4.0 slapped on top of it, not using latest adreno drivers, genlock missing, memory allocation lib missing, hwcomposer missing etc etc also not using kernel 3.0 cuz it has some specific stuff in there thats required to boot up, alot of modules missing

has anyone tried kernel 2.6.35 on the ics rom? if I had sensation I would give it a go
[HTC Sensation] mikef:
I don't know, I first tried adding the lines to an existing init.d script, 93zipalign, but it wouldn't work until I made a new script.
[HTC Sensation] nickporwal:
Very nice kernel SebastianFM. Thanks for your hard work. kernel is very smooth and touch is also working as expected.

I want to ask one thing. whenever i check in system tuner, it always shows 2nd core as offline. Is it fine or should i do something to make it online? I tried to run the applications in background but it just doesnt go online.
[HTC Sensation] amon87:
Second core turns on automatically when more processing power is needed. There's no need forcing second core to be online all the time. Only in some cases ;)
[HTC Sensation] jesterpaul:
Using it with sense 4 now

Sent from my awesome insert coined Sensation XE
[HTC Sensation] mox123:
2d and 3d overclock would be great seb, really waiting for that, thanks
[HTC Sensation] Jayedamina:
I tried the latest version on InsertCoin Beta 10 but animations are really slow.
[HTC Sensation] jesterpaul:
True, I turned my animations off.They're overrated IMHO. Bricked kernel if you want animations on IC sense 4 beta 10. I'll stick with SebastianFM as I want 1.78Ghz clock speed.

Sent from my awesome insert coined Sensation XE
[HTC Sensation] iba21:
you have to force the 1.2ghz in maxfreq

unistall setcpu, use only system tuner.. select 1.2ghz.. go to boot setting (right on governor), select re-apply setting, chose INIT.D

than reboot

this option creates a script file witch force core0-1 at 1.2ghz, it writes the system file at boot..

try.. you'll have 1.2 on cpu1 too when it turns on.. (use stability test app to force turn on core1)
[HTC Sensation] AmberLynn:
Proper call recording possible with this kernel?

Hello,

thanks for this adjusted kernel!

Does anyone know if we have now the possibility to have "proper" call recording (not through the Mic but like it should be) with this kernel (e.g. with "Total Recall")?

Thanks,

best regards

Amber
[HTC Sensation] liamstears:
Now that sounds like an excellent idea! Thanks!

EDIT: also to be honest I thought you would of done that with cpu so people can just overclock as that way you would only have to release 1 kernel with a default of 1.5 lol
[HTC Sensation] arifqur:
Yah. Makes a lot of sense.
[HTC Sensation] mox123:
seadersn kernel has oc 3d clock 320mhz

http://xdaforums.com/showthread.php?t=1556248
[HTC Sensation] x3nophobia:
im not sure whether this related to kernel or not, but after i flashed 1.8 kernel, im having issue with wifi, being inconsistent in connection
[HTC Sensation] gs111:
I'm running ARHD 6.5.2, and the Sebastian's 1.5ghz v1.30.2 kernel. Phone seems to work great...

I have to say though that I am glad to have ZRAM back! I always found with GB that it worked smoother for longer with zram enabled, and I'm hoping the same continues with ICS.
[HTC Sensation] :
Been running the 1836 kernel in 1.30.2, 1.30, and the last 1.20, and they've all been fantastic for me with the Prime series of ROMs (I've used all three). Never saw the multitouch issue, but that's probably because I don't do much gaming other than Angry Birds.

Thanks for a great kernel, Sebastian!
[HTC Sensation] orangestrawberry:
Any simple method for enabling zram?
[HTC Sensation] rpachecoh:
Read the first post.
[HTC Sensation] orangestrawberry:
Thanks. Where do we type these commands? Terminal or somewhere else? Normal I edit the init post boot file but obviously this is a different method
[HTC Sensation] rpachecoh:
Here you are ;)
[HTC Sensation] orangestrawberry:
Thanks very much. I missed zram. Glad to have it back
[HTC Sensation] B-Man2005:
does zram stick after reboot when doing the terminal thing on first post ?
[HTC Sensation] R-Rizzo:
Nope..
[HTC Sensation] SebastianFM:
But it isn't in the kernel. Just mpdecision daemon isn't designed properly by HTC. It should restore correct maximum CPU frequency when disables and enables second core.
[HTC Sensation] B-Man2005:
i could enable it ... but under used there is "0"

does it need time to fill up or something ?

:using ARHD newest version and supercharger script

is this a problem for zram ... is something preventing it to work right ?
[HTC Sensation] R-Rizzo:
Correct, it well say 0 until it had a moment to be used... If you go back to your terminal and type free you will notice some of it has been filled.
[HTC Sensation] feuerkette:
Hi,

To see if swap is working correct,I can also type free in terminal?earlier on GB I did this to see if swap partition works correct.
[HTC Sensation] B-Man2005:
opened 20 apps .... waited till now ... but is still shows "0" :(
[HTC Sensation] StuartTheFish:
I didn't have to wait or run any other apps, it simply appeared once I'd entered the command Sebastian put in the OP. Type in free on the terminal, and if it says 0 next to swap then it's not working, mine said something like 1036 as soon as I'd entered the command and then typed free to look, so it had already started using it. It climbed to 102396 within minutes. I wouldn't mind it doing it automatically on boot though.
[HTC Sensation] B-Man2005:
use script manager ... put the lines in such file as blablazram.

sh

and run it on boot with script manager

can anyone help with my "0" problem ?
[HTC Sensation] gs111:
If it shows 0, then it isn't working. Typing 'free' in terminal emulator does work too.

I put Seb's commands into the /system/etc/init.post_boot.sh script using Root Explorer, and it is loading at boot time without issues.
[HTC Sensation] mikef:
Try this post.
[HTC Sensation] StuartTheFish:
Didn't work for me unfortunately. I'll try the script manager method if I can find script manager.
[HTC Sensation] B-Man2005:
you also got "0" used ?
[HTC Sensation] StuartTheFish:
No, I'm saying using that link I quoted didn't work to force zram automatically on boot, might be because I'm on virtuous inquisition. If you look a few posts back, I posted saying zram enabled straight away for me using the script in Sebastian's first post on this thread.
[HTC Sensation] B-Man2005:
write back if script manager method worked
[HTC Sensation] StuartTheFish:
Will do if I can find script manager. Is it a separate app I need, or is it in system tuner pro somewhere?
[HTC Sensation] B-Man2005:
hhmmm simply download script manager app on market ... oh sorry play market oh no what was it google android play market ... ah f*ck it ^^

;)
[HTC Sensation] StuartTheFish:
So it's a separate app then, cheers! I'll get it now. :rolleyes:
[HTC Sensation] B-Man2005:
whats your rom config please

rom , other scripts and stuff that could be the fix or the solution /cause of my problem
[HTC Sensation] biglolz:
seeing much worse batt life under 1.30.2 @1.5g. no additional apps running, no wifi.
[HTC Sensation] B-Man2005:
i tried the method in the link ... you dont need script manager

copy the file into init.d remove .txt . change permissions to read and execute for everyone. change owner to 0 root and shell with root explorer and it works

but i still get 0 MB used :(

but it should work for you
[HTC Sensation] StuartTheFish:
Well it's working on boot with script manager. Copy the following command and save it as a txt file:

echo 104857600 > /sys/devices/virtual/block/zram0/disksize

busybox mkswap /dev/block/zram0

busybox swapon /dev/block/zram0

Then rename it to something like enablezram.sh and keep it somewhere on your SD card. Run script manager, find your .sh file, click on boot and su, then save. Exit the app and turn your phone off. On boot, it'll prompt you to allow script manager to have root access. Allow it and presto, automatic zram. Go to terminal and enter free to check.
[HTC Sensation] B-Man2005:
thats not my problem ! i got the script working ... and the swap size also changed from 123434 to 102334 or something ... the size of sebastian... but its not used

thats my problem ... it simply stays at 0
[HTC Sensation] StuartTheFish:
Ah, don't know then mate, it shows mine in use as and when it needs it. Only showed about 30 used when I looked, but if the script worked to show 102396 available then I wouldn't worry. If available showed as 0 then it hasn't worked, I thought that was what you were saying.
[HTC Sensation] B-Man2005:
no ... i have swap avialable ... it just not used :( damn
[HTC Sensation] StuartTheFish:
Hence why you asked about my ROM I assume? I'm using virtuous inquisition 4.0.0, sociali's "service pack", and the 1.782GHz 1.30.2 kernel.
[HTC Sensation] B-Man2005:
is this a sense 4 rom ?

i was asking cause i want to figure out wat is wrong whith my zram

and i found a guy who is on bricked kernel and has the same problem

my problem is maybe that i tried bricked kernel before too and now on sebastians ... maybe bricked kernel has some stuff left behind on my phone preventing zram to work :mad:
[HTC Sensation] StuartTheFish:
It's possible I suppose. You could always try backing up your current ROM, then wiping and flashing the bare ROM along with Sebastian's kernel, and see if zram will work then? If not, just restore your backup.

And no, virtuous inquisition is based on a sense 3.6 ics ROM, but with as much sense as possible ripped out of it in favour of aosp versions.
[HTC Sensation] joaquinf:
Batt life feedback

Battery life in v 1.30.2 @1.5 GHz is pretty good for me. This is my second charge cycle and things tend to stabilize with time. Now i'm getting the same batt i was having @ 1.2GHz stock kernel.

I'm not using SetCPU or System Tuner or anything to control the CPU. I've done a lot of browsing, game testing, whatsapp, forum reading with xda app and +3 hours of screen on.

Everything seems just fine, smooth as butter, zero lag and multitouch fixed. I'm a happy camper :D

Mods installed: Supersmooth rosie and HQ camera for ICS

Thanks for this awesome work!

EDIT: i'm also using an anker battery. Forgot to mention that :D
[HTC Sensation] joaquinf:
This is totally working ... thanks my friend :D
[HTC Sensation] StuartTheFish:
Didn't work for me, presumably because I'm on virtuous inquisition.
[HTC Sensation] noodles2k:
Anyone else still having multi-touch problems? I would read back a few posts, but I can't pinch to zoom :confused:.
[HTC Sensation] merwin:
Swappiness is probably set to 0. Not sure where to set that at the moment... I use systune to deal with overclocking, undervolting, and various kernel parameters like swappiness. I would recommend a swappiness of around 50 if you want it to be used a fair amount.
[HTC Sensation] nba1341:
When will kernel sources be released?
[HTC Sensation] B-Man2005:
it was released i think two days ago buddy
[HTC Sensation] x3nophobia:
after i flashed 1.8 kernel, my bt wont turn on, it stuck on turning on..
[HTC Sensation] B-Man2005:
did you clear cache and dalvic before ?
[HTC Sensation] noodles2k:
I think 60s about best - that starts swapping at 80% ram usage. Any lower and you'll get latency while swapping from ram.

Either add vm.swappiness = 60 to /etc/sysctrl.conf (i'm not sure if that's persistent?) or echo 60 > /proc/sys/vm/swappiness
[HTC Sensation] SebastianFM:
Not yet, I'll release complete source code today (March 22th).
[HTC Sensation] littleasian:
is there a normal 1.2 ghz kernel available? i'd rather not trade battery life for minuscule gain in performance as all i really use my phone for is sms and email
[HTC Sensation] PuscH:
Battery Life is pretty good with 1.5 ghz kernel for me, but no, there is no 1.2 ghz version of 1.30.x. Just use system tuner to underclock.
[HTC Sensation] noodles2k:
I'm still getting multi-touch errors, but different to the HTC ones. Sometimes pinch to zoom stops working and/or it sees touch0 as touch0 and touch1 at the same time :(.

edit : Just found an odd one, if you move t0 and t1 around a lot, esp close together, t3 will appear even if youre only using t0 and 1 and won't go untill both are released.
[HTC Sensation] SebastianFM:
Which app do you use to test multi-touch?
[HTC Sensation] -SourceCode-:
Try this - http://vi8.info/HTC-Sensation/Kernels/

There is a mention of Stock Kernel (hTC-Stock-Kernel-3.0.16-g9788208) there...

Please note that I HAVE NOT tested it! So try it at your own risk.

Cheers.
[HTC Sensation] noodles2k:
Originally Firefox - became suspicious when pinching stopped working, then replicated it in ASI and just now with the Sense carousel :o
[HTC Sensation] alireza_simkesh:
Sebastian, thanks a lot for fixing the multi-touch problem!

could you please release this same kernel with 1.2 Ghz speed (stock speed)?
[HTC Sensation] HunnyBearLewis:
I'm not having a go at you, just a suggestion: how about setting the min/max frequencies yourself? I use System Tuner Pro, personally. There's also SetCPU, No Frills CPU etc etc.
[HTC Sensation] geoffcorey:
It's the various tweaks/fixed that people would like to see, as reinventing the wheel is a waste of everyone's time and effort.
[HTC Sensation] alireza_simkesh:
that could work too. but i was just wondering if sebastian would be able too release one with stock frequency but solved multi-touch issue.
[HTC Sensation] noodles2k:
that's why we have api's ;)
[HTC Sensation] broncogr:
Thread cleaned.

Stay on Topic
[HTC Sensation] rmk40:
Neither standard nor dalvik cache have anything to with the kernel. Zero. Zip. Zilch. Nadda. There is no debating this.

Please do your part to help stop the spread of such misinformation.
[HTC Sensation] kittykat858:
before my kernel thread for HTC EVO 3D got trashed by trolls - then deleted, there were over 50 posts stating and confirming that wiping before AND AFTER got rid of ALL issues people were having...yes, i mean ALL issues...

not only with my kernel, but other kernels as well for this device.
[HTC Sensation] Eternity-3D:
explain to me good sir why is it that a phone (after flashing a kernel can be very unstable with random reboots heating up ect ect) then all of these issues are magically resolved when one clears cache and dalvik??????
[HTC Sensation] noodles2k:
permissions perchance? :p
[HTC Sensation] drms12:
Please share the touch screen fix source!
[HTC Sensation] Tigermoto:
Is it that hard to look back

http://xdaforums.com/showpost.php?p=23899522&postcount=1847
[HTC Sensation] PaulGiz:
Everybody who put a script in system/etc/init.d folder, but didn't get swap – don't forget you need to change permissions to allow the system to execute the code.

Permissions should be set to rwx-rw-rw. If they are not, the script will not be executed, and you will not have zram enabled, no matter how hard you type or how many times you reboot.

Simple.

P.
[HTC Sensation] B-Man2005:
and also think about the swappiness command for those who run supercharger ... supercharger disables swap by default ... so init.d supercharger script swappiness="0-60" or something

i also heard about other roms disabling it ... so if you have swap enabled and nothing is used by system. search for that !

period :D
[HTC Sensation] StuartTheFish:
My permissions were all correct, it simply didn't work with my ROM.
[HTC Sensation] boomboomer:
I've used Socali's repack of sebastian's kernel with a zram script for VI ROM and it now shows as active using the free command in terminal. The permissions for this script is rwx r-x r-x

I also have two other new scripts in init.d, installed by system tuner - one which reduces the the CPU clock and the other increases the SD cache - but only the cpu script seems to be working and this takes a while to work after booting? I've checked the permissions and both show rwx rwx rwx.

The SD script is there, with the right values but if I look via system tuner the cache still shows as 128k, not 3024k after booting.

I noticed these new scripts are named 99pmwcpu and 99pmwsdcache - does the naming effect how they are executed? e.g. If I named the cpu to 98pmwcpu then both would be executed?

Thanks.
[HTC Sensation] B-Man2005:
at first i would try in terminal to check if swap is working ...

at first i would disable swap then reenable it ...

after that ... check free to see if its working

then you know directly if it works

i dont think its the problem of the script

some roms deaktivate compcache and zram
[HTC Sensation] pekaka:
nice version,will try it now!thanks
[HTC Sensation] SebastianFM:
I added GPU OC and I modified Adreno220 drivers a little. By default maximum GPU frequency in 3D mode is set to 300 MHz, you can increase it to 320 MHz using command: echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk .
[HTC Sensation] boomboomer:
The swap is working fine, it's the sd cache script that doesn't appear to be executed. Is there a terminal command to check the sd cache?

Does the naming of scripts change their execution priority in the init.d directory?
[HTC Sensation] seadersn:
for giving correct permissions for init.d scripts commands are:

su

chown 0.2000 /system/etc/init.d/*

chmod 0755 /system/etc/init.d/*

in terminal emulator; after that the scripts will execute just fine. test it and report, pls :)

seb, i'm forking / using your source code for my kernel (which won't be as overloaded as faux / bricked kernel but optimized for functionality, as yours is too :)) if it's ok for you? or are you able to supply just touchscreen fix? it's included in your initial commit so no chance to find it as separate fix / commit :(
[HTC Sensation] mox123:
thanks seb you are the man, im just flashing the new kernel now with oc gpu!!
[HTC Sensation] drms12:
Thanks sebastian. It will be nice from you to update the kernel to 3.0.25.
[HTC Sensation] Dijkstra88:
Thank you Sebastian! will flash the new kernel now:D Are there any plans to OC 3.0.25 kernel?, if so I'm thrilled to use that one :D
[HTC Sensation] rwleigh:
Thanks for the update Sebastian. :)
[HTC Sensation] B-Man2005:
hi seb

since you are working with the andreno drivers and overclocking gpu

could you maybe find out why FPSE running so terrible on sensation with opengl plugin activated ?

it runs even faster on andreno 200 devices like HTC HD2 ... tegra 2 devies running better too.

the only device that has a terrible and half as high framerate and glitches is the sensation.

i can send you the files if you want. otherwise fpse is in the market and the opengl plugin url is also in the market.

please!! :)

thanks
[HTC Sensation] vysus:
Just flashed v1.30.3 1512 MHz over RCMix 7.1, phone stuck on green HTC.
[HTC Sensation] shark147:
Hi,

This Kernel is only for ICS ROM NO GB how to RCMIX 7.1

Ciao,

Questo Kernel è solo per ICS e no per GB come la RCMIX 7.1
[HTC Sensation] vysus:
You're welcome, this time I forgot the "read read read" jingle :)
[HTC Sensation] boomboomer:
Thanks for the suggestion, tried the commands and rebooted, the zram and CPU scripts seem to work fine but the SD cache change just doesn't seem to take. In SD tools the cache is back to 128k after a reboot, the 3024 setting which doubles my read speed has to be manually set in system tuner after each boot.

The contents of the SD script are below, anyone see a flaw?

#!/system/bin/sh

if [ ! -f /sys/block/mmcblk0/queue/scheduler]

then

sleep 60

fi

echo "null" > /sys/block/mmcblk0/queue/scheduler

if [ ! -f /sys/block/mmcblk1/queue/scheduler]

then

sleep 60

fi

echo "null" > /sys/block/mmcblk1/queue/scheduler

if [ ! -f /sys/block/mmcblk1/queue/scheduler]

then

sleep 60

fi

echo "null" > /sys/block/mmcblk1/queue/scheduler

if [ ! -f /sys/block/mmcblk0/queue/read_ahead_kb]

then

sleep 60

fi

echo "3072" > /sys/block/mmcblk0/queue/read_ahead_kb

if [ ! -f /sys/block/mmcblk1/queue/read_ahead_kb]

then

sleep 60

fi

echo "3072" > /sys/block/mmcblk1/queue/read_ahead_kb

if [ ! -f /sys/devices/virtual/bdi/179:0/read_ahead_kb]

then

sleep 60

fi

echo "3072" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
[HTC Sensation] mputaturo:
Just flashed v1.30.3 1620 MHz over Android Revolution HD 6.5.2 XE. Running Antutu Benchmark I have a little impruvement over v1.30.2 1620 MHz.

Well done Sebastian.
[HTC Sensation] zimphishmonger:
Have the EXACT same issue, havent found that scripts or settings in System Tuner stick on reboot.
[HTC Sensation] asesino:
Any chance for UV support?Thank you for your work!
[HTC Sensation] StuartTheFish:
Download script manager from the market, and make it automatically load your extra scripts on boot. Save your script as a txt file, then change the extension to .sh and keep it somewhere on your SD card. Then use script manager to run it on boot.
[HTC Sensation] elmalote:
Would be great for this amazing kernel :-)
[HTC Sensation] Astug:
Yeah, that would make it perfect!

Thanks again for the new update with GPU OC.
[HTC Sensation] StuartTheFish:
It's been proven to give no real benefit, all it does is make it more unstable.
[HTC Sensation] asesino:
It could be.But personally I never had any issues undervolting any of my phones and they have been as stable as they get.
[HTC Sensation] StuartTheFish:
It depends how low you go. And can you say for certain you got better battery life? When mine was undervolted I saw no gains whatsoever really.