yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Sultanxda:
R2 Progress Update

I was able to build using Faux's kernel as a base, so r2 will be based off of Faux (no Linaro though :(). Right now with Faux's stock configuration it has

no lag

. Once I add my plethora of changes it'll be even faster :) It will still have all the features mentioned in the OP
[HTC Sensation] remcoros:
I have used PYD-X kernel before, without problems; on ViperS. So maybe it is not the base what's causing the problems.
[HTC Sensation] Sultanxda:
XxXPachaXxX was the one who told me that the problem is coming from the source. He said that his current PYD-X release didn't get the bug (his current PYD-X release was made before the bug appeared).
[HTC Sensation] almostthere:
Hope you find a work around for it as was excited to try this out after being impressed by your kernel for AOSP/AOKP and the gaming performance it yielded. Tried flashing it this morning and initially was laggy but after editing the 99sultan-kernel, it was totally unbootable whereby rosie crashed and forced a reboot
[HTC Sensation] Sultanxda:
R2 Released

After 10 hours of work, I've finally finished r2. R2 is now based off of Faux123's latest 3.0.56 kernel and has all the features stated in the OP (all the GPU overclocks, etc.). I started from scratch so r2 is a completely new kernel. With r2 your Sensation should now be flying :D. I promise it will not disappoint. Please give feedback on how it works! Enjoy!
[HTC Sensation] almostthere:
think I found the cause of many bootloops on Venom 1.6.0. Guys before flashing, disable Venom Tweak's CPU settings to Boot up with as that seems to interfere with this kernel actually. Will let you know after I can get the darned thing to be disabled and proceed to run a few tests with the settings tweaked using Kernel Tuner

Edit: so far UI itself is the smoothest I've felt so far and running Antutu actually does finally try to complete but if you notice the screenshot below, SD card testing got dropped out. Anyone knows the reason why? Settings are as follows

Min clock 384Mhz, Max Clock 1620Mhz Lagefree on both cores, 700mV, OOM Multitask (set in Venom Tweaks), 2048kb Deadline
[HTC Sensation] lallolu:
How did you get that much in RAM value? And my CPU is not tested to the fullest, it is always in the min value of 384Mhz
[HTC Sensation] Sultanxda:
Ignore what Antutu says your CPU is running at, it isn't always correct. If your CPU was really running at 384MHz then your phone would be so laggy that you would barely be able to use it.
[HTC Sensation] Super-Android:
Review:

1) Flashed r2, was previously on faux, so i believed it is a huge challenge for dis kernel to match up with the performance meter set by faux.

And I am not dissapointed so far. Sense UI 4.1 --> Smooth as butter. Initial lag when i restart the phones, happens with faux too...

2) Gaming: NFS most wanted and MC 4 runs smoohly without any visible lag wt so ever...!! Satisfied and happy.

3) Battery life" Now dis kernel is based on faux, nd faux has history of less battery back up because both the core will always be online. But i enabled mpdecision, which should help me saving battery, thats what i believe.

Dis kernel will be a clear winner if it lets my phone to be stable.. More review on battery and other aspects after 24 hours of use,.

Happy Flashing Guys..!!

Suggestion for future release:

1) Aroma version where user can select various value of two phase and sampling freq and all.

2) Aroma option to include sweep to wake and other feature. (Now we have to manually enable it)

3) More concentration as how to improve the battery lifewithout compromising with the performance aspect.

​

I rated this kernel with 5 star.. Least i can do for the developers who spends so much hours in building roms and kernels for us, free of cost.
[HTC Sensation] axetilen:
AROMA :)

Can I do something
[HTC Sensation] XeloOw:
You have to do Something !!! :)
[HTC Sensation] Sultanxda:
Try wiping cache and dalvik cache. The kernel can't really affect something like that, and animations work fine for me.
[HTC Sensation] kamilmirza:
why

badass

governor is slow?

whenever i switch between apps, it takes 3-5 seconds to switch? (with stock minfree)

or when i open an app, it take considerable amount of time

is it normal?

intellidemand is quite smooth :good: , but not so friendly with the battery :(
[HTC Sensation] Sultanxda:
Yes, that's normal. Badass isn't designed for speed.
[HTC Sensation] Balikesirli:
Always I wiped dalvik cache and format cache.

That´s not the problem.

Now, I noticed that Power Efficiency turns on by itself.

power efficiency is disabling animations by default settings.

I don´t know why power efficiency turns on by itself.

I remove Kernel and install again.

And my Phone starts with MIN Brightness and disabled Animitions. -> Power Efficiency is on.

I noticed that already after first installation of your kernel.

Your Kenel installation enable Power Efficiency?
[HTC Sensation] Sultanxda:
None of that should be happening... My kernel does not enable power efficiency. What ROM are you using? I'm on ViperS and nothing like that happens.
[HTC Sensation] kamilmirza:
please confirm
[HTC Sensation] Sultanxda:
I saw that. Haven't gotten around to comparing the battery temp with another kernel. I haven't changed anything in the kernel to do with battery temperature, though.

UPDATE: I just installed Faux's kernel and the battery temperature says 11.8C with Faux, so there is nothing to fix...
[HTC Sensation] Balikesirli:
Do You mean battery temperature in kernel Tuner?

I think that not work correctly.

I one setting it shows 11.8C, but i have an Anker battery that dont have a Integrated temperature sensor..

Edit: battery temperature changed from 11.6 c Till 12.0 c..

Gesendet von meinem HTC Sensation Z710e mit Tapatalk 2
[HTC Sensation] Sultanxda:
r9b2 released

In r9b2 I've updated the kernel to 3.0.58 (thank you, DragunKorr), added GPU underclocking, switched to -O2 optimization, added smartassV2, and added something to see if the CPU core problems would disappear. Read the changelog for all the details. Please give feedback :) Have fun! :D
[HTC Sensation] d.kuyt:
Updated to r9b2 from r9b1, I don't use GPU underclock and I didn't have any from previous version, so I don't really test the new features. No reboots/lag so far. And the speed of r9b2 is more or less similar to r9b1, will see how's the battery life and speed after awhile :)

Sent from my HTC Sensation Z710e
[HTC Sensation] Harbir:
UPDATED to latest r9b2 and it is good to know that smartassv2 governor is included NICE:good:
[HTC Sensation] kamilmirza:
i've tried Sebastian and Bricked kernel, they show around 25 C :silly:
[HTC Sensation] Harbir:
i think it must be country related like low in cold countries and high in warm countries i have around 11.3 c temperature
[HTC Sensation] :
hello, why smartassv2 in a dualcore?
[HTC Sensation] Sultanxda:
It was requested in my other kernel's thread, so I decided to add it to this kernel as well.
[HTC Sensation] madkai:
AFAIK it doesn´t make sense on a dualcore, right?
[HTC Sensation] XeloOw:
In 2xCore devices we should try Lionheart

Envoyé depuis mon HTC Sensation Z710e avec Tapatalk
[HTC Sensation] behnamsarhandi:
i don't think that !

best for 2 core is LULZACTIVE :cowboy:
[HTC Sensation] XeloOw:
It's the governor i never seen in any Sense kernel

Envoyé depuis mon HTC Sensation Z710e avec Tapatalk
[HTC Sensation] Sultanxda:
With mpdecision in theory it should work just fine. I'll open a poll today asking which 2 cpu governors should be added.
[HTC Sensation] Harbir:
Add now it only takes 1 min ;)
[HTC Sensation] Sultanxda:
I'm at school and I don't remember the entire list of governors I can add.
[HTC Sensation] :
smartass v2 is structured, for singlecore. then do as you wish
[HTC Sensation] Sultanxda:
There will be a poll where it will be decided by the users :) it wouldn't be right for me to decide what governors are chosen to be put in a kernel for the people
[HTC Sensation] kamilmirza:
2D GPU frequencies are not changing from 200MHz, not even after reboot on

r8

using Kernel Tuner

dont tell me i have to reflash the kernel again :/
[HTC Sensation] Sultanxda:
Look at the picture I attached. Kernel Tuner shows 160MHz as an available 2D frequency (and 228MHz & 200MHz)
[HTC Sensation] kamilmirza:
thanks but they do not change when i select any of them

i selected 200MHz from Aroma and it stays there even after changing via Kernel Tuner :(
[HTC Sensation] Sultanxda:
For some reason, Kernel Tuner doesn't control the GPU well (one time, when I selected 266MHz for the 2D GPU, it set it to 200MHz). If you selected 200MHz from Aroma then it's working. Uninstall Kernel Tuner, reboot, open a terminal, and type cat /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/gpuclk

If the output is 200000000 then your 2D GPU is successfully running at 200MHz.
[HTC Sensation] Sultanxda:
Poll Added

A poll has been added that will decide what 2 CPU governors will be added. Please be sure to vote! :)

ALSO: Are people still having problems with mpdecision/getting the 2nd CPU core online? I really need to know because if your 2nd CPU core still isn't coming online then I'll replace the kernel based mpdecision with non kernel based mpdecision (the same as SebastianFM).
[HTC Sensation] Balikesirli:
It works for me fine, too :)

Nice work

Gesendet von meinem HTC Sensation Z710e mit Tapatalk 2
[HTC Sensation] saruba:
Does this kernel have support for sixaxis (hic) like pyd x?

If yes ill intall it right now!

Sent from my HTC Sensation 4G using Xparent Red Tapatalk 2
[HTC Sensation] UndaTheFumDave:
mpdecision

My mpdecision works fine for me, Better than with other kernels i find?

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

Now tht is what i call a profile picture. Yes indeed

---------- Post added at 11:24 AM ---------- Previous post was at 10:45 AM ----------

I thought OndemandX was almost the same as badass governor, Iv compared them and there almost identical? can any1 else confirm this or explain the difference. Thanks
[HTC Sensation] axetilen:
I voted for Ondemandx and SmartassV2

I'm also excited about luizactive but I have never used it so I can't say anything

beware, adding to many governors can make your kernel a bit messed up

try to to simplify it as much as you can, remove unnecessary stuffs

for example, KSM, I dont think this feature is useful for most users

in the poll, I see Brazillianwax :eek:

this gov will burn your battery quicky cuz it is quite aggressive

I dont think this gov is good for battery life so I highly dont recommend it
[HTC Sensation] kamilmirza:
mpdecision is working just fine on r8 :)

I voted on lulzactive and smartassV2

Sent from my HTC Sensation Z710e
[HTC Sensation] Sultanxda:
That's why I'm only adding 2 governors :) the poll has all the possible governors I can add. If the poll didn't then it would be an unfair poll.
[HTC Sensation] Sultanxda:
I'm not sure as I have no way to test that. If you could test that then that would be great. If it doesn't work then it's probably because I must've removed something to do with it (and I can easily add it back).
[HTC Sensation] rq005:
I flashed this kernel over PYD and lost init.d support. I used the aroma version and the scripts are not loaded.

Do i have to flash a specific boot.img?

Thanks!
[HTC Sensation] UndaTheFumDave:
Sounds very strange as i thought init.d is controlled by the ramdisk of the rom not the kernel. Geuss u could try and reflash ur rom boot.img then reflash Sultan kernel. Thats all i can say as iv never encountered this problem with sultan B4. Good luck and hope u sort it out.
[HTC Sensation] axetilen:
it depends on the ROM

some ROMs need a script to trigger init.d scripts to run

I remember that android1-7 added an sh script to trigger it after our discussion :confused:
[HTC Sensation] rq005:
Im on ARHD btw. I flashed faux boot.img and still cant make init.d to work

Enviado desde mi HTC Sensation XE with Beats Audio usando Tapatalk 2
[HTC Sensation] axetilen:
download and copy this file to /system/etc

do a reboot and init.d folder MUST work again

https://www.dropbox.com/s/9uklpxg7jc0bzt4/init.post_boot.sh
[HTC Sensation] Sultanxda:
Axetilen, I just tested it and it turns out that items in the /system/etc folder ARE NOT automatically run on boot. I added a script to /system/etc after we discussed it to execute init.d. The script is init.sultan.sh
[HTC Sensation] rq005:
Thanks! There's a script called init.sultan.sh with the same content. Should i remove it?
[HTC Sensation] axetilen:
I dont know exactly but I know that there are 3 files which will 100% run

post_boot.sh -> this one is not commonly seen

init.qcom.post_boot.sh

init.post_boot.sh

editted:

I think the script will run with these lines:

(these scripts that I listed all have these 2 lines)

only the first script does not have

#!/system/bin/sh

target=`getprop ro.board.platform`

..................
................
...........
[HTC Sensation] rq005:
So should i add that line to init.sultan or should i add post boot?

Enviado desde mi HTC Sensation XE with Beats Audio usando Tapatalk 2
[HTC Sensation] axetilen:
I suggest you to delete sultan....sh one because it will be a trash for the ROM

just use the existed scripts that I listed

edit them

dont create any other script

download my link copy it system/etc

it contains initd executing script on boot
[HTC Sensation] rq005:
Working now! Thanks! I will try USB OTG and HDMI support later. I have to leave now...

Edit. Im currently using intellidenand governor and i noticed thar my battery was draining too fast. I opened kernel tuner and realiced that cpu0 is running at 100% almost all the time.
[HTC Sensation] UndaTheFumDave:
Try adding this 2 the end of init.post.boot.sh or init.qcom.post.boot.sh script

# Execute /system/etc/init.d scripts on boot

sysrw

chgrp -R 2000 /system/etc/init.d;

chmod -R 755 /system/etc/init.d;

sysro

/system/xbin/busybox run-parts /system/etc/init.d

Should help run the init.d scripts. Also once added change permission of the scripts above to 755
[HTC Sensation] Sultanxda:
Re: [KERNEL][SENSE][THE FASTEST][Linux 3.0.58][Aroma] Sultan kernel [r9b2 1/15/2013]

Enable mpdecision off you want cpu1 to be turned off or on depending on system load. Cpu0 is the boot cpu and can never be turned off on any device. If it turned off then the kernel would panic and your phone would reboot.
[HTC Sensation] rq005:
Re: [KERNEL][SENSE][THE FASTEST][Linux 3.0.58][Aroma] Sultan kernel [r9b2 1/15/2013]

Thanks! I already solved it by coping post init axetilen uploaded for me.

I think the problem was that last time i flashed the rom, i also flashed PYD kernel that doesnt use post init and init.sultan seems not to be working.

Enviado desde mi HTC Sensation XE with Beats Audio usando Tapatalk 2
[HTC Sensation] Sultanxda:
Sixaxis works? If so, then I'll add this information to the OP.
[HTC Sensation] rq005:
What i ment was that cpu0 was working at 100% all the time but after a while it stabilized. Maybe because it was the first running the kernel or there were too many apps running at startup until they were killed.

I will try wiimote and report.
[HTC Sensation] chrisrj28:
Re: [KERNEL][SENSE][THE FASTEST][Linux 3.0.58][Aroma] Sultan kernel [r9b2 1/15/2013]

Fyi Wiimote will not work with Sense roms, kinda sucks that way
[HTC Sensation] rq005:
Re: [KERNEL][SENSE][THE FASTEST][Linux 3.0.58][Aroma] Sultan kernel [r9b2 1/15/2013]

I manged to make it work with PYD and usb/bt joycenter but its quite unstable

Enviado desde mi HTC Sensation XE with Beats Audio usando Tapatalk 2
[HTC Sensation] resadent:
Just flashed your kernel, coming from latest PYDX because I was having horrible stability problems... Using baddass and mpdecision, so far so good! Snappy as hell. EDIT: also battery-friendly!
[HTC Sensation] john_matrix:
android1234567,

Do you plan to add some Bluetooth stuff like AVRCP, rSAP, Sixaxis,... support on your kernel?

Thanks!
[HTC Sensation] rq005:
Re: [KERNEL][SENSE][THE FASTEST][Linux 3.0.58][Aroma] Sultan kernel [r9b2 1/15/2013]

Im using latest beta and usb otg is not working...

Enviado desde mi HTC Sensation XE with Beats Audio usando Tapatalk 2
[HTC Sensation] Sultanxda:
This kernel DEFINITELY has USB OTG support, and it's a Sense kernel so it should be working. Also, my kernel is based of of Faux, and I don't think USB OTG is broken in Faux. Did you try using a different ROM? Also, can you try SebastianFM's kernel and see if USB OTG works with that?
[HTC Sensation] dda_krasnodar:
Re: [KERNEL][SENSE][THE FASTEST][Linux 3.0.58][Aroma] Sultan kernel [r9b2 1/15/2013]

Faux kernel as this one did not support OTG.
[HTC Sensation] rq005:
Re: [KERNEL][SENSE][THE FASTEST][Linux 3.0.58][Aroma] Sultan kernel [r9b2 1/15/2013]

You are right, only R1 is based on PYD. But OP is a little confusing since it says USB OTG is supported.

Enviado desde mi HTC Sensation XE with Beats Audio usando Tapatalk 2
[HTC Sensation] Sultanxda:
Faux's kernel has USB OTG working but mine doesn't, even though mine is based off of Faux?
[HTC Sensation] paranull:
it's been said the future relase will be relased on 1/18 and today is 1/19!!!! great features for your next kernel btw :)
[HTC Sensation] Sultanxda:
Whoops :silly: I haven't done a new release yet because I want to see what'll happen when I merge the upstream changes from korg/linux-3.0.y

There are over 100 files that are modified and I have to go through each and every one of them to resolve the merge conflicts (takes forever). I'll probably have a new release today since it's the weekend and I have more time :)

EDIT: Well, merging ALL the upstream changes from korg/linux-3.0.y wasn't the best of ideas :silly: also, I'm pretty sure there were over 1,000 files changed
[HTC Sensation] MS Gray Man:
Well technically it would be just fine for you to determine NOT to put something into your kernel that is not designed to be used where your kernel is used.

Just because someone wants something doesn't mean it will work or work well...

What you do with your kernel reflects on you as a developer and your product, in this case your kernel.

The people you are asking in many cases have NO IDEA how any of this works... Some do... But many if not most do not.

So just letting "the people" decide is not always the best approach as a dev.

Not really trying to tell you how to run your business, just some thoughts and advice.
[HTC Sensation] shamshir:
i think i read somewhere that USB OTG supports requires kernel support as well as hardware support(board). HTC Sensation doesn't have the board which supports USB OTG...How can it work even if the kernel supports it?

Your kernel is awesome... keep up the best work :)
[HTC Sensation] Sultanxda:
Note that I wrote governors; I'm not letting people decide the more advanced features that can have severe consequences (a good example is the GCC optimization level). I'm just letting them decide what governors they want. I'm not going to be using 7 governors at once; all those governors are for people who want them/like them, therefore there is no reason for me to be the one choosing the governors ;).

The Sensation's board supports USB OTG but the board cannot supply the power to the device you're trying to connect; for USB OTG to work you need a power cable and the USB OTG cable. Here's a picture I found of the Sensation using USB OTG in an XDA article:

The article can be found here: http://www.xda-developers.com/android/usb-otg-for-the-htc-sensation-on-ics-sense-roms/
[HTC Sensation] remcoros:
USB On-The-Go... but you need a wall socket power supply. That almost completely defies the purpose.

That image has put a big smile on my face. Tough, it is correct.
[HTC Sensation] Sultanxda:
r9 released

R9 has been released! Took forever... I'm tired so read the changelog for the details. BTW, I've added smartassV2 and ondemandx but if a different governor in the poll gets more votes than smartassV2 or ondemandx then that governor will replace smartassV2 or ondemandx (it will replace the one with the least amount of votes). Also, now the no-aroma version does not install the 99sultan-kernel init.d script; the no-aroma version doesn't come with an init.d script. Enjoy!

PS: I will not release a new version as often now, mainly because I have other things to do and because r9 is a very complete and stable release. Assuming I think of something new to change/add, a new release will come every 1-2 weeks. However, I am in no way guaranteeing a new release within 1-2 weeks (remember: I'm doing this for free and I'm donating a large amount of my time to kernel development). Bugs are an exception; releases that contain bug fixes will be released as soon as I find out how to fix the bug(s).
[HTC Sensation] Harbir:
Re: [KERNEL][SENSE][THE FASTEST][Linux 3.0.58][Aroma] Sultan kernel [r9 1/19/2013]

Thx man and does ur kernel supports soft swap?
[HTC Sensation] AiZ_04:
Can i use this kernel on the Sense based MIUI 2.12.28 Official??

Or does it have to be pure Sense?
[HTC Sensation] Sultanxda:
Yes, you can use this kernel on Sense based MIUI. This kernel is designed to work with all ROMs that are based off of Sense and all ROMs that actually use Sense.
[HTC Sensation] abelov00:
When installed sultan r9 with badass governor, the max frequency stucks on second phase frequency. It just doesn't increase freq to choosen max screen on freq...
[HTC Sensation] AiZ_04:
Well, I flashed the r9 kernel on the MIUI 2.12.28.. but nothing took effect.. no sweep to wake, the kernel shows default htc-sense kernel in about phone..

AND.. it broke the wifi.. it won't turn on now, I chose Badass Governor, with almost all default or recommended values that were suggested in the aroma installed.

Im flashing back to Viper 1.6.0 which i had made a backup of. I will try ur kernel on Viper. But it should have worked with MIUI too..
[HTC Sensation] shamshir:
your quick response is appreciated :)
[HTC Sensation] remus82:
Re: [KERNEL][SENSE][THE FASTEST][Linux 3.0.58][Aroma] Sultan kernel [r9 1/19/2013]

R9 is the fastest and smoothest kernel I ever used. Period
[HTC Sensation] Harbir:
need help can get r9 to boot [bootloops]on my sensation with ondemand x governor selected but boots with ondemand gov ?
[HTC Sensation] Sultanxda:
That shouldn't be happening :confused: Let's see if it works for you on ViperS (I'm on ViperS so it should definitely work).

DON'T select OndmandX or SmartassV2 from the Aroma. I just discovered that our phones don't like it when you do that, and it causes problems. I have updated the .zip file in the first post so it does not include options for SmartassV2 or OndemandX in the Aroma.
[HTC Sensation] Harbir:
i have also tested ondemandx does not work 100% as i flashed the kernel wwith ondemand gov and rebooted and slected ondemandx from venom tweaks and select as apply on boot compleat and as soon as i reboots it starts bootloop:confused:
[HTC Sensation] Sultanxda:
Happens to me as well. I added the Badass lowbat powersave algorithm, so I'll update the .zips so it doesn't contain it.
[HTC Sensation] Harbir:
will u update now or tommrow as new linux is out .59 hope u will also update along with ondemandx fix ;)
[HTC Sensation] Sultanxda:
I'll release r9.1 now. It would appear that OndemandX isn't a stable governor, so it is being removed. Lulzactive is taking OndemandX's place.
[HTC Sensation] Harbir:
no man i was waiting for ondemand x for a long time and now u are removing it . is there is no chance of fixing it :confused:
[HTC Sensation] Sultanxda:
Fixing it would involve rewriting the OndemandX governor itself, so it wouldn't really be OndemandX anymore. I'm also not the author of OndemandX, so I have no idea how to rewrite it. OndemandX is just Ondemand but with profiles; you can just use SetCPU to create your own OndemandX using Ondemand.
[HTC Sensation] kamilmirza:
Re: [KERNEL][SENSE][THE FASTEST][Linux 3.0.58][Aroma] Sultan kernel [r9 1/19/2013]

thanks :good:

waiting for Lulzactive :)
[HTC Sensation] behnamsarhandi:
me 2 :good:

waiting for Lulzactive :cyclops:

it's the best choice for 2×core :victory: