yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] nickislauw:
how is the battery life with this kernel ?? it's important to me
[HTC Sensation] topgeardave:
If you're open to new ideas, how about creating a battery saving option. Tamcore had introduced a wifi saving power off option from Francisco Franco in his kernel which you could also implement? And there is also a possibility where you could you also introduce a 3 tier badass setting in your init.d script.

Or you could just make a new kernel for battery saving whilst cherry picking battery saving features from the Internet with the right credits given.

Just my ideas

Kind Regards

Dave
[HTC Sensation] ianoob:
Go to the OP of TamCor's thread, follow the link

http://xdaforums.com/showthread.php?p=32282764

Depends on your settings. As flashed this kernel is more about performance but you can customize to get better battery.

Sent from my phone on an app
[HTC Sensation] Sultanxda:
My kernel already has the WiFi power management feature (I think), but the controls aren't in the init.d script. My kernel also supports the 3 tier Badass settings (that I know for sure), but that also isn't in the init.d script. I'll add both of those to the init.d script. I don't really think it's necessary to make a brand new kernel designed for power saving because my kernel already has the ability to be battery saving, unless you'd want GPU underclocking which would make graphics performance atrocious.

UPDATE: No, my kernel does not have the WiFi power management feature. I'll try adding it to this kernel and my Sense kernel.
[HTC Sensation] topgeardave:
Cheers pal! Appreciate your hard work on your kernels :) And I don't need gpu underclocking as it won't make much of a difference to the battery.
[HTC Sensation] Sultanxda:
Easiest way to change the GPU speed is to download Kernel Tuner from the Play Store. I have added this information to the OP :) There is currently no mechanism to control GPU speed in my init.d script.
[HTC Sensation] lifeisfaked:
Download Kernel Tuner from the Play Store - you can toggle vsync here along with a wealth of other settings :)
[HTC Sensation] blahbl4hblah:
And it's free ;)
[HTC Sensation] ninjabadger:
Nice app. Thanks.

I notice 2d GPU is stuck at 200mhz.

Sent from my HTC Sensation
[HTC Sensation] Sultanxda:
There's a bug with the configurable GPU frequency so by default the 2D frequency is 200MHz but it scales up to 266MHz when it's needed. I'll package Axetilen's Aroma installer from my Sense kernel (when he finishes it) in order to fix this.
[HTC Sensation] jazzzzzzz:
Any one noticed low WiFi signal strength?
[HTC Sensation] ninjabadger:
If that's what is happening I'm not sure it needs fixing. Good to have higher MHz only when needed :D

Sent from my HTC Sensation
[HTC Sensation] axetilen:
actually, 2d gpu with high freq is kinda useless because it cannot scale up or down, stay the same freq all the time (it is locked and only be modified by script) and sucks the battery. The performance is not much different unless you do a benchmark

I and Yank have the same idea about this. we dont really need that much, 200mhz is enough for everything :)

you can use kernel tuner to config everything

I have the aroma installer but I just install for the first time and done (just need some tweaks that kernel tuner cannot provide), leave it away and use kernel tuner to do everything
[HTC Sensation] Sultanxda:
Well then, the gpuclk_max file is practically useless :p
[HTC Sensation] axetilen:
I have no idea because in PYD and sebastianFM kernels, they blocked 2d gpu so it will always run at 200mhz and cant be changed so the aroma mod never have 2d configuration for these kernels

I dont thing it is useless
[HTC Sensation] Sultanxda:
No, I meant that it's useless that QualComm added that file because the GPU can't scale, so why have a file defining the max GPU clock?
[HTC Sensation] axetilen:
I think they added that because they dont allow us to change the gpuclk. only max_gpuclk can be editted and gpuclk will run at the same as the max one
[HTC Sensation] Duckie92:
I have problems with wifi tethering. Using no encryption, it works fine, but with any encryption on, it refuses to connect.

Anyone else with this problem?
[HTC Sensation] chassy_8o9:
+1 same here!!!

---------- Post added at 01:59 PM ---------- Previous post was at 01:57 PM ----------

I can not enable CPU1, I have checked the boxes in the folder 99sultan-kernel. I'm using the latest JELLYBAM ROM and Kernel tuner from google play... any suggestions? thanks in advance.... excellent work by the way

sorry if it has already been answered but I have no time to look back, I'm working :s
[HTC Sensation] sepsep 21:
For WiFi tethering If you are using cm10 I think it's the cm10 bug not the kernel. Because I had this problem even with tamcore kernel.
[HTC Sensation] Sultanxda:
That is a CM10 bug. I did a clean installation of Bruce's CM10 ROM and used his kernel and WiFi tether still did not work.

By default the second CPU core should be forced online. Uninstall Kernel Tuner and install Android Tuner Free, then reboot and see if it's working.
[HTC Sensation] Duckie92:
[/COLOR]

As I posted before, its a kernel problem, not a CM bug. It works perfect with the kernel that comes with the official CM10.
[HTC Sensation] fragargon:
So you can easily create that script.

Create a text file without extension on init.d folder and give right permission.

#!/system/bin/sh

Start mp decision

Call this file with a number like:

98mpdecision

With a good root browser this should takes 5 minutes.
[HTC Sensation] axetilen:
mpdecision, not mp decision :)

it is just a test

actually, it will be fully working with 3 files: mpdecision, thermald and thermald.conf

I dont recommend to create a new script and put it in init.d folder because it will become a leftover when we want to change to other kernels

maybe we know how to manage the settings and scripts ourselves but some newbies dont :p

I always think about super n00bs when I make aroma mods so I wont confuse them

the better way is to modify an exist script and add

start mpdecion
start thermald
[HTC Sensation] fragargon:
Oops :). ... you right
[HTC Sensation] chassy_8o9:
i was using kernel tuner from googleplay that allowed me to enable S2W and fast charge without problems but the CPU1 was always offline. someone advised me to change kernel tuner for android tuner, now i have my cpu online (no problem with that). the thing is that i cant to enable S2W or fast charge because that does not allow me to edit the file 99sultan-kernel. how can i edit that files using the aap described by the dev in this threat. any suggestion? thanks in advance

the "how to do it" from the developer didnt work for me... please need some help here.... thank you
[HTC Sensation] Sultanxda:
Read the common problems and solutions section in the OP. When it asks you what app to open the 99sultan-kernel file with, select rb text editor.
[HTC Sensation] dollyaja:
Have you check if there's an MPdecission option on kernel turner,if kernel support, it allows you to set on/off cpu while screen off(bottom)
[HTC Sensation] chassy_8o9:
I read all about the problems and is exactly what happens, I follow the steps and use everything the DEV recommended and still will not let me edit the file.

@dollyaja i allready done that... will make a fresh install of everithing (ROM and KERNEL) because i think it can be some of leftovers from another 3 different kernels
[HTC Sensation] Sultanxda:
You're using Root Browser and Root Browser Text Editor (RB Text Editor)? If you are then this shouldn't be a problem.
[HTC Sensation] chassy_8o9:
i think im stoned lol the thing here is "RB Text Editor" i used everyone in the list except that one. thanks, u save me from reinstall everything!!!

Well.... still offline :banghead::mad:
[HTC Sensation] CRACING:
Hello,

I'm using jellybam v3.3.0 [29/12] with this kernal (R10) and both CPU 0 and 1 are online and working. Using latest Android Tuner.

Just that I have set max freq to 1.24ghz but both the cpu reaches to 1.51GHz. No idea why. :confused:

However, current cpu speed shown in aokp performance settings and in android performance stays within at selected freq (1242 Mhz).

P.s I have done cache and dalvik wipe after flashing the kernal, Not sure if thats really required or matters. :P
[HTC Sensation] Sultanxda:
Download No-Frills CPU Control from the Play Store and in the settings for No-Frills enable the "prevent other apps from changing frequency" option. Now select your desired frequency and it should work.
[HTC Sensation] CRACING:
And it did. Thanks a lot. :)

BTW; when it was showing/reaching 1.51GHz in android tuner cpu bars, does it mean the speed was actually reaching 1.51GHz? Why didn't the aokp cpu settings and android cpu settings didn't worked. I have selected 1.24ghz and also set on boot. Strange how it worked on No-Frills CPU. Is there something special in that app. :confused:
[HTC Sensation] axetilen:
did you turn on the msm_mpdecision?

it is the reason why cpu tends to jump back to 1512 or 1566 after deep sleep
[HTC Sensation] CRACING:
Do you mean enable multi-processor control in android tuner? if so, nope haven't enabled it.

Or if you mean kernel based mpdecision in 99sultan-kernel, nope haven't enabled either.

Not sure both the above are same settings.

But I haven't left the device for a sleep, Only did reboots. cpu freq of both 1 and 2 were jumping from 384 mhz, 1.24 ghz and 1.51 ghz but I can see max cpu freq is set to 1.24 ghz. After I tried No-Frills CPU Control, it shows 384 mhz & 1.24 ghz only but settings to change cpu freq, voltage, governors and etc have got disabled in android tuner, I can only view the graph.
[HTC Sensation] Sultanxda:
The prevent changes from other apps setting in no frills makes it special.

He didn't have mpdecision enabled so it would seem that the version of mpdecision I'm using doesn't have the bug.
[HTC Sensation] CRACING:
Oh I see

So should I need to turn it ON?

Is it that the one in android tuner ( as I wrote in my previous post) or its in 99sultan-kernel or both settings are same?
[HTC Sensation] Sultanxda:
Only turn on mpdecision if you want to save power. It turns core1 off and on depending on whether or not the system needs the extra power.
[HTC Sensation] CRACING:
hmm thats great. I like to save power otherwise why would I set cpu freq to 1.24ghz max either. :)

Thanks...

Best Regards
[HTC Sensation] Sleepy!:
Hey man... dirty flashed this over Bruce's ROM from 3rd Jan yesterday... it booted up, stayed on for less than a minute, and then rebooted... :eek:

I dirty flashed Bruce 06.01 after that, and everything's working as it should be....

I couldn't even pull logs...

I hadn't got any extra init.d scripts running, either. I checked if those might be causing the problem...

Could you (or anyone else) try a dirty flash on Bruce's 3th Jan nightly to see if they get the problem??
[HTC Sensation] chassy_8o9:
I've tried everything, to use this kernel and jellybam rom, i will start from zero an reinstall everything ... but I'll get to the bottom of this and be able to have the 2 cores running

---------- Post added at 03:39 PM ---------- Previous post was at 03:29 PM ----------

so, if I leave it off means that the 2 cores will be running simultaneously and always on? thanks in advance
[HTC Sensation] Sultanxda:
Disable your overclock on boot. Read the FAQ in the second post.

Correct. With mpdecision disabled, both cores will stay forced online.
[HTC Sensation] fragargon:
Hi there,

i experienced same behaviour since a while on different kernel (tamcore - dragunkor - yours).

After a deep sleep, i usually saw OC back to kernel defaut value. I suspected mpdecision... so 2days ago a lunch a cmd with terminal

stop mpdecision

(su right of course) I m not sure mpdecision stopped as core1 still goes offline. this weird behaviour happened once more... OC cpu back to default kernel value.

so is this command works to stop mpdecision or this must be done at boot process??

Android1234567 is this the same msm mpdecision used on your kernel R7 ?

I m not complaining as i ve got a work around, I m just tryin understand why this happens since this is a question running on my mind for weeks.

thanks for your answers dude
[HTC Sensation] chassy_8o9:
im done with this... try it everything and i cant get both cores runing at same time with this kernel and jellybam 3.3.0 rom, will try it later with another jellybean rom cuz i really want to use this kernel... the strange thing is that this only happens to me with this kernel!!
[HTC Sensation] Sultanxda:
If you have Kernel Tuner installed then uninstall it, reboot, and see if your second core comes on.
[HTC Sensation] chassy_8o9:
not only did that, also reinstall everything from scratch.I do not use the kernel tuner but use android tuner and still offline. after that also use the mod:[AROMA][MOD][8 JAN] AIO Kernel MOD - PYD-X, SebastianFM & Sultan Kernels, to see if that could be the 2 cores online simultaneously without a positive result :(
[HTC Sensation] Sultanxda:
That mod actually removes the script that forces both cores online.

Open a terminal, type in su, then type in echo "1" > /sys/devices/system/cpu/cpu1/online and hit enter.

Then type in cat /sys/devices/system/cpu/cpu1/online and hit enter. The output should be 1.
[HTC Sensation] chassy_8o9:
ok will try it tomorow... now need my bed... thanks bro
[HTC Sensation] adv392:
Just wanted to thank you! Running AOKP by Frank and my phone is high on drugs and flies!!

TURBOBOOSTERS ON, haha thanks a ton for the kernel and for your hard work :)
[HTC Sensation] HAWF:
Thank you very much for your hard work! My phone is running 3 days WITHOUT any crash and/or reboot! I was going to take my phone and trow against the wall, but I changed my mind and got back in love with my phone. xD
[HTC Sensation] fragargon:
hi android1234567,

have U got any idea? ==> http://goo.gl/2xYQH
[HTC Sensation] Sultanxda:
I could've sworn I replied to that... Sorry about that. Anyway, you only need to do stop mpdecision if you flashed Axetilen's Mod and selected HTC mpdecision. Otherwise, to disable mpdecision, you need to do echo "0" > /sys/kernel/msm_mpdecision/conf/enabled
[HTC Sensation] chassy_8o9:
got the 2 cores running all time, finally.... now the cpu is stick in ondemand governor and i cant change to intellidemand for example... can some one help with this? thanks in advance
[HTC Sensation] axetilen:
used my mod?

reflash and choose intellidemand to get the inactive intellidemand frequency control

msm menu, whatever

android 1->7 sent me the kernel zip + aroma mod and there will be an option to make cpu1 online but it is not ready yet

open android terminal and type:

su
stop mpdecision
stop thermald
echo 0 > /sys/kernel/msm_mpdecision/conf/enabled
chmod 777 /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/kernel/msm_mpdecision/conf/enabled
[HTC Sensation] chassy_8o9:
nope, i do not use your mod... so, flash your mod and then type those comands and the result will be the 2 cores onlline and the governor i choose?? thanks in advance
[HTC Sensation] axetilen:
so no need to flash mod

finally you have to type these: (some maybe unnecessary but to make sure everything would work)

su
stop mpdecision
stop thermald
echo 0 > /sys/kernel/msm_mpdecision/conf/enabled
chmod 777 /sys/devices/system/cpu/cpu1/online
echo 0 > /sys/kernel/msm_mpdecision/conf/enabled
echo "intellidemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "intellidemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

if you wanna lock CPU1 online like forever (it maybe changed on boot if there is a script doing the same thing), after typing these codes, type:

su
chmod 444 /sys/devices/system/cpu/cpu1/online

this will set permission to cpu1 script to Read-only

if you wanna change it just replace 444 -> 777 (full control)
[HTC Sensation] chassy_8o9:
still stick in ondeman governor, even with another rom (paranoid android official by dragunkorr). another suggestion to solve this issue?

how can i create a logcat for the developers to use? thanks in advance
[HTC Sensation] Sultanxda:
An Aroma version is probably going to be released tomorrow ;) I just released an Aroma version for my Sense kernel (I can't thank you enough, Axetilen :)) so this kernel is next
[HTC Sensation] Sultanxda:
R11 released!

R11 has been released and now comes with an Aroma installer! Without Axetilen, Ghost, and Iba21 (they made the AIO Aroma mod), there would be no Aroma installer, so please thank them :)! I've also added the bcm4329 WiFi driver so if WiFi hasn't been working for you then it should work now. The final change is the addition of the notification LED timer mod (Yank555), so now you can choose how long your notification LED will flash after receiving a notification. You can even make the notification LED flash forever! Enjoy!
[HTC Sensation] dollyaja:
Can soneone give me best governor and scheduler setting,and cpu max/min for better battery life,but not so slow on performance( no need very good performance since havent gaming lately,just doing some social media with 3G on always ) thanks
[HTC Sensation] spiderio:
try this

Gov : Badass

MaxFreq : 1180

MinFreq : 192

No Overclock GPU

Undervoltage 9+ or 75m

Sched : SIO
[HTC Sensation] wcypierre:
you can try my tool AIOlog(download link at my signature) to create a logcat, and many other logs too :)
[HTC Sensation] Sultanxda:
R11 has an Aroma installer that simplifies everything, so you can force both CPU cores online, etc. and it is working perfectly. I suggest you flash that.
[HTC Sensation] chassy_8o9:
This is what i got after a clean install of this kernel using almost everything recommended/default but intellidemand governor, without mpdecision, i mean everything to get both cores running. Can be a problem with android tuner app or even worst, a problem with my phone? I think i am the only one who experiencing this behavior and was a clean install with paranoid android v21 official by dragunkorr and using the kernel reset mod. This is frustrating specially if i really want to use this and my experience is limited to a tutorial or memorize one.... i hope to have the brain of one of these developers :D... thank you
[HTC Sensation] Sultanxda:
WTF, how did that happen... Download No-Frills CPU Control from the Play Store and in the settings for No-Frills enable the "prevent other apps from changing frequency" option. Now select your desired frequency and it should work. If that doesn't work then I suggest you test a different ROM and see if it works then.
[HTC Sensation] mobilarz85:
Amazing.. I had a slight lag issue with r10, but r11 with aroma is running absolutely awesome. Thank you for all your hard work. My phone is running the best its ever run at this point.
[HTC Sensation] chassy_8o9:
i try it with another roms getting the same ressult....and the app doesnt help either! :( thank you
[HTC Sensation] axetilen:
dont use my kernel reset for non-sense roms

it isnt fully compatible

use android tuner -> press the button "free" -> "online"

and leave it. dont touch it anymore
[HTC Sensation] sepsep 21:
Hi. I flashed cm10 and r11. Everything was good until CPU 1 turned off. I tried to turn it on with kernel tuner but nothing happened. I flashed r11 again but after a while CPU 1 turned off. Its too bad because without CPU 1 everything seems laggy. What should I do?
[HTC Sensation] mobilarz85:
If you use aroma version, you can choose the settings you need to force both CPU online.
[HTC Sensation] axetilen:
Have anyone tested that if you choose Force BOTH cores online in the aroma, will they stay online???

=> When I gave android1-7 the aroma installer, I didnt test that
[HTC Sensation] Sultanxda:
I tested it many times and it didn't work when there was the HTC msm_decision. Now, since I removed it, it works perfectly for me.
[HTC Sensation] Sultanxda:
Uninstall Kernel Tuner and reboot. Kernel Tuner is causing the problem.
[HTC Sensation] sepsep 21:
I think something is wrong with my battery life. Look at the screenshot.

I had enabled mp-decision but no different in battery life.
[HTC Sensation] axetilen:
full image of the first battery menu???

is android os using a huge amount of battery?
[HTC Sensation] sepsep 21:
I reset the phone and history is deleted. But LCD used a lot of battery.
[HTC Sensation] axetilen:
leave your phone for some hours and see

you should decrease screen brightness
[HTC Sensation] sepsep 21:
But my battery life used to be better than this.
[HTC Sensation] betahelix:
Hi.

Just installed you rom on a jellybam ROM.

I am having some troubles with wifi stopping after a while.

Will s-off help this problem, as i am s-on unlocked via htcdev.com
[HTC Sensation] dollyaja:
Do i need to delete something from this,im using bruce cm10 with R11 kernel(system-etc-init.d)

+the governor always back to ondemand, i already set intellidemand as my default governor on aroma,what should i do :confused:
[HTC Sensation] Sultanxda:
89bruce and 89bruce.bak can be deleted. 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] dohclude:
so is mpdecision broken (in that cpu1 goes offline and never wakes back up)? I'm using intellidemand gov, enabled mpdesicion, and I cannot get cpu1 to stay online at all. I don't have kernel tuner installed at all. Was using android tuner, but not to change settings, only to monitor. I removed android tuner, still no cpu1. Tried installing no frills and checking the option prevent other apps, still no cpu1. With no cpu/kernel tuning apps installed whatsoever I still get offline cpu1, I can tell because my antutu scores are always in the 5000's when it goes offline, normally around 8500 with both cores active. I'm running PAC-man rom (built myself from github source).

EDIT* - scratch that, just went back and disabled mpdecision. rebooted, ran antutu, 8900. let the phone sleep for a few minutes, ran antutu again, 4000 :(. Maybe it's not mpdecision that's knocking out cpu1, but the intellidemand gov? I even rebuilt the kernel from source with intellidemand set as the default gov (so I wouldn't need any tuner apps.)
[HTC Sensation] Sultanxda:
Mpdecision is working correctly for other people (and myself). Mpdecision turns Core1 off according to the system's load in order to save power. If you want to make Core1 stay online all the time then in the Aroma installer disable mpdecision. If you want to check if mpdecision is enabled then open a terminal and type in cat /sys/kernel/msm_mpdecision/conf/enabled

An output of 1 means mpdecision is enabled and an output of 0 means mpdecision is disabled.
[HTC Sensation] dohclude:
I'm aware of that. I would assume that antutu benchmark would be enough load to activate core1 though, correct? If not, then what would be a sufficient load on the cpu to bring the 2nd core back online?
[HTC Sensation] Sultanxda:
What was the output of cat /sys/kernel/msm_mpdecision/conf/enabled? Antutu is waaaaaaaay more than sufficient enough to make the second CPU core come online.
[HTC Sensation] dohclude:
1 that should mean it's enabled, but it's not working.
[HTC Sensation] Sultanxda:
Make a nandroid and try a different ROM. The problem could be coming from the PacMAN source. I just tested mpdecision right now and it's turning Core1 off and on like it's supposed to.
[HTC Sensation] MS Gray Man:
May be a conflict with Pacman source... since JellyBAM forked from there.. But I did just test this on JellyBam and cpu1 definitely gets knocked offline and stays that way... Stock kernel that ships with the ROM cycles the cores fine.

So something isn't happy between Sultan and the bam.,,
[HTC Sensation] dohclude:
Just did a clean install of cm10. Installed sultan with mpdecision and intellidemand gov. Rebooted, ran antutu, 4000 score. cpu1 still offline right off the line. :scratches head:

cat /sys/kernel/msm_mpdecision/conf/enabled = 1