yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] fajarlazuarding:
So what's your personal answer mate? :)
[Nexus 4 Original Android Development] Italico:
Seems because I left wifi activated even if I was away fron any hotspot. Now I still have msm_hsic wakelocks, but not as many as before
[Nexus 4 Original Android Development] twowheeler:
Back from testing some other kernels and this was the first complete cycle (with some wakelocks that I need to tackle, android system shouldn't be that high). I'll just leave this here :D. Semaphore has always been a trusty kernel with consistent results!

Beamed from my nexus⁴
[Nexus 4 Original Android Development] milestegfreeze:
I understand this kernel is amazing but I don't think it's a great idea to kill your battery for benchmark purpose...
[Nexus 4 Original Android Development] twowheeler:
Don't worry, I do it once every two months (if not less). My battery won't be that low after a day of usage normally ;)

Beamed from my nexus⁴
[Nexus 4 Original Android Development] ihancioglu:
Hi [MENTION=3750240]stratosk[/MENTION],

I would like to inform you about crash issue at camera related applications. I was using my build kernel in last a few weeks and I don't face reboot issue on my kernel, I was especially test it.

Now I just installed your kernel but unfortunately I am able crash the device on camera app.

I am sending the patch files which I was imported from CAF. I think that patches resolves this issue completely.

Please review them, import and test I hope that will solve this issue at Semaphore as well.

I can build your kernel with these patches to test and let you know ,If you want. Just let me know my friend.

Thanks,
[Nexus 4 Original Android Development] zakk87:
I try this kernel again with c-rom and works gr8 but after night I saw that phone won't sleep. I use 2G, don't know why msm_hsic_host wakes the phone

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Original Android Development] kwibis:
Is this kernel compatible with cyanogenmod 11m6?
[Nexus 4 Original Android Development] stratosk:
Hi [MENTION=3675426]ihancioglu[/MENTION]

Thank you very much!

I will definitely test them and most probably include them in next version!
[Nexus 4 Original Android Development] stratosk:
Hi [MENTION=3675426]ihancioglu[/MENTION],

I tested these patches.

Although, it seems more stable now, I manage to panic the kernel playing with the focus with led flash on.

Do you have that kind of issues?

Anyway, I will include these patches in next version. Thanks again!
[Nexus 4 Original Android Development] stratosk:
New version 2.1.5

- Linux kernel 3.4.91

- Fixes for camera from CAF (thanks to [MENTION=3675426]ihancioglu[/MENTION])
[Nexus 4 Original Android Development] snak3ater:
Taking Pics with Flash on....

No reboots so far...Rock solid :good:

Thanks Stratosk :)
[Nexus 4 Original Android Development] twowheeler:
First impressions are very good Stratosk! Very smooth. Even as dual core with lowered max freq.

BTW: there's no need to flash stock kernel between upgrading right? I have been doing it wrong for years if that's required :P

Beamed from my nexus⁴
[Nexus 4 Original Android Development] yarisd4dturbo:
I don't think it's required ?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] stratosk:
Thanks!

It's not required.

It's only required if you are coming from other kernel. Flashing stock kernel we are sure that Semaphore zip installer will find and use stock initramfs.
[Nexus 4 Original Android Development] capoooro:
Great, smooth and camera working perfectly

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] ihancioglu:
Hi [MENTION=3750240]stratosk[/MENTION],

Yes right, I just manage reboot after a lot of hard tests on my kernel. So it looks better with patches but not perfect. Anyway I have started to think we have hardware defect with camera or led flash on our devices.

I just take a look at CAF repo for further patches for camera but a lot of dependencies.

Thanks anyway for new version.

PS : Do you think that Semaphore kernel defaults are too aggressive for battery/performance? I am using Semaphore below settings without performance drop.

# Ondemand

io_is_busy 0

sampling_down_factor 3

sampling_rate 30000

touch_load 65

touch_load_duration 750

up_threshold 99

# Hotplug

min_online 1

up_threshold 50

I just using minimum one core online because CPU0 enters C3 state(deepest sleep) as soon as only one core remain and battery saving is maximum. So If we use two core minimum they never enter C3 state while screen on.

I am also thinking that down_timer of Hotplug driver is too much(5 Seconds). Are you thinking expose this tunable to sysfs as well? :) So I would like to decrease a little bit to save some battery on it.

What do you think?

Thanks in advance,
[Nexus 4 Original Android Development] oxxshadow:
Is the Semaphore app the only way to change colours if screen and Gamma?
[Nexus 4 Original Android Development] Rohit02:
Its not the only way but the best suited way..;)
[Nexus 4 Original Android Development] oxxshadow:
Would there be anyway to convert my color profile in Hellscore to Semaphore? Or is there a list of semaphore profiles to choose from? Thanks
[Nexus 4 Original Android Development] stratosk:
Personally, I like these settings. I like smoothness on my phone and I prefer it from little more battery.

Anyway, everybody can adjust the kernel to his/her personal taste.

I know about the CPU 0 and the deepest idle state. But the cost to offline/online the second CPU is bigger.

About the new tunable to hotplug driver. Not bad idea. I will consider adding to next version.
[Nexus 4 Original Android Development] miksontije:
i also have camera ishue on rastakat rom. with stock kernel latest google camera works ok,but sema 2.1.5 freeze phone when i take pictures. first i think it was bcouse i set min cores to 1,but when i set all to default it goes freezing again here is kmsg

also after i flash semaphore i wipe cash and dalvik,reboot,and i got freezing again.
[Nexus 4 Original Android Development] Midomad:
The last version is extra solid no reboot,no lags...

[MENTION=3750240]stratosk[/MENTION]

Can you post you're actual settings?

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Original Android Development] stratosk:
Thanks for the report. I would need the last_kmsg to investigate this.

But I did this in the past. Since I'm not familiar with this code, it's not easy for me to resolve this.

Thanks!

My settings (almost everything default):

ondemand (default values in tunables)

hotplug (default)

undervolting (lower uV 62500, higher uV 50000, higher freq 1350000, boost voltages off)

noop, double tap to wake, leg triggers, touch screen filters off, sd read ahead 256, logger off, SAI enabled
[Nexus 4 Original Android Development] oxxshadow:
Can someone please explain to me what SD read ahead and Sai does? Thank you in advance!
[Nexus 4 Original Android Development] TheNerd:]:
SD card read ahead is the amount of data your device reads every time it performs a task. Lower read ahead means your device will read less data each time, so your device will have lower latency but less throughput. Higher read ahead means your device will read more data each time it performs a task so higher latency but more throughput.
[Nexus 4 Original Android Development] dxxvi:
Lucky me, I don't have that freezing or fc with 2.1.5 and google camera 2.2.024 (just updated this morning).

By the way, thank stratosk very much for this kernel. It's dt2w is the best xxx-to-wake for me (although it doesn't work all the times).

Off-topic: which ROM is everybody using? I'm using PSX 4.0.7 (but this project was just closed). I want a light (i.e. small), fast ROM which allows me:

to format the time as Fri May 30 9:39 AM, it's better if it can show me the download/upload speeds on the status bar and I don't want to use Xposed for those features.

to change the battery icon to a running circle with the percentage inside

to hide the navigation bar

to put some icons on the ring on the lock screen

it's better if it has PIE internally which is as powerful as LMT

no Halo
[Nexus 4 Original Android Development] jimyiak:
Mahdi rom i thing has all this..or purity..try youself to see..but why don't you stay on psx??if it works good why you want something else?

sent by neXus 4 kitkat-ed ?
[Nexus 4 Original Android Development] xflori:
Hey, on the new mahdi build i cant install the kernel? You got that too?
[Nexus 4 Original Android Development] jimyiak:
What do yoi mean?you can install any kernel you like which is aosp..and so is semaphore..

sent by neXus 4 kitkat-ed ?
[Nexus 4 Original Android Development] xflori:
Yeah with the old build from mahdi 05.26 it worked but now it always fails o.O
[Nexus 4 Original Android Development] jimyiak:
Ask mahdi for this..don't know why..try another rom..go for purity,it's always great combo with semaphore!!! ???

sent by neXus 4 kitkat-ed ?
[Nexus 4 Original Android Development] twowheeler:
Or stock with xposed (that's what I'm using). But purity is insanely fast and clean too. Don't know if you can couple it with xposed, but I guess someone in that thread will have tried it ;)

Beamed from my nexus⁴
[Nexus 4 Original Android Development] Gu$houn*:
Purity works very well with xposed, I've been running it for half a year, no problems ...

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] capoooro:
Mine works without problem. I always install the semaphore kernel directly with the rom.

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] xflori:
Yeah, it was my bad somehow zip verification was turned on but i really dont know why, now it works
[Nexus 4 Original Android Development] pxrave:
hey stratosk i switched from i9000 to n4

i installed cm11 m6 and the newest version of your kernel but all colors are inverted =>blue = orange etc

how to solve that?
[Nexus 4 Original Android Development] urim225:
Download semaphore app from play store, grant root access and then reset to system default from there and it will revert colors to stock
[Nexus 4 Original Android Development] TheNerd:]:
That's not the problem. He's using cyanogenmod which has caf stuff making it incompatible with aosp based semaphore. Switch roms if you want the colors back.
[Nexus 4 Original Android Development] pxrave:
i followed your advice

but even the boot logo is destroyed....

only cm kernel is working :(

thanks nerd for the info

is sema working with omni rom?
[Nexus 4 Original Android Development] perfoliate:
There's also this CM compatible version if you want a semaphore base :)

http://xdaforums.com/showthread.php?t=2597377
[Nexus 4 Original Android Development] TheNerd:]:
Omnirom works with semaphore
[Nexus 4 Original Android Development] Ryanrioz:
using latest version :D

n my SOT aren't bad as well :P
[Nexus 4 Original Android Development] Midomad:
[MENTION=278972]stratos[/MENTION]

4.4.3 factory are out :)

http://www.androidpolice.com/2014/0...nexus-4-nexus-5-nexus-7-and-nexus-10-are-out/

I wonder if it will break anything with last semaphore 2.1.5 version?

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Original Android Development] Dark Emotion:
AFAIK wi-fi doesn't work on 4.4.3 if you flash older custom kernels
[Nexus 4 Original Android Development] rogers11:
It seems that I can confirm this. 4.4.3 with current Semaphore. :)
[Nexus 4 Original Android Development] twowheeler:
Hmm this really is something that will make me wait to upgrade to 4.4.3 :P

Beamed from my nexus⁴
[Nexus 4 Original Android Development] muzadull:
After several testing:

Wifi works by flashing 4.4.2 Prima drivers.

Added Zips:

1:Flash 4.4.3_Wifi_Fix.zip if you are using custom 4.4.2 kernel.

2:Flash Revert_4.4.3_Wifi_Fix.zip if you go back to stock 4.4.3 kernel.

Try at your own risk
[Nexus 4 Original Android Development] stratosk:
Thanks, I'm aware of it.

Waiting for Google to push sources. :)
[Nexus 4 Original Android Development] :
God it's exciting isn't it? :D
[Nexus 4 Original Android Development] a g bell:
?????????YES it is?
[Nexus 4 Original Android Development] Bonvaz:
Back To semaphore and it's always a pleasure. Thanks for your great work

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] stratosk:
If someone wants to test (I think it works ok):

2.2.0

- Merge latest changes for 4.4.3

- Added 2 more tunables to dyn_hotplug to control timer for up and down CPUs (up_timer_cnt and down_timer_cnt)

- Small improvement to dyn_hotplug
[Nexus 4 Original Android Development] stratospr:
I've lost wifi... My phone is stock 4.4.2 with xposed and gravity. Back to 2.1.5 for now
[Nexus 4 Original Android Development] stratosk:
This is 'normal'

2.2.0 is for 4.4.3.
[Nexus 4 Original Android Development] stratospr:
OK. Thanks! (still no 4.4.3 ota for me...)
[Nexus 4 Original Android Development] TheNerd:]:
Stratosp with Stratosk? What is this madness
[Nexus 4 Original Android Development] a g bell:
Work well it does,but that was expected? running all off 5mins?
[Nexus 4 Original Android Development] stratosk:
It's Greek madness :)
[Nexus 4 Original Android Development] Mercado_Negro:
Thanks for 2.2.0. Booted just fine and it seems to be working as expected on my setup (Stock + Xposed with Gravity module). Let's see how it performs now for a few days.
[Nexus 4 Original Android Development] HiM@L:
wooo... test build for 4.4.3... time to root my stock 4.4.3 back to awesomeness again. thanks stratosk.
[Nexus 4 Original Android Development] miksontije:
2.2.0 camera works for me and wifi works. so far looks fine
[Nexus 4 Original Android Development] malcho:
So far so good:)
[Nexus 4 Original Android Development] snak3ater:
Hi.. New update working great... Thank you so much... I've got a little request..

Can you please give a short explanation about these 2 new tunables..i haven't changed their values & left it on stock.. Just trying to understand what these 2 tunable really do

Sent from my rastakat powdered Nexus
[Nexus 4 Original Android Development] ihancioglu:
Best explanation is on the source code of dyn_hotplug from Stratosk

/*

* Every DELAY, check the average load of online CPUs. If the average load

* is above up_threshold bring online one more CPU if up_timer_cnt has expired.

* If the average load is below up_threshold offline one more CPU if the

* down_timer_cnt has expired.

*/

Defaults are up_timer_cnt - 1 second , down_timer_cnt - 5 seconds. So value / 2 gives us a real seconds.

Thanks
[Nexus 4 Original Android Development] Bonvaz:
Anyone have screen flickering with semaphore 2.1.5?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] Rohit02:
Update your kernel mate.. No issues.. All super smooth as always and the first dev to update the kernel to the latest sources. ;) :good:
[Nexus 4 Original Android Development] domg73:
I Always had screen flickering with semaphore... since first KK version... including the latest 2.20...

The only fix I found is to up the min cpu freq to 486mhz and all flickeing is gone... no noticeable impact on battery life.

Maybe this info will be useful to the dev....
[Nexus 4 Original Android Development] stratosk:
Could you please post your full configuration?

I can't reproduce this issue.
[Nexus 4 Original Android Development] jimyiak:
What do yoy mean flickering?some shuttering on scrolling,for example on xda app?try to force gpu rendering and see what happens..

sent by neXus4 kitkat-ed
[Nexus 4 Original Android Development] domg73:
All defaults... No UV.. Dt2w enabled... Buindi22 gamma.. Stock 4.4.3 rom....

I think not all n4 have this issue... Mine has and it's related to the min cpu freq...

Another kernel that gives me flickering is hellscore which has a min freq of 81mhz... As soon as I up it one step to 192mhz flickering is gone...

No problem at all with stock kernel and default min freq.

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Nexus 4 Original Android Development] jimyiak:
So rise your frequency ?

sent by neXus4 kitkat-ed
[Nexus 4 Original Android Development] domg73:
No I don't mean that kind of flikering...

I think it's related to the cpu driver that make the screen flicker when the lowest min freq is used...

I'm not a kernel dev so I can't be very helpful here... maybe a simple solution would be adding a lower min freq to the table (like 192 or 204mhz) and keep the default one to 384mhz...
[Nexus 4 Original Android Development] stratosk:
What's your CPU PVS bin? (you may find this info in Semaphore Manager -> undervolting-> show CPU table)
[Nexus 4 Original Android Development] domg73:
CPU PVS: Fast
[Nexus 4 Original Android Development] stratosk:
I have the same... with no issues. (I thought that something goes wrong in a specific bin).

BTW, did you tried to reset to default your gamma settings. I don't think it's related. But just in case.
[Nexus 4 Original Android Development] domg73:
Believe me... I tried everything since this problem surfaced with the first KK version... there was absolutely no problem with Jelly Bean...

I did many many tests... the only solution is just to avoid using the lowest cpu freq.

What about adding a lower freq to the table (like 102 or 204mhz) and keep 384mhz as default?

I will be happy to help you testing it if you want...
[Nexus 4 Original Android Development] kalpik:
What C States are enabled?
[Nexus 4 Original Android Development] domg73:
Never played with cstates.. so they are the default ones

I know C1 creates screen flickering... my C1 is off by default...
[Nexus 4 Original Android Development] stratosk:
I believe you, my friend.

I just try to locate the issue.

Why you want a lower frequency? You issue is gone with higher than 384MHz.

I think CPU freq is not the issue. I have an idea, I will try something when I'll return home and let you know.

Until then, please try (if you didn't) to reset gamma values to default.

And then, to use min online cores 1 in dynamic hotplug driver.
[Nexus 4 Original Android Development] domg73:
No.. my problem is not the 384mhz.. it's the lowest cpu freq... whatever it's 384, 204, 192, 81.... I simply have to use the upper next min freq to stop flickering..

example:

if kernel min freq is 81mhz... i have to use the next one (192) to stop flickering...

if kernel min freq is 192mhz... i have to use 204mhz to stop flickering...

if kernel min freq is 204mhz... i have to use 384mhz to stop flickering...

semaphore min freq is 384... so i have to use 486 as min freq to stop the flickering...

with stock kernel I have no flickering at all with the default min freq.

BTW... tried with default gamma setting... and with min cpu cores to 1... still flickering if i use the lowest cpu freq (384mhz)...

Hope this help... I know my english is not perfect :)
[Nexus 4 Original Android Development] stratosk:
OK, I will prepare a test kernel tonight. Thanks for the info!
[Nexus 4 Original Android Development] diogo.sena:
what a weird bug.! what governor are you using ?
[Nexus 4 Original Android Development] ctfrommn:
Yea, Im a bit spoiled and lazy since all kernels now either have Faux's or Franco's gamma and are very easy to tweak via Trickster or FKU/Faux's app. I remember the script days from a couple months ago and am not terribly excited to revisit them. We'll see, my curiosity may well get the best of me anyway. :)
[Nexus 4 Original Android Development] Semantics:
Yes, I'm absolutely sure I'm using the correct kernel. :)

I am using AOKP milestone 1 and have used every other version of your kernel. I haven't changed a thing. I did flash matr1x for a day, but that's all.

Goo.im seems to be having issues with bandwidth at the moment. 4 hour download on the ROM, I'll just wait until it picks back up. I haven't had an issue with AOKP on any kernel, including Semaphore, which makes me think it might be my phone. Every other version still works with AOKP, and it just boggles me, because these are updates to the kernel, its not like Stratosk rewrote the entire kernel from scratch, right? In any event, I'm sure 0.8.0 will work fine.

Thanks for all the replies, guys.
[Nexus 4 Original Android Development] Sanael:
Hi.

Would it be complicated to provide a LED interface like the CM one, to allow more customisation ?
[Nexus 4 Original Android Development] Drmol:
Hi, is there anything I need to wipe/delete prior to flashing this with cwm? Thanks

Also, is the 0.7.5 release stable enough to be a daily driver?
[Nexus 4 Original Android Development] ctfrommn:
Nope, no need to ever wipe anything when flashing a kernel. I do however dirty flash my Rom prior to switching to a new kernel from another custom one.
[Nexus 4 Original Android Development] sirxdroid:
There's a mirror for the deodexed version: http://d-h.st/CP3

---------- Post added at 10:20 AM ---------- Previous post was at 10:17 AM ----------

Ah but you get to practice your scripting skills, I'm sure they will come in handy when you try to build your own ROM/kernel :)
[Nexus 4 Original Android Development] ctfrommn:
Haha....I couldnt write a script if my life depended on it. I wouldnt even know where to start. Im at the mercy of the kind folks that create them for us.
[Nexus 4 Original Android Development] eep2378:
Thats a ROM feature, not kernel related. Honestly, the led triggers that strat implemented in this kernel is not for that intention.

---------- Post added at 01:29 PM ---------- Previous post was at 01:27 PM ----------

If you're using semaphore app to enter values, no reboot needed. Just screen off/on.
[Nexus 4 Original Android Development] funcrusher:
Hmm..I tried that first, but didn't seem to take.
[Nexus 4 Original Android Development] stratosk:
Thanks for your feedback. And I really take your critique as intended.

I exposed stock gamma table as is. Why? The truth is that I don't really care about colors. Don't get me wrong. The interface works, but it needs 1 minute to type the values. I would need 1 or more man-days (unpaid) to setup a fancy interface.

Writing a fancy kernel with a fancy app to sell are not my goals. My goal is a stable kernel, totally aligned with Linux kernel standards.

My goal is to contribute as much as I can to Linux kernel. My free time is very limited and I would like to spend it in kernel not to fancy interfaces.

When I released Semaphore Manager, I decided to have it open source (GPLv2), due to a difficulty to sell it. (SGS users maybe remember this). But finally I didn't regret this. Anybody may feel free to contribute and improve the interface.
[Nexus 4 Original Android Development] apatal:
You guys do know you can just download Semaphore Manager from the Play Store and turn off the LED triggers, right?
[Nexus 4 Original Android Development] ctfrommn:
Thats interesting then, because every other kernel that simply exposes the stock values can be easily changed via Trickster and others. Im not sure what the difference is and certainly arent going to beat you up for the approach you are taking as I understand the workload involved. Its just odd that this kernel is so different that every other out there regarding gamma. Thanks for your reply though, its nice to have some courteous devs around here :)

---------- Post added at 04:11 PM ---------- Previous post was at 04:09 PM ----------

Yes, I saw that....its a nice touch. I was simply commenting on the low threshold chosen is all. I like how Franco approached it.....it comes on at -5c before your thermal threshold which now makes it user definable.
[Nexus 4 Original Android Development] Mercado_Negro:
Interesting. Just out of curiosity, why do you flash your ROM again instead of just flashing its boot.img file via terminal emulator or adb?