yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] richardddd:
No? Why should it?
[Nexus 4 Original Android Development] ardaalisahin:
I flashed with twrp and no problem for me now.

I noticed that my cpu seems nominal binned.But it was showing slow on 4.4.Any opinion about this subject?

Nexus 4 cihazımdan Tapatalk ile gönderildi
[Nexus 4 Original Android Development] stratosk:
I also noticed this since (if I recall correctly) 4.3.

I just tested again with stock 4.4 kernel and it has the same behavior.

I tried to investigate it but I didn't find something (yet). I compiled the kernel without LMK driver (I thought that something goes wrong there) but no luck. For some reason processes are killed without messages in kernel log...

BTW, anyone has available 4.4.1 boot.img?

Are you sure? There was a change in stock 4.3 kernel but from 4.4 to 4.4.1 nothing changed. Which app do you use to check this?
[Nexus 4 Original Android Development] thracemerin:
I wish I had thought to pull it before I changed kernels, I'm considering going back to stock 4.4 and flashing the OTA to get it, when I do that I'll grab it for you if you don't find another source sooner.
[Nexus 4 Original Android Development] stratosk:
Thanks! No problem.

I'm just to lazy to reflash 4.4 and the OTA 4.4.1 to get it. :)

Anyway, it's not so important. But thanks again!
[Nexus 4 Original Android Development] thracemerin:
I need it for another purpose anyway, I was kind of hoping that Google would have released factory images by now so I didn't have to go back to 4.4 to get it.
[Nexus 4 Original Android Development] snak3ater:
The kernel that comes with 4.4.1 roms...That's stock 4.4.1 kernel right:confused:

It can do the job
[Nexus 4 Original Android Development] stratosk:
Thanks guys!
[Nexus 4 Original Android Development] ardaalisahin:
I have a question.I am asking it because i am newbie on applying kernel on my n4.

Is this kernel support art?When i choose art it reboots and dalvik remains.I am searching a kernel which gives best basttery performance and i am testing semaphore kernel now.I have applied 112,5 mv uv.Thanks for your work.

Note:I am also new on xda and my english isn't perfect.

Nexus 4 cihazımdan Tapatalk ile gönderildi
[Nexus 4 Original Android Development] nithin1992:
Not the problem of kernel. Its mostly because you have xposed framework installed which isn't compatible with art. Unless you remove the xposed framework you won't be able to switch to art as of now

Sent from my Nexus 4
[Nexus 4 Original Android Development] thracemerin:
[MENTION=3750240]stratosk[/MENTION]: pulled from the 4.4.1 OTA - boot.img
[Nexus 4 Original Android Development] stratosk:
Thanks, my friend!
[Nexus 4 Original Android Development] ihancioglu:
file size is 22 MB ??? Is this normal?
[Nexus 4 Original Android Development] thracemerin:
Seems weirdly big, but the md5 is correct (checked vs the actual partition on the phone) and it does boot when i flash it in fastboot, so it's right.

Edit: My guess is that because it's a partition dump 22MB is the size of the whole boot partition not just the part with actual files in it.
[Nexus 4 Original Android Development] twowheeler:
The factory image of 4.4.1 is promised for this week if I recall correctly.
[Nexus 4 Original Android Development] Slymobi:
Stratos

I like to pop up now and again to say thanks for your work.

However .............

This time I must say thank you very much ;)

( did you see what I did there !! :) )

Your kernels are just perfect no matter what Android version I'm running as I like to change often but always run semaphore krrnels because they like you are a well and truly oiled machine ;)

Your dedication and friendliness is 2nd to no other.

Cheers and regards as always

Slymobi

Sent from my Nexus 4
[Nexus 4 Original Android Development] thracemerin:
Interestingly enough I just saw a report of a 4.4.2 OTA going out to N5s and N7s so that might be what the delay on factory images is.
[Nexus 4 Original Android Development] stratosk:
Yes this is correct. You dump the whole partition with dd (unless you specify a count),

Anyway, it flashes and boots fine. :)
[Nexus 4 Original Android Development] ihancioglu:
I just installed your boot.img and whoppss System Update notification to 4.4.2. Google is driving fast in these days !!
[Nexus 4 Original Android Development] stratosk:
Thank you for your so kind words, my friend! Really appreciated! :)
[Nexus 4 Original Android Development] thracemerin:
Makes me think they noticed a pretty glaring problem in 4.4.1 to update again that quickly.
[Nexus 4 Original Android Development] stratosk:
So, I just tested the stock kernel for the camera issue. I had it on Semaphore and I wanted to confirm if this is a stock issue or not. Stock kernel also has the same issue.

Taking some photos with camera (using flash), makes device reboot due to a kernel panic...
[Nexus 4 Original Android Development] thracemerin:
Could be fixed in 4.4.2 :D
[Nexus 4 Original Android Development] stratosk:
Flashed back Semaphore, but let's try stock again. Maybe I can take the update too... :)
[Nexus 4 Original Android Development] thracemerin:
OTA links here if you want to force it.
[Nexus 4 Original Android Development] stratosk:
It's a tiny one. No kernel inside (from 4.4.1 to 4.4.2).

Trying now...
[Nexus 4 Original Android Development] thracemerin:
Definitely the same boot.img in 4.4.1 and 4.4.2.
[Nexus 4 Original Android Development] twowheeler:
No kernel inside means you can flash it in twrp with semaphore installed?
[Nexus 4 Original Android Development] thracemerin:
No, gotta have the stock 4.4.1 kernel installed.
[Nexus 4 Original Android Development] twowheeler:
Thanks! Well no fun for now than. Have to wait until tomorrow.

Been running 4.4.1 for just 1 day :p
[Nexus 4 Original Android Development] ihancioglu:
I think it does not matter flash on/off. I was trying to take a picture of my daughter half an hour ago, without flash and rebooted itself. Same messages on last_kmsg (VFE things) It looks to me rebooted while trying to focus with a little more noise. Maybe there is an hardware problem on N4. As far as I remember LG was changed lens and its cover a year ago as design flaw. I am just thinking a loud.
[Nexus 4 Original Android Development] stratosk:
I flashed back stock 4.4.1, flashed the OTA 4.4.2, flashed CWM, SuperSU, Semaphore 1.8.6, ready... :)
[Nexus 4 Original Android Development] stratosk:
I also hear this weird noise. I though that something broken on my N4. Then some flickering on camera and then reboot.
[Nexus 4 Original Android Development] Fenvarien:
That's a nice recipe with delicious Semaphore inside! :good: :)
[Nexus 4 Original Android Development] Slymobi:
Just to report.....

My camera is working normally.

4.4.1 stock odexed flashable rom

http://xdaforums.com/showthread.php?t=2559261

with 1.8.5 semaphore ( nothing tweaked or changed ).

Sent from my Nexus 4
[Nexus 4 Original Android Development] arifroni:
where is this 1.8.6?

Sent From Nexus⁴
[Nexus 4 Original Android Development] a g bell:
On stratosk n4 l think;)
[Nexus 4 Original Android Development] thracemerin:
Stratosk is teasing you.
[Nexus 4 Original Android Development] ihancioglu:
Hi [MENTION=3750240]stratosk[/MENTION],

What do you think about belowed patches from CAF? hellsgod already merged that patches, but you should decide If it helps for that kind reboots.

https://github.com/hellsgod/kernel_msm/commit/1a0b2f3f4566b18b9351cd0552eb486b2bf5c83f

https://github.com/hellsgod/kernel_msm/commit/01155f74ec5b9764aa5bd84f175c1f34b2ed0866

https://github.com/hellsgod/kernel_msm/commit/8033a4320c4b5f87cd42d3d48b10e30cf575fb9d

https://github.com/hellsgod/kernel_msm/commit/b63d39acc1fc97fad78aa30abd9a3dc634536954

https://github.com/hellsgod/kernel_msm/commit/daa2fcf7f918a2a459a5b4ed1db4fe0224de43fc
[Nexus 4 Original Android Development] queerquirks:
Stock kernel 4.4.1 zip file anybody?

Easier than doing a dirty flash :o
[Nexus 4 Original Android Development] akulp:
So, as I read 1.8.5 is working OK with 4.4.2?

Or we have to wait for 1.8.6?
[Nexus 4 Original Android Development] stratosk:
Thanks for the links. I will check the patches and I will test them.

Yes, 1.8.5 is working.
[Nexus 4 Original Android Development] TheQuarterMile:
What settings you'll using on 1.8.5?

Any battery life updates?

I'm currently on

-Ondemad governor

-UV lower freq. - 100mV

-UV higher frequency by - 50mV

-Disabled boost Uv (got a fast bin)

- SD read ahead to 256

-rest all stock

Wanted to know if changing from no-op scheduler makes a difference?

Btw smooth kernel! :thumbup:
[Nexus 4 Original Android Development] Dan1234567890:
I just read on xda that 4.4.2. brings a little update for camera on nexus device. I think this update is part of new Gapps... So maybe they covered this camera issue that we are talking about. :rolleyes::thumbup:
[Nexus 4 Original Android Development] "D":
Yes!!! it works fine :D

best regards from Germany
[Nexus 4 Original Android Development] akulp:
I think that cam changes are connected with N5 and slow focus problems.

---------- Post added at 08:38 AM ---------- Previous post was at 08:35 AM ----------

tnx :D
[Nexus 4 Original Android Development] ImperatorShade:
Best kernel I've used soo far!!! XD

Hey stratosk!! I just started using your kernel and the moment my phone booted, I was hooked onto your kernel!!! Everything is super smooth and fast and stable.. Snappiest kernel I've used till date!!! My phone seems to spend a lot of time @ 1134mhz and hardly goes on 1512mhz, but still gives me great performance!!! :D Battery life has got to be great!! :D

Thank you soo much for this great kernel and all the best for the future!! :)
[Nexus 4 Original Android Development] snak3ater:
You can change the value of 'touch_load' in ondemand Governor if you want different Boost Freq...

Default touch_load value is 75..As soon as you touch the screen,cpu jumps upto 1134...Lower the touch load value & this freq would get lowered as well..

I think it goes like that: Touch_load/100*1512

75/100*1512=1134

Decrease the touch load value & the boost freq decreases as well accordingly

Or you can also increase the touch load threshold value...Increase it a little :angel:

Just play with the kernel & you will find more hidden secrets :p
[Nexus 4 Original Android Development] stratosk:
So far, I didn't manage to crash the kernel using camera. I hope there is a fix in 4.4.2 for this.
[Nexus 4 Original Android Development] apatal:
I think the "camera fix" mentioned in changelogs are just for the Nexus 5. I myself haven't experienced the camera crash you guys have been mentioning, even while I was in 4.4.1.
[Nexus 4 Original Android Development] Pitrino:
Guys i've a problem: when i'm going to flash the last semaphore in my mako 441, twrp (the last one) says me FAILED during Update partition details....i've tried to download it another time but same problems...what i've to do?
[Nexus 4 Original Android Development] CalabiYau:
I've tried several kernels including yours and franco, and now I'm in CM11 just to test this. Same disappointing behaviour.

My guess is that it could be related with the background proces limit instead of the size of these processes.

In developer options you can modify this value, but no bigger than 4. Other option is no process and finally a standard limit, which is probably equal or smaller than this 4. But there is no 'unlimited' option.

Then if you open several apps, it could happen that because of these limit, OS kill some of them despite they can fit in a huge RAM like ours.

Is it possible to increase this limit to test if it may cause this overkilling? Or this value is not accesible?

I think that fixing this issue would be a huge performance improvement...

Thanks!!

PS: Concerning 4.3, I didn't notice this issue because chrome kept its tabs for days and even weeks. Until next reboot. In kitkat I noticed inmediately that it didn't happen! Why???
[Nexus 4 Original Android Development] ihancioglu:
I cannot change max cpu freq to any other than 1512. kitkat 4.4.2 and semaphore 1.8.5. Any clue?
[Nexus 4 Original Android Development] stratosk:
I think that the answer to this is not hidden in the kernel (as far as I can see from my tests and logs) but in ROM.

I will search it a little bit more. I will post if I will find something different.

I just tested it. Works fine here. How do you set max freq?
[Nexus 4 Original Android Development] ihancioglu:
I just tried with Semaphore Manager Max Frequency to 1242000 and then press Read system settings goes back to 1512000
[Nexus 4 Original Android Development] nithin1992:
I had seen a couple of devs(ak) saying its an issue that has to be resolved in both the kernel and the ROM. I'm testing matrix kernel+purity ROM now and its staying at 650-800mb constantly. No reloads in chrome as well. It used to stay below 600 on stock/semaphore last I checked. I'll have to try again to make sure though

Sent from my Nexus 4
[Nexus 4 Original Android Development] snak3ater:
Just change the freq and don't do anything else..no need to use read system settings...
[Nexus 4 Original Android Development] brajesh.sharma87:
Anybody using 1.8.5 on cm11? Is there any problem using cm and this kernel?
[Nexus 4 Original Android Development] stratosk:
You just catch a bug in Semaphore Manager. I will check it.

But setting scaling max frequency does work (without doing a read system settings)
[Nexus 4 Original Android Development] ihancioglu:
Thanks Stratosk.

Also I just faced another issue. Nothing on the screen. Power button was not wake up the device. I called myself, Only vibration is working no ringtone and the screen does not come up.

Just grabbed the logcat , last_kmsg.
[Nexus 4 Original Android Development] stratosk:
Thanks for the logs. Did this happen just after the boot? Do you use PIN lock?

BTW, about the previous issue. The problem is that stock initramfs set permissions 660 to scaling_max_freq file. This means the the file is unreadable to non root or system user. The default kernel permission to that file is 644. They change it for mpdecision, but they should make it 664.

I will change it in next Semaphore version. (I could also change Semaphore Manager to read this file with root permissions, but I think the first solution is the right one)
[Nexus 4 Original Android Development] ihancioglu:
I am not using PIN lock. Yes It happend after reboot but I think a few minutes later not after the boot up.
[Nexus 4 Original Android Development] arifroni:
sometimes i get flickering screen.... it started after i updated to 4.4. anyone experiencing this effect?

Sent From Nexus⁴
[Nexus 4 Original Android Development] CalabiYau:
Thanks!

By the way, I've found this in the kitkat note: http://developer.android.com/about/versions/kitkat.html:

"In Android itself, changes across the system improve memory management and reduce memory footprint. Core system processes are trimmed to use less heap, and they now more aggressively protect system memory from apps consuming large amounts of RAM."

I don't know who these core system processes are, but it is clear that this is the whole point with heavy apps, being this protection activated and killing them. Are kernel ones or belongs to other place? Apologize my lack of knowledge about kernels :)

Again, thanks for your awesome work (I follow you since that i9000. Great old times)
[Nexus 4 Original Android Development] Kocai:
As far as I know, on stock KRT16S Chrome would reload the page every time if you open it after you switch to another apps and open Chrome again. Saw a screen recording of it a few weeks ago. So maybe it's not kernel related?

I follow him since i9000 as well. Using his JB 3.0.0 from July because it's just rock solid.
[Nexus 4 Original Android Development] PeterFdeVries:
Is the 1.8.5 also usable on the new 4.4.2-android version? Wanted to update from 4.4 to that version because of mediocre battery life. Read that the new version is doing better.
[Nexus 4 Original Android Development] RealSlimShadyMC:
Boots on 4.4.1 and 4.4.2 fine.
[Nexus 4 Original Android Development] saifulh2304:
Hello guys, I'm quite new with semaphore. I have a question on the default freq on this kernel. Is it normal when in idle situation, its only run 2 cores with 384 MHz and 1.5 GHz each one?
[Nexus 4 Original Android Development] -iNSiGhT-:
Reboot into TWRP, choose to reboot in bootloader, then go to recovery again and flash.

Paranoid mako
[Nexus 4 Original Android Development] snak3ater:
2 cores will be always on as Default.in idle both cores should stay at 384mhz...
[Nexus 4 Original Android Development] saifulh2304:
why when my device is in idle, one core showed 384MHz and another was 1.5GHz..I never tune any setting and clean flash
[Nexus 4 Original Android Development] saifulh2304:
[MENTION=3750240]stratosk[/MENTION] sorry to interupt u..is it this behaviour normal or there is something wrong with my system monitor..
[Nexus 4 Original Android Development] RealSlimShadyMC:
How long is it staying in those frequencies?
[Nexus 4 Original Android Development] snak3ater:
2nd core freq is going up & down or just always staying at 1.5Ghz?

I just checked..I have set 1 core as min...freq stayed at 384Mhz..

Freq of that 1 core kept on changing to 486,594Mhz but that's i.Not going above that..I can't take screen shot.Because as soon as i touch the screen,Core Freq changes which is normal
[Nexus 4 Original Android Development] stratosk:
Please check with top command if a process runs and uses your cpu. In terminal emulator run this command and let it run for few seconds. Then please post the output:

top -m 10
[Nexus 4 Original Android Development] rawdealer:
[MENTION=3750240]stratosk[/MENTION] Maybe it was already questioned (didn't found) and answered too. Will I have to stay on stock kernel on Nexus 5 or are you planning to make it for N5 too?.

Thanks :)
[Nexus 4 Original Android Development] stratosk:
I don't know if you have to stay on stock kernel or not, my friend. :)

But, unfortunately no Semaphore for N5.

Enjoy your new device!
[Nexus 4 Original Android Development] HiM@L:
yet another reason to not regret getting N5...thank you for this awesome kernel.
[Nexus 4 Original Android Development] fajarlazuarding:
Is there a guide for every function of semaphore manager ? Like what's the function of SAI ? Etc.

Just curious and also i want explore more about that :) thanks in advance
[Nexus 4 Original Android Development] stratosk:
[MENTION=5267403]saifulh2304[/MENTION]

It seems normal. If your cpu does not stay at 1.5GHz for long period (as it's mentioned) it's normal.
[Nexus 4 Original Android Development] saifulh2304:
[MENTION=3750240]stratosk[/MENTION] if you said so then it's good..but I'm just curious with my System Monitor reading..that's all..Thanks anw ;)
[Nexus 4 Original Android Development] snak3ater:
This is the ultimate guide..Works best :good:
[Nexus 4 Original Android Development] stratosk:
It's normal if 1 core goes to max from time to time.

If System Monitor shows that 1 core is always at max then a process takes cpu time. You may find the process with the top command.
[Nexus 4 Original Android Development] fajarlazuarding:
Oh god lol well then :confused:
[Nexus 4 Original Android Development] snak3ater:
Okay..So i just used the ultimate guide...

Read these comments..SAI is being discussed here :)

SAI
[Nexus 4 Original Android Development] Italico:
Thanks a ton, Stratosk, phenomenal kernel.

Here's the battery results on SlimKat 4.4.1 Beta

[MENTION=3750240]stratosk[/MENTION]: I tried the Jitter filter option, but when scrolling the list or the page makes some kind of a jump just after the beginning of the scroll.

Now I leave it off, and everything is fine, and smooth. I just want You to know that this happens.
[Nexus 4 Original Android Development] oska3:
Hi,which options i must turn on for more battery safe?interactive or ondemand is better for battery?
[Nexus 4 Original Android Development] deedeeceleb:
Took me one minute to find some good settings.

Aimcr7 got 6+ sot

You should try undervolting by yourself because not every chip is the same.

I undervolted -150 at lower freqs and -112 at higher voltages

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] reginickneo:
+1, TC drains the battery, when i tested it was "sinking". Not so dramatic but arround your experiment.
[Nexus 4 Original Android Development] matesc:
You guys better check BBS or what is draining your battery.

How long is your touchwake delay? On SGS we had a standard of 15 seconds for touchwake.

Edit: TC!! Nevermind!
[Nexus 4 Original Android Development] manjee:
You are right mate but you read wrong ;)

They are talking about touch CONTROL which actually sips battery during idle as opposed to touchwake.
[Nexus 4 Original Android Development] matesc:
Oops! :)
[Nexus 4 Original Android Development] jelle2503:
yes touch control holds the digitizer of the touchscreen awake to detect touch, so it will drain more battery

i heard someone say physical strain on the button coz he is a poweruser. i think a poweruser of that button and not the phone. these buttons go through extensive Quality assurance and will not fail quick at all

Verstuurd van mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] manjee:
One can spare his device's buttons at the cost of battery but considering that the battery is not swappable and it has a limited lifetime as well, I'd rather spare my battery :D
[Nexus 4 Original Android Development] pitjago74:
0.6.0+ touchwake ON....chip Nominal:D

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] paul89rulez:
D: guy, 6h of screen on is awesome! +1 to this kernel!
[Nexus 4 Original Android Development] pitjago74:
Stratosk he ist great....i love his kernel:D

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] TRSolebum:
+1

And touchwake is simply awesome :)
[Nexus 4 Original Android Development] nazem:
Battery life?

Has anyone tried this kernel with PA3? If so, how's the battery life?
[Nexus 4 Original Android Development] TRSolebum:
I'm using it at the moment.

I have 1.5h of sot and only lost 28% so far...

So it's pretty good IMO :)
[Nexus 4 Original Android Development] nazem:
Thanks, I'll give it a try!
[Nexus 4 Original Android Development] Millionas:
Don't know if someone has asked already, but are you going to release a BM version of your kernel?

Trolololololololo :)

Good to see you here!
[Nexus 4 Original Android Development] Tylog:
After a lot testing my color scripts works fine now and I am happy with the kernel in combination with slimBean Rom.

That touch control not working is not fine but no big deal, all other things are fine and the kernel will now my daily driver.

Now my phone works perfect , nothing to do , need a new phone:D

Tapatalk
[Nexus 4 Original Android Development] H-Body:
Do you have a working script with halfbreed settings from moles? I'm not able to make it work in a right way :(
[Nexus 4 Original Android Development] Tylog:
Yes I have and it works fine. I will post it in the evening when I am at home with a short how to if you need :)

I am at home in two hours than I can do it

Tapatalk
[Nexus 4 Original Android Development] H-Body:
That would be great! I know where i have to copy it and set the permissions but im too untalented to set up the script with those numbers :P

Thx anyway :)
[Nexus 4 Original Android Development] Nil253259:
If someone can tell me whether increasing go hispeed load value in interactive would increase the performance or decrease it.thanks
[Nexus 4 Original Android Development] snak3ater:
Would decrease the performance..

for more battery life..just decrease the highspeed freq and increase the highspeed load
[Nexus 4 Original Android Development] TheQuarterMile:
Never got such awesome battery in a while! Went up to 1day 2hrs. Standby and 3hrs. 30min SOT

Thanks for this awesome kernel!
[Nexus 4 Original Android Development] Nil253259:
Thanks.. So i don't want battery.. I want a bit of more speed.. So i will decrease highspeed load.. Right?
[Nexus 4 Original Android Development] Midomad:
Stratos

4.4.2 Binaries are out ;)

Envoyé depuis mon Nexus 4 avec Tapatalk