yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Bieniu:
No, it is not the fault of Tasker. Tasker for each task wakes up the processor moreover in my Tasker's log WiFi is turned on at the right time. Unfortunately, the system can't connect to the network even though WiFi is enabled. The "Keep WiFi during sleep" is set to "always". At exactly the same settings on KitKat I had no trouble connecting to the network. I don't know that is kernel related or WiFi driver or something else.

In logcat I post this problem is between 18:40 and 19:10.
[Nexus 4 Original Android Development] akulp:
I noticed that "double tap to wake" function sometimes don't work for the first time.

I have to try 2 or 3 times to wake up screen ...

Anyone noticed same problem?
[Nexus 4 Original Android Development] capoooro:
Here works like a charm... Clean install Rastapop + semaphore
[Nexus 4 Original Android Development] akulp:
I'm on stock ...
[Nexus 4 Original Android Development] kooocko:
DTTW working great on stock 5.0 with the latest Semaphore, aside from the occasional need for the 4 fingers touch
[Nexus 4 Original Android Development] Julio_MotoMod:
as active these functions having this kernet

-Touch wake

- Double Tap to Wake
[Nexus 4 Original Android Development] alen1901:
[MENTION=3750240]stratosk[/MENTION], hi.

just to tell you that im updating/fixing Croatian translation for Semaphore Manager app. Im not in this forums anymore so i dont know if you update it or not, but i just thought i'll update translations for a sake of it. keep up. peace. ;)
[Nexus 4 Original Android Development] nemanja066:
Install this app, set SELinux to permissive, and all will be fine with Semaphore manager (CPU table, SAI etc...)! :D

https://play.google.com/store/apps/details?id=com.mrbimc.selinux&hl=en
[Nexus 4 Original Android Development] stratosk:
Hi, thank you very much!

Yes, I update translations on every Semaphore Manager update.
[Nexus 4 Original Android Development] akulp:
So, am I the only one?
[Nexus 4 Original Android Development] omer7:
You need to tap in the middle of screen, then it works. I m still on purity KK and semaphore 2.4.0, and for me double tap to wake works in first attempt if i tap at the correct place on screen.
[Nexus 4 Original Android Development] akulp:
Ok, I'll try to remeber everytime before I try to unlock.

Anyway in 50% D2TW works within the first try, but in other 50% I'm trying for 2 or 3 times and sometimes it's impossible to unlock with tocuh ...
[Nexus 4 Original Android Development] omer7:
That's strange. Coz as i mentioned in my last post, if i tap at right place, it unlocks in first try.

Hope someone who knows about this issue can help u here.
[Nexus 4 Original Android Development] akulp:
You,'re right, thank you!

Today, everytime I want to unlock screen I tapped in the middle of it .. and it works!

[MENTION=3750240]stratosk[/MENTION] is this expected behaviour? So, middle of the screen is the only "sure" point to unlock?
[Nexus 4 Original Android Development] omer7:
Glad it is working fine ?
[Nexus 4 Original Android Development] stratosk:
Yes, this is the expected behavior to reduce accidentally the risk of accidentally waking the device.
[Nexus 4 Original Android Development] axlrvx:
Stock + Semaphore 3.0.0b with default settings

GPS on battery saver mode with sync activated.

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] stratosk:
New version 3.0.0

- Linux kernel 3.4.105

- Fix initramfs issues (mpdfake, initscripts) due to SELinux. Semaphore init script uses Chainfire's supolicy tool (included in latests SuperSU) to patch sepolicy

Please flash stock kernel before Semaphore to get the new initramfs changes
[Nexus 4 Original Android Development] stratosk:
New version Semaphore Manager 4.2.1 (available soon on Google Play)

- Fix 'Show CPU table' option (Nexus 4)

- Updated translations, added Chinese simplified

- Bug fixes
[Nexus 4 Original Android Development] urim225:
I think the site is down

Edit: working now sorry
[Nexus 4 Original Android Development] khukuh:
Touch Control

Dear Brother

Thanks for great semaphore kernel on my nexus kitkat + touch control app ..

I want to upgrade my nexus to lollipop, is semaphore 3.0.0 work with touch control app, because I need double tap to wake and slide to sleep feature on touch control app.

Sorry for my bad English ..

Thank you, GOD Blessing ...
[Nexus 4 Original Android Development] poondog:
The kernel already has (arguably the best) dt2w functionality :)
[Nexus 4 Original Android Development] khukuh:
Thanks Brother, and I know about that, but with touch control app will be nice, dt2w & slide2sleep lock at one app.
[Nexus 4 Original Android Development] poondog:
Dt2w without an app :P
[Nexus 4 Original Android Development] M@rs:
You can try screen of and lock from playstore if touchconttol does not work.

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] akulp:
And one more thign..TouchCOntrol is not supported from version > 4.3.

So, it won't work with lolipop.
[Nexus 4 Original Android Development] dome95:
Hei guys, where can I find stock 5.0 kernel to flash before semaphore?
[Nexus 4 Original Android Development] jimyiak:
http://xdaforums.com/nexus-4/development/rom-flashable-stock-rom-radio-kernel-t2527806

Here it is my friend ;)

sent by nexy 4
[Nexus 4 Original Android Development] akulp:
[MENTION=3750240]stratosk[/MENTION] what undervolting conf. do you prefer with Lollipop?

Lower Uv / higher uV / threshold=?

Boost I guess is OFF?

Thanks for answer!
[Nexus 4 Original Android Development] dome95:
Thanks a lot bro :)
[Nexus 4 Original Android Development] Paoliz:
how is the battery with this kernel?
[Nexus 4 Original Android Development] capoooro:
I've never have problem to arrive at the end of the day.
[Nexus 4 Original Android Development] Paoliz:
Perfect, now flash

Inviato dal mio Nexus 4
[Nexus 4 Original Android Development] RainGater:
I am getting awesome battery performance on this kernel. I didn't do any tweaks as I kept everything at default and it works great.

Battery usage is really subjective and differs from person to person. What you run maybe different from what I run and the best way to find out is to flash it and see it for yourself. Try it and you won't be disappointed.
[Nexus 4 Original Android Development] stratosk:
I'm sorry for the late response.

Yes, I use the same configuration.

Most options to default. Lately, I don't use double tap to wake or touchwake.

Yes, I use undervolting.

Be careful. All devices are not the same.

I use Boost off, lower uV 62500, higher uV 50000
[Nexus 4 Original Android Development] akulp:
Thanks for answer and tip.

What did you mean "all devices are not the same"? Which paramter have I look for to find If your settings will be good for me as well.

I know, I can try and see if it's stable, but anyway, I'd like to know about differences.

Really great work [MENTION=3750240]stratosk[/MENTION]. I love performance of your kernel from first use ...
[Nexus 4 Original Android Development] Oops...:
It's about the manufacturing tolerances of the SOC. So even if two devices are both classified as fast, they are not identical. So you never know which will be the lowest voltage which your specific SOC is able to be operated with. You have to try...
[Nexus 4 Original Android Development] M@rs:
can annyone recommend good battery saving settings for 3.0.0?

I had some from someone in this thread, but that was before the last calculate change in semaphore.

thanks!
[Nexus 4 Original Android Development] nemanja066:
Is a change in Android Kernel 5.0.1 ? :D
[Nexus 4 Original Android Development] axlrvx:
My battery life is better and better every day ?

Good for a 2 years old battery ?
[Nexus 4 Original Android Development] yarisd4dturbo:
http://aosp.changelog.to/aosp-LRX21V-LRX22C.html

You can see here

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] KiD3991:
Does double tap to wake drains battery dramatically or just sips by?
[Nexus 4 Original Android Development] capoooro:
I use double tap to wake with no evident battery drain.
[Nexus 4 Original Android Development] stratosk:
New version 3.0.1

- Merge latest changes from Android source (5.0.1)
[Nexus 4 Original Android Development] hypemanisus:
what gamma control numbers will give me a darker screen resolution? like galaxy s4 profiles.

never mind i used trickster to pick color profiles.
[Nexus 4 Original Android Development] ihancioglu:
I could not edit sysfs on latest 5.0.1 and 3.0.1 with any file explorer(Root explorer) I got root rights, I am able to edit /data.

EDIT: works with terminal emulator

Thanks
[Nexus 4 Original Android Development] stefat77:
hi, is it required to wipe cache after flash/upgrade semaphore?

LP takes a lot of time to boot after wipe cache :mad:
[Nexus 4 Original Android Development] Midomad:
No it's not required.
[Nexus 4 Original Android Development] ihancioglu:
[MENTION=3750240]stratosk[/MENTION],

What do you think about the changes which in Mirage after your patch applied?

https://github.com/mrg666/android_kernel_mako/commit/968febc40deca854be0357d7fc8b277e010ddf68
[Nexus 4 Original Android Development] zakk87:
every time I install your kernel my screen blinks a lot (when swiftkey shows up), like I was reported few months ago.
[Nexus 4 Original Android Development] stratosk:
I'm not sure about that patch efficiency:

1) The difference between frequency steps are too small. I don't know if there will be a noticeable improvement in consumption or performance.

2) This will lead to more frequency transitions in low loads. Maybe frequency transitions also have some cost (more time in the kernel and maybe more energy in CPU) .
[Nexus 4 Original Android Development] stratosk:
Please try min frequency at 405MHz.
[Nexus 4 Original Android Development] nemanja066:
Maybe UnderVolt? :victory:
[Nexus 4 Original Android Development] zakk87:
no, screen blinks before I uV. 405MHz is good even with uV, but battery not better than stock. I think my nexus don't like me since I bought it.
[Nexus 4 Original Android Development] domg73:
Merry Xmas to everybody... I sold my Nexus4... I really loved it and I loved Semaphore kernel!
[MENTION=3750240]stratosk[/MENTION] is a great developer and I will miss his kernel :crying:

See you around here on xda guys...

\/ Live long and prosper!
[Nexus 4 Original Android Development] stratosk:
Merry Christmas, my friend!

Enjoy your new device! :)
[Nexus 4 Original Android Development] leather.face:
Hi stratosk :) ... I wish you also a nice XMas and your kernel is great ;) ... I like your work :good: and when I have money, then I`ll donate to you but my question is, can you create a kernel update to Android 5.0.2? Thanks for all and I wish you a nice Sunday!! :D

Best regards from Germany,

leather.face :)
[Nexus 4 Original Android Development] imperator01:
Merry Christmas

Stratos, I noticed that on 3.001 the gpu max frequency is set to 200 mhz.

Tried it on two different N4 with different roms.

Not a big deal, just reporting.

Sadly I had to use another app to set the gpu to 400, semaphore app doesn't have any gpu settings.

And, semaphore kernel gives me the best 3d graphics scores in all benchmarks I have tried.
[Nexus 4 Original Android Development] stratosk:
Thank you! Merry Christmas!

So far no new sources for 5.0.2 (and no factory images).

I will update as soon as there are updates.

Merry Christmas!

I've never touched GPU driver sources in Semaphore.

Please expect stock behavior regarding GPU.
[Nexus 4 Original Android Development] miksontije:
Why my phone get more hot on sema kernel? I tested it with stock,and antutu. On sema,everything is in stock settings. When antutu test multitasking and cpu phone get hot and red lamp is on.
[Nexus 4 Original Android Development] stratosk:
There is no red led indicator for CPU temperature on stock kernel.

So, you only see it on Semaphore kernel.
[Nexus 4 Original Android Development] miksontije:
yes,i know that. maybe i did not wrote well. i say, phone has highest temperature when i test it on sema in antutu,than in stock. he trigger lamp when is got hot. also i noticed on all stock settings on sema, thermal led is on,and full battery led green light is on too. no need to turn it on i settings. that was not case before. when i flash sema i always do reset settings on stock on sema app. i only undervolt it and turn min cpu to 1.
[Nexus 4 Original Android Development] stratosk:
Then, most probably Semaphore use highest frequencies in that benchmark.

Regarding led triggers these are the default settings now (and since many versions ago).

You may change them to 'none' if you don't need them.
[Nexus 4 Original Android Development] miksontije:
tnx. i didnt read changelog all time,so i didnt noticed led settings. i always set it manualy to same set as it is default now.

also i have one question. what does dynamic hotplug do?

should i set on ondmmand min cores to 1,or hotplyg driver do this by default?
[Nexus 4 Original Android Development] stratosk:
Dynamic hotplug is an in kernel implementation for CPU hotplugging according to load.

By default dynamic hotplug has minimum 2 cores online.

Ondemand handles the CPU frequency when the CPU is online. It has no effect on offline cores.
[Nexus 4 Original Android Development] leninke:
Merry Christmas to everyone!
[Nexus 4 Original Android Development] stratosk:
Merry Christmas!
[Nexus 4 Original Android Development] a g bell:
Merry Christmas to [MENTION=631001]strat[/MENTION]osk and everyone here that celebrates it
[Nexus 4 Original Android Development] nemanja066:
Stratosk's Christmas is on 7 january (and my) :D

Sent from my Nexus 4
[Nexus 4 Original Android Development] stratosk:
Most Greeks celebrate Christmas on 25th of December. :)
[Nexus 4 Original Android Development] twowheeler:
Do I still need to change the selinux policy by the way?
[Nexus 4 Original Android Development] Tipkaros:
Hey I very rarely use the camera but when I do reboots are not uncommon. It happened both on Purity 4.4 and now on stock 5.0.1 . Is it Semaphore related?
[Nexus 4 Original Android Development] capoooro:
I had the same issue. It was a problem of undervolting. 25 up and everything works now
[Nexus 4 Original Android Development] hellsgod:
Its a known issue for some devices, especially if you're using flash. Not kernel related.

hells
[Nexus 4 Original Android Development] stratosk:
Happy new year!

I wish you all the best for 2015!
[Nexus 4 Original Android Development] Raza Qadri:
Is anyone else facing issues with push notifications?
[Nexus 4 Original Android Development] twowheeler:
Happy new year everybody.

Be safe and healthy in 2015
[Nexus 4 Original Android Development] malcho:
Stratosk my good friend,

Just dropping by to say Happy new year to you and your family and all good people here.

Wish you all the best
[Nexus 4 Original Android Development] capoooro:
Hoping 2015 could bring a better year for you all!
[Nexus 4 Original Android Development] boyoctober:
ROm Simple AOSP flash Semaphore failed ????
[Nexus 4 Original Android Development] Dan1234567890:
Bad download?
[Nexus 4 Original Android Development] a g bell:
Dam l wish this would work on my nexus 5?
[Nexus 4 Original Android Development] aaronrw:
Flying high with this kernel. Thanks [MENTION=3750240]stratosk[/MENTION]
[Nexus 4 Original Android Development] stratosk:
I wish I could have a Nexus 5 (or 6)... :)
[Nexus 4 Original Android Development] a g bell:
Let's see what we can do about that ?

No you don't want a 6 because l have 5?
[Nexus 4 Original Android Development] deeppans:
Hello,

Is there any way to change number of CPU cores (hot plug driver) online using script or android intent?

TIA
[Nexus 4 Original Android Development] stratosk:
Hello,

You may change it using script only. Please use the commands (as root) below to set min and max online cores:

echo MAX > /sys/module/dyn_hotplug/parameters/max_online

echo MIN > /sys/module/dyn_hotplug/parameters/min_online

Where MAX and MIN between 1 and 4
[Nexus 4 Original Android Development] deeppans:
Thanks Stratosk
[Nexus 4 Original Android Development] mdaamir1989:
Hey All ,

Does this kernel work with CM 12 nightlies ? Trying to upgrade to LP from Kitkat.

Cant live without Double tap to wake since my power button is pretty much dead.

It would also be helpful if you guys can comment the LP roms which you use with this kernel.
[Nexus 4 Original Android Development] vampire36:
Semaphore works only on AOSP...:)

Wouldn't work with CM12...

SimpleAOSP or my fav Purity are great combinations with this kernel :)
[Nexus 4 Original Android Development] imperator01:
Stratosk, can you please look into something?

Could it be that your kernel has gpu locked at 320mhz, or is it trickster that reads it wrong?

Other kernels I've tried scale down to 128mhz or even 27mhz, but your doesn't go lower than 320mhz.
[Nexus 4 Original Android Development] -earth-:
You dont use Semaphore manager?
[Nexus 4 Original Android Development] imperator01:
Sure I do use Sema manager, but I use trickster only to gather info, check the temp. and which cpu frequency is used, memory usage, time spend in deep sleep ect.

I never change kernel settings with trickster.
[Nexus 4 Original Android Development] vampire36:
Just popped in to thank [MENTION=3750240]stratosk[/MENTION] for all the amazing work he has done in this kernel...

The simplicity is the charm of the kernel...Still one of the best kernels around if not the best...in terms of balance of performance and battery...

Semaphore to me ensures my N4 behaves fast and smooth...makes me have a lag free fluid smooth experience...what I expect from my phone rather having 15 or 20 min more battery with lags or performance compensated :)

Hope you continue supporting us for a long long time :P

Btw Purity + Semaphore are like a couple...:P A match made in heaven :)

Highly Recommended :)

Edit : Almost forgot DT2W is a masterpiece using it for months...flawless and makes my N4 feel royal...:)
[Nexus 4 Original Android Development] hellsgod:
The gpu scales down to 27mhz in slumber. There's a derp in the driver, thats why it shows 320mhz. I've fixed that in my kernel. I can link to the commit if anyone is intrested. Its just I'm mobile atm, so I'll post it later :)

hells
[Nexus 4 Original Android Development] stratosk:
I didn't change anything in GPU driver, so I guess this is 'normal'.

Thank you very much for your so kind words, my friend!

Thanks! As far as I remember (looking the code in that past) the 'issue' is just the value in sysfs.

There is no problem actually. Please correct me if I'm wrong.
[Nexus 4 Original Android Development] hellsgod:
Yep, its just a cosmetic "issue" :)

hells

---------- Post added at 08:02 PM ---------- Previous post was at 07:59 PM ----------

It's this one, if anyone is interested :)

https://github.com/hellsgod/kernel_msm/commit/32481f4d0c3ee875a0a19409fe93e356e4ffdd3d
[Nexus 4 Original Android Development] Androiduser148:
Need help with specific rom and kernel

Would it work with this rom: Resurrection Remix LP v5.2.9, it's 5.0.2 and I can't find if its aosp or cm based.
[Nexus 4 Original Android Development] vaibhavx:
No, you have to flash CM kernel;)
[Nexus 4 Original Android Development] paolocorpo:
Hi to all

I am N4 stock 5.0.1 + TWRP + root and unblocked bootloader

May i flash this kernel using TWRP ?
[Nexus 4 Original Android Development] omer7:
Yes you can, should not he an issue.
[Nexus 4 Original Android Development] haplo39:
boot image

is there any option for flashing the kernel as boot.img with fastboot. I don t want to flash a custom recovery and root the phone until 5.02 OTA update.. I am tired of wiping the data and setting it up.
[Nexus 4 Original Android Development] gorilla p:
I haven't found that to be entirely necessary, just wipe cache and dalvik cache when sticking with same ROM.

Idk what having custom recovery/root has to do with it though.

Also once you have TWRP, you can just flash 5.0.2.

Visit the NeXuS⁴ file repository at bit.ly/makostuff
[Nexus 4 Original Android Development] haplo39:
Rooting changes the system partition so the OTA update cannot validate the partition and gives error.. even if you unroot the phone and try to install OTA.zip through custom recovery it gives an error on stock rom. there are few ways to install the updates without wiping the userdata but I think it affects the performance little bit. At least what I felt before.

I was flashing custom roms every day two-three years ago.. it was a never ending story so I decided not to root my phone again after 5.0.1 update .. All I need is is "double touch to wake" so I am trying to flash a kernel through fastboot and hoping it is activated by default without a need for root :)
[Nexus 4 Original Android Development] hoangtungst:
I like color on G3 , someone has color profile like G3 ?
[Nexus 4 Original Android Development] oxxshadow:
I've run into a strange issue with this kernel. When playing audio over bluetooth, the music stutters. This happened to me on HellsCore, but I fixed it by turning off single core screen off. Is there a similar solution for this kernel?
[Nexus 4 Original Android Development] Flak:
I use Semaphore and have not run into this issue. I stream Pandora/Tune-In/iHeart to my car via bluetooth.
[Nexus 4 Original Android Development] Cem0:
[MENTION=3750240]stratosk[/MENTION] please check my pull request @ github for Semaphore manager.
[Nexus 4 Original Android Development] capoooro:
[MENTION=3750240]stratosk[/MENTION] good luck for today elections.
[Nexus 4 Original Android Development] stratosk:
Thanks! I will check this.

I was pretty sure that we needed a check box there. (That's why I changed all similar switches to check boxes in a previous commit)

Now, re-reading the guides, I think you are right.

Thank you! But, I'm not optimistic anymore about this country...
[Nexus 4 Original Android Development] gialakias:
Well then, download the kernel zip and fastboot boot recovery twrp.img and flash it through custom recovery that is loaded only once in ram. Next reboot will find you with the stock recovery. But I don't understand why you do this. The semaphore app needs root and busybox to work and when ota arrives you can just fastboot flash recovery.img system.img and boot.img and then the ota applies without losing anything at all.

Sent from my Nexus 5
[Nexus 4 Original Android Development] gtsip:
Has anyone problem with the colors when combining the CM12 with the Semaphore kernel?

I installed the latest CM12 and was OK. After applying Semaphore kernel on that ROM, the colors changed to a very strange mode. (Like negatives)
[Nexus 4 Original Android Development] gialakias:
It is not compatible. Use Jolie Belle.

Sent from my Nexus 5
[Nexus 4 Original Android Development] YourTheBest:
I love it, better battery than Hells C.

But why that difficult UV/MV?

Is there no simple method to change that,like -12.5/ or -25mv etc..
[Nexus 4 Original Android Development] urim225:
If you are using the semaphore manager then I don't understand what kind of difficulties do you have because for me it's the simplest kernel to customize
[Nexus 4 Original Android Development] underskyzx:
Just think for a bit, it won't hurt.
[Nexus 4 Original Android Development] fishears:
I've put together a spreadsheet, based on the excellent work above. All I've done is combine the gamma values so that they are in the right string format to just copy from the sheet and paste in to Semaphore Manager. I find it easier to use so I'm sharing it here in case its useful for others.

DOWNLOAD

Thanks to @Anrikus @Ngo93 and @CrimsonSmear - I'm just really lazy ;)
[Nexus 4 Original Android Development] DingoDingo:
Download link not working, could you please check?
[Nexus 4 Original Android Development] fishears:
Just checked. Working for me. Anyone else?
[Nexus 4 Original Android Development] paolocorpo:
For me too seems ok
[Nexus 4 Original Android Development] dcop7:
Hi,

I've download this kernel and flash it on Euphoria ROM. But after I apply the zip and reboot, the screen stays black for a few seconds and then reboot to recovery. Can you help me? I've download the 1.5.0j version.