yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] T-luvR:
Up threshold is a value that when cpu reaches it moves to next scale higher means less responsiveness so when its higher cpu is less responsive and changes scale slower so cpu will stay longer on a low clock

And uts the same for touch threshold I think itll be harder for cpu to boost frequency on touch

Increasing upthreshold may occur lag in games let it stay stock

My problem with vector was because of that

And changing touch threshold may occur touch confliction let theme both stay stock if u play games but if not change both to 100
[Nexus 4 Original Android Development] underskyzx:
I'm playing Vector too, the last stage of the first episode is barely playable, didn't know it was the kernel.

But what exactly did you change...and what are the stock values?
[Nexus 4 Original Android Development] T-luvR:
Changed the upthreshold =95 and gov=ondemand and touch boost =10! And very smooth game! Then it was smooth for me (30+fps) if those changes didnt make sense then change rom
[Nexus 4 Original Android Development] stratosk:
I always use stock.
[Nexus 4 Original Android Development] underskyzx:
That's strange, I have the same values (assuming that by touch boost you mean touch load threshold).

The game does run smooth until the last part of the first episode, right after the crows animation it lags hardcore, it's doable if set graphics to Low

I'm gonna try to mess with the settings, maybe GPU settings but it looks to me that the game itself is poorly coded.
[Nexus 4 Original Android Development] T-luvR:
And also game has problems while it runs slow on my pals iphone 5 and n5 :D and also Ive tried almost all kernels and roms out there
[Nexus 4 Original Android Development] :
Guys, is there any way to choose how many cores are boosted on touch? I'm using the semaphore manager app
[Nexus 4 Original Android Development] TheNerd:]:
I've noticed it boosts the number of min cores you have set i.e. Min cores = 2 = # of cores boosted. So I set the touch load to 50 (918 mhz) and have min cores 2 it'll boost two cores to 918 mhz.
[Nexus 4 Original Android Development] stratosk:
No, you can't set this.

All online cores with actual load above touch load threshold will be boosted.
[Nexus 4 Original Android Development] ihancioglu:
I am playing Vector too, with up_threshold=100 and touch_load_threshold=100. There is no lag. 4 cores stay online within the game. Maybe lags are thermal throttle related.
[Nexus 4 Original Android Development] svnhvn:
Why my device throttling very frequent? The red led quite often blinking.

Oh, my up_threshold was 100 and touch_load_threshold also 100. UVing low freq at 50k and upper freq at 25k.
[Nexus 4 Original Android Development] omer7:
It is because semaphore uses stock thermald code. And stock thermald starts throttling when ur battery temp reaches 37C.

What i have done to stop this throttling based on battery temperature, i have enabled "temperature throttle" in trickstermod (which by default in semaphore and stock kernel is disabled). Now what it do, it doesnt throttle on battery temperature, (and according to my logic, only my guess, i m not sure, please confirm it from someone expert), it will only shut down phone now when temp gets high, i mean it will shut down at the stock thermal CPU temp which is set (in stock kernel thermald).

I was playing game and my battery temp reached 39C, but still it didnt throttle. See image below.
[Nexus 4 Original Android Development] svnhvn:
Such option available on semaphore manager? I prefer not using more than one kernel manager app. Thanks though.
[Nexus 4 Original Android Development] T-luvR:
Using with android l too smooth and battery friendly
[Nexus 4 Original Android Development] omer7:
Not sure, i dont think this option is there on semaphore manager.
[Nexus 4 Original Android Development] falconator:
Love this kernel :D

Anyone else having issues with autobrightness though? It was working fine on stock purity, but after flashing semaphore it would stay at the same brightness level, and the custom values wouldn't change how the screen looked. Flashed back to stock purity and brightness was back to normal. Probably something in purity, but I didn't they Darios touched the kernel so I thought I would ask here first. Thanks again!
[Nexus 4 Original Android Development] TheNerd:]:
You have exponential brightness enabled
[Nexus 4 Original Android Development] stratosk:
New version Semaphore Manager 4.1.5

- Add "Up timer counter" and "Down timer counter" tunables

- Update default touch load to 65

- Update translations

Available on Google Play
[Nexus 4 Original Android Development] falconator:
I don't - I haven't tweaked anything in semaphore manager, and everything is stock there (first thing I checked). I only notice in the sunshine, since I can barely read the screen, yet manual brightness is very bright and easy to read. Thanks though!
[Nexus 4 Original Android Development] :
Semaphore on Android L Port

Just to let you know, Semaphore works perfectly on Android L port for Nexus 4. Using it glitch free.
[Nexus 4 Original Android Development] socialdistortion:
Android L has this fancy touch. If you enable touch wake, then the notification led glows blue till the touch screen times out.

Haven't found a setting to disable it yet.
[Nexus 4 Original Android Development] stratosk:
Please check "led triggers" section in Semaphore Manager.
[Nexus 4 Original Android Development] socialdistortion:
Oh. It was due to the setting. Guess I had never turned it on with kitkat.

But great feature [emoji106]
[Nexus 4 Original Android Development] T-luvR:
After a day with l

With stock kernel there was lag and ...

But with l I even don't feel its a preview ! Its perfect as stable as a daily ROM and works flawlessly

Thank u stratosk and thank u for your new manager
[Nexus 4 Original Android Development] Cosmox_:
First thank you for the great and stable kernel

---------- Post added at 12:36 PM ---------- Previous post was at 12:29 PM ----------

First thank you for the great and stable kernel

I'm using it on the Android "L" preview, and i observed an issue applying the touche_boost parameters (getting a permission issue) after some search over Google i resolved it by linking the /dev/socket/pb to /dev/socket/mpdecision/touch_boost (this file wasn't present before...).

Now this error disappeared from logs but still i'm unable to set the mpdecision to "ON"...
[Nexus 4 Original Android Development] T-luvR:
Which app are u using?! Use semaphore manager and then if u turn off dynamic hotplug the mpd will be enabled
[Nexus 4 Original Android Development] stratosk:
That's not true.

You can't re-enable mpdecision. If you disable dyn_hotplug, you will simply have all cores online all the time.

The error in the logs appears due to lack of mpdecision.

I use a custom binary to consume the messages from powerHAL and suppress the warnings, but I don't know why it's not working in your case.

Maybe it's the "L"
[Nexus 4 Original Android Development] T-luvR:
Hmmmmm! Then im not using mpd :)))) thanks for telling that :D
[Nexus 4 Original Android Development] iksander:
Witch kernel version for Android L?
[Nexus 4 Original Android Development] tatnai:
there is no specific L version. we do not have source code for an L kernel. others are using the current 4.4.4 kernel with apparently good results, YMMV as it is not officially supported.
[Nexus 4 Original Android Development] dtnosk:
How do you apply this
[Nexus 4 Original Android Development] domg73:
unzip it... copy the project in sdcard\tasker\projects... in tasker long-tap the home icon and select import.
[Nexus 4 Original Android Development] meehow81:
How to enable F2FS on Semaphore?

Hello. I've been thinking of migrating to FSFS on my N4 device. Is there a way to force Semaphore to recognize f2fs partitions, e.g. a script or something? If not, which kernels recognize f2fs? Or, is there a chance of enabling this feature in future releases of the Semaphore kernel?
[Nexus 4 Original Android Development] T-luvR:
Use jollie belle in dev forum thats exactly this + f2fs+ faux sound

If I helped thank T-luvR
[Nexus 4 Original Android Development] meehow81:
Oh, thx. I'll give it a try! Anyone using f2fs on N4?
[Nexus 4 Original Android Development] underskyzx:
Does anyone have the Franco profile 44_Bundi22? I believe this is the iPhone 5 profile and Bundi22 is the author, I'd love to use this with Semaphore, I did look at some excel table I found in this topic but I just don't understand how it works...
[Nexus 4 Original Android Development] Oops...:
This is what I noted some time ago.

a) bundi_vivid:

0 87 119 1 6 0 1 0 1

b) i_iphone5

0 39 119 1 6 0 2 0 1
[Nexus 4 Original Android Development] dodgebizkit:
I assume the 4.4 version is the one that works with the L preview? :)

EDIT - Read the prev page, know the answer :)
[Nexus 4 Original Android Development] Sir_gpm:
Did I set them rigth?

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] snak3ater:
You don't have to quote whole OP... Just mentioning Stratosk would've got his attention
[Nexus 4 Original Android Development] Oops...:
Yes, I did it like this. The only difference, I have 255 for red, green and blue.
[Nexus 4 Original Android Development] baxtex:
Does 2.3.0. work for 4,4,4?
[Nexus 4 Original Android Development] manpildo:
Yes
[Nexus 4 Original Android Development] apatal:
Yes.
[Nexus 4 Original Android Development] baxtex:
Great, thanks! :)

I've read some of the latest pages of this thread but not gotten clear what the "touch_load_threshold" settings really is and what the effects are when increasing or lowering it? Would be interesting to know, never heard of it in other kernels :)
[Nexus 4 Original Android Development] TheNerd:]:
Load = the amount of work the processor has to do

Touch load threshold = the percentage of load the processor will get a boost at

Touch load = boost

At 10% threshold cores will get boosted much more often than let's say 90% because the processor is at 90%+ workload much less than the number of times it's at 10%+ workload.

Touch load = 384 + x(1512-384)/100

X is the value you put in semaphore kernel manager and the output will be the boost frequency
[Nexus 4 Original Android Development] baxtex:
Okay So I'm on latest Purity build and latest Semphore kernel but I'm sometimes facing random reboots. Anyone else doing this? It mostly happens when I'm using Snapchat, but it happens every now and then. It also occurred when I was on an older build of purity and semaphore kernel. I'm using stock kernel settings except for the undervolting uv which I set both low and high to 15000.
[Nexus 4 Original Android Development] tatnai:
I am on latest purity and semaphore, using purity for 6 months and semaphore for 1 month. I have default undervolting set, no boost. I do not have random reboots at all.

1. may be your app??

2. each phone is different; try turning off your undervolting, or increasing it a little, see if that makes a difference

3. try clean install after full wipe
[Nexus 4 Original Android Development] vampire36:
r g b 255 255 255

0 39 119 0 6 0 2 0 2 :)
[Nexus 4 Original Android Development] T-luvR:
Make uv 125 thats too much for a cpu!
[Nexus 4 Original Android Development] TheNerd:]:
Known problem with Snapchat. It's not their fault though it's the hardware's. Nothing wrong with your device.
[Nexus 4 Original Android Development] baxtex:
1. Don't know, happens alot when I'm using Snapchat.

2. I have used stock settings for a long time (without over- or under clocking)

3. I've done 2 clean installs and the issue remains.

It is? Well I will lower it then.

Oh, so that might be why it crashes so often then. Seems weird that it's not being able to fix it in software.
[Nexus 4 Original Android Development] donteo:
So finally someone help me :confused:

Bundi iphone profile is

0 39 119 0 6 0 2 0 2

or

0 39 119 1 6 0 2 0 1
[Nexus 4 Original Android Development] jpmccarthy:
Bundi Colours:

0 39 119 1 6 0 2 0 1
[Nexus 4 Original Android Development] TheNerd:]:
Sorry I got lazy , but there's a disclaimers from Snapchat
[Nexus 4 Original Android Development] donteo:
why some post mention 0 39 119 0 6 0 2 0 2 as bundi ?
[Nexus 4 Original Android Development] jpmccarthy:
I took mine from a spreadsheet of values that was posted here.

Not sure what the difference would be, but try both and stick to the one you like best.
[Nexus 4 Original Android Development] stratosk:
New version 2.3.3

- Linux kernel 3.4.99
[Nexus 4 Original Android Development] Slymobi:
Stratos you are amazing ;) Thanks for the resolution ;)

Regards as always
[Nexus 4 Original Android Development] stratosk:
You welcome!
[Nexus 4 Original Android Development] TheRebel:
Thanks a lot for the new version and sorry for this stupid question, but is it worth flashing the new version. Because in changelog I only see "Linux kernel 3.4.99".

Do these Linux later versions bring any improvement etc.? :fingers-crossed:

thank you.
[Nexus 4 Original Android Development] Gu$houn*:
I don't want to be rude but could you tell me the situation which it wouldn't be worth flashing in?

It has about 7mb and everything you have to do is one reboot to recovery, flash one file, no wipes, even if you are super slow, it will take 5 mins max, so consider it again before asking this kinda questions, because those 5 mins is nothing compared to time/effort which stratosk had to invest, so show at least that level of respect and leave those questions for yourself, just flash it and be happy or let it be and be quiet, that's all ... and again, no offense.

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] TheRebel:
I don't want to be rude either, but this question was for decent ppl like stratosk himself. He's such a humble and nice guy. I'm on version 2.3.0. What I meant since its only Linux next version (I'm noob, so don't know about these Linux versions). I meant if there s no change by stratosk, then I should be okay with 2.3.0. This is what I meant.

I always admire stratosk work, he's a great great dev. But that doesn't mean a noob like me can't even ask a question.

I'll apologize to stratosk only, if he didn't like my question.
[Nexus 4 Original Android Development] Gu$houn*:
I was on 2.3.0 too and I think that although there are no changes from stratosk, there probably should be some changes from Google.

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] donteo:
Semaphore manager not working :(
[Nexus 4 Original Android Development] TheRebel:
Thank you sir. This is what I was asking :good:
[Nexus 4 Original Android Development] stratosk:
IMHO, yes.

This single line in change log means that I merged changes from 3.4.96, 3.4.97, 3.4.98 and 3.4.99.

This means about 100 patches that are mainly fixes that backported in 3.4 stable kernel from.

Of courses not all 100 patches affects our architecture, but in most cases every single patch is important (that's why it was backported as a fix in stable 3.4 kernel).

So, I would say that patches that are merged from stable kernel are usually much more important than my patches. :)

I will quote the message of Greg Kroah-Hartman (the maintainer of stable releases) every time he releases a new version (here the latest):
[Nexus 4 Original Android Development] stratosk:
Could you please be more specific?

What exactly is the problem?

Do you have it only on latest version?

Can you provide any logs?
[Nexus 4 Original Android Development] apatal:
Does your ROM come with busybox out of the box (see what I did there?)? If it doesn't, install busybox using one of a number of apps from the Play Store. :)
[Nexus 4 Original Android Development] Toobie:
Quick but maybe stupid question, does it work with slimKat?
[Nexus 4 Original Android Development] ZioGTS:
Deleted...
[Nexus 4 Original Android Development] donteo:
ok after reset to default everything is ok ... it dont show correct values in kernel settings !
[Nexus 4 Original Android Development] mko000:
Of course...
[Nexus 4 Original Android Development] twowheeler:
As long as its aosp based then semaphore will work ;)
[Nexus 4 Original Android Development] manpildo:
I've got a bit of a problem. I'm using Purity with Semaphore and sometimes the phone switches off randomly. This could be due to DT2W, but I'm not sure. At one point the phone won't simply wake up and I have to long-press the power button to turn it on/restart (I'm not sure if it's just the screen not responding or if the whole system shuts down).

Does anybody else have the same problem? How could I test what's causing such behaviour?
[Nexus 4 Original Android Development] twowheeler:
Running the same setup but without dt2w enabled. Stable as a rock here. Will try dt2w to check stability. Are you undervolted?
[Nexus 4 Original Android Development] Gu$houn*:
If you are undervolted too much you will face random reboots, not random turn offs so it has to be caused by something else. Dt2w only causes drain because of the screen power on all the time thing. If it would be on but unresponsive, there is the workaround with multi touch with three more fingers that makes the screen responsive again but if it's turned off, it might be a battery issue as well.

P.

[sntfrmnxs4]
[Nexus 4 Original Android Development] ZioGTS:
Had that issue once, after upgrading from an older version of Purity. Dirty flash was the cause. I did a factory reset and clean flashed ROM, kernel and gapps, everything back to the usual smooth and stable experience.
[Nexus 4 Original Android Development] manpildo:
Not by much, disabled "boost voltages" so -25K.

Blast! Was hoping I could escape a clean flash. Seems not. But thanks for the answer, will do some time.
[Nexus 4 Original Android Development] xflori:
Hey anyone got the s4 color profile?
[Nexus 4 Original Android Development] Ryanrioz:
yup.. :)

is out of busybox so u need to install the busybox 1st :)

still kicking Semaphore kernel with stock rom :D
[Nexus 4 Original Android Development] axlrvx:
Hi, I found something weird in my kmsg, it says something like:

[14429.960382] init: untracked pid 18394 exited

[14447.998929] init: untracked pid 18396

OmniROM + Semaphore 2.3.3, it works great.

I have to worry about it?
[Nexus 4 Original Android Development] apatal:
Hi [MENTION=3750240]stratosk[/MENTION], I got a sudden reboot earlier while taking a picture using the fb messenger chat head feature. Here's the last kmsg, I hope it will still be useful:

http://pastebin.com/DhXFd4AU
[Nexus 4 Original Android Development] Sir_gpm:
Is there a way to enable 2t2w without semaphore manager?, if there, how do I do?.

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] apatal:
You can also download an emulator from the playstore, enter "su" and grant it superuser access, then enter:

That should turn on the feature for you. You can also add the same line to your init.d script so it will survive reboots. ￼
[Nexus 4 Original Android Development] ZioGTS:
Stratosk gave us a well conceived app to do that, why would you like to live without it? :)
[Nexus 4 Original Android Development] stratosk:
It seems that a process started from init is terminated and is started continuously.

I don't know if it's kernel related, because during Semaphore installation the initramfs is patched.

So, mainly the initramfs is 99.9% ROM's one.

Unfortunately, I can't be sure which process doing this.

Please try to enable logger and reboot your phone. Maybe logcat shows something.

Unfortunately, the log is interrupted without error messages.
[Nexus 4 Original Android Development] axlrvx:
Hello, thanks for your answer, I made a clean install of another ROM (PA4.43) and that message appears again. I don't see the battery life affected or anything like that.

I have three logs (I don't know much how to make them)

https://drive.google.com/folder/d/0B9pwP7lNMzGXYnZJRUg0dWx3U0U/edit

Thanks.
[Nexus 4 Original Android Development] manpildo:
Clean install, still happened. I have now enabled logger and will post the kmsg when it happens the next time. Or is there some other log file in system which I can post?
[Nexus 4 Original Android Development] tvisforme:
Hi, sorry for asking this. I have been skimming the 700+ pages of this thread and have noticed references to CAF patches. However, I have not yet found if this kernel works with the current CM11 rom.
[Nexus 4 Original Android Development] T-luvR:
It doesn't use jollie belle in android dev instead
[Nexus 4 Original Android Development] arkerio:
HI

just flashed on DU 7.7 and no WIFI

any solution ?
[Nexus 4 Original Android Development] chavocarlos:
Are you using 4.4.x version of Android?

Wath ROM and kernel version are you using?
[Nexus 4 Original Android Development] arkerio:
Hi

M on Dirty Unicorn 7.7

which is 4.4.4

with rom kernel
[Nexus 4 Original Android Development] deeppans:
Hello,

Where should I get Semaphore 2.3.3, I can't see a link in download section.

TIA
[Nexus 4 Original Android Development] omer7:
The link is in OP.

http://www.semaphore.gr/downloads/nexus-4
[Nexus 4 Original Android Development] NEROVINCIO:
this kernel work on paranoid rom?
[Nexus 4 Original Android Development] omer7:
Yes. Should not be an issue. Works on all AOSP roms. ?
[Nexus 4 Original Android Development] jtwebfusion:
Currently running it on alpha 2. :)
[Nexus 4 Original Android Development] stratosk:
Thanks for the logs.

I'm not sure, but I think something goes wrong with Semaphore Manager and art.

I guess you will not have such issues with dalvik.

Could you please try this?
[Nexus 4 Original Android Development] axlrvx:
Ok, I'll try with dalvik.

Thanks for your help.

EDIT: new logs

https://drive.google.com/folder/d/0B9pwP7lNMzGXYnZJRUg0dWx3U0U/edit

Thanks!
[Nexus 4 Original Android Development] stratosk:
Now this error does not exist.

But there is another (harmless) one. I use a service in initramfs which called mpdfake with the only purpose to suppress touch_boost error messages. It seems that for some reason this service does not run. Please note that in your previous logcat with art there was no such error message...

Did something changed between the 2 logs (except from art -> dalvik)?
[Nexus 4 Original Android Development] axlrvx:
Oh, sorry, I have an addiction to flash ROMs, this is a different ROM, I forget it, it's OmniROM again.

It's weird, in dalvik I have less init errors (like the errors in Art "untracked pid #### exited") but they don't affect my battery life, I think my phone is crazy [emoji14]

Thanks.
[Nexus 4 Original Android Development] arkerio:
Hi

Kernel Feature Says

Features

- Linux kernel 3.4.99

- built with Linaro gcc 4.8.2 201306

- enabled O2 optimizations

- ondemand (Changed calculation of frequency, tweaked)

- conservative

- mpdecision dropped

- dyn_hotplug driver

- Noop scheduler (default)

- SIO scheduler

- Touch wake

- Double Tap to Wake

- Gamma control

- LED triggers: touchwake, thermal

- Undervolting

- removed many debug options

but when m using Faux Display it says NO GAMMA Support Detected for this Kernel ?

Any Solution ?
[Nexus 4 Original Android Development] Devoct:
use Semaphore Manager. it's so convenient to use.
[Nexus 4 Original Android Development] jeanpir60:
i follow your KERNEL since GALAXY S AND and i appreciate your work, and the stability ...

Today i have a NEXUS 4 with Omnirom and Hells core with OTG patch from Justvarshney.

I'm a fervent user of OTG.

Idealy i would be back on Semaphore.

Do you plan to implement OTG on semaphore ?

if you looking for a tester i can do it.

Thanks
[Nexus 4 Original Android Development] Midomad:
I really hope...
[Nexus 4 Original Android Development] Gu$houn*:
For OTG you can use jolie kernel, it's based on semaphore ... [•]

P.
[Nexus 4 Original Android Development] Midomad:
Thanks but not working with me ;)
[Nexus 4 Original Android Development] eurochild:
In some roms it works out of the box with jolie, for some other u just need stickmount
[Nexus 4 Original Android Development] jeanpir60:
Just tested Jolie Kernel but Otg doesn't work, i try stickmount but same problem

I'm on Omnirom last Nightly

With Hells core patch OTG from Justvarshney works fine