yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] the_real_fosgate:
Hi Show,

your 0.5 Kernel is really fast!!

But I have one question, when I scale your 0.5 to 1728 MHz the phone

is freezing after a few minutes, or bye running benchmarks.

With earlier Kernels (e.g. SebstianFM 1.30.2, or your Gingerbread Kernels)

i could always go to 1728 MHz, do you know what the problem can be?

Bye

Robert
[HTC Sensation] show-p1984:
I undervolted the kernel more per default with v0.5.

Fast fix: Increase voltage @ that frequency until the phone is stable.

The right way is to start with the first frequency above 1566 and work your way up with that above method.
[HTC Sensation] drms12:
There is a problem with the 0.5 kernel. cpu1 turn itself on after some time and won't go off until reboot.
[HTC Sensation] show-p1984:
That's not a problem with the kernel. Probably some mpdecision / thermald issues with some other kernels you installed before. (I know faux did rename mpdecision for example)

Flash over your rom without a wipe (you won't loose your data, but making a nandroid should still be a good idea) and then flash over bricked again.

This will get you the "real deal" ;)
[HTC Sensation] xdviper:
Hey show, is there anyway we can remove every single bit of the kernel and then flash the kernel without reinstalling the rom again?

Or we can install the stock HTC kernel and then install another custom kernel.
[HTC Sensation] SebastianFM:
Disabled vsync.
[HTC Sensation] show-p1984:
All kernel relevant removals are done by my install script already. (ofc you can flash over stock htc boot.img and then flash bricked again, that would additionally wipe out init.rc changes made by other kernels).

The problem is that romside changes by install scripts need to be reversed as well. Which is complicated because I have no idea who changed what on your rom ;)

In the case of mpdecision you would need to extract yours from your rom zip, push it to /system/bin/ and set chmod 755. But I don't know which other files were changed as well (or even if).

The fastest and cleanest solution would be to flash over your rom without wiping and then reflash bricked ;) (this will also reinstall the boot.img that came with your rom, 2 flies one... you get the point ^^)
[HTC Sensation] show-p1984:
As far as I know Vsync has nothing to do with data transfer speeds from and to the sdcard ;)
[HTC Sensation] shahkam:
Feedback :

First off its really fast or seems so and just wondering does custom kernel affects battery life alot ?? I flashed this because i had bad battery life ...

Edit : feeling quite lot of lags when waking phone abd unlocking lockscreen otherwise everything looks good ??
[HTC Sensation] bruce2728:
Vsync is to do with the gpu waiting for vertical sync of pixels before processing the next frame if I remember rightly
[HTC Sensation] show-p1984:
Ok, then lets take this to a higher level (in the hopes I only have to explain this once ^^):

In computer technology, Vsync will have the effect that the changes made to the image on your screen are kept in sync with the vertical synchronization pulse of your display (your display's Hz, to dumb it down :p). This avoids the Vsync tearing effect, better described as a visible discontinuity (part old, part new image).

Since the frame buffer of our graphic cards (all of them, even our socs framebuffer) imitates the dynamics of a cathode-ray display, the display will show a new frame on the top part of the screen and the old at the bottom if it is updated with a new frame while the image is being transmitted to the display.

Vsync avoids this behavior by timing the frame buffer fills with the vertical synchronization pulse and ensures that only one frame, and not two half of which one is newer than the other, can be seen.

That's why I am suprised by SebastianFM's statement ;)
[HTC Sensation] rawdealer:
Right :) because i haven't disabled vsync and my sd write speed is "just" 2.5mb less than his, but read speed is for 2mb better :D

The only difference is in 2D and 3D graphics, this is where vsync affects :)

And I'll say on Bricked for the rest of my Android life :)))) because benchs are just numbers, real feel is something different ;)
[HTC Sensation] runderekrun:
OKAY. Finally. That took way longer than it should have.

Video of multitouch working correctly on Sebastian's .3 kernel.

Video of multitouch not working correctly on Bricked .5 kernel.

The same switching of the inputs are happening on Bricked kernel and VI rom.
[HTC Sensation] rawdealer:
One more question....yesterday when i have installed this kernel I can't boot to recovery thru APM. I'm on CM9...yes, just with this kernel. I have to go in bootloader and then to recovery. Sorry if this has already been answered, I have used search, but obviously not with right words :D
[HTC Sensation] Bluewall:
Well, weird. I didn't think it's kernel related o_O

For me, it's totally about the ROM :p
[HTC Sensation] rawdealer:
Sure, but if I flash Sebastians or Faux kernel its just fine ;) and also with v0.4? what is related? :D
[HTC Sensation] show-p1984:
Version 0.4 has the same code changes as SebastianFM has up on his github repo, and some user told me it still has the multitouch issue. v0.5 has fauxs fix, which he posted here in this thread.

I can only assume that SebastianFM has forgotten to put some stuff up on his git. (or I made a mistake, well look at the commits and prove me wrong ;) )

That's probably luck. Afaik CM9 does not boot 100% into recovery when selecting it. (I read something about that on gerrit while reviewing the boot-to-recovery code changes.)
[HTC Sensation] rawdealer:
Thanks, but this was the first time that I got this issue, and I'm on CM9 some time :)
[HTC Sensation] runderekrun:
Thanks, just wanted to let you know it wasn't working.

I can back this up. When I was running CM9 it was completely random whether reboot to recovery would work.
[HTC Sensation] shahkam:
I wanna go back to stock kernel restoring my nanf backup should work ? I don't need to reflash stock kernel ??
[HTC Sensation] show-p1984:
Nandroid should restore /boot. But flashing the stock kernel again should be faster ;)

Extract it from the zip and then:

adb reboot bootloader
fastboot flash boot C:\path\to\boot.img
fastboot reboot

However, may I ask why you want to revert to stock? (just curious, maybe I can eliminate the switching reason)
[HTC Sensation] the_real_fosgate:
Hello,

can somebody post a frequency tabel with the stock voltages?

Thank you

Robert
[HTC Sensation] show-p1984:
Frequency/Voltage Table (from v0.5):

192000: 800000
310500: 825000
384000: 825000
432000: 850000
486000: 850000
540000: 875000
594000: 875000
648000: 900000
702000: 900000
756000: 925000
810000: 950000
864000: 975000
918000: 975000
972000: 1000000
1026000: 1000000
1080000: 1025000
1134000: 1025000
1188000: 1050000
1242000: 1075000
1296000: 1100000
1350000: 1125000
1404000: 1150000
1458000: 1150000
1512000: 1175000
1566000: 1175000
1620000: 1200000
1674000: 1225000
1728000: 1250000
1782000: 1275000
1836000: 1300000
1890000: 1325000
1944000: 1350000

It's in the second post now ;)
[HTC Sensation] shahkam:
I do not mean to disrepect you sir but i feel a little bit of lags when waking phone up or times to times switching through the homescreens idk if its because i didnt let it settle down properly :/
[HTC Sensation] show-p1984:
Lags???? :eek:

Now I am quite stunned. Did you consider this to be a rom issue? ;)

I am not going to discredit your rom, whichever you use, but I am on IC 5.1.6 and have no problems whatsoever...
[HTC Sensation] ziggy1001:
If screen off speed is 192 increase that to 384
[HTC Sensation] shahkam:
Well not lags but little bit stutters and i do not think its the rom it was all fine before however im liking battery life so ill let it settle down for one day and see how it goes really not meaning to disrespect your work sir my apology ...
[HTC Sensation] firaX:
I feel I am encountering the same "issue". IC 5.1.6, bricket 0.5. Wake up is sometimes slow, laggy áfter, for example when i pull down the bar or check whatsapp.
[HTC Sensation] show-p1984:
When the "stuttering" occurs please gimme adb shell free.
[HTC Sensation] shahkam:
Sure sir however how may i ?
[HTC Sensation] androidEVOlution:
will Wi-Fi work with the changes in the 3/24 build of OpenSensation?
[HTC Sensation] show-p1984:
As promised I reworked the 90zram code. It will be in the next release.

The script now recursively searches for busybox in /system, if found it uses that path to execute busybox (so we don't have to rely on the path, or the perhaps not set symlinks).

#!/system/bin/sh
# auto zram activation init script with busybox search and kernel check
# by show-p1984

echo "[90ZRAM]: Firing up /system/etc/init.d/90zram";

if [ ! -e /sys/block/zram0/disksize ] ; then
echo "[90ZRAM]: ERROR unable to find /sys/block/zram0/disksize";
echo "[90ZRAM]: Is this a ZRAM kernel?";
echo "[90ZRAM]: ZRAM NOT ACTIVATED. (404)";
else
#find busybox in /system
find /system/ -name 'busybox' | while read bblocation
do
echo "[90ZRAM]: busybox found in:" $bblocation;
done
if [ -e $bblocation ] ; then
echo "[90ZRAM]: Setting ZRAM disksize.";
echo $((100*1024*1024)) > /sys/block/zram0/disksize

echo "[90ZRAM]: Starting ZRAM...";
busybox mkswap /dev/block/zram0
busybox swapon /dev/block/zram0

echo "[90ZRAM]: ZRAM activated.";
else
echo "[90ZRAM]: ERROR! A recursive search in /system for busybox found nothing!";
echo "[90ZRAM]: Is busybox installed?";
echo "[90ZRAM]: ZRAM NOT ACTIVATED. (404)";
fi
fi

A successful run will look like this in logcat:

[90ZRAM]: Firing up /system/etc/init.d/90zram
[90ZRAM]: busybox found in: /system/xbin/busybox
[90ZRAM]: Setting ZRAM disksize.
[90ZRAM]: Starting ZRAM...
Setting up swapspace version 1, size = 104853504 bytes
UUID=dc491089-3d2a-4a50-bf6d-822108354774
swapon: /dev/block/zram0: Device or resource busy
[90ZRAM]: ZRAM activated.
[HTC Sensation] jesterpaul:
Saving kernel preferences over reboot issues

Having an annoying issue:

Using Bricked V5 kernel and Insert Coin Sense 4 Beta 12 ROM

Both STP and Antutu CPU Master do not save selected settings (max / min speed, voltages etc) over reboots, although this is selected (on STP have tried both "on boot completed" as well as init.d script options; and on CPU Master it's a tickbox as with SetCPU)

ONLY SetCPU saves my preferences over reboot.

I really want STP to work over restarts, so I can tweak voltages as well as clock speeds.

Can anyone tell me what might cause this, and how to overcome it?
[HTC Sensation] nicob:
the cd $bblocation won't make any difference if there is no ./ before the executeable... It will still use only the path variable
[HTC Sensation] nicob:
also I tried this in bash, and I get an answer:

boe=

if [ -e $boe ]; then echo "an answer";fi

which means in your case, even if $bblocation is empty, the -e (file exist) will return true ....
[HTC Sensation] show-p1984:
On ubuntu it won't Oo

I tested that. You tested that on your phone?
[HTC Sensation] nicob:
No just on ubuntu 11.10 (in bash and sh)... not on my phone...
[HTC Sensation] DanielF50:
does the new version of bricked still work on Gingerbread, or is it an ICS only kernel? :\
[HTC Sensation] show-p1984:
But this now works (sample code ^^)

#/system/bin/sh

mkdir ~/test
touch ~/test/test2
for i in 0 1
do
echo "Loop" $i;
find ~/test/ -name 'test2' | while read bblocation
do
echo "found in:" $bblocation;
if [ -e $bblocation ] && [ -n $bblocation ] ; then
echo "found!";
fi
done
if [ 1 -gt $i ] ; then
rm ~/test/test2
fi
done

rm -rf ~/test

Only ics ;)
[HTC Sensation] jesterpaul:
Are you saying that without boot.img init.rc modifications STP cannot restore preferences after a reboot at all; or only if in init.d script option is selected?

I thought that on boot completed would work even if init.d script option doesn't (but it doesn't). Makes me wonder how SetCPU manages to do it.
[HTC Sensation] show-p1984:
You have to discuss that with the creators of those apps ;)
[HTC Sensation] tineprogramming:
How to get USB otg working ?

Do we need to buy a otg cable or something to make it work ?
[HTC Sensation] rawdealer:
Now it's like this....I have flashed three other kernels now and with all I can go to recovery everytime....10/10 :)

So....it's not, like U always say, ROM related ;)
[HTC Sensation] HashTagHell:
Why not find another kernel? It's a known fact that many phones react differently to kernels even though to the naked eye they look exactly the same. I've been using the Bricked kernel as well and I have yet to see the "lag" that you are seeing.....and I use Launcher Pro (the heaviest cpu hog of them all).
[HTC Sensation] show-p1984:
afaik XE from HTC has an prettttttty old Sensation 2.3.3 kernel. Not 2.3.4. They only added a few audio enhancements.

I see it too, he is right, performance in 0.7 was way better. I am still fixing up the rest of the 3D Fix to make it more compatible with my code. The 0.851 beta currently has minor performance enhancements. I just released it to get rid of this annoying widget errors and the high battery usage / heat up.

That said, back to work :D
[HTC Sensation] deagleone:
@ Hoogles

try 0.851 beta fixes the laggyness @ my sensational wifes sensation
[HTC Sensation] skedone:
still got battery drain issue mate on the beta dropped 20% since i installed and its been doing nutting but sit on desk
[HTC Sensation] show-p1984:
Oo hard to believe your phone can drain 20% in 20 minutes Oo there must be something wrong with your battery calibration.

But even if it is so, I am not finished yet with fixing up the code, maybe a future update will fix that for you, but I srsly doubt that this is the kernels fault. Nobody else has that problem with this dimensions. (btw, it would require CPU+GPU to get stuck at max frequency + Display @ 100% brightness + Wifi + GPS to get such a high battery drain)
[HTC Sensation] HashTagHell:
I had to read everything over again. Apologies to Hoggles.

Just have seen you guys deal with a lot lately.

:cool:
[HTC Sensation] ziggimon:
My phone is also super smooth with 0.851.. super work show-p.
[HTC Sensation] Hoggles:
Oh interesting.... Thanks for the info Show. I didn't know the XE edition used a 2.3.3 kernel base. Good to know.

Ya Shady... Im a flashing fool. Make no mistake. Tried every ROM/kernel combo known to man....from Faux to Show to MDJ. Simply reporting my experience big fella ;)

Good work Show....always excited to find something new to play with on a near daily basis.

---------- Post added at 10:24 AM ---------- Previous post was at 10:21 AM ----------

Hehe. Thanks bro..... No worries. I'm as avid a follower of custom kernels as anyone. I simply don't post that much.

We're on the same team my friend :)
[HTC Sensation] skedone:
yeah i think u could be right lol its now gone from 30% to 36 % eat that your kernel charges the battery lol
[HTC Sensation] vincepg13:
So will your kernel have this great audio like stock xe? Because the musics so good I can't go back to anything else :P
[HTC Sensation] show-p1984:
Not everything comes from the kernel, I think only max volume was increased in it.

Try it out and tell me how it went. (to get back stock kernel, just reflash the entire rom without wiping. Unless baad is wiping the /data partition, you should be back to stock then with all your settings.)

EDIT:

Just asked baadnewz, he isn't wiping /data.
[HTC Sensation] deagleone:
12 ounces Sirloin... medium-well... baked beans... Potatoes and a some JinLing´s (for the dryout)...

the only thing i wanna have after this is a cameltoe... :D

@ show-p

the beta fixes the app issues (no FC for HTC-Love etc...)
[HTC Sensation] rawrfische:
Just reporting in. No issues here with .851. Thanks show!
[HTC Sensation] vlad48:
+1 after 40 mins tests
[HTC Sensation] show-p1984:
XDA does not allow me to thank you, so thank you for testing! ;)
[HTC Sensation] mgear356:
tested .851.. I gotten black screen and power button doesnt wake the phone up.

Imo, .07 was still smoother .. so back to .07 :P
[HTC Sensation] show-p1984:
Thanks, I am still testing. New beta should be here this evening or tomorrow morning ;)
[HTC Sensation] Catpoule:
hi show,

I told you i was getting some lagg troubles in v0.8 so i came back to v0.7 ...I just test your beta version and it seems ok, no more lag ... still testing it . will report soon ;)
[HTC Sensation] HashTagHell:
Haven't seen the black screen and the phone wakes up fine. That's why I say devices are affected differently. Weird issues. I can say that I have lost 30% battery in under an hour while I'm bowling.

Sent from the trunk of my car...don't just sit there, get HELP!!!
[HTC Sensation] rawrfische:
You're a maniac, show!

I've been meaning to ask, is there anything we can do on our own to get cpustats to show frequency history with Bricked? If not, it's no big deal. Was just wondering. :)
[HTC Sensation] show-p1984:
You will need a microusb -> USB connector and an USB Y-Cable to connect power to your phone.

Like these two:

ClickMe

First of all, I have nothing changed that would be even remotely connected to that.

Furthermore is this not designed as an AOSP kernel, hence there are bound to be bugs on an aosp rom (I still doubt it is a kernel bug).

I just flashed stock cm and wanted to try to boot into recovery 5 times. The first time it already failed, I rest my case. ;)
[HTC Sensation] rawdealer:
It's not a big deal, I just wanted you to know this ;) for me, this kernel works very gooood on CM9, it doesn't matter if it is kernel for sense roms :)))

Still waiting for AOSP version of your kernel with better results than this ;) ;) joke :D

btw....you can try my CM9 mod :) just don't use superwipe script ;)

http://htcfanboys.com/download/rawdealer/?action=view&file=3898

Hope you don't mind that I've post the link here.... :)
[HTC Sensation] show-p1984:
Nope, already restored my backup ;)

Need to develop on sense first before I can finally go to stock aosp :p (no cm9 no nothing. Pure aosp ^^)

Ah btw, would be nice if you could only link to my gcode downloads and not host a mirror of my files. Helps a lot against fragmentation, shows ppl the way to the issue tracker and my Downloads there usually give some more information due to the tags ;)
[HTC Sensation] kingears:
Working like a dream on Insertcoin 5.1.0, quadrant average score is 4000 @ 1.5 Ghz which is epic.

Thanks for all your hard work.
[HTC Sensation] tinker2000:
Thanks Show-P...Its been a while, glad you have the ICS kernels now: -

1VA24773X4857384U

---------- Post added at 11:19 AM ---------- Previous post was at 11:05 AM ----------

this is truly awesome with ICS 5.1.6 :)
[HTC Sensation] Bluewall:
Miui v4 with the latest v0.5 bricked. Nothing bad to report, all is butter smooth.

This is my dream configuration now :)

Envoyé depuis mon HTC Sensation XE with Beats Audio Z715e avec Tapatalk
[HTC Sensation] jafazec:
Sorry for being noobish about this,but how do I do this?:)
[HTC Sensation] SebastianFM:
I didn't forget.

I didn't talk about SD card scores but 2D and 3D graphics scores. With vsync enabled it is impossible to achieve such high scores.
[HTC Sensation] shiningarmor:
connect phone to usb

adb shell cat /proc/dmesg > /sdcard/dmesg.log
[HTC Sensation] jafazec:
Oh didnt realise it was an adb command! Thanks!:)
[HTC Sensation] ced357:
Thanks a lot show-p1984 !!!

My phone is flying and battery life seems to be good...
[HTC Sensation] show-p1984:
Thank you, very much appreciated!

##############################

SebastianFM:

on this:

you answered:

So don't blame me for understanding that you meant sd read/write speeds ^^
[HTC Sensation] framir:
Which governator is better for no lag for you? ;)

Thank you
[HTC Sensation] seandk:
Arf for my part, cpu1 never turn on ><

Envoyé depuis mon HTC Sensation XE with Beats Audio avec Tapatalk
[HTC Sensation] show-p1984:
yeah, rename mpdecision_xyz (or however faux and mike named it) back to mpdecision, set chmod 755 & reboot.

All will work just fine.
[HTC Sensation] seandk:
Where is it located ?

Envoyé depuis mon HTC Sensation XE with Beats Audio avec Tapatalk
[HTC Sensation] show-p1984:
/system/bin/

Also check for thermald.
[HTC Sensation] matt95:
will this work on the new insertcoin beta 13? i love this kernel :D
[HTC Sensation] show-p1984:
yes.

first post says: * Tested with Sense 4 ICS 4.0.3 (animations work, thx to virtuous)
[HTC Sensation] seandk:
It's already named mdpecision =\

And there's also thermald

Envoyé depuis mon HTC Sensation XE with Beats Audio avec Tapatalk
[HTC Sensation] show-p1984:
Have you checked the permissions?

If everything is set right, the second core will go online. (just later than usual, to conserve battery).

Test it by starting an antutu bench, then press Home and start System Tuner, you can see both cores @ max clock working like hell.

Also this is no chat. come @ irc if you want a step by step spoon feeding.
[HTC Sensation] matt95:
yes saw it but just to be sure ;)
[HTC Sensation] seandk:
Rebooted and seems to be ok

Anyway thanks for your attention, it's really nice :)

Envoyé depuis mon HTC Sensation XE with Beats Audio avec Tapatalk
[HTC Sensation] GoreTan:
extremely smooth on InsertCoin 5.1.7...thanks!
[HTC Sensation] marvelspires:
I had two reset

Virtuous and bricked 0.5
[HTC Sensation] Astug:
IGNORE.

10char
[HTC Sensation] show-p1984:
This post is so pointless, you could have just not made it.

There is every bit of information missing. In the future I will no longer react on such posts, because the time I spend on trying to dig the answer out of you could be better spent developing.

which rom?

sense version?

logs?

uv?

oc?

tried to raise voltage for every step you went above 1566Mhz?

This is the absolute minimum of information a post should contain -.-
[HTC Sensation] nicob:
Snow, take a look at, if you didn't already: https://github.com/SebastianFM/HTC-...mmit/bfdd94f96af03600dfc330604a08e01deb28d6c4

No pressure here, I am not using multitouch, and I love the current 0.5...

Except for onscreen battery life, which feels worse than the stock kernel (could be only my perception). Idle time is exceptional good!
[HTC Sensation] show-p1984:
Saw that, but thanks ;)

As to onscreen battery life: I am still balancing performance and battery life. I am currently exploring several ways how to safe battery while the screen is on.

Next version will also come in a battery friendlier version, so that you can choose ;)
[HTC Sensation] GabrielSousa:
with bricked kernel i had 62 hours ( 2 days and 11 hours ) of battery life ;)
[HTC Sensation] stuart0001:
Screen on time?
[HTC Sensation] show-p1984:
For Virtuous Inquisition users:

Fixed multitouch.

Bricked-3.0-v0.51-ics: Click me
[HTC Sensation] noodles2k:
What controls the light sensor's sampling time and frequency? My screen brightness changes almost instantly.

Also would it be possible to request the lagfree governor in future releases?
[HTC Sensation] show-p1984:
Kernel + Rom.

Since it works for me and others, might be your rom ;)
[HTC Sensation] ziggy1001:
As a matter of interest (no vilification/denigration etc intended)

What was screen-on time?
[HTC Sensation] nicob:
Wow, thats would be excellent!
[HTC Sensation] lampshade90:
oh man, cant wait for the next version and im excited what you are testing (something you say on twitter ;)) its like christmas :D
[HTC Sensation] runderekrun:
Thanks for your effort, but it still doesn't work. But check this, it doesn't work on sebastian's kernel version .4 either.

The plot thickens....
[HTC Sensation] sinisjekkt:
hey show!

Your kernel ist awesome! It is so blazing fast, that finally my sensation ist faster than me :-) But as a matter of fact i end up with 1-2 blackscreens a day and sometimes afterwards a random reboot. been having my sensation at 1,5 ghz for over a half year now and never had this. could it be a problem with the new kernel or is my setup the bug source? I am running on Insert Coin 5.1.7 and just refcently full wiped it.

greetings,

Sinisjekkt