yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] xda_emanuel:
And why then you posted here about colors if you use another kernel? You're on Semaphore kernel thread. Others kernel are not supported here.
[Nexus 4 Original Android Development] mjehan:
Can you guys please give your tips/settings how to make semaphore more battery friendly (without making huge performance sacrifices)
[Nexus 4 Original Android Development] Kocai:
http://xdaforums.com/showpost.php?p=48513181&postcount=5708

Sent from my Nexus 5
[Nexus 4 Original Android Development] H-Body:
I got a strange issue on the newest version, sometimes while using the keyboard the vibration when pressing a button isn't working anymore. It happens every 6th oder 7th letter, does anybody else experienced the same?:confused:
[Nexus 4 Original Android Development] lalo20:
Nop

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] szacuken:
Any way to enable/add kexec?

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Original Android Development] stratosk:
I'm sorry, no.
[Nexus 4 Original Android Development] phegard:
Is it compatible to CM11 nightly?
[Nexus 4 Original Android Development] twowheeler:
Not if you want correct colours. Blame cm for that.

Is the alternative led colour kernel related stratosk?
[Nexus 4 Original Android Development] emanuele1986:
I noticed a very High consuption with GPS active. I was out for an escursion, i Removed from charging battery my phone at 5am , at 8.30am i switched on only the GPS in airplane mode with 94% of battery and used google my tracks to draw the Path. At 1 PM more or less i turned off GPS but my battery was at 1% o_O. Its normal consuption?
[Nexus 4 Original Android Development] coloxim:
I don't think is normal..I've used track but i haven't a battery drain like this...

I didn't try with last kernel...

Did you see cpuspy? So we can see which freq it used...

Tutto girerà bene..
[Nexus 4 Original Android Development] Mercado_Negro:
I'll reply to my own question because I finally found Stratosk post where he explains the reason for this.

Just download Semaphore Manager, enable Logger and reboot. That's all, pretty simple :)
[Nexus 4 Original Android Development] donteo:
Guys you prefer art or dalvik :)
[Nexus 4 Original Android Development] svnhvn:
ART.

Nexus 4 + Purity + Franco using XDA Premium 4 mobile app
[Nexus 4 Original Android Development] thegtfusion:
[MENTION=3750240]stratosk[/MENTION] is it possible that you build this kernel for hammerhead n5?
[Nexus 4 Original Android Development] Midomad:
He already answer to that question.

He said No,maybe for N6 :)

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] Malkemid:
i have flashed this kernel. the phone is smooth and everything seems ok. but i have tested with antutu benchmark and the score is 15500...i had the score around 21500 with other kernels. is it normal?
[Nexus 4 Original Android Development] donteo:
What Rom and what other kernel you use ?
[Nexus 4 Original Android Development] stratosk:
I think most kernels use custom thermal drivers with higher CPU thermal thresholds than stock.

Running a benchmark easily triggers CPU thermal protection.
[Nexus 4 Original Android Development] donteo:
Strato why you dont use custom thermal driver could you plz mention some pros and cons :)
[Nexus 4 Original Android Development] Midomad:
AOSPA 4 + Semaphore :thumbup:

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] twowheeler:
Cause the dangers don't outweigh the benefits. It has no positives apart from scoring better while benchmarking imho. ;)
[Nexus 4 Original Android Development] Malkemid:
i use omni 4.4.2 and franco or faux kernel.

can you describe it in simple words please?:silly:
[Nexus 4 Original Android Development] Anrikus:
Not Stratosk, but perhaps I can answer too.

Adroid has a protocol that slows down the graphic chip when it's get to hot (for example X°C).

With a custom kernel you can change the the temperature when the slow-down will start (like X+10°C).

When you run a benchmark the graphic chip will get hot and with the custom changes in some kernels you can run run the benchmark longer without the automatic slow down -> better score.
[Nexus 4 Original Android Development] RealSlimShadyMC:
Basically, you're more likely to melt your phone or get the red light of hardware failure from an overheated chip (trust me, been there with Neo kernel once, luckily just had to use volume up and power combo to restart) with a different kernel apart from stock. Benchmarks with other kernels are always risky since you can easily blow your CPU with one. I use AK kernel but I lowered all my temperature throttles down by 5°c

---------- Post added at 03:26 AM ---------- Previous post was at 03:24 AM ----------

Every OS implements that nowadays, in fact its hard wired into the chip to kill all power if it gets too hot (can be too late sometimes)
[Nexus 4 Original Android Development] mor_1228:
ondemand or interactive ?

please suggest only based on real life experience
[Nexus 4 Original Android Development] jimyiak:
On demand ;)

neXus⁴ running kitkat 4.4.2
[Nexus 4 Original Android Development] mor_1228:
active scheduler : no-op ???? or should i change to something better ?
[Nexus 4 Original Android Development] rogers11:
Interactive :)
[Nexus 4 Original Android Development] mixtapes08:
Can anyone tell me what touch filter does?

Sent from my Nexus⁴
[Nexus 4 Original Android Development] mati1414:
Which governor and scheduler should I use to get best battery life?
[Nexus 4 Original Android Development] Gu$houn*:
For me noop & interactive, default values. Yesterday I got over 6 hours of SOT. :good:

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] mati1414:
How you did that? Mine Antutu also gives me scores around 15k
[Nexus 4 Original Android Development] Midomad:
Semaphore Stock settings.

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] yak84:
I use ondemand governor no-op and sd read ahead 256kb, uV by 125mV for all freq's.

Been getting 6h sot on wifi and 4h sot on hspa+ .
[Nexus 4 Original Android Development] coloxim:
But how much in stand by?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] rogers11:
Standby is great, look at the attached screenshot. It includes 2.5 h display on and a reboot for Xposed.

(Interactive with Noop)
[Nexus 4 Original Android Development] yak84:
Did once get around 1d20h and 5h sot, haven't got the screenshot though.
[Nexus 4 Original Android Development] clockworkstop:
Hi guys, does this kernel have the kexec patch? And I know I shouldn't be asking this, but how do I use the gamma control? Cheers!

Sent speedily from my scurrying Nexus 4
[Nexus 4 Original Android Development] Gu$houn*:
Kexec answer from the dev at post #5890.

For gamma control I use trickster mod.

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] mznk:
Random reboot

Had a random reboot on stock 4.4.2 with xposed, here's the last_kmsg
[Nexus 4 Original Android Development] gregorypeg1000:
Mates,how much is your battery life with 3g?3g only,no wifi.I can hardly break 3 hours sot.With wifi i have around 4.
[Nexus 4 Original Android Development] haget83:
this happens to me sometimes with switkey :rolleyes: :confused:

(i'm on cataclysm rom)
[Nexus 4 Original Android Development] stratosk:
Thanks for the log! I will check it.
[Nexus 4 Original Android Development] stratosk:
Happy and Healthy New Year!
[Nexus 4 Original Android Development] svnhvn:
And you too my friend!

Nexus 4 + Purity + FK using XDA Premium 4 mobile app
[Nexus 4 Original Android Development] ZioGTS:
Happy 2014 to our best Kernel Dev, [MENTION=3750240]stratosk[/MENTION] !

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] "D":
Happy and Healthy New Year stratosk and @all ;)

and I hope of new Semaphore Power in 2014 :)
[Nexus 4 Original Android Development] Slymobi:
Happy new year statos.

we are all just evolved organism's
[Nexus 4 Original Android Development] mylord92:
Happy new years all, party hard tonight :D
[Nexus 4 Original Android Development] twowheeler:
Happy new year everybody! Remember to not text your ex after midnight :P .
[Nexus 4 Original Android Development] vollmilch:
Should have read your post :P

Happy new 1 :)

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] KSLevel11:
Happy New Year!
[Nexus 4 Original Android Development] Oops...:
Stratosk, All the Best to you and your family. You are one of the best devs around here. Hopefully you continue to share your valuable work with us in 2014. Many Thanks.
[Nexus 4 Original Android Development] max4wdc:
Stratosk please write here the best value only for performance not battery life .

And Can you put touch boost for interactive g ?

happy new year to u and your family ;)

Thank you so much ?
[Nexus 4 Original Android Development] themike10452:
Announcement!!

I discovered the reason behind screen flickering on nexus 4 Kitkat. (Hopefully)

I used FauxClock app to enable C1 sleep state (retention)

Screenshot:

Once I switched it on screen flickering started to occur. The second I switched it off the flickering was gone. I repeated the process over and over to be sure, always with the same result. Tested with Purity 4.4.2 + Hells-Core b43 T2 KK

So C1 sleep state causes screen flickering

To switch it off you either have to use FauxClock App, or use this terminal command

echo 0 > /sys/module/pm_8x60/modes/cpu0/retention/idle_enabled

Cheers.

Sent using my nexus⁴ running Purity ROM 4.4.2 (Dalvik) powered by Hells-Core b43-kk Linux 3.4.75 kernel.
[Nexus 4 Original Android Development] vollmilch:
Latest Semaphore with Purity :)

Thanks again stratos! :)

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] M@rs:
i have a big problem my screen is complete black after uncheck linar brightness, how can i reset it?

edit: solved
[Nexus 4 Original Android Development] ihancioglu:
Hi [MENTION=3750240]stratosk[/MENTION],

Will be any benefits If activate C1 state (retention)?

echo 1 > /sys/module/pm_8x60/modes/cpu0/retention/idle_enabled

Thanks,
[Nexus 4 Original Android Development] Gu$houn*:
Yeah, it's kinda pity that if you uncheck linear brightness the automatic stops working or with better words, it doesn't transfer to the new values. I though I just could use the slider but I'm too lazy after those months on auto brightness so I went back to linear & auto.

Just to make it clear, I don't blame this awesome kernel.

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] stratosk:
Hi,

Maybe. But the question is why is disabled by default? :) (unstable?)

In anyway retention is allowed (in the code) only if the number of online CPUs is > 1.
[Nexus 4 Original Android Development] Anrikus:
5 posts above it's mentioned that C1 enabled can cause the screen flickering some ppl mentioned with 4.4.

Would not call it a benefit, but a possible effect.
[Nexus 4 Original Android Development] Gu$houn*:
Running 4.4.x purity since kk builds and with semaphore/jolie /only governors and scheduler changed/ since November and haven't had a single flicker, that's my experience ...

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] emanuele1986:
Any chance to implement the LG optimus g2 knockon/doubletap mode to wake up the phone?
[Nexus 4 Original Android Development] twowheeler:
Wouldn't that cause some serious wakelocks
[Nexus 4 Original Android Development] ak:
C1 state (retention) is a benefit only for cpu rev.3.

Its enabled on aosp source, disabled by default on caf source at kernel level.

CAF:

[MSM_PM_MODE(0, MSM_PM_SLEEP_MODE_RETENTION)] = {
.idle_supported = 1,
.suspend_supported = 0,
.idle_enabled = 0,
.suspend_enabled = 0,
},

AOSP:

[MSM_PM_MODE(0, MSM_PM_SLEEP_MODE_RETENTION)] = {
.idle_supported = 1,
.suspend_supported = 1,
.idle_enabled = 0,
.suspend_enabled = 0,
},
[Nexus 4 Original Android Development] coloxim:
But it use less battery?

Is better use linear/manual or not linear /manual?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] yak84:
It won't cause any wakelocks because it works with isr.

But due to digitalizar always on you can expect some battery drainage.

more info here: http://xdaforums.com/showthread.php?t=2101488
[Nexus 4 Original Android Development] Gu$houn*:
Yes, it's more battery friendly but you have to use manual settings so if you are ok with manual, you can use exponential ...

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] coloxim:
In the end is better non linear and manual than linear and manual right?

Sorry for the stupid question...

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] Gu$houn*:
It's better because there is bigger range in dark values which most people use more often.

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] stratosk:
I thought about it, but I'm not sure.

For sure there will be a battery drain. I don't know how much.

The devices use different touchscreen controllers, so we can't port the functionality as is.

Actually, we need to implement it from scratch.
[Nexus 4 Original Android Development] ihancioglu:
Thanks, how we will check the rev of the cpu?
[Nexus 4 Original Android Development] twowheeler:
Im sure it's something you'd miss when you've used it before. But i don't think i would really use it, especially if it has a negative effect on the battery. Pressing the button isn't that hard, it may be handy when the phone lays on a table.
[Nexus 4 Original Android Development] ak:
Kernel messages at boot ... you have to Search "rev."

akGenesis
[Nexus 4 Original Android Development] autoradio78:
Wonderful work sir [MENTION=3750240]stratosk[/MENTION].

I have a question for you.

In your zip package there is logger.ko module..

Is there any module for double tap to wake or swipe to wake screen WITHOUT app as Touch Control?

Thanks:)
[Nexus 4 Original Android Development] PeterFdeVries:
I know there is lot to read about but still have my doubts about the following. What is a bigger battery saver? Putting my maximum CPU frequency to 1500 so the little cores have to be activated (since a next core is often activated when the first one reaches his max) or putting it to 1200 (which has a lower voltage but makes a second core activated more sooner and more cores means more voltage). Since I no day is the same testing it is very hard. But what do the experts over here say? :)
[Nexus 4 Original Android Development] twowheeler:
Semaphore kernel already has a feature where it goes to a preferred frequency instead of the top (1134 or something). It will only run up to 1500 when it needs all of the power. That said, I would say lowering the frequencies has more benefits in terms of battery saving. Just don't go too low.

Also these are some settings stratosk shared to lower battery (but with a tiny bit less smoothness)

Touchload: 65

Touchload threshold: 15

Touchload duration: 900.

These settings can be found when you touch ondemand in the semaphore app and will make the CPU a little less "revvie" on touch response.

I hope this makes any sense :P
[Nexus 4 Original Android Development] hulicow:
[MENTION=3750240]stratosk[/MENTION] how about the conservative GPU governor sir like in hells core kernel, if the device is idle it lowers the frequency into 27mhz? Is it possible that you implement it on Semaphore? Thanks. I really love this kernel because it always up to date with latest 3.4.x branch. :D
[Nexus 4 Original Android Development] deeppans:
As far as I recall one cannot use this kernel with CM11, because CM use some CAF source.

Is this issue still persists? Any solution?

TIA
[Nexus 4 Original Android Development] twowheeler:
Issue is still present. Don't know about a solution, cyanogen should come with a fix themselves imho
[Nexus 4 Original Android Development] stratosk:
Thanks, my friend.

No, there is no a double to wake functionality... yet. :)

Although, it's difficult to measure these combinations of CPU freq and online cores, there is an argument that race to idle is best for performance and power consumption.

This means that it's better to have CPU at highest frequency when there is a task to run. This way the task will be completed as soon as possible and the CPU will return at lowest frequency or idle state.

I'm sorry, I will not change the lowest frequency.
[Nexus 4 Original Android Development] PeterFdeVries:
Thanks for the responses people. I've given you both a push on the thanks button. My question is answered
[Nexus 4 Original Android Development] themike10452:
does it differ from doubletap2wake?

Sent using my nexus⁴ running Purity ROM 4.4.2 (Dalvik) powered by matr1x v12.5 Linux 3.4.0 kernel.

---------- Post added at 09:02 PM ---------- Previous post was at 08:55 PM ----------

check out your cpu voltage table and you'll know the answer. What the voltage difference between 1500 MHz and 1200 MHz? it's nothing important. The CPU governor has more influence on battery life, as well as touch boost. Some kernels have "2 cores on touch" boost which onlines 2 cores when you touch the screen. Turning it off will surely boost the battery. For me intellidemand governor was the best in terms of battery. I am doing some tests on Wheatley now.

Sent using my nexus⁴ running Purity ROM 4.4.2 (Dalvik) powered by matr1x v12.5 Linux 3.4.0 kernel.
[Nexus 4 Original Android Development] coloxim:
Touchload 65

Threshold 15

Touch load 900

But I don't remember which value are stock...

Can you tell me? Because I've edit them..

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 4 Original Android Development] M@rs:
Touch load 75

Touch load threshold 10

Touch load duration 1100

Are the stockvalues

Gesendet von meinem Nexus 4
[Nexus 4 Original Android Development] mor_1228:
will this thing help in saving battery with huge margin compared to 2 and 4 cores
[Nexus 4 Original Android Development] themike10452:
it should give you some more SOT. What is your goal? 9h SoT? :P This will degrade the performance drastically.

Raise the UP Threshold to 80.

Sent using my nexus⁴ running Purity ROM 4.4.2 (Dalvik) powered by Piasek v6 KK Linux 3.4.0 kernel.
[Nexus 4 Original Android Development] mor_1228:
I am not getting more than 3 hour sot that's why asking

---------- Post added at 06:00 PM ---------- Previous post was at 05:23 PM ----------

I didn't see any performance downgrade even after setting it so low and battery is decreasing at same rate as was earlier so I think this thing is not working
[Nexus 4 Original Android Development] coloxim:
So touchload for battery is better Low...

Thanks

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 4 Original Android Development] snak3ater:
Yes..
[Nexus 4 Original Android Development] fajarlazuarding:
I also have tested it, and nothing changes. The battery drain is almost same :sly:
[Nexus 4 Original Android Development] zorginho:
hey [MENTION=3750240]stratosk[/MENTION]

i'm trying to build a personal kernel project and i wanna add your undervolt interface, can u confirm that i have to cherry pick only these commits?

https://github.com/stratosk/kernel_msm/commit/a4a173af08b9e61c435a44cd61652d1a284564f5#diff-567adfad6cf693a5d6f76e3dbc929db1
https://github.com/stratosk/kernel_msm/commit/7cebba5198478216c1be98a390dccb2730e1fde1
https://github.com/stratosk/kernel_msm/commit/fcc7dc37d87cab1a48917d10681de2f1de476a7d
https://github.com/stratosk/kernel_msm/commit/be528b100570ddfa9d2c402e7509508ab29f6e02
https://github.com/stratosk/kernel_msm/commit/ed572f5df2ac4908caf0c8042457d893f8259c0e#diff-567adfad6cf693a5d6f76e3dbc929db1
[Nexus 4 Original Android Development] ihancioglu:
Hi [MENTION=3750240]stratosk[/MENTION],

I got random reboot while on camera application. This time a little bit different, very annoying focus sound a few times , there were green and purple straight lines on the screen and after a few seconds device freeze.

Last boot reason is different, other random reboots reason was "hw_reset" ,

This time, "kernel_panic"

Hopefully catch useful things in the log.

Thanks,
[Nexus 4 Original Android Development] M@rs:
i had the same thing a few day ago, while taking pictures, the phone was saving the picture but you heard the fokus sound was there the whole time and phone freezed. (battery was about 65%)

i have uv-125mv all frequencies, never had problemes before even while taking pictures with 5% battery, no artefacts etc. (stabilitiytest stable 25min and about 1 or 2 weeks daylie use.)

i took a view pictures if i can reproduce it, but it didn´t happen again.
[Nexus 4 Original Android Development] DontPushButtons:
The camera on our n4 is pretty finnicky, I've even gotten hw reset on stock using the camera. UV could play a roll, but I dunno if that crash is kernel dependent.
[Nexus 4 Original Android Development] Slymobi:
Hi just wondering if someone wouldn't mind giving some info !!

I now semaphore is not compatible with some cm ROMs etc.

is semaphore compatible with Omni 4.4 ?? not sure what this ROM is based on.

Regards.

we are all just evolved organism's
[Nexus 4 Original Android Development] themike10452:
OmniROM is based on AOSP. Semaphore is AOSP. Semaphore works with OmniROM :)

Sent using my nexus⁴ running Purity ROM 4.4.2 (Dalvik) powered by Piasek v6.1 Linux 3.4.0 kernel.
[Nexus 4 Original Android Development] Slymobi:
;) That's what i wanted to hear ;)

Thanks

we are all just evolved organism's
[Nexus 4 Original Android Development] ts1506:
Best of luck for your Nexus 4 development, hope we see more and more devices getting semaphore in the future.
[Nexus 4 Original Android Development] dhurk:
I used your kernel for i9000,now time to use it for n4 :)
[Nexus 4 Original Android Development] scream4cheese:
Finally! A new kernel developer in the N4 forums!
[Nexus 4 Original Android Development] fabiotasa2:
Thanks for your work stratosk

First in sgs and now here., nice to see you again

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] jelle2503:
Have used Semaphore for over 2 years straight on my i9000, from GB to JB. And we received both our N4 on thesame day

I'll be sticking to Semaphore on N4 too =)

Just for anyone not familiar with Semaphore , bookmark this thread. Great things are to come here, from a great, kind and considerate developer.
[Nexus 4 Original Android Development] Amro90:
+1 to this

I too always used Semaphore kernel on my SGS. Tried many different kernels but always went back to Semaphore. N4 just got a great developer!
[Nexus 4 Original Android Development] paiktaras:
Γειά σου πατριώτη:) !!!

I have heard very good comments for your job and now I will try the kernel to my nexus 4.

My impressions as soon !
[Nexus 4 Original Android Development] prioxxx:
Ελα ρε πατριωτακι!!Welcome to N4 forums!
[Nexus 4 Original Android Development] paiktaras:
όλο το myphone εδώ είναι :):):):)

first finding .... not working touch control application (standard for me)
[Nexus 4 Original Android Development] philidor:
Good to see you here. Good work!

Inviato dal mio GT-P3100 con Tapatalk 2
[Nexus 4 Original Android Development] stratosk:
Thanks.

Simply is not supported. (Maybe in the future)
[Nexus 4 Original Android Development] paiktaras:
I did already question and the appropriate topic, I hope to have fast correction
[Nexus 4 Original Android Development] phewizzo:
Can u make a CM 10.1 version? Thanks.
[Nexus 4 Original Android Development] cenonmin:
Hi Stratosk,

Been a long time follower and fan from i9000 days, nice to see you here ! :)

I cant wait for your kernel! First thing to fix / customize would be the gamma color corrections ;) Man you are awesome !
[Nexus 4 Original Android Development] grinder777:
Hi Stratosk,

seems you have many fans here :)

I'm so happy for you and wish you all the best and good luck with your new phone and your work here...

Will remain a little longer with my good old SGS.

HAVE FUN!!!!!!!

SGS - Sema 2.9.20s - Xylon 0.2.3.3 - Cobalt Sam-X - Big Thanx2all
[Nexus 4 Original Android Development] Naa Laa:
Welcome to Nexus 4!

Looks like lot of people migrated from SGS to N4.