yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Slymobi:
Mokee ROM :p Latest semaphore kernel

Sent from my Nexus 4
[Nexus 4 Original Android Development] bobo1337:
wow :D
[Nexus 4 Original Android Development] Drmol:
Installed this kernel yesterday and everything works great, just one thing I'd like to ask. Does every Nexus 4 get so ridiculously hot? :D

I mean when I launch NFS Most Wanted, it doesn't even take 2 minutes for the red thermal notification to light up and after about 10-15 minutes of playing, the back of the phone is really hot. Battery temperature goes up to around 40°C, don't know how to check the CPU temperature. I'm not sure if that kind of heat is normal or not. Also, the battery drains like crazy when playing (don't think it would last more than about 1.5 hours), but that's to be expected I guess. :)

Thanks :)
[Nexus 4 Original Android Development] Slymobi:
All normal. Don't worry. I use mine as a pocket hand warmer ;)

Sent from my Nexus 4
[Nexus 4 Original Android Development] ctfrommn:
On a non UV kernel you should expect 50c+ while gaming (cpu temp not battery) and normal use around 40-45c. UV is very important to keep heat down and the reason I only use kernels that support it. If you have a fast/faster cpu it is less of an issue though.
[Nexus 4 Original Android Development] Drmol:
How do I look up my CPU temperature? I tried to use TempMonitor from Play Store but it said my kernel doesn't support it.
[Nexus 4 Original Android Development] ctfrommn:
Thats exactly what I use.....trickster will also show it to you.
[Nexus 4 Original Android Development] Drmol:
"You don't have Tasmanian_Droids custom kernel on this device." is the error message I get with TempMonitor (Lite version).. I'll try trickster
[Nexus 4 Original Android Development] ctfrommn:
WTH is Tasmanian_Droids custom kernel?
[Nexus 4 Original Android Development] Drmol:
Haha I asked myself the same question. :D Trickster appears to be working though, thanks. :)
[Nexus 4 Original Android Development] ctfrommn:
No worries.....what chip do you have? Im nominal and am curious to see what tems others get.
[Nexus 4 Original Android Development] lndulgence:
Hi all! I'm considering to use the doubletaptowake on this awesome kernel, as i'm always using touch control because of the swipe to wake/sleep, but my question is, if there's the doubletaptowake option, is there an option to put the device on lock/sleep without pressing the power button, or waiting for the device to auto turn-off screen? Thank you! :D
[Nexus 4 Original Android Development] tatnai:
Many roms allow you to put the device to sleep using this. Works great.
[Nexus 4 Original Android Development] PeterFdeVries:
What exactly do you mean with the last sentence? Do I need yo change the value before installing the new kernel?

Another thing... Can you tell me what the 'touch load threshold' does?

Thanks for answering these questions Stratosk
[Nexus 4 Original Android Development] stratosk:
You may want to change the value before or after installing the new version.

Default value was 75 in kernel and Semaphore app.

New fault in kernel is 65. But int Semaphore app is still 75. So after booting the new kernel, Semaphore app will override the touch load to 75.

So, you will have an increased touch load frequency.

Ondemand will apply touch load _only_ if the actual load is above the touch load threshold.

This is a safety mechanism to use the touch load mechanism only in serious loads.
[Nexus 4 Original Android Development] TheQuarterMile:
Don't have a screenshot but got 27hrs standby and around 2hrs 30 min sot with Gmail sync and few calls... This is amazing! I'm sure with more charge cycles I can get 3hrs+ sot
[Nexus 4 Original Android Development] PeterFdeVries:
So it is better to raise the 'touch load threshold' if you want to safe battery? Because the way I read your statement from above here is if the threshold is 10 (percent?), this threshold will be reached very is, right?
[Nexus 4 Original Android Development] mjehan:
[MENTION=3750240]stratosk[/MENTION]

Can you give your personal kernel settings here ? And tips for people who would like to get more battery out of this kernel ?
[Nexus 4 Original Android Development] TheNerd:]:
This is his kernel and he gave the best kernel made possible by him, so wouldn't he make the best settings his default?
[Nexus 4 Original Android Development] lndulgence:
..And i just did wander around with Purity and found the solution with your tip! Awesome! I just swipe up from the home button and voila, screen goes off! Thanks! :good:
[Nexus 4 Original Android Development] Gu$houn*:
I have been using it for months now and it's one of major things for me that paranoid doesn't have. Super smooth and elegant.

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] apis10:
I actually asked the developer of nova launcher a few months back about adding a gesture to lock the screen on double tap or something.

He suggested that I download "screen off and lock" from play store and use that.

I ended up using that on both double tap to sleep and for swipe up instead of Google now
[Nexus 4 Original Android Development] stratosk:
Maybe. If you rais the touch load threshold you would make the governor to select touch load frequency less.

My settings are the defaults. I also use double tap to wake and SAI service.

Although, I didn't test it (I care more for performance instead of battery), you could use less aggressive settings in governor and use min

online cores 1 in dynhoplug.

Also do not use double tap to wake (it will use some battery to keep touch powered).

Finally, use low brightness for your display (which eats the most of your battery).
[Nexus 4 Original Android Development] stratosk:
Let me be more specific.

Please see attached my cpufreq statistics.

384 is used for 19% of the time. 486 - 5% and 594 - 2%

Do you see something similar in yours?

This is exactly the latest change.

No, it doesn't mean necessarily more battery usage. Work loads will complete their execution faster on 486 or 594 (anyway on higher frequency) and the CPU will return to the minimum frequency faster. This is know as 'race to idle'

Of course this is my theory (that this change will help both on performance and battery). :)

EDIT: the attachment. Sorry again... :)
[Nexus 4 Original Android Development] underskyzx:
Hey guys is the original CPU Spy app reliable still? That app is ancient but I like how tiny and straight to the point it is

Edit: nvm It was updated in jan this year
[Nexus 4 Original Android Development] Husy:
Hey, what ROM's other roms have this feature besides Purity rom??
[Nexus 4 Original Android Development] elwilson4:
AOKP has an option to double tap the status bar to turn off the phone. The nightly from 6/25/14 is 4.4.4 based.

link
[Nexus 4 Original Android Development] tatnai:
every 4.4.x ROM I tried, which includes PureSpeedX and cataclysm (besides purity). I'm sure others have it too, or other solutions such as double-tap previously mentioned.

highly recommend purity.
[Nexus 4 Original Android Development] arcticrobot:
lichti1901 rastakat rom has double tap to sleep on statusbar and lockskreen areas. Rastakat and its derivatives are highly recommended.
[Nexus 4 Original Android Development] PeterFdeVries:
These are my stats of today. Also 19% on 384 but with no aid from the frequencies slightly above. My up time is about 20 hrs
[Nexus 4 Original Android Development] Slymobi:
[MENTION=3750240]stratosk[/MENTION]

Hi.

I hope you are well ?

I have sent you a PM, I hope you find time to look into my problem.
[Nexus 4 Original Android Development] stratosk:
What is your touch* settings in ondemand?

Also please try to use 1512 as max freq. Maybe this behavior is because of having 1.2 as max (as you mentioned).

I'm ok, thanks! I hope you are too.

I'm so sorry. I'm extremely busy lately. I totally forgot it.

BTW, please forgive me if I can't reply to PMs or even to public messages.

I don't do it intentionally. As I said I was _so_ busy lately.

Job, family and working at nights to upstream some work. Pushed 15 patches in 3.16 and working now for both ondemand (Semaphore got this change) and intel pstate driver for 3.17. Also trying to be in sync with this thread and update Semaphore...
[Nexus 4 Original Android Development] Slymobi:
I understand your priorities. Thanks for the reply. Maybe in the future you could get around to the xda private inbox message and I will leave my link active for that time.

Regards.
[Nexus 4 Original Android Development] stratosk:
I will check the issue you sent as soon as possible.
[Nexus 4 Original Android Development] ihancioglu:
Hi [MENTION=3750240]stratosk[/MENTION],

I am using latest version with all default settings. It works amazingly well. Battery and performance is better also device produce less heat even without undervolt. Congratulations my friend.

Only question is ; Freq usage distribution is very well for lower freqs( 594MHz and lower) but why is not going same for higher freq. Most used freq is 1512 for higher freq. If you are able to distribute a load on 1512 to a few step lower freq a bit, you will be like a write ondemand from scratch ;)

Thanks,
[Nexus 4 Original Android Development] stratosk:
Thanks, my friend! I'm happy you like it.

Actually, it is. :)

With some assumptions:

1458 frequency is very difficult to be selected because of the up_threshold (95). If you increase the up_threshold to 100, you will see usage on that frequency too.

Do the experiment below. Increase the touch_load_threshold to 100 (actually disables touch mechanism).

After some usage you will see a more smooth distribution in higher frequencies.

Of course you will never see so much usage as the lower frequencies because naturally, the CPU spends much more time on lower freqs.
[Nexus 4 Original Android Development] ihancioglu:
Thanks for the reply,

Okay I will experiment this settings. Which is the best way to disable touch_load? (touch_load_threshold to 100 - or - touch_load_duration to 0)
[Nexus 4 Original Android Development] stratosk:
I think with touch_load_threshold to 100 will be better. (less calculations)
[Nexus 4 Original Android Development] T-luvR:
Wooow what a kernel! I had tried it two times before on jb but that time it had a red light flashing it brothered me and i even didnt try to find out whats wrong! And now installed first benched got 13000 and was really disapointed then changed min clock to 1512 and was shocked the highest score ever ^_^ on same setting was wonderint why is that?! And also my device is super cool now now its in my love list beside trinity ^_^ perfect job man :D my only problem is Im not old enough to donate ;p
[Nexus 4 Original Android Development] Gu$houn*:
Other little problem I see in the fact you evaluate things according to benchmarks ... actually, I get it now, you're not old enough ... my mistake, sry ... :good:

P.
[Nexus 4 Original Android Development] T-luvR:
I am old enough to now what to do is there any other ways?! Then all kernels are great!:D because most of known kernels have great per.+ battery life and it makes choosing hard ;)
[Nexus 4 Original Android Development] Gu$houn*:
I choose kernel according to how it suits my needs and usage, not on the basis of some numbers, I don't care about those results, if my phone gets 13 000 /I don't know, how much it will be, I never performed one/ and all is fine for me, I don't care that someone got 23 000, I'm not some teenager to make my friends jealous of my "f*** powerfull phone, y'all" ... I just want to say, trust your experience, not some random numbers.:good:

P.
[Nexus 4 Original Android Development] stratosk:
Thanks!

I would agree with Gu$houn* that benchmarks (especially the benchmarks for Android phones) don't show anything.

Battery, smoothness and snappy phone (not necessarily in this order) are my criteria.

Also don't worry about donations. Thank you very much for your intention!

Anyway people don't donate these days (at least to me :) ). I got $4 in last 2 months (Many thanks to them!). :)
[Nexus 4 Original Android Development] Devoct:
really awesome kernel here.

i've switched between kernels but nothing gets me satisfied, like one has really good performance but bad battery life, one has random reboots, etc.

but Semaphore 2.3.0 really makes difference!

it is rock stable,

it has great performance,

it has unbelievable battery life on wifi, really hard to get good battery life(not to say i get bad battery life on mobile data) using mobile data all the time, though(maybe you could see into this matter deeper).

i'm using stock ROM 4.4.4.

but like i said, nothing gets me satisfied, it's a very minor thing though, i miss Fast USB Charge.

thanks for your contribution here, stratosk.

really glad to have you here. :good:
[Nexus 4 Original Android Development] Gu$houn*:
This should be written somewhere, where everyone chasing benchmark points has to see it ... :good:

That's undoubtedly because your kernel is priceless! :good:

Anyway, $10 from Czech Republic just set out their journey to Greece as a small appreciation of your work and politeness, drink responsibly, buddy! :D

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] stratosk:
Thanks so much, my friend! I really appreciate this!

I didn't mean to be grumpy about donations :)

Many many thanks!
[Nexus 4 Original Android Development] stratosk:
Thank you for your words, my friend!

I'm sorry that I will not satisfy you about fast charge... :)
[Nexus 4 Original Android Development] T-luvR:
You are so humble ! A very nice man! Thank U for all your hard works ! Your cool kernel made my phone as cool as I hadnt seen my phone before :D again thanks a lot :D and hope you happiness as u make us happy :D

---------- Post added at 08:58 PM ---------- Previous post was at 08:56 PM ----------

Hey bro dont get angry :D I didnt mean any thing I even got perfect score with it but beside scores Im really enjoying it very much :D I donno maybe it was advertising that didnt let me install it :D because every one was advertising a kernel :D but not semaphore I believe who ever tries it will probably like it :D
[Nexus 4 Original Android Development] Gu$houn*:
I believe nobody took it grumpy, at least I didn't, you deserve it. You're welcome ...

I'm fine, mate, and I'm sure you enjoy semaphore ... I only don't get those people /generally speaking/ chasing imaginary points instead of real experience ...

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] svnhvn:
I really enjoyed reading your conversations guys..
[Nexus 4 Original Android Development] karthi89:
Politeness everywhere!! Awesome people!!! This thread should be kept as a template in XDA or they can keep this thread as an example to teach new comers how to behave. Thanks stratosk.
[Nexus 4 Original Android Development] Oops...:
True words. This thread and this developer - both are outstanding. :thumbup:
[Nexus 4 Original Android Development] Sanael:
Hi Stratosk,

I'm curious about USB fast charge.

Is it some unstable stuff, don't you want it because it's not close enough from stock, or something else ?

I can't remember you were explaining this choice (and soon or later, you are writing about every decision you made).
[Nexus 4 Original Android Development] ihancioglu:
You will find a few explanation below about fast charge from Developer.

http://xdaforums.com/showpost.php?p=45918661&postcount=3809

http://xdaforums.com/showpost.php?p=46976688&postcount=4806

http://xdaforums.com/showpost.php?p=49813076&postcount=6457

Thanks,
[Nexus 4 Original Android Development] Sanael:
Thanks a lot.
[Nexus 4 Original Android Development] Devoct:
don't get me wrong, i didn't ask for it,

there must be a reason, and i respect it. :)
[Nexus 4 Original Android Development] T-luvR:
View attachment 2830766

So surprised :p and Im enjoying my cool device no over heat anymore :p
[Nexus 4 Original Android Development] stefat77:
hi, I came from hellscore kernel... is it required a full wipe? can i dirty flash + wipe cache + wipe dalvik?

thanks and sorry for the noob question.
[Nexus 4 Original Android Development] T-luvR:
For flashing kernl if that doesnt use special driver(that hells core doesnt) u dont need any wipe but u can do dalvik and cache wipe to relax your self also it is highly recomended to flash stock kernel before flashing an other kernel! (U can flash the rom you are using once more without wipe!)
[Nexus 4 Original Android Development] stratosk:
I would say to flash stock kernel first and then Semaphore to get the stock + patched initramfs.

Also, please make sure that hellscore didn't change anything in your system partition (if anyone knows please help).
[Nexus 4 Original Android Development] T-luvR:
As I said in up post it doesnt change any thing and its highly recomended to install stock kernel :D
[Nexus 4 Original Android Development] stratosk:
Oops! Sorry for double posting! :)

I misread your second sentence.

I guess I need a break from looking at the monitor... :)
[Nexus 4 Original Android Development] T-luvR:
:D hihi:p I dont think so :D its because of my bad english :D
[Nexus 4 Original Android Development] ihancioglu:
As far as I know hells core installs a few init scripts and some system files deleted.(power.msm8960.so,thermald,mpdecision.) So you should install system partition as well as kernel belongs to rom then you will be safe.
[Nexus 4 Original Android Development] ihancioglu:
Hi [MENTION=3750240]stratosk[/MENTION],

I am using my device with your advised settings on last battery cycle. Performance is very good for me. There is no even slight lag on UI for daily usage. up_threshold = 100 , touch_load_threshold = 100

Total time with that cycle; 1day 4hour 5min

Screen on Time; 4hour 32min

Remaining battery ; %5

freq %usage

384	57.11

405	2.71

486	13.53

594	8.65

702	4.59

810	2.98

918	2.07

1026	1.25

1134	1.64

1242	1.29

1350	0.94

1458	0.66

1512	2.57

I am very pleased with that config right now. Generally a device feels cooler maybe because of air condition :)

Thanks,
[Nexus 4 Original Android Development] T-luvR:
What else settings do u use?! Uve cores online and ...?!
[Nexus 4 Original Android Development] ihancioglu:
Nothing , except up_threshold=100 and touch_load_threshold=100
[Nexus 4 Original Android Development] sizanx:
This is a very nice kernel. I get a some good battery life with Ondemand with touch load 30, touch load duration 900, enabled hotplug with min 1 core online and up threshold 70. Furthermore, undervolting with 125000 both lower and higher UV with Boost voltages off.

I haven't experienced lag or anything using the above settings with Purity and ART runtime. I don't play games on my phone so don't know if it affects that.

The biggest drainer is of course location history and high accuary location (I have disabled location history and I am using battery saving mode for location, and enable it when navigation is needed). However, the phone quickly gets drained using mobile data compared to only wifi - if I disable mobile data and wifi when I sleep for 8 hours, it only drains 2-4 % battery life. (maybe it's because of push notifications, dno)

Maybe the dev can have a look at mobile data? :D
[Nexus 4 Original Android Development] T-luvR:
[MENTION=3750240]stratosk[/MENTION]

Wshat is best options for balance in your opinion?! Ive set all cores on Im not sure if it helps better battery on this kernel or not! Also doubt which gov. Is better and also trickster shows a lot of governors while SM shows only three! Can I set to Wheatley or whats best gov for this kernel?! Im seeing new degrees of perfection with this kernel wanna discover more :p
[Nexus 4 Original Android Development] svnhvn:
Which up_threshold? In CPU section or in ondemand section?
[Nexus 4 Original Android Development] ihancioglu:
All cores online is good but not best choice for our board as there are so many hardware bugs with C-states.

1 - Screen flickering with Retentation state

2 - Failure to wake from suspend with standalone power collapse state

3 - Our board could not enter power collapse state due to hardware bug when multiple cores online.

So all cores at staying at WFI state.. IMHO is two core online is best balanced for battery and performance. 1 core minimum is better for battery at cost of performance.

---------- Post added at 12:54 PM ---------- Previous post was at 12:53 PM ----------

It is ondemand governor related up_threshold not dynamic hotplug.
[Nexus 4 Original Android Development] OldGaf:
Wow.... really?
[Nexus 4 Original Android Development] Gu$houn*:
Really!

// I don't know this game, could you provide me some rules?

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] OldGaf:
You know.... this post made me realize that I have not donated to a few ppl that I should.

I pay for every app that I use daily on my phone on principle. I don't have tons of money, but can easily afford the few bucks that most apps go for.

It's not a lot of money and they make this phone my best and most used device.

I love this kernel and have been using it for a long time now, so donation sent along with a big thank you! :)

(off to donate to a few other dev's now)
[Nexus 4 Original Android Development] domg73:
I use tasker with 2 power profiles I made... "Battery saving" and "Balanced".

Battery saving profile kicks in when the battery level goes below 30% and sets min_online to 1 and max_online to 2... disables auto brightness and set brightness to 5...

Balanced profile kicks in when battery level is >30% and set all back to kernel defaults...

Maybe this will be helpful to those looking for some power saving fine-tuning....
[Nexus 4 Original Android Development] M@rs:
Can you share the tasker Profile s? I would like to test it but this will be my First steps with tasker :D

Gesendet von meinem Nexus 4
[Nexus 4 Original Android Development] domg73:
Ok, no problem...

Tasker project attached (had to zip it to make the forum accept it)...
[Nexus 4 Original Android Development] omer7:
What IO scheduler and Read Ahead size u guys using?
[Nexus 4 Original Android Development] svnhvn:
Default.
[Nexus 4 Original Android Development] stratosk:
I use the default. It's pretty balanced for me.

I don't like to bloat the kernel with all available governors.

Most of them are tweaked default with fancy names.

I put a lot of work to ondemand, so it's my favorite. I would use conservative only for power saving.

Thanks so much for your donation! Really appreciate this! :)
[Nexus 4 Original Android Development] twowheeler:
Good to see people are starting to donate to you again Stratosk! You deserve it.

BTW, I'm running this kernel on purity with art enabled and it's great! I used to have google now and stuff disabled for better battery, but it has been on ever since I flashed that ROM with semaphore. This is what a smartphone should do! I get through the day with ease and still have battery left.

I hope that Holland will win tomorrows match, I will share a beer with you if they do ;)
[Nexus 4 Original Android Development] karthi89:
First cycle with 2.3. Wonderful job [MENTION=3750240]stratosk[/MENTION]
[Nexus 4 Original Android Development] omer7:
Good performance and battery time with 2.3.0.

Boost voltage Disabled, rh size 256 (tho i am still not sure what this option exactly do ?, but still i m using 256, haha)

Everything else on default.

Edit: Location disabled.
[Nexus 4 Original Android Development] T-luvR:
I recently installed game vector ! And I have lag with it! A heavy lag! I donno if its rom or what! Can some one check it?! Im on PA now but I have most of other roms latest versions!

Also curious to know what rom are u usin [MENTION=3750240]stratosk[/MENTION]?! :D

Edit:lag was because of up threshold 100
[Nexus 4 Original Android Development] TheQuarterMile:
Can someone explain what up threshold, touch load and touch load threshold is? and how tweaking these values improves battery or performance?