yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Here we go...

Download: here

Version N6 [Nougat]

-Linaro 6.3.1

-Mainline to .48 final

-optimised config (removed a lot of debug stuff)

-a few other minor tweaks, see my git repo

Cheers!

EDIT: Okay, I forgot to mention that BLX is of course included, and Sultan's great tweaks that disable the capacitive buttons while the screen is in use. I haven't posted much recently, but I haven't been idle either. I'll post all my findings once I have some more free time :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Dariusdd:
Okay, I am not sure if I'm doing anything wrong here, but off-screen gestures stopped working after flashing your kernel.

I am not sure if I can provide logs for this? I mean the phone doesn't react. Fingerprint unlock is still working.

This is happening on OOS 4.1.0 rooted with SuperSU SR3.

LE: I took a logcat, but I'm not sure if it's going to help.

Live logcat on my pc didn't seem to record anything happening when I was trying to execute offscreen gestures.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Thanks, I'll investigate
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
I need some help with this one. Has anyone tried a custom kernel on 7.1.1 where touchscreen gestures work properly?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] HerroYou:
FrancoKernel, the touchscreen gesture of drawing a V to turn on the flashlight works
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Dariusdd:
Gestures also work with Ex kernel, blu_spark and Xceed. Keep up the dedication.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Download: here

Version N7

Changed since v6:

-Removed more debug stuff

-a few more minor tweaks, see my git repo

-fixed gestures

The gesture fix actually required a section of code to be commented out. This is why it took me so long to fix. I was actually confused because the last time OnePlus released source with broken gestures it was because there was some code commented out that had to be un-commented out! The opposite! I must have checked the code fifty times, and every time I saw it I thought, 'Oh yeah, I don't have any commented out code, so I'm good, it must be something else...'

Anyway, it wasn't a waste, because I spent a lot of times spiralling around the code and config, trying different possible solutions, and during that cycle a lot of other optimisations happened, so that's good news.

I've got some stats I want to publish too, but I'll get around to that later.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Dariusdd:
Colour me surprised, as this may be a one-off score, but running Geekbench 4 on OB13 (even if it's not officially supported) with your kernel results in a higher score than the stock kernel (which I don't remember happening before on Android N).

Does this mean you've found the cause of the lethargic Android N performance you've had issues with in the beginning, or is it related to the stuff you did behind scenes?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
I've managed to get a lot of performance back, but I'm really struggling to find the source of the huge drop in stdlib memmove and memcpy operations. Scores are about half that of Marshmallow. At this point I feel like I've tried everything, so perhaps the issue is more to do with the way the new art/dalvic compiler works. At least the scores are equivalent, or slightly improved vs stock. I don't think I'll return to Marshmallow again though. It's not as though I'm noticing any performance problems in day-to-day use.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Stroky:
So the configuration of the Kernel like Governor etc are equal to stock?

Will flash the kernel the next days.

Back on marshmallow it was really great.

Thanks for your work!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
Exactly. Nothing to do about it.

With OB13 fixing the infamous issue of Touch Latency, I may get back here and give your kernel a spin. Missing it actually.

The thing is VertexOS spoilt me with EAS and every couple of days I witness some huge leaps in how EAS works, making it better and more efficient.

Also curious to know about your BLX

Cheers!

-TDK
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] livsey:
Thanks for the kernel! I have a question. Does it make sense to use, on your kernel, the profiles of the AKT?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Yes mate, just like stock. So far I haven't seen the need to meddle with the CPU governors or hot-plugging.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
I'll have to take a look through their commits and see if there's anything I could make use of. Thanks for the heads up.

BLX just limits the charge to a lower level so the battery won't last a long on any given day, but will stay healthier in the long run.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
I just leave all the tunables at their default settings, but the interfaces are available if you want to fiddle with them.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Here's the stats:

I've said before that I've had to run benchmarks many times over to get a reliable average. This time I was very concerned that the stock kernel was still out-performing my own build in stdlib copy operations. I tested stock vs Moxie 30 times. There were I think four or five very odd results (either way too high or way too low). I've removed the outliers and graphed the remaining results from highest to lowest. As you can see, there's no significant difference between the two sets of results.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Stroky:
I can't download the zip correctly. Everytime the browser says "zip file corrupt"
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Which one, V7: https://goo.gl/n66DdG ?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Stephen:
Moderator Information,

Thread closed at OP's request.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Hi, thanks for the logs. Was this the testing zip you flashed? Or was it the latest one called vN?

What ROM are you running please?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Hi, thanks for the logs. What I'm really after are kernel logs. What ROM are you running please?

Also, be aware, when you flash a kernel there's no need to wipe caches. This will save you time and power when you reboot.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] AlkaliV2:
Happy to help out. The ROM I'm using is OP3Lite 2.4.2 rooted and your latest test kernel. It included SuperSU 2.78-SR1 but I did not have Xposed installed or any other third party mods. Just a debloated Stock ROM.

Edit: if I posted the system logs instead of the kernel logs that was a slip up on my part. I was checking them both but must have exported the wrong section of logs. Sorry about that.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
It's op3_vN.zip.

Stock oos 3.2.7

Rooted with SR1-SuperSU-v2.78-SR1-20160915123031 and suhide-v0.54

---------- Post added at 09:44 AM ---------- Previous post was at 08:49 AM ----------

Hey. Is dmesg.log the only one you want. And if everything goes well there's no logs needed?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Yes, kernel logs (dmesg) please. If everything is running well then there's no need to send anything. I'm mostly concerned that the kernel doesn't cause a battery drain. In fact battery life should be improved.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] core_x:
Kernel works perfect so far.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] core_x:
After successfully testing the upstream patches what are your plans with the kernel? Will you add extras like an option to disable Fsync and additional tcp congestion algorithms?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
I actually had a secret plan which I kept under my hat as I wasn't sure if I had the time to adapt it something from cm.

If you're not familiar with [MENTION=4800121]Sultanxda[/MENTION] here's the thread.

...and there's some very nice kernel commits in cm:

https://github.com/sultanxda/androi...mmit/9e5003554b79afa1045100c97d2375a752eeb6fe

https://github.com/sultanxda/androi...mmit/133e2471f9427b8b56ba5f596f9e8602e3b05bda

...that stop the capacitive/home keys from working while your fingers are on the touch screen.

This in my opinion is a very nice improvement and some nicely written original code. Cyanogenmod has quite a lot of changes to the OP3 source already (to enable all the cm gesture stuff), so I had to adapt the commits a little to make it work.

All credit to Sultanxda of course. Go to their thread and give thanks!

Another test version with these commits: here
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] core_x:
Thanks for adding this! That was really annoying. Works flawlessly!

Thanks given.

Looking forward to other secret plans of yours ;)

This kernel provides pretty good battery life but feels so fast! Thanks a lot!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] DontPushButtons:
Woops, totally fell off the map for a minute there. Good that you've found a more personally fulfilling use for your skills! And we know you'll always have plenty of testers to be found here on XDA.

I'm sorely tempted by the OP3, but I just got my 6p back for the 2nd time and it seems to be in working order. So just a liiiittle less motivated now.. My roommate just bought one, so I'll make sure he gives your kernel some love if we don't scare you off again.

Cheers man, glad you're doing well for yourself.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
Is this kernel the same that vN + commits? It works flawlessly. Thanks again.

I read your researches about battery life. You guys did quite a job back then. Wow.

Any plans for test versions?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] mady51:
Hi, i flashed latest test zip and observed that when i try to scroll like in g+ page doesnt load smoothly and it behaves like stuck while loading. Didnt had it on previous test zip
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Can you flash back to the previous test zip and confirm it works as expected please?

Then can you flash forward to the latest test version and confirm it isn't working properly? This will be really helpful feedback.

Can anyone else confirm?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] mady51:
Sure, i will confirm bro. By the way idle battery on latest test kernal is awesome

---------- Post added at 02:41 AM ---------- Previous post was at 02:24 AM ----------

I flashed previous test zip - no issues.

Flashed latest test zip - issue is gone. Between, i was testing boeffola kernal and came back to ur latest kernal. Not sure could it be because of that. But anyway its super now
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
Did you flash stock boot.img (or dirty flashed your rom) before you came from boeffla?

[MENTION=6295391]bedalus[/MENTION]

Should you add instructions to the first post, to people coming from other custom kernels, to flash the stock boot.img or dirty flash rom before installing your kernel.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Good point, I'll sort something out.

Maybe [MENTION=5767887]NevaX1[/MENTION] can confirm that his boot .img files are fully stock OOS (no ramdisk modifications):

https://www.androidfilehost.com/?w=files&flid=95099

Edit: Just been a cheddar in NevaX1's thread. Hopefully he won't hold this against me!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
v3: Download here

- all applicable mainline and kernel-common updates

- disabled capacitive/home keys when screen is in use to prevent accidental misuse

- trimmed unused kernel bloat
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] core_x:
Is this the same as the last test kernel?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Nearly, but there's a few more of the kernel-common upstream patches in this one. I've been testing the benign looking stuff on my own, and it's checked out just fine. The weirder changes were in the public test versions, but there's been a healthy amount of downloads and no problems reported so I'm happy to merge everything into a general release.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
Hey [MENTION=6295391]bedalus[/MENTION]. Do you know why gpu freq stays at 214Mhz when screen is on and there's no load? Should it be 133 Mhz instead. It's the same on boeffla and elementalx, only in blu_spark kernel it's lower.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] saayuj98:
Can you post your kernel builds on AFH or Mega instead in future? DevHost contains lots of advertisements. When I press 'Download' even more ads pop-up :/

I want to try the v3 build. Can somebody provide a mirror for now?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] NevaX1:
The ramdisk provided with FreeedomOS is modified, but the version in the above link are not patched.

Btw, you need to re-flash supersu after flashing unpatched kernel, or your oneplus3 will not boot.

EDIT : Latest kernel uploaded to AFH.

EDIT 2:

FreedomOS: https://www.androidfilehost.com/?w=files&flid=95099

FreedomOS CE: https://www.androidfilehost.com/?w=files&flid=122815

EDIT 3: http://nevax.one/files/

Stock kernels are available in FreedomOS and FreedomOS_CE folders.

https://www.androidfilehost.com/?w=files&flid=95099
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Yes, I believe I've seen a commit to fix this in their repo. Thanks for flagging up the issue. I haven't looked into it yet, but I'll check it out the next chance I get :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Great help from NevaX1, much appreciated!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
Yeah, it's a bit cluttered. What I've noticed is when you press download button on devhost page, it opens popup window to next random page. Let it fully open, but don't click any download button on that page. So, after it's opened fully, just close it. Actual download should start soon after closing.

Edit. Link ----> https://mega.nz/#!fA1GxTzS!rF5PXE6AZ5Dt9Flo-UPQ4x267yWU_wfCRfxAUyeWyy0

Remember to check your browser to desktop mode, if you download via android browser and you don't have Mega app.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] saayuj98:
Thanks buddy! Downloaded without any hiccups.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Yep, got it. It's been fixed for at least 3 years by [MENTION=4152171]myfluxi[/MENTION]!

Found the commit as you suggested in [MENTION=3873953]eng.stk[/MENTION]'s source: https://gitlab.com/engstk/thulium/commit/d9b74aaf535cf68e116103b3281c08e0c45aafc1

Just wondering if this link to dev-host will bypass the landing page.

Ninja edit: no it doesn't, but I'll look to using a different site.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Someone wanna test this link? https://mega.nz/#!n9Nl2CgY!_80oSt10l5q7-M09Nq7XYx6bEIfueLngaLLftoRO2Bw

Going with mega as an alternative to dev-host. Lemme know :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
[MENTION=6295391]bedalus[/MENTION] The link works, tried both, with mega and browser.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] saayuj98:
Should I flash v4? Is it mandatory? I'm already getting good results for now with v3 and yes, GPU does stay on 214 MHz for the most time, switches to 133 MHz only for couple of seconds on v3.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
V4 fixes this issue, I just haven't had time to write the release notes for it yet.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
Strange. EXKM shows 214MHz, but Kernel Adiutor 100MHz. I tried Kernel Adiutor first time with this kernel (v4), so I wonder what was the cpu freq on v3 with Kernel Adiutor?

Edit. Tried the v3 using Kernel Adiutor. Gpu stays at 214MHz.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Shuvo_bd:
Anybody tried flashing V4? i tried it and unfortunately went into bootloop. I had to wipe cache and then flash v3 to solve the problem.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
I'm on v4. Did you check md5?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Seems unusual. If v3 works just re-download v4 and have another flash. Maybe just a download glitch. The difference between v3 and v4 is minor.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] AlkaliV2:
Took a small break from 3.2.7 to test out Nougat for the past couple of days, but I'm back and flashed V4 on my clean install last night. Low idle battery loss overnight as always and GPU is idling at 100MHz as intended. I'll continue testing over the next few days. As always, thanks for sharing your releases with us. I'm enjoying them quite a bit :good:
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Thanks very much. I haven't had much time this weekend to write up the V3 release or the minor V4 update because it's my birthday, but more significantly, my daughter's birthday! I turned 36, and she's 6. As you can imagine it's been hectic :p

I'll get around to organising the thread and post some development detail for the interested. Just need a big sleep to recover!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] AlkaliV2:
Man, I hope that means you get two cakes today. Only thing better than having one cake...is having two cakes. Happy birthday to you and your daughter. Get off here and go celebrate!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
[MENTION=6295391]bedalus[/MENTION] Happy birthday for both! And take your time with your daughter, it's priceless. We have time to wait :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Thanks guys, don't worry, I posted that after she was in bed. We had a pretty action packed day together :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
I just wanted to do some quick notes about this one change in V4. If you look at myfluxi's commit:

if (device->state == KGSL_STATE_SLUMBER)
freq = pwr->pwrlevels[pwr->num_pwrlevels - 1].gpu_freq;
else
freq = kgsl_pwrctrl_active_freq(pwr);

...you can see the only difference is the addition of the above check. It looks at the device state, and SLUMBER means the device is asleep, so myfluxi has devised some code to report the minimum device frequency. Seems sensible enough.

The 'else' path will be followed if the device isn't asleep, so it then reports the frequency in the same way it would have before this fix.

Why was this necessary? There'll be some code in the driver somewhere that puts the device into a power-saving 'slumber' mode, and when this happens the frequency is no longer reported. It was probably just a minor oversight or seen as too irrelevant to fix by the device maintainers.

This change is purely cosmetic. It allows the kernel reporting what the device is doing more accurately to userspace. This means that other kernels without this fix aren't consuming more power, they're just not reporting the frequency used as accurately as possible. It's not really a big deal.

So I guess we'll call the one I last uploaded a sort of interim version and I'll do another V4 with some more significant development worthy of a version bump. Until then I'm happy to leave that last upload buried in the thread and not linked from the OP. Users of V3 will essentially be getting an identical experience. :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Shuvo_bd:
Redownloaded and flashed v4. It works now. I would say kernel is pretty impressive compared to stock one. Smooth and seems more battery friendly. I will test it 3-4 days and then let u know about the performance.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] slewis1972:
First time I tried this kernel and last night, only lost 4% in 9 hours which is a lot less than previous custom kernel I was using. Daytime useage which is minimal so far seems very good. :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Stroky:
Only the download page is not so good. Would like to test this kernel but I'm not able to manage the download via mobile ;)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Antsu provided an alternative link two pages back
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] SREEPRAJAY:
This is the screenshot from that link

Haven't tried with another browser...just an observation.

Thanks for the work
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Stroky:
But damn. This kernel is so smooth. Simply amazing. I never thought that this is possible just with a "simple" kernel.

Thank you for that work!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
Sorry, I deleted the file accidentally. I'll upload it again, if you still need it?

Edit. Link ---> https://mega.nz/#!7EtCWD4B!Zw2rvFrXm09E1JJl_fangy-GcYa-TRJk5opGYU72ylo

md5: 2607349ac7b4dc1283aeab593e6490cc

P.S. it's the latest 'v3' with the gpu freq info fix
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] abhibnl:
Could any current user of this kernel please advise if this includes modifying Vibration Intensity? I searched with the keyword "vibration" but there is simply no results with this.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
[MENTION=4296062]abhibnl[/MENTION] -No vibration control included
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] abhibnl:
Appreciate the response. If i may, does the OP has any plans to add it in future? The existing vibration intensity is pathetic on this phone.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Moxie v4: here

- cosmetic fix to GPU frequency reporting

- update to mainline 3.18.43

- some minor updates from kernel-common

- use MEGA for file hosting!

With the kernel in a good state since v3 and now brought right up to date with the latest patches in v4, I'm going to take it easy for a while and decide what else, if anything, really needs bringing in.

Thanks for all your generous support, it's been really encouraging :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] juginkrebs:
It's Working with CB 3.4.5?

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
That's android N right? If so, I highly doubt it.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] abhibnl:
Hi Mate,

Do you have any plans to add support for the vibration intensity in the kernel? It's not included in OOS or stock kernel.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
No, I'm not fussed about that.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] juginkrebs:
No haha I think it too but Android Version Is 6.0 :D

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] core_x:
Can someone who is using this kernel answer the following questions please? Thanks a lot!

Is westwood as tcp congestion algorithm available?

Is it possible to disable Fsync?

Is it possible to disable touch boost?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Puddi_Puddin:
Hi [MENTION=6295391]bedalus[/MENTION]. Whats your main goal on this Kernal? Im pretty interested in your work. For example Kernal A likes to have as many features. But you with Kernal B whats your goal?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
1. Cubic and reno

2. No

3. There is no touchboost in this kernel, so it's disabled by default. But inputboost is there of course and you can tune it, or set it off.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Cubic is the default in linux as it generally performs the best. Fsync in my opinion is too much risk to disable. Touch boost is something I think works as intended.

I'm not here to mess about with stuff for the sake of it. I'm just providing an updated stock-like kernel.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
To remove bloat, and keep it simple and up-to-date :)