yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] snak3ater:
All fine here..btw there's nothing wrong in waking up your phone with power button once in a while.. if dt2w doesn't work once out of 10 times, it isn't an issue at all.. we should be thankful to Stratosk for bringing in dt2w & shouldn't be bothered with such small things..
[Nexus 4 Original Android Development] lndulgence:
Ok just an update regarding the screen being unresponsive but swiping to wake it up or lock the screen still works.. Well, placing 10 fingers do really work! LOL! I was like astonished after meeting the unresponsive screen and because some of the boys here shared a tip bout the workaround, aha! I dont fear it anymore :D

---------- Post added at 07:12 PM ---------- Previous post was at 07:00 PM ----------

http://xdaforums.com/showpost.php?p=41461508&postcount=920

A few clicks of the previous button and you'll find the answer as it was already posted but here you go my friend. :) Full credits goes to the owner/author. Download it and then you can toggle between franco's color profile and the converted value for semaphore.
[Nexus 4 Original Android Development] Rozza C:
Couldn't find anything and I'm not sure if this is down to the kernel or OmniROM.

But I can't use the Video Recorder in the Camera app.

Is this a kernel issue or something to do with my ROM?
[Nexus 4 Original Android Development] snak3ater:
This issue has nothing to do with kernel..
[Nexus 4 Original Android Development] Rozza C:
Cool. Just wanted to double check. Off I go to OmniROM then...

Thanks
[Nexus 4 Original Android Development] RASTAVIPER:
I have one question for the Touch Control application.

I noticed that most members don't use this or slide2wake and prefer dt2w.

Is it just a matter of choice or dt2w is more battery friendly?

Btw TC and s2w work fine for me without any response problems that sometimes appear for dt2w.
[Nexus 4 Original Android Development] snak3ater:
For me..TC in Semaphore gives random screen unresponsive issues..no such problem in dt2w

Sent from someone else's Nexus 4 :p
[Nexus 4 Original Android Development] :
I am using slide to wake in combination with slide to sleep. It's just a more consistent paradigm. I have zero issues with Semaphore Kernel.
[Nexus 4 Original Android Development] theBeholderN4:
Trouble with Semaphore Manager while using Touch Wake

Semaphore Manager seems to have problem disabling Touch Wake during calls when the app is not in the memory.
[Nexus 4 Original Android Development] Italico:
Yes, sometimes the 'disable during calls' option works, a d sometimes not...
[Nexus 4 Original Android Development] RASTAVIPER:
I am trying to maximize battery life of my phone, since I don't play games or doing other heavy tasks in general. When I am using GPS, I activate of course all 4 cores.

I had changed for now maximum cores at 2 and I had put minimum at 1, with up threshold at 95.

I UVed also quite a bit and system works quite well.

Only problem is that swype lags a bit at Fb messenger, which I think it's a matter of the messenger application, as in tapatalk swiping speed is normal.

So, I wonder if there is any setting in semaphore client that could speed things a little bit , when it's needed?

Unleashed by my Nexus 4
[Nexus 4 Original Android Development] C4SCA:
When u are on battery saving mode dont underclock more than 1.3/1.2 or set the minimum hotplug to 2 and set max 1ghz (this option will work better)

sent from my diabetic Nexus 4 (too much KitKats)
[Nexus 4 Original Android Development] RASTAVIPER:
About second option, do you mean to set both minimum and maximum cores at 2?

And lower max cpu freq from 1512 at 1000ghz? But why to reduce permanently the max cpu?

Unleashed by my Nexus 4
[Nexus 4 Original Android Development] C4SCA:
Since u are always in dual core u dont need 1.5ghz or very rarelly u need it. Lower frequency == lower voltages used. So u can try the max and min hotplug at max1.5 ghz if the battery saving is enough use like that if u wanna save some more battery lower a bit the max cpu frequency so it uses less voltage but doing that will hurt preformance so dont lower the max frequency too much

sent from my diabetic Nexus 4 (too much KitKats)
[Nexus 4 Original Android Development] lndulgence:
I am using Touch Control even before i flashed Semaphore, and sometimes screen doesnt wake up after swiping, so i believe it's a problem within the app and not with the kernel. Haven't tried the d2w since im quite happy with Touch Control, or maybe im just lazy to try new things. ;)
[Nexus 4 Original Android Development] RASTAVIPER:
Didn't had any such problem for the last 2 days that I am using TC.

Stock 4.4.1 with semaphore 2.0.5 and TC 1.8.5.

Unleashed by my Nexus 4
[Nexus 4 Original Android Development] twowheeler:
And maybe lower the threshold to 75 or something. 95 might be far too high. Check with an app like perfmon (available via XDA)

Edit: is there a tunable for changing the threshold for turning off cores btw?

Beamed from my nexus⁴
[Nexus 4 Original Android Development] Kocai:
The only issue I have with Semaphore 2.0.5 is SAI 'pickup phone without touching the screen' feature. The screen doesn't go off as if the proximity sensor doesn't work. If I pickup the phone by slide to answer, the screen goes off.

A little bit stuttering in animation here and there but that's just nitpicking since it also happens with other kernel or stock.

My uptime:
[Nexus 4 Original Android Development] RASTAVIPER:
Unfortunately, after waiting for 1 full circle to run, at 10% left, 3.15 hours SOT is really disappointing with only Wi-Fi internet use.

No matter if 2 cores were on and the big UV, it couldn't reach the 4.5 hours that I get with other Kernels with all 4 cores on.

Don't know what went wrong, but it really surprises me.

Unleashed by my Nexus 4
[Nexus 4 Original Android Development] snak3ater:
Kernel parameters are there for a reason. It's up to your usage & the settings.. Let's talk about default settings.. I easily reach 4hrs sot with a total cycle time of 1day+ hours..& all this on wifi-internet usage mostly..semaphore is the smoothest of all kernels..a perfect balance of performance/battery life
[Nexus 4 Original Android Development] TheNerd:]:
The hot plug threshold, the default is 25, which means at under 25% load your phone will most likely use the minimum hot plug which is two cores at default. Any load higher than 25% will most likely hot plug all four cores until the workload is finished and drops under 25 %. Correct me if I'm wrong (probably am) [MENTION=3750240]stratosk[/MENTION]
[Nexus 4 Original Android Development] stratosk:
Up threshold in hotplug driver holds an average CPU load. If the average load is above this threshold (25 by default), hotplug driver puts online 1 more core. If load is below up threshold the hotplug driver puts offline 1 core.
[Nexus 4 Original Android Development] vampire36:
[MENTION=3750240]stratosk[/MENTION] : When do you plan to release next version...now that kernel version has .82...any real additions ?
[Nexus 4 Original Android Development] stratosk:
I never plan next version. :)

It depends on my free time, my motivation etc...

I know. I run 3.4.82. If you mean additions on Linux kernel, no.

New versions, on Linux kernel stable releases never include new features. Only bug fixes. For that reason are very important.
[Nexus 4 Original Android Development] vampire36:
Yup I meant fixes that are critical or are they more iterative :)
[Nexus 4 Original Android Development] theBeholderN4:
[MENTION=3750240]stratosk[/MENTION] I figured the Semaphore Manager app toggles between touch wake on/off during calls to achieve the behavior. Is it possible to make the kernel alone handle this behavior? If incase the phone status cannot be read by the kernel itself; is it possible to trigger the switch using some codes that is automatically triggered even when the Semaphore Manager is not active in the memory (some implementations like what notification apps use)?
[Nexus 4 Original Android Development] snak3ater:
What rom are you using?

Ask your dev to include 'Disable Touch by Proximity Sensor' in InCallUI ..This should solve all problems..
[Nexus 4 Original Android Development] theBeholderN4:
I'm currently on stock rom. Is there a way for me to include those 'Disable Touch by Proximity Sensor' in stock rom? By flashing a zip or even manually editing the required files.
[Nexus 4 Original Android Development] snak3ater:
Try decompiling the InCallUI.apk ...Make changes in the xml files according to the commit & then compile the apk...Done

This should do the job..I do not know any other way to do it in stock rom
[Nexus 4 Original Android Development] theBeholderN4:
Any suggestions for the tolls I should use to do that?
[Nexus 4 Original Android Development] snak3ater:
virtuous studio 10..

PS:Btw Is it just Semaphore manager or have you tried Trickster mod as well?

I would suggest that wait a little & see if there's some other easy solution to your problem..

Don't mess with the apk if your are not comfortable with it
[Nexus 4 Original Android Development] theBeholderN4:
Trickster mod seems to be incoherent with color tweaks in semaphore kernel. I have tried it but don't remember how it performed with touch wake.
[Nexus 4 Original Android Development] theBeholderN4:
[MENTION=4770534]snak3ater[/MENTION] I can't find InCallUI.apk to begin with. LOL
[Nexus 4 Original Android Development] snak3ater:
Lol..leave it :D

Stratosk also uses stock rom..

let's wait for an easy fix :)
[Nexus 4 Original Android Development] Arju:
[MENTION=3750240]stratosk[/MENTION] I've strayed around for a week or so and tried some other kernels and now I'm back on yours. I really love your kernel and when it comes to battery life i've received the most out of my phone from semaphore kernel. There is one feature I do miss in your semaphore kernel manager app. When you install trickster mod you can see in the first info page a cpu status which shows the status of the cpu usage on your phone. I kinda miss that and was wondering if it would be possible to implement something like that in your semaphore kernel manager? Other than that I'm really glad to be on Team Semaphore again. I'm excited to see what next you have in store for us mortals haha.

edit: p.s sorry for straying.
[Nexus 4 Original Android Development] snak3ater:
I'm also on a kernel tour now.. Will return back soon to semaphore :D
[Nexus 4 Original Android Development] Arju:
I feel your pain bro haha.
[Nexus 4 Original Android Development] bardriel:
Sorry for a newbie question. I am actually (since 2 months) with this kernel and it´s fantastic. I love it and I aprecciate the developer work.

here goes my question: is any way to disable mpd decision? It´s the only thing that I miss. Thanks for this great kernel [MENTION=3750240]stratosk[/MENTION].
[Nexus 4 Original Android Development] stratosk:
Honestly, I didn't review the patches but only bug fixes goes into stable releases.

For more info, please check change logs in kernel.org

I think it's impossible to handle this in the kernel. Semaphore Manager uses a service to handle this.

Under normal conditions, the service should always be up and running. Otherwise I need to debug this.

Thanks for your kind words my friend.

Don't be sorry. :) It's your phone :)

I will have your suggestion in my mind for the next Semaphore manager version. But no promises

Thanks!

mpdecision is disabled by default (actually, you can't enable it :) )
[Nexus 4 Original Android Development] theBeholderN4:
Maybe its something you changed in the current version. I normally didn't have this issue before.
[Nexus 4 Original Android Development] brajesh.sharma87:
Agreed to your point, semaphore is the best kernel I've used on my N4 as far as the performance and battery is concerned. The only problem I faced with the kernel is 'flickering' issue which I couldn't have stayed with hence moved on to different kernel. I really miss this kernel but since I didn't get the solution I moved on.
[Nexus 4 Original Android Development] pughie:
Sorry for the ot but just wanted to thank [MENTION=3750240]stratosk[/MENTION] for this fantastic kernel ive been fortunate enough to get a N5 today but my daughter runs the N4 now (stock and sema) please keep up the development and I hope to one day run one of your kernels again on the N6 ! Take care...
[Nexus 4 Original Android Development] fluffier:
First of all, thank you for this kernel, good job!

Now, these are my first cycle results. Wifi was on all the time but i was not hooked to any APs.
[Nexus 4 Original Android Development] fluffier:
Sorry. These are the results.
[Nexus 4 Original Android Development] bardriel:
Can I make an appoint? I saw on that screenshots that your mobile phone is always looking for wifi. That is aumatic enable by google in Android. There is a way to disable it. Go to settings/wifi/advanced settings/untick "Always scan for networks"(or something similar).

With this you can achieve better results in terms of battery life.

:)
[Nexus 4 Original Android Development] :
[MENTION=3750240]stratosk[/MENTION].. I have a question. Is the default "touch load" value of the stock kernel from Google equivalent to 100 in Semaphore? I played with different values today and I found 100 to be really responsive. If yes, then I'll keep it this way because battery is only a second priority to me. At least, I could still get the same battery life as Google's stock plus the smoothness of Semaphore.

Thanks in advance for your answers.

Sent from my Nexus 4
[Nexus 4 Original Android Development] snak3ater:
Why would you do that.. It'll kill the battery.. stock touch load value is perfectly balanced imo

Sent from someone else's Nexus 4
[Nexus 4 Original Android Development] :
Because I find 75 (Semaphore's stock touch load) as less responsive. It had some stutterings in Google Now Launcher.

Sent from my Nexus 4
[Nexus 4 Original Android Development] nemanja066:
Sometimes doesn't work DT2W, usually when the phone some time in deep sleep ( I can't say with certainty when it happens). Turn on the screen with power button, after that everything is fine. Not big deal, ofc. :)
[Nexus 4 Original Android Development] fluffier:
Hi, second cycle results with 2.0.5. Wifi was on but i was not hooked to any APs. Will try with wifi off and will report back.
[Nexus 4 Original Android Development] ernestnwanu:
This increased smoothness for me on 2.0.6. Perhaps the dev could look into this http://xdaforums.com/nexus-4/general/qualcomm-adreno-gpu-binaries-t2667759/post50760328
[Nexus 4 Original Android Development] manpildo:
Don't think it's kernel dependent.
[Nexus 4 Original Android Development] RASTAVIPER:
Semaphore didn't work for me.

Next day I returned at Franco Plus 203 and got an extra SOT hour without changing anything in settings and with similar Wi-fi use.

This means that I was enjoying the full experience of 4 cores (instead of 2 max cores running in semaphore, which I tried in order to get more juice)

and also getting more SOT in total.

Don't know what went wrong, but this kernel behave really badly. Also Hell core and Hell doctor were doing nice job.
[Nexus 4 Original Android Development] stratosk:
Stock kernel works in a different way.

Touch load 100 means that when you touch the screen, the CPU will go to its max freq.

You may also try touch load ~85 and increase touch load duration (1500-2000)

Of course, if battery is not your priority you may use touch load 100.
[Nexus 4 Original Android Development] :
I actually played with the values a lot. Increasing touch load to 100 didn't dramatically increase battery drain but I thought it's a little too much because it makes my phone a little bit hotter than normal. Now I settle with 85. Thanks
[Nexus 4 Original Android Development] hulicow:
[MENTION=3750240]stratosk[/MENTION] I hope that 3.4.82 kernel will be upstreamed to semaphore. :(
[Nexus 4 Original Android Development] stratosk:
Yes, don't worry. Already merged in my local build. It will be released soon or later... :)
[Nexus 4 Original Android Development] stratosk:
Soon on Google Play:

New version of Semaphore Manager 2.7.0

- I9000: Add max_br_threshold tunable to Auto brightness

- I9000: max_lux tunable up to 4000

- N4: Add LED triggers options

- N4: Add gamma control options

- N4: Add RGB color temperature options

- N4: Add logger option

- touchwake: delay up to 5min

- minor fixes
[Nexus 4 Original Android Development] stratosk:
I will check these mods when I'll have some free time, but I can't promise anything :)
[Nexus 4 Original Android Development] Tylog:
You are the best :)

Tapatalk
[Nexus 4 Original Android Development] kelah:
Just FYI about going from other kernel.

There is two ways to deliver kernel to your device:

flash boot.img (franco, semaphore, air, matrix, stock)

use anykernel (faux, trinity).

If you flash kernel using anykernel script you need to flash reset kernel or dirty re-flash rom.

But if kernel comes within boot.img you just flash it and it's all you need. No reset kernel, no dirty re-flash.

Unpack .zip with kernel and look if there "boot.img" then just flash it.

If .zip use anykernel method it contain folder "kernel" with bunch of files like "mkbootimg", "unpackbootimg" and etc.

Well, I directly flashed few days ago from franco to semaphore and everything works perfectly.
[Nexus 4 Original Android Development] Tylog:
The app update is now in the market, thank you for the update :)

Tapatalk
[Nexus 4 Original Android Development] stratosk:
You welcome. :)
[Nexus 4 Original Android Development] druggeduk:
Can I ask what the default gamma settings are from?

I used to love paranoid androids colours when I used that- are these from there?
[Nexus 4 Original Android Development] Anubiszx:
This is what it prints with that command:

u0_a151@android:/ $ ls -l /data/local/logger.ko
-rw-rw-r-- system system 11732 2013-05-09 17:54 logger.ko

Thanks for your help, and for the update of the app :)
[Nexus 4 Original Android Development] funcrusher:
Anyone else experience in-call audio cut out? Twice now I've been in a call and all of a sudden I can't hear the person, but they can still hear me.
[Nexus 4 Original Android Development] stratosk:
They are from stock kernel.

You need to change the permissions to 640 or 600. But the app will do the trick for you.
[Nexus 4 Original Android Development] apatal:
Hi [MENTION=3750240]stratosk[/MENTION], I don't know if it's a bug or just how AOSP-based custom ROM works, but when turning off screen using the Screen Off nav ring shortcut/target, touchwake activates although by design, touchwake is only supposed to activate during normal screen timeout and not when turning off the screen using the power button. This of course leads me to believe that the Screen off nav ring shortcut was implemented such that it just let the device reach screen timeout faster, unlike with the hardware power button press where you actually turn it off. Just wanted to confirm this with you and other more knowledgeable people here. Thanks!
[Nexus 4 Original Android Development] eep2378:
I'm experiencing the same thing when using nav ring screen off shortcut. I'm assuming nav ring screen off points to a different function than actually hitting power to turn off device.

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] reginickneo:
This kernel is still awesome. After 26 hours and 3,5 hours of screen I still have 31% left.

Sema 0.7.5

ROM: crDroid build 8

I only saw little red led, so heating is quite normal.
[Nexus 4 Original Android Development] michelD:
Tank you stratosk for all your fantastic work!!

Just 2 clarifications: what means exactly the touchwake delay and what does the logger option?

Thanks
[Nexus 4 Original Android Development] stratosk:
Only power button deactivates touchwake. I can't do anything for this.

Thanks.

Please note that when the red LED is on, it doesn't mean that you run in an abnormal temperature.

Stock thermal protection is used, so you are safe.

Anyone with wireless charger? I would like a small test, if possible.

Please run this command (with su)

echo wireless-online > /sys/class/leds/green/trigger

and then put the phone on charger. I would like to know if this trigger works in order to include it in app options.

Thanks in advance
[Nexus 4 Original Android Development] stratosk:
Touchwake delay determines how long the touchwake will be active when the screen goes off.

For example if you set it to 90000msec (90sec), the device will still be awake for this period (with screen off).

The logger enables/disables android logging functionality. (you need to reboot after change this option)
[Nexus 4 Original Android Development] kenshinta:
Hi there.

On a stock rom installed 0.75, then installed Semaphore Manager from Play store.

SuperSU granted root access at first launch, however, Semaphore manager states it has no root access. Subsequent runs still go like.

SuperSU confirms it is still granting root access from its app list.

How do I fix this?

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

I do have busybox - v1.19 in /system/xbin

edit:

I think I get what you meant - a proper INSTALLATION of busybox, not just busybox by itsel inside /xbin.

Did that now and the app is now working.
[Nexus 4 Original Android Development] Tylog:
Faux sound control would be a nice feature, we will see if it will become or not.

The latest kernel 0.7.5 works fine for me , the update from the app Give all features for gamma and led control, all in all this package is my daily driver without any problems.

Thank you for this great project Stratosk, I say it again, you do a great Job.

Tapatalk
[Nexus 4 Original Android Development] fluffier:
3rd cycle. No wifi. Semaphore 2.0.5
[Nexus 4 Original Android Development] kandarpck:
Happy Birthday [MENTION=3750240]stratosk[/MENTION]. Have a nice day :)
[Nexus 4 Original Android Development] svnhvn:
Happy birthday too [MENTION=3750240]stratosk[/MENTION]
[Nexus 4 Original Android Development] andr0id_xda:
Happy birthday [MENTION=3750240]stratosk[/MENTION] !! Wish you all the best :thumbup:
[Nexus 4 Original Android Development] Fenvarien:
All the best of luck to you, [MENTION=3750240]stratosk[/MENTION] Have a great birthday!

disce aut discede
[Nexus 4 Original Android Development] TheNerd:]:
Happy birthday [MENTION=3750240]stratosk[/MENTION] !
[Nexus 4 Original Android Development] kalpik:
Happy birthday, my friend! Have an awesome day, and and even more awesome year ahead :)
[Nexus 4 Original Android Development] vampire36:
[MENTION=3750240]stratosk[/MENTION] : Happy Birthday to a silent "Perfectionist" :)
[Nexus 4 Original Android Development] deeppans:
Happy birthday Stratosk!
[Nexus 4 Original Android Development] Rohit02:
[MENTION=3750240]stratosk[/MENTION] :
[Nexus 4 Original Android Development] mnajem:
Happy birthday [MENTION=3750240]stratosk[/MENTION]

May good days and good deeds coming to you :cowboy:
[Nexus 4 Original Android Development] Kocai:
Happy birthday [MENTION=3750240]stratosk[/MENTION]. Wish you all the best.
[Nexus 4 Original Android Development] twowheeler:
Happy birthday! Have a nice day, I hope you get buried in presents(as long as it isn't a nexus 5 :P )

Beamed from my nexus⁴
[Nexus 4 Original Android Development] alen1901:
Happy b-day stratosk. I wish you all the best, great health, money, many more kernel builds, many more new devices ;) and ofcourse, a happy life :)

Sent from Pure Nexus⁴
[Nexus 4 Original Android Development] snak3ater:
Happy birthday [MENTION=3750240]stratosk[/MENTION] :)
[Nexus 4 Original Android Development] Arju:
Happy Birthday my friend! I'm grateful for everything you've done for us and our devices throughout time. Hope you have a wonderful celebration and many many many more years to come.
[Nexus 4 Original Android Development] Dougfresh:
Happy happy birthday stratos!!!!

My friend, I hope you have a wonderful special day today. May all your wishes come true and hopefully someone bought ya a Nexus 5 (cross fingers) lol. Have fun brother!!!
[Nexus 4 Original Android Development] stratosk:
Thanks everybody for your awesome wishes! :)

I'm really really happy, to read your posts!

Thank you, my friends!