yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] a g bell:
What's better/faster 4 cores at 384MHZ?or one at 1026MHZ?:confused:
[Nexus 4 Original Android Development] immunityx:
Great kernel, thanks for all your hard work and dedication. :good:
[Nexus 4 Original Android Development] z3r0_x:
I haven't tried Trickster so far, I'm using this: https://play.google.com/store/apps/details?id=com.teamkang.fauxsound&hl=de

Setting the Headset Gain to -7 has improved my listening experience a lot! (I've been really disappointed with the N4's sound till then - like the screen, the hardware is okay, but the calibration is off!)
[Nexus 4 Original Android Development] Remoteconcern:
I'm not sure. I know that energy efficiency changes though. Running a single core at frequency f needs more energy than running n cores at frequency f/n. I.e at 384 with 4 cores is more energy efficient than one core at 1026, but I am not sure about speed.
[Nexus 4 Original Android Development] stratosk:
As I said in the past, I will check it. :)

It depends to the processes running on the system and want CPU time.

If 1 process needs CPU time, it's better one at 1026 (or higher). Having 4 cores online will not help in this case.

You need more than 1 processes to demand a lot of CPU time to have a benefit in multi core CPU.
[Nexus 4 Original Android Development] a g bell:
What would be an example of 1 process using a lot of CPU time:confused:
[Nexus 4 Original Android Development] bleuwave:
Could be any application that's doing processing; for e.g. Browser

Sent from my Nexus 4
[Nexus 4 Original Android Development] Slymobi:
This I already know. Not really my question but thanks. For the record I'm on holiday and need to preserve battery. Min/max constant 702 but butter keeps interfering so I wanted to know the affects of removing mpdecision.I know what's recommended and its only a temp measure.adding another app to do what I could possibly do manually is not practical for me. Again thanks.

Thanks Stratosk for your Answer and that's what I wanted to know :thumbup:

Now just my opinion but I find it really annoying and very disrespectful of people coming into this thread and banging on about other kernels. This kernel has this,that kernel has that,stratosk add this or that........

Come on guys if you don't like it how it is or respect stratosks decisions then just go and use the other kernels your wanting to try and turn semaphore into. The whole reason I use semaphore is because it runs and manages my ROM of choice perfect without all this and that which comes in other kernels,it has the most patient and friendly developer who doesn't bite your head off for asking anything. This is how all threads and developments should be managed and its why stratos should be given the respect he has rightfully earnt.

Just imagine going into a Ferrari garage and going on about how Porsche has this or that !! You would be thrown out on your ears lol. Vice versa I expect too but you get the point.

Little common sense and Respect peeps.

This is not directed at any individual or maliciously centred, just my observation lately.

Regards.
[Nexus 4 Original Android Development] a g bell:
Don't you mean Ferrari garage asking about fso:)
[Nexus 4 Original Android Development] bleuwave:
+1

As a noob, I personally use this kernel mainly because of the dev's super cool manner. Might not be the best reason for others but whatever. :thumbup:

Also, this kernel for some reason allows me to undervolt my device lower, so that's another plus.

Sent from my Nexus 4
[Nexus 4 Original Android Development] kaiur:
Absolutly. Great kernel better person.

The only thing I miss is an easier way to manage color profiles.
[Nexus 4 Original Android Development] DesmoDavid:
If you need I can post here the color setting I use from fk updater with right number for semaphore manager. ;)
[Nexus 4 Original Android Development] bleuwave:
Someone posted the setting for pa colors some pages back but I don't like them as they appear washed out. Yeah, if you can please post that'd be very helpful.

Sent from my Nexus 4
[Nexus 4 Original Android Development] DesmoDavid:
I use these settings. Color are vivid and realistic, black is black and white burn my eyes, I swear. Infact I use the the lowest brightness I can :D .

If you like, push the "thanks" button ;)
[Nexus 4 Original Android Development] jelle2503:
Yes stratosk, pls add color profiles in the app. Someone posted a xls file with a whole lot presets.

Verstuurd van mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] lsv-1:
+1
[Nexus 4 Original Android Development] stratosk:
(Copy - paste my previous post :) )

As I said in the past, I will check it.
[Nexus 4 Original Android Development] reginickneo:
What is this sound mod exactly does? I'm curious but i know that it's basicly impossible to produce noticable higher quality sound (btw the audio signal is over average! In my opinion it is great, obviously not comparable to SGS, SNS or a cheap but good mp3 player like Sansa Clip+/Zip, but acceptable).

So is this mod raise the volume?
[Nexus 4 Original Android Development] lsv-1:
Thank you for considering it! There's a lot of people here that really want those improvements. :cool:

Great work with the kernel btw, runs amazingly good!!!

---------- Post added at 04:49 PM ---------- Previous post was at 04:23 PM ----------

Take a look to the code itself and you will the mods of the patch :good:

https://github.com/faux123/mako/commit/911a80eb10df7b1f0c120ae29137e1b682f8ab7e
[Nexus 4 Original Android Development] PRGUY85:
Here are my stats for today, attached to this post. I checked and have mpdecision On.
[Nexus 4 Original Android Development] PRGUY85:
BTW, I leave Wi-Fi on all the time for better location.
[Nexus 4 Original Android Development] reginickneo:
MIUI ROM realeased for N4!

Will Semaphore work with it?
[Nexus 4 Original Android Development] a g bell:
Did you try it?
[Nexus 4 Original Android Development] reginickneo:
Just asking, i tried to flash it without wipes but it craches (with its own kernel). Now i dont have time to install all my apps or so. I reverted to CM.
[Nexus 4 Original Android Development] sirxdroid:
Use Helium backup from the market. It will get you 95% there to restore your apps.
[Nexus 4 Original Android Development] RyDeRgr:
Hi,

I'm trying the undevolting. Can you please explain what the 'boost voltages' option is? When it's working? How it's working?

Trying now -125mV on high/low with boost disabled. Do we have any stable voltages?
[Nexus 4 Original Android Development] aaron.bufc:
Faster binned chips will allow more severe undervolting. Give it a try and see if you get any reboots. Just make sure you don't set it to start on boot. Otherwise you'll have to be very quick to navigate to the app!
[Nexus 4 Original Android Development] kfheaven:
my device already root,why when i open the semaphone manager it still come out this message......:(
[Nexus 4 Original Android Development] Stef@67:
Is busybox installed ? If not, install it... ;)
[Nexus 4 Original Android Development] eep2378:
Do you have busybox installed? If not install it.

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] 1ceb0x:
Just rooted my new N4 and installed this kernel on stock rom. Want to say a sincere "thank you dev" for this kernel!

EDIT: I too have the problem with semaphore app although my stock rom has su and busybox perfectly installed...(checked permissions also. all seems good - and other apps such as es file explorer are getting su permissions).
[Nexus 4 Original Android Development] stratosk:
Please run the following commands in terminal emulator and check for possible errors:

su
busybox
uname -a
[Nexus 4 Original Android Development] Slymobi:
I'm on stock at the mo. Busy box and su installed and no problems running semaphore. All good here :)
[Nexus 4 Original Android Development] 1ceb0x:
did you flashed supersu? my busybox is telling me that i have version 1.20-cm9 from 2012.. idk why. i flashed latest supersu from its main website and busybox is still showing that.

when running busybox uname -a it will output the details of currently installed kernel - semaphore.
[Nexus 4 Original Android Development] Ümit:
I have 1.2.0 installed. It is very smooth en great kernel!

2 questions:

I use this (screenshot) settings for LCD:

1 -) I want blacker screen (such as franco's colors). What should I do?

2 -) How to put min frequency on 384mh with the Semaphore app?
[Nexus 4 Original Android Development] eep2378:
You can't change cpu freq with semaphore app yet.

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] Slymobi:
I flashed the files I got from wugfresh tool kit. I will give drop box links for the 3 files.

Busybox

http://db.tt/v6jTJuPe

Permrecovery( just quick boot menu app)

http://db.tt/Ygjn0sC0

Su

http://db.tt/Nc7o22P8

I just flashed all 3 opened su and granted permission.

Open busy box then installed sy links etc

That's it.

Flashed semaphore kernel and app.

Bobs your uncle !!! ;)
[Nexus 4 Original Android Development] stratosk:
Min frequency IS 384MHz
[Nexus 4 Original Android Development] da900:
Just flashed latest version. So far, so good. Runs smooth. I was a little shocked with termal LED notification at first start. :silly: And just disabled it with TricksterMOD. Thanx a lot for great kernel.
[Nexus 4 Original Android Development] vandizzam:
No matter what I do or which app I use I can't make my choice for max frequency stick. It always reverts to the max. Is this the way the kernel is designed?
[Nexus 4 Original Android Development] :
The kernel uses Qualcomm's mp decision, you'd have to disable that first, trickster has an option for it
[Nexus 4 Original Android Development] apatal:
I don't think you can disable it unless the kernel allows it. Better ask [MENTION=3750240]stratosk[/MENTION] to check if indeed it is possible to turn off mpdecision.
[Nexus 4 Original Android Development] thracemerin:
You can always disable mpdecision, if there is no other hotplugging solution available all 4 cores will just always be online when the phone is awake (at min freq unless there is load), whether that's a good idea or not is ultimately up to you.
[Nexus 4 Original Android Development] :
[MENTION=3750240]stratosk[/MENTION] are there sound patches in this ROM

#!/system/bin/sh

#Sound_control
echo 42 > /sys/kernel/sound_control/gpl_cam_mic_gain
echo 43 43 > /sys/kernel/sound_control/gpl_headphone_gain
echo 42 > /sys/kernel/sound_control/gpl_mic_gain
echo 44 > /sys/kernel/sound_control/gpl_speaker_gain

I used this init.d script and it seemed to give me louder sound, either its placebo or my earphones are really good?
[Nexus 4 Original Android Development] stratosk:
I'm sorry, no sound fixes in this kernel (yet?)
[Nexus 4 Original Android Development] :
Wasn't complaining just realized my earphones (relatively new) were really loud, seems they are top notch, thanks
[Nexus 4 Original Android Development] pitjago74:
Stratosk will you kernel work with miui??

Or only on Slim or stock??:D

Enviado desde mi Nexus 4
[Nexus 4 Original Android Development] stratosk:
I don't know if it works. Somebody has to try it. :)
[Nexus 4 Original Android Development] pikachukaki:
Strato witha what other than official manager i can use your kernel?faux or trickster?
[Nexus 4 Original Android Development] stratosk:
I think none of them will give you full control over Semaphore Manager.

Why do you want to use Semaphore with different manager app?
[Nexus 4 Original Android Development] da900:
I can't set min freq to 384. Everytime it returns to 1026000. I have used all known Kernel control apps, including build-in cm10.1 tool and Performance control from AOKP.
[Nexus 4 Original Android Development] stratosk:
Semaphore does not drop mpdecision.

Mpdecision change the policy (min freq to 1026). So, this is normal.

By default if you don't touch the screen, the min freq will go to 384. No need to set it explicitly.
[Nexus 4 Original Android Development] da900:
Thanx a lot.
[Nexus 4 Original Android Development] pikachukaki:
You UV is kinda "mperdeway" low volts high volts..and i can't find a way to add color codes to your app!!and save them!
[Nexus 4 Original Android Development] stratosk:
I don't think that UV is confusing.

You only have to tweak 4 values. The stock one: boost_uV, and 3 custom value. 2 for lower and higher frequencies and 1 for the threshold frequency. Please find more on this in second post.

No plans at the moment to enrich functionality about the colors.

I don't develop a commercial app. It's a free app to support the additional functionality of the kernel. I try to focus on kernel development.

You can tweak the colors and save them (all values are saved automatically) in Semaphore Manager. I think it's enough.

Maybe in the future, if I have so much free time and nothing else to do, I could add some fancy stuff. :)
[Nexus 4 Original Android Development] pikachukaki:
What color profile system you use??im sure its not francos cause you have alot more values..or its custom by you?

About the UV i always used franco and know that at -100mA im ok...and i found the same with your volts so its ok!!
[Nexus 4 Original Android Development] stratosk:
I simply expose the stock gamma tables to sysfs interface without ommit any value.

I think it has 2 more values that franco kernel omits (maybe they are not so significant).

Somebody posted in this thread an excel that could help to find the respective values.
[Nexus 4 Original Android Development] :
Its this spreadsheet and I can tell you now its impossible for me to figure out how to translate those values coming from Franco kernel, I always use 44.bundi22 colors on fKu app, do you know have an idea stratosk :confused:
[Nexus 4 Original Android Development] funcrusher:
NO.

I believe he's referring to this spreadsheet that was posted in this thread.

Not sure if there's been anything newer than that posted.
[Nexus 4 Original Android Development] Kagath:
Please Stratosk can you tell what is your actually setting for the undervolting option ?
[Nexus 4 Original Android Development] stratosk:
I have 'Boost Voltages' disabled (= -25mV)

I use Lower uV 87500 (= -87.5mV)

and higher uV 75000 (= -75mV)

Higher freq thresholde = 1350000

This means that I use -112.5mV for frequencies 384MHz - 1.242GHz and -100mV from higher frequencies. I have a fast bin chip.

Of course every chip is different and those settings may not match in your case.
[Nexus 4 Original Android Development] sirxdroid:
Here's how you convert:

http://xdaforums.com/showthread.php?p=40860513#post40860513

Put the values in this order:

greys, mids, black, XX, contrast, brightness, saturation, white, XX

For bundi profiles which happen to be my favorite too:

# row 43 bundi22 (S3): 0 87 119 0 6 0 1 0 2
# row 44 bundi22 (iPhone 5): 0 39 119 0 6 0 2 0 2

And here's a little script I put together, it's easier for me to run the script than enter a bunch of numbers in the application:

#!/system/bin/sh

#
# -p : only print current colors, don't set anything
#

print_colors()
{
echo -n "RGB: "; cat /sys/devices/platform/kcal_ctrl.0/kcal
echo -n "R: "; cat /sys/devices/virtual/misc/gamma_control/gamma_r
echo -n "G: "; cat /sys/devices/virtual/misc/gamma_control/gamma_g
echo -n "B: "; cat /sys/devices/virtual/misc/gamma_control/gamma_b
}

if [ "$1" == "-p" ]; then
print_colors
else
# RGB
echo "255 255 255" > /sys/devices/platform/kcal_ctrl.0/kcal
echo 1 > /sys/devices/platform/kcal_ctrl.0/kcal_ctrl

# Greys, Mids, Blacks, 0, Contrast, Brightness, Saturation, Whites, 2
# row 43 bundi22 (S3): 0 87 119 0 6 0 1 0 2
# row 44 bundi22 (iPhone 5): 0 39 119 0 6 0 2 0 2
echo "0 87 119 0 6 0 1 0 2" > /sys/devices/virtual/misc/gamma_control/gamma_r
echo "0 87 119 0 6 0 1 0 2" > /sys/devices/virtual/misc/gamma_control/gamma_g
echo "0 87 119 0 6 0 1 0 2" > /sys/devices/virtual/misc/gamma_control/gamma_b

# Print them to make sure they stick
print_colors

echo
echo "Turn the screen on/off to apply the color profile!!"
echo
fi
[Nexus 4 Original Android Development] matesc:
Hey Stratos! Is the max freq of the cpu set by default on 1296Mhz on Semaphore? Every time I reboot this happens. Thank you in advance!

Edit: nevermind, the high freq is now on 1512Mhz again. BTW I don't use any other apps to set the min and max freq on boot. Everything is stock, except UV and colors. :D
[Nexus 4 Original Android Development] stratosk:
No, I don't cap max frequency.

Most probably mpdecision or thermald decided about this. :)
[Nexus 4 Original Android Development] Anrikus:
Hi,

I updated the converted values from Franco to Semaphore (in total 4 new profile were added)

You can find the excel sheet here (I just replaced the old one, so there is no new link)

This sheet has 2 tabs (Semaphore and Franco)

If you want you can add a Franco profile in the Franco tabcard and it will be converted in the Semaphore tabcard.

I color-coded the rows in both tabs, so you will get an idea how the whole thing works (It's really just a new order)

Thanks [MENTION=4966885]sirxdroid[/MENTION] for pointing out the conversion and the script.

Greetings

Anrikus
[Nexus 4 Original Android Development] alkhafaf:
Hello Stratosk

Congrats about the Nexus 4.

I was using your awesome kernels in SGS i9000, and upgraded since a while to Nexus 4.

I really want to try your kernel for N4. Does it support Hotplug like Franco's ? and can I flash it over Franco's one without problem ?

thanks alot.
[Nexus 4 Original Android Development] lsv-1:
Hello everybody, something weird just happened, [MENTION=408485]work[/MENTION] I usually put my phone in vibration mode (intensity on semaphone app configured at %100) Received a call and the vibration intensity was very low, barely perceptible (only the first vibration was fine) can someone try to reproduce it for me please?

Thank you!

Note: SMSs vibration is fine.

:eek:
[Nexus 4 Original Android Development] JmPTaz09:
If you read it, you will know. Lucky this thread is a kind one as you'd be massively flamed in some. Always dirty flash your rom when coming from Franco to avoid any problems (not sure if this is still required but I'd recommend it). Also, semaphore uses Qualcomm's mpdecision, not Franco's hotplug solution.
[Nexus 4 Original Android Development] Svid:
I don't know if it's kernel issue but when i put the phone in charge and i have alarm it froze (The phone)

Someone had that?
[Nexus 4 Original Android Development] apatal:
Have you been undervolting? You might be overdoing it, at least for your device..
[Nexus 4 Original Android Development] Svid:
[MENTION=4518806]apatal[/MENTION] No just flashed the kernel and changed led colors in the configuration app.

Anyway rebooted the phone and tried to reproduce the issue, so far so good (no issue)
[Nexus 4 Original Android Development] 1ceb0x:
Hello all, quick and noob question as this phone has so many options than my last one (i can't believe how many things you can do only on the kernel side) - can we disable that mpdecision in this kernel? I understand that this thing is managing cpu freqs and how all the 4cpu's interacts with the phone/interface.

Is it a good decision to turn it off or its best to leave it on?

If someone has a link where all these new things are explained better (the display colors too as I'm not to sure what is this all about - i read sometime last month that you can tweak the colors on a N4) it will be awesome as I will not ask these stupid questions here.

Sorry stratosk for bashing your thread!
[Nexus 4 Original Android Development] BlueFlame4:
Hi,

Mpdecision is just a hotplug driver by Qualcomm. Hotplugging means switching cores on and off on demand. If you disable it, all cores will always be online all the time (mostly at 384 MHz but they will be only anyways ;))

I would recommend to leave it on as it just wastes energy when your phone is idling with all cores online.

Some devs replaced mpdecision with their self written hotplug driver but Semaphore doesn't have an own hotplug driver (yet?).

Mpdecision will also mess with your frequencies (this is why Trickster Mod keeps showing you 1 GHz min frequency even if your CPU clocks down to 384 MHz).

Sent from my Gameboy Color
[Nexus 4 Original Android Development] stratosk:
Please check your options in SAI service tab in Semaphore Manager.

You may select different levels for vibration depending on proximity sensor (far, near)
[Nexus 4 Original Android Development] Mercado_Negro:
Just did what I should've done a month or so ago ;) thanks for your contribution to this community :thumbup:
[Nexus 4 Original Android Development] QUIETLYloud:
had a reboot...

http://db.tt/JzvyIDgZ

the log
[Nexus 4 Original Android Development] garrmack:
awesome! I ran semaphore on my vibrant. Paired nicely with PA!
[Nexus 4 Original Android Development] mpttrung:
Me too. Back to stock kernel @@
[Nexus 4 Original Android Development] PRGUY85:
Have been testing it today. It's running a bit laggy specially when turning screen on. Most are posting the opposite. Yet km having stellar battery life.
[Nexus 4 Original Android Development] eep2378:
I'm getting absolutely no lag whatsoever with this kernel, 0.2:D

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] FaithCry:
Very smooth. Good stuff. Thanks :)
[Nexus 4 Original Android Development] odeccacccp:
U right, sorry don't know what I was talking about.
[Nexus 4 Original Android Development] ctfrommn:
Waiting for gamma support and Im all over this too.
[Nexus 4 Original Android Development] ergalle2:
Same here, waiting for gamma/color control and Wifi fix (new drivers).

It is really smooth.
[Nexus 4 Original Android Development] reginickneo:
Great to see how many SGS users are here (me indeed).

Has anyone tried it on CM10.1?
[Nexus 4 Original Android Development] android88:
Yes, many people have. It doesn't work on CM10.1-based ROMs.
[Nexus 4 Original Android Development] drewtang:
No kernel control app, AOKP pub build, liking this kernel so far. Good work. View attachment 1887472

View attachment 1887473
[Nexus 4 Original Android Development] sryche:
yes, when turning screen on a few seconds laggy then insane smooth :good: using xylon 2.5
[Nexus 4 Original Android Development] reginickneo:
That's a shame :(

Will it be compatible with CM in the future?
[Nexus 4 Original Android Development] davwman:
This kernel is insane with latest rasbean. Words can't describe it.
[Nexus 4 Original Android Development] a g bell:
Awesome:) is usually the word to describe semaphore:D
[Nexus 4 Original Android Development] eep2378:
Init.d support would be great. Gamma scripts could be used until the strat updates his app :D

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] stratosk:
init.d support scheduled for next version.
[Nexus 4 Original Android Development] ctfrommn:
You cant change gamma unless it the values are exposed. Any kernel/rom can have init.d support, there are apps for that.
[Nexus 4 Original Android Development] eep2378:
I'm aware. Maybe strat can do something similar to harsh, where we can just run a script and get rid of that horrible calibration(colors/gamma) that is the stock kernel. Perhaps he can "expose" them for us:D

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] stratosk:
Thanks so much my friend! I really appeciate this! :)
[Nexus 4 Original Android Development] Mercado_Negro:
Thank you for devoting many hours of your precious time on this kernel and Semaphore Manager :)

By the way, is there a way to completely disable the red/blue/green LEDs besides your app? I use AOKP's LED features and, on boot, the LED is always red until Semaphore Manager comes into play. Now, if my charger is plugged in on boot, AOKP's doesn't show the LED to tell me the current battery state after Semaphore Manager has stopped the red LED. I'd like to completely disable those kernel LED notifications so AOKP can do its job :)
[Nexus 4 Original Android Development] stratosk:
You welcome! :)

I don't know if this will work for you, but you can disable them earlier than Semaphore Manager using init.d script.

Please let me know if you need help on this.