yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] Roadie#42:
Hello,

I've recently installed Lineage OS ROM 14.1 with the following flash sequence: ROM, gapps, root, francokernel, reboot. And dalvik cache wipe between each flash.

I'm not noticing any legendary battery life :/
[OnePlus X Original Android Development] Reksho:
Is voltage control supported?
[OnePlus X Original Android Development] night.shadows:
[Deleted]
[OnePlus X Original Android Development] Rahul97:
Does it has support of Aosp 8.1 One Plus X try if u can give Support

---------- Post added at 01:53 PM ---------- Previous post was at 01:50 PM ----------

Can U do It ......Then Its Pleasure Bcoz One pLus x Only Has 1 stable Oreo Rom that is Aosp 8.1
[OnePlus X Original Android Development] Cerveza:
I am getting unsupported device while installing via TWRP (LOS 14.1) :confused:

Any ideas?

EDIT: Ok, this kernel doesn't seem to be compatible with Android 7.1.2 and thus also the latest version of LOS 14.1. Correct?
[OnePlus X Original Android Development] paprykarz:
It is compatible, I've been using it for a long time before switching to Oreo
[OnePlus X Original Android Development] Cerveza:
How to install it than?
[OnePlus X Original Android Development] paprykarz:
I'm sorry, but I'm not an expert, just letting you know that there should be a solution. Also this thread is pretty much dead.
[OnePlus X Original Android Development] R324D:
Don't spread false information, this thread isn't dead. Development of this kernel still continue.
[OnePlus X Original Android Development] K25N:
Stuck at Low Resolution.

Flashed the Kernel and was going through the app options and tried the Preview Lower Resolution ome but cannot seem to find the option to revert it back.
[OnePlus X Original Android Development] HamZa@D:
Is It Gonna Work On Los 15 Roms..??
[OnePlus X Original Android Development] Marado:
Still contínuos on another devices, not on onyx... lol
[OnePlus X Original Android Development] Bill565:
Hi, does this kernel support wireguard?
[OnePlus X Original Android Development] phanimitra vadlamani:
Cant find a working link to download this kernel...
[OnePlus X Original Android Development] ACB369:
will this kernel work with LOS 15 or LOS 16 ???
[OnePlus X Original Android Development] Elder Lyons:
There is no way to download the Oneplus X kernels from your website, it's not in the list.
[OnePlus X Original Android Development] Androidoo:
no...only if you need to try kernel auditor and tweak cpu settings
[OnePlus X Original Android Development] Sytis:
Actually I'm not really good at reading the source code, so maybe someone could help me a little. I don't currently have the OnePlus X at hand so I can't flash the kernel atm. What do you consider those "placebo patches" and what details like the toolchain used or compression is present? And as asked before what govenors and schedulers are implemented? (Actually I only hope for interactive and zen/maple) Yes you told me everything I need to know is in the OP, but I always want to know more than I need ;)
[OnePlus X Original Android Development] tarunyad:
oh my! Franco on onyx thread ! i am just downgrading right away my opx to install oos and use his kernel, loved it on my nexus 7 2012 and nexus 5 .. only used franco's kerenel on those devices !
[OnePlus X Original Android Development] franciscofranco:
I don't know Greenify's features.

I am asking I wanna use your kernel in my port rom for that I need permission bro would be a great if you allow me to use

credits is always yours .[/QUOTE]

You can do whatever, it's open source.

No.

Toolchain: stock

Governors: stock

IO schedulers: stock
[OnePlus X Original Android Development] W!ld:
Phone stopped responding on R2 fk

...

Got the following​ error

Process not responding!

Nothing was working phone froze..

Hey Franco pls do something ..
[OnePlus X Original Android Development] franciscofranco:
Thanks for the very uninformative report.
[OnePlus X Original Android Development] Aashay:
I'm still experiencing some random reboots. And even battery drain issues. Last night my phone had 35% battery when I woke up my phone had rebooted and the battery was at 20%.
[OnePlus X Original Android Development] andisetyawan11:
i'm this problem too, wifi suddenly off, can't on, can't touch
[OnePlus X Original Android Development] spitzmk1:
It takes ages to open the menu for shut down, restart or airplane mode when I long press power button. Yesterday I pressed to shutdown and it was stuck saying "android is going to shut down", I had to press the power button for like 10 seconds for a reboot.

Had one complete freezing when I ended a phone call and had to reboot. Just happened one time though.

There is a bit of a delay on the "physical" buttons, more when I press "back" button.

Navigating inside the apps like playstore has a considerable amount of lag, even though scroll is smooth.
[OnePlus X Original Android Development] pravakarthami:
I'm not experiencing any single issue you have mentioned....
[OnePlus X Original Android Development] spitzmk1:
Well, I don´t what can it be then, because I clean installed stock 3.1.4, flashed kernel, rooted with 2.79 modified, and with xposed (flashed separately).
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Pull a log from /proc/last_kmsg. It's impossible to help otherwise. I can't reproduce this after he fixed sysrq. I can't imagine what it would be. I've had my device on for the last two days straight since R2s release

---------- Post added at 04:11 PM ---------- Previous post was at 03:37 PM ----------

Okay... So [MENTION=3292224]franciscofranco[/MENTION]

There's another bug. Synaptics isn't working properly and is reporting 0 for tp_virtual_key_enable_write_func

I traced it back to our display driver and this was all I could find that could possibly cause the issue...

I think we unfortunately need this hack

https://github.com/franciscofranco/onyx/commit/f047e67dccd80de784fbc8f3eab57d8ed178f4a9

I'll have a look to see what Sultan has done with the function and try to fix it myself so that we don't have to put up with the additional logspam

---------- Post added at 04:27 PM ---------- Previous post was at 04:11 PM ----------

I found the issue. I'll fix it in a moment
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Hey guys, I have a test build for everyone here with simple ondemand fixed and a potential solution to the random reboots.

After looking at the driver, a fundamental read function was disabled during sleep, and it turns out that the virtual interface OP now relies on (I attempted to remove it entirely, but the display went bonkers) utilizes it too. This is a bug in all OOS 3 based kernels, and should be looked at appropriately. I'm not sure why it was exposed here.

Here's the kernel with the fix. I'm not sure FKM works properly with it or not as I don't currently own the app, but synaptics should be fixed for good. Before opening a PR again, I would like to have this tested for a bit. Running it as we speak

https://www.dropbox.com/sh/jkipfb6rh5thtje/AAByoKI_ZYp0JU5aMlMvQVvsa?dl=0

Oh, and I also implemented high priority workqueue's into the synaptics driver. Latency seems to be decreased to a degree :)

Edit:

It works
[OnePlus X Original Android Development] Aashay:
My phone just rebooted now. I've attached a log as you've asked for. Take a look.
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Did you try the build I pushed?
[OnePlus X Original Android Development] Aashay:
Nope. Didn't get a chance.
[OnePlus X Original Android Development] franciscofranco:
New Franco Kernel version for the OnePlus X

r3

1. Merged some commits to fix a case that could lead into a Kernel panic

2. Added a workaround to prevent wlan wakelock from destroying your battery life

3. Added support for NFS and CIFS

zip: https://kernels.franco-lnx.net/OnePlusX/6.0.1/anyKernel/fk-r3-anykernel2.zip

Franco Kernel Manager & Updater is the best companion for this Kernel (https://play.google.com/store/apps/details?id=com.franco.kernel)

If you don't (yet) have my full featured app you can always just download its free counter part which lets you seamlessly and automagically update Franco Kernel on your device. It's free and my cat approves! (https://play.google.com/store/apps/details?id=com.franco.kernel.free)

I also strongly suggest you install Naptime (https://play.google.com/store/apps/details?id=com.franco.doze), for free, to achieve the best battery life through out the day. Try it, you won't be disappointed!

Thanks to [MENTION=5900207]CertifiedBlyndGuy[/MENTION] for the pull requests.
[OnePlus X Original Android Development] Javinotfound:
Phone not booting after flashing r3.
[OnePlus X Original Android Development] Javinotfound:
Yeah, you're not the only one. Seems like a problem of mine.

Tried to update using the app and I got the loop.

Tried to update manually later and got that error:

Unpacking ramdisk failed. Aborting...
Updater process ended with ERROR: 1
[OnePlus X Original Android Development] franciscofranco:
I just auto-flashed from the app, it works perfectly. I'm on stock OxygenOS 3.1.4, TWRP 3.0.3.0.
[OnePlus X Original Android Development] Javinotfound:
Same for me. Don't know why this happened. I hate my life.
[OnePlus X Original Android Development] franciscofranco:
Just flash your rom's stock boot.img, and try again.
[OnePlus X Original Android Development] andisetyawan11:
thx for update sir, just flash from r2 , working fine, no problem with flash zip.. thx
[OnePlus X Original Android Development] Javinotfound:
I'll try. By the way, in r1 an r2 I was suffering a reboot everytime I received a call.
[OnePlus X Original Android Development] balachandar.1741:
Thanks for the update sir. Everything running fine with r3 update. My device booted up fine, updated manually by flashing the zip. And had 0 reboots so far. Thanks
[OnePlus X Original Android Development] andisetyawan11:
Sir franc, why my phone always freeze, in one day i must force shutdown maybe 3times or more,
[OnePlus X Original Android Development] ckret:
Random reboot with r3

Got naptime with magisk root.
[OnePlus X Original Android Development] CertifiedBlyndGuy:
You don't happen to be using CFQ do you?

Try this: https://www.dropbox.com/sh/jkipfb6rh5thtje/AAByoKI_ZYp0JU5aMlMvQVvsa?dl=0
[OnePlus X Original Android Development] :
Could find the cause of the random reboots?
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Part of the cause was with the display driver. When I fixed that, I didn't have one. I switched over to CFQ and low and behold, they were back. Updated the kernel above with a few changes and switched to Zen. After nearly a day I have yet to have one. They are fixed for me with the build I posted. CFQ seems to expose an MMC bug that Sultan's pointed out to me in the past. I haven't had one for nearly two days now without CFQ and with the display changes that were merged.
[OnePlus X Original Android Development] franciscofranco:
I'm already regretting working on this phone. Random **** happening. I also had a crash yesterday for no reason and last_kmsg shows nothing.
[OnePlus X Original Android Development] franciscofranco:
You had an issue somewhere else, I don't touch WiFi, but if you had other Kernel/custom roms installed and they ship/replace the stock WiFi module then there's nothing I can do because I don't touch anything related to WiFi.
[OnePlus X Original Android Development] CheckYourScreen:
Come on franco i never expected such reply from you, Maybe i can help in fixing some stuff (you wont need it) .

Most importantly-

Onyx isnt like other devices

Never merge PRs blindly

I like your idea of keeping all 4 cores active, most people might not be aware of the reason. But keeping 4 cores active might not help much since its a 3.4 :)
[OnePlus X Original Android Development] Dizzyrul3z:
This sux. Keep you're head up mate! Many of us waiting for you're kernel for CM13 and LOS :) Fingers crossed :)
[OnePlus X Original Android Development] R324D:
Rolling back to stock from Los14, clean flash (flash full rom oos2, and flash ota oos3), rooted with magisk, no xposed, no other kernel tweaker, no greenify, just plain oos3+francokrnl,

as result.. no random reboot, no freeze, no wifi issue, no heating issue, no issue at all with r3, battery life is superb as always.. Thanks to you [MENTION=3292224]franciscofranco[/MENTION] ;)
[OnePlus X Original Android Development] franciscofranco:
I'm not merging PRs blindly. Leaving all cores online is fine, they'll hit retention and power collapse pretty quickly if nothing is running on them. There's a lot of work when offlining and onlining cores. I do the same on the Nexus 5, all cores online all the time.

It's just a shame ****ing OP builds the WiFi drivers as a module and they compile it with the rom (static linking it to the Kernel sources). The current wlan.ko has outdated drivers & it has a lot of issues. If I build the module myself things are way harder to manage so it's not something I want to do. Other than that current sources are pretty much the same patches I use for the N5 (SD801 is just an updated revision of the SD800) and it's flawless. r4 will have more fixes though.

Did I set my standard so high my reply shocked you? :p
[OnePlus X Original Android Development] CheckYourScreen:
Haha i was just lurking original dev section for a while and saw what's going on. I'm aware of the cores thing, intel uses same methodology, many users might freak out without knowing anything about it lol

Compile wlan driver separately as a module, wont affect size and should be easy to handle, OP is using debug version of the prima driver in stock oos from rb12 or lower caf tag which has memory leak issues.
[OnePlus X Original Android Development] Dizzyrul3z:
I do not know him but me 4 sure :)
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Okay, first of all, his reaction is appropriate. Second of all, if you look at the commits, they were not done blindly. I just made a small mistake in one after having removed Zen, and picked the original commits. But if you actually think you can fix it without a log, go right ahead

And if you do have a problem still, keep it to PM so that the thread here isn't thrown off
[OnePlus X Original Android Development] Crusio83:
Clean flash OOS 3.1.4 with Franco's kernel and after 3 days of using it, there is no single issue for me. System is fluid and super fast as it wasn't never before.

Thank you [MENTION=3292224]franciscofranco[/MENTION] for a great job :)
[OnePlus X Original Android Development] franciscofranco:
Not gonna compile Prima module - that would require me to push the module to system (doing a mount bind isn't guaranteed to work all the time, did it on the OP3 and OP3T, half the users would cry of no WiFi even though the configuration was correct). The less I touch WiFi the best. I can't even disable some debug features in the Kernel otherwise it breaks the module :(
[OnePlus X Original Android Development] andisetyawan11:
No freeze or hang the screen ?

Mobile data or wifi?
[OnePlus X Original Android Development] Crusio83:
Nothing at all. Everything seems to work fine.

WIFI and Mobile Data are always on. I changed only I/O scheduler inside Kernel Auditor to row 512/row 512. Others settings are default.

No Xposed installed. Rooted with Magisk.

Great battery backup and no any micro lag for me.
[OnePlus X Original Android Development] franciscofranco:
New Franco Kernel version for the OnePlus X

r4

1. Merged a bazillion fixes from upstream

2. Updated Workqueue subsystem to almost 3.10 state. Contains a monstruous number of fixes, specially with maintaining work's items consistency between cpus going offline and online, etc

3. ROW and CFQ IO schedulers are gone because they expose bugs in the MMC controller (internal sdcard), deadline is now the default

zip: https://kernels.franco-lnx.net/OnePlusX/6.0.1/anyKernel/fk-r4-anykernel2.zip

Franco Kernel Manager & Updater is the best companion for this Kernel (https://play.google.com/store/apps/details?id=com.franco.kernel)

If you don't (yet) have my full featured app you can always just download its free counter part which lets you seamlessly and automagically update Franco Kernel on your device. It's free and my cat approves! (https://play.google.com/store/apps/details?id=com.franco.kernel.free)

I also strongly suggest you install Naptime (https://play.google.com/store/apps/details?id=com.franco.doze), for free, to achieve the best battery life through out the day. Try it, you won't be disappointed!
[OnePlus X Original Android Development] Crusio83:
Had a first reboot on r3. Updating to r4 :)
[OnePlus X Original Android Development] W!ld:
Anyone tried r4?
[OnePlus X Original Android Development] W!ld:
finally i flash r4 ... everything seems fine till now (3 hrs up)..

Thanks Franco for fixing bugs :)
[OnePlus X Original Android Development] Crusio83:
Today I had a system freeze on r4 after ending a call. Couldn't do anything, just black screen and no reaction at all.
[OnePlus X Original Android Development] OnePlusXEquals:
Flashing MOOS and R4 now, will let you know in a few days...
[OnePlus X Original Android Development] W!ld:
I have already tested r4 for about half a day now....

Initially it was good but after a few hours system freeze occurred was not able to toggle data on and off after that tried to restart but Nothing happened then finally force shut down helped me....

So it still have bugs
[OnePlus X Original Android Development] franciscofranco:
God damnit.

I'm running yet another stability test on my OPX to see if I can trigger a crash (doubt it anyway). I wonder if those issues (which can be reliably seen in screen on/off situations, can be related to the ****ing touch driver/gestures related).

I'm sorry. I had issues with stock Kernel as well, so I don't know if these issues are really introduced by me or not.
[OnePlus X Original Android Development] OnePlusXEquals:
Mine flashed fine with MOOS 3.4, didnt get a setup wizard though, willl report any issues I have. would you recommend xposed for amplify greenify etc, or have you taken care of most aspects in the kernel already?
[OnePlus X Original Android Development] franciscofranco:
I have nothing to do with the Setup Wizard, that's all rom department. I despise Xposed and always recommend against it.
[OnePlus X Original Android Development] OnePlusXEquals:
Ah, no problem :D why is that? does it break everything? is there an alternative method of controlling wakelocks?
[OnePlus X Original Android Development] franciscofranco:
I already block a couple wakelocks with FK.
[OnePlus X Original Android Development] franciscofranco:
Marshmallow with OxygenOS is just a cluster****. I'm gonna stop working on it and focus 100% of my efforts on LineageOS. That way every rom will work and I'll stop worrying about **** breaking down for no reason. Sorry if you flashed FK on your stock device.
[OnePlus X Original Android Development] OnePlusXEquals:
its looking awesome so far on MOOS! 2 hours SoT and 67% left, thats the best I've seen in a long time with my usage! what are these problems you speak of?
[OnePlus X Original Android Development] :
Oh god, why stop so soon? Just 4th build then you gonna give up on OOS FK support? :crying:
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Bugs. Half of the people here came from another kernel and due to that WiFi is bugged for them, another half are witnessing continuous reboots that no one has been able to debug. Logs show nothing. Not only that, but OOS itself is pretty bad when it comes to this... Loading the WiFi driver as a module is incredibly insecure anyway. We want as much to be handled in the kernel image as possible as modules open holes for exploits.

That aside, I can't really see why someone would run it anymore as it isn't too great anyway. It's better than what most OEMs ship but it's nothing great. Having seen the number of **** ups in OPs kernel source, I can only imagine what the source code of OOS as a whole looks like.

Personally I highly suggest you try out Slim and wait on Franco to release with a new kernel based on Lineage sources. It's a solid ROM. Gesture handling is ****ed but it's not too big of a deal.

I can't speak on the part of Franco, but I know he put tons of time into getting this thing working right and that's commendable. Whatever decision he makes, I'm happy with. Great kernel and a great person behind it... Though I must admit that I miss maintaining my own. Less time spent on my part
[OnePlus X Original Android Development] OnePlusXEquals:
Everything is working fine for me so far, I will stick with this until Franco releases something else for the OPX. I'm totally sold, I tried it on my N5 and it was great. Good job! Look forward to the next release
[OnePlus X Original Android Development] Calvin2394:
A very good decision in my opinion.

Nobody (maybe 5% of people on XDA) still use OOS, the rest have abandoned it and moved on to LOS and based ROMs.

This is what I meant by buggy :laugh:
[OnePlus X Original Android Development] OnePlusXEquals:
Have LOS released any MM Roms I assumed they would be focussing on N only
[OnePlus X Original Android Development] Aamod Joshi:
You do not know how happy I was when I saw that you have released a kernel for my device. Unfortunately my device runs on RR which is LOS based ROM. Looking forward for an update for LOS based ROMs.
[OnePlus X Original Android Development] Aamod Joshi:
My man, look at the benchmark results
[OnePlus X Original Android Development] OnePlusXEquals:
Battery life is great, the reboots have started for me now, but I'm going to stick with it to FK LOS comes out!
[OnePlus X Original Android Development] franciscofranco:
Support for OxygenOS has been deprecated and removed. LineageOS support is now official.
[OnePlus X Original Android Development] franciscofranco:
New Franco Kernel version for the OnePlus X

r5

1. Added full support for LineageOS running Android Nougat 7.1.1 and any rom that builds from LineageOS sources

zip: https://kernels.franco-lnx.net/OnePlusX/7.1.1/anyKernel/fk-r5-anykernel2.zip

Franco Kernel Manager & Updater is the best companion for this Kernel (https://play.google.com/store/apps/details?id=com.franco.kernel)

If you don't (yet) have my full featured app you can always just download its free counter part which lets you seamlessly and automagically update Franco Kernel on your device. It's free and my cat approves! (https://play.google.com/store/apps/details?id=com.franco.kernel.free)

I also strongly suggest you install Naptime (https://play.google.com/store/apps/details?id=com.franco.doze), for free, to achieve the best battery life through out the day. Try it, you won't be disappointed!
[OnePlus X Original Android Development] Aamod Joshi:
Ask and you shall receive

To be honest, I didn't face any bugs or anything on OOS 3.1.4 with r4. Thanks for the update!

Flashing it now, will let you know if any bugs are there :good:
[OnePlus X Original Android Development] Aamod Joshi:
Running ResurrectionRemix 5.8.2 with this Kernel, no issues yet. Surprisingly, when I flashed this Kernel I saw an extra "touchscreen gestures" in the gestures menu in settings which wasn't there when I flashed other kernels. Maybe it's because this Kernel is supported for LOS. Works like a charm for me right now. Great work! Thanks! :laugh::good:
[OnePlus X Original Android Development] Dizzyrul3z:
Hoooah here comes the reason to try LOS :) thank you.
[OnePlus X Original Android Development] gurgao:
Running good on tesla
[OnePlus X Original Android Development] aryaraj:
Woah, there is some serious work going on here, amazing kernel dev!

The moment I flashed it, there was a very noticeable improvement in fluidity.

Overall, the best kernel I have seen so far.

Just keep the good work going on
[OnePlus X Original Android Development] Privod:
downloads.aospextended.com/onyx/ is support?