yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] vampire36:
[MENTION=3750240]stratosk[/MENTION] Perfect bro...great explanation...I used the same method of flashing your kernel then SuperSU 2.76 so that it doesn't encrypt my phone... Performance is decent...lags though even I observed but wasn't sure what was causing it...rom or throttling or something else..! About the image vs zip thing whatever best suits bro...with twrp now supporting flashing boot.img I think even if you stick to image it's fine... We can always flash the SuperSU after that... The extra effort worth for semaphore smoothness :)
[Nexus 5X Original Android Development] stratosk:
I will check it out.
[Nexus 5X Original Android Development] stratosk:
Ondemand is the default Linux kernel governor and it was always my favorite.

But I'm not sure yet.
[Nexus 5X Original Android Development] Shyciii:
[MENTION=3750240]stratosk[/MENTION]

Hi! Good to see you here too :) Your kernel is very smooth, I'm very happy with it, and I use Footey Camera Premium too :) :)
[Nexus 5X Original Android Development] dickenam:
I've had a couple random reboots running this - as I am stock and unrooted, how would I get any debug logs?
[Nexus 5X Original Android Development] stratosk:
Thanks a lot my friend! Much appreciated!
[Nexus 5X Original Android Development] stratosk:
Unfortunately, without root you can't access /proc/kmsg (kernel log).

Any specific actions before the reboot (use of specific app for example)?
[Nexus 5X Original Android Development] dickenam:
I didn't think so =[

Once, I was in Hangouts. But most of the others, phone was resting on desk at work.
[Nexus 5X Original Android Development] stratosk:
Could you please check if it is kernel reboot or not checking the device's uptime your settings?
[Nexus 5X Original Android Development] dickenam:
The uptime reflects the amount of time since the reboot AKA the uptime timer was reset. Not sure if that indicates kernel or not. Thanks for looking into this!
[Nexus 5X Original Android Development] :
[MENTION=3750240]stratosk[/MENTION] Look at the top https://github.com/scafroglia93/bullhead_mm/commits/uranium
[Nexus 5X Original Android Development] stratosk:
Yes, if the timer was reset you had a kernel reboot.

Without kernel log we can't be sure what's going on.

Any "special" configuration on your device? Bluetooth, WiFi? Does your device overheats or something?
[Nexus 5X Original Android Development] dickenam:
WiFi and BT with my Moto 360.

EDIT: WiFi is corporate, 802.1x EAP 5ghz. I assume your WiFi drivers are stock ¯\(°_o)/¯
[Nexus 5X Original Android Development] parthabhatta:
Working great. I am loving the .img format of the file. Thanks
[Nexus 5X Original Android Development] KSLevel11:
Nice to see you there Stratosk!

Great kernels for SGS, N4 and now N5X.

Wysłane z mojego Nexus 5X przy użyciu Tapatalka
[Nexus 5X Original Android Development] stratosk:
I opened BT since your last post and no reboots on my side. I also have WiFi always on (5GHz).

No, I didn't change anything in WiFi drivers.

I merged hundreds of commits from Linux kernel in 0.2.0 version. I hope that I didn't break anything resolving the conflicts.

If you want you may try 0.1.0 version and check if the problem persists.
[Nexus 5X Original Android Development] *ReZa*:
wowww i am extremely happy to see you here again after using my Legend Samsung galaxy S i9000 with your excellent kernel which will never be repeated again . it was my first and best experience in android .. wow you made my day man :highfive:
[Nexus 5X Original Android Development] dickenam:
For what it's worth, rolled back to 0.1.0 and I haven't had a single reboot in 36h of uptime. Whereas previously, I'd average 2 or 3 per charge cycle.

Upstream Linuxxxxxxxxxxxx [grumbles and shakes fist at sky!]

EDIT: Normally, I don't care about a random reboot or 2. But, my company (for AFW), requires the use of a PIN to BOOT Android, so I have woken up a couple times to the input PIN screen =]
[Nexus 5X Original Android Development] Topse:
I used 0.2.0 3 or more days and had no reboot. ( Tupac's DP5 )
[Nexus 5X Original Android Development] dickenam:
Kernel (0.1.0) works on today's Nougat OTA.

FYI for those that are gun shy =]
[Nexus 5X Original Android Development] stratosk:
Thanks for the test!

I hate reboots even if they don't happen on my device.

The problem is that I can't reproduce it and without logs I can't have any idea about the bad commit. We could do tests using bisect but this would require sending you several test versions and waiting for random reboots...
[Nexus 5X Original Android Development] dickenam:
Sent you a PM, I won't take up more space in your development thread =]
[Nexus 5X Original Android Development] vampire36:
[MENTION=3750240]stratosk[/MENTION] : The last discussion that we had based on that I did a bit of research regarding sweep to sleep gesture. As you said it can be done by rom but unfortunately stock has no support for it. Using app it needs root and the approach is more a hack rather than the right way to turn screen off....So would be great if you can consider adding the gesture as a part of you kernel of course if the code is clean and doesn't affect the kernel stability...Elementalx kernel by [MENTION=4684315]flar2[/MENTION] has the source of the feature...

https://github.com/flar2/bullhead/commit/b810b8e758ddd786c46447c355f6c0659185b345

https://github.com/flar2/bullhead/commit/9472f15c3b1d253582f02b72f6e5a9c2848b1415

Waiting for your new version with N release source...Semaphore with android N gonna be killer combo for bullhead...!

Hows the new device treating you btw ? You must be loving the camera way better than mako one :)
[Nexus 5X Original Android Development] stratosk:
Thanks for the commits, my friend. But I'm strongly against this as an idea. As I said I believe that this code should not be implemented in kernel. I'm really sorry, my friend...

Yes, I really like it. I would prefer it more snappy but I need to try a couple of things with governors when I'll find some free time...

Yes the camera is way better and of course the camera 2 API (always with Footej of course) makes it much more flexible.
[Nexus 5X Original Android Development] vampire36:
[MENTION=3750240]stratosk[/MENTION] Thats perfectly fine...If you feel that strongly against it you should never add. I agree about snappiness that somehow throttling and stuff kinda make 5x struggle sometimes. But am sure you can do something about it... Ohhh ya read about footej haven't used it extensively but will be using it more now on... Looking forward to your next release..:)
[Nexus 5X Original Android Development] stratosk:
Hi [MENTION=3317953]dickenam[/MENTION]

I'm posting the test version here in case someone else also wants to test it.

So, our case is random reboots. This test version is essentially 0.1.0 plus Linux kernel version up to 3.10.87
[Nexus 5X Original Android Development] dickenam:
Flashing now, will put it through the ringer for 24h =]

Thanks Stratos!!
[Nexus 5X Original Android Development] sykomaniac:
Is this aimed at usage on newest n build
[Nexus 5X Original Android Development] dickenam:
Sure is! All Semaphore builds work on N.
[Nexus 5X Original Android Development] stratosk:
Attached the 2nd test version.

0.1.0 plus Linux kernel versions up to 3.10.95
[Nexus 5X Original Android Development] stratosk:
Attached the 3rd test version.

0.1.0 plus Linux kernel version up to 3.10.99
[Nexus 5X Original Android Development] Midomad:
Factory image for the 5x are up!

https://developers.google.com/android/nexus/images
[Nexus 5X Original Android Development] vampire36:
[MENTION=3750240]stratosk[/MENTION] : Hey been testing your kernel for last 2 days...An observation is the drain is higher as compared to stock kernel..! The same observation on all dp5 based kernels when using with Android N release. Compared with stock and no apps changes or misbehavior have confirmed. I know you can't do much but wanted to put forward the observation. Now that source is out your next release will improve it :)
[Nexus 5X Original Android Development] :
Using this on N official factory image for about 7-8 hours or do now and no issues.
[Nexus 5X Original Android Development] keaheng:
Hi man.. do you plan to implement the zRam to thia kernel since it has only 2gb of ram
[Nexus 5X Original Android Development] poondog:
Stock nexus 5x/6p utilize zram anyway

Comes with it stock
[Nexus 5X Original Android Development] keaheng:
opp thats actually true. thanks for this.
[Nexus 5X Original Android Development] stratosk:
I will check it. I didn't notice something like this but maybe it's related with the reboot issue we are investigating.
[Nexus 5X Original Android Development] vampire36:
[MENTION=3750240]stratosk[/MENTION] : best way would be test a cycle with the stock kernel of release followed by semaphore and you will notice it...I think it's more related to the new source than anything else..! Let me know if you want me debug anything specific
[Nexus 5X Original Android Development] vampire36:
Hey stratosk was using your kernel last few days...wanted to say encountered no reboot even in most gruesome situation... throttle and lag yes but no reboot..! Kernel rock solid as always :) waiting for your next version to see some of your magic for bullhead :)
[Nexus 5X Original Android Development] stratosk:
Thanks for your feedback, my friend!
[Nexus 5X Original Android Development] Jonathan_m84:
Nice to see you here. Have been using your i9000 kernel, cant wait for this new kernel for the n5x. Will flash when decription can be disabled. Dont want an encrypted device;)
[Nexus 5X Original Android Development] keaheng:
Lool like dev is very busy developing the camera app. Cant wait for the next realease.
[Nexus 5X Original Android Development] HiM@L:
yup...have u tried it. its awesome!
[Nexus 5X Original Android Development] stratosk:
New version 0.3.0

- Merge Android Nougat kernel patches (up to NRD90S)

- Merge Linux kernel v3.10.103

- Mount data partition as encryptable
[Nexus 5X Original Android Development] Jank4AU:
Best kernel I've tried with stock Nougat so far. I was starting to get desperate, thinking I was doomed to sub par battery life on this phone. Well done, brother.
[Nexus 5X Original Android Development] stratosk:
Can anyone do a little test for me? I develop the new Semaphore Manager app and I'm facing some weird issues with su. I want to be sure if it's something on my side or is something with su.

On a stock rom rooted with CF root, open the Google camera. Leave it open on preview for some seconds and then (without closing camera) on an adb shell run:

top -m 10

for few seconds and get the output. Also get the adb logcat output.

Then flash stock kernel and repeat the same as above.

You may get the results in reverse order (first stock the rooted).

Thanks in advance!
[Nexus 5X Original Android Development] lol4topnz:
Hey [MENTION=3750240]stratosk[/MENTION], nice work. Can you add optional touchboost as ex kernel?
[Nexus 5X Original Android Development] stratosk:
Thanks! In my plans to check this feature.
[Nexus 5X Original Android Development] bromoxitos:
so let me see, this kernel is for stock N only for sure,can i flash it in my nexus 5x with ex kernel and stock rom N (NRD90S)???

or i must return to stock kernel 1st? and if i must return to stock, can any one tell me where i can find the stock kernel only for NRD90S?

i forgot to do a Back up the stock kernel before i flash EX...noob!!!!

ty for your time.
[Nexus 5X Original Android Development] rebretz000:
I think you can flash over EX Kernel but it wouldn't really take any more time to flash stock boot first then Semaphore.
[Nexus 5X Original Android Development] bromoxitos:
update

ok my falt i have the stock kernel and i go back and after i flash the sema kernel i download the last one and i go to flash img and after flashboot img but the phone never boot so i go back to Ex... i forgot to say i use this stock rom(http://xdaforums.com/nexus-5x/devel...fast-stable-t3398617):(:(:confused::confused:, so i must go back to full stock rom 1st?
[Nexus 5X Original Android Development] rebretz000:
no idea. you can flash the kernel that came with the rom i think then semaphore but does semaphore force encryption.
[Nexus 5X Original Android Development] :
I think it has something to do with encryption yes. I had same deal. Won't boot and I'm unencrypted.
[Nexus 5X Original Android Development] iamterence:
Tried flashing this kernel and it wouldn't boot :(
[Nexus 5X Original Android Development] rebretz000:
ROM? Build date?
[Nexus 5X Original Android Development] iamterence:
Latest Stock+ ROM, NRD90S
[Nexus 5X Original Android Development] rebretz000:
Did you come from a different custom kernel?

If so flash stock boot image, them Semaphore, then your superuser you use.

If these are the steps you've previously taken then I am of no use.
[Nexus 5X Original Android Development] iamterence:
I had the stock kernel when I reflashed my ROM. All I didn't do was flash SuperSU because I need to be unrooted for Pokemon to work
[Nexus 5X Original Android Development] rebretz000:
on a side not if you want root and pokemon you could try

http://xdaforums.com/android/software/mod-magisk-v1-universal-systemless-t3432382

it hides root so safety net will pass. must use the superuser zip provided there and the app.
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
[MENTION=3750240]stratosk[/MENTION] I must say, your work on the camera! I purchased it within 3 minutes of using it. Love the detail!!! I am about to try Semaphore for the first time and if it has the work put into it, like Footej does, I am sure I have no worries. Anyway,. just wanted to say thanks for the GREAT work and thanks for sharing.
[Nexus 5X Original Android Development] stratosk:
Thanks, my friend! I'm happy you like it! I must say it's a team work. George and myself are working on this for over a year and we wanted to deliver a top product.

Semaphore for Nexus 5x is still in it's first steps. But I hope i 'll find free time to work on it more.
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
Well tell George for me :) No, rush. Perfection takes time.
[Nexus 5X Original Android Development] vhuiya:
please download link
[Nexus 5X Original Android Development] Midomad:
http://www.semaphore.gr/downloads/nexus-5x
[Nexus 5X Original Android Development] vhuiya:
thanks
[Nexus 5X Original Android Development] snak3ater:
Miss this kernel so badly in Angler. I wish i had bought 5X.

Been using Semaphore ever since the day it got released for Mako, and kept on using it till my phone died.. lol :D

Bullhead users are lucky to have such great kernel :)

PS: 0.3.0.. This takes me 3 years back when same version was released for Mako :D
[Nexus 5X Original Android Development] vampire36:
Guess what I have bullhead...:P :P

You shouldn't have ditched the gang :P

Nice to see though how SAOSP has grown :)
[Nexus 5X Original Android Development] snak3ater:
Nice to see you here. Enjoy Semaphore :)

Regarding SAOSP, i am trying to get more maintainers and expand it as much as possible :D

Came here to say Hello to [MENTION=3750240]stratosk[/MENTION] :)
[Nexus 5X Original Android Development] stratosk:
Thanks for your kind words, my friend!

Always happy to hear from old good friends!
[Nexus 5X Original Android Development] stratosk:
0.4.0 (27/09/2016)

- cpufreq: ondemand: Eliminate the deadband effect

- cpufreq: Break out early when frequency equals target_freq

- Added conservative governor

I'm testing a combination of ondemand governor for little cluster (cpu 0-3) and conservative governor for the big one (cpu 4-5).

The default governor will be interactive because this is changed through an init script located in system/bin and I don't want to touch system.

But I use ondemand with conservative and I suggest you to give it a try. If anyone needs a script to use it, please let me know.
[Nexus 5X Original Android Development] :
Hi There. Thank you for the update, however, it states it's not on the server? Download link does not work on the site. Also, I've searched the thread but have no found a straight answer. Does this kernel force encrypt?
[Nexus 5X Original Android Development] stratosk:
Sorry, for this. I uploaded the correct files. It should work now.

No, it supposed that doesn't force encrypt.
[Nexus 5X Original Android Development] Midomad:
[MENTION=3750240]stratosk[/MENTION]

I suggest you to give a look here

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

Maybe you're experience and you're contribution to the linux kernel will help more.

Thanks for the new update.
[Nexus 5X Original Android Development] crian:
Can you share the script, please? Want to try it.
[Nexus 5X Original Android Development] :
I'd love to give it a shot as well please. :)
[Nexus 5X Original Android Development] :
I'm on a Nougat AOSP rom and tried flashing this through twrp (latest) and got red letters and bootloop. I went back into twrp flashed again and flashed boot image patcher v8 to disable force encryption and it booted fine and is running great. Just wanted to share.

Patcher located here:http://xdaforums.com/android/software-hacking/fix-fed-patcher-v8-forceencrypt-disable-t3234422
[Nexus 5X Original Android Development] khanjui:
You can flash SuperSU again instead of using this.
[Nexus 5X Original Android Development] Jank4AU:
[MENTION=3750240]stratosk[/MENTION] - This kernel is running very well, bro! I'm trying the suggested Ondemand / Conservative combo and so far I'm really liking it. Sleep last night was just awesome. Keep up the great work!
[Nexus 5X Original Android Development] stratosk:
I will check it out...
[Nexus 5X Original Android Development] stratosk:
Attached the script. It's similar with the system's init script (I removed some stuff).

As I said it selects ondemand for little cluster and conservative for big. It also selects some ondemand tunable values.

I uploaded as .txt to be able to attach it (not that really matters). Give it exec permissions and run it as root.
[Nexus 5X Original Android Development] franciscofranco:
This is a good idea :)
[Nexus 5X Original Android Development] sykomaniac:
Does anyone know why I can't install the kernel on uber rom? Has anyone managed to install it?
[Nexus 5X Original Android Development] :
Either flash SuperSU or patcher in my last post (one page back) after kernel and it will boot. :) I flashed patcher v8 after boot.img and boots fine.
[Nexus 5X Original Android Development] sykomaniac:
Hmm I've tried both but both ways result in a bootloop. Damn wanted to try this out
[Nexus 5X Original Android Development] :
Explain exactly what/how your installing everything and what's your setup. More info, more help. Did you flash stock kernel from whatever rom your on 1st then this kernel, then SU /or/ Patcher v8 then reboot? Please more info so we can help you better.

Mine rebooted once after initial reboot then booted fyi.
[Nexus 5X Original Android Development] stratosk:
Thanks [MENTION=3292224]franciscofranco[/MENTION] !
[Nexus 5X Original Android Development] hilla_killa:
Where do i put this script to properly install? Sorry first applying a script!
[Nexus 5X Original Android Development] :
Any plans to add some type of sound boost? Just curious. Love this kernel! Sleeps like a baby and it's fast. Thanks for your script. It's 5:38am here where I am located. Good morning and good day to everyone. Off to work. Yay. :D
[Nexus 5X Original Android Development] jimyiak:
I just flashed it on PN mod with pather8 and su after kernel and it booted fine..but i see cpu4 and cpu5 most of the time offline..how do i control this kernel? which app??thanks anyway!!
[Nexus 5X Original Android Development] macondo62:
+1

Sorry for ignorance
[Nexus 5X Original Android Development] hilla_killa:
Delete
[Nexus 5X Original Android Development] macondo62:
I need help from community not from you

Inviato dal mio Nexus 5X utilizzando Tapatalk
[Nexus 5X Original Android Development] Sad56:
Personally, I rename the file as .sh , put it on the root of my phone , gave it the right permission (775) and execute it with root explorer. With this method you have to do it at every boot or make the settings to apply on boot with an app like Ex kernel manager.

Envoyé de mon Nexus 5X
[Nexus 5X Original Android Development] hilla_killa:
Exactly why i posted here and not for uour ignorance post thanks for nothing

---------- Post added at 03:35 PM ---------- Previous post was at 03:07 PM ----------

Sorry to the op for this non sense just wanted a lil help
[Nexus 5X Original Android Development] stratosk:
Not in my plans any type of sound boost. But you never know... :)

App development is in progress. Does your phone overheats? This is the reason why cpu4 and cpu5 goes offline.
[Nexus 5X Original Android Development] kevtrysmoddin:
Just flashed and installed can't wait to try this again, you had my old i9000 flying back in the day
[Nexus 5X Original Android Development] Alcolawl:
Just purchased your camera app. Fantastic work bro. I'm glad the infamous Semaphore kernel is here for our device. I've never had the chance to run Semaphore before, so I'm excited to try it out. However, the lack of the Zen I/O scheduler is the only thing giving me pause. I really like that scheduler best in terms of performance and battery. It's kinda silly but I'm very particular about my kernel settings lol. If you could add that scheduler you'd be a God.
[Nexus 5X Original Android Development] stratosk:
Thanks for your kind words. I'm happy you like the app.

About the Zen scheduler, I'm not sure. I usually don't merge patches and work that I'm not 100% sure about stability and efficiency. But I am will check it out
[Nexus 5X Original Android Development] khanjui:
Any info about F2FS support? I also agree others, Zen is the best all round I/O scheduler. Thanks for your time. [MENTION=3750240]stratosk[/MENTION]
[Nexus 5X Original Android Development] :
[MENTION=3750240]stratosk[/MENTION] I use ZEN V2 for my custom kernel

https://github.com/CasualsKernel
[Nexus 5X Original Android Development] stratosk:
I could enable f2fs. But, I don't know any further details.
[Nexus 5X Original Android Development] Midomad:
Some gestures too(swipe2sleep)to prevent the power button, since i'm not interested to Pixel phones.
[Nexus 5X Original Android Development] vampire36:
He has already said a few pages back he won't as its against what he believes a kernel should be doing...
[Nexus 5X Original Android Development] :
[MENTION=3750240]stratosk[/MENTION] Have you enabled Jump Label into defconfig ?
[Nexus 5X Original Android Development] stratosk:
No, I haven't. I'm not aware about this.
[Nexus 5X Original Android Development] stratosk:
New version 0.5.0

- cpufreq: Introduce touch boost tunables to ondemand and conservative

ondemand:

touch_load: the virtual load that governor "sees" when there is a touch in the screen (default value 70).

touch_load_duration: the duration in ms that the touch_load is effective after the touch (default value 1000ms).

touch_load_threshold: the real load threshold. Loads greater than this threshold will trigger the touch boost (default value 10).

conservative:

touch_load_duration: the duration of touch boost (default value 1000ms). When there is a touch in the screen the freq_step tunable will be double if there governor must increase the frequency.

- minor changes in initramfs from upstream (NBD90W)
[Nexus 5X Original Android Development] mykenyc:
Any thoughts on allowing music volume to be increased?
[Nexus 5X Original Android Development] :
I asked already and he said no plans. A few pages back..
[Nexus 5X Original Android Development] stratosk:
New version 0.6.0

- Rebased on 3.10.73 (NBD90W). I discovered a memory leak issue and I decided to drop the latests Linux kernel versions.

- Changed default governor to ondemand for both clusters. Conservative governor also has an issue and in some cases doesn't drop the frequency fast enough. I recommend you to not use it until I'll find a solution.

- ondemand: Improved the load calculation when the timer is deferred.

- ondemand: A couple of bug fixes from mainline.
[Nexus 5X Original Android Development] keaheng:
Thank man. The only developer knows what he is doing. Big salute for you.