yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] jer_ying_fd:
Just to add that CallMeAldy will release kernel source in a few hours :)
[Nexus 4 Original Android Development] stratosk:
Hi, I'm OK. I hope you are OK too... :)

Yes, I will try to release Semaphore for M as soon as Google release images and kernel sources.
[Nexus 4 Original Android Development] PVL_93_RU:
Uh, but N4 isn't getting official 6.0 so there will be no images or kernel sources, unless you use the blobs and stuff from other devices
[Nexus 4 Original Android Development] jacomail95:
Good news here

https://plus.google.com/+AldrinHolmes20

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] onurdroid:
Can't wait! [MENTION=3750240]stratosk[/MENTION]
[Nexus 4 Original Android Development] thatkindaguy:
Kernel source here:

https://github.com/CallMeAldy/kernel_lge_mako

Thanks to [MENTION=4450732]CallMeAldy[/MENTION]
[Nexus 4 Original Android Development] granazis:
Hi,my friend kernel Semaphore_N4_3.3.0 already flashed(yesterday) and works flawless on occam-lmy48t-factory-416938f1

build.

TNX!!! for your WHOLE work for our N4.

just informing

Have a nice day

ΧΡΗΣΤΟΣ -> ΧΡΗΣΤΟΣ ΘΥΜΗΣ on g+
[Nexus 4 Original Android Development] stratosk:
As far as I can see, this is not google source code... :)

Anyway, I am not going to flash other than stock ROM in my phone, because I really need it for development.

I have to wait Google to release image and sources to upgrade to M. If and when....
[Nexus 4 Original Android Development] dragos281993:
There's no releasing of any official sources or image from Google for our Nexus 4. No more updates for us, that thing's been clear for a while now.
[Nexus 4 Original Android Development] granazis:
[MENTION=3750240]stratosk[/MENTION], refering on my post my post #8659, kernel-> no any intreference in compination with xposed-v75-sdk22-arm, XposedInstaller_3.0_alpha4 apk, using only Gravity box module ATM.

Just informing

Regards
[Nexus 4 Original Android Development] stratosk:
New version 3.4.0

- Linux kernel 3.4.110
[Nexus 4 Original Android Development] txuki2005:
[MENTION=3750240]stratosk[/MENTION] Miles thanks sir!!

update to M? :P
[Nexus 4 Original Android Development] MtG92:
Yes, it would be amazing to have MM Semaphore! ?
[Nexus 4 Original Android Development] gialakias:
Guys, check post #8660.
[Nexus 4 Original Android Development] deeppans:
[MENTION=3750240]stratosk[/MENTION]

I bought Nexus 6 in exchange of Nexus 4, so leaving Semaphore for now.

But I really hope to see Semaphore(& you) in Nexus 6.

Thank you very much for all your honest efforts.
[Nexus 4 Original Android Development] stratosk:
Enjoy your new device, my friend!
[Nexus 4 Original Android Development] deeppans:
Hey [MENTION=3750240]stratosk[/MENTION]

Any plan to upgrade your N4 to N6.

Or any plan to support N6.
[Nexus 4 Original Android Development] stratosk:
Hi,

Unfortunately, no plans for a new device. I can' t support a device without extensive tests. So, I have to own the device in order to release a kernel.
[Nexus 4 Original Android Development] ForMartha:
[MENTION=3750240]stratosk[/MENTION]

Have you considered installing marshmallow ROM and developing the kernel to fit it?
[Nexus 4 Original Android Development] jer_ying_fd:
No official marshmallow = no kernel
[Nexus 4 Original Android Development] a g bell:
Which m ROM would that be?
[Nexus 4 Original Android Development] ForMartha:
It's up to him mate:D
[Nexus 4 Original Android Development] stratosk:
Happy New Year!
[Nexus 4 Original Android Development] jer_ying_fd:
Happy New Year, stratosk!
[Nexus 4 Original Android Development] paolocorpo:
Happy New Year to you too

:good:

Ciao

Paolo
[Nexus 4 Original Android Development] HiM@L:
Happy New Year....May 2016 bring good deeds with it :)
[Nexus 4 Original Android Development] Fenvarien:
Happy new year to all Semaphore kernel fans and especially to you Stratos! :good: :)
[Nexus 4 Original Android Development] deeppans:
Happy new year [MENTION=3750240]stratosk[/MENTION]!

Miss Semaphore kernel on N6
[Nexus 4 Original Android Development] a g bell:
[MENTION=3750240]stratosk[/MENTION] hello there bit of checky one would you be able to look at last.kmsg its for a test kernel it keeps giving reboots dont know who else to ask?
[Nexus 4 Original Android Development] stratosk:
Please send the log. I'll check if I can find something
[Nexus 4 Original Android Development] a g bell:
Thanks so much l will pm the drive link pm sent?
[Nexus 4 Original Android Development] a g bell:
[MENTION=3750240]stratosk[/MENTION] you get pm ?maybe l ask tomorrow if you find anything?
[Nexus 4 Original Android Development] a g bell:
Thanks for the offer my friend it seems the error was simply a voltage issue cause of reboots

Thankyou somuch for your time?
[Nexus 4 Original Android Development] stratosk:
Hi my friend,

As the log says it's a bug in the kernel you use:

[ 683.596008] ------------[ cut here ]------------

[ 683.596056] kernel BUG at ../../../../../../kernel/lge/hells-Core-N5/drivers/regulator/core.c:166!

...
[Nexus 4 Original Android Development] a g bell:
Thanks again for your time will look at this?
[Nexus 4 Original Android Development] underskyzx:
I was looking at exponential brightness code... dam I wonder how did you just figured that out ur a genius for sure!
[Nexus 4 Original Android Development] Burn02:
Hello, is there any news for a kernel ready for android 6? :)

I did not see any news even a stop news, so i wonder if there is any chance to have any update or news?

I like this kernel and use it, but did not find any news for android 6.X. :)
[Nexus 4 Original Android Development] stratosk:
New version 3.4.1

- Linux kernel 3.4.111
[Nexus 4 Original Android Development] jer_ying_fd:
Awesome! :good: Thx for your work
[Nexus 4 Original Android Development] DingoDingo:
Any news about Marshmallow version?

I am missing your kernel so much.
[Nexus 4 Original Android Development] Burn02:
Thank's!!! :)

Need a 6.0 version but, it's still great for the moment. :)
[Nexus 4 Original Android Development] jer_ying_fd:
No Marshmallow version because he needs his phone for development, so only official factory image is used.
[Nexus 4 Original Android Development] 3ftw:
This kernel can be used for stock ROM?
[Nexus 4 Original Android Development] jer_ying_fd:
5.1.1 factory image, so yeah
[Nexus 4 Original Android Development] Burn02:
That is to say that if we wan t to use a 6.X rom, we will need to stop using semaphore? IT will never have a 6.X kernel version? :'(
[Nexus 4 Original Android Development] jer_ying_fd:
There is an unofficial version by snak3ater but it suffers from the issue of wifi disconnecting for no reason. It is for 6.0.1 but don't report any bugs here since it's unofficial.
[Nexus 4 Original Android Development] Burn02:
Thank's for your anwser.
[Nexus 4 Original Android Development] Snakebar:
How do I understand if I'm using JSS15J or JWR66V/JWR66Y ROM? I've googled for it and searched within my telephone info panel but couldn't find out.

I currently use 5.1.1 stock.
[Nexus 4 Original Android Development] Snakebar:
Ok I've solved my last question myself, nevermind it (though I'd have appreciated if someone told me the attachments in the first post contained very old versions).

Now for another question. Do you think double tap to wake is potentially power consuming? My N4 consumed about 5% more tonight while in airplane mode and I think it was due to keeping the touch active during that time, but I'm still investigating.
[Nexus 4 Original Android Development] jer_ying_fd:
it is power consuming because you need to keep the display on the whole time (the touch sensor part), our hardware is incapable of handling it like the newer devices so it drains more battery.
[Nexus 4 Original Android Development] Snakebar:
Got it, thanks. Same problem with the proximity sensor? I've tried a "wake up on cover opening" app but experienced a relevant battery drain as well.
[Nexus 4 Original Android Development] jer_ying_fd:
Yes, that is correct, as it is extra power used.
[Nexus 4 Original Android Development] Snakebar:
It's been a bunch of days since I'm trying this kernel. Man, the battery consumption is awesome when the phone is in standby. The battery probably lasts as double compared to stock kernel. Great, great job. Also did some minor undervolting (you can see the tab below and, well, judge it if you'd like to).

Unfortunately I'm still experiencing sleep of deaths as when I've been with stock kernel. Looks like not even a different kernel can fix this, even if it's known to be a kernel related problem, huh.
[Nexus 4 Original Android Development] chenshaoju:
Hello everyone.

I found a strange issue about camera.When I using Video Chat software,Like Skype,The Phone screen well Black in least 5 min,No response,After black screen,If waiting more 1 min,The phone well reboot by self.

I checked the lask_kmsg Look's fine,Only have "Last boot reason: hw_reset".

I'm not sure only me have this issue or everyone.

Version:

Linux localhost 3.4.111-Semaphore_N4_3.4.1 #1002 SMP PREEMPT Thu Mar 24 14:22:49 EET 2016 armv7l GNU/Linux

last_kmsg:
[Nexus 4 Original Android Development] stratosk:
New version 3.4.2

- Linux kernel 3.4.112
[Nexus 4 Original Android Development] stratosk:
Just an announcement :)
[Nexus 4 Original Android Development] DingoDingo:
Great!
[Nexus 4 Original Android Development] Vioner:
[MENTION=3750240]stratosk[/MENTION] I keep thinking why max level of exponential brightness is NOT equal to max level of linear brightness. It seems illogical to me. I thought the feature only gives us the possibility to adjust brightness more, to make it darker, but after using it I see a really significant difference in max brightness levels. For now I just toggle the brightness to linear when I go out in the sun and then back to exponential when at home, but wouldn't it be better to just replace linear with exponential completely as it's simply better? Maybe I don't understand how this works and it can't be done? Please explain.

Also thank you for this feature, it's so awesome.
[Nexus 4 Original Android Development] stratosk:
Sorry, for the so late response. I am pretty busy working on Footej Camera app...

It's just the way the drive works. I would say that maybe I can check it but... see next post...
[Nexus 4 Original Android Development] stratosk:
R.I.P. my good friend...

Screen (and digitizer) are fully damaged... Though, its heart is still fully working and powered by Semaphore...
[Nexus 4 Original Android Development] Midomad:
Sorry to hear that good freind.

I hope a Nexus 5x for you're new phone it's a good phone with good price.

Missing Semaphore on my phone..
[Nexus 4 Original Android Development] Vioner:
[MENTION=3750240]stratosk[/MENTION] ok thanks for the reply, may your N4 R.I.P.
[Nexus 4 Original Android Development] stratosk:
Thanks for your words, my friend!

Actually, photo taken from a Nexus 5X... :)

As you said, good phone and good price. And also it's a Nexus...
[Nexus 4 Original Android Development] gialakias:
You mean, well, you own it, oh my God! Waiting for semaphore for 5X? Oh my God it is unbelievable. So sorry about 4. Thank you for your work [MENTION=3750240]stratosk[/MENTION]
[Nexus 4 Original Android Development] Midomad:
Oh Nice,You made my day.

I'm waiting for you on Nexus 5x thread. [emoji39]
[Nexus 4 Original Android Development] fishears:
[MENTION=3750240]stratosk[/MENTION] Sorry to see your N4 like that. Its never nice being forced to upgrade.

My rear glass shattered last week and I've been using it as an excuse to get a 5X. Maybe your choice will seal the deal for me :D
[Nexus 4 Original Android Development] spezi77:
Ouch, it is a pity to lose an old companion, but it also brings new chances.

Edit: May I ask for your "official" permission to port your kernel over to marshmallow?
[Nexus 4 Original Android Development] deeppans:
Felt bad to hear and see that.

Any chance for your kernel for nexus 6
[Nexus 4 Original Android Development] stratosk:
Yes, indead. Let's see the new chances... :)

Of course, you may port the kernel. As you know it's open source.

But please don't use "Semaphore" word in your kernel's name. Also, credits are welcomed. :)
[Nexus 4 Original Android Development] stratosk:
I'm sorry. I don't own a Nexus 6, so it's impossible to build a kernel for it.
[Nexus 4 Original Android Development] grinder777:
Sorry to see and hear that my friend... ...but... N5 people are lucky people ;)

Am still happy with my S3mini, not sure how long to come over :)

Have fun!

Gesendet von meinem GT-I8190 mit Tapatalk 2
[Nexus 4 Original Android Development] Midomad:
So how's you're nexus 5x? [emoji1]

Is he already enjoying semaphore?
[Nexus 4 Original Android Development] stratosk:
I like it. I think it's a very good device.

No, currently running stock kernel. I'm extremely busy working on Footej Camera at the moment...
[Nexus 4 Original Android Development] Midomad:
Ok,Take you're time.
[Nexus 4 Original Android Development] icedzed:
solved
[Nexus 4 Original Android Development] icedzed:
how can i set the kernel on boot? my power button doesn't work perfectly and i'm trying to activate double tap to wake when i boot
[Nexus 4 Original Android Development] Burn02:
Bad news, thank's for your work for the nexus 4... :)
[Nexus 4 Original Android Development] Snakebar:
So the semaphore project for mako has been discontinued?

Right after I've made a little donation when you had just released 3.4.2 to support your work on mako...

How unfortunate.
[Nexus 4 Original Android Development] Gu$houn*:
[MENTION=5405533]Snakebar[/MENTION] as long as you could enjoy multiple pieces of [MENTION=3750240]stratosk[/MENTION]'s work on basically every other kernel out there, your donation is never unfortunate ...

P.

[sntfrmnxs⁴]
[Nexus 4 Original Android Development] spezi77:
I have created a port to Marshmallow on base of 3.4.2 Kernel, called "Revival".
[Nexus 4 Original Android Development] Snakebar:
It really is a minor donation for enjoying this piece of fine work and hoping for further support. For now I stil have a Nexus 4 and I'm not planning for any upgrades in the short term. Guess that'll force me to try CM13 as I'm still looking for a solution for the sleep of death issue.
[Nexus 4 Original Android Development] stratosk:
Thank you very much, my friend! Really appreciated! And believe me it's major for me
[Nexus 4 Original Android Development] Gu$houn*:
[MENTION=3750240]stratosk[/MENTION], my friend, could you please check your web storage, I'm trying to download the latest version of your kernel but it says it's not there and since it has been apparently the only one place where I could get it, you're my last hope. Thanks in advance.

P.

[sntfrmnxs⁴]
[Nexus 4 Original Android Development] stratosk:
I'm sorry for the inconvenience, my friend. I was facing some issues with my site.

I'm working to restore the data. I think very soon will be available...
[Nexus 4 Original Android Development] Gu$houn*:
Thanks for your fast reply and effort, [MENTION=3750240]stratosk[/MENTION].

P.

[sntfrmnxs⁴]
[Nexus 4 Original Android Development] stratosk:
[MENTION=3296383]Gu$houn*[/MENTION] I think it's OK now! :)
[Nexus 4 Original Android Development] Gu$houn*:
[MENTION=3750240]stratosk[/MENTION] yep, it's working now, thanks!

P.

[sntfrmnxs⁴]
[Nexus 4 Original Android Development] nouman8:
[MENTION=3750240]stratosk[/MENTION] Do update the kernel to 3.4.113 when you are free :)

the only stable fast and battery saving kernel for me!!!

Thanks for your hardwork...really appreciate it.
[Nexus 4 Original Android Development] stratosk:
Thanks but it's not possible (without a device to test it). And I don't want to release an untested kernel...
[Nexus 4 Original Android Development] ctfrommn:
Its always been like that. It applies extra voltage on boost to stabilize the large frequency jump. Most reboots happen when turning on the screen or some other boost event while lacking adequate voltage. I did think Google reverted/removed that with the 4.2.2 update kernel though. I must have been mistaken.
[Nexus 4 Original Android Development] sirxdroid:
I don't think it has anything to do with the "boost" as we know it from governors. My understanding it that it simply increases the voltages for Nominal/Fast/Faster from those used by Slower, it doesn't do anything dynamically.

If you look at the table from post #2, the stock VDD for Fast is always boosted by 25mV:

CPU PVS: [B]Fast[/B]
Boost uV: 25000
Boost uV enabled: No
Upper KHZ threshold: 1350000
Lower under uV: 25000
Upper under uV: 12500

CPU KHz [B]VDD(stock)[/B] VDD(final)
384000 [B]875000[/B] 825000
486000 900000 850000
594000 925000 875000
702000 950000 900000
810000 1000000 950000
918000 1025000 975000
1026000 1050000 1000000
1134000 1100000 1050000
1242000 1125000 1075000
1350000 1150000 1112500
1458000 1162500 1125000
1512000 [B]1175000[/B] 1137500
[Nexus 4 Original Android Development] leos0000:
Hey guys tommorow update os 4.3 :) :D
[Nexus 4 Original Android Development] Vangelis13:
You know something we don't..?

(:D)
[Nexus 4 Original Android Development] jiovaxrs:
:rolleyes: :p :D :thumbup:
[Nexus 4 Original Android Development] jarjar124:
It's not like there will be a system update :P
[Nexus 4 Original Android Development] sirxdroid:
I hope the N4 LTE rumor is true. And fix the crappy bluetooth stack, Google!
[Nexus 4 Original Android Development] leos0000:
I want rooted stock 4.3 :D
[Nexus 4 Original Android Development] stratosk:
The boost_uv is used all the time (until you disable it).

Yes, I guess it is used for more stability. Maybe they did it to enable/disable it in different cases.

But it's always on.
[Nexus 4 Original Android Development] sirxdroid:
Doesn't it seem strange that the better bins get a voltage boost instead of perhaps slower and nominal?
[Nexus 4 Original Android Development] stratosk:
Only the slow bins does not get voltage boost.

But other bins already have lowered voltages compared to slow.
[Nexus 4 Original Android Development] sirxdroid:
So wait, they have lower voltages but then they get a boost? Sounds strange :)
[Nexus 4 Original Android Development] stratosk:
Even with boost, they are still lower than slow bins voltages.

And the boost is used through a parameter. Anyway, I don't know exactly what they have in mind... :)
[Nexus 4 Original Android Development] pikachukaki:
Strato im having problem with disabling boost_uV....getting after the command that can't create /sys/module/acpuclock_krait/parameters/boost_uV

Also why you don't implement UV in your app??
[Nexus 4 Original Android Development] stratosk:
I'm sorry, I didn't understand. How do you try to disable it?

Coming soon in my app...
[Nexus 4 Original Android Development] pikachukaki:
The boost_uV may be disabled (= undervolting by 25000 uV in Nominal, Fast and Faster) using this command:

Code:

echo n > /sys/module/acpuclock_krait/parameters/boost_uV
[Nexus 4 Original Android Development] stratosk:
Sorry, my mistake. I had a typo (corrected in second post).

Please try this

echo n > /sys/module/acpuclock_krait/parameters/boost
[Nexus 4 Original Android Development] pikachukaki:
Thats why i hate terminal i will wait for your app update!!!
[Nexus 4 Original Android Development] TheeWolf:
stratosk, could you please write a FAQ and add that command and explain what it shows and when we should send you the kmsg file? Meaning, what should be the conditions for sending a kmsg and not a logcat, for example.

It is possible that one day I'll have to send you a kmsg file as well and I don't want you to tell me what to do (after you said that again and again and again). Of course this is only a recommendation, I think it would be better for you to just say "please take a look at the FAQ" instead of writing again and again full instructions.

I do appreciate you patience, though :)

You could also attach this link if you like:

https://code.google.com/p/tegraowners-ics-rom/wiki/How_to_get_logs
[Nexus 4 Original Android Development] stratosk:
Please run 'su' (without quotes) before your commands. You need root permissions to change these.

Yes, it's good idea. One more thing in TODO list :)
[Nexus 4 Original Android Development] Mahdi786:
You need to be superuser, type "su" and press enter then type the boost command
[Nexus 4 Original Android Development] pikachukaki:
Thats happent when you try to compile without luck all night and stay awake!! :)
[Nexus 4 Original Android Development] Fabio3105:
I'm sorry men, what is early demand on ondemand governor?? what do it do?
[Nexus 4 Original Android Development] stratosk:
Please read this:

http://www.semaphore.gr/80-latests/98-ondemand-early-demand
[Nexus 4 Original Android Development] Galeanatur:
My question is if that uv_boost affects the battery...should we disable it for battery porpuses or its ok ?
[Nexus 4 Original Android Development] stratosk:
Stock kernel has it enabled by default.

boost affects voltages. Voltages affect battery.

If you disable it you will have lower voltages.
[Nexus 4 Original Android Development] pikachukaki:
While coming from franco kernel conf is quite difficult...many features don't exist on kernel app..and you mention something about sema script app that exist on a samsung forum..and its for ics...can we use it?its for JB? scripts are for our device too?
[Nexus 4 Original Android Development] stratosk:
All features except undervolting are supported from Semaphore Manager.

There is no need for scripts.

WIP for undervolting options in app.
[Nexus 4 Original Android Development] a g bell:
Got this working in terminal then got a sod soon after my CPU is binned faster :eek:
[Nexus 4 Original Android Development] stratosk:
You mean you disabled boost? This was the only change?
[Nexus 4 Original Android Development] Fabio3105:
thankyou... i read it, but i don't understand what do it do... :eek:
[Nexus 4 Original Android Development] a g bell:
@ stratosk what is your CPU binned at ?
[Nexus 4 Original Android Development] eep2378:
[MENTION=631001]strat[/MENTION], any plans to add an option to lower the max freq with your app? In my experience, phone feels just as smooth at 1134mhz or 1242mhz, yielding longer battery life.

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] ursubpar:
Am I the only person here that has a capped CPU frequency? I didn't notice that it was capped until I saw this.
[Nexus 4 Original Android Development] BlueFlame4:
50 is a good threshold value. You can imagine it as a gradient in an XY coord system where threshold of 50 means 45° rising AFAIK.

Sent from my Gameboy Color
[Nexus 4 Original Android Development] mundixx:
Mine is not capped. What settings do you use for your governor/scheduler?
[Nexus 4 Original Android Development] ursubpar:
Fresh flash with nothing changed.

No apps except for semaphore manager.
[Nexus 4 Original Android Development] Ümit:
Thanks Stratosk. it's great kernel. very smooth.

When will nexus 4 auto brightness driver like galxy s?

It was fine option for me.
[Nexus 4 Original Android Development] ursubpar:
Just did a reflash of everything with a data wipe. Everything seems to be working fine now.
[Nexus 4 Original Android Development] stratosk:
I have a fast bin chip.

Yes, maybe I could add this. Let me think about it.

Thanks!

About auto brightness:

1) I feel ROM's auto brightness works fine.

2) Even if I want to port auto brightness driver to N4, I would have major issue because there are no driver for light sensor in the kernel.

Light sensor driver works in user space in N4

So, I think it's not possible.
[Nexus 4 Original Android Development] Sherrillface:
Motley m+ build 4 awesome battery life and at 1026 or 1134 is still fast and smooth as butter
[Nexus 4 Original Android Development] Hyperionas:
Perhaps,but this is Semaphore's thread...

Thank you so much StratosK for your excellent work here!! :good:

Your efforts are greatly appreciated! :)
[Nexus 4 Original Android Development] stratosk:
Thanks for let us know. :)
[Nexus 4 Original Android Development] Tylog:
Made my Day :D
[Nexus 4 Original Android Development] mundixx:
Hi stratosk,

Any plans to merge the patches that lessens the msm_hsic_host wakelocks? :D:D

Tapatalked from my AOSPA Nexus 4