yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] jody2k:
I did some tests last night with this mod i must say it didnt hear any improvement soundquality wise, i was not impressed. With viper4android i get much better results atm. I know this is very subjective tho
[Nexus 5X Original Android Development] balpem:
what settings do you use to achieve this? i have a high battery drain when idle.
[Nexus 5X Original Android Development] Mrcactuseater:
Using a well optimised ROM, a slightly tweaked DrunkSauce profile and well made apps :)
[Nexus 5X Original Android Development] balpem:
i havent found out yet how to load custom profiles like drunksauce in Franco kernel. :confused: still lot to learn.
[Nexus 5X Original Android Development] Mrcactuseater:
Well you don't. You use EX kernel manager or an init.d script
[Nexus 5X Original Android Development] balpem:
i stay on franco for the moment as i just switched. maybe per app profiles will help? and power saving preset.
[Nexus 5X Original Android Development] Mrcactuseater:
You don't seem to understand what I said, but do what you want mate.
[Nexus 5X Original Android Development] balpem:
still lot to learn. :)
[Nexus 5X Original Android Development] ndarkside93:
You have to manually set the settings in CPU settings under governor settings. Open the txt file for the profile and manually transfer the values to the Franco still and select set at boot. This will give you the profile settings
[Nexus 5X Original Android Development] ulxerker:
or just use franco.Kernel in combination with EXKM app instead of FKU to simply load the desired profile within the app, its your choice.
[Nexus 5X Original Android Development] ndarkside93:
Perfect affirmative. Just trying to provide advice and options within the framework of what he already had installed
[Nexus 5X Original Android Development] LazerL0rd:
I'm loading Hawktail1.2 btw, with L speed and a few other tweaks on a pixel width of 484 with Pixel ROM. Amazing it is...
[Nexus 5X Original Android Development] rmead01:
I just use franco's default settings /shrug
[Nexus 5X Original Android Development] franciscofranco:
r32 is out! https://plus.google.com/u/0/+FranciscoFranco1990/posts/hobcNsK1n1U
[Nexus 5X Original Android Development] pratamaaudi:
hello [MENTION=3292224]franciscofranco[/MENTION] will this help multitasking on this device ?

https://lwn.net/Articles/548072/

it was added on newest jolla kernel

what do you think ?
[Nexus 5X Original Android Development] kojak1989:
FKU have some kcal profiles like in EXKM ?
[Nexus 5X Original Android Development] punkeroso:
Buttery smooth and battery life is awesome!

Thanks man!
[Nexus 5X Original Android Development] loepen:
For me camera disconnects and can't connect again without reboot, when I got video to slow motion and than turning back. Does also appear when disabling EIS. Seems not to happen with other kernels. (tried EX and kernel from cataclysm). Is it just me, or a common issue?

Performance and battery life are top. Thanks for this kernel.
[Nexus 5X Original Android Development] skulldreamz:
Running really really nice. Great battery of course and performance is wonderful. Thank you so much ;)
[Nexus 5X Original Android Development] oubravs2b:
I had just shy of 6 hrs SOT with 20% left before I plugged in for the night. Couldn't be happier myself. Haven't run into any issues thus far.
[Nexus 5X Original Android Development] androidsnax:
All great here - battery life is excellent and not encountered any issues ?

Sent from my Nexus 5X
[Nexus 5X Original Android Development] budakmaran:
im on chroma with SuperSu 2.52..

So, i need to

1. Flash unsu.zip

2. Do terminal command

3. Flash franco r2

4. Flash SuperSu 2.60 +

i am right?? thanks
[Nexus 5X Original Android Development] nathanchance:
Technically you don't need to do the terminal commands because Franco hasn't patched sepolicy so it will default to systemless. However, it is probably a good habit to get into with SuperSU 2.64+. So yes, that is the correct process!
[Nexus 5X Original Android Development] ibilln:
r1 did not seem to do much for me battery-life-wise. R2 seems better to much better. What I'm basically after is that the battery usage graph should flatline when I'm not using the phone. Does not seem like too much to ask, but in practice v. hard to get to with android phones. The enc. graph is doing this at this point, so - at this point - I'm very happy.

I'm on the power-saving profile with other settings as noted in the second screenshot.

Am sure I'll never remotely approach the 6-8 hr SOT (!) that [MENTION=1902178]gdskp[/MENTION] reports (?), but I'm using one or three of his settings to the extent they make sense. I suspect, though, that my current performance improvement comes from the battery-saving profile plus the new wakelock setting.
[Nexus 5X Original Android Development] perrocaliente:
really curious how you did that. Do you use google now, wifi, bluetooth, data, location, screen brightness, settings,greenify (gag), how many apps? What's your usage pattern? How long was the phone off the charger? Nobody posts their ACTUAL settings they just claim they get these ridiculous times with nothing to back them up. I'm curious because I NEVER get over 2.5 hours with any kernel/setup.

---------- Post added at 01:00 PM ---------- Previous post was at 12:59 PM ----------

@franciscofranco May I ask what your battery life has been like with your own kernel/setup? I see all these random people talking about it but I never see kernel devs mention it.
[Nexus 5X Original Android Development] androidsnax:
Im assuming you meant to quote the guy above me - I never really let my battery go below 40% approx so dont have any pics of usage etc. Ive got everything on, I dont play games really, Google Now on, mostly great signal, wifi at work and rarely use GPS etc. I just plug my phone in when I get a chance... definitely see a difference since using Franco's Kernel though - really helps that this phone charges so fast compared to my old N5 too... :)
[Nexus 5X Original Android Development] perrocaliente:
I could have sworn i quoted him...sorry for that. I guess I just wished I could go a whole day without charging. As it is right now my usage is similar to yours but I only get 2.5 sot when I baby my phone.

---------- Post added at 01:10 PM ---------- Previous post was at 01:09 PM ----------

really curious how you did that. Do you use google now, wifi, bluetooth, data, location, screen brightness, settings,greenify (gag), how many apps? What's your usage pattern? How long was the phone off the charger? Nobody posts their ACTUAL settings they just claim they get these ridiculous times with nothing to back them up. I'm curious because I NEVER get over 2.5 hours with any kernel/setup.

---------- Post added at 01:10 PM ---------- Previous post was at 01:10 PM ----------

What kind of battery life are you getting if you don't mind me asking?
[Nexus 5X Original Android Development] oubravs2b:
Google Now is active but I don't use it very often. No bluetooth unless I need it then I turn it on manually, data is on but I'm connected to wifi 95% of the time, location is on Battery Saving, screen brightness is set at about 30 - 40% with Adaptive Brightness ON, no Greenify or any other battery saving apps. I have about 100 apps in my TB backup, but I only use about 15 regularly. Most of my usage is web browsing (Chrome, XDA, g+, feedly, twitter, sports scores). A few texts here and there (no Hangouts) but nothing major. I don't have anything auto update except weather every 2 hours on my home screen.

I'll get some screenshots tonight before I go to bed and upload. I took it off the charger later today than usual so I won't get down to near 20% today. But it will still give you a decent idea of my usage. I consider myself a pretty light user though. I'm not gaming at all and use it for mainly for browsing and text. Phone usage is minimal, camera usage is very minimal. I work from home so I don't have a lot of use for a phone during business hours. But it works great for my use case. Obviously we all have different usage patterns and demands.
[Nexus 5X Original Android Development] Kristoffer55:
Thanks for your kernel!! Amazing. Aaand you got an error on your changelog site ;)
[Nexus 5X Original Android Development] jim_bocho:
Hey there - just went straight from stock to r2 and have the issue with haptic vibration not sticking after reboot.

Set it to 30 and enabled "set on boot". I have the feeling this might be a SuperSU issue.

Thanks so much for your work!
[Nexus 5X Original Android Development] franciscofranco:
Camera drivers are 100% stock. Probably some other app locking the camera instance.

I don't know, the phone is always plugged in on my computer, I never used it as a phone.
[Nexus 5X Original Android Development] iPwn_:
I'm assuming the RGB control here is identical to flar2's except for FKU showing a range up to 255 and EX Kernel Manager showing a range up to 256.

I calibrated white point on my phone against a 15" rMBP, which is as close to D65/6500K as it gets on a consumer device.

Assuming the values between the kernels are just offset by 1, it's Red = 255, Green = 238, Blue = 255, or (256, 239, 256) on EX.

I doubt my device's screen is identical to anyone else's, but I figured I'd share in case anyone likes the settings.
[Nexus 5X Original Android Development] largeselection:
So what CPU speeds should I be seeing mostly used? I wasn't getting stellar battery life with this just yet as compared to other users' experiences or compared to what I was getting with EX and the advanced interactive settings. When I used those I noticed that I was always on deep sleep followed by 384 and only rarely did it get up there. Since trying FK for a week or so I noticed that I am at Deep Sleep followed by the max cpu available (1.44Ghz). I changed to the "Power-Saving" profile in an effort to try and get more battery life and it seems to have helped a little in that the speeds above 960MHz never get used, but now that one is the most used.

Today since I removed from charger I have deep sleep = 64%, 3hr 57m, followed by 960Mhz = 18%, 1hr 15m, followed by 384Mhz = 14% = 50m. Is that the same type of pattern most are seeing?

Also when I look at the computer power use by the screen it also seems higher by comparison. So before I was getting around 130-140 mAH/hour use, but now on FK I am around 180-190 mAH/hour even though my perception is that the screen is actually more dim.

I haven't tweaked any of the settings in FKU since I wanted to try stock FK. The only setting I then have recently tried is to select the "Power-Saving" profile, but no other tweaks.

Additionally, and I have no idea if this means anything, but if I go into the CPU manager section of FKU, the second option says "Low power cluster min CPU freq", when I first saw it I saw it said 960MHz, then upon closer inspection I noticed that it went to 384MHz. Then I noticed that any time I touched the screen that value would jump up to 960MHz. Is that supposed to happen?

Sorry for the long post, but I just want to see if there is anything out of normal with my phone. (ps - I keep pretty good watch over wakelocks and such - I have very low partial wakelocks, very low use from apps unless I know I've been using them a lot, I looked at kernel wakelocks and I have over an hour and 19%,16% for PowerManagerService.WakeLocks and PowerManagerService.Display which I didn't notice before either).
[Nexus 5X Original Android Development] aamir123:
The frequency jumping when touching the screen is touchbopst. If I remember correctly [MENTION=3292224]franciscofranco[/MENTION] was against disabling touch boost. He can comment whether that can be disabled in this kernel.
[Nexus 5X Original Android Development] loof13:
I'm on Cataclysm rom with Elemental X kernel installed, and i'm using SuperSU 2.52 system root. I installed the franco kernel zip and then SuperSU. Now I'm in a bootloop. What am i doing wrong?

Edit : Flashed the latest SuperSU 2.66 and it worked. Thanks!
[Nexus 5X Original Android Development] Tomyk89:
please update when you have had some time on Franco. I'm also on ElementalX and just curious as to if the grass is greener on the other side. Not that I'm unhappy with ElementalX!
[Nexus 5X Original Android Development] kojak1989:
Thanks!
[Nexus 5X Original Android Development] BluPix:
Hi, it's possible to simulate "CPU Scaling and App Opening Speeds" from https://www.xda-developers.com/diss...s-leveraged-excellent-real-world-performance/ ? I mean when new proces is started turn on all cpu cores and set frequency to maximum frequency for few seconds.
[Nexus 5X Original Android Development] vandyman:
All is well with r32, installed with FK updater.

THX

Sent from my Nexus 5X
[Nexus 5X Original Android Development] franciscofranco:
We don't need that here.

All cores are already online here and when there's an input touch cores are ramped since day 1.
[Nexus 5X Original Android Development] ndarkside93:
[MENTION=3292224]franciscofranco[/MENTION] is this commit already merged in your kernel? https://github.com/rachanta/racer-n5x/commit/2e63b243c3cbcf5136ca37de6d318f654f8ff8e0

It is referring to slimbus overclocking to unlock full hardware audio potential
[Nexus 5X Original Android Development] thenessus:
What ROM mate?
[Nexus 5X Original Android Development] superalphajellybean:
will i be able to use android pay with this kernel + pixelrom?
[Nexus 5X Original Android Development] fleischbanane:
This is the last helpful comment I found for f2fs. I made a clean install of LineageOS with FKr32 using TWRP 3.0.3 for formatting cache and data to f2fs but after the first boot data is back to ext4. Cache is still f2fs. Tried it multiple times this weekend also with TWRP 3.0.2-2 and 3.0.2-3 cause I thought it could be a recovery issue. Google was no help and I searched this thread too, but I only found others with the same problem. Can someone who uses f2fs provide a quick guide of what to do to get it work? Thanks in advance for every help.
[Nexus 5X Original Android Development] ndarkside93:
First off, make sure in twrp settings the rm -rf is selected as it prevents reformatting of data and cache partitions from f2fs to ext4

Other than that I use pure nexus. I install using clean flash instructions, ie wipe system and do a factory reset. Then install rom, supersu, kernel, gapps, and other mods in that order. Never had a problem once I changed that setting in twrp
[Nexus 5X Original Android Development] LazerL0rd:
Hey. If you check the changelog, the newest version of franco kernel sorted this out for me. Just update the kernel and try again. About the rm -rf thing, it may not work with a heavily modded system and data partition (substratum, root etc.) therefore I do advise a fresh install. There was a deadlock that caused a kernel panic on reading data, it was researched by [MENTION=4898097]arter97[/MENTION] and implemented by [MENTION=3292224]franciscofranco[/MENTION] :D!

All this I tested just a few hours ago, it works completely fine.
[Nexus 5X Original Android Development] fleischbanane:
I read the changelog but as I wrote in my post I did a clean flash with the latest r32 and it didn't work for me. I will try rm -rf tomorrow and see if it works.

I will see if I can find some info about rm -rf and if there are any disadvantages in using it.

Another question: can I restore a nandroid of my ext4 system on f2fs?
[Nexus 5X Original Android Development] ndarkside93:
I did read about that, but had never personally experienced it. And my device had a custom Rom, kernel, root, dynamic Gapps, thermal conf mod, assertive display, and arise. I guess I was just lucky.
[Nexus 5X Original Android Development] LazerL0rd:
I'm not sure why it's not working for you :/. That's a bit weird, maybe it's the LineageOS?

EDIT: I wouldn't recommend restoring system as the symlinks are dependant on the filesystem, therefore may break!
[Nexus 5X Original Android Development] jcmm11:
Don't remember exactly where but this was asked previously. The answer, by someone who had tried, was an emphatic no you can't.
[Nexus 5X Original Android Development] fleischbanane:
Thanks, then TitaniumBackup should do the job. :)
[Nexus 5X Original Android Development] franciscofranco:
No I don't have it.

I'll check it out, thanks!
[Nexus 5X Original Android Development] jody2k:
[MENTION=5996255]jollaman999[/MENTION] [MENTION=4684315]flar2[/MENTION]

No audiophiles here on this forum?
[Nexus 5X Original Android Development] jcmm11:
[MENTION=3292224]franciscofranco[/MENTION] would it be possible to create an option to not automount usb-otg? I (and other people have also mentioned it) prefer using stickmount. Having 2 mounts is annoying at best.

I realize this would mean a change to the ramdisk so would necessitate a reboot to activate. I'd go and just modify the ramdisk myself but am computerless at the moment and don't even know if it can be done just on the phone.

Thanks, no matter what the response is. I appreciate all you do for all of us.

Actually while I'm at it, one more unlikely question/request. Any chance you could backport overlayfs down to Android? :fingers-crossed: Merged into mainline at 3.18, improved at 4 believe.

Thanks again.
[Nexus 5X Original Android Development] fleischbanane:
[MENTION=7828495]ndarkside93[/MENTION] With rm -rf f2fs works for me now. Thanks a lot! :good:
[Nexus 5X Original Android Development] LazerL0rd:
That post was a bit old, and the fix you supplied by [MENTION=4898097]arter97[/MENTION] has sorted out the boot. I have an issue where supersu stops boot on systemless when rooted. Worked fine before root, although personally didn't notice any speed boosts (is it only benchmark noticeable?) :/

---------- Post added at 03:28 PM ---------- Previous post was at 03:26 PM ----------

Looks amazing, would love this to be added. BUT - is this OC safe and does it heat up? We don't wanna heat up phones just for audio (I would :p but many people here would rather have stability). We have very.. uh generic speakers in our Nexus 5X and I'm guessing that's why people don't really mod it (other than surround sound mod).
[Nexus 5X Original Android Development] ndarkside93:
if you had looked at the commit you would've seen it was originally by jolla and flar2 is aware of it as he signed off on commit
[Nexus 5X Original Android Development] franciscofranco:
I'm not going to change stocks behavior. Not everyone uses or wants to be forced to use an app to have OTG mounts. Sorry!

About OverlayFS, for curiousity sake, why do you want that?
[Nexus 5X Original Android Development] jcmm11:
No problem. That's what I expected but figured I'd ask anyway. Other users are why I asked as an option but I do realize that it wouldn't be a simple change and ultimately most likely isn't worth it.

OverlayFS would be for experimentation at this point. I suspect it would be a simpler way of achieving things similar to what Magisk is doing. The ability to modify /system and install things like Viper4Android without actually making any changes to the underlying FS.

It's another thing that I think would be nice to have but not critical by any means. Maybe on the back burner? I did mention it was unlikely :silly: but never know if you don't ask.

Again thanks for the time and all the effort you but in to making the best possible kernel, and other tools.
[Nexus 5X Original Android Development] franciscofranco:
Here's OverlayFS squashed up to https://github.com/torvalds/linux/commit/c2096537d40f026672c4c6adfcd7247ce5799604

If it works for what you're looking for I'll leave it in. Otherwise I'll remove it. Let me know.
[Nexus 5X Original Android Development] LazerL0rd:
[MENTION=981728]francs[/MENTION]icofranco, SuperSU doesn't work on f2fs still. I've tried flashing both the latest stable and SR3. Do I have to flash a specific version, an older one maybe? Thank you for your amazing work on getting it to work normally though, I'm very grateful for that :)! It wouldn't even get the bootanimation to start, the only time that's ever happened to me was with as ROM error...
[Nexus 5X Original Android Development] franciscofranco:
I dunno, I followed [MENTION=4898097]arter97[/MENTION] 's instructions on which patches to apply/revert. I can double check just for good measure.
[Nexus 5X Original Android Development] khanjui:
SuperSU is working just fine with F2FS for me since ever.

1) Flash stock boot.img

2) Flash SuperSU

3) Flash franco.Kernel
[Nexus 5X Original Android Development] LazerL0rd:
THANK YOU SO MUCH, idk how but flashing SuperSU before franco kernel made it work :p:D! [MENTION=3292224]franciscofranco[/MENTION], [MENTION=4984423]khanjui[/MENTION] has found the fix.
[Nexus 5X Original Android Development] flar2:
That was an old experiment by [MENTION=4388232]ZeroInfinity[/MENTION] and [MENTION=4379011]poondog[/MENTION] on HTC phones

It was found to be unnecessary
[Nexus 5X Original Android Development] ndarkside93:
Thank you for the I insight and as a respected developer I trust your judgement
[Nexus 5X Original Android Development] franciscofranco:
I also think it's a bit of snakeoil, haven't seen any evidence what-so-ever.
[Nexus 5X Original Android Development] ulxerker:
yep, thats the correct and one-and-only order.

then hit the "Thanks!"-button for that guy, that's what its for.
[Nexus 5X Original Android Development] buffer overflow:
Well, i flashed SuperSU last every time and I don't see other problem.
[Nexus 5X Original Android Development] poondog:
It was an experiment we did based on the documentation and the source at the time of HTC One m7

[MENTION=4388232]ZeroInfinity[/MENTION] was, and still is (on newer devices) working on sound mods for HTC devices, and this was to compliment it however there wasn't an audible difference. Any difference at all wouldn't be able to be heard with a speaker anyway (I agree, the Bullhead speaker is crap)

It has however found itself in a few kernels throughout xda, but I don't include it in my kernels anymore. Of course someone can prove me wrong but I don't think its worthwhile
[Nexus 5X Original Android Development] franciscofranco:
Slimbus is way more than for media. If someone would've said it would improve the speed the modem/radio talked to the applications processor, I would believe, but, to me, it makes no sense what-so-ever increasing the bus clock would increase/decrease audio quality. I know quite a bit about sound, but if someone disagree I'm happy to discuss!
[Nexus 5X Original Android Development] franciscofranco:
[MENTION=4487388]jcmm11[/MENTION] did you try it?
[Nexus 5X Original Android Development] jcmm11:
Not yet. Hoping to get to it later today but I have a few things on my plate for today. Never expected I'd get it that quick (if at all) :o so got caught a little off guard. I will be trying it and will get back to you. Thanks again.

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

Better check what kernel you're actually running. SuperSU restores the stock image and then patches it, which is why custom kernel has to come last. That way the custom kernel (assuming it uses anykernel) incorporates the SuperSU changes to the ramdisk.
[Nexus 5X Original Android Development] manpildo:
I flash my kernels before supersu, no problems.
[Nexus 5X Original Android Development] jcmm11:
You'll have a working kernel either way. But if you flash SuperSU last you're probably not running the kernel that you think you are.
[Nexus 5X Original Android Development] ndarkside93:
Not true. If your Rom doesn't have built in superSU it's not a problem. It only applies the backup boot img if it's already patched. If you haven't ran superSU installer yet there is no backup so it patches the custom kernel
[Nexus 5X Original Android Development] franciscofranco:
FKUpdater 2.2 Beta is out. If you're on the beta channel I would appreciate some feedback on the new stuff!

https://plus.google.com/u/0/+FranciscoFranco1990/posts/bXBSvq2w5ea