yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] LinkinParkmetre:
Hey stratosk I've been following you since the i9000! I'm so happy to use your kernel. I mainly use my phone in 3g and it's draining battery... Did you implement the wake lock fixes? If not, could you look into that if you have some time?

Thanks so much for your hard work
[Nexus 4 Original Android Development] DesmoDavid:
I'm just having the problem that if I'm connect to wifi I can't receive notifications (in this case whatsapp) until I wake up the phone from standby. It's a kernel or rom problem?

From Nexus⁴ with Tapatalk 4 ßeta
[Nexus 4 Original Android Development] thracemerin:
Kernel, but the same issue exists in the stock kernel.
[Nexus 4 Original Android Development] DesmoDavid:
It's an hard thing to fix? Stratosk, can you work on it? :(

From Nexus⁴ with Tapatalk 4 ßeta
[Nexus 4 Original Android Development] thracemerin:
Yes, it is, I've been working on it for months.
[Nexus 4 Original Android Development] DesmoDavid:
Sh*t -.- , I hope that Google fix them with 4.3 kernel or I'll throw the phone in my toilet. It's a serious problem for me. -.-

From Nexus⁴ with Tapatalk 4 ßeta
[Nexus 4 Original Android Development] sirxdroid:
Blessing in disguise for others :) I like it that I don't constantly hear notifications when the phone is on my desk, without having to manage the settings in any way. But I hear you, it is a problem and many users are upset about it. I had an HTC One X+ that had the same problem, many folks were upset about it. Not sure why it's so hard to get it right (and to offer some easy profile settings).

I'd love though to be able to ssh to my phone when the screen is off, like I can do with a GNex.
[Nexus 4 Original Android Development] DesmoDavid:
You like it? It's like to say "my car shuts down if I go quickly than 60 km/h and I like it 'cause I'm forced to go slow and my car drain less gasoline" lol. It's not a good thing, the notifications must doing their job... -.-

ps: it's not a rant against you, of course, but this thing make me so sad (or mad?) xD

From Nexus⁴ with Tapatalk 4 ßeta
[Nexus 4 Original Android Development] thracemerin:
There are a few work around fixes, some are even kernel independent that work reasonably well, often they cost you a little bit of battery life though.
[Nexus 4 Original Android Development] DesmoDavid:
Can you link them? :)

From Nexus⁴ with Tapatalk 4 ßeta
[Nexus 4 Original Android Development] blade_:
hello stratos,neighbor from Peraia :)

i have the deoxeded 4.2.2 rom.i also have a zip of 4.2.2 reset kernel.i have to dirty flash the rom or just flash the reset kernel to use your kernel?

thanks for good job :)
[Nexus 4 Original Android Development] DesmoDavid:
Just flash the clean kernel script (the thing you call reset kernel zip =) ) and flash the new one. ;)

From Nexus⁴ with Tapatalk 4 ßeta
[Nexus 4 Original Android Development] blade_:
nice ill try.all the time i hear good opinions about semaphore :)
[Nexus 4 Original Android Development] DesmoDavid:
It's an AWESOME kernel :)

From Nexus⁴ with Tapatalk 4 ßeta
[Nexus 4 Original Android Development] rolear8:
Hi, so whats the pros about this kernel against Franco kernel? Thanks in advance :)
[Nexus 4 Original Android Development] ceejay83:
You just need to flash it and find out. It's a great kernel, I go back and forth with this and Franco
[Nexus 4 Original Android Development] Escaperoute:
Love your kernel

Hi,

I just want to ask that i can't find liveoc option in my semaphore manager app. I want to try the oc sometime but your rom is the best thing out there already but i really want to try something new. thanks for all your hardwork,
[Nexus 4 Original Android Development] ceejay83:
There is no overclocking in this kernel
[Nexus 4 Original Android Development] -iNSiGhT-:
Just my feedback about my "old" reboot problem (uVing) ...

As you have advised, I increased voltages by 12,5mV from the voltages I used with Harsh, and.... So far so good!! No more reboot!

And great kernel Stratosk!! ;)

Paranoid mako
[Nexus 4 Original Android Development] stratosk:
I don't know. But, no motivation to try to fix something in wifi drivers (if issue is in there). :)
[Nexus 4 Original Android Development] Escaperoute:
This maybe a n00b question. When i enable touch2wake the blue led lights up but only for a minute, then i have 2 use a power button to wake my device. Is there a fix for that and i really want a slide2wake or sweep2wake more.

---------- Post added at 11:08 AM ---------- Previous post was at 10:59 AM ----------

And when i try to load touch control from google play it said fail to load module but i think touch control support semaphore kernel.
[Nexus 4 Original Android Development] stratosk:
The blue light lights up as long as touch wake is active.

The touchwake is not active for ever. You can increase the delay from Semaphore Manager.

After the delay period, wakelock is released and phone goes to sleep (include touch controller).

So after this you have to use power button.

touch control is incompatible with Semaphore.
[Nexus 4 Original Android Development] Escaperoute:
Thanks for this fast reply. Is there a way to increase the touch2wake delay time indefinitely. Better yet can u incorporate slide2wake function in this kernel.
[Nexus 4 Original Android Development] stratosk:
No, you can't set the delay indefinitely. This would prevent the phone to go to sleep. Your phone will be always on (with the screen off).

And this could cause major battery drain.

No, I will not implement slide2wake (because of battery drain issues. Maybe less than touchwake, but I don't want this extra headache )
[Nexus 4 Original Android Development] TRSolebum:
no and no

1. this is not how touch wake works

2. stratosk already stated he doesn't want to include slide2wake as it causes battery drain

edit: too slow :D

thanks for your awesome kernel startosk :)
[Nexus 4 Original Android Development] -iNSiGhT-:
Just set the delay to a very high value... (3600000 for an hour)

Paranoid mako
[Nexus 4 Original Android Development] Remoteconcern:
The phone won't go into deep sleep, so you'll end up with quite severe battery drain.
[Nexus 4 Original Android Development] -iNSiGhT-:
I know...My delay is 9sec.

But he want an indefinitely delay time...So I give him a way to get it...

Stratosk already warned him about battery drain...

He has to make a choice now between battery and delay...

Paranoid mako
[Nexus 4 Original Android Development] DesmoDavid:
Why not?

From Nexus⁴ with Tapatalk 4 ßeta
[Nexus 4 Original Android Development] stratosk:
Because I hate the cryptic code of prima wifi driver. :)
[Nexus 4 Original Android Development] thracemerin:
Its in the firmware for the chip not the driver itself or the new drivers that are available would solve the problem 100%, the chip firmware is closed source and only accessible to Google and Qualcomm so we have to wait for them to get a complete solution, but as I said before there are already workarounds available that work well in almost all situations that should solve your problem for the moment.
[Nexus 4 Original Android Development] DesmoDavid:
I've found a fix that works. I'm putting the file on Gdrive.

EDIT: Just posting wifi delayed notification fixer in my signature, working for me and I hope that it works with you too. ;)

From Nexus⁴ with Tapatalk 4 ßeta
[Nexus 4 Original Android Development] Escaperoute:
I know now I'm really appreciate all of your reply. This is the best kernel ever
[Nexus 4 Original Android Development] funcrusher:
Where did you get that fix from?
[Nexus 4 Original Android Development] DesmoDavid:
I founded it on Google. Was a xda link but I don't remember how. I had literally search over the internet for a couple of fix. This one works. :)

From Nexus⁴ with Tapatalk 4 ßeta
[Nexus 4 Original Android Development] leos0000:
I brick my nexus :( o

How i can unbrick help guys.now im on ativ s
[Nexus 4 Original Android Development] eep2378:
Read this entirely: http://xdaforums.com/showthread.php?t=2010312
[Nexus 4 Original Android Development] blade_:
hello!what about adding some color profiles to your app,ready to load ?
[Nexus 4 Original Android Development] jayjay2244:
very pleased with the kernel. Results without UV and 91% deep sleep:
[Nexus 4 Original Android Development] leos0000:
I got 10 hours sot on wi fi and 9 hours on LTE on ativ s :) but my nexus hard bricked **** gonna take him just after 3 days
[Nexus 4 Original Android Development] BLADESMAN1889:
What caused brick ?

Sent from NEXUS⁴ via XDA app [AOKP\/\/hitehawkx]​
[Nexus 4 Original Android Development] stratosk:
New version 1.2.0

- cpufreq: ondemand: Fix issue that could cause performance issue

- cpufreq: ondemand: freq_next should be proportional to cpuinfo.max_freq

- cpufreq: Remove unused code due to new calculation method of frequency target

- msm: cpufreq: Break out early if target frequency is the same as the current

- Use SLAB allocator instead of SLUB

- Enable O3 optimizations

- Build with Linaro 4.8.1 201305
[Nexus 4 Original Android Development] Tylog:
U believe my phone can fly:D

Thank you for the next build my friend :)

Tapatalk
[Nexus 4 Original Android Development] TRSolebum:
very nice, downloading now :) will report back

1.1.0 was good at batterylife, very good at performance and the additional features like touchwake, LED......... are simply awesome!!
[Nexus 4 Original Android Development] Slymobi:
Awsome stratosk, perfect timing too. Slimbean V6 today and now Semaphore update. Fixing all my flashing addictions before i go on holiday tomorrow with a full clean rom and perfect Kernel to run it all on. Thanks.
[Nexus 4 Original Android Development] bobo1337:
Very good speed like on every semaphore,hope battery is good too! Thanks man you are awesome!

Sent from my Nexus 4
[Nexus 4 Original Android Development] pnut22r:
Can I flash this over franco? I know he does some things that cause compatibility problems when flashing kernels over it
[Nexus 4 Original Android Development] Tylog:
Flash a reset kernel, than semaphore, this will work without problems.

I upload the reset kernel, wait a minute.

Edit : Kernel is in the attachment :)

Flash it, than flash Semaphore :)

Tapatalk
[Nexus 4 Original Android Development] blade_:
Flash reset kernel doesn't work for me.. Flashed deoxeded stock rom and everything fine :)
[Nexus 4 Original Android Development] Tylog:
I never had a problem with this way, only when I test a kernel with the new prima Wi-Fi driver need flash my Rom again :) but who cares, everybody makes other experience :)

Tapatalk
[Nexus 4 Original Android Development] cantevencode:
Dirty flash your rom and gapps, then flash this. The rom will wipe the previous kernel
[Nexus 4 Original Android Development] pnut22r:
Just installed this with CM rc4. So far very nice and smooth. Thanks

Does touch control use more battery? If I set it to max, will it use battery while waiting?
[Nexus 4 Original Android Development] ceejay83:
Yes it will drain battery, because it holds a wake lock
[Nexus 4 Original Android Development] pnut22r:
Right, makes sense
[Nexus 4 Original Android Development] leos0000:
I got brick cuz i flashing wrong android idk why but its been for nexus .monday gonna take my loved phone lol :D .but i like too samsung ativ s on windows 8 . This two nice phones lol.but more sot got on wp8 . And 5 sot on nexus.

---------- Post added at 01:34 AM ---------- Previous post was at 01:33 AM ----------

Hey stratosk thanks so much for new update.gonna just testing monday **** :( .u are best stratosk. Like all stuf from u .thanks again bro
[Nexus 4 Original Android Development] thracemerin:
And you can't get into the bootloader by holding vol dn + power when the phone is completely off?
[Nexus 4 Original Android Development] leos0000:
No bro i cant :( i try more time but nothing ****.my phone in reperation center .monday gonna all good i think so.???
[Nexus 4 Original Android Development] thracemerin:
Wow, that sucks :(
[Nexus 4 Original Android Development] aaronrw:
I installed this on prime runner ROM and my led was glowing red upon boot and didn't stop. Just curious if I'm alone and maybe the kernel doesn't like that ROM?
[Nexus 4 Original Android Development] bleuwave:
That's one of the features of this kernel. Use the app to customize the notification lights. It's very interesting actually and you'll be pleased with it. Personally, I've gotten used to it.

Sent from my Nexus 4
[Nexus 4 Original Android Development] JmPTaz09:
Yes, you can disable it in the app if you want; just set the LEDs to none. By default, it glows red as your CPU gets hotter... The stronger the red glow the more hot it is.

In fact, this kernel loves Primerunner ;)
[Nexus 4 Original Android Development] mammenj:
Hi guys, how this kernel working with PA rom? Anything to do before flashing this kernel besides nandroid back up?
[Nexus 4 Original Android Development] leos0000:
On pa work perfect man.cuz i used on my nexus pa and latest this is amazing kernel.very nice combo lol
[Nexus 4 Original Android Development] copi:
hi [MENTION=3750240]stratosk[/MENTION]

for this new 4.1.20 kernel what is ur recommendation?

1. back to early demand and stayed with the default setting value or

2. use ondemand with 95 - 30000 like on 4.1.10?

thanks much appreciated
[Nexus 4 Original Android Development] tuilalnvinh:
May i disabled thermal throttle in this kernel? Because my normal environment temp is little high (usually 35 - 38*), so it easily throttle when i playing games.
[Nexus 4 Original Android Development] reginickneo:
Why would you do that? It's designed for proctect your device.
[Nexus 4 Original Android Development] Slymobi:
Its kind of obvious it uses battery as its actually preventing your phone from deep sleep for the set period you choose but the thing to realise is that the longer the delay is set the more battery drain will occur. I really don't know exactly but I think it does not use great amount of drain so long as you set a reasonable delay time. I think the stock 45000 is more than suitable.
[Nexus 4 Original Android Development] stratosk:
Red LED is a just an indicator that your CPU temperature is getting high.

This doesn't mean that your CPU temperature goes to abnormal temperature.

There is a thermal protection (thermald) that will take care your device if temp goes to abnormal levels.

So, don't bother about the red LED. In fact you may safely disable it.

I leave it enabled by default, because I like it when it turns on. I'm thinking "now my CPU has some serious load" :)

Yes, my recommendation is as in 1.1.0.

I'm not sure if I will keep early demand. I'm not sure if with the new calculation method will produce more aggressive results.
[Nexus 4 Original Android Development] Kagath:
The 1.2 is just perfect :D

thanks a lot for your hard work, you make my Nexus 4 better
[Nexus 4 Original Android Development] manjee:
I'll try to disable early demand. Let us know if you want us to test specific settings :thumbup:

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] pitjago74:
Well is not a +10.....it is +11:D:D:D

I love this kernel:thumbup:

Thank you very much Stratosk

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] -iNSiGhT-:
Hi all,

Using Semaphore with PA, it seems LED configuration of Semaphore is broking the notification led settings of the ROM...

An example : the led is blinking red instead of green for messaging app...

N. B : I installed Semaphore 1.2 over 1.1 with wipe cache and dalvik.

Paranoid mako
[Nexus 4 Original Android Development] LaboDJ:
Stratosk I know the only way to make boot up successfully N4 kernel compiled with gcc-4.8.1 is changing Allocator from SLUB to SLAB,

and you did so...

btw SLAB allocator is deprecated, SLUB is simpler and more efficient, do you think it's a good idea to change it?

Worth it?
[Nexus 4 Original Android Development] eep2378:
In my experience, since ondemand has been tweaked in the last few releases, early demand may not provide the benefit it had in the past.
[Nexus 4 Original Android Development] stratosk:
Who says that SLAB is deprecated? :)
[Nexus 4 Original Android Development] -iNSiGhT-:
I just verified and when I receive a message, led blink green (as expected) 2 times, then it blink red...

Any idea?

Paranoid mako
[Nexus 4 Original Android Development] stratosk:
Obviously there is a race condition. Kernel and ROM try to control LEDs.

You may disable LED triggers from Semaphore Manager.
[Nexus 4 Original Android Development] -iNSiGhT-:
It's weird, it worked perfectly with 1.1...

Is there a echo command to disable led?

Thanks.

Paranoid mako
[Nexus 4 Original Android Development] jorrddan:
For settings, you can use Semaphore manager from Google play. It's free.
[Nexus 4 Original Android Development] -iNSiGhT-:
I know it's free but I do prefer customize kernel stuff with a script (so no kernel app need to load on startup).

Paranoid mako
[Nexus 4 Original Android Development] Remoteconcern:
Here you go:

#Disable LED

echo none > /sys/class/leds/red/trigger

echo none > /sys/class/leds/green/trigger

echo none > /sys/class/leds/blue/trigger

Off topic:

I am visiting Montpellier next month, I'm very excited :D:D
[Nexus 4 Original Android Development] -iNSiGhT-:
Thanks!

Just tried again and led blink green and green and green and green...

It seems PA won the led race for this one... ^_^

You'll see Montpellier is a beautiful place (place de la Comédie is one of them).

Paranoid mako
[Nexus 4 Original Android Development] punticci:
Hi guys i update the kernel right now.for the UV settings are there any changes compared to the previous version?

Inviato dal mio Nexus 4
[Nexus 4 Original Android Development] LaboDJ:
Ok nothing official, I read something HERE

SLUB is newer, more efficient, faster, simpler.

We have a lot of ram, remember it.
[Nexus 4 Original Android Development] stratosk:
Looking at 3.10 source, still there. And it's in the defconfig of many architectures.

I don't say that it's better or worst than SLUB.

Anyway, if I'll have issues in the future I will update accordingly.

But my latest version seems just fine to me.
[Nexus 4 Original Android Development] punticci:
Stratosk any parameter for the undervolt?

Inviato dal mio Nexus 4
[Nexus 4 Original Android Development] philidor:
My N4 si fast bin. My setting (little below the max but now totaly stable)
[Nexus 4 Original Android Development] Ümit:
I tried to install 1.2.0 on my PA 3.60 but it doesn't work (not start).
[Nexus 4 Original Android Development] eep2378:
Are you coming from another kernel?
[Nexus 4 Original Android Development] PRGUY85:
Been testing this kernel (including the latest one) and notice that the phone gets hot (confirmed by red LED) when using phone for more than 5 minutes. Is this normal?
[Nexus 4 Original Android Development] Kindatired:
What were you doing in those five minutes?
[Nexus 4 Original Android Development] PRGUY85:
Just browsing my Google Plus stream.
[Nexus 4 Original Android Development] funcrusher:
Extremely smooth @ 95/3000 and no early demand.
[Nexus 4 Original Android Development] stratosk:
It depends of your usage.

Also, other kernels remove mpdecision and thermald. Please check that these processes run in your phone.

Else, you have to flash a reset kernel or firty flash your ROM.
[Nexus 4 Original Android Development] ak:
Hi stratosk

I have tried GCC 4.8 but kernel stuck at Google logo after boot ...

Have you a suggestions how I can compile my own kernel with new GCC?

Nb

With 4.7.2 boot without problem.

Thanks a lot
[Nexus 4 Original Android Development] -iNSiGhT-:
PA uses a kernel modified by Franco (with a modified ramdisk), you must flash the reset kernel before flashing Semaphore.

Paranoid mako
[Nexus 4 Original Android Development] stratosk:
You have to use SLAB allocator instead of SLUB
[Nexus 4 Original Android Development] Slymobi:
Not true. The pa kernel that Franco is associated with is just a modified stock kernel. Not the same as francos own kernels. ( so I've been told ) ;)
[Nexus 4 Original Android Development] bentez2003:
Anyone rocking the latest SaberMod with Semaphore 1.2.0 care to comment on the performance? We talking smooth or really smooth??
[Nexus 4 Original Android Development] -iNSiGhT-:
No... It's not "just" a modified stock kernel... Franco said itself in G+ PA community he modified the ramdisk of PA kernel (some thermal things...).

Even if it isn't THE Franco kernel, it has a modified ramdisk though...

Paranoid mako
[Nexus 4 Original Android Development] Slymobi:
Well that means that the PA community lied to me DAMNED them :mad:;) no worries as slimbean is my daily.
[Nexus 4 Original Android Development] ak:
You rock stratosk :D
[Nexus 4 Original Android Development] simorangkir_dcs:
Wow. Anarkia? Are you going to make kernel for N4? My gnex is still using yours, it will be great if you decide to support this device
[Nexus 4 Original Android Development] ak:
Yes my friend but I have to read a lot of pages and learn a lot of infos :D

I'm in love now with my N4 because stratosk is here :thumbup:
[Nexus 4 Original Android Development] simorangkir_dcs:
Then it's a good news for all N4 users. Soo many great kernel devs!

We already got stratosk, franco, morfic, etc etc and now we have you on board. :thumbup::thumbup::thumbup:
[Nexus 4 Original Android Development] PRGUY85:
Where can I check for this? Semaphore app? Which part?
[Nexus 4 Original Android Development] stratosk:
What's your opinion? :)
[Nexus 4 Original Android Development] cryingrock:
Ak kernel for N4 coming soon? So amazing!!! Purity+Ak on N4 finally!!:cool:

Sent from my Nexus 4
[Nexus 4 Original Android Development] stratosk:
Using a terminal emulator:

ps | grep mpdecision
ps | grep thermald
[Nexus 4 Original Android Development] Slymobi:
Stratosk this maybe a silly question but I'd like your Answer please. If I just delete the mpdecision file from system/bin and reboot what does this actually do in effects?/ or not do anymore ? I.e eliminates the butter effect !!

Thanks
[Nexus 4 Original Android Development] Ümit:
I come from franco r146.

What is reset kernel? how do I find him?

thanks
[Nexus 4 Original Android Development] -iNSiGhT-:
From faux thread at least.

Paranoid mako
[Nexus 4 Original Android Development] playya:
I understand using a reset kernet but if you are using TWRP its only a couple more steps to simply re-flash your rom and gapps then kernel. Think about it people its all in the same session and only really flashing one more zip and maybe 15 seconds more. To me its worth it to make sure all runs smooth.
[Nexus 4 Original Android Development] pitjago74:
Mpdecision makes the freq.at 1026mhz when you turn screen ON,Stratosk long time ago recomended leave the Mpdecision ON,ist much better for the N4:D

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] Ümit:
I tried it, but result is the same. It does not start.
[Nexus 4 Original Android Development] stratosk:
If you delete mpdecision:

1) All core will be online every time.

2) No more 1026MHz when you touch the screen
[Nexus 4 Original Android Development] mammenj:
[MENTION=3750240]stratosk[/MENTION] love your kernel, but keep going to franco for the sound enhancement. Please look into sound enhancement for this kernel
[Nexus 4 Original Android Development] -iNSiGhT-:
Maybe a corrupted download of Semaphore?

Try download it again.

Paranoid mako
[Nexus 4 Original Android Development] z3r0_x:
Yes, the only thing holding me back is the missing FauxSound support, I can't live without it, the N4's default gain is just horrible - uff, I eventually need to learn how to compile kernels on my own :crying:
[Nexus 4 Original Android Development] kfheaven:
here is the patch,hope it will possible at our lovely semaphone......

https://github.com/faux123/mako/commit/911a80eb10df7b1f0c120ae29137e1b682f8ab7e
[Nexus 4 Original Android Development] funcrusher:
Are you just lowering the gain with it? I never really experimented with FauxSound. Could you explain your configuration and the benefits? I can't stand the tinny sound of videos.

I see that trickster has 'Sound Control' where you can change dynamic range compression and fixed gain -- is that beneficial?