yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] HipsterCode:
So far it's working great I am just wondering why all 4 cores goes max frequency after the touch? I checked and only first core should go to max frequency but all are going instead to this frequency when checking with system monitor.
[Nexus 5X Original Android Development] Vledderos:
awesomeness! thx
[Nexus 5X Original Android Development] maxmax0:
Oh yeah, welcome back man! I saw your android vs. iphone rant the other day, and respect you even more for that! Never be afraid to voice your own opinion, more power to you sir!

Back on topic, looking forward to try your newest kernel!
[Nexus 5X Original Android Development] James1o1o:
Out of curiosity, do you have the exact values of what was changed? Just so I can reverse it if I prefer the warmer temperature?
[Nexus 5X Original Android Development] parthabhatta:
Installed this kernel and bought the app as a story to the dev. But paid version of the app crashes on opening setting. This is just for information. I am pretty sure the app will be updated soon.
[Nexus 5X Original Android Development] EpiccSkillZz:
can someone link me the super su file im supposed to flash for root compatibility with this kernel please ,_,
[Nexus 5X Original Android Development] nathanchance:
I'm throwing you a freebie but others will not be so courteous and the search tool is here for a reason, especially since Franco already told you you need SuperSU 2.60 or newer. Bookmark this thread, it will have all of the necessary rooting information for a while to come. I would recommend SuperSU 2.66.
[Nexus 5X Original Android Development] EpiccSkillZz:
Yes I know I'm very sorry.. I just wanted to make sure I was on the right page. I'm new to all this sytemless root and beta super su stuff
[Nexus 5X Original Android Development] franciscofranco:
Hmm... they were supposed to come back online on screen on. But for starters they shouldn't've gone offline, so I dunno what happened.

What are we looking for? -_-

http://lmgtfy.com/?q=supersu+marshmallow+zip
[Nexus 5X Original Android Development] vemakohe:
Franco my percentage droped down in 2 % im on stock rom with your kernel r2 without mods -,-
[Nexus 5X Original Android Development] franciscofranco:
I seriously hope you're trolling.
[Nexus 5X Original Android Development] nvertigo:
Appreciate all the amazing work franco!

Quick question, I originally used a modified boot.img to decrypt my phone(6.0.1 MMB29K), will flashing the r2 boot.img cause my phone to become encrypted again when I boot?

I am rooted using 2.66 so I should be fine, right?
[Nexus 5X Original Android Development] nathanchance:
No, it won't because force encryption is disabled. Yes, just flash the kernel then SuperSU 2.66 again and you will be fine!
[Nexus 5X Original Android Development] nvertigo:
Thank you!
[Nexus 5X Original Android Development] agmtpd:
I was wondering if it is possible to lock the device back by using the fingerprint scanner. Either by double tapping or the usual unlocking way? I am sorry if this is OT by OP's standards.
[Nexus 5X Original Android Development] Svid:
Disabled Forced Encryption, flashed r2 and everything is good here.

So don't worry.
[Nexus 5X Original Android Development] franciscofranco:
Force encryption is disabled, don't worry :)
[Nexus 5X Original Android Development] perrocaliente:
I do use Snapchat and I know it's a horrible app. I never thought of that. Also I run lowest brightness almost all the time

---------- Post added at 02:49 AM ---------- Previous post was at 02:49 AM ----------

Good 90 percent of the time. I had strong WiFi half the day too.

---------- Post added at 02:50 AM ---------- Previous post was at 02:49 AM ----------

I use my phone a lot for many different things. Today I got 2 hours screen on time and I was down to 20 percent. 2 and a half hours is about where I would have died. Pretty sad imo
[Nexus 5X Original Android Development] gdskp:
Getting 6.5 - 8 hours SOT (depends on use) with some changes of Battery Saving Profile.

Performance Profiles: Power-Saving

Small CPU Max CPU freq: 1440 MHz

Big CPU Max CPU freq: 1824 MHz

CPU-Boost > input_boost_freq: 600 MHz

GPU Control > max_freq: 600 MHz

I am not professional just try some changes in order to save more battery without performance loss. That's why I choose Power Saving profiles first and then revert some max freq. This is really an awesome kernel :)
[Nexus 5X Original Android Development] franciscofranco:
Maybe, I've thought about it, dunno if possible though.
[Nexus 5X Original Android Development] franciscofranco:
How's r2 moving along?
[Nexus 5X Original Android Development] 021adam:
All good so far. I don't have any stats for you, I just go by how things feel and it's flying for me. Thanks for your hard work.
[Nexus 5X Original Android Development] oeusr:
I noticed last night that when charging and trying to do anything I normally do (Reddit sync or tinfoil) my phone would reboot. Every single time. Unplugged it and repeated and no reboot. Didn't do that on r1 but I'll have to see if it does it again and get some logs

But battery life is a lot better and things are smooth ?
[Nexus 5X Original Android Development] franciscofranco:
Hmm... are you using stock USB cable or some random 3rd party? And stock charger?
[Nexus 5X Original Android Development] oeusr:
Stock USB charger. And charged fine without reboots, just did it when I used the phone while charging. I'll have to see if it does it again when I charge next

Edit: trying to get it to repeat and I can't. Perhaps my phone just wanted to make life difficult last night

Edit 2: finally able to replicate. I'll look into getting you a log if possible
[Nexus 5X Original Android Development] :
After installing the last update, R29, my phone has been really slow and sluggish in certain apps such as Swipe for Facebook and Chrome. Anyone else that has been experiencing similar issues with the update?
[Nexus 5X Original Android Development] franciscofranco:
Sorry about the source code, I completely forgot to push it. It's now updated.

About smoothness, yes, I'll look into it, I got more reports than I consider normal, so I'll take a looksie.

About F2FS, I dunno, I have everything enabled on the Kernel config and ramdisk, but I'll see what I can dig in.
[Nexus 5X Original Android Development] :
no problem :) may I ask if you enabled the supposed fix for 2% battery level drop someone sent you from github? ;)
[Nexus 5X Original Android Development] franciscofranco:
I forgot.
[Nexus 5X Original Android Development] :
It's ok. You can enable it whenever you want or you can test it alone if it works. Also, thanks for the answer. :)
[Nexus 5X Original Android Development] zhart:
Hi, i am new on on the n5x. I was wondering if there will be any gamma control like on the n4 and n5? i searched but did not really find an answer, so i am asuming it is eather impossible or in development. I just remember setting my n4 to amoled colors on franco kernel, back in the day. It was beautiful
[Nexus 5X Original Android Development] franciscofranco:
Can someone try to run the attached .zip with data & cache as F2FS? Made some changes. Thanks.
[Nexus 5X Original Android Development] zhart:
I know this, and its great for changing to warm or cold tone. but i remember much more complex adjustments. maybe you are familiar with these: https://docs.google.com/spreadsheets/d/19cw4hphjqnVJZfWGWo9gJQKICQWw3UMFDeQvAUnh6yU/edit#gid=6 :)
[Nexus 5X Original Android Development] khanjui:
As I know gamma control development is stopped long time ago. Would be great to have, though.

Check this: http://xdaforums.com/nexus-5x/development/racer-kernel-n5x-npc56p-t3340070/post69463802
[Nexus 5X Original Android Development] khanjui:
I can confirm it's working fine, both cache and data as F2FS.
[Nexus 5X Original Android Development] franciscofranco:
The controls we have are there exactly to calibrate the gamma curve so please don't say that.
[Nexus 5X Original Android Development] franciscofranco:
Awesome.
[Nexus 5X Original Android Development] khanjui:
Actually you are right, it's enough to calibrate the screen. We just haven't got advanced options to play with Black, Grey and White values like we did before back in Nexus 4 days. And Nexus 5X already have one of the most accurate screen so it's all fine.
[Nexus 5X Original Android Development] :
Completely off topic but my wild guess about the lag they say is because of low thermal throttle temperature? My 5x averages to about 43-48 when Im using it. In your kernel, it tends to disable big cluster several times than other kernel because they use a higher thermal throttle temperature. Again, just my wild guess. :o
[Nexus 5X Original Android Development] Tech_Savvy:
franco kernel defaut is set to 44, which can easily be changed with a kernel tweaking app, other kernels have it set higher but i perfer it at 44, I dnt like using a warm phone
[Nexus 5X Original Android Development] :
Yes, I know but most of the people doesnt change it and just leaves it at default. Hence, the reports. Im not complaining here, just trying to help him.
[Nexus 5X Original Android Development] franciscofranco:
On the .zip I posted couple hours ago I changed some parameters related to input boost and min_sample_time and it's now back to all around fulidity.
[Nexus 5X Original Android Development] franciscofranco:
White point -> RGB

Black and Grey change with the gamma curve.
[Nexus 5X Original Android Development] :
Ok, will try that! :angel:
[Nexus 5X Original Android Development] khanjui:
Exactly. By the way the smoothness is came back as expected on r30, good job as always. And I think you forgot to change the values of init.performance_profiles.rc. They are still same with r29. So when I change the profile on FKU and then come back to default one, all smoothness is going away because of old values.
[Nexus 5X Original Android Development] franciscofranco:
Thanks for the reminder.
[Nexus 5X Original Android Development] franciscofranco:
Yo, r30 is up!
[Nexus 5X Original Android Development] :
You forgot the obligatory Google+ link :laugh: still, thank you!! :victory: :highfive:

edit: I reached 8 thanks already! Will do tomorrow! :)
[Nexus 5X Original Android Development] ulxerker:
the cpuidle patch is awesome and really makes a difference!

thanks for the corrections!
[Nexus 5X Original Android Development] *ReZa*:
Hi franco. Could you please make these changes for android 7 kernel? Or can i change the parameters in fku to achieve the smoothness? Thank you so much!
[Nexus 5X Original Android Development] ulxerker:
Android 7.0 is kinda Tango down.
[Nexus 5X Original Android Development] Moto G User:
f2fs is working fine. Thanks for the fix and the great kernel :)
[Nexus 5X Original Android Development] franciscofranco:
7.0 is dead.
[Nexus 5X Original Android Development] :
Why your kernel is not listed in XDA when I click on original development and kernel I only see elemental and other but not this kernel ?
[Nexus 5X Original Android Development] yochananmarqos:
:confused:
[Nexus 5X Original Android Development] jcmm11:
I think he's talking about going in with browser. There's 10 entries listed, but no Franco. Screenshot shows top of page where you click on kernels
[Nexus 5X Original Android Development] yochananmarqos:
Ah, I never noticed. Good catch.
[Nexus 5X Original Android Development] khanjui:
A quick question, what you think about toolchains such as Linaro, newer versions of GCC, UBERTC etc? [MENTION=3292224]franciscofranco[/MENTION]
[Nexus 5X Original Android Development] Nicktheprofessor:
I'm not fransiscofranco (duh) but as a developer i have used Linaro, Sabermod and UBERTC for both kernel and ROM projects and while they do have some functions that both help lower memory requirements (i used -mfpu=neon-fp16 -mfp16-format=alternative) and performance (-mvectorize-with-neon-quad and most of all -mfloat-abi=hardfp which can make a huge difference) they can also provide somewhat unstable code.

The key is to use that for testing until code matures enough to be able to handle it. Now for this specific kernel i just tested it with UBERTC AARCH64 7.0 compiler and while i had to fix some errors in the compilation it ended up quite nicely and noticeable faster even without adding anything but the few preferred flags to make the code use the hardware fpu at all times.

It's just a test though and if i find anything interesting that i think might be useful to other devs i'll let them know.
[Nexus 5X Original Android Development] :
Yes but I speak of the official website on a browser
[Nexus 5X Original Android Development] Moto G User:
Would you please send me the zip for the kernel compiled with uberTC I'f it isn't too much of an issue with you:)

I'm just looking for ways to maximise the smoothness and the performance of the phone (like most people on XDA) and would like to see if the toolchain has any significant impact
[Nexus 5X Original Android Development] ionel.paun:
This might be somehow off-topic, but it is related to a feature, so...

I tried formatting /cache and /data to F2FS using jollaman's TWRP as the official TWRP doesn't give me the option for F2FS and everytime the /data partition keep reverting to ext4. I've tried a few times, with the fixed r29 and r30 and I'm getting the same result... /cache stays F2FS but /data reverts to ext4 when I start and set-up Android for the first time. Does anyone know why this happen and how can I make the /data partition F2FS? Can it be because I'm running stock Android 7.1.1 and it might not have support by default for F2FS?
[Nexus 5X Original Android Development] ndarkside93:
If the kernel supports it you shouldn't have a problem. Just remember in the advanced settings if TWRP to check the box that says rm -rf to prevent a reformat when you wrote data
[Nexus 5X Original Android Development] ionel.paun:
Well, I don't have any options apart from changing the FS. Can you recommend another TWRP that supports F2FS?
[Nexus 5X Original Android Development] ndarkside93:
Are u on Jolla 3.0.3? On the main screen, you click settings and it's under there on that particular version. Rm -rf basically it just deleted all the files instead of formatting thus insuring you keep the filesystem you choose
[Nexus 5X Original Android Development] ionel.paun:
OK! Found it. I have formatted /data, rebooted TWRP to check if the FS is still F2FS, checked rm -rf and flashed franco.Kernel and SuperSU. I hope it will work this time. If not, I guess I can try making a backup and then restoring it on /data formatted as F2FS.

I guess I have answered myself. I have to backup everything, format, use rm -rf and then restore. It makes sense.
[Nexus 5X Original Android Development] ndarkside93:
Best of luck.
[Nexus 5X Original Android Development] ionel.paun:
No more F2FS for me. Franco was right, the Google engineers know best what they do and why they do it. I ran Antutu and Geekbench 4 and the result are disappointing. In Antutu I get 54K instead of 75K and in Geekbench I get around 940 for single and 1900 for multi which is lower than the standard Nexus 5X scores in their database.. I'm making some screenshots now and i'll post them after I get back to the previous configuration and run the tests again.
[Nexus 5X Original Android Development] ndarkside93:
I've been getting 55000 on my AnTuTu benchmarks so it VB may not be the file system.
[Nexus 5X Original Android Development] jrk190:
Feel free to call me a dumbass, but I can't seem to get this to work to bypass safetynet on pixelrom, even though there's no root.
[Nexus 5X Original Android Development] ionel.paun:
This is weird. It's not F2FS's fault. It seems that on franco.Kernel r30 I get this low scores (as you can see 52K in Antutu instead of the initial 54K with F2FS), but after I got back to fraco.Kernel r28, the one that I initially ran the benchmarks on, I get the high scores again.
[Nexus 5X Original Android Development] ndarkside93:
Well there you go blaming the filesystem :P
[Nexus 5X Original Android Development] igoorsoouza:
Try to download and install the stock kernel, then install franco. I had this problem with the ROM Stock+ but in my case i was able to fix the problem leaving the Root that came with the ROM and unninstalling it throught SuperSU app and then installing this kernel. Bypassed SafetyNet and playing pokemon on my partners 5X sucessfully! I recommend installing the ROm you have again, with no whipe and trying what i said. I hope this can help you.
[Nexus 5X Original Android Development] jrk190:
SO I actually tried that, and it didn't work. What DID work, strangely enough, was installing a special version of su with rootswitch. Odd.
[Nexus 5X Original Android Development] franciscofranco:
I don't use that dumb thing. I tried to use XDA's project template once and regretted it. I just have plain normal threads.

Nah, toolchains aren't magical on this already low level code. I ran some real benchmarks couple years ago comparing stock toolchain with some "magical" ones and there were no real enhancements what-so-ever. Any "improvement" you say you feel is more likely placebo. Low memory requirements? What does that have anything to do with the toolchain. It simply translates the .c files to machine language.

F2FS has nothing to do with Geekbench of Antutu (other than the I/O test if it uses /data for it, because if the I/O is being tested on the sdcard, then no). I think you're just thermal throttled.

You probably have modified /system. Nothing to do with the custom Kernel.
[Nexus 5X Original Android Development] franciscofranco:
Nah, just benched Geekbench on r30 with 1210 single thread, 3042 multi threading. You're probably just thermal throttled.
[Nexus 5X Original Android Development] ionel.paun:
Well, I've spent some time getting F2FS to work for me on /data and I guess I haven't even thought about throttling since I don't use my phone for intensive sustained workloads and didn't feel warm at all to the hand. But the initial set-up with all the app installs and stuff can be intensive. I'm upgrading now to r30. Thanks for the reply.
[Nexus 5X Original Android Development] franciscofranco:
Of course it's intensive. This thing throttles even inside your freezer if it has to. Legend says it can heat an entire house during the winter.
[Nexus 5X Original Android Development] pitt93:
have you formatted and switched to F2FS?
[Nexus 5X Original Android Development] Tak3r07:
Is anyone experiencing an issue where the screen brightness suddenly drops by like 50% in actual brightness but the slider still shows the same value as before? The only fix seems to be a reboot or waiting until some time it jumps back to normal. I'm on the latest Pure Nexus with fk30. I've tried to disable "Backlight dim" in the kernel settings as I thought this function may be erroneous but that was not the culprit. Any ideas?
[Nexus 5X Original Android Development] rmead01:
Can you share a link for this version with root switch? Been trying to get this to work forever.
[Nexus 5X Original Android Development] axiel7:
Are you using naptime?
[Nexus 5X Original Android Development] Tak3r07:
Yes I am!

Edit: No sorry I confused Naptime with servicely
[Nexus 5X Original Android Development] franciscofranco:
I don't touch any of that anywhere.
[Nexus 5X Original Android Development] Tak3r07:
Good to know. Then it must be either some malfunctioning app or rom-related. Anyway thank you for pointing out.
[Nexus 5X Original Android Development] CoolApps:
Sounds like Adaptive Brightness might be the one that is causing what you're describing.

-----------------------------------

Thanks Franco for fixing the performance issues that was introduced in a past release. Appreciated. ?

I had noticed something recently and I'm not sure if it's to do with the kernel itself as I cannot find an option on the custom ROM I'm currently using that would be responsible. Pretty much, I had installed a 7.1.1 custom ROM along with one of the previous releases at first (likely r28) which was newer than the release installed with the previous ROM.

The screen can end up being yellow tinted when the environment is dark enough. I saw that Night Shift within the FK Updater app does the exact same tint but the option did not appear to be enabled (the status toggle and schedule, anyway) at the time. Any ideas of what might be up there? Perhaps it's supposed to happen?

Here's a screenshot of the section in FK Updater.

I should mention that it could either be temporary or inconsistent as it does not seem to be happening at the time of posting this.

I'm aware that the information that I had provided isn't that detailed (no logs or anything that could give clues/hints) but that's all I have at the moment.
[Nexus 5X Original Android Development] Nicktheprofessor:
Well first of all there is no such thing as a "magical" toolchain but there are toolchains that are better at translating the code and accept certain flags which the standard NDK toolchain does not.

Second, newer toolchains do produce more efficient code but also expose a lot of coding errors which have to be fixed which is in and of itself going to produce a better end result both in regards to stability and performance.

Third https://software.intel.com/en-us/articles/performance-benefits-of-half-precision-floats is not possible to use with all toolchains and with 6.0+ toolchains the results improve.

Of course, to actually make any greater impact the ROM should be compiled using those flags (and hardfp) with a compiler that supports it.

Regarding toolchains, http://arstechnica.com/gadgets/2012...e-boosted-30-100-percent-by-linaro-toolchain/
[Nexus 5X Original Android Development] nickefor:
What settings do you use to get those high values?

Whatever I try i can't get >55k
[Nexus 5X Original Android Development] jcmm11:
Does the custom ROM have a night shift option that's possibly enabled? (If you're using Pure Nexus then I know it has a night shift option)
[Nexus 5X Original Android Development] CoolApps:
The custom ROM I'm using has the 'Night Light' option (which is basically the same thing) in the display settings but that is also disabled with the short-description with the text "Off. Will never turn on automatically."
[Nexus 5X Original Android Development] jrk190:
to quote the person who directed me to it...
[Nexus 5X Original Android Development] lol4topnz:
Hello [MENTION=3292224]franciscofranco[/MENTION], can you in next release update this to 0644, that get ability to dyn on/off this feature :)
[Nexus 5X Original Android Development] Tak3r07:
I really don't think adaptive brightness is causing any trouble since this is not ROM related but from Google itself. Anyway I'm going to test whether turning it off and on again, when the bug appears another time, solves anything.
[Nexus 5X Original Android Development] :
Look at Franco's Nexus 6P thread. He said something there.
[Nexus 5X Original Android Development] franciscofranco:
Nope, that feature is not meant to be dynamically changed like that. It's stupid.
[Nexus 5X Original Android Development] NxStep:
Hi [MENTION=3292224]franciscofranco[/MENTION],

I wanted to build the kernel from the source for myself and experiment a little bit but I can't seem to find the configs that you build with. If they are public, can you please share them or point me to where to find them? :)

Thanks!
[Nexus 5X Original Android Development] franciscofranco:
It's in /proc/config.gz. I generally don't bother pushing the config to the repo because more often than not and I export the config to userspace, so it's public.
[Nexus 5X Original Android Development] kraatus90:
Btw, do you get any warnings during compilation ? i was trying to compile your source myself using same gcc toolchain and even though it complied it, there were alot of warnings. maybe you forget to push your makefile changes ? :confused:
[Nexus 5X Original Android Development] franciscofranco:
Warnings are fine. All the code that's on github is up-to-date to the latest Kernel binary.
[Nexus 5X Original Android Development] ionel.paun:
Stock Android 7.1.1 + franco.Kernel r30. If you read the posts before and after that, you'll see that you need to run those tests with your phone cool.