yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Fenvarien:
I know that sweep2dim allows to further reduce the brightness, but besides this it's more or less like status bar brightness control.

And with Semaphore we already have a brilliant way to get a much lower minimum brightness: Stratosk's exponential brightness mapping mode :) You can activate it via Semaphore Manager and then just use status bar brightness control to adjust it to your preference :good: :)
[Nexus 4 Original Android Development] TheQuarterMile:
I just use the old fashioned way to adjust brightness... Works the way I want it...
[Nexus 4 Original Android Development] Gu$houn*:
You have to use jolie kernel which is modified semaphore with kexec patch and some other stuff.

Or just don't share kernel between ROMs, I am running the same kernel on all ROMs but don't share it.

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] ihancioglu:
Hi , what is the name of this widget?
[Nexus 4 Original Android Development] TheQuarterMile:
It's not a widget it's a ROM feature... Currently on Mahdi ROM
[Nexus 4 Original Android Development] zakk87:
unfortunlately the same think on jolie kernel 2.4.0. Sad, I have to use other kernel.
[Nexus 4 Original Android Development] snak3ater:
Jolie kernel

It is based on Semaphore.Extra added features are Faux Sound,Fastcharge,kexec patch & F2FS support

When you are flashing something,Please try to read OP of that thread.
[Nexus 4 Original Android Development] zakk87:
I was scared of the f2fs support:D
[Nexus 4 Original Android Development] snak3ater:
Looks like you are currently on Mahdi-Rom.Just flash this kernel.

Everything should work just fine :)
[Nexus 4 Original Android Development] IImanuII:
cm11 nightly works?
[Nexus 4 Original Android Development] snak3ater:
Yeah.. Cm version is also there
[Nexus 4 Original Android Development] IImanuII:
Do not work blue screen.
[Nexus 4 Original Android Development] snak3ater:
There is Jolie thread in Android dev section..

Please post these issues there in proper thread :)
[Nexus 4 Original Android Development] lalo20:
hi stratosk, you are thinking about experiment with another governor like interactive? you are going to buy a new nexus or will you still with your n4?

have been using your kernel since 4.3 days and it rocks.

regards
[Nexus 4 Original Android Development] zakk87:
This is so a great kernel.

I doubled my battery life with it.

Should I change something with my uV? Or leave this uV settings?
[Nexus 4 Original Android Development] ken_alpha24:
Otg support? Sorry if this has been asked before
[Nexus 4 Original Android Development] TheNerd:]:
No
[Nexus 4 Original Android Development] stratosk:
Hi,

No. Ondemand is fine in my opinion.

I would like to buy a new nexus but no money at all. So, my only device will be the N4. :)

Thank you!

Yes, you could try to undervolt a little bit. Maybe it will help on battery life.

Please check the second post about UV settings.
[Nexus 4 Original Android Development] Italico:
In my experience, no other kernel for N4 is as stable and balanced as yours, Stratosk. I am using the Jolie version, though, because I need a little more punch for the ringtone and the notification sounds.

Thanks again!
[Nexus 4 Original Android Development] underskyzx:
Try Stratosk's UV settings, 62500 low 50000 high
[Nexus 4 Original Android Development] zakk87:
I found his settings in the morning. Now I'm charging battery and see what happends :)

thanks
[Nexus 4 Original Android Development] HiM@L:
quick question for color profile: long time back there was this color profile script.. i still have it... and just want to check if it can still be used
[Nexus 4 Original Android Development] urim225:
Of course you can
[Nexus 4 Original Android Development] baxtex:
Okay so I am currenyly reinstalling my girlfriends phone completely due to some problems with it. So now a clean install of Puirty rom and latest Semaphore kernel is on the way!

She wakes the phone quite many times each day, don't play much games or do anyhting more heavy than using the hiedous facebook app.

Just wonder if there are som settings for this kernel I should consider changing to get the most out of the battery, beacuse honestly it ain't that good right now. Maybe 2,5h SOT a day. (Using older versions som this kernel)
[Nexus 4 Original Android Development] fizspace:
compatible with CM11 M9 ??

I would like to know if this kernel is compatible with CM11 M9, I flashed 2.4 version yesterday and during boot the screen goes blue and then all the colors seems different. I am looking for better battery kernel, which one should i go with ?
[Nexus 4 Original Android Development] jimyiak:
There cm version..or try jolie belle but cm version too..

sent by nexy 4
[Nexus 4 Original Android Development] migueldbr:
[MENTION=3750240]stratosk[/MENTION] i am doing some very simple tests with the cpu cores to determine which is best for battery life. i did a very simple test, which is opening the messaging app i use after closing it and timing how long it takes to open with a stopwatch. Its really not accurate, i know, but the results were really unnexpected(for me at least)...so, with 4 cores always active and max cpu speed of 1026Mhz, the opening time for the app was around 2000ms (measured several times, always closed the app everytime i tested). But with 2 cores max and always active and cpu at 1512, the app took around 1700ms to open. So, am i right to assume that i should use only 2 cores active @ 1512 rather than 4 cores @ 1026, while gaining battery because i have always 2 cores offline?
[Nexus 4 Original Android Development] stratosk:
Opening an app will most probably use one thread which will run on one core.

So, having the max CPU to 1512 the app will open faster no matter if you have 2 or 4 cores online (considering that no other heavy load exists in your system).

So, regarding speed you need higher max frequencies on your CPU.

You need more cores online when your system run multiple threads concurrently.

Higher max frequencies does not always mean higher power consumption (race to idle).

You need to find the best point depending on your needs.
[Nexus 4 Original Android Development] IImanuII:
Link for cm version of semaphore where is?
[Nexus 4 Original Android Development] migueldbr:
thank you very much for the explanation!i always thought that the four cores were always used in actions like opening an app!
[Nexus 4 Original Android Development] Ansh1107:
Latest version works for 4.4.4 right?
[Nexus 4 Original Android Development] Fenvarien:
Yes. ?
[Nexus 4 Original Android Development] 22sl22:
[MENTION=3750240]stratosk[/MENTION] I hope you got my PM. I understand if you're busy but it would be great if you can reply yes/no :good:
[Nexus 4 Original Android Development] stratosk:
Sorry, for my late response (I was writing my PM to you when I saw that you post here).

Of course you may use it. My pleasure! :)
[Nexus 4 Original Android Development] 22sl22:
Oh right lol, sorry for hassling you for a reply then and thanks for giving me the go ahead :) :)
[Nexus 4 Original Android Development] Kaka88:
Im currently in PLSX 4.4.2, Its okay if i using the lastest version of this kernel?
[Nexus 4 Original Android Development] snak3ater:
Yeah..
[Nexus 4 Original Android Development] Kaka88:
Im finally going back to this kernel again..

I think i wont change to other kernel anymore..

I really love this kernel and of course the semaphore manager :)

Anyone can tell be what is the best scheduler for battery life in your opinion?

I heared no-op has the best one..

Im currently usin SIO..

thanks before
[Nexus 4 Original Android Development] TheNerd:]:
Stratosk has said no-op is the simplest scheduler
[Nexus 4 Original Android Development] yanleites:
Good day all!

I an new in this kernel.

Is or being updated?

Hour the battery with it?

Thanks all!
[Nexus 4 Original Android Development] ezio84:
I love the stock Slim kernel but Semaphore is the only one that gives me the same battery/performances, and it also solves a few lags in the Slim recents panel.

Try it and see, default settings are good to go.
[Nexus 4 Original Android Development] yanleites:
Thanks.

Until now i used franco with dt2w, but i understood this kernel dt2w drains much less battery.

Is it true?
[Nexus 4 Original Android Development] ZioGTS:
Delete
[Nexus 4 Original Android Development] ZioGTS:
Yes, definitely. Semaphore DT2W is really a masterpiece from our beloved developer stratosk!
[Nexus 4 Original Android Development] yanleites:
Cool.

So it will be less then a 1-2% per hour?

I used mikael's "based on Franco" kernel, is really good, but battery...
[Nexus 4 Original Android Development] ZioGTS:
Exactly. My N4 is just using 1% more battery with DT2W enabled.
[Nexus 4 Original Android Development] yanleites:
1% more per hour or per day?
[Nexus 4 Original Android Development] Almayce:
Don't be naive,man. the implementation is supreme, but not miraculous :D
[Nexus 4 Original Android Development] migueldbr:
while i applaud stratosk's implementation of dt2w, i just dont understand why people are willing to use dt2w or any other variant...1% extra drain is still a lot really. And almost all roms now have volume wake if you dont want to ruin your power button at the cost of 0% extra battery drain=p.

awesome kernel btw!
[Nexus 4 Original Android Development] snak3ater:
To save one button you are ruining another. Volume button would also get ruined after a while
[Nexus 4 Original Android Development] migueldbr:
yeah but you have two volume buttons...almost 99% of N4 will probably change/break the phone before ruining the 3 buttons. Anyway, just my opinion of course. I understand that some people might want to waste battery and save the buttons. I prefer to keep using volume buttons=p
[Nexus 4 Original Android Development] Gu$houn*:
Because it's just simple and handy when holding a phone in one hand to double tap the screen instead of grabbing around the power/volume button ... ?

And it's also one possible explanation of what smart phone means.

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] MtG92:
There are also people who use their device as their main music player, so we need our volume buttons to function as volume buttons when the screen is off, hence volume rocker wake is out of the question.

Personally, I'm left handed so in order to press the power button I need to move the phone in my hand and dt2w is a much more comfortable and fluid way of waking the device. Plus, I'm not a heavy user and in a normal day I'm back home long before I need to charge my phone, so I don't mind the extra battery drain.
[Nexus 4 Original Android Development] poondog:
^^^

Plus, having 15% battery at the end of the day with dt2w as opposed to 20% or whatever with it off makes no difference, when you put it on the charger at the end of the day :)
[Nexus 4 Original Android Development] underskyzx:
Can someone please help me to get former Franco profile " 33_CEEJAY83" on Semaphore?

Code Inside the profile txt is

255 255 255

0 103 119 3 0 103 119 3 0 103 119 3 71 0 6
[Nexus 4 Original Android Development] Sir_gpm:
Does this should work in L preview right?
[Nexus 4 Original Android Development] MtG92:
Yes, last time I tried it worked perfectly.
[Nexus 4 Original Android Development] ihancioglu:
One thing I would like share about Semaphore Kernel on L preview. My cpu freq usages are %1 at 1512 , %4 at 486 , %11 at 386 Mhz on Kitkat roms. But on L preview distribution is %6 at 1512 , %13 at 486 , %4 at 386 Mhz.

Generally device is running at higher temperatures than Kitkat roms.

I don't test any other kernel on L preview maybe it is general issue.

We will see If it improves at final version.

Thanks,
[Nexus 4 Original Android Development] twowheeler:
Same usage stats? Same apps? Try to get some more info from an app like wakelock detector. Maybe some wakeups are different. L handles those in an other way than Kitkat does.

There's a conversion sheet somewhere in this thread. Search for it ;).

This is the how semaphore handles gamma values, use this if you want to transfer them yourself.

(taken from semaphore website)
[Nexus 4 Original Android Development] underskyzx:
I don't get a thing in that sheet
[Nexus 4 Original Android Development] amititzhaki:
This kernel brings with it the best battery life, great work!

Small question: why is-o2 being used, instead of -o3? Won't -o3 cause better performance? (I'm not a developer so I have a limited understanding of this subject)
[Nexus 4 Original Android Development] stratosk:
Thanks!

O2 and O3 are optimization code flags of gcc compiler.

O2 is the default flag for kernel build. O3 brings more optimizations (maybe slightly faster code) but sometimes it may have undesirable results.

With the current version of gcc I use, O3 breaks the kernel. This is the reason I don't use it.
[Nexus 4 Original Android Development] underskyzx:
You doing it right because I tested other kernels and so far yours is the most stable rock solid kernel I've seen!

The only missing feature are color profiles, I'm willing to convert all know profiles to use with Semaphore but I lack proper knowledge to understand that excel sheet posted here
[Nexus 4 Original Android Development] migueldbr:
[MENTION=3750240]stratosk[/MENTION] wouldnt it be possible to implement some tweak like using the proximity sensor or accelerometer to detect movement and enable the touchscreen when the screen is off in order to use dt2w and save some battery, instead of having the touchscreen on all the time?(this assuming that keeping the touch screen on wastes more battery than having the proximity or accelerometer on). What do you think? Did anyone try it before or something?
[Nexus 4 Original Android Development] urim225:
I don't know much but I don't think that's a good idea because the sensors will have to stay always on and they will consume as much or maybe more battery than as it is right now. I've read somewhere about a trick with Tasker but I can't find it
[Nexus 4 Original Android Development] stratosk:
Unfortunately, there are no in kernel drivers for proximity and accelerometer.

So, we can't do it from kernel space.
[Nexus 4 Original Android Development] Midomad:
Stratos 3.4.104 kernel finally came out after 7 weeks of waiting [emoji106]
[Nexus 4 Original Android Development] migueldbr:
This kernel is so smooth. Btw I lowered touch boost to 50 on the ondemand governor and everything is still smooth and maybe I will have a little bit more battery from lowering this. Just letting you guys know.

Great battery life too. Tried other kernels but always end up coming back to semaphore=p
[Nexus 4 Original Android Development] ihancioglu:
I am not using touchboost feature and still everything is smooth. Latest ondemand patch is do great job for me.
[Nexus 4 Original Android Development] poondog:
Stratos is the magic man!
[Nexus 4 Original Android Development] yanleites:
Every body talks about new version if this kernel for n4... I don't see it...
[Nexus 4 Original Android Development] poondog:
Latest is 2.4.0 is that it?
[Nexus 4 Original Android Development] yanleites:
No, it looks like it should be something newer...
[Nexus 4 Original Android Development] poondog:
It's the newest in github and what I have seen
[Nexus 4 Original Android Development] migueldbr:
my bad, i was actually referring to touch_load parameter. so you use 0 for that parameter?
[Nexus 4 Original Android Development] poondog:
Hey guys, has anyone out of the box got 1026MHz as CPU0 max freq? I am trying to build this for flo and I have min 384MHz for all cores but on CPU0 max 1026, rest 1512

Is this normal behavior? Thanks

EDIT:

Seems to be my ROM :)
[Nexus 4 Original Android Development] ihancioglu:
I am using "touch_load_threshold" with 100 and "up_threshold" with 100. Every UI is still smooth enough. Just try If you like or not.
[Nexus 4 Original Android Development] migueldbr:
im using

"touch_load" 50

"touch_load_duration" 1000

"touch_load_threshold" 10

"up_threshold" 95

and everything is still smooth!
[Nexus 4 Original Android Development] CamoGeko:
Omg you're here too. :p
[Nexus 4 Original Android Development] poondog:
I'm everywhere :)
[Nexus 4 Original Android Development] TheNerd:]:
Are you the batman?!? ?
[Nexus 4 Original Android Development] poondog:
I'm batman
[Nexus 4 Original Android Development] CamoGeko:
Where's your batmobile then?
[Nexus 4 Original Android Development] poondog:
Stop setting me up for ot :)
[Nexus 4 Original Android Development] CamoGeko:
It's not intentional lol

We just like talking about same stuff :p
[Nexus 4 Original Android Development] qtoo941:
Do you think that adding OnedemandPlus is good idea? From my experience it is mix of Ondemand and Interactive. It gives smooth experience with better battery life compared to interactive's one.
[Nexus 4 Original Android Development] poondog:
But stratos' on demand governor is superb :) you know he has a few ondemand patches submitted to mainline Linux :)
[Nexus 4 Original Android Development] stratosk:
No. I think ondemand is fine.

Moreover I don't like all of these various governors with fancy names just because of hack.
[Nexus 4 Original Android Development] CamoGeko:
Your dynamic hotplug is awesome! :D

Sent using N⁴ with Android L
[Nexus 4 Original Android Development] rom08:
+1
[Nexus 4 Original Android Development] qtoo941:
Any plans to use Linaro Toolchain 4.9.2 by [MENTION=4825437]Christopher83[/MENTION] or 4.10 ? I have seen some people using Linaro 4.10 toolchain but afaik the best toolchain so far is latest linaro 4.9.2 by Christopher83. :)
[Nexus 4 Original Android Development] Aetos7:
Is this kernel compatible with CM 11?

Thanks
[Nexus 4 Original Android Development] Midomad:
No.
[Nexus 4 Original Android Development] Italico:
Jolie Belle is, and it has also Faux sound and F2FS support.

Rest is identical to this fabulous work by Stratosk.
[Nexus 4 Original Android Development] stratosk:
I'm sorry. No plans to change toolchain.
[Nexus 4 Original Android Development] qtoo941:
Okaay, i got question - is it good to change "sampling_down_factor" from value "4" to value "1" and also "powersave_bias" from value "0" to value "100" at ondemand governor? Will this changes give better battery life stats?
[Nexus 4 Original Android Development] Italico:
Hey Stratosk, I've seen you used the ROW scheduler in your SGS kernel... May I ask why you do not use it into the N4 kernel?

Thank you very much!
[Nexus 4 Original Android Development] TheNerd:]:
I think he's said noop is the simplest scheduler
[Nexus 4 Original Android Development] :
Why doesn't Stratosk implement min frequency as 192MHz? I've read that it doesn't cause lags or anything, while also improving battery life. While listening to music for example, it improves battery life without causing sound-stuttering(reported by other users of various kernels, not me). Any particular reason for 384 MHz being "better"?
[Nexus 4 Original Android Development] snak3ater:
There you go..Made it easy for you :p

Type '192Mhz' in search and you will get answer there
[Nexus 4 Original Android Development] groovepeppy:
the link arent getting us reader to nowhere lol
[Nexus 4 Original Android Development] snak3ater:
Fixed [emoji3]
[Nexus 4 Original Android Development] svnhvn:
And you ask the exact same question in Francisco's thread? You just change "Franco" with "Stratosk" :sly:
[Nexus 4 Original Android Development] TheNerd:]:
Sorry it's so small; I'm only a highschooler, but thanks for all your work: 01S63689PE973073F [MENTION=3750240]stratosk[/MENTION]
[Nexus 4 Original Android Development] stratosk:
Thanks so much, my friend!

It's not small at all. Much appreciated!!!
[Nexus 4 Original Android Development] ZioGTS:
Hey [MENTION=3750240]stratosk[/MENTION], I'm enjoying your great kernel since i9000, and I'm firmly convinced you're a great developer. Additionally, I always appreciated your attitude and politeness, and admired your committment to help every single user here on XDA. Here's my small incentive: 9N677119FR0284735. You're a real gentlemen, and I felt it was about time to do it - you deserve every single penny, man! ;)
[Nexus 4 Original Android Development] stratosk:
Thank you very much, my friend!

I can't find the words, to thank you for your great help!

Thank you so much for your so kind words!!! Reading your post (in a difficult time period for me) makes me want to keep trying for Semaphore project

for ever!

Thank you!
[Nexus 4 Original Android Development] Gu$houn*:
I think it's supposed to be said that people like you and projects like semaphore are making n4 what it is and not just another phone ... at least for me so looking forward to L level ... :good: :good: :good:

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] Midomad:
I can't imagine the result of Lollipop with Semaphore...

Sorry N6 i stay with N4.
[Nexus 4 Original Android Development] vampire36:
You mean "without"...I must say agreed :)

Semaphore is just the "Rock" Kernel :P
[Nexus 4 Original Android Development] Midomad:
No i mean the Combo.

Edited [emoji6]
[Nexus 4 Original Android Development] vampire36:
[MENTION=3750240]stratosk[/MENTION] : Hi hope you doing well...

I wanted to ask if you can look at the patch linked below

https://github.com/McKael/FrancoKernel-mako/commit/40fe233cf244d2b5eb5b89815f9e4c0fa29c9269

It suspends the dt2w when powerkey is pressed...

Can you checkout if it can be used with your implementation...

Cos especially at nights this feature is very useful...

Thanx :)
[Nexus 4 Original Android Development] snak3ater:
Very useful feature [emoji106]
[Nexus 4 Original Android Development] twowheeler:
I don't really understand how this works. Does it just disable DT2W when you press the power key to lock the device?
[Nexus 4 Original Android Development] snak3ater:
Yes..This patch would disable Dt2w when power button is used
[Nexus 4 Original Android Development] MtG92:
And when would it be reenabled?
[Nexus 4 Original Android Development] yanleites:
Yes. Next time you turn off the screen without power button.
[Nexus 4 Original Android Development] poondog:
In semaphore though there is no s2s. So, the only way it can sleep otherwise is timeout and double tap statusbar in some roms

So in semaphore it would not be of much use :)

(in my understanding)
[Nexus 4 Original Android Development] vampire36:
Na na there is a bit of confusion....

This how it works...through the day...

You can switch off the phone using any way...say double tap to status bar...some app or time out...or navigation button set to screen off....it would turn off...

Dt2w would remain on...and work no problem...

But now imagine you going to sleep or some meeting and know won't need dt2w for hours...so just use power button to lock the phone and dt2w is disbled...

Saving battery in standby....

Finally next time when you switch on the screen with power button...dt2w is reenabled....

Then depending on how you lock the phone your dt2w will remain enabled or disabled....

I hope that explain power key suspend....

Very helpful at nights just before you go off to sleep....:)
[Nexus 4 Original Android Development] Gu$houn*:
I just have two simple scripts in SManager's scheduler, one enables dt2w in the morning, the other disables it in the evening, simple and elegant ...

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] KSLevel11:
[MENTION=3750240]stratosk[/MENTION]

Hello!

I would like to ask, could you add something like "sweep2sleep" to your kernel?

I mean for example sweep a navbar to sleep the device.

TIA
[Nexus 4 Original Android Development] twowheeler:
Best explanation I've read so far. Thanks! Really does sound like a handy feature
[Nexus 4 Original Android Development] TheQuarterMile:
Yah suspend d2w with power button is an interesting feature... Wana see in actual how it's implemented!
[Nexus 4 Original Android Development] xflori:
How can i use multirom with this kernel :(?
[Nexus 4 Original Android Development] Gu$houn*:
Jolie belle is your solution.

P.

[sntfrmnxs4]