yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] prstephens:
r45 on Android 8.0 randondom reboots

I can confirm that after a clean flash of stock Oreo, that r45 causes random reboots.

Twitter will reboot after opening

Google maps reboots once you start navigation

Running stock kernel for now. but miss Francos awesome batter life :(
[Nexus 5X Original Android Development] BlueHawk:
r45 on Android 8.0 reboots as soon as home screen loads up

I can confirm that with the r45 kernel, the reboot happens if not immediately, quite soon after the home screen appears on my wife's 5X. So with the 8.0 upgrade, the "finalizing" upgrade notification would appear and then the reboot would happen - which ciould have something to do with the apps my wife has and widgets on the home screen. I restored the phone to a vanilla 8.0 kernel and everything went fine. I should note I have magisk running. But I haven't had a hiccup with either the vanilla kernel or ElementX. I'll wait patiently for FrancoKernel.
[Nexus 5X Original Android Development] eak1080:
Are you running magisk?

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

I can't be the only one obsessively checking to thread for the past week.....??? Lol
[Nexus 5X Original Android Development] AtField:
You guys should really post a log. I'm not having any reboot, otherwise i would have already posted a log
[Nexus 5X Original Android Development] purpse:
I also get reboots with maps. Also the app reports stock kernel installed. My personal opinion is this kernel was rushed out because of users constantly asking for Oreo versions. I needed maps very soon after installing this kernel for a trip and it let me down (i know I should have completely tested every app before relying on new kernel). Posting logs is not something that the average user should be expected to do, especially when using a fully paid for established app.
[Nexus 5X Original Android Development] tom0769:
So you think the average user is only supposed to leave complaints without details?

How should devs know about all the stuff you installed?

You are not obliged to install every new kernel release.

And advertising other kernels here is also no good idea.
[Nexus 5X Original Android Development] :
Magisk isn't culprit.. I get random reboots in Amaze Manager/Maps with or without it... I've attached logcat, there really isn't any noticeable (not to me at least). Last line of logcat is when my phone locks up then reboots shortly after..
[Nexus 5X Original Android Development] purpse:
Good point so I have removed reference to other kernel.

I know I am not obliged to install new release but if I have kernel manager installed and it says new kernel available in notifications I go ahead and install because I trust the dev. If it then breaks apps I get a little miffed. In future I will wait until more experienced users have tested and provided logs. Once everyone has reported no problems I will install.
[Nexus 5X Original Android Development] mashedbymachines:
Getting reboots on r45 when:

* Starting navigation in Google maps

* Opening solid explorer

* opening the Dji 4 app when connecting to a drone

Waiting for a fix :)
[Nexus 5X Original Android Development] eak1080:
Installed franco last night... Was fine all evening using phone. This morning went to use maps, navigation start crashed it. Interesting thing is that when it rebooted and came back up, all my signed in accounts were "signed out of". Google account, yahoo, smart things, etc.... for some reason the crash/reboot wiped all the saved account data on the phone.... weird...

Then after 3 reboots to try and capture logs, it did a factory data reset....

View attachment franco_crash.zip logcat
[Nexus 5X Original Android Development] osm0sis:
Unfortunately, sometimes a sudden reboot can cause data corruption in whatever is open at the time, so it tends to appear like a data reset.

Can someone upload a /proc/last_kmsg after one of those Maps reboots? Might be helpful in tracking it down.

Either way, Francisco has told me while he isn't seeing these problems on his device he'll likely start from scratch and do another rebase to try and fix it for everyone.
[Nexus 5X Original Android Development] froggy666uk:
Hi osm0sis,

I was getting reboots whilst scrolling through my Twitter feed, but I couldn't find any evidence of a /proc/last_kmsg file after the restart. Very strange!

Haven't tried again since-back to stock for now.

Good to hear Franco is on the case, happy to try/test anything if it will help.

Cheers,

Dave
[Nexus 5X Original Android Development] Nicktheprofessor:
Question is why it's so random, I mean for most people it seems to have to do with location services but then there are those who are just using a file manager.

I don't have the time to review commits at this point either so I really cannot help right now.
[Nexus 5X Original Android Development] duffymm:
MiXplorer app : phone reboots immediately as soon as i launch the app

dunno if logs are required, let me know
[Nexus 5X Original Android Development] skinner12:
I'm using r44. Fantastic, amazing battery life and great multi tasking. +1
[Nexus 5X Original Android Development] :
Yeah same for me when I open a file manager my phone reboot.

PS: nice interview franco ?
[Nexus 5X Original Android Development] harryohh:
I have the same issues. Anyway to return to stock without flashing the factory images again? I am on holiday and have no access to a pc or fast internet.
[Nexus 5X Original Android Development] davinaizer:
Sure you can . Just download the factory image, unzip the files, then you have the boot.img. Reboot to bootloader and then "fastboot flash boot boot.img. That's it.

Edit: maybe the slow internet will be a problem. I'll try to post the file for you when I get home.

Edit 2: Here it is. (boot_image-bullhead-opr6.170623.013)
[Nexus 5X Original Android Development] jcmm11:
If you have TWRP installed yes. Take the boot image (extract from the zip file so you have a .img file) and install it (choose image option) to the boot partition.

If you're rooted you'll have to reapply your root method. If not rooted you're done.

If no TWRP then you're out of luck, you'll need a computer for fastboot.

Actually if you're rooted with Supersu, and you applied Supersu before applying Franco, all you need to do is reapply Supersu. Supersu created a backup of the kernel when it's first applied. Subsequent zip installs of Supersu will see that the kernel is already patched and will restore the backup so it applies patches to a clean copy of the kernel. (Which is why you'd always have to reapply a custom kernel after upgrading Supersu)
[Nexus 5X Original Android Development] harryohh:
I have twrp so I should be fine.

Thanks for the help.

Edit: Worked perfectly.
[Nexus 5X Original Android Development] redj12:
[MENTION=3292224]franciscofranco[/MENTION] Hi mate. Can you tell me if disabling the big cluster to save a little battery is it risky ? I mean, little clusters will be overcharged ?

Thank you
[Nexus 5X Original Android Development] LazerL0rd:
Not risky at all. But you'll lose performance allot. I think his (franco's) power save mode (in his app) does this, but also the "fix for bootloop" does as well (they need to as big cluster causes the bootloops sadly).

Now, you could overclock the little cluster but that's another matter with it's own issues.

PS - when u ask a question that's not like "why did you", you should ask the community to lighten the weight on the dev's shoulders :)
[Nexus 5X Original Android Development] redj12:
I am on the Nexus 5x community. This issue of bootloop aren't definitely fixed ? Can you tell me on which case the bootloop can appears ? After update ?

About your PS : Ok sir. Will proceed this way the next time.
[Nexus 5X Original Android Development] LazerL0rd:
It may appear randomly tbh. The issue is the SoC isn't soldered on correctly at the mount points of the big cluster. Disabling that cluster causes the SoC to not send commands over the broken bridge. It may be replaced or "heated" till it melts the bridge and kinda sticks by itself. Or sent for fixing. If ur boot loader is locked however - there is a petition to try get google to sign the package which lets you boot without unlocked bootloader into this "fixed" mode without the big cluster running. Until then u can only "fix" with a unlocked bootloader or repair (which I advise).
[Nexus 5X Original Android Development] Schneewitzchen:
Hi [MENTION=3292224]franciscofranco[/MENTION],

i've attached console-ramoops & dmesg-ramoops from a sudden reboot after starting navigation with google maps app.

I hope it helps...or if you need other logs then i will try to help you out.

I'm on Stock Oreo with SuperSu 2.82 SR3.
[Nexus 5X Original Android Development] boswelja:
So I'm considering unlocking my N5X and flashing this, but I have a few questions

1. How much battery is generally saved?

2. What does it mean by "Flash and forget"? Does it stay installed across updates?
[Nexus 5X Original Android Development] tom0769:
1. That depends heavily on your setup and usage, in general franco kernels are realy not bad on battery

2. That means you flash the kernel and there's no need to do further tweaks, though franco offers an excellent app to control the kernel. When you update roms, you have to reflash the kernel.
[Nexus 5X Original Android Development] paolorotolo:
Last kernel on Oreo cause phone reboot as soon as I open Twitter...
[Nexus 5X Original Android Development] xub.911:
Same here happens on MX Player too.
[Nexus 5X Original Android Development] M1ST4K3:
It also happens on Facebook Lite. As soon as the app is opened, it reboots.

I have a 100% clean install of Android 8.0 and the only apps I have installed (apart from the pre-installed ones) are Spotify, SuperSU, FK Manager and FB Lite.
[Nexus 5X Original Android Development] rp158:
Instead of summing up apps, which all crash, add a logcat
[Nexus 5X Original Android Development] M1ST4K3:
Wasn't home, sorry.

Here are the logcats I could get:

Crash caused by FB Lite

Crash caused by Google Maps

Let me know if there's anything else you need. I'll gladly help.

EDIT: Not sure if it matters, but for the gmaps error I went to Google Now and pressed the "Where am I parked?" card.
[Nexus 5X Original Android Development] zurik:
I see that r45 is pretty buggy on Android Oreo.
[Nexus 5X Original Android Development] M1ST4K3:
It is... I'd advise against installing it. I rolled back to the original kernel and it's all good now. Francisco is already aware of the problem though and working on it.
[Nexus 5X Original Android Development] gullkhan0:
How do you roll back to original kernel? Do you just flash original boot.img?
[Nexus 5X Original Android Development] tom0769:
Exactly,that's the way
[Nexus 5X Original Android Development] Skulltec:
I need Franco kernel back in my life. Battery life is horrible I didn't know it was that bad on stock... :(
[Nexus 5X Original Android Development] dpj52190:
Yea franco is rebooting my phone. too. As a solution install elementalx kernel and install hawktail1.2 cpu governer. its giving me same battery life as franco. But more lag than franco. Still a good alternative.
[Nexus 5X Original Android Development] Dread This Day:
You're seriously Hawking another kernel in this thread? Lol.
[Nexus 5X Original Android Development] Skulltec:
before i was using franco kernel i used that elemetnal X thing. It was when i followed the crowd over on reddit suggesting that it's better. I indeed was super happy when i got it. my first buy on play store lol. For some reason i wasn't pleased anymore and took advantage on franco's kernel, yet to spend another 5 bucks for it's app but i gave it a shot. At that point i just knew why people are talking great about the work that franco has done. My phone was extremely smooth, seriously great battery life and never had issues or anything like that.

I do have regrets i bought that elemental x kernel at the first time.. sure improved some but performance was a lot worse.

Yes yes, i know you can use other, or free managements for kernels but i think a developer deserves some cash for something that you actually use everyday. a small fee for a life improvement
[Nexus 5X Original Android Development] osm0sis:
You guys realize r44 still works fine on Oreo, right? :rolleyes:
[Nexus 5X Original Android Development] Skulltec:
Of course! i.. i... give you a thanks just in case..

:eek: why didn't i think of this before...
[Nexus 5X Original Android Development] srnoth:
Honestly hadn't occurred to me to try. Giving it a go now with the Sept update. Really appreciate the job you and Franco have done, best wishes for getting the r45 issues sorted.
[Nexus 5X Original Android Development] gullkhan0:
Can't find the r44 link anywhere for Nexus 5X. Where did you find it?
[Nexus 5X Original Android Development] DonXoB:
https://kernels.franco-lnx.net/Nexus5X/7.1.2/anyKernel/
[Nexus 5X Original Android Development] mikeprius:
[MENTION=3292224]franciscofranco[/MENTION] I'm using naptime the most recent version, non-root on Android 8.0 (most recent) Nexus 5X. I noticed my screen adaptive brightness is not working anymore with the most recent update. I didn't notice any different in terms battery life, but my screen won't brighten and it keeps staying dark. It only changes after I turn off naptime, reboot, then everything is fine.

Is there a way that I can make my adaptive brightness great again ??
[Nexus 5X Original Android Development] lizardd:
Hey guys. I'm using r44 on Oreo Sept security update. Not root.

I installed the kernel as is without any modifications and I'm getting the same SoT (not an issue, more of a concern) but I'm getting much better stand by battery drain (which is really good).

Is anything wrong maybe? Should I be getting more SoT or is normal behavior?

Vanilla kernel was about 3-3.5 hours SoT. And same SoT on Franko Kernel.

Uptime since last 100% charge is now 15 hours from 9 hours with vanilla kernel.
[Nexus 5X Original Android Development] osm0sis:
I'd say that's about normal. I know that there's a little extra magic done in the ramdisk if the device is rooted that might improve things somewhat, but it's hard to say how much; they're just minor extra tweaks to background process lists, etc. in init.special_power.sh.

Things might also improve slightly when we get some of those Oreo kernel commits in there to match the ROM-side Doze improvements.
[Nexus 5X Original Android Development] eak1080:
....... Checks thread 4 times a day for new Oreo kernel commits^ that give my 5x moar cow powers
[Nexus 5X Original Android Development] osm0sis:
Anything will be better on battery life than those Oreo kernel commit sudden reboot powers that r45 has. :p;)
[Nexus 5X Original Android Development] franciscofranco:
Alright r46 is out. Rebuilt everything from scratch like I should've done in the first place. Everything should be fine now. Sorry for the delay, been busy with lots of things and rebuilding the entire tree on top of the vanilla sources is just tiresome and a pretty long process.

You can auto-flash it with my app http://get.franciscofranco.xyz or manually through the links in the OP.
[Nexus 5X Original Android Development] franciscofranco:
I don't really touch any of that.
[Nexus 5X Original Android Development] Andrey_Dnepr:
Thx, after 1 hour everythings works fine, no reboots. Good work:good:
[Nexus 5X Original Android Development] :
Press button was not enough , I wanted to say THANKS A LOT ??????
[Nexus 5X Original Android Development] :
I got this problem again ?

GPU gov not avalaible...
[Nexus 5X Original Android Development] osm0sis:
SELinux changes in Oreo are causing that and other issues in the app. The next version of the app should fix it.

In the meantime, this from a root prompt (or even better in a su.d/post-fs-data.d script) should get most things working again:

$(which supolicy sepolicy-inject) --live \
"allow untrusted_app_25 proc file { read open getattr }" \
"allow untrusted_app_25 sysfs dir { read open }" \
"allow untrusted_app_25 sysfs file { read open getattr }";
[Nexus 5X Original Android Development] :
Thx I prefer use exkm (only the app not the kernel) for the moment.

So waiting for next app update and thx for answer ?
[Nexus 5X Original Android Development] suku_patel_22:
Flashed in a stock ROM by booting twrp. Working great so far.

Would much prefer if there was a boot image for stock users.
[Nexus 5X Original Android Development] eak1080:
Franco thank you! Digging the update! Sent food for your cat in the app
[Nexus 5X Original Android Development] osm0sis:
The point of AK2 is it works for all ROMs, including stock.
[Nexus 5X Original Android Development] suku_patel_22:
I know. Was just trying to be a bit more lazy.
[Nexus 5X Original Android Development] osm0sis:
Franco Kernel Updater's Auto-flash feature which Francisco and I wrote is nice and lazy. ;)
[Nexus 5X Original Android Development] zurik:
Franco Kernel updater shows me that I have r1 but I have installed the r46.
[Nexus 5X Original Android Development] osm0sis:
See here:

https://xdaforums.com/showpost.php?p=73899001&postcount=3330
[Nexus 5X Original Android Development] franciscofranco:
osm0sis for MVP, show him some love!

Yes, I already explained it's because Google changed the sepolicy of the /proc/version which I used to read from simple Java File. Next release it'll be fine.
[Nexus 5X Original Android Development] zurik:
Oh, I saw the post but I didn't realised that this caused by changing the sepolicy.

[MENTION=4544860]osm0sis[/MENTION] [MENTION=3292224]franciscofranco[/MENTION] thanks for your answers.
[Nexus 5X Original Android Development] jcmm11:
[MENTION=3292224]franciscofranco[/MENTION]

Thanks for the kernel.

Now that you've finished I have a slightly off topic question. ramoops vs last_kmsg.

What is the relationship between them? Did ramoops replace last_kmsg? Inquiring minds want to know!

Thanks in advance for any light you can shed on this topic.
[Nexus 5X Original Android Development] franciscofranco:
Yeah console ramoops kind of replaced it.
[Nexus 5X Original Android Development] canodroid15:
[MENTION=3292224]franciscofranco[/MENTION], [MENTION=4544860]osm0sis[/MENTION], you guys rock! The first kernel I ever flashed & the only kernel I'll flash on my 5x. Thank you for kicking ass!

My wifes Shamu also runs this *****in kernel! ??
[Nexus 5X Original Android Development] tomj44:
Hello with r46 cast my screen won't work ,with stock kernel no problem

Envoyé de mon Nexus 5X en utilisant Tapatalk
[Nexus 5X Original Android Development] slobo2712:
I have a lot of lag with this kernel,hay day is imposible to play
[Nexus 5X Original Android Development] BS86:
@franciscofranco Just had a kernel crash, ramoops attached. Phone was in my pocket, so no special user-interaction that caused it.

Running September Oreo Stock Rom with Magisk 14.0 and r46 - no other modifications.

Anything usefull visible in the attached ramoops?
[Nexus 5X Original Android Development] dangpzanco:
I had recurrent crashes with the latest kernel on stock Oreo, when I have some time I will upload some logs.

Cheers
[Nexus 5X Original Android Development] :
Same
[Nexus 5X Original Android Development] Ruka82:
Yesterday i have flashed stock oreo and franco r46 downloaded from here.

No problem,no reboot.

This morning appear the notification of a new version in the app,r46.

The app says that i haven't r46 but on nexus kernel information the r46 is there.

Maybe the yesterday kernel version is different from the actual r46 downlodable?

And have some problem?
[Nexus 5X Original Android Development] zurik:
Google changed sepolicy... See some posts before.
[Nexus 5X Original Android Development] CazeW:
r46 seemed laggy for me as well, but figured it would get better with time. Also had a reboot while the phone was in pocket but unfortunately didn't have time to grab the logs. Will post logs next time if I give it another go.
[Nexus 5X Original Android Development] lizardd:
Installed r46 over r44 using recovery and wipe cache after that and I had 0 issues at all.

No reboots, no crashes or FC.

Battery seems the same and it's just as responsive as r44.

No root here. Only bootloader, recovery and Franko Kernel, running vanilla Oreo September's update.
[Nexus 5X Original Android Development] canodroid15:
So far no issues here. r46 + Sept. Oreo. Flashed over stock boot img & ssu 2.82 SR4
[Nexus 5X Original Android Development] osm0sis:
Running beautifully here, same as r44 before it.
[Nexus 5X Original Android Development] Gunners_Classic:
Same here as above
[Nexus 5X Original Android Development] franciscofranco:
Works fine here, just tested it.

I just played Hay Day for 20 minutes, I have absolutely no lag what-so-ever. The device doesn't even heat up. You probably have other crap running the background which in turn makes the phone hotter, then thermal throttle then rip performance.

The logs show a crash the wlan driver which is 100% stock. I followed the stacktrace and every function call is 100% stock. So I wonder if this is an issue even with the Stock Kernel.
[Nexus 5X Original Android Development] BS86:
Will return to stock and check if the crash happens there, too. Just to add: The crash happened when I was not connected to WiFi and far away from known WiFi's - WiFi was still on though, but scanning was disabled in WiFi and location settings.

In the time of the r45 troubles, I was using ElementalX Kernel, and I also had 2 rare random crashes there while not being near known WiFi's, but it was a dirty flashed system, only stock boot.img flashed to switch kernels so I didn't really care to report that issue to flar. Find attached a ramoops from ElementalX Kernel - from what I understand, it was a WiFi crash, too? Which would lead to the believe that it really is a problem that exists in the Stock kernel.

The crash on your kernel happened on a clean flashed system.
[Nexus 5X Original Android Development] slobo2712:
I dont know how you do that but i have lag in that game(not tried other games) no matter which kernel i install,its good first 2 minutes than start to lag its like 10fps
[Nexus 5X Original Android Development] eak1080:
Two words: CPU BINNING.

We all know Franco has the most baller 5x ever assembled... All our devices are inferior.
[Nexus 5X Original Android Development] franciscofranco:
Well the crash came from the wlan driver when trying to suspend.

It's just like magic.

Yes, I assembled it myself with my hands :silly:
[Nexus 5X Original Android Development] j-a-d-z:
Franciscofranco - The master of the soldering iron!
[Nexus 5X Original Android Development] Wawax:
Hi people i have some noob question

- Can i install magisk with franco kernel ?

- Can me provide root access or not ?

- If yes can i keep these mods download with magisk (greenify for magisk, busybox etc ...)

---------- Post added at 07:45 PM ---------- Previous post was at 07:44 PM ----------

If not what can l do to keep my mod and pass safetynet
[Nexus 5X Original Android Development] zurik:
1. You can install Magisk on stock boot img that came with the rom.

2. After flashing boot image and Magisk and then Franco Kernel, you will not lose root access.

3. If you have installed any mod, you will not lose these mods.

Magisk 14 will pass SafetyNet. No issues there.
[Nexus 5X Original Android Development] CazeW:
Decided to give francokernel a new try and I don't notice the lag anymore (except for Google Now news feed with Pixel Launcher) but I've had two random reboots today. Unfortunately neither ramoops or last_kmsg is anywhere to be found after the reboot so I can't post logs. I'm suspecting though that it could be something in the stock kernel as I had a random reboot with ElementalX as well (no logs then either).
[Nexus 5X Original Android Development] BS86:
If you have SIM-PIN on, and had to enter the SIM PIN after the reboot, it was a kernel crash. Then you find ramoops in /sys/fs/pstore - but you need a root file explorer to access that folder.

If the SIM PIN was not asked for although you have it enabled, it was a ROM crash that has nothing to do with the kernel.
[Nexus 5X Original Android Development] CazeW:
I did have to enter the SIM PIN but that folder is empty, checked it everytime.