yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] allenfoxtc:
r14b2 works fine (without mpdecision) for me, maybe you could put a fresh "new init.qcom.post_boot.sh" back. With correct code (just like Bricked kernel) , it couldn't be harmful, and also you can put "init.sultan.sh" & some basic code (such as unchangeable governor tunes) in "init.qcom.post_boot.sh".

Update- I still get cpu1 offline after a few times screen off/on. According to kmsg, mpdecision still work even i turn and lock it to off in init.d. Maybe "Single Core - Screen Off" is the reason why cpu1 still get offline sometimes, and never get online (even reboot).

In kmsg, it shows

saw_set_voltage: 8901_s1: msm_spm_set_vdd failed -5
increase_vdd: vdd_sc (cpu1) increase failed (-5)

many times at cpu1 offline. (please have a look at http://code.google.com/p/spectrum-cm10-aokp41-issue-tracker/issues/detail?id=18)

Or, it seems like "Config CPU max screen-off frequency - Only for PYD kernel" is wrong. (http://xdaforums.com/showthread.php?t=1216197&page=272)

Maybe your kernel or aosp kernel doesn't support "screen_off_max_freq".
[HTC Sensation] lichunxin:
Hi. I'm just wondering. If I'm S-ON, does it means that I can't flash the kernel properly?

Sent from my Sensation
[HTC Sensation] ianoob:
You can if you use the Smart Flash option in 4ext recovery

Sent from my phone on an app
[HTC Sensation] lampshade90:
but you should flash the boot.img via fastboot ;)
[HTC Sensation] allenfoxtc:
boot.img can be flashed via recovery by packaging it in zip.
[HTC Sensation] lichunxin:
How do I do so then?

Sent from my Sensation
[HTC Sensation] allenfoxtc:
in boot.img's folder, run "fastboot flash boot boot.img" in cmd.

make sure "fastboot.exe" is in /windows/system32/
[HTC Sensation] Sultanxda:
Screen off max freq is a pretty universal kernel feature. I have checked the directories and my kernel definitely supports it.
[HTC Sensation] disaster999:
i have a problem with antutu. wanted to duplicate the test shown by the OP. downloaded the kernal, downloaded antutu and ran the test. i got a base score of 7600 with stock clock and tried to slowly ramp up the speed. but every single time i set the max speed (system settings, performance, processor, chose smartassv2 as the governer, chose max clock) and go back to antutu to do the test again, it returns back to the stock clock?
[HTC Sensation] Sultanxda:
Best thing to do to get CPU settings to stick is to download No-Frills CPU control from the Play Store, go into the settings of No-Frills, enable prevent other apps from changing frequency, go back, and set your CPU settings.
[HTC Sensation] allenfoxtc:
In /sys/kernel/msm_mpdecision/conf, "screen_off_max_freq" doesn't exist. Maybe it's only supports sense kernel.

I'm now using bruce's kernel (http://goo.im/devs/bruce2728/kernel-bruce2728-07012013-GPUOC.zip) temporary, the mpdecision works well, and still waiting for your new kernel to be relesed. :)

I'll tell you if i got something. :)
[HTC Sensation] Sultanxda:
Screen_off_max_freq is located at /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq
[HTC Sensation] Sultanxda:
I'll make a new beta today with a modified aroma and different mpdecision.
[HTC Sensation] MS Gray Man:
Be happy to test it when it's done... Running the stock swagger kernl at the moment, but happy to flash Sultan back and see how it goes... Does this imply that you think it's a conflict with the mdprecision implementation? I know you said that your version and tamcore used a different implementation...

Not sure of the specifics there but the Tamcore approach works well -- at least as far as mdprecision functioning go.
[HTC Sensation] Sultanxda:
I don't think it's a conflict; I think that the kernel isn't handling mpdecision correctly, so I'm going to switch to non-kernel based mpdecision in today's beta. This non-kernel based mpdecision is the same that is used in PYD-X and Sebastian's kernel. In order to avoid an mpdecision conflict in this beta, I will remove mpdecision from the kernel image.
[HTC Sensation] Sultanxda:
TO THOSE WITH CPU CORE ISSUES: r14b3 released

TO EVERYONE WITH CPU CORE ISSUES: r14b3 has been released and IT USES A DIFFERENT MPDECISION. Those of you with CPU core issues, this is your time to shine :cool:. Please install r14b3, ENABLE MPDECISION IN THE INSTALLER, and check to see if your 2nd CPU core is coming online. The best way to test (and show me) whether or not your 2nd CPU is coming online is to run Antutu and post a screenshot of your score in the thread.

ALSO: Tomorrow a poll will be added to decide which 2 CPU governors should be added :). Note that smartassV2 is not exempt from the poll and if it doesn't win then it will be removed.
[HTC Sensation] HunnyBearLewis:
I've flashed 14b3 and it seems like the mpdecision isn't being enabled despite choosing it to be enabled in aroma because cpu1 is never turning off and i scored in the 9000 range.
[HTC Sensation] MS Gray Man:
Initial observations-- Very long delay between HTC screen and hooking bootanimation. Assume this is something scripty running in the background.

Cpu1 does appear to shut down... If you enter cpu tweaks cpu1 goes active. GPU max frequencies appear correct.

Governor and io are correct.

States being used seem to be 192 - 384 - 1566 which seems odd given the default settings... 1566 was max freq set.

The above is with ondemand set.

Moving to badass seems to provide a more stepped scaling 192-540-756-918 -- Ondemand tended to bounce between 192-1566 regularly..

Other than that it all looks good.

Update: On second boot Android Tuner was interferring with something and stopped cpu1 from shutting down... after freezing AT cpu1 does continue to shut down...
[HTC Sensation] Sultanxda:
The first part of your post gave me hope haha. Guess we're having the opposite problem now. Could be a conflict with the force both CPUs online option. I tested this new mpdecision with a Sense ROM and it worked, but it seems like I'll have to go back to JB to test it more; I'll do that tomorrow since it's getting late here. BTW, the new kernel mpdecision I added doesn't play well with Kernel Tuner, so if you have it installed then uninstall and reboot.

UPDATE: I just saw your update and I now have hope again :)
[HTC Sensation] MS Gray Man:
Yeah I'll go ahead and run this tonight and tomorrow and see what it does.... Other than seeming slow during the boot phase it all looks good. Various tools do not show mdprecision but assume that is caused by it running externally... clearly it's there and working :)
[HTC Sensation] Sultanxda:
Boot speed is probably being degraded by the zipalign being performed on boot (zipalign came with AIO) or there's some infinite loop that I've been thinking about (not sure if it's an inifinite loop, and I'll test it). Good to know that mpdecision is working so far :D Thanks for testing it
[HTC Sensation] sepsep 21:
Wow wow wow. :D. r14b3 is awesome. You're perfect android 1-7
[HTC Sensation] japinder:
I'm currently using Stickman's JB MIUI v4.1.

I was using Sultan kernel v10 without any issues, however, any kernel after that with or without Aroma just gives me boot loops. The ROM boots, but reboots within a minute or so. Tried a fresh install of the ROM after formatting all partitions except SDCard with v14b3, v13, v12, v11 etc, same result. Tried all the default settings in Aroma installer, still no good.

Back to v10, everything's working fine. What has changed or what do I need to keep in mind of while installing v11 onwards?

Thanks,

Jp
[HTC Sensation] Sultanxda:
Open the .zip file without extracting it, go to /system/lib/modules and delete bcm4329. Now, put the modified zip on your phone and install it. The addition of the bcm4329 driver was the most influential change in r11, so that could be what's causing the issue.
[HTC Sensation] suiller:
really awesome kernel, latest beta (.13) gives a step more to the rom (actually using latest frankenstine JB)

it's still possible to have a very smooth rom even if both cpu & gpu are underclocked

even if I prefer a different approach instead of using mpdecision to enable/disable 2nd core, I prefer to disable 2nd core when screen off and enable it when screen on

PS: can you still provide no-aroma kernel? it's very annoying re-build kernel without aroma stuff. thank you
[HTC Sensation] Sultanxda:
I still am providing a no aroma zip. R13 uses the exact same kernel image as r12 but has aroma fixes, so there is no need for an r13 no aroma. Betas are exempt from this.
[HTC Sensation] suiller:
perfect, thank you for detailed info ;)
[HTC Sensation] japinder:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b3 1/16/2

You nailed it... :) ROM boots up perfectly and let's me use the phone. :p I used the custom r14b3 by removing BCM4329. :cool:

However now I have another issue - WiFi won't turn on. Does the removal of BCM4329 remove the WiFi driver as well? :confused:

Thanks,

Jp
[HTC Sensation] Sultanxda:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b3 1/16/2

The kernel image is probably adjusted to have the bcm4329 driver, so without it, it probably doesn't want to turn WiFi on (the bcmdhd driver is the one that should be being used with you. On some phones, WiFi doesn't work without having the bcm4329 driver). What I'll do is offer 3 kernel versions: Aroma, no Aroma, and Aroma with bcm4329 driver. When I get home I'll recompile the kernel without the bcm4329 driver and you can install it and see if WiFi works.
[HTC Sensation] Sultanxda:
r14b4 released

Right now, I'm wrapping up the r14 betas with this last beta. This beta includes UHID (thank you, LaidbackNikez and Team Evervolv) so Bluetooth works with new 4.2.1 ROM, I've added GPU underclocking (use Kernel Tuner to control it for now), and there are now 2 .zip file versions to choose from: a version with the bcm4329 driver and a version without the bcm4329 driver. Only choose the one with the bcm4329 driver if WiFi doesn't work for you, otherwise it could cause bootloops. For r15 I'm going to try getting the 3D GPU overclocked to 400MHz. Right now I've successfully gotten my phone to run with the 3D GPU clocked at 400MHz, but there are lots of artifacts. I'm not making any promises with the 400MHz 3D GPU overclock because not even XxXPachaXxX was able to get it working well. Anyway, enjoy!

UPDATE: Someone reported that WiFi is not working in 4.2.1

UPDATE2: It's probably the WiFi direct that's causing the problem. I'll remove it and update the r14b4 links.

UPDATE3: r14b4 download links have been updated. WiFi should be working now.
[HTC Sensation] Sultanxda:
CPU Governor Poll Added

A poll has been added to decide which 2 CPU governors should be added. Please be sure to vote! :)
[HTC Sensation] Duckie92:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

Wifi works now on 4.2.1 with latest beta. Thanks :)
[HTC Sensation] sepsep 21:
cant wait for r15. wow 400MHz. wow,:laugh::laugh:
[HTC Sensation] sepsep 21:
hehehe. with r14b4.
[HTC Sensation] steve austin:
non aroma r13?

Two things. One, where is the non-Aroma version of 13 posted? I did not see it in the first thread?

Second, I ask because for some reason your aroma versions are not working well with my ROM/ set up. I am using jellyBam 4.1. I have used the aroma 13 and beta 14 versions of your kernel and it completely destroys the Apex launcher I use to navigate around my phone. Now, I will admit, I have not done a logcat during the process, so I can not tell you what is going on. (I realized that it would be useful to post one AFTER the two occurrences). I have no idea what is making the launcher get uninstalled, but it is only happening when I use the Aroma versions of your kernel.

Your kernel seem to work the best with JellyBam for me. There is still an issue with choppy scrolling, lag, poor battery life and multi-tasking issues, but I am not sure if that is a kernel thing since I see others having similar issues regardless of the kernel. Will you continue to make non-Aroma version going forward? Thanks in advance.
[HTC Sensation] Sultanxda:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

Haha I couldn't get it work :(
[HTC Sensation] Sultanxda:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

On the previous page I said this:

I still am providing a no aroma zip. R13 uses the exact same kernel image as r12 but has aroma fixes, so there is no need for an r13 no aroma. Betas are exempt from this.
[HTC Sensation] steve austin:
oohhhhhhh. ok. i got lost in the wording. Thanks.
[HTC Sensation] axetilen:
I have one suggestion for this kernel and also the sense one to make them a bit better

I think you should not release a new version too frequently because users have to flash them everyday and some users dont like to do that (just like me)

collect the small changes and release a big kernel at least once a week or 2 weeks

flashing kernel everyday will drain some battery cuz device needs to settle down after flashing :confused:
[HTC Sensation] chopt51:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

What do you mean by this? That after time it will get better?

Sent from my HTC Sensation
[HTC Sensation] axetilen:
1/ you have to reboot your phone -> drain a lot battery

2/ system has to settle down with the new thing. After a while, it would get better
[HTC Sensation] chopt51:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

Its weird, drops from 100-80% in like 15 minutes. If I reboot it goes up to like 92%. I'm on my 2nd day.

I like this kernel. Thanks :thumbup:

Sent from my HTC Sensation
[HTC Sensation] allenfoxtc:
r14 series are beta version, only for users who has problem (such as "mpdecision", "boot loop", "wifi died", etc...) on this kernel. If you don't want to flash it frequently, just read changelog and decide to flash it or not.

About your 2nd point, i think it's just like a reboot when you flash a new kernel without wipe cache/dalvik-cache.
[HTC Sensation] Sultanxda:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

I was planning on slowing down after r9 for my sense kernel and r14 for this kernel. I just wanted to squash those mpdecision bugs.
[HTC Sensation] japinder:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

On the other hand, there are flash junkies like me, who just live to flash something just about every day... :p

Just keep rolling out those versions... We can't get enough of them... :D

Thanks,

Jp

HTC Sensation using xda app-developers app - Sultan r14b4 No BCM4329
[HTC Sensation] scutworker:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

Ignore.

MOD: Please delete, posted in error.
[HTC Sensation] papikev:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

I as well amon Evervolv 4.2.1 with this kernel and is running excellent. No problems yet whatsoever.
[HTC Sensation] Ludak021:
Well, second core is offline all the time, r13 aroma. Tried forcing it with KT, tried uninstalling KT...no go. It's probably because of JellyBAM rom. I will try it on Bruce's CM10.
[HTC Sensation] Sultanxda:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

Try the latest beta and enable mpdecision.
[HTC Sensation] Ludak021:
yea, I saw that you made changes in r14 but I didn't know that I would have a problem with stable version r13 :P I am back to bruce CM10 anyway, I will try r13 aroma one first. What I am hoping for with your kernel is to gain more battery life since Bruce's kernel already has 1566 unlike that CMAOPK JB one :)

edit: ouch! Evenn worse on CM10 :S Downloading r14b4 now.... (I am not even going to tell you antutu score, let's just say it's under 4000, quadrant is like...your device - bottom licker XD )

edit1:

R14b4 working fine! Thanks for all the effort! Previous versions worked only if I flash them using the other option, super kernel cleaner something, I haven't remembered the name, I was on autopilot :)
[HTC Sensation] MS Gray Man:
That's because your second core was shutting off in r13 under cm10..

14b4 resolves this.
[HTC Sensation] japinder:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

Removal of BCM4329 driver & turning down the UnderVolt settings from -9% to -25mV has made r14b4 rock solid stable for me.

Thanks, keep up the good work. :D

Jp
[HTC Sensation] smuvman:
second core

search thread quickly and can't find answer. how do I turn 2nd core off completely? thanks
[HTC Sensation] Sultanxda:
You want to turn your dual core phone into a single core phone :eek:? Using only 1 core will actually consume more power than using mpdecision because that 1 core has to increase its frequency much higher than if it had another core helping out. Nevertheless, I will not stop you. Download Kernel Tuner from the Play Store, use it to turn core1 off, go to the settings of Kernel Tuner, and make sure it's set to apply your settings on boot.
[HTC Sensation] smuvman:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

Just want to test a theory. My two anker batteries do not last as long as they used to. Want to see if that will help until I buy another phone. Will let you know results.

Sent from my HTC Sensation
[HTC Sensation] spiderio:
Hi

I wonder why, your latest kernel took long time to boot?

Everytime my phone reboot

The other version of your kernel is faster
[HTC Sensation] sonnhy:
What about including in AROMA the possibility to make softswap like the AIO mod (the best kernel mod here, of course ;) ) ?
[HTC Sensation] Alipk52:
i am currently using it in Dragunkurr's OFFICIAL DKOSP JellyBean 4.2.1 v.1.5.0 which released on 18/january/13, running flawlesly, have to run this for 2 days at least.
[HTC Sensation] Sultanxda:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

Probably because of scripts running on boot.
[HTC Sensation] almostthere:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

Great work on r14b4 as it made my experience smoother on 4.2.1. Synthetic bench on 1.67Ghz, intellidemand mpd precision max GPU overclock, SIO and -9% voltage below
[HTC Sensation] spiderio:
what script??

can I delete it for faster boot??

thanks

really love your 3.0.59 kernel
[HTC Sensation] Sultanxda:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

Delete zipalign from /system/etc/init.d

EDIT: Sorry! Delete zipalign from /system/bin
[HTC Sensation] reddvilzz:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

Can anyone recommend the best undervolt percentage for me? Because i seems confused on how much undervolt do i need without freezing the phone. Help please :)

Sent From Viperized Beats Sensation XE
[HTC Sensation] Sultanxda:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14b4 1/17/2

Download Android Tuner Free from the Play Store and gradually lower the voltage for all frequencies until your phone is unstable/reboots. The voltage right before your phone became unstable is what you should undervolt to.
[HTC Sensation] Sultanxda:
R14 released

R14 has been released! There are now 3 installer .zips: one with Aroma AND bcm4329, one with Aroma and NO bcm4329, and one version WITHOUT Aroma or bcm4329. In r14 the mpdecision is working perfectly. I've also added GPU underclocking and options for underclocking the GPU in the Aroma. You can now underclock the 2D GPU to 160MHz and the 3D GPU to 228MHz! Let's see how long your battery life lasts ;). SmartassV2 and Interactive have been added in r14; I am well aware that Interactive did not win, however, in my Sense kernel the OndemandX governor was extremely unstable, so OndemandX will require extensive testing in this kernel if it wants to make it into a release (I'll be testing it). The last major change in r14 is the addition of Sixaxis support; please tell me if Sixaxis works. As usual, you can see all te changes in r14 in the changelog. Enjoy!
[HTC Sensation] japinder:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14 1/20/201

I personally go with -25mV. It is rock solid for me. -50mV caused reboots although 'rarely'. -9% caused reboots 'sometimes'.

Jp
[HTC Sensation] papikev:
Hi, Just wanted to give a little feedback on R14 (R14-Aroma BCM4329). I have flashed many versions of your kernel, and this latest one is for me, so far, hands down the most stable and responsive. Mpdecision is working great. I am going to definitely stick with this kernel for awhile now. 3d gpu-266: Scheduler- deadline: vsync-enabled: s2w-enabled: Fsync-disabled: Cpu max-1512:CPU max freq for both-same: Min freg-384:Govenor-Intellidemand: Minfree config-medium: 2d gpu uc-160: Mpdecison-enabled: KSM-enabled: Fastcharge-enabled. Awesome work bro. Just a side note question, I noticed you asked Frankinstein how he got USB OTG to work in the kernel on his rom. Any future efforts to get this working on your kernel? Not a biggie, nor a complaint, just curious is all. Thanks again for the excellent work and efforts. Much respect.
[HTC Sensation] reddvilzz:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14 1/20/201

Does freezing on some point when i'm using my phone is caused by the undervolt?

Sent From Viperized Beats Sensation XE
[HTC Sensation] Sultanxda:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14 1/20/201

Yeah I'd like to get USB OTG working in this kernel. There's a kernel level fix for it that Frankinstine implemented that I have absolutely no idea how to do.
[HTC Sensation] Sultanxda:
Re: [KERNEL][LINARO][JB&AOSP ICS][FASTEST][3.0.58][Aroma] Sultan kernel [r14 1/20/201

Most likely.
[HTC Sensation] oran3e1:
Hey

Thanks alot for this amazing kernel but im abit confused and stuck here, i am using the latest sultan kernel r14b4 which is basically the same as r14 and am using bruces latest 4.1.2 rom and sometimes when i go into the app selection it will freeze up when i select an app and will crash the entire phone and would have to remove the battery, which is really freeking annoying.

So if someone can just tell me that they have the same problem or something so i can find out if its the rom or kernel which is doing this :/

Thanks :)
[HTC Sensation] Sultanxda:
Are you undervolted?
[HTC Sensation] spiderio:
just try to delete /system/etc/init.d/21uv
[HTC Sensation] Sultanxda:
R15 released

R15 has been released! You can now underclock your 2D GPU down to 145MHz! I've also merged a ton of Bruce's changes from his GitHub, including modified WiFi drivers. Please tell me whether or not WiFi tethering is working again. ALSO: the links to download r15 are now in the Download section of the OP; r15 is NOT attached at the bottom of the OP. Enjoy! :D
[HTC Sensation] spiderio:
hi, i wonder with more and more feature being added

does this mean this kernel is not as light/ fast as earlier version??
[HTC Sensation] Sultanxda:
Yes and no. Recently, the only thing that made the kernel larger was Sixaxis support. All the other features I've been adding like GPU underclock, UHID, etc. have almost no effect on the kernel's size at all. My kernels still have the lightest CONFIGURATION out of any other kernels for the Sensation. The reason why I say configuration is because I'm using a different compression algorithm that doesn't make the kernel as small. However, the kernel compression algorithm I'm using makes the kernel

much faster.

What this means is that although my kernel is not the smallest, it is still the lightest and the fastest.

EDIT: The GCC optimization level I'm using actually is designed to make the kernel smaller. I am using -Os optimization for this kernel.
[HTC Sensation] spiderio:
i know nothing about kernel or linux

so I'm just being stupid

I think that...

that more feature = much more bigger code...

thanks for the explanation..

It clear my confusion