yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] Darkmasterhk:
I just wanted give f2fs a shoot but somehow I cannot make /data stuck to it.

everytime I reboot it just resets itself to ext4, I read someone else had this problem any way to solve it?

flash order:

format /cache /data f2fs using twrp jolla

/system (fastboot stock)

franco (twrp)

supersu (twrp)
[Nexus 5X Original Android Development] yochananmarqos:
It sounds like it's not formatting the partition to f2fs at all. It can't "reset" back to ext4.
[Nexus 5X Original Android Development] Darkmasterhk:
well stuff got removed and twrp shows f2fs, don't know if there is an other way to prove it
[Nexus 5X Original Android Development] ulxerker:
hit the rm -rf flag in twrp settings and try again.
[Nexus 5X Original Android Development] NxStep:
Ah ok, thank you! I didn't know about that option, I will check it. :good:
[Nexus 5X Original Android Development] infatality:
[MENTION=3292224]franciscofranco[/MENTION] Could you review this patch that supposed to fixed 2% battery drop? Many thanks. Appreciate much.

https://github.com/rachanta/racer-n5x/commit/2c0a499a8badc5122a11c95d692a2f17fd9f8ce0
[Nexus 5X Original Android Development] Stevica Smederevac:
It's not working for me so i think it's a hit and miss, not the proper solution.
[Nexus 5X Original Android Development] kimikim0:
i think it already been patch, sorry if im wrong
[Nexus 5X Original Android Development] franciscofranco:
What do you mean? I haven't merged it. Are you using some other custom Kernel with the patch implemented?
[Nexus 5X Original Android Development] Stevica Smederevac:
Yes. I didn't want to say which one i use(in your thread) but that user knew what i was referring to.
[Nexus 5X Original Android Development] ulxerker:
good choice as it isn't working anyway, if at all its more kinda placebo.
[Nexus 5X Original Android Development] Stevica Smederevac:
Just to add something about that battery percentage"issue". It's working as it should on stock ROM so it's not kernel related.
[Nexus 5X Original Android Development] franciscofranco:
Happy festivities! Just a quick reminder, FKUpdater is on a 30% off sale, it's a great investment! https://goo.gl/YbfRE0
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
Already invested;) Happy Holidays to you as well.:)
[Nexus 5X Original Android Development] infatality:
Possible to add zram configuration?
[Nexus 5X Original Android Development] franciscofranco:
What for?
[Nexus 5X Original Android Development] watchoutbehindyou:
I luv the kernel but, Is there any possibility to add display calibration presets? Can I do i manually somehow?
[Nexus 5X Original Android Development] giannism13:
You can calibrate your screen using any kernel manager. Some of them, like kernel auditor mod (found only on XDA), have built in presets
[Nexus 5X Original Android Development] MaLiXs:
I don't know why but on my device the default governor is on performance

Envoyé de mon Nexus 5X
[Nexus 5X Original Android Development] yochananmarqos:
Well, it's definitely not default. Flash the stock boot.img (or custom ROM boot.img if applicable) then franco.
[Nexus 5X Original Android Development] m4r0v3r:
hello [MENTION=3292224]franciscofranco[/MENTION] i was wondering if you knew how I could build the wifi as a module?
[Nexus 5X Original Android Development] MaLiXs:
I was on the default dirty unicorns kernel before flashing fk

Envoy� de mon Nexus 5X
[Nexus 5X Original Android Development] rmead01:
This for anyone having issues with governor's setting themselves. It is not the kernel.
[Nexus 5X Original Android Development] franciscofranco:
God damnit those custom roms. If XDA was properly regulated these things wouldn't be allowed to be available on the forums.

Why would you possibly want to do such a thing?
[Nexus 5X Original Android Development] MaLiXs:
Thanks o let us know that not the kernel fault

EnvoyÃ© de mon Nexus 5X
[Nexus 5X Original Android Development] :
Hi guys. I have been using r30 for a week or so but with latest omnirom update the kernel crashes my internet connection. I tried reinstalling ROM kernel and it's fixed but obviously I want Franco. Is this a kernel issue? Thanks
[Nexus 5X Original Android Development] khanjui:
It's obviously a ROM problem.
[Nexus 5X Original Android Development] m4r0v3r:
Because am porting SFOS onto the Nexus 5x, and for wifi I need the module rather than builtin to the kernel.
[Nexus 5X Original Android Development] :
The ROM guy says it is a kernel problem as stock kernel is pure google aosp build. It's like an insurance claim lol. I will have to change ROM I think although i love omni. Maybe I should keep stock kernel - :D
[Nexus 5X Original Android Development] khanjui:
franco.Kernel > any custom ROM.
[Nexus 5X Original Android Development] :
All worked until last 2 builds. I will see how it plays our with further testing
[Nexus 5X Original Android Development] ndarkside93:
Would you consider adding adaptive. LMK to your kernel. You could pull from The Flash github. Also would there be any uses for the using. The hwbinder branch of the Android kernel? [MENTION=3292224]franciscofranco[/MENTION]
[Nexus 5X Original Android Development] kojak1989:
Have this kernel support for EXKM and kcal ?
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
Yes
[Nexus 5X Original Android Development] kojak1989:
Thank you !
[Nexus 5X Original Android Development] vtec_:
Having trouble getting F2FS to stick on the data partition, have experimented with rm -rf with no luck. After changing data to F2FS and rebooting system, it then shows EXT4, cache converts ok. Other kernels with F2FS seem to stick with data just not this one. Any help appreicated as I would love to use francos kernel having used it on my past N4,N5.

Using latest jolla recovery, latest stock Nougat rom. Just purchased the N5X :)
[Nexus 5X Original Android Development] franciscofranco:
Not sure that'll work, but you're free to try. You have to enable the module subsystem first in the Kernel config. Good luck.

"Crashes the internet" is like saying the sky is blue. More details pls.

I don't see any point in adding such a thing. Memory management is currently just fine at the moment. Dunno about that branch, probably needs new userspace. I asked about that branch to a Google Kernel engineer, he didn't want to comment on it.
[Nexus 5X Original Android Development] ndarkside93:
[MENTION=3292224]franciscofranco[/MENTION] Thank you for the insight, and. The excellent responses and support you always provide.
[Nexus 5X Original Android Development] :
[MENTION=3292224]franciscofranco[/MENTION] Crash the internet = both my Wi-Fi icon (and if Wi-Fi switched off) and my 3g data connections have a little cross on it. Data will not connect. Flashing stock ROM kernel fixes. I switched ROM now to Pure Nexus and your kernel works fine there. There was some sort of change on OMNI builds after 25122016
[Nexus 5X Original Android Development] m4r0v3r:
hmmm you maybe right, i have config_module enabled anyways but can't see the particular config thatll give me what I want. but after getting modem working with ril and ofono netmgrd is broken and I have a feeling thatll play a big part in the wifi/bluetooth initialisation since anything to do with iptables is breaking. cheers anyway :)
[Nexus 5X Original Android Development] franciscofranco:
Good luck, you're gonna need it.
[Nexus 5X Original Android Development] franciscofranco:
Happy new year everyone!
[Nexus 5X Original Android Development] leolawliet:
Happy New Year!!
[Nexus 5X Original Android Development] rmead01:
I've been having an issue on r30 where when I get home and connect to wifi for some reason I get this kernel wake lock. Phones was just sitting g next to me not being used. I would love to provide more info if I knew what was needed but hope something here helps?
[Nexus 5X Original Android Development] LazerL0rd:
I have this issue as well :confused:, seems to occur in both in Stock ROM and Pixel ROM (yes I do know, it's more or less stock - but with a massive bootloader change, you can't blame the bootloader for wiping it as I first thought). This occurs in the boot of the device and you can notice the lengthening of time it takes to do this as it is stuck on "Google" before the animation for quite a while :silly:. I also found this amazing thing where in the fstab.bullhead, there seems to be a maaaaaaaassssive gap in between f2fs's formatted options in comparison to ext4's. I understand f2fs is still under testing, and that it is why Google has avoided it - but it can be a GREAT feature if implemented properly. Anyway, here is what I meant by "the gap in the fstab":

"/data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic,inode_readahead_blks=8 wait,check,encryptable=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata

/dev/block/platform/soc.0/f9824900.sdhci/by-name/userdata"

(seems to have not too many gaps while below...)

"/data f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata

/dev/block/platform/soc.0/f9824900.sdhci/by-name/cache"

(seems to have big gap in the middle)

I MAY BE WRONG, AND I'M HAPPY FOR ANYONE TO CORRECT ME, after all, I'm a Windows developer not Android :p. It would just be great if we could use f2fs on our marvellous, but unfinished by Google, phones! I'm starting to like this Android community better too, and thank you [MENTION=3292224]franciscofranco[/MENTION] for your AMAZING kernel that is stock but with great features :victory:.

EDIT: I noticed on xda you can't view the gaps/spaces properly, use a text viewer like the trusty Notepad, or some other one!

--LazerL0rd
[Nexus 5X Original Android Development] zipredictive:
Thanks Franco!

What about sunset sunrise night shift display instead from ##:## to ##:##

Inviato dal mio Nexus 5X utilizzando Tapatalk
[Nexus 5X Original Android Development] rmead01:
he has mentioned he doesn't want to add too much to the app, including things like location tracking.
[Nexus 5X Original Android Development] zipredictive:
That's fine! Thanks rmead01 and thanks Franco!

Inviato dal mio Nexus 5X utilizzando Tapatalk
[Nexus 5X Original Android Development] franciscofranco:
I would really enjoy if those apps didn't name these "Kernel wakelocks". The wakelock driver is in the Kernel, so any wakelock in the system is a Kernel wakelock.

That said, as I said already 23482402032943024324345983594353958359384503458490354358359034 times before, there are absolutely no new Wakelocks added on FK on top of stock. Whatever Wakelocks exist/are created on stock, they are also created on FK. Even though I block some of the most annoying wakelocks from being acquired in the first place, I can't control everything. From your screenshots it simply seems your mediaserver decided to keep your decide awake. You either have some corrupted media file (which makes the MediaServer deamon to keep trying to read the file), or some app that needs to use the MediaServer being caught in sort weird state where it acquires a lock preventing your phone to sleep (my guess, Spotify). Other than this there's nothing I can do, and this would happen regardless of what Kernel you use.

Don't think that's a problem. There are several users running F2FS on their 5X using FK.

I've said before, I'm not going to add location permission on FKUpdater, it's beyond its scope.
[Nexus 5X Original Android Development] rmead01:
Wasn't trying to blame your kernel at all. My intentions were that posting the info you would be able to help me deduce where it was coming from since it displayed kernel related and honestly you nailed it. For some reason even though I turn off spotify in the car when I get home it will occasionally leave the media server open. Looks like I'll have to manually kill the app from now on. I didn't assume the media server was the issue at first because I do listen to it in the car with screen off so i'm used to seeing it. I checked back a few hours later and media server had sky rocketed.

I did the same routine later except I manually killed the app when I arrived home and the drain was gone.
[Nexus 5X Original Android Development] buffer overflow:
Try this app Servicely.Is made by Franco. ;) https://play.google.com/store/apps/details?id=com.franco.servicely
[Nexus 5X Original Android Development] rmead01:
How would this help in this situation?
[Nexus 5X Original Android Development] ndarkside93:
It allows you to kill apps that continuously run in the background to prevent wakelockS and general battery drain.
[Nexus 5X Original Android Development] franciscofranco:
It doesn't help at all. You can maybe set up a tasker rule for when you get home it automatically kills Spotify or something.
[Nexus 5X Original Android Development] rmead01:
Yay new update day!

https://developers.google.com/android/drivers
[Nexus 5X Original Android Development] franciscofranco:
Ok. There's nothing there for either the Kernel or the average user. Those are simply the binaries officially distributed by Google for custom roms to include on their packages...
[Nexus 5X Original Android Development] rmead01:
LOL, and all this time I thought that was the page with all the source. TIL...
[Nexus 5X Original Android Development] LazerL0rd:
driver and firmware binaries** :)

Sorry it's not your area [MENTION=3292224]franciscofranco[/MENTION], but I was thinking. If someone extracted the Pixel's fingerprint driver and firmware from threre... could they push it to our nexus 5xs and give us the "firmware update needed" (according to google) to be able to get the API for fingerprint gestures working?

ALSOOOO I think he meant there is a new build for the Nexus 5X (N4F26I) looks exciting.............................

---------- Post added at 10:54 PM ---------- Previous post was at 10:42 PM ----------

From Google (https://source.android.com/security...ml#attack_surface_reduction_for_nexus_kernels) copied directly, does it affect us?:

"Attack Surface Reduction for Nexus Kernels

SysV IPC is not supported in any Android Kernel. We have removed this from the OS as it exposes additional attack surface that doesn’t add functionality to the system that could be exploited by malicious applications. Also, System V IPCs are not compliant with Android's application lifecycle because the allocated resources are not freeable by the memory manager leading to global kernel resource leakage. This change addresses issue such as CVE-2015-7613.

CVE

Bug(s)

Severity

Updated versions

Date reported

CVE-2015-6646

ANDROID-22300191*

Moderate

6.0

Google Internal

* The patch for this issue is not in AOSP. The update is contained in the latest binary drivers for Nexus devices available from the Google Developer site."
[Nexus 5X Original Android Development] franciscofranco:
Dunno. I really don't care about any of that fingerprint scanner mumbo jumbo. It's a serious matter and an important security gate and these things should not be ****ed with.

About the rest, you linked the report from 2016, not from 2017... SysV IPC is disabled since the middle age.
[Nexus 5X Original Android Development] LazerL0rd:
What about the updated build? The Janurary Security Update I'm guessing it is? These are based on kernel too, right? So would it require you to have any changes or does it work differently (like for the ROM only)?
[Nexus 5X Original Android Development] franciscofranco:
Not sure I understand your question. If there are new Kernel commits I'll merge them eventually, I can't guess since the sources haven't been updated.
[Nexus 5X Original Android Development] ulxerker:
new sources have been released meanwhile :)
[Nexus 5X Original Android Development] zipredictive:
Does r30 work with the new update? Flash r30 or wait for Franco to look at the new sources?

Inviato dal mio Nexus 5X utilizzando Tapatalk
[Nexus 5X Original Android Development] BS86:
it works, sideloaded the OTA N4F26I yesterday and r30 behaves as expected.
[Nexus 5X Original Android Development] tuhinxp04:
Is sideload erase user data..? I never do a sideload..!!
[Nexus 5X Original Android Development] BS86:
sideloading the OTA does exactly the same like installing it the official Google-Way: Updating but no wiping
[Nexus 5X Original Android Development] hilla_killa:
Whats everyones idle drain my phone sat for like 8 hours and lost 6% from a full charge. Is this normal? Ive read there should literally be like no idle drain or maybe im misunderstood. Thanks for any insight. Im on latest pure Nexus with latest franco
[Nexus 5X Original Android Development] Mrcactuseater:
Ouch... I get around 0.2/0.3% an hour.
[Nexus 5X Original Android Development] hilla_killa:
Yes big ouch i was expecting to pick my phone up and still be at 100 or 99! But 94 was a big big OUCH!!!
[Nexus 5X Original Android Development] terrawatt:
Has anyone tried the latest version of FK with Resurrection ROM Nexus 5x?
[Nexus 5X Original Android Development] :
r31 is up? I have downloaded it from your site. :o

Edit: nvm, it is up on FKU. Thanks! :)
[Nexus 5X Original Android Development] franciscofranco:
r31 is out :)

https://plus.google.com/u/0/+FranciscoFranco1990/posts/gUtPiL9mhuF?sfc=true
[Nexus 5X Original Android Development] khanjui:
GitHub is emtpy. Last commits merged on Dec 18, 2016.
[Nexus 5X Original Android Development] Gustaf87:
Just flashed r31 on lineage-14.1-20170103-UNOFFICIAL-bullhead

Works. Thanks Franco for great work as usual. Used ur kernel since the beginning of nexus 4 I think. Hope it's still as great :)
[Nexus 5X Original Android Development] vandyman:
Lol.. I didn't know there was an update.

I used FKupdater because I changed Su versions.

Sent from my Nexus 5X
[Nexus 5X Original Android Development] ulxerker:
thanks mate!
[Nexus 5X Original Android Development] yochananmarqos:
I use FKUpdater because it lets me know when there's an update. :eek:

Use the thanks button, that's what it's there for. ;)
[Nexus 5X Original Android Development] vandyman:
Just to add to my comment.

When you make a change to your system like I did with Super User. FKupdater will show that you are on r1. That is why I never noticed there was an update until I read this thread.

Sent from my Nexus 5X
[Nexus 5X Original Android Development] franciscofranco:
FKUpdater should show you have an update regardless :/
[Nexus 5X Original Android Development] vandyman:
I'm sure it did, but I find it funny how I never noticed, because I had to reinstall FK anyway.

[emoji12]

Sent from my Nexus 5X
[Nexus 5X Original Android Development] ulxerker:
I did that, too, you smart ass. :)
[Nexus 5X Original Android Development] franciscofranco:
:eek:
[Nexus 5X Original Android Development] BS86:
I guess what he means is, that if you need to install FK "fresh", you would need to remember the number of the last release you were on before the stock kernel was flashed to know that there is a new release.

When already having FK installed and the app tells there is an update, one knows that it is a new release for sure ;)
[Nexus 5X Original Android Development] *ReZa*:
I had RR with R-30 and that was a great combination.:good:
[Nexus 5X Original Android Development] LazerL0rd:
I was wondering if there was a possible sound clarity engine to be built into the kernel. For example, EX kernel has it's Viper?
[Nexus 5X Original Android Development] ndarkside93:
Franco had Franco sound. And ex has faux sounds. Of the two, Franco tends to sound better
[Nexus 5X Original Android Development] flar2:
All the kernel sound mods sound the same because they do the exact same thing.
[Nexus 5X Original Android Development] Stevica Smederevac:
It's the ears that are different :laugh:

Sorry, couldn't resist ;)
[Nexus 5X Original Android Development] ndarkside93:
Thanks, i love your work. And yes, I would say they do. I just subjectively always felt that way.
[Nexus 5X Original Android Development] LazerL0rd:
Hmm, okay. I'm guessing it's just an audio_effects.conf modification... And also the controllable speaker gain thing :p (I only use it +5 on the speaker anyway)
[Nexus 5X Original Android Development] ndarkside93:
Not exactly, I don't think it touch's the audio effects conf file. Because you can run it fine in conjunction with viper. But yes, it's a kernel function that controls volume output and helps reduce distortion at higher levels.
[Nexus 5X Original Android Development] jody2k:
Agreed all current kernels sound the same currenly.

but if some dev could implement the andreilux soundmod with hardware equalizer settings in synapse kernel app (eargasm) that would be a different story.

Managed to do that on galaxy s6 if someone is interested check my thread from the past:

https://xdaforums.com/galaxy-s6/general/galaxy-s6-andreilux-sound-t3237397/page1

Anyone interested? Xd

[MENTION=4684315]flar2[/MENTION] [MENTION=5996255]jollaman999[/MENTION] [MENTION=3292224]franciscofranco[/MENTION]
[Nexus 5X Original Android Development] :
deleted
[Nexus 5X Original Android Development] :
does anybody here uses franco kernel with pure nexus 1/06 build in f2fs? i cant make it to boot. :( :confused:

[MENTION=3292224]franciscofranco[/MENTION], can you take a look? a user also replied on my comment (pure nexus thread) that he cannot boot with f2fs. thank you in advance!! :)
[Nexus 5X Original Android Development] kojak1989:
franco have some ready gov profiles like ElementalX ?
[Nexus 5X Original Android Development] :
no, he has own customized profile loaded by default at boot. :) but cannot be a gov profile executed in EX unless you make your own. look at init.fk.rc file inside the zip, default config is there.
[Nexus 5X Original Android Development] kojak1989:
so even gov profiles from EXKM cant be loaded ?
[Nexus 5X Original Android Development] :
You can by using EXKM.
[Nexus 5X Original Android Development] LazerL0rd:
Using the UX Soundmod rn, boy this looks good to go with it : ).

---------- Post added at 11:17 PM ---------- Previous post was at 11:02 PM ----------

Because I absolutely have no time whatsoever, I went along and download HawkTail1.2. Then guess what? I manually typed in each value in FKUpdator. I'm loving it actually :D, I learnt along the way what HawkTail does and it's definitely is saving battery on Snapchat lol (for some reason I can still use it while rooted :p).
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
May I ask what the UX soundmod is? Or maybe a point(link) in the right direction?☺️
[Nexus 5X Original Android Development] yochananmarqos:
Good grief, it's the first Google result.
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
There's actually quite a few results. Don't think I'm one of those people that didn't Google first and wanted to answer hand-fed to me. But if you just going to act better , just to seem cool or something, then please move on. Otherwise, any help is appreciated. Thank you
[Nexus 5X Original Android Development] yochananmarqos:
Sorry, you sounded "one of those people." My apologies.

I Googled it because I was curious about what it was, too. However, I'm falling asleep so I didn't read too much about it. If I remember, I'll look it up tomorrow.
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
All good. Thank you.
[Nexus 5X Original Android Development] jody2k:
Im not gona hijack this thread but what is your experience compared to viper4android?

This phone really needs some decent soundmod imo, output soundquality is pretty mediocre. Even cheap phones like my moto G have much better soundquality and soundstage for example.
[Nexus 5X Original Android Development] LazerL0rd:
Yeah, it's great and I can use it with Franco without headache. See, since our speakers are kinda.. Generic, I thought of using a generic mod for it - that's why I chose UX. I havn't used any patches tho (you'll get what I mean by viewing the thread). In my opinion very worth it if I get to keep franco kernel ;)!

---------- Post added at 08:44 AM ---------- Previous post was at 08:42 AM ----------

only thing in my history was the drive file :p, you could have a look - https://drive.google.com/file/d/0B7I8wbV9_xCuQ19rX2EyTFhTenM/
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
Brilliant mod! I see what you mean :)