yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] :
It works. Need to run permissive mode to access files from other apps though.

Edit: There is a kernel patch https://xdaforums.com/showthread.php?t=2106480 to fix mounting issue from 4.2, entirely up to [MENTION=3292224]franciscofranco[/MENTION] if he includes it or not.
[Nexus 5X Original Android Development] :
Hello Francisco Franco,

I know that I have already asked to you for this but this is very necessary.

Today I used my phone only 40 minutes but my battery level is only 67% because I forgot to put off 4G so if you could add in your app in the battery labs section an option to cut 4G when idle it will be really friendly and save my battery.

Thanks in advance.
[Nexus 5X Original Android Development] jcmm11:
Have you tried Naptime?
[Nexus 5X Original Android Development] :
I have naptime but naptime let the 4G drink my battery
[Nexus 5X Original Android Development] jcmm11:
4G on its own won't eat battery. You have an app that's active in the background and is pulling down data. Find out what the app is. It should be one of the ones that you've turned battery optimization off for. If I had to guess, without knowing what you have on the phone or how you have it setup, I would guess Facebook.
[Nexus 5X Original Android Development] jugoslavpetrovic:
4G is not responsible for that. Try Data Saver in Data options in system menu.
[Nexus 5X Original Android Development] Molitro:
For the last couple of days my battery has been in a continuous free fall with barely any use too. I have to guess some app update that's misbehaving, because I've changed nothing myself. And even then it's strange cause I have nothing out of optimization.

In any case, 4G shouldn't be the problem.
[Nexus 5X Original Android Development] :
2 hours of sot today ...
[Nexus 5X Original Android Development] :
Guy see my stats the 4G is pumping my data because yesterday I was at home with wifi and I got easily 4h of sot and I was playing games...
[Nexus 5X Original Android Development] :
4G is mobile standby and Android platform so 16% of my battery like the screen who consumed too 16%...

So please help me to reduce 4G power consumption and I think that the better way is to put off 4G automatically when idle.
[Nexus 5X Original Android Development] :
With time I forgot that Tasker could do this easily so thanks for help.
[Nexus 5X Original Android Development] AlvaroBaSi:
I was talking about the problem below... The problem is that either the processor or the battery throttles very early and that's the reason I'm having that lag issues (the processor turns off the big cores very quickly) and low charging rate just by using it (twitter, whatsapp, chrome and some other light apps. Not fb.) So, I was asking if either francokernel or android 7 (or both) changes the thermalthrottling engine to improve this.
[Nexus 5X Original Android Development] :
Don't know exactly but I'm using Franco kernel and Android 7 and even when I'm playing I don't have any lags.
[Nexus 5X Original Android Development] :
[MENTION=3292224]franciscofranco[/MENTION] has kernel source for O DP2 been released or not? If so, are we likely to see updated kernel from you? :)
[Nexus 5X Original Android Development] guanto96:
I see some lags while scrolling, what settings I have to change to improve smoothness?
[Nexus 5X Original Android Development] ulxerker:
enable performance profile in Francos kernel app or increase input_boot duration in any other kernel manager app.
[Nexus 5X Original Android Development] LazerL0rd:
Would be great to have that. Only wishing someone could fix FBE for us to use.. it's very secure and along with Magisk and a supporting TWRP - root wouldn't be insecure as much.
[Nexus 5X Original Android Development] prognosticon:
Hi.

Can i simply flash it over elementalx?

Or do I have to flash stock(lineage) kernel before?

I use lineage os 14.1 with elementalx but didn't know that I have to pay for the elemental manager to use the volume booster.
[Nexus 5X Original Android Development] zurik:
You need to flash the stock kernel that room comes and then custom. You need to pay for FKU to have all features.
[Nexus 5X Original Android Development] zurik:
Hello [MENTION=3292224]franciscofranco[/MENTION] , may you make a little bit cooler temperature for the display? It's a little bit yellowish...
[Nexus 5X Original Android Development] pkelly517:
That's not entirely true.

Anything the app can do can also be done by writing a value to a file. The app just does this behind the scenes.

That being said, if you like the kernel and its features, buying FKU is the right and pretty reasonable thing to do. I'm not sure how much it goes for these days, as I got it for my Galaxy Nexus.
[Nexus 5X Original Android Development] zurik:
I think Kernel Adiutor (?) have also this feature, I don't know.
[Nexus 5X Original Android Development] prognosticon:
Thanx, but I decided to buy the elemetal manager app.

Its cheaper than the Franco app and I don't need to redo all the flashing things......

I need it only for the volume settings.
[Nexus 5X Original Android Development] BitterBuffaloh:
Was just reading through the OP and i see a mention that #38 ver is for 7.1.2. I have this kernal version #37 installed over AOSP-N ROM 7.1.2. I just grabbed the latest version franco had on his website, I see no #38. Do I need to hunt down that version, or is this ok? Thanks in advance.
[Nexus 5X Original Android Development] rp158:
[MENTION=7342002]BitterBuffaloh[/MENTION]: navigate ../../7.1.2
[Nexus 5X Original Android Development] BitterBuffaloh:
Oh, dang. Can I just flash the newer version #39+ over my #37 version in TWRP?
[Nexus 5X Original Android Development] jcmm11:
Yes. (Latest is 40)
[Nexus 5X Original Android Development] BitterBuffaloh:
Ok, thank you!

I'm now on #40 now. Will continue to test. Seems like a great kernel.
[Nexus 5X Original Android Development] jcmm11:
https://kernels.franco-lnx.net/Nexus5X/7.1.2/anyKernel/
[Nexus 5X Original Android Development] LazerL0rd:
No DP2 kernel yet...? I'm sure the sources are released.
[Nexus 5X Original Android Development] :
I have a problem ,today when I let m'y phone un my pocket after I wanted to use it , my phone won't boot anymore. I had needed to stay one minute on power button.

ROM durty unicorn

Kernel franco

Root supersu

Look at the VERY strange battery stats.( the graphic is wtf)
[Nexus 5X Original Android Development] Captain_Hungary:
I had something similar once. The battery dropped from 75 to 19 percent in a second, and it stayed there for hours. However I could use it as normal, my sot was 4 hours, like most of the time. So it's just some battery calibration failure I guess, I have never had it after that. (It happend half year ago, on stock rom)

It's certainly not the kennel's fault.
[Nexus 5X Original Android Development] :
OK thanks I'm going to calibrate my battery.

Thanks for help ?
[Nexus 5X Original Android Development] :
I know that you don't want to add it so how can I manually add pulse led to the kernel?
[Nexus 5X Original Android Development] ulxerker:
Naptime question

[MENTION=3292224]franciscofranco[/MENTION] I just noticed that Naptime isn't battery optimized by default in Android settings .... is this intended because of any service or can we just optimize it without side effects?
[Nexus 5X Original Android Development] :
Personnaly I don't optimize it because otherwhise Android will stop it during idle and you won't save any battery.

Letting it not optimized don't consume more battery , I have 0% in idle.
[Nexus 5X Original Android Development] neth15:
Love ya [MENTION=3292224]franciscofranco[/MENTION]

Thanks for this awesome kernel. I can get 2h of SoT (part of that is 1h of intensive Hearthstone gaming) and have 40% left. I get 3h of SoT with light usage of Facebook, Chrome, Messenger etc and 4h reading eBook in Word. Considering other kernels and configurations gave me like 2h of SoT, these numbers seem unbelievable to me. Thank you very much! Keep up the good work

Btw. I use FK with SAOSP ROM and without Naptime/Greenify
[Nexus 5X Original Android Development] iamterence:
No, sources AREN'T released because Android O isn't public yet. Sources are released once it's uploaded to AOSP. Developer Previews do not count.
[Nexus 5X Original Android Development] LazerL0rd:
https://android.googlesource.com/device/lge/bullhead-kernel/+/android-o-preview-2

---------- Post added at 04:06 PM ---------- Previous post was at 04:05 PM ----------

It's a public beta. No longer a Dev preview.
[Nexus 5X Original Android Development] SlimSnoopOS:
Aren't pre-built kernels different form source somehow? I remember a kernel dev saying we needed source when a user posted the (then) 7.0 dev preview pre-built kernel. I didn't fully grasp why that was not good enough though.
[Nexus 5X Original Android Development] LazerL0rd:
You can look at the commits and build it on top of the one it states it's built upon.

I believe this is what Franco previously did, although I'm unsure.
[Nexus 5X Original Android Development] nathanchance:
That's not the source, this is the source: https://android.googlesource.com/kernel/msm/+/android-msm-bullhead-3.10-o-preview-2
[Nexus 5X Original Android Development] LazerL0rd:
Ah, thanks man. Well this shows the source is there. Just waiting for Franco. Wherever he went.
[Nexus 5X Original Android Development] cdlixucd:
Hi op. In your file download webpage there is no r38 for 7.1.2. Where can I get it
[Nexus 5X Original Android Development] j-a-d-z:
https://kernels.franco-lnx.net/Nexus5X/7.1.2/anyKernel/
[Nexus 5X Original Android Development] cdlixucd:
Thanks. Dude I will try it later

---------- Post added at 08:45 AM ---------- Previous post was at 08:39 AM ----------

Just download it. And flash it with 3 party recovery?
[Nexus 5X Original Android Development] j-a-d-z:
You can flash it in twrp.
[Nexus 5X Original Android Development] cdlixucd:
I've done it and it succussed. But I wanna know how to flashback original kernel. Can u tell me thanx

---------- Post added at 09:20 AM ---------- Previous post was at 09:05 AM ----------

About the 2nd features. Who can tell me what does it mean ?3x
[Nexus 5X Original Android Development] j-a-d-z:
Just flash the original boot.img of the stock rom (per fastboot or twrp.

Features:

You can use a kernel manager app like kernel audiutor or -like me - Franco Kernel manager from the op to configure these features.
[Nexus 5X Original Android Development] cdlixucd:
After I flash this kernel. Vibrate will happen strangely. Do you have the same situation like me

---------- Post added at 12:58 PM ---------- Previous post was at 12:50 PM ----------

After flashing this. The poor battery situation has been really changed ?
[Nexus 5X Original Android Development] j-a-d-z:
No strange vibrations, good battery here.
[Nexus 5X Original Android Development] cdlixucd:
Oh my god. I will notice this situation with more attention. But for battery the bad situation has not changed at all
[Nexus 5X Original Android Development] :
To see a real battery difference you must use franco kernel manager and set profiles.
[Nexus 5X Original Android Development] cdlixucd:
I can't find in the play store. Can u tell me where to download it
[Nexus 5X Original Android Development] shhnedo:
You're doing something wrong then...

franco kernel in search > hit Enter >

https://play.google.com/store/apps/details?id=com.franco.kernel&hl=en
[Nexus 5X Original Android Development] cdlixucd:
forget it. I will recovery my kernel.
[Nexus 5X Original Android Development] LazerL0rd:
Yes and yes.

Vibration is lowered from stock. Also, battery life dramatically improves.
[Nexus 5X Original Android Development] cdlixucd:
Did u edit your profile or some configuration file with kernel manager?But for me the battery situation was not changed at all.and how can I make sure I flash the kernel successfully
[Nexus 5X Original Android Development] jcmm11:
To see what kernel you're currently running

Settings|About phone|kernel version

As far as battery goes you must have some app that's draining your battery. Kernel can only do so much, it still depends on personal usage patterns and what you're running.

Time to play detective and find what's draining your battery. GSAM can probably help you there. https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
[Nexus 5X Original Android Development] cdlixucd:
Thanx dude. I will try it now

---------- Post added at 10:04 PM ---------- Previous post was at 09:57 PM ----------

But I forgot the original kernel code. How can I find it
[Nexus 5X Original Android Development] cdlixucd:
Ok I got it. Thanx dude
[Nexus 5X Original Android Development] yochananmarqos:
FYI, r38 is 3 months old. Since you have the May security patch, you should be running r40 to match.
[Nexus 5X Original Android Development] cdlixucd:
You mean I should flash r40?

---------- Post added at 01:40 AM ---------- Previous post was at 01:35 AM ----------

Btw thanx anyway
[Nexus 5X Original Android Development] yochananmarqos:
:eek:

:confused:
[Nexus 5X Original Android Development] cdlixucd:
What does this emoji mean?I just flashed

---------- Post added at 01:22 AM ---------- Previous post was at 01:10 AM ----------

I flashed back to original boot.img right now
[Nexus 5X Original Android Development] j-a-d-z:
It means: why the heck you flashed the older r38 instead of the newest r40? :eek:
[Nexus 5X Original Android Development] :
If you look at the download link, it changed after R38 but it was never updated in the thread. Still goes to the old builds.
[Nexus 5X Original Android Development] CataHd:
So I guess this kernel it's not working anymore with the new aospa since they switched to CAF?
[Nexus 5X Original Android Development] :
No that's the main CAF problem, CAF is not compatible with the majority of xda kernels like franco.

?
[Nexus 5X Original Android Development] zurik:
Hey [MENTION=3292224]franciscofranco[/MENTION] , what commit are you used to add support blocking wakelocks? And how to block the wakelocks by default?

Edit:

This is the commands to cherry pick 542c4269ee5c1a2c38c3257e2f02c4fab7f25123?

git remote add franco https://github.com/franciscofranco/bullhead

git fetch franco

git cherry-pick 542c4269ee5c1a2c38c3257e2f02c4fab7f25123

?

It will be merged into kernel but blocking these wakelocks it will be enabled by default? Or need something to do extra to make it block these wakelocks by default?
[Nexus 5X Original Android Development] :
I'm not sure but I think they are blocked by default but to control them you need to use franco kernel manager app
[Nexus 5X Original Android Development] zurik:
That's bad that I will not root my device anymore soon
[Nexus 5X Original Android Development] :
If you want to do this I will suggest you to use dirty unicorn and their kernel (who is powerful without doing anything) because franco kernel is more powerful with franco manager app wich requires root access (both kernels are good but petsonnaly I have better results with franco)
[Nexus 5X Original Android Development] zurik:
To be sure, I will wait when developer answer me. Thanks for help!
[Nexus 5X Original Android Development] :
I think you will wait a bit because he appears to be really busy as he don't has release june update
[Nexus 5X Original Android Development] zurik:
I know
[Nexus 5X Original Android Development] mr.ace:
You should cherry-pick commits from here

https://github.com/franciscofranco/bullhead/commits/nougat-mr2/drivers/base/power

for safety net :

1-https://github.com/mortezadadgar/shadow/commit/5f65746ab10cb09efff096475c8a1fde7d909799

2-https://github.com/mortezadadgar/shadow/commit/dc5e973fd9350666a62b144d66f1d8ac4de5e56d

I know you're in the first way of kernel development but you can't always ask questions like this, search in developer githubs is a better idea

Good luck!
[Nexus 5X Original Android Development] jcmm11:
He's on vacation. He'll be back on Monday, and I'll guess he'll have a bit of a backlog.
[Nexus 5X Original Android Development] :
Thanks for the information ?
[Nexus 5X Original Android Development] AerogamingHD:
My battery drain is very fast on this kernel. I'm using pure nexus latest and my battery life is shocking. What is the best kernel setting for maximum efficiency.
[Nexus 5X Original Android Development] LazerL0rd:
It is.
[Nexus 5X Original Android Development] jcmm11:
1) What's your screen on time in those 6 hours?

2) from everything I hear get rid of the Facebook app and just access the site via the browser and you'll see drastically improved battery usage. Hearsay on my part though, I don't use Facebook (as far as I'm concerned they need to kill it with fire)
[Nexus 5X Original Android Development] AerogamingHD:
That's my point. My phone is showing weird behaviour. It's so laggy and glitchy and I use Snapchat all the time and that's even more laggy then normal
[Nexus 5X Original Android Development] jcmm11:
Hmm try installing and running this and see if it runs any smoother. https://play.google.com/store/apps/details?id=com.fifthelement.trimmer
[Nexus 5X Original Android Development] :
I'm on pure Nexus with this kernel and I have a very good battery (4h of sot in average)...
[Nexus 5X Original Android Development] franciscofranco:
Ok break from XDA is over, and vacations are over. Sorry for the absence but I had to rest.

r41 is up with the June security patches and some other enhancements I picked from Pixel's Android O Kernel patches.

You can flash it with https://play.google.com/store/apps/details?id=com.franco.kernel or any other mean you're used to!

Hope you're having a great start of summer!
[Nexus 5X Original Android Development] indian84:
Summer can't get better than this.

If you are from Europe. :D
[Nexus 5X Original Android Development] LazerL0rd:
We missed you bad, mate. Welcome back!! I'm sure you'll be excited to see Android O coming soon too.

Thanks again for the great work, we only asked for security update but as usual you brought your amazing enhancements to it too ??
[Nexus 5X Original Android Development] franciscofranco:
Yes Android O is going to be a pretty big update :)
[Nexus 5X Original Android Development] cthuluhoop123:
Hey man, what themes/mods are you using?
[Nexus 5X Original Android Development] Kiba No Ou:
Hi, can i ask if the r41 is compatible with Android O DP3?

Cause I've noticed that the OS is sluggish compared to the stock kernel.
[Nexus 5X Original Android Development] kevtrysmoddin:
I'm on dp3 and I have no issues with sluggishness at all have you checked if anything heavy is running in the background
[Nexus 5X Original Android Development] Kiba No Ou:
Yes I've checked and i've no heavy app in background, I've installed just a few apps that i need and that's all.
[Nexus 5X Original Android Development] kevtrysmoddin:
It cold be down to thermal throttling I'm not sure it does sound strange though
[Nexus 5X Original Android Development] Kiba No Ou:
Thermal throttling in idle? But not in the stock kernel?
[Nexus 5X Original Android Development] kevtrysmoddin:
If it's sluggish when it's been idling then I'm not sure what the issue could be
[Nexus 5X Original Android Development] Kiba No Ou:
What i mean is that the OS is sluggish than the stock kernel in everyday usage.

How can i check if there's something wrong?
[Nexus 5X Original Android Development] LazerL0rd:
Look at the logcat.
[Nexus 5X Original Android Development] jugoslavpetrovic:
It's redicilous to compare android with iOS.
[Nexus 5X Original Android Development] franciscofranco:
This is the wisest post in the last 2 pages.
[Nexus 5X Original Android Development] Kiba No Ou:
I've attached some logcats to the post.

Can you help me to check them to see if there's any problem?
[Nexus 5X Original Android Development] LazerL0rd:
Well, firstly there's a whole list of disallowed permissive requests... And allot of Google IMS errors... Java errors.. tz errors..

I think you should stick to stick kernel as that is based on O.
[Nexus 5X Original Android Development] Kiba No Ou:
So, i better use the stock kernel until Android 8.0 is released and franco make a new kernel based on official o sources?
[Nexus 5X Original Android Development] LazerL0rd:
Most definitely. Yes. You can still use a kernel manager though.
[Nexus 5X Original Android Development] Kiba No Ou:
Thanks ;)
[Nexus 5X Original Android Development] duffymm:
Dear [MENTION=3292224]franciscofranco[/MENTION]

I'm using the full version of your kernel manager app (bought it on google play) on Nexus 5X

I saw a strange behaviour, that I'm not sure if is correct or if is just a graphic false positive

I'm using the kernel with "balance" performance profile

And I've setup that should automatically switch to PowerSaving profile at 20% battery (performance profile menu of the app)

I've also disabled the "android battery saver" option

This is working properly, because if I run the app at 20% battery, I see that it switched automatically to the PowerSaving Profile

The "strange" behaviour I saw is that , after the battery has been charged back, it doesn't seem to switch back to the balance profile because if I run the app, I see "Power Saving" as the "coloured" option.

Thanks for your support as usual.

Sincerely
[Nexus 5X Original Android Development] fire7777777:
which is the diffrence about msm_thermal and core_control??
[Nexus 5X Original Android Development] franciscofranco:
I know about that. It'll have better behavior next app release.
[Nexus 5X Original Android Development] duffymm:
Thanks a lot ! Great !
[Nexus 5X Original Android Development] jugoslavpetrovic:
Core control is disabling big cores when get too hot as set in thermal seiver, and msm thermal is actually throttling the cpu clocks to cool down.
[Nexus 5X Original Android Development] fire7777777:
But do I must use at the same time or I must use one or the other ??
[Nexus 5X Original Android Development] jugoslavpetrovic:
Its up to you, but I suggest using at least one of. I personally use both, but using one is also preferred.
[Nexus 5X Original Android Development] franciscofranco:
You don't need to worry about any of that, just use your phone normally as it is.
[Nexus 5X Original Android Development] fire7777777:
yes but it is for my curiosity and for my learning :)

do you know any reference??

---------- Post added at 08:47 PM ---------- Previous post was at 08:47 PM ----------

thanks :)

---------- Post added at 08:50 PM ---------- Previous post was at 08:47 PM ----------

thanks :)
[Nexus 5X Original Android Development] LazerL0rd:
Personally I like msm_thermal disabled (I think Franco default??). Core control is good enough for me :P
[Nexus 5X Original Android Development] dreamland2000:
Am I missing something as I can't find the link to the latest release. The OP link to all the other versions only goes up to r37. Is this only available now through the app?? Thanks
[Nexus 5X Original Android Development] Lossyx:
https://kernels.franco-lnx.net/Nexus5X/7.1.2/anyKernel/
[Nexus 5X Original Android Development] LoneWanderer_97:
Need to be on stock kernel before flash?
[Nexus 5X Original Android Development] tom0769:
Yes
[Nexus 5X Original Android Development] batwingnz:
The OP states O DP1 supported, is DP3?
[Nexus 5X Original Android Development] kevtrysmoddin:
I'm using it on dp3 with no issues so far
[Nexus 5X Original Android Development] agustinsaavedra1:
[MENTION=3292224]franciscofranco[/MENTION]

Sorry to everyone but franco you will still support the kenzo?

We are waiting for you amazing development

Sorry for the offtopic

Enviado desde mi Redmi Note 3 mediante Tapatalk
[Nexus 5X Original Android Development] CptanPanic:
I'm trying to run cpu intensive app and have things working fast with screen on, but it slows down a lot when screen is off. What do I need to change to keep it at high performance all the time? I am on 7.1.2 and have already set app to not be optimized in regards to battery.
[Nexus 5X Original Android Development] LazerL0rd:
I was thinking [MENTION=3292224]franciscofranco[/MENTION] if you could maybe implement this commit (save battery as it offloads FLAC)

https://github.com/CyanogenMod/andr...mmit/f961d70994fe5f097b90e2cb5cfd87e90302c456