yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] mehr1369:
I Love U Show-p And I love your work ... thanx for being here again
[HTC Sensation] wifi75:
Also is possible install [MOD] Aroma | UV | 23-Jun | New dualcore configuration of 1.1/1.2-1.3 bricked kernel ?? :confused:
[HTC Sensation] yuyuchen0204:
ah, I tried this but still cpu 1 offline :(
[HTC Sensation] aimcr7:
Reboot? Or manually execute the script?
[HTC Sensation] show-p1984:
That is not necessary, mpdecision will do it on it's own when you disable it.

You probably use 3rd party scripts, like iba21's which will be executed AFTER the script you just created (they have a higher number in their filename). Remove 3rd party scripts and it will work the way i posted you.
[HTC Sensation] yuyuchen0204:
ya I've rebooted many times...

how to execute the script manually?

could you tell me where to put the scripts and if it's right that I set the property of init.d as rwx-rwx-rwx?

I add a txt file first and copy those scripts into it and then change the file's name to init.d. Is it a correct step :confused:

---------- Post added at 01:55 PM ---------- Previous post was at 01:52 PM ----------

thanks showp, I would get a try.

is it necessary to set the properties of the scripts? I mean read, write or execute.
[HTC Sensation] show-p1984:
You named the script init.d? that cannot work.

init.d script need to be named like this:

XXname

where XX can be a number from 00 to 99, this number will control in which order the scripts are executed.

executing a script manually:

cd /system/etc/init.d/

sh XXname

init.d script permissions:

-rwxr-xr-x = 0755 (or 755 if you prefer it without the leading zero ^^)

EDIT:

Also be sure to use a unicode editor to create the script. Wordpad, notepad or Microsoft Word won't work.

use notepad++, nano, vi etc...

or create the script over the terminal:

touch /system/etc/init.d/05force
chmod 755 /system/etc/init.d/05force
echo "#!/system/bin/sh" > /system/etc/init.d/05force
echo "#disable mpdecision" >> /system/etc/init.d/05force
echo "echo "0" > /sys/kernel/msm_mpdecision/conf/enabled" >> /system/etc/init.d/05force
[HTC Sensation] aimcr7:
put it on init.d folder inside system/etc change file name to 90cpuscript or something like that so system will execute it last.

to execute script manually, use root explorer - open the script open with linux script handler

or use script manager, open the script dont forget to give su permission to the script so it will be executed successfully. ;)

EDIT: damn, showp faster :p

follow instruction from the master. ignore this :p
[HTC Sensation] iba21:
??? wrong thread

yep it's possible to use with bricked kernel (i wrote it only for that kernel)

the 3.7 version is only for the 1.1

the 1.0 version is for the 1.2 and 1.3

---------- Post added at 03:20 PM ---------- Previous post was at 03:12 PM ----------

i was writing it too

yuyuchen0204, you find a terminal in system tuner app, write line by line not all in one
[HTC Sensation] yuyuchen0204:
Really Really Really hugely appreciate for both of you, showp and aim!!!!!

showp it's really kind of you to teach me sooo many things, I've learned veryyyyy much wow! And aimcr your helpful reply also make me more clear again.

I'll try them after my phone get a full charge.

Sorry that my thanks button go beyond the limit today haaa

I'll press them tomoorow.

I know you won't care at all but that's the way I show my appreciation hehe. ;)

ok thanks! I'll try it.

Much appreciate to you for answering many of my questions :)
[HTC Sensation] D-SHEL:
Really amazing updates, show-p1984.

So, have a bug with Sense 4 (PkMn 5.1). Red LED lights all the time when the charge is less than 14%.
[HTC Sensation] iba21:
it's like this with 1.1 too!
[HTC Sensation] show-p1984:
and it's not a bug.
[HTC Sensation] D-SHEL:
Sometimes I see that red LED blinks. Not lights :)
[HTC Sensation] XxXPachaXxX:
any overall performance improvements from latest versions?
[HTC Sensation] tomer1981:
show & iba - Awesome work !!
[HTC Sensation] show-p1984:
small hotfix for the mpdecision sysfs enable/disable option @ OP.
[HTC Sensation] yuyuchen0204:
thanks showp...

In the long run I got both of my core online :)

is the new version mainly for those who force dual core online? because it seems that there is a code which disable mpdecision.
[HTC Sensation] lightninbug:
Maybe I'm blind..or still hungover....how can we disable mpdecision? Or is it already disabled?
[HTC Sensation] Hitorijanae:
Edit: fixed in 1.3
[HTC Sensation] Tinchoska:
hey guys, good afternoon, should i use system tuner to check cpu???????? if i wanna UV i have to use that app too, rigth?
[HTC Sensation] show-p1984:
If you mean the userspace mpdecision binary, it is disabled.

If you mean the kernel space (my) mpdecision:

http://xdaforums.com/showpost.php?p=17430308&postcount=2

read it, understand it and evolve :P
[HTC Sensation] ziaulh.ch:
I don't know whybut after the update the batt life is comparatively worse. Any way to find out ways to make it better?

Mine is badass, 3d balanced, 2d balanced, battery optimized, zdam yes.
[HTC Sensation] sajibcy:
use badass battery from market.
[HTC Sensation] erraggy:
I believe @showp was just making the point that he built it this way as he thought it was the best implementation and that if anyone would like that to be changed, they are free to pull his source and modify it to do so. Of course in order for anyone to do this, they would need to know (or learn) how to understand and write C code. :silly:
[HTC Sensation] delta-roh:
This is just a fantastic kernel, but I want to inform about one issue: I have PkMn Charmeleon 5.1. I installed the kernel with the game MiB 3 from gameloft and it does a FC. This happens with the bricked kernel version that comes with PkMn Charmeleon 5.1 and with the new version as well. I then tried it with SebastianFM kernel and it works.
[HTC Sensation] smokin901:
WiFi is stuck on turning on after flashing 1.31 on ordroid 9.0

Update

Ignore I had flashed AOSP kernel installed correct kernel everything is working ok now
[HTC Sensation] tessut:
On version 1.31 my 2 nd core goes after 10 sec offline but i set it to online...is this a bug ?
[HTC Sensation] McLongDong:
I agree with the latest updated kernel v1.31. If you look at the the time in state of the frequencies, 30% of the time 918000 and 118000 Khz occurs although screen is off. Compared to v1.2, 192000 Khz occurs 80% of the time. Although I don't have a screenshot of it because showp updated his kernel so quickly :victory:. What is the cause of this? Is it this new mpdecision whatnot?
[HTC Sensation] chrisrj28:
Yes I have noticed that battery drain had increased with the latest kernel. Was great with v1.1 and Pkmn rom, only thing I have done different is flash the kernel. Gonna roll back to v1.1 for now, just providing my observation.
[HTC Sensation] gen129:
I have noticed the same issue with battery drain. Yesterday evening full charged, rebooted twice and issue was gone. Now (overnight) screen-off times for 192/918 is like 90/10.
[HTC Sensation] show-p1984:
Your phone didn't ran that long, ofc you will see more percentage @ higher frequencies right after booting your phone. Booting requires a lots of juice. Let it sit idle for a while, or use it, and you will see the percentage dropping.

What you did is like comparing the fuel consumption of a car which accelerated from 0-100 with one driving @100 all the time.

Ofc the fuel consumption will be a lot higher on the car that just accelerated to 100, but if it then holds the speed, the consumption will level out.

Just wait for it ^^
[HTC Sensation] Layio:
After I install v1.2, and now have latest v1.3 on sdcard in folder bugreports there is many reports - from 9:40 to 10:40 I have 8 reports, each has 5mb (I only listening to radio). Everyday I get 20-30 reports. Phone works ok, no reboots, but sometimes slow down.

How to fix this? I attach one report, maybe it help.

https://www.dropbox.com/s/mh1ezm9vn0ggeg4/bugreport-2012-06-25-10-41-30.txt
[HTC Sensation] dmeinder:
Show.....Sorry, I don't understand the difference between 1.3 and 1.31, aside from "hotfix" in the changelog.

What does this mean, and what do I want...haha

Do I flash 1.3, then 1.31 to fix something?

do I want mpdecision on or off in order to implement your kernel control of cores online?

Thanks in advance
[HTC Sensation] baste07:
if you want the latest you want the 1.31

but there are only minimal changes from 1.3 ( thus show said hotfix)
[HTC Sensation] j1po:
I dont face battery drain issue in 1.31 :good:

cpu usage normal, i have 16.5 hrs uptime and 2hours screen on

cpu usage table

1080 1% (00:16)

918 3% (00:35)

192 12% (02:05)

deep sleep 80% (13:25)

internet on all day (wifi-2g-3g)
[HTC Sensation] ninjabadger:
Phone in pocket all day.

Would expect more time in lower frq but battery consumption seems ok.

Sent from my Ordroided Sensation
[HTC Sensation] show-p1984:
Those bug reports are generated by your rom and can usually be ignored if the system is not impaired by something.

HOTFIX = small but important fix for some functionality, as baste did already tell you.

This hotfix only fixes the ability to disable mpdecision. Specifically:

v1.3 does not check if the CPU is already online and just sets it online again if you disable mpdecision. This can lead to problems if the CPU is already online.

v1.31 is checking if the CPU is online and if it is, it is just disabling mpdecision.

The kmsgs thrown out also differ:

CPU offline & mpdecision is being disabled:

pr_info(MPDEC_TAG"nap time... Hot plugged CPU[%d] | Mask=[%d%d]\n",
cpu, cpu_online(0), cpu_online(1));

CPU online & mpdecision is being disabled:

pr_info(MPDEC_TAG"nap time...\n");

So that the user can see what actually happened.

This will show you more if you are interested.

If you have your max freq set, the time spent @ low frequencies was below or equal to that set value. The reason why it is not shown:

The max freq will be limited right before the frequency is set. That means: the governor detects the system needs more juice, calculates the new frequency and requests an increase to that frequency. The new frequency is now written into the cpustats, but right before the actual clock is set, the frequency is limited to your specified value.

I could change that, so that the CPU stats will reflect the correct value, but tbh I never thought this would be a big issue, that's why I didn't do it until now.

Maybe that's something for the TODO list.
[HTC Sensation] ninjabadger:
Am I best just to uninstall setcpu and not worry about it? Thanks

Sent from my Ordroided Sensation
[HTC Sensation] show-p1984:
I do not care what you do with system tuner, but you shouldn't worry about it if you set a maxscroff frequency. :)

Maybe you could check if a rouge app keeps the system at max freq while sleeping (your maxscroff frequency). In the past time this usually was facebook for me, which sucks a lot with their thousand little bugs lately.
[HTC Sensation] ninjabadger:
I only use setcpu to check time in state.

If your saying its not accurate I may as well remove.

I used to use it for oc but I just use bricked defaults now.

Sent from my Ordroided Sensation
[HTC Sensation] q9650:
You can use CPU spy if you just check time in stat ;)
[HTC Sensation] gen129:
Flashed back 1.1 due to high battery drain.
[HTC Sensation] q9650:
And My dog just farted...no one cares :) unless u don't provide usefull information, we can't help.
[HTC Sensation] gen129:
Sorry, but I don't ask for help - just inform Show-p that last releases eats much more battery then previous ones.

Just inform. I have no inconviences using old and stable kernel. Thanks a lot for it to Show-P!
[HTC Sensation] jleon1320:
a bit confused?

Hi, want to use this kernel but I am a little confused as to which version is correct. I have a sense 3.6 ROM but installed an AOSP theme and chose to remove the sense launcher. Will I be using the AOSP or Sense version of the kernel?
[HTC Sensation] Tungst5n:
I flashed 1.3 and then 1.2 and I've been getting bootloops. I'm using HyperNonesense 1.5 and I'm not sure if that's significant. I even tried to wipe the cache and dalvik
[HTC Sensation] haifish9999:
With HyperNonsense you must be v1.3 AOSP to flashed( no v1.3 for sensation) may be.
[HTC Sensation] AndroidNeophyte:
Flash the sense version of the kernel since your ROM is sense base... AOSP you flash is just a theme/skin...
[HTC Sensation] memnoc:
glad to see I'm not the only one :laugh:
[HTC Sensation] erpalma:
With 1.31 my 2nd core is ALWAYS offline! Maybe 50sec online in 24h
[HTC Sensation] sajibcy:
2nd core comes online only when it need. u can use system tuner to force online. but i guess it will decrease ur battery life.
[HTC Sensation] tessut:
Nope after a couple of second it goes offline again...
[HTC Sensation] q9650:
Hey show, I know this is a bit OT but can u explain me, why ics is not really multitasking anymore. I mean even with zram and swap on my ad card it closes the apps really fast. Example: starting opera and surfing a little bit, then press home and open music press home, the open settings and do some settings. Then I go back to opera and it starts to open from scratch and reloads the tab... Really frustrating
[HTC Sensation] show-p1984:
Yeah exactly. It goes offline if it is not needed anymore.

That's called energy efficiency, not buggy. If you had read the 2nd post, you would have found detailed instructions on how to disable mpdecision and let both cores stay online all the time. (if that's what you are preferring)

Probably to do with your memory usage, or with the app you use. Some apps send a signal to the os that they are not needed anymore upon exit, hence they are killed off immediately.

Check your low mem values and your swappiness value. Adjust them accordingly and see if it improves your situation.

But this is way OT :)
[HTC Sensation] rebar71:
I don't know why he's getting bootloops, but this is incorrect. HyperNonsense ROM is still Sense based. It has all the widgets and bloat stripped out, but the core Sense framework is still there - that is why everything works. It is still a Sense based ROM so use the Sense kernel for it.

Conversely, HyperSensation is AOKP ROM - so use the AOSP kernel for that one.
[HTC Sensation] Yank555:
As show-p already suggested, I would also think it is the low memory killer that starts action way too soon. I've set mine to start killing very late, and multi-tasking has improved quite a lot.

You can do it with SystemTuner for instance. If you use my Mod for swap, it will set these values rather low as well and set swappiness to 100 (max.) so I see swap use of 60Mb+ (vs. 10-20Mb only on swappiness 50-60).

JP.
[HTC Sensation] erraggy:
The problem is this is a development thread. The purpose of it is to provide feedback to the developer that they can use to further their progress. Help is a side effect from the community trying to move it forward as well and troubleshoot problems. There is more information locked inside your head regarding the experience you had with the 1.3 version. Your post only points this out so it is frustrating to the rest of the community.
[HTC Sensation] gen129:
If you doesn't noticed, I've provided feedback. Let's remember: NEW KERNELS EATS A LOT OF BATTERY. That's all I have to tell. Are you unhappy? It's your problem. My problem I've solved. Do you have questions? Don't hesitate to ask me and I'll try to answer.
[HTC Sensation] Steven08:
sorry for asking

i want to know if i use ondemand governour,will both cores work?or only one?what is more efficient for performance/battery life?one or both cores?wich program should i use to see if both cores are running?thanks
[HTC Sensation] erraggy:
Unhappy? No.

I was just sharing the frustration that posts like yours causes to me and some others. I mean no offense. I am only trying to help you understand how a development thread is intended to work because you stated that:

And that statement is not actionable by showp or anyone else. In order for him to do anything about it (if anything is required to be done), he would need to know the minimum that he states in the OP.

Please do not take this reply as an attack and continue arguing. :( This is just how development threads work.
[HTC Sensation] ziaulh.ch:
I have switched to 1.1 and it has solved all of my problem. Happy with it.
[HTC Sensation] erraggy:
Onedemand and badass both allow for both cores to be utilized when needed. For better battery life, you will find badass to perform better as that is it's goal. If you really want to see both cores running, System Tuner or just about any of the other CPU management apps on the market will show you visually if both are active and at what frequency. Honestly though, if you are not experiencing any lag, then I wouldn't worry about if one or both are running.

This tends to be more of a "why isn't the second core running?" thing and not a "why does my phone lag when doing X?" thing. :D
[HTC Sensation] gen129:
Sorry, I have no time to analize kernel source code to find changes which eats battery. And - yes - I've spend enough time to compare battery drain on old and new kernels without any other changes. And comparison is drastic. Once more sorry. I can't take you more details.
[HTC Sensation] ninjabadger:
Running v1.31 21.5 hours since unplug, 3.2 hours screen on. 30% battery remains.

Great stuff, thanks again.

Sent from my Ordroided Sensation
[HTC Sensation] Tinchoska:
Are you using anker battery?

Enviado desde mi HTC Sensation Z710e usando Tapatalk 2
[HTC Sensation] ninjabadger:
Indeed.

Sent from my Ordroided Sensation
[HTC Sensation] ganeshp:
Yay 7777 th post

Sorry for being off topic can't resist :D

Btw great kernel show-p1984 as always

Sent from my pyramid.. Through blazing fast sonic waves
[HTC Sensation] gen129:
Flashed 1.31 once again. See screenshot. That's the problem.
[HTC Sensation] elgubbo:
Thanks for your work show-p!

i am currently using version 1.31 with PkMn 5.1 and i am having a small issue.

can anybody with another rom try to reproduce this?

1. play music

2. turn screen off

3. turn screen on

4. when screen turns on the sound of the playing music is cracking/skipping

is this rom or kernel related?

best regards

el
[HTC Sensation] show-p1984:
well awesome. A screenshot. With the most inaccurate information on it that I have ever seen. :eek:

How about a kmsg log?

Can't reproduce it. Maybe because I tested it with hardstyle, no idea :p
[HTC Sensation] mwie:
Hey show-p, guys,

I would like to install the latest version of the super-duper-perfect Bricked kernel.

To make sure my data on the SD card can't be stolen by someone stealing my phone, I use the encryption feature of ICS 4 - which leads to my problem:

4ext isn't capablae of dealing with encrypted SD cards.

So "Install zip file from SD" within 4ext recovery is not working for me...

I am confused about "fastboot flash boot.img"...

As show-p uses the installer features (e.g. setting the min/max values for CPU clocking) I doubt that simple fastboot flashing would do any good... If it would even work... :confused:

Any one with a hint??

(besides decrypting the SD card ;) )

Thx,

- mwie -
[HTC Sensation] riotman:
well using the Same app as you. I have the following results... battery life with 1.31 badass performance pkmn 5.1 Rom and -87.5 uv is just awesome. I don't have this heavy kernel usage
[HTC Sensation] gen129:
How can I get kmsg log for longer then 2-3 minutes? Or it is sufficient for you?

What do you want to find in?
[HTC Sensation] vernon092487:
not happening to me..i'm always playing music when on transit and while on the office..
[HTC Sensation] Tungst5n:
I initially tried to use 1.3 but tried 1.2 when I noticed that Wi-Fi wouldn't activate. Then the bootloops. Going back to 1.1 has resolved my issue
[HTC Sensation] eterno13:
Use system tuner pro for change governor,freq,cores etc.but with 2 cores online you gonna have high battery drain and if you want high performance use ondemand and if you want performance but battery life use badass
[HTC Sensation] NoSubstitute:
"-87.5 uv" !

Do you mean you lowered 87.5 mV from show's default values?

Overall, or just on certain freqs?
[HTC Sensation] elgubbo:
thanks! so it must be a rom related issue.

the battery life is ... AMAZING for me (at least with default settings, didn't test much else)

thanks again!
[HTC Sensation] gen129:
I have 725mv @ 192MHz (-75mv) and 1150mv @ 1566MHz (-25mv).

1.1 discharges battery in 20 hours and 4 hours screen on (browsing)

1.31 - in 12 hours and 2 hours screen on (browsing)
[HTC Sensation] riotman:
from stock I think got 1112,5 mv at 1,56 ghz.

I get about 19 hours with opera browsing and 4h screen on
[HTC Sensation] emanon:
Put your phone in fastboot and plug in the usb. once it is recognize use the following commands

fastboot flash boot boot.img

fastboot reboot

\Regards,
[HTC Sensation] McLongDong:
I let the kernel idle for awhile with your two kernels v1.2 and v1.31. I notice that with on v1.2 it will stick to 192000Khz as much as possible in contrast with v1.31. Possible you may suppose I utilized my phone more with kernel v1.31 but I have not done so. My daily routine consist of phone calls, social app gaming, and checking email with nothing intensely eating up phone resources. Is this a huge factor that greatly affects my battery? No. But I do notice a difference with battery drain. Although both last about 1 dayish, I am not complaining. Just want to let you know what I see and maybe you have a response to it. Thanks! Great Kernel, been with you since gingerbread.
[HTC Sensation] longntt105:
you think ver 1.2 bestter than ver 1.3 ? ( sr my bad english)
[HTC Sensation] show-p1984:
Ok lets get all this reports about battery life round up. (I am not mad, I just want to be able to DO something that improves your experience)

While all this 'screen-shooting' and posting of battery life / states and whatever you may want to screenshot is incredibly nice to look at and also may show some ppl numbers/places/apps that they have never seen before and throw them down a deeeeep rabbit hole, it is basically useless to me.

What I need is no vague screenshot. I need a kmsg from you guys. ESPECIALLY since the introduction of mpdecision into the kernel. This feature is new, hell it isn't even a week old. It undoubtedly needs work, a lot of it. But I have no frickin idea where to start if you don't provide me the necessary information to do that. I will eventually get all this information on my device too, but it would go a lot faster with the appropriate feedback. If I look at the kernels downloads and at the hits on bricked.de this shouldn't be sooo much to ask. There seem to be some ppl F5'ing on bricked.de all day long, do something useful with your time! Give me feedback with as much information as you can possibly squeeze into one post. This includes but is not restricted to:

your AROMA setup (what you chose), the file name, a kmsg (easiest way to get one: have your phone running, the 'problem' appears, reboot it and pull the last_kmsg), your DEVICE (

ESPECIALLY

if you post in the issue tracker), SENSE/AOSP?, THE VERSION YOU ARE ON, etc...

Additionally I urge you to hold off of reporting 'bugs' that are appearing during the use of third party apps/scripts. While I honor all developers work, I can't fix their **** too and I most certainly won't even start to debug it.

I hope you understood me the way I meant this post. Not as a rant, but as a wake up call to those who try to help and provide feedback but seem to forget the essentials which would enable me to take any action.

(as to the quoted posts author: Not you are meant specifically, I meant every post that fits my description on the past few pages. You just had bad luck being the last that posted :p)
[HTC Sensation] ziaulh.ch:
With 1.2 and 1.3 I have noticed the phone is awake all the time. The bar is continuous. That drains battery too much. 1.1 is perfectly alright.
[HTC Sensation] Tungst5n:
Flashed the updated version of 1.3 and that worked fine for about five hours then the device started getting a bit hot and when into a constant boot loop. Anyone else experienced this?