yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Fenvarien:
[MENTION=3750240]stratosk[/MENTION] After two additional reboots the vibration test is working again. The good old 'reboot medicine' worked it's magic again.

The new Semaphore Manager is just the right companion for Semaphore kernel now: beautiful, clean, efficient! :)

Thanks for all the time, effort and love you put into this project! I still remember those days with the Galaxy S and the first versions of Semaphore - what a great and innovative development since then. And all the time you've been the most polite, friendly and helpful person I've ever met online. Keep up the good work, my friend. :good: :)
[Nexus 4 Original Android Development] BLADESMAN1889:
Yes I also have SAI enabled - I like to use Touch Control [bponry]. I think that SAI enabled defo has something to do with it.

Anyway I'm going to flash the latest SlimKat build with Semaphore 2.0.5 - I already downloaded it but just haven't had time to flash atm.

Will report back findings.

[] Thanks for your feedback guys - @ least I know that it wasn't just me []

Sent from NEXUS⁴ via XDA Prem [SLIMKAT 4:4:2]​
[Nexus 4 Original Android Development] stratosk:
A small hint.

If you use Touch control, don't use double tap to wake or touchwake. Also uncheck, "disable touchwake during calls" option in SAI.
[Nexus 4 Original Android Development] snak3ater:
These two does not go well together... only 1 thing works at a time...

This was the first thing i tried afyer semaphore got dt2w.. Wanted to use sweep2sleep feature of touch control app & dt2w feature of semaphore... Only 1 feature was working at a time.. no problem.. I use double tap on statusbar to sleep & dt2w for waking up the phone.. :)
[Nexus 4 Original Android Development] Kocai:
stratosk, I don't use touch control, double tap to wake or touchwake. But if I enable SAI, specifically the pickup phone without touching the phone, I find that the screen doesn't immediately turn off when I pick up the phone to answer calls. That's why the calls were disconnected. Because my face pressed the end call. However if I answer it by touching the screen and slide to answer, the screen immediately turn off.

Sent from my Nexus 5
[Nexus 4 Original Android Development] rogers11:
Hello, when I swipe through the pages and reach the ksg page any additional swipe crashes Semaphore Manager. The same happens when I select the kmsg page from the left-sided menu und try to swipe from right to left. Sorry.

BTW: the Logger-module is disabled, why do I have a kmsg log? Or are these independent things?
[Nexus 4 Original Android Development] Holer Togni:
The new Semaphore Manager is working fine, thanks a lot! I love its lightness (just 390 KB!) and it's even more of a pleasure to use now with the new UI. I don't need any other app to set kernel stuff, it does everything I need.

So thanks again for updating it and your persistence in solving the dttw issues and surprising us with the new app version despite your lack of time!
[Nexus 4 Original Android Development] stratosk:
Hello, thanks for the report! Issue resolved.

Logger module enables the logcat (android framework logging) functionality. It's not related to kernel messages (kmsg).

Thanks for feedback.

Actually previous version of Semaphore was < 300KB. But new functionality costs. :)
[Nexus 4 Original Android Development] svnhvn:
[MENTION=3750240]stratosk[/MENTION]: any idea of what is this with the question mark? Latest semaphore with default settings.

Thanks.
[Nexus 4 Original Android Development] yak84:
Just press the question mark and you will get your answer.
[Nexus 4 Original Android Development] Blackcrx:
Any chance of this kernel lowering the min freq to 162 for additional battery savings?
[Nexus 4 Original Android Development] yak84:
I don't wanna speak in stratosk name but he generally against those kinds of things.
[Nexus 4 Original Android Development] Blackcrx:
Ya. I've noticed that he's very "stock" ish. If it didn't come from Google there was probably a reason. Like his fast charge policy. I was just curious.

I've used other kernels that have had 162mhz and it seems to run fine.

AK just released his new kernel with 81mhz!!
[Nexus 4 Original Android Development] yak84:
I've used kernels that support lower than stock frequencies in the past but to be honest I haven't saw any major improvements in battery life.
[Nexus 4 Original Android Development] snak3ater:
81mhz :eek:

It's confirmed to be working without any issues..amazing :o
[Nexus 4 Original Android Development] jimyiak:
Try that frequences and tell us if benefits are worth to jump too this..anyway i came back to this kernel after a tour/tests with some others and i think this should be STOCK kernel to our nexus!strato γουγλε haven't call you yet???

neXus⁴ running kitkat 4.4.2
[Nexus 4 Original Android Development] Blackcrx:
Funny you mentioned that. I'm on my kernel tour right now. Haha.
[Nexus 4 Original Android Development] twowheeler:
Remember to flash stock kernel between flashing different kernel ;).

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] themike10452:
yes I know that. The screen needs to be turned on with power button first.

Sent using my nexus⁴ running Purity 4.4.2 (Dalvik) powered by Hells-Core b43-kk Linux 3.4.76 kernel.

---------- Post added 6th February 2014 at 12:06 AM ---------- Previous post was 5th February 2014 at 11:55 PM ----------

alright place this script inside init.d folder and reboot

http://www.mediafire.com/view/?77adaw5r215d0yu

to set on/off times open the script with a text editor and change the values as u want, like this:

to set on time to 06:30 AM and off time to 01:00 AM (Always in 24h format) change the values accordingly:

ontime_h="06"

ontime_m="30"

offtime_h="01"

offtime_m"00"

* for example 11:00 PM is 23:00

You can also change the logfile path like you wish, all configurations are place on top of the script.

Thanks.

Sent using my nexus⁴ running Purity 4.4.2 (Dalvik) powered by Hells-Core b43-kk Linux 3.4.76 kernel.
[Nexus 4 Original Android Development] Blackcrx:
I've made it a habit to flash my ROM before each kernel change
[Nexus 4 Original Android Development] snak3ater:
Flashify makes job really easy..just give it commands and it'll do everything automatically... I always flash boot.img of my rom,kernel cleaning script and the new kernel...flashify does it all by itself.. great app
[Nexus 4 Original Android Development] psycho693:
Can you pm me your color numbers for halfbreed please?
[Nexus 4 Original Android Development] Midomad:
32 68 118 0 25 4 66 64 2

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] Arju:
I'll test it out during night to be able to give it a real world test. i renamed the script file by taking away the extention in the name of the file from .txt to just the file name. I can't see that you've included the command #!/system/bin/sh on the top of the script, am i supposed to do it or should I leave the script as it is?
[Nexus 4 Original Android Development] alekos-ep91:
hi,

is there any way to expand the double tap area?
[Nexus 4 Original Android Development] themike10452:
everything that starts with a '#' in Unix code is considered as a user comment, and is never executed, so it makes no sense to add it :)

edit: that's weird, the file doesn't have and extension :eek: :P

Sent using my nexus⁴ running Purity 4.4.2 (Dalvik) powered by Hells-Core b43-kk Linux 3.4.76 kernel.

---------- Post added at 01:59 PM ---------- Previous post was at 01:59 PM ----------

use touch control app

Sent using my nexus⁴ running Purity 4.4.2 (Dalvik) powered by Hells-Core b43-kk Linux 3.4.76 kernel.
[Nexus 4 Original Android Development] Arju:
Oh ok, thanks for the clarification. it did have the .txt extension when i downloaded it on my phone. It's not a big deal. I'll report back when I've tested it. Oh and before I go to sleep, Do I have to turn the screen off by pressing the power button or would it work if i turned it off by doubletap, like doubletap2sleep on notificationbar as some roms have?. And what I need to check is:

1. that the phone does not wake up on dt2w during set sleep time of the script,

2. that dt2w would work after set wake up time of the sscript.

Am i right?
[Nexus 4 Original Android Development] snak3ater:
Why you want to expand the area?

Expanding the area means more chances of phone waking up inaide pocket
[Nexus 4 Original Android Development] themike10452:
lock your phone however you want man. I want you to see if the script will keep running in the background (by checking the log file for activity) And I want you to check if the screen freezes in the morning when you wake it up. (The first wake should be done with the power button, because the touch screen won't be working, after that dt2w should work fine until it's turned off again at night)

Sent using my nexus⁴ running Purity 4.4.2 (Dalvik) powered by Hells-Core b43-kk Linux 3.4.76 kernel.
[Nexus 4 Original Android Development] Arju:
Sounds good! Will do.

---------- Post added at 02:42 PM ---------- Previous post was at 02:14 PM ----------

I tried to change the hours and minutes to closer present time just so I could see if it launches or not. It doesn't execute. I can still doubletap2wake when the time should have been executed.

I changed

ontime_h="14"

ontime_m="35"

offtime_h="14"

offtime_m"40"

But the script didn't terminate the dt2w.
[Nexus 4 Original Android Development] rogers11:
I got your script running via terminal, it wrote to the log. But it will not be executed from init.d after boot (permissions are set to 755).
[Nexus 4 Original Android Development] themike10452:
let's just forget about the script, i can't make it survive in the background. as an alternative i created two simple scripts to enable and disable dt2w, and set them both on scheduler with SManager and it worked good for me. Make sure you give the scripts su and wakelock permissions in SManager.

enabler script:

echo "1" > /sys/devices/virtual/input/lge_touch/dt_wake_enabled

disabler script:

echo "0" > /sys/devices/virtual/input/lge_touch/dt_wake_enabled

Sent using my nexus⁴ running Purity 4.4.2 (Dalvik) powered by Hells-Core b43-kk Linux 3.4.76 kernel.
[Nexus 4 Original Android Development] Holer Togni:
Not everything. '#!' at the beginning of the first line sets the interpreter for the script, in this case it's the shell (can also be perl, python, ruby etc).

If it's there and the file is executable it can be run directly like a binary file.

If it's not there and/or the file is not executable you have to pass the file as an argument to the interpreter to run it, like 'sh script.sh'.

So it makes a big difference. If you want to run it from init.d both the '#!' line and the executable bit is required.
[Nexus 4 Original Android Development] rogers11:
That works, also without wakelocks. Thanks.
[Nexus 4 Original Android Development] lndulgence:
All i want to say is Stratosk, you sir are awesome! No need to feel bad if someone cant appreciate your work. It is very evident how much time, knowledge and effort you have put in on this masterpiece of yours so sir, again, you are awesome. Thank you!

(And jsyk, i registered here in xda, was eager to have enough number of post, for me to say thank you and how awesome you and your work is) ;)
[Nexus 4 Original Android Development] stratosk:
Thanks so much for your kind words, my friend!
[Nexus 4 Original Android Development] RealSlimShadyMC:
He's right; you listen to everyone, acknowledge everything and always take time to respond to feedback.
[Nexus 4 Original Android Development] nemanja066:
What about updated version Semaphore Manager to Google Play ?! Thx:)
[Nexus 4 Original Android Development] psycho693:
Same for all the lines?
[Nexus 4 Original Android Development] Midomad:
Yes ;)

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] stratosk:
I'm still working to improve something in UI. I will push it as soon as I will get a good result. :)
[Nexus 4 Original Android Development] psycho693:
Thank you! Much appreciated!
[Nexus 4 Original Android Development] chossen:
can someone tell me some gamma profiles for red blue and green, pleaaase :)
[Nexus 4 Original Android Development] lndulgence:
http://xdaforums.com/showpost.php?p=41461508&postcount=920

Are you looking for this? Full credits goes to the owner/author.
[Nexus 4 Original Android Development] chossen:
wow thank you so much :D that was fast! but in the semaphore manager at red gamma it's 64 68 118 1 0 0 48 32 1 but in the excel are only 4 for red
[Nexus 4 Original Android Development] twowheeler:
Are you looking at the correct page? It's divided in Franco and semaphore values

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] chossen:
ok i got it, i don't see any names, so ill make them by number :) thank you
[Nexus 4 Original Android Development] Mercado_Negro:
Hi [MENTION=3750240]stratosk[/MENTION]

Just noticed a problem with the latest version of Semaphore Manager (3.3.0). The app crashes when swiping from right to left when the user is seeing the ksmg window.

Logcat http://pastebin.com/hq5NLC4q
[Nexus 4 Original Android Development] hulicow:
Off topic but might be important: Linux Kernel 3.4.79 :D
[Nexus 4 Original Android Development] dmourao:
125h uptime on v205 with dt2w all the time and not a single problem.

Amazing work! :thumbup:
[Nexus 4 Original Android Development] pyr0sphere:
37 minutes screen on time in almost 4 days of usage??
[Nexus 4 Original Android Development] dmourao:
I guess the app just doesn't get it right... Check the awake time, that would be around the total OST in those days.
[Nexus 4 Original Android Development] themike10452:
Awake does not mean that the screen is on. the app says it's 37M of SOT since boot, dk if you have rebooted your phone during the test you made.

I don't think you have turned on the screen longer than 37M, you've been up for almost 5 days with 54% juice left.

Sent using my nexus⁴ running Purity 4.4.2 (Dalvik) + T.A.R.D.I.S powered by HellsDoctor R17 Linux 3.4.79 kernel.
[Nexus 4 Original Android Development] carepack:
wonderful kernel. THX for this!

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] haget83:
i was taking a picture and flash strarts strobo and display get black with some green/purple line on top.

This what i get:

I'm on slimkat RC2, i switcged today to sempahore after the 2 habitual wipes
[Nexus 4 Original Android Development] dmourao:
Nah... You guys got it wrong. This is total uptime, meaning total time since last reboot, not the battery circle. Six days and counting, just to show how stable and trustable for daily usage this kernel is! :good: :victory:
[Nexus 4 Original Android Development] stratosk:
New Semaphore Manager version 4.0.0 (available soon on Google Play)

- Reworked UI (added Navigation drawer)

- Many improvements in code

- bug fixes

- Added multilingual support (Greek language added)

If you want to contribute translating the app, please translate the strings in this resource file and send it to me:

https://github.com/stratosk/semaphore_manager/blob/v4.0.0/sm/src/main/res/values/strings.xml
[Nexus 4 Original Android Development] readon1:
Really nice update for my favorite kernel. No matter which kernel I try, I always come back to semaphore. The performance of it is the best on the n4, consistently smooth all over the UI. Plus nice battery life. Hand down for [MENTION=3750240]stratosk[/MENTION] and his brilliant kernel semaphore!

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] Arju:
Thank you as always! You're really skilled in app development. Love v4.0.0. Still running your latest kernel with no problems.
[Nexus 4 Original Android Development] themike10452:
I can add Arabic and French languages. Will translate ASAP. Good night everyone!

Sent using my nexus⁴ running Purity 4.4.2 (Dalvik) + T.A.R.D.I.S powered by HellsDoctor R17 Linux 3.4.79 kernel.
[Nexus 4 Original Android Development] spirosbond:
Really great work. About the translations I would like to suggest crowdin. I use it for my apps too and it is free for open source projects. It is really great.

Keep up the great work.

Cheers

Sent from my spaceship...
[Nexus 4 Original Android Development] svnhvn:
I'd like to participate but i don't know how's to work with xml.
[Nexus 4 Original Android Development] Arju:
Just copy what you see on the link to a text document and then translate whatever you see in English to your own language and then just post the text document here.
[Nexus 4 Original Android Development] miksontije:
i downloaded it from play. work perfect. no lags,no frame drops. smooth and fast.

tnx stratosk
[Nexus 4 Original Android Development] stratosk:
Thanks for your suggestion!

I just applied for a free account.

Thanks for your interest. It's really easy.

As Arju007 mentioned just download the xml file:

https://github.com/stratosk/semaphore_manager/blob/v4.0.0/sm/src/main/res/values/strings.xml

Using a text editor just translate all xml tag bodies. For example in the following string:

<string name="str_cv_apply_boot_title">Apply on Boot</string>

you need to translate the "Apply on Boot" message.

I don't like translations of words that have almost no meaning in other languages.

For example, translating the word "Governors" in Greek is pretty silly. I don't think that someone will understand it. (I left it "Governors" in greek too).

Also, "io_is_busy" tunable name. I don't think that we should translate it.

Generally, I think that this kind of apps should keep the special English terms in English.
[Nexus 4 Original Android Development] stratosk:
Thanks for reporting.

I would need the last_kmsg to find something after your reboot.

Anyway, It sounds like the known stock issue. I'm not sure I can do something.
[Nexus 4 Original Android Development] Arju:
[MENTION=3750240]stratosk[/MENTION], thank you buddy. I'll take some time later on and translate it into Swedish and Norwegian. :)
[Nexus 4 Original Android Development] Italico:
Super update for the app, Stratosk. I hope I'll find soon time to translate to Italian language.

Thank You! Have a nice sunday everyone

Inviato dall'Ombelico del Mondo
[Nexus 4 Original Android Development] BlueFlame4:
Hey stratosk,

the latest update of Semaphore Manager (4.0.0) is great so far, but what I don't like is the horizontal swipes that open the next category. I have tested the app and it happened quite frequently that I accidently swiped to the next tab when I just wanted to scroll down. Please fix or disable this :)

I also got another question regarding the kernel itself: If I set the min and max # of cores online to 2, will there still be (useless) hotplug calculation in background?

BTW: Are you interested in a German translation?

Best regards!

Blue aka visi0nary
[Nexus 4 Original Android Development] andr0id_xda:
Maybe if you slow down the swipe effect or make a bigger scrren portion swipe gesture .you know what i mean [MENTION=3750240]stratosk[/MENTION]?
[Nexus 4 Original Android Development] twowheeler:
I recommend using notepad++ to edit XML files.

I could do the dutch translation for you, wont look for a translation for things like the word "touchwake" though. This makes it easier to report problems, and there isn't a good dutch word for it :P

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] alen1901:
I could translate it to Croatian, but, my language doesnt have all words like in english, so it would be needed to left it on english or translate it and let them look goofy and like 4 year old baby came up with it. :D

Sent from Pure Nexus⁴
[Nexus 4 Original Android Development] vr5411:
You could do it like Strato recommends. Leave governor word as is or use CPU upravitelj. Either is OK.
[Nexus 4 Original Android Development] zorginho:
hi [MENTION=3750240]stratosk[/MENTION] seems that [MENTION=4128576]bedalus[/MENTION] fixed the camera reboot issue: https://github.com/bedalus/nexus4/commit/d82dfb6f4908bbb2e7890f5e997d5cd23cc73013

hope that it's helpful for you :)

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] sgw99:
anyone doing german version already? quite some list of strings ... I will fork your file and see how far I get.
[Nexus 4 Original Android Development] :
I couldn't have done anything about it without the help of [MENTION=5188611]michelemascia7[/MENTION] who kindly brought the issue to my attention, provided a last_kmsg, and pretty much provided the solution: http://xdaforums.com/nexus-4/general/kernel-moob-t2549750/post50149231#post50149231

...all I did was see a null pointer dereference in the last_kmsg, and look through @ak's github where the solution was obvious because the commit message was 'add NULL pointer check': https://github.com/anarkia1976/AK-xGenesis/commit/4feaaa3c746217da1f32b850aaa763c57158f6b3

So I can hardly take credit for that! The issue was actually solved 8 months ago by someone called Ajay Dudani from CAF! :D
[Nexus 4 Original Android Development] stratosk:
I will try to make the swipe more accurate.

Yes, there will be always hotplug calculation as far as dynamic hotplug is enabled.

Yes, I'm interested in German translation. Thanks!

Yes, I know. :)

I will try to make it better.

I agree about the words. :)

Thanks! I will include the patch in next version.

About translations.

French translation added. Credits to pillow64!

I will update my github as soon as there will be a new translation.

Each translated strings.xml file is located under a directory values-xx in this tree:

https://github.com/stratosk/semaphore_manager/tree/v4.0.0/sm/src/main/res

Where xx is the language code. So, everybody can review translations and contribute.
[Nexus 4 Original Android Development] BlueFlame4:
Okay nice, so I'll do it tonight then :)

Back to my second question: Wouldn't it speed up the phone a bit if hotplug calculation is disabled when MinCores==MaxCores? Less wasted CPU cycles <-> more speed? Or will an extra if-condition waste more CPU than useless hotplugging?

Best,

Blue aka visi0nary
[Nexus 4 Original Android Development] alen1901:
i translated to croatian, its 85% translated, some stuff really cant be translated and for some i dont know how to translate to sound correctly, goofy language. i copied text from github and edited in notepad. hope this works. :)

if there is some other croatian user, i would be glad if he could look into my translations and add the ones that are missing (if possible).
[Nexus 4 Original Android Development] jimyiak:
Wow!!!!

neXus⁴ running kitkat 4.4.2
[Nexus 4 Original Android Development] svnhvn:
Ok, will do Indonesian for you.
[Nexus 4 Original Android Development] artifex21:
I can translate it to Serbian ...
[Nexus 4 Original Android Development] stratosk:
Actually, there are less calculations in a similar condition.

But, in any case the hotplug check code is executed every half second.

I would say that this is almost "eternity" in kernel level for this tiny code (the code is extremely simple). :)
[Nexus 4 Original Android Development] stratosk:
Thank you very much!

I will add the translation tonight.

(don't worry about mistakes. Anyway, I will make some post-processing :) )
[Nexus 4 Original Android Development] CerB:
I am sorry for been cheating on you :silly:

But damn it feels good to be home again, been trying a lot of kernels lately, but nothing comes close to yours. So thank you very much.

Just for info, its kinda funny, always been undervolting just because i could, but it seams to be even better battery life wise when i dont.

Little thanks from me.

5BF11718NB112905M
[Nexus 4 Original Android Development] snak3ater:
So you were on kernel tour lol...

Back to semaphore.. Nice :)
[Nexus 4 Original Android Development] theBeholderN4:
Feature request : kexec-hardboot patch

[MENTION=3750240]stratosk[/MENTION] Semaphore N4 2.0.5 on my phone works great. Can I request a feature? I really want to try out Ubuntu Touch with multiROM. So it would be awesome if you could add kexec-hardboot patch. I don't want to use other kernel beside yours.