yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Okay, thanks, I'll flash r11 again and see if it happens. No changes to ROM only other change would be Magisk Canary, but I've had no issues on the latest version on r9.

Worth mentioning, could it be resulting from an issue of flashing from your non-AnyKernel r9 to something that uses AnyKernel? Also, you can update the instructions slightly as reflashing Magisk is not necessary with AnyKernel.

edit: rebooted twice in 5 minutes. Not to TWRP yet. Logs below straight after bootup, will update with more. I'll have to go back to r9 soon though.

https://drive.google.com/file/d/1a77cz9FG90lyyvfd94N4kkzRiQp_21RB/view?usp=drivesdk

https://drive.google.com/file/d/1A-y-K2jMgyTfIhsJr-_zhppB6aZoDF9l/view?usp=drivesdk

https://drive.google.com/file/d/1Ii0WO8-PvebRm8mR2elhvnBJSSTxLxDe/view?usp=drivesdk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Overclock96:
I shared the Internet via a modem with my laptop, and when I pull out the cord, my core sometimes panics and I see crash dump
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
Thanks for trying to dump the log, but those aren't the correct ones for debugging random reboots.

Last boot's kernel log is stored on /sys/fs/pstore.

Regardless of it entering TWRP, please try and get logs from /sys/fs/pstore.

You obviously need root.

Thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joakimbo:
If I want to flash this kernel, do I need to go back to stock boot img first?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Sure, here you go below - zipped the folder for you:

https://drive.google.com/file/d/12fejkjDSjiUuueSv_cROul-pPeUoR4i1/view?usp=drivesdk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dekefake:
As I will absolutely need to keep a stable phone (will be used with Waze, 1500kms of car incoming in 2 days) I will stay on r9 and stay to ext4 for now. Keep the good work arter, your kernel has become greaaat
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
That's weird af.

Can you try this kernel?

http://arter97.com/browse/tmp/arter97-kernel-r11-20190407.zip
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Still getting reboots.

https://drive.google.com/file/d/1CkwOXOZLr7vUALvC3Xsux6Y8-pAeoo2r/view?usp=drivesdk

edit: and again:

https://drive.google.com/file/d/1_2F1ODEn3vH8XkyYjQlgVblLLsma7VSt/view?usp=drivesdk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
Can you message me in Telegram or Twitter?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Astrubale:
[MENTION=4898097]arter97[/MENTION] I got a "qualcomm crashdump" mode when I connected the phone to the pc. I've opened the device from windows 10 file manager and selected "MTP mode" from the op6 at the same time. I'm using r11. Where can I find logs to send you?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Sure thing, I'll drop you a message now on Twitter.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] klasszsrac:
Hi arter97!

Why did you replace the recovery your kernel? So far I used it blu_spark recovery. Flash your r9 kernel and I see it was replaced blu_spark recovery. Flash r11 and does not enter recovery :(
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nhas81:
good morning friends . I'm trying r11 and it's going very well. the only thing I would like you to add things to this Kernel as the intensity of the vibration and kcal. thanks for your job
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
Yet another bug fix release r12 is up and once again, everyone must update to it.

This should fix instabilities caused from r10 and r11.

r12

Fixed a faulty memory region removal causing kernel panics

(Thanks to [MENTION=3262915]habylab[/MENTION] for directly testing builds)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] KJYap:
Couldn't turn on WiFi at all. When I tried to turn it on on settings, it toggles itself back to off.

R11
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] KJYap:
Got reboot into qcolm crashdump mode right after flashing r12 booting into home screen. Not sure how it helps but I uploaded the log.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kyljys:
Also cannot enter arter-recovery anymore. It seems to freeze on recovery logo.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dudong0726:
r12 zip only 15M, is something wrong about it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pseudonym:
He removed included twrp that's why file size is much smaller.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] user334:
Just to inform because no one here tells about AOSP-like roms.

Despite this kernel planned to be used on OOS I've just made a fresh installation of AOSiP ROM with arter97 kernel - booted up succesfully and no major issues spotted so far. Willing to use that configuration.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dekefake:
Same on Omni. System-as-root helps a lot
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Terrigible:
Can I do this for F2FS?:

Flash stock boot image

Fastboot boot blu_spark TWRP

Flash arter97 TWRP

Reboot to arter97 TWRP

Format /data as F2FS

Flash fstab zip

Reboot to arter97 TWRP

Flash stock boot image

Flash blu_spark TWRP

Reboot to TWRP

Flash Magisk

Reboot to TWRP

Flash F2FS supported kernel

Flash fstab zip

Reboot to system
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] JahSam:
HI guys, i'm on R11, but i can't access to TWRP anymore. I'm getting stuck on the TWRP logo...

So I wanted to flash Arter97 TWRP but can't find it... I know it was inclued in last kernel versions but don't know where to find it now..
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kyljys:
I had the same problem. Solved it by flashing blu_spark TWRP.

From fastboot booted to twrp .img file on computer and then flashed a compatible TWRP recovery zip file, eg. blu_sparks version.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] gregsoir:
Any other people having problems with r12? I'm on r11 now and wanna flash r12
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dudong:
all things went well so far.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] JahSam:
No risk to use blu_sparks TWRP when we're in F2FS ?

I just did a "fastboot boot [...].img" and install xXx + R12, seems to be alright but don't know if it's a smart move to install it... I'm a kind of noobie when it's about F2FS...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kyljys:
Me too but it's arter97's kernel which has the support for F2FS and if the format were done per instructions, including fstab.zip, the compatibility remains despite the TWRP used.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] user334:
Seems like it's must be pointed out in a more obvious way: arter97 has removed inbuilt recovery from his kernel. So now we need to flash it manually. I recommend official one.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] WillowTree:
[MENTION=4898097]arter97[/MENTION]

Could you please add Flar2's sound control, so that we can control the earpiece volume ?.

This is my favorite kernel, i don't want to change to another but i really miss that perk.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] supleed2:
Did they fix the Qualcomm crashdump (pie OOS incompatibility I think?) In the official twrp? This was the main reason blu_spark was so recommended but only the official one supported scripts afaik. Would love more info on this, thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] user334:
Since I'm a newbee here on op6 threads (did come from 3t a week ago) I presonally don't know for sure. But as I can engstk, the developer of blu_spark recovery, has also worked on official codebase: https://github.com/TeamWin/android_device_oneplus_enchilada/commits/android-8.1

Also you can try this: https://xdaforums.com/oneplus-6/development/recovery-unofficial-twrp-touch-recovery-t3860815
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
r13 is up for fixing Wi-Fi issue and improving power consumption.

r13

Reverted a problematic Wi-Fi drivers optimization causing Wi-Fi to not turn on after some period of time

Merged a screen panel optimization for lower power consumption (thanks to kdrag0n)

EDIT:

Nope, that was meaningless for our kernel as OnePlus already did it themselves.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
Does this kernel messes with system partition?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
RTFM.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
Sorry my bad
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joakimbo:
What did oneplus do themselves? Thanks btw
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] zeratull:
i guess you are not see cancel line on mobile xda app.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joakimbo:
Ah ye. Thanks
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] gregsoir:
Gotta admit I never had such a good SOT before at standard daily usage, I'm on R13 now.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
How on earth are you getting that? I don't have any major wakelocks at all and I get around 4 hours max with normal usage. Any tweaks your side?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] gregsoir:
I didn't mess with any kernel settings, flashed as is. I turned on those OOS gimmick battery optimalizations though and I was on wifi most of the time (but I played clash of clans for almost an hour). Still, I used to have like ~5h SOT earlier so it is an improvement. Let's see how it goes in the next few days.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pseudonym:
What hexa is your accent color?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] gregsoir:
#c04141
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
Took a bit of reading but managed to install this.

Did a clean install of Stock OOS (was on beta) and then installed R8 to transition over to F2FS for data before updating to r13 and BluSpark TWRP.

I was wondering, when we have the next stable OOS update the install procedure would be!

1) install full OOS zip and twrp from twrp.

2) Reboot to TWRP and install Arter kernel, fstab zip and magisk

3) Reboot to rom.

Is that correct?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
I don't believe so now that we use anykernel2. If this was the old style install, then you're correct, barring waiting on an update from Arter due to the security patch.

I would personally not install a kernel after an OS update until the dev confirms that the sources are up to date and everything is compatible.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] reas0n:
Has anyone problem with r13 on Open Beta 15? I have a bootloop on boot animation.

edit: okay nevermind, i flashed latest r9 and then r13 again and it booted. dunno what happened here
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Astrubale:
Double tap to wake isn't working on SyberiaOS
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
I added an updated instructions to the OP on how to use f2fs.

/* f2fs */

This kernel fully supports f2fs for /data and I encourage everyone to use f2fs with my kernel for better performance.

See here as to why you might want f2fs.

TWRP is not integrated to the kernel.

Please use a TWRP installer to install TWRP on top of my kernel.

To use f2fs, download zip files from http://arter97.com/browse/f2fs

Flash f2fs_tools_for_twrp.zip from TWRP. This won’t format your /data partition.

This will replace TWRP's f2fs tools with the latest version and pass the correct parameter to mkfs.f2fs, which is necessary.

This needs to be done everytime you enter TWRP, if you want to re-format to f2fs.

After formatting, or flashing a new ROM or an OTA, /vendor’s fstab needs to be changed.

Flash f2fs_fstab.zip to convert fstab to f2fs again. This won’t format your /data partition.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
r14 is up.

r14

Wi-Fi drivers updated to 5.1.1.71C

Disabled some debugging options to improve performance

Added vibration control

Added wcd934x sound control
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
To confirm,

If already on F2FS and given its anykernel2 based kernel, I would just need to flash the r14 kernel update and that's it's?

I'm reading OTA from your last post to mean ROM OTA?

Edit: I just tried it out for myself and I can confirm if you're already on F2FS then all you need to do is flash the r14 kernel zip and reboot.

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

Hi buddy,

From what I understand you're doing, you're updating the specific TWRP tools that we are using to the latest versions so that they format to F2FS correctly?

If this is a matter of updating, would it be possible / make sense to submit the required commits to TWRP?

Sorry if that's a stupid question but figure it would simplify the process and give you one less thing to maintain once it's successfully built into TWRP?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
Yes.

TWRP built from Pie will kinda have the same effect. Though iirc, TWRP is still passing incorrect parameters to mkfs.f2fs.

I'm not sure how to tackle this as an option working fine on the Pixel 3 may cause an issue with a kernel w/ outdated f2fs.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Overclock96:
need to flash the archives again for f2fs?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
I did not. I was on r13 with F2FS and I just needed to flash r14 and nothing else. It also preserved magisk root so literally only the r14 zip to flash.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
Hey,

Just curious as TWRP 3.3.0-0 has been released but there is one line in the changelog that caught my eye:

Detect mkfs.f2fs version to properly format on f2fs partitions (Dees_Troy)

Does this have anything to do with what you're having to do for F2FS?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tanish2k09:
[MENTION=4898097]arter97[/MENTION] I read your tweet about not adding klapse to your kernels, and I appreciate the feedback you provided about the code and working. I tried to reach you on twitter but you didn't reply back.

I'd love to hear more about what you have to say to potentially improve klapse :)

Some points I picked from your tweet (https://twitter.com/arter97/status/1117040867980615681?s=09)

1) I need to improve the code quality and reduce the length (which I was planning to do anyways)

2) You mentioned the auto-brightness dependence of the second mode of klapse, and I did reply to it here: https://twitter.com/tanish2k09/status/1117147042306871296?s=09

3) The apparent brightness reduction feature isn't ideal and shouldn't necessarily be in klapse. Can't disagree, though this was NOT a part of klapse before and was added on user request. I did not plan it initially. Might remove in future

4) As for timers, my reply on twitter here: https://twitter.com/tanish2k09/status/1117147952386990080?s=09

I understand what you're trying to say here, but to my (limited) knowledge of kernels, a kernel_timer was the most efficient (and easy) way to get the job done.

Some users did suggest me to just make an app for the scaling and use root access to echo to KCAL. I haven't turned down that idea completely either, I'll definitely be making a userspace solution for this but I'm pretty sure it will be way less efficient or concise considering all the components involved (UI, libSU, Thread, Service, not to forget every root command execution via su libs is expensive). The benefit of an app would be broader support range, added versatility and (maybe) location access for automatic time handling. As for inside the kernel, the affect of klapse on the system is not noticable. Some users reported their battery to actually improve from klapse though that is most certainly a placebo ?

Again, I'd love to hear what you have to add, there's tons of space for improvement :D
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] return.of.octobot:
I'm just looking for a little clarification from you, or anyone who has already deployed your updated f2fs zips relative to your recent Twitter post regarding f2fs/encryption compatibility. The timing of the two seems to suggest that I can now follow your method to reformat to f2fs and retain encryption, fingerprint/lockscreen functionality but I want to confirm that this is actually the case, or if the encryption experiments are just something you're working on personally at this time
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joakimbo:
Flashed latest OB 16 on both slots then magisk and then kernel. Now I can't get root. Tried flashing magisk again twice but without luck.

Tried flashing kernel again and it said Magisk detected, but when I boot it says Magisk not installed. Any ideas?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] ayamgoreng:
I just tried official recovery.

same problem with twrp, phone won't boot to recovery

(fastboot boot still working)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Macusercom:
TWRP and the kernel seem to go hand in hand in A/B devices. Your kernel is even used in TWRP itself. This kernel doesn't support AnyKernel so it might overwrite any recovery if not flashed in the right order. However, I l've not used any kernel that doesn't support AnyKernel. So I don't know what the proper way of installation.

Flashing TWRP has to be before Magisk though or you lose root.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Vinikawa:
Dash charge doesn't work properly all the time. After 10 minutes charge current lows speed about 1200 mah
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joakimbo:
This kernel is DOA? No one got it to work properly?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] TiZiO.Cover:
It's the problem with booting to recovery that holds me back.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] angelmakumbe:
Kernel is awesome. Only can`t reboot twrp from system. Every time I want to flash something from twrp, I have to flash twrp from fastboot
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Jeik:
I can only guess that the people with TWRP issues aren't using f2fs.

Because TWRP worked fine for me on f2fs.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] angelmakumbe:
F2fs with the provided f2fs_format.zip or with trwrp?

If you did it with the f2fs_format.zip, which were your steps? Please
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Jeik:
I don't remember completely but I think:

I made a clean flash of the rom, flashed the kernel, twrp, rebooted the recovery, flashed the fstab_format.zip( first one failed, then flashed it from /root ) and flashed magisk.

If you can't get it to boot, try making a factory reset after it all or flash f2fs_format.zip again.

Do note that this might remove encryption from the storage as long as you don't go back to ext4.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Matokov:
Its not only about TWRP, kernel must support f2fs, too.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Cablespider:
Based on the OP, it is supported.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nanodan:
Has anyone tried the f2fs fstab on the 6T? I might try it later if no one has.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] _DEDSEC_:
I've been using the kernel since day one, multiple wipes, and tries, no matter what you do, the kernel itself isn't stable at all. First the wifi doesn't work, if I toggle wifi and reboot, the wifi works, same as for hotspot, after switching it off it won't turn on again so I have to do it again.

The overall smoothness and performance remains the same, I can't visually distinguish any gains compared to stock kernel. The battery life is same as stock, so I see no use in using the kernel besides the fact that it's created by arter and used in PA, for now.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dragos281993:
Actually, smoothness is not even close to the stock kernel. It needs A LOT more refining to do, no offence to anyone, I hope.

Try using Twitter for a few moments and that'll look like a stuttery mess. I just can't NOT notice that. But it's just the initial version, after all, so it can only get better in the future. As for bugs and stability, it hasn't caused me any issues, but that's based on my personal usage. I don't use wifi so I couldn't run into that bug. But 'different people, different usages', so that's good cause that way bugs can be found and squashed. :)

Anyway, this initial version is more of a 'test drive' for those who want to check out to see what f2fs feels like. The difference to ext4 is totally unnoticeable in day to day use, unless people know specific ways to exploit it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
This would be responsible for the Wi-Fi issue you're having. Though among about a dozen testers I had before the public release, Wi-Fi was perfectly fine for everyone.

You and others having Wi-Fi issues are gonna have to provide both kernel log and logcat to help me narrow down the culprits and fix it.

Well, engineers are always going to brag about how much fancier their new code is, myself included.

Though I understand users saying it's not worth it, albeit a bit discouraging.

You can just care about what you actually feel, discarding the underlying technical advancements as those might be particularly unnoticeable for you.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
I'm just going to copy paste the previous reply:

No, I'm actually not going to refine this as I'm quite certain this is due to the bulls**t OnePlus is doing with schedulers to boost certain whitelisted apps such as Snapchat.

Those crap OnePlus code, which is just hard to look at, may improve user experience, but I'm just refusing to put cancer in to my kernel. These are just bandaids on top of another multiple layers of bandaids that are prone to cause more problems down the road.

Also I think I need to mention that general UI benchmarks including jitter tests show that my kernel does not need A LOT more refining.

I failed to mention in the op that my kernel is completely rebased on top of stock CAF(Qualcomm reference) kernel with all if not most of OnePlus' cancer stuffs out.

What I consider cancer might be considered as blessing and advancements to you. Perspectives, I guess.

You are just plain simply incorrect. If you don't notice a difference with ext4 and f2fs, you're basically testing stuffs that are not I/O-bound to begin with.

There are reasons why Android Go devices are forced to use f2fs.

https://www.anandtech.com/show/13474/the-google-pixel-3-review/2

So SQLite is vastly faster with f2fs.

I kind of regret not adding details to the original AnandTech piece I wrote, but let me add some right now.

The use of f2fs allows the kernel to safely turn off barrier for fsync() without sacrificing file-system integrity. This vastly improves responsiveness. If you look around at custom kernels, a lot of those allow you to turn off fsync() or provide you a "dynamic fsync" kind of thing(which I extremely encourage users not to use). Android is proven time and time again on how much is bottlenecked from all those fsync()s.

SSR method allows f2fs to reduce performance regression when the utilization is nearly full. This is indeed, very noticeable. If you compare side-by-side f2fs with ext4 both with more than 80% full, f2fs is much more responsive.

The nature of f2fs using LFS design significantly reduces the wear compared to the journalling nature with ext4. If you plan to use the phone for more than a few years, or just write a lot of data, this is definitely a thing that you'll appreciate.

You can write reviews and share your experiences to your heart's content, but if you are going to state "not exactly noticeable though", I'd appreciate it if you could at least go through Git and see what I've actually done. While your comment is not particularly offensive much, it's extremely discouraging.

If features are all you care with kernel, mine will never be the kernel for you.