yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
A little update.

- I'm actively trying to get pstore working on all reboots to get a log as to why OnePlus 6T fails to boot with [MENTION=2010892]Nezorflame[/MENTION]

(What happened to "rebooting" the developer program, OnePlus?)

- TWRP will be embedded with the boot.img next time. This would be a good thing as I could actually make f2fs formatting working properly there.

- Instructions will be provided once I get TWRP to work properly. I always use fastboot to flash kernels myself. My apologies for not being considerate enough.

- It's likely that I won't use AnyKernel anytime soon. While I admire osm0sis' work on AnyKernel, I like to have full control on final generated boot.img. Makes my life so much easier. This is why I worked on resetprop's keymastermod and execprog prior to release.

- I've noticed OnePlus(or Qualcomm) using 512kB readahead. I was stupid to trust them to actually be smart and use 128kB. readahead values will be set to 128kB starting from my next release.

- I'm noticing some guys having Wi-Fi issues. A kernel log(dmesg) and logcat will be required to fix the issue. I'm going to leave Wi-Fi status as-is, if no logs are provided.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dragos281993:
Sorry if my comments were discouraging. What I said was from my point of view. In a normal/day to day use, I haven't noticed any of the things f2fs is supposed to improve. All the info you provided here is absolutely great and helpful for a better understanding of what the whole deal is, so I of course appreciate that.

I suppose I should've just wrote the previous comments a bit more subjective, instead of sounding like facts. Sorry for that.

As for the features part, no. I am not looking for features at all in a kernel. I just want my phone to offer a butterry smooth experience which right now seems like a dream as no matter how much tweaking people do, Android is still a stuttery mess, more or less.

Sorry again if I didn't make sound more subjective. It was what I thought after all.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MarcoCount:
Thanks for the follow-up.

Very appreciated!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] iPsychoGeek:
Oops, didn't read correctly. Delete pls :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kyljys:
For information: succesful update to b16.

-Updated via system update,

-installed TWRP retention script from Magisk repo,

- flashed magisk from magisk app (ota version of install choices),

-rebooted to twrp,

-flashed arter97's kernel r14

-flashed F2FS-fstab.zip

-reboot to system.

All is good!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
I have this if it's the first time I install magisk after a fresh install of ROM. I manually install Magisk Manager and then it all seems good to go.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joakimbo:
I think it was something about A/B slot. I think it booted into the wrong slot or something. Works now.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vishnureddyb:
I've read that F2FS has performance degradation in the long run. Is it true?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] spartan268:
Not in Arters implementation. I think it's called rapid GC that he enabled which stops the degradation of performance. It's his saving grace on the Pixel 3 phones.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joakimbo:
Been using this kernel for a couple of days now. It's quite good, performance on par with stock or a tiny bit better. Touch latency is really good. Battery is a bit worse tho, idle drain is higher and active drain as well. Hopefully it improves over time. If so, I will format my data and go all in with f2fs.

Great work [MENTION=4898097]arter97[/MENTION]
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Flasher8:
Can I flash on OB 16. ? Not converting to f2fa yet.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kyljys:
Yes, as stated just 6 messages earlier. No problems.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] GamingDevilsCC:
Woah that's awesome! How does rapid GC work?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Portablehacker:
https://github.com/arter97/android_...mmit/34a4ea7309f551150628603f7ef71abc25e6b68e
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dragos281993:
I'm willing to actually pay for something like that. The way the app behaves will be in complete control and harmony.

I hope I see this in the future. It might be the perfect way to have k-lapse on your phone without having to hunt for kernels that have support for it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] 2428lu:
I have tried using r14 with f2fs for a while, amazing work, the problem is that the problem of WIFI signal attenuation is still very serious, I stayed in the same place, I can see that my WIFI icon has been continuously decreasing and increasing. Then repeat this process. This is a very obvious problem. I want to know if anyone else has found this problem. Is this an example?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Not sure that can be related to f2fs? Did you have the same experience on ext4?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] 2428lu:
I am sure that it has nothing to do with f2fs, because I have tried it in both formats, it should be caused by the kernel.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Sebastiaanlabr:
Can somebody explain step by step how to go from ext4 to f2fs? Thank you.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Tomatot-:
Check OP.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Sebastiaanlabr:
But what if I want to use another kernel with f2fs?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kyljys:
If the kernel supports f2fs you should be good to go.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] DalekExt:
Flashed r14.img,

Booted in TWRP, wiped everything

Formated data to f2fs

Flashed 9.0.5

Flashed r14 and fstab

Stuck on boot

What I'm doing wrong?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Terrigible:
Read OP

EDIT: Hold up. Does the image include the correct mkfs.f2fs?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] ed-gonzo:
You forgot Magisk!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bryanyee:
Did you flash f2fs_tools_for_twrp.zip before formatting to f2fs?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] supleed2:
I don't think that's needed if they flashed the img instead of the zip as it's using arter97s custom twrp already. It should work fine to format f2fs
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] ayamgoreng:
anyone tried the kernel with 9.0.5 ?

Stuck on boot loader image. I return to 9.0.4 and it works.

edit: It works, I just have to use zip version.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
All working fine for me here.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] franco985:
Hi dudes, how is battery life with this kernel?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Horrendous, would not recommend, avoid.

In all seriousness, try yourself, but kernels generally do not save you any battery really. App usage and device use cause more of an impact.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Has anyone tried switching to f2fs by backing up in TWRP, formatting, restoring backup? Aware of have to transfer to a computer, just wondering if this works. I know people did this back in the OnePlus One days.

Wondering if this is worth a go, or if I should just start from scratch.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
I personally started from scratch when I did it but my main data is my photos which gets backed up to Google Phones and lots of app data is backed up to Google backup anyway.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Started from what sorry, scratch?

Flash stock kernel (easiest way would be to flash ROM) and then flash TWRP, then this kernel.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
Sorry,

Edited it. I started from scratch. Meaning I didn't restore data from twrp or do anything like that.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Okay fair enough. Enjoying F2FS?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] WillowTree:
Forgive me for my ignorance but I seriously don't understand the OPs instructions.

Can someone pm me step by step instructions to go over to f2fs please. Would be greatly appreciated.

Again, sorry; I know this has been asked many times.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] shehabskull:
Sorry but I need some help, I flashed the kernel on my op6 (running on OB17) but the device didn't boot (stuck on bootloader unlocked warning screen) so I thought flashing f2fs tools might help and yes it made some progress and my device passed the warning screen and stucked on boot-animation and even when I restored my stock boot the device still didn't boot.. So I need help.. is there any method to fix this miss? I booted into slot b and my phone is working but with non-working wi-fi ..
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] akiwiz:
Flash stock oos on both slots it would get the phone to stock, back up data before doing this
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Stoowyguy:
Kernel doesn’t play nice with custom recovery. Only flash if you’re a brave soul. don’t want any other kernel? Every time I’ve tried this needed to format ext4 everything all over and reinstall OOS. Must be something a developer can help out with cause most kernels are interchangeable without any bugs.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Which version did you flash? One of the early versions caused an issue, but no more, it's all okay.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] supleed2:
It works great too with the official twrp recovery v 3.3.0 so that would be fine if you want to switch between kernels
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
A yuge beta kernel is up.

It should be a daily driver material, I'm marking it as a beta just in case a major issue slipped that I didn't notice.

As always, make a back-up!

A lot changed in the touch panel drivers. Please feedback if you encounter any gestures/wake-up related issues newly introduced with r15b1.

Encryption now works with f2fs, albeit with a huge caveat: TWRP may not be able to read /data.

More info: http://arter97.com/browse/f2fs/encrypted

The procedures for using FBE with f2fs is the same as before, just use the new zip files to format to f2fs.

You must re-format if you want to use encryption.

Since encryption now works, OnePlus 6T users can now use f2fs. Though, I haven't been able to test whether TWRP works with 6T + f2fs(FBE). Keep in mind that it may not.

This kernel is now VLA-free too. VLA(Variable-Length Array) causes performance regression and may expose potential security holes under the Linux kernel. I've managed to get rid of VLA by porting mainline commits and patching some Qualcomm code myself.

afaik, I'm the first one to do this on XDA. Spread the word and encourage other developers to get rid of VLAs as well :)

More info regarding VLA: https://www.phoronix.com/scan.php?page=news_item&px=Linux-Kills-The-VLA

r15b1

Linux v4.9.175 merged

Wi-Fi drivers updated to 5.1.1.71H

Latest f2fs-stable merged

LA.UM.7.3.r1-07400-sdm845.0 merged

LA.UM.7.8.r3-01400-SDM710.0 merged

Fixed a Qualcomm issue that prevented audio-app stune creation

Fixed an improper timer operation in fuelguage driver causing battery statistics to not update until 20 minutes after boot

Merged various patches from Proton kernel by kdrag0n to lower overheads and improve responsiveness (thanks to kdrag0n, sultanxda and ab123321)

Applied various optimizations to the touch panel drivers

Now VLA-free

RCU boost enabled for better responsiveness

New patches made to f2fs for more efficient GC and trim

FBE(File Based Encryption) now works with f2fs
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] :
Fantastic work man, thank u
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] javad79:
Wow . Sweet changes ???
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] keaheng:
Hi I want to convert my data to f2fs but the instruction is too complicated. anyone can help?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
After testing several builds with [MENTION=7293167]thegreatn_[/MENTION] , I managed to narrow down problematic culprit for Wi-Fi signal strength issue.

Will be fixed with the next build :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
beta is working well this far, will report any issues I have! Feels smooth.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] pappschlumpf:
Cool that one more has noticed that stune/cgroup limit of 5 is isn't enough. I've noticed that a long time ago but haven't made that a seperate commit, sorry for that.

Strange that even Google has not seen it. It is one of the first errors in dmesg.

I'll look into to your VLA remove stuff as soon as possible! Many thx for pointing that out! Great work!

Gesendet von meinem xXx_NoLimits_6.2 on ONEPLUS A6003 mit Tapatalk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Had a random reboot today. Wasn't using my phone, had it on charge. Log below:

https://drive.google.com/file/d/1uYW7HFQ0eovxKSl4cYDKIKv0S7HWJR0r/view?usp=drivesdk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] gregsoir:
and i had a problem with waking up the device, no log for now though, sorry
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pritster5:
Hi Arter. Thanks for the great kernel!

I had a quick question:

As of TWRP 3.3.0-0, it includes a fix: "Detect mkfs.f2fs version to properly format on f2fs partitions (Dees_Troy)". Because of this, is it still necessary to flash your "f2fs_tools_for_twrp.zip"?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Khaveesh:
I tried formatting to f2fs without arter97's zip and the format failed due to some error. But with his zip it successfully formatted. So it is still necessary to flash it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pseudonym:
Am I the only one with random scroll lags? I can't determine what causes it because it's very random. Sometimes when you stay for 3-5 seconds then scroll it appears.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
Which filesystem are you using?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pseudonym:
Ext4. Maybe that's it?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
No, I thought it was specific to f2fs.

Thanks for the confirmation. I'll look into it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pseudonym:
Btw i noticed gpu mhz goes all the way to 0 on idle. Is it a feature?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Portablehacker:
Btw, I formatted using the given f2fs-tools which has the updated extensions_list for hot/warm types. I formatted correctly twice but checking at /sys/fs/f2fs/sdaXX/extension_list it still shows the default extensions from the latest release of f2fs-tools, and not your updated list.

Just checking to make sure if this is intended, or is something messed up here? I would think the list should've been updated appropriately since it gets set at format time, and not when mounting?

FWIW, I've used your given f2fs-tools on my op3 as well, and it also shows the same list.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] javad79:
Last version smooth as hell ?

Is there any interesting things in op7 kernel to use for next update
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Sh0X31:
Any guide to use oos with f2fs & arter kernel?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] iJo09:
Using this kernel on OOS 9.0.6 and f2fs data partition, this is the best! Solved all my touch lag problems I was having with stock and locked, now my phone feels a lot smoother!

Any upcoming update?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Yes, in the OP.

Good to hear!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
New update is up!

Most notable things in the changelog are in bold texts.

Sidenote for those using f2fs:

I've got a report that my f2fs conversion tools weren't applying appropriate optimizations.

If you're using f2fs, just flash this zip from the recovery just to make sure you have up-to-date extensions list for f2fs.

http://arter97.com/browse/f2fs/optimize

r16

Linux v4.9.180 merged

Wi-Fi drivers replaced with Snapdragon 855 drivers

- Switched from 5.1.1 to 5.2.03 release

- 1810 files changed, 851191 insertions(+), 187458 deletions(-)

- I've been internally using this for 3 weeks and noticed multiple improvements like faster handshakes and higher throughput without any issues

Fixed several memory management issues from previous releases

- This fixes multiple issues including performance regressions(wake-up delays, etc) and radio malfunctions

- Thanks to [MENTION=3262915]habylab[/MENTION] for testing multiple builds prior to release)

Latest f2fs-stable merged

LA.UM.7.8.c3-06800-QCS605.0 merged

LE.UM.3.2.1-18400-SDX24 merged

Removed f2fs debug tracing codes added by Qualcomm

qseecom performance improved

Re-enabled kernel tracers for avoiding janks

32-bit vDSO added for improving performance on arm32 programs

Audio kernel updated LA.UM.7.3.r1-07800-sdm845.0
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Always happy to help ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] javad79:
Thanks bro
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kengrayfield:
So is the earlier f2fs_stab still necessary with this f2fs_optimize file?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rmbq:
Great release so far. Can you update wireguard in next beta/stable? [MENTION=4898097]arter97[/MENTION]
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] franco985:
How is battery life with last build?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
It's only just come out, but as good as ever.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] franco985:
I am testing the last build and it seems very battery solid
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kengrayfield:
Have wake-up delay, R16, Havoc ROM latest, OP6
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dewa5227:
Open beta 19, r16, op6. Have wakeup delay sometimes

Any ways to help?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Send logs please.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dewa5227:
I'll send it if it reproduce again.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dewa5227:
Just happen to have it again. Saved the logs using matlog. [MENTION=3262915]habylab[/MENTION] [MENTION=4898097]arter97[/MENTION]
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joakimbo:
I've had random reboots on almost every kernel. Smurf, RZ and arter. Had one yesterday as well. Soft reboot.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Terrigible:
Then it's definitely a ROM or userspace issue, not kernel.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] DenyDarko:
Let's assume the following scenario:

I'm on OpenBeta and get a new OTA notification.

F2FS is being used as /data filesystem

Encrypted Data (TWRP unable to decrypt as of now)

Which steps should I follow in theory to apply the next OTA safely keeping my data, kernel AND Magisk in tact?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Terrigible:
Wrong thread. Please head over to the open beta thread.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] DenyDarko:
This has nothing to do with OB thread.

I'm interested to know the correct way, after applying the OTA though TWRP, to reflash arter's kernel, f2fs patch (encrypted) and magisk from someone who has already done it successfully.

Don't make XDA sending me useless email notifications if you don't mind.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Terrigible:
1. You should have mentioned F2FS to prevent the misunderstanding of your question being not related to this thread.

2. You can turn off these notifications.

3. Sorry for the misunderstanding. Have a nice day.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] franco985:
how is the battery backup?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joakimbo:
It's good. On par with other kernels I would say.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] V'tino:
Follow this instructions, this worked for me.

Also, I removed pin code or any lock screen method before I followed those instructions, just to be on safe side.

Ps.: In case this happens to you: "In recovery (stock TWRP) my folders got all scrambled names. Use 'adb sideload' to flash through it and you will be fine."
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] 2428lu:
The WiFi signal still has a strong attenuation. Figure 1 and Figure 2 below are the arter core. Figure 3 and Figure 4 are the stock kernels. I have tested the same WiFi signal in the same place. [MENTION=4898097]arter97[/MENTION]
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] franco985:
I have noticed the same...maybe because Wi-Fi driver is for SD 855
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] javad79:
We miss you arter97 ?

Hop to see nice changes logs in future :svetius:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
There will be updates, just you wait ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
I'm finally joining the Telegram hype train.

Here's a public supergroup for my OnePlus 6/6T kernel.

https://t.me/joinchat/FW_6TEgqEsUnSGPXSDJcDA
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
A totally new update is now up!

I promised users that I'll be leaving my Snapdragon 845 kernels in a great state before moving on to the OnePlus 7 Pro.

While it's been about 2 weeks since I received my OnePlus 7 Pro, I've been mostly working on my OnePlus 6 kernel, using my OnePlus 6 as my daily driver.

As a result, a lot of stuffs has changed that directly impacts day-to-day usage.

There's now a new "swap" variant.

Please read the changelog for more details.

r17b1

Linux v4.9.185 merged

LA.UM.7.3.r1-07900-sdm845.0 merged

LE.UM.3.2.1-00910-SDX24 merged

Wi-Fi drivers updated to 5.2.03.10Q

More debugging features removed from Wi-Fi drivers

Wi-Fi regulatory database taken from OnePlus to fix slow handshakes with 5 GHz APs (by LuK1337)

Faulty Low Memory Killer fixed to work better and resolve wake-up delays

General scheduler improvements backported

Virtual memory allocator performance improved

Task scheduler debugging disabled properly for lower overheads

Many parts of the kernel converted to use hotplug state machine

WireGuard updated to 20190702

Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan) (total of 46 patches)

Debugging features disabled for Adreno GPU drivers to improve performance

Fixed an issue that was causing charging to be stopped randomly (details)

Rewritten IOMMU by Sultan reverted to resolve screen flickerings

Introducing a new swap variant for memory-hungry users

- Users with 6GB of memory or heavy multi-taskers are recommended to use the new swap variant

- Ditched conventional zram swap approach and taken zswap+vnswap for more efficient memory operations

- Backported zsmalloc memory allocator from mainline

- Backported zswap compressed page cache from mainline

- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Ajp30:
Thank you sir... :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Overclock96:
google camera on this core does not work well, but otherwise this core is just fine
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MatteCarra:
I'm having this same issue on latest beta.

Thanks for your work
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joakimbo:
What's your experience with the latest beta? Any bugs?