yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Sultanxda:
...The hell? I'm going to look into this. Was planning to release an update today to greatly improve the kernel's speed, but it looks like that is going to have to wait. Dohclude, delete 99z_kernel from /etc/init.d and reboot. Please tell me if that fixes it.
[HTC Sensation] dohclude:
deleted 99z_kernel. Still goes offline, although not as soon. was working, then turned the screen off for a few minutes, it was offline when I turned it back on.
[HTC Sensation] Sultanxda:
Just installed Bruce's latest CM10 and my kernel with the Aroma installer (I was on ViperS before, my Sense kernel has the exact same mpdecision) and mpdecision is working perfectly... :confused: I'm using Lagfree as my governor

UPDATE: Change my governor to Intellidemand and it's still working perfectly :confused:... What the hell is going on...? It works even after letting the screen turn off for a few minutes.
[HTC Sensation] dohclude:
I'll play around with it for a while and see if I can't figure out what's causing this. I'll let you know.
[HTC Sensation] betahelix:
help ....
[HTC Sensation] dollyaja:
Confirmed,works! :thumbup:
[HTC Sensation] dohclude:
ok, so i deleted 99z_kernel again and mpdecision is working perfectly so far for an hour. something in that init script is killing it I think, not sure what though.
[HTC Sensation] shadowx360:
I was coming to post that kernel tuner can't seem to kick on the second core using the on/of button and can't seem to set the cpu limits or governor either, but it seems everyone has issues with the second core
[HTC Sensation] papikev:
Kernel tuner: read here: http://xdaforums.com/showthread.php?p=36582025
[HTC Sensation] Sultanxda:
When I enabled mpdecision I used the 99z_kernel init.d script and it worked fine for me. :confused: Is anyone else here having problems with mpdecision?
[HTC Sensation] papikev:
I know it doesn't help right away, but i will flash in a couple of hours when i get home from work and report back. Thank you for all your efforts to make it a great kernel. Regards.
[HTC Sensation] NicoC72:
I have the same issue. Enabled mpdecision from Aroma and the second core never kicks in. :(
[HTC Sensation] Sultanxda:
Hmm I'm not really sure what to do about this because on Bruce's newest CM10 I enabled mpdecision from the Aroma installer and the second core was turning off and on like it was supposed to. If you have Kernel Tuner installed then try uninstalling that and reboot.
[HTC Sensation] Sultanxda:
R12 released

R12 has been released! The major changes include faster zRam and and a faster kernel! I've now compressed the kernel with LZO instead of Gzip, making the kernel about 10% larger but MUCH FASTER! I've also changed the compression algorithm that zRam uses to Google's Snappy compression & decompression instead of LZO, making zRam about 2x faster. Please give feedback on the performance of r12! Enjoy! :D
[HTC Sensation] papikev:
Hi, wanted to follow up to my last post. I got home and see that you released v.12 (I would have hit thanks, but all out for the day, sorry) and been running it for almost an hour now and at least up to this point, mpdecision is working fine. I do not have kernel tuner installed, just android tuner to check cpu's and not adjust anything. Runs smooth so far. I am going to stick with it and see how things go. I do appreciate how active this thread is and your consistent work on your kernel. I should note that I am running DK's PA v.24. Thanks again man. Good work.:good:
[HTC Sensation] fragargon:
Hi, I just made some test on enabling/ disabling mpdecision... got succeed if I set this line above in script =>

chmod 777 /sys/kernel/msm_mpdecision/enable

M2c
[HTC Sensation] Wagedroid:
So to utilize this kernel to its full potential, I have to download a third party app and edit some scripts in init.d folder? If I flash, use system to set frequency and governor will my settings stick? I really would like to refrain from downloading a third party app. Thanks in advance.
[HTC Sensation] Sultanxda:
You can use system to set frequency and governor and it should work fine.
[HTC Sensation] Sultanxda:
This line doesn't really change anything because the output of cat /sys/kernel/msm_mpdecision/conf/enabled is already 1, meaning that mpdecision was enabled successfully. However, since you feel like that helped, I will add it to the next release.
[HTC Sensation] axetilen:
in my 99z kernel. I wrote

chmod 777

echo 1

chmod 444 => this will block any change

so that's why he needs chmod 777 to make it work
[HTC Sensation] Wagedroid:
Thanks for that quick answer
[HTC Sensation] MS Gray Man:
So script seems to be the cause in some way. Confirmed that cpu1 was shutting down on Frank's AOKP as well. If you modified the script to have mdprecision have both core active it worked. But then if you install Kernel Tuner it tries to restore Mdprecision and core 1 shuts down again.

If you remove the script from init.d both cores work and cpu 1 goes 0 and 1 like it should...

Your min freq is 384 vs. 192 that way, but it does seem to work...

If you go to cpu tweaks on kernel tuner cpu1 goes active, then back out and let processor load drop and core shuts off... etc...

The other odd thing that happens with the script in place, even after forcing both cores on, is the governors will get out of sync between the two cores, one will go to say badass and the other was either intellidemand or ondemand, don't remember which. But this coincides with cpu1 shutting down, so probably nothing of real interest there as cpu1 is lready out of synch and broken from the mdprecision side...or wheverwever the break is occurring.

Without the script you can set them both to badass or whatever in KT and it sticks.
[HTC Sensation] szymko1995:
Anyone knows why after update from r10 to r12 homescreen change is a bit slow?

My settings are 192-1,56, intellidemand, oom aggresive, gpu 3d on 300, mpdecision on.
[HTC Sensation] dohclude:
mpdecision does seem to be working now with r12, only problem I'm having now is that it refuses to use intellidemand governer when it's selected in aroma. it always goes to ondemand for some reason.
[HTC Sensation] szymko1995:
Now reinstalled with 0,2-1,2GHz, ondemand, gpu 3d 300MHz, mpdecision on- so almost stock.

Launcher is still slow. Please, if anyone could help me?
[HTC Sensation] fragargon:
well, i m afraid i ve been misunderstood. mpdecision is working fine (kernel r11) but since i read all that stuff, by curiosity done some test.

I m not using 99z... in /init.d

i made some test just by creating a simple scrip like said on previous post and testing this with smanager

if chmod not included into this simple script (99mpdecisicion) got a error (bad value) and value in .../enable remains 1

else set chmod 777 and got right value into .../enable "0"

#!/system/xbin/sh
#disable mpdecision
chmod 777 /sys/kernel/msm_mpdecision/conf/enabled
echo 0 > /sys/kernel/msm_mpdecision/conf/enabled

this work fine, got 2 of them (echo 0 or echo 1) played with smanager - check value .../enable. that's all i wanna say.

everything running as expected or described

m2c

thks for your work
[HTC Sensation] Sultanxda:
It would seem that init.d doesn't run late enough to have an effect on what CPU governor is chosen. What's happening is that the init.d script is changing the governor to what you chose but the kernel resets it back to its default governor after the init.d script runs. This can't really be fixed and the only reason why I keep the CPU governors section of the Aroma is so that you can choose what settings you want for the CPU governor (ex: set Badass to performance).
[HTC Sensation] Sultanxda:
Install Android Tuner Free and see if your second CPU core comes online.
[HTC Sensation] dohclude:
So does that mean that there is no way to choose a different governer than ondemand and have it work for both cores? I've tried setting it in android tuner and in performance settings (for PAC rom), but it just immediately goes back to ondemand everytime. Even after rebuilding the kernel from source and setting intellidemand as default, it's still going back to ondemand.
[HTC Sensation] szymko1995:
I've checked by kernel tuner and it looks like cpu1 doesn't come online.
[HTC Sensation] dohclude:
figured out the governer not sticking issue. There's an init script : "system/etc/init.qcom.post_boot.sh"

It's basically overwriting any other governer settings from init.d or tuning apps. I just went in with es file explorer in root mode and edited the file to set intellidemand instead of ondemand. Now it's working perfectly. mpdecision too!
[HTC Sensation] szymko1995:
Will it fix the cpu1 always off and lags issue?

Could you share the zip recovery package with fix?
[HTC Sensation] Sultanxda:
Thank you, you just reminded me about that! I removed that file and another file from the .zip long ago and I forgot to add a script to remove those files from everyone's phone because they cause problems. I did, however, add a script to remove the old mpdecision and thermald that was causing problems for people. Good job finding that :good: I'll release r12.5 in about 10 minutes with that fixed because it really causes lots of problems for people.
[HTC Sensation] dohclude:
NP, it was driving me crazy for the past two days lol. it appears to fix everything for me, mpdecision is working, cpu1 goes offline and comes back on as it should.
[HTC Sensation] Sultanxda:
VERY IMPORTANT: R12.5 released

R12.5 has been released AND IT IS EXTREMELY IMPORTANT THAT YOU INSTALL IT AS SOON AS POSSIBLE. IT FIXES ALL THE PROBLEMS THAT USERS HAVE BEEN HAVING WITH MPDECISION, SETTINGS FROM AROMA NOT BEING APPLIED, AND POSSIBLY EVEN REBOOTS. Thank you for finding this bug, Dohclude :good: As a result of your contributions, Dohclude, I have added your name to the credits :)
[HTC Sensation] papikev:
Thank you Android1234567 and Dohclude, awesome work.
[HTC Sensation] szymko1995:
Now it is smooth and almost lagless.

But cpu1 is still offline all the time.
[HTC Sensation] Tungst5n:
How is this kernel with hotspot usability? I'm currently using dragunkorr's 3.0.57 kernel but it doesn't have a working hotspot function. Sorry if these are questions that have already been answered.

Sent from my HTC Sensation using body butter girls-developers app
[HTC Sensation] Sultanxda:
Users have said that hotspot only works when security is disabled for it.
[HTC Sensation] Tungst5n:
Cool. I'll keep that in mind when I try it Appreciated

---------- Post added at 10:51 PM ---------- Previous post was at 10:41 PM ----------

Interesting problem. Just flashed 12.5 and I noticed that Swiftkey Flow keeps crashing. Terre only thing that's changed is me flashing this kernel. Not sure if there's anything anyone can confirm though.
[HTC Sensation] ianoob:
I'm still on 12, but deleted the .sh file and my flow is working. What are your settings and ROM?

Sent from my phone on an app
[HTC Sensation] Tungst5n:
Rom is dragunkorr's Paranoid Android v24. Max @ 1.3, min @192. Both cpus online, 2d @ 220, 3d @ 300, zram enabled, undervolted @recommended -9%. Am I missing anything relevant? Most of these settings I had on my previous kernel which was a dragunkorr job too
[HTC Sensation] Master_Ellis:
:confused: Sultan 8 & 9 work for me but I can't get the newer ones to flash. Feeling like a total newbie. Running Paranoid Android ROM 2.99.2 with no custom tweaks. Goes thru Aroma setup but just sits at bootanimation. I've tried No Aroma and Aroma for 12 and 12.5. Help please :crying:
[HTC Sensation] Sultanxda:
Sits at boot animation for how long? Sometimes after flashing a kernel for the first time the phone can take a while to load. There's only a real problem if it bootloops.
[HTC Sensation] Sultanxda:
Uninstall Kernel Tuner and reboot.
[HTC Sensation] Master_Ellis:
More than 5 minutes. Boot animation finishes and it just sits there. Kernel 8 and 9 boot up quickly but I've had no luck using the Aroma Installer.
[HTC Sensation] Sultanxda:
Maybe try wiping cache and dalvik then install the kernel through Aroma again. Also, you aren't installing the kernel after a fresh ROM install, right?
[HTC Sensation] Master_Ellis:
Correct. Wipe Dalvik/Cache then use Aroma. Wiped after installing and before still having issues. I'll try again in the morning. My brain is fried right now. Awesome work :highfive:
[HTC Sensation] Tungst5n:
Having the same problem with r11 actually. Continues to boot loop after flashing with Aroma. 12.5 installed fine but causes problems with Swiftkey Flow and some random reboots
[HTC Sensation] allenfoxtc:
Please put 'mpdecision' and 'thermald' into the kernel to make sure it's suitable for any JB roms.
[HTC Sensation] Sultanxda:
My kernel already has mpdecision and thermald; I'd have to be insane to release a kernel without mpdecision and thermald :p. The mpdecision and thermald that my kernel uses are baked into the kernel itself, meaning that there is no need for mpdecision and thermald binaries (the binaries are the files called mpdecision and thermald). Also, those binaries were the cause of the random reboots, so there's no way in hell I'm adding them back :silly:
[HTC Sensation] chassy_8o9:
awesome work in r12.5 build, mpdesicion off and my benchmark hits 10400+ with mpdesicion on the benchmark hits 5200+...so leave mpdesicicon off... can be a problem with mpdesicion? thanks in advance
[HTC Sensation] Sultanxda:
Enable mpdecision and see if the second core is turning off and on like it should (it shouldn't be off all the time).
[HTC Sensation] ahsan64:
bug in your kernel i think

HI

your kernel is very fast and stable but sometime back capicitive button vibrate but with greater amount.....

so i changed the kernel.... :crying:

i dont know its a kernel problem or not but i changed kernel and now problem is gone...
[HTC Sensation] Sultanxda:
I never changed any vibration settings in the kernel. Right now my kernel is using the exact same vibration settings as Bruce's kernel.
[HTC Sensation] szymko1995:
But why is cpu1 always offline?

How can I fix it?

Wysłane z mojego HTC Sensation
[HTC Sensation] ianoob:
Sounds close, I did choose Mpdecision on Codename 20121211. I'm using flow beta 4.0.0.61

what rom are you using?

Are you using the same governor? What max clock speed?

Sent from my phone on an app

---------- Post added at 09:03 AM ---------- Previous post was at 09:01 AM ----------

Android1-7 has answered that many times. Look back 1 page

Sent from my phone on an app
[HTC Sensation] szymko1995:
But I'm using r12.5 that should fix all of the issues.

Wysłane z mojego HTC Sensation
[HTC Sensation] ianoob:
It doesn't fix other apps

Sent from my phone on an app
[HTC Sensation] szymko1995:
So why I have these problems.

In r10 there was no bugs.
[HTC Sensation] shadowx360:
Enabled mpdecision and uninstalled kernel tuner and core 2 still refuses to turn on. Running 12.5
[HTC Sensation] allenfoxtc:
cpu1 never got online in JELLYBAM v4.0.0. I've tried to modified any possible commands in 99z_kernel, but cpu1 always offline in 1 min after reboot. And also OOM setting is not working, too. I'm using r12.5.
[HTC Sensation] ninjabadger:
12.5 no good here. Sub 4000 and lagging GUI.

Assume cpu1 not kicking in.

Sent from my HTC Sensation
[HTC Sensation] Sultanxda:
Try disabling mpdecision. That should force both cores online. If that doesn't work then there's probably some app or something causing problems. Allen, I'm checking the minfree settings now.
[HTC Sensation] Sultanxda:
I'm going to test the whole thing again, and I won't be using a clean install. I'll solely use the Aroma to configure my settings, so no CPU control apps whatsoever. I'll also enable mpdecision and post my antutu here. If everything works for me then I am going to pull my hair out :silly:

UPDATE: Mpdecision is working and I am going to pull my hair out... I'll post my Antutu in a few minutes. In the meantime...

TO EVERYONE HAVING ISSUES:

MAKE SURE THAT THESE FILES DO NOT EXIST AND IF THEY DO EXIST THEN DELETE THEM IMMEDIATELY AND REBOOT:

/system/bin/mpdecision

/system/bin/thermald

/system/etc/thermald.conf

/system/etc/init.post_boot.sh

/system/etc/init.qcom.post_boot.sh

R12.5 is supposed to delete those files automatically (r12.5 deleted them for me) but there's always a chance that it didn't work for some reason.

UPDATE2: I wasn't able to get the Antutu image uploaded but I scored 8643 with mpdecision enabled.
[HTC Sensation] lampshade90:
There are no sticking cpu frequencies.. i always need a third party app to set up the frequencies...im on bruce cm 10 build.
[HTC Sensation] Sultanxda:
Read the post above you. I just tested the Aroma and the frequencies and governor are sticking for me WITHOUT the use of a third party app.
[HTC Sensation] allenfoxtc:
Thanks.

OOM settings in 99z_kernel is good, the problem is that it doesn’t load during the boot. I really don’t know how to fix it. I have tried to turn off any Kernel/System Tuner app, but it's still there. According to Logcat, 99z_kernel is loading but with some 'governor setting' problem (it's depends on which governor you choice in Aroma).

Now i'm using r12-no_Aroma, mpdecision is working good, and cpu1 is online.
[HTC Sensation] Sultanxda:
Good call. I just checked and the 99z_kernel minfree script is working but it seems it's getting overwritten on boot.
[HTC Sensation] chassy_8o9:
last night after installing r12.5, the cores were on line forever, with mpd off. after sunrise, apparently after a deep sleep is now the cpu1 offline with no way of re-upload online. This is something in common, or is it just the problem with me? thanks in advance
[HTC Sensation] Sultanxda:
I've never had that happen to me. Simply reboot and core1 will be back online.
[HTC Sensation] chassy_8o9:
yeah its an easy way to fix this, but that is not a solution, it is not that way it should work... but thanks anyways...
[HTC Sensation] Sultanxda:
R13 released

Okay everybody, I've released r13 and I finally got those problematic files to automatically be removed. The way I fixed this is completely different from what I've been doing before, so please be sure to give r13 a try. I've also fixed the minfree values not sticking. I apologize for all the problems you guys were having :(
[HTC Sensation] shadowx360:
Thanks. The only use I had with the cpu tuner was to drop the frequency on the gpu. Can you add in option to drop 2D to 166 and 3D to 200 in aroma?

Also, any chance of smartass v2 being added?
[HTC Sensation] Sultanxda:
Sure. I'll add GPU underclocking and smartassV2 into the next release.
[HTC Sensation] chassy_8o9:
The problem with the cpu1 persist... still offline... heres my benchmark score... after rebooting the phone everything works good, but after a couple of minutes, when the phone wakes up from a deep sleep all fails again ... The core 1 stays offline forever, and you can not change the governor. only if I restart the phone, you can change the governor and cpu1 be online again, after a few minutes everything returns back :(
[HTC Sensation] Sultanxda:
Now that the conflicting files have been removed, your problem is related to something you have installed or added; it is no longer the kernel's fault/the installer's fault. You can try removing 3rd party CPU control apps and reboot.
[HTC Sensation] chassy_8o9:
im using a fresh intall of everithing, withaout apps, just to make this kernel work with my device..I will uninstall android tuner, but how I know if the two cores will be operational and online? anyone tried SetCPU app? thanks
[HTC Sensation] Sultanxda:
SetCPU doesn't control the second core. Since you have fresh everything, try using Kernel Tuner at this point. Sometimes Kernel Tuner causes CPU core problems but because you don't have it installed it obviously isn't the source of your problem.
[HTC Sensation] MS Gray Man:
What ROM are you testing against? Appears you are running Viper on your phone so if you're testing against Sense then I suspect it all works... However going against Frank's or JellyBAM AOKP is where I've seen the problem. I have not tried r13 so it may have fixed it. Testing battery using Tamcore at the moment so don't want to flash r13 to test. Perhaps someone runnign AOKP can be specific about installing this and their results.

I know for a fact on the prior version from a clean install cpu1 would go dark. If you toggled mdprecision to be off both cores would stay on unless you ran Kernel Tuner or something that would try to reset kernel tweaks and bring mdprecision back. Then cpu1 would shutdown again.

I installed Tamcore to see what was happening with kernel held mdprecision there on AOKP and that seems to be working.. cores turn on and off as expected. Not sure any of this helps since I haven't tested r13, but just from what I read, I'm not sure it would be resolved.
[HTC Sensation] Sultanxda:
I'm testing against the official CM10 12/24 nightly. I have a nandroid of ViperS and that CM10 nightly, so whenever I want to test something I just restore the CM10 nightly.
[HTC Sensation] MS Gray Man:
So I'm wondering or thinking maybe that this is not happening against CM source and only against AOKP source.
[HTC Sensation] Sultanxda:
Frank's AOKP ROM is based off of Bruce's source. All the Jelly Bean ROMs for our phone are based off of Bruce's source, except, of course, for the official CM10 nightly.
[HTC Sensation] MS Gray Man:
OK aborted the battery life deal with Tamcore to install r13.. Hey sometimes the obsessive flashing disorder gets the better of me...

Ok so I can confirm that installing via Aroma and setting Sultan r13 up as badass - performance - sio - 1566 - and mostly default after that results in..under Jellybam

CPU0 functional 192-1566

CPU1 dark

(Kernel Tuner was not installed for above)

Only No Frills and it is not setting aything on boot... Confirmed with Tamcore prior to install of Sultan...

Even reinstalling kernel tuner and going to cpu tweaks which will by default activate both kernels leavs cpu1 dead.

It also shows cpu0 as ondemand and cpu1 as badass..

To be certain I set kernel tuner as reset on boot to disabled so that it won't try and force setting...

Rebooted so the kernel is just running from Aroma installed settings and..

Same results--

CPU0 functional 192-1566 ondemand

CPU1 dark badass

Now with that said I would suggest NOT ripping out your hair... At your age baldness is not good.

I did not restore a backup of Franks to test, but the results under 12/12.5 were the same on both jellybam and franks so I believe I would see the same if I did...
[HTC Sensation] allenfoxtc:
It might be the system-build-in's tuner's problem. When i turn off all system-build-in's tuners then reboot, the cpu1 will be online for a while then never awake; When i turn some tuners on (such as zram, ksm, etc...) then reboot, the cpu1 will never be online anymore. By the way, the kernel's zram & ksm settings are not work when you turn off system's zram & ksm tuner (of couse i have removed 90userinit & /data/local/userinit.sh).
[HTC Sensation] MS Gray Man:
DOH... Sometimes no matter how long you do this it's the simple things you miss.

So going to settings\performance to confirm that the ROM wasn't forcing settings :D

Currently both cores are functiioning under mdprecision and both on badass... The cpu0 odd setting of ondemand was coming from ROM performance tweaks...

I'll play with this a bit and see if cpu1 stays alive and update... Wanted to get this out there for now.
[HTC Sensation] Hitorijanae:
Why not make an aroma version to let users choose what frequencies to use.
[HTC Sensation] Sultanxda:
I thought about that, and if I learn how to do it then it'll probably happen in the future.
[HTC Sensation] Sultanxda:
Sweep2Wake and Fastcharge

Ok, I've released r1.5 that includes an init.d script that allows you to enable Sweep2Wake and Fastcharge. Just go to /etc/init.d and modify the file called 99sultan-kernel. Enjoy!
[HTC Sensation] Tung_meister:
I'll add another vote for ondemand or ondemandx as I find ondemand gives me the best performance vs battery life experience.

I'd also like to see SIO scheduler aswell.
[HTC Sensation] Incredible_Culp:
+1 on OnDemand and or OnDemandx.. I think having better battery life is more convenient than performance..

I uc to 1188 or 1242 anyhow and my gaming is fine