yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
It makes zero sense to enable dc dimming by default. DC dimming is only useful for people who face issues like nausea, eye strain, headaches, and migraines when using the phone with low brightness.

By default the phone uses Pulse Width Modulation (PWM) to decrease the brightness. Some people are very sensitive to the effect PWM introduces when it uses low brightness settings.

These people are the minority, just like people which get motion sick when playing fast fps games for example.

If you don´t have any issues like this, it makes no sense to enable DC dimming, as dc dimming cannot reach the same amount of color quality displayed on your phone.

That´s why you can notice the screen color getting a bit more yellowish, when toggling DC dimming.

more information can be found here:

https://www.notebookcheck.net/Analy...displays-without-the-flickering.423121.0.html

https://www.gizmochina.com/2019/04/03/what-is-dc-dimming-why-its-important-for-amoled-smartphones/
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] MrPhilo:
The OP doesn't mention that you're using OnePlus display driver anymore for the 90hz, is this CAF based now?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Yes CAF changes to display driver are merged since 1.2.0 actually. I just updated the OP to reflect the current state this weekend.

I actually did update the OP already middle of last week but xda swallowed my changes and the edits never made it through and vanished.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] BossNexusS:
So what dies this mean for the 90hz refresh rate? What happens to that, if anything?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Nothing for the 90hz refresh rate. It just means the display driver is updated with latest CAF changes ;)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Mimsy:
I solved all my issues by redownloading all the files again (don't forget correct version for companion module) and following instructions. No issues so far and battery life seems comparable to stock, while performance is better and much more consistent. Although I have noticed that kernel is using GPU OC steps before it applies on boot settings. Could that be the cause for some erratic behavior in certain cases?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Update to 1.5.0

Hey guys and girls,

that took a bit longer than expected, but the wait is worth it. Here is 1.5.0.

Latest upstream merged, One plus updates merged.

I took a look at f2fs these last days and it´s supported by both, the stock kernel and the fstab. Therefore I decided to convert my phone to f2fs.

It´s quite straightforward, but requires you to format /data once. The stock kernel is outdated regarding f2fs and is stuck at June 2018, though functional!

So I decided to update f2fs to the latest state found on the f2fs stable git for the 4.14 kernel.

Converting to f2fs is completely optional and you can just flash the kernel as before and stay on ext 4. If you´re interested I wrote up a little how to in the 4th post!

I also including some androbenches.

Changelog below!

Enjoy!

Changelog:

Kernel Base

- merged new One Plus sources 9.5.8

- Linux stable 4.14.126. 4.14.127 and 4.14.128 merged

- f2fs updated to latest state from f2fs-stable for 4.14 kernel

- [MENTION=4898097]arter97[/MENTION] ´s Rapid GC for f2fs built in!

Features:

- wake gestures sensitivity increased [MENTION=4684315]flar2[/MENTION]

- DC dimming no functional in settings ( before simply enabling it have a look here

Have fun flashing and enjoy your device with latest linux-stable :)

Why is linux-stable important?

I wish you all a nice day/evening!

Download is below :)

Download:

Disclaimer/Important:

Before flashing make sure you´re on latest stable Magisk!

In case you´re on the stock kernel or any kernel, which has AVB not disabled, you have to flash the kernel.zip TWICE in EXKM with a reboot in between in order for the files on vendor to be replaced!

Otherwise AVB verity prevents these files from being replaced. If you´re coming from this kernel, flashing twice is not required!

This kernel changes some files in /system/vendor. Below is a zip you can flash to return to stock for your convenience. Afterwards restore the stock boot.img

Kernel: https://www.androidfilehost.com/?fid=6006931924117899313

Magisk Module: https://www.androidfilehost.com/?fid=6006931924117894010

Restore-Files Zip:https://www.androidfilehost.com/?fid=6006931924117899318

or following the link in the op to the correction version

Instructions can be found in the OP!

But look at this post too :)

Have fun, enjoy the kernel and your phone.

If you like my work please consider a donation.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee/green tea: http://paypal.me/freak07
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
It's a great update!

Been running it for a little while with F2FS and it's been great!!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Ice Bear:
Ice Bear is curious how f2fs affects the performance of the OnePlus 7 Pro. Would it make for faster storage speeds?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Jerreth:
No new module?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Toutatis_:
I'm curious too. This phone is already blazing fast with ext4 anyway. Benchmarks from [MENTION=3428502]Freak07[/MENTION] show better performances so why not? I guess I'll give it a try.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Jack_Sparrow_:
So, I'm on 9.5.8, sky dragon kernel, fully working twrp and latest working magisk, only after I flash the companion module, can I simply flash in twrp latest build, then twrp, reboot twrp, then flash magisk and at the end this kernel? Thanks alot
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
If by latest build you mean of OOS then yes that will work for you :svetius:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
take a look at the 4th post [MENTION=9421702]Ice Bear[/MENTION] like [MENTION=4880098]Toutatis_[/MENTION] mentioned. Some androbench examples there.

No new changes in the module needed. So no need to update it.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Ice Bear:
Ice Bear is super impressed.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Leicxan:
Thanks for new update, it's really a big surprise.

:D So the encryption is working after formatted /data to f2fs and the decryption for /data on f2fs in twrp also works?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
Yes, encryption is working perfectly and so is lock screen.

Once you format as f2fs you will not see any difference than if you were using ext4 (in terms of usability, speed is obviously quicker).
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HottieLinus:
Any recommendation on how to do a fully backup and restore?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Good morning everyone :)

thanks for everyone for nice warm welcome :) I hope it will be a good ride on this device!

Thanks for reporting, glad it does for you!

hey :) great to see you here! This will be fun and I´m really looking forward to the journey. Never had a One Plus before, so I´m pretty excited.

hey :)

rarely use telegram :) nice to see you here!

well I bit the bullet and ordered one. wanted to see what´s the hype about One Plus :)

OP7 Pro uses ext4 as default for /data as I just checked. Making f2fs functional may require quite some work. If I can get f2fs with encryption to work properly then maybe yes.

Playing with fs in general requires a lot of testing as I don´t particularly want any data loss/crashes/corruption etc to happen. But it´s tempting after using the Pixel 3 for sure ;)

wireguard will definitely come soon :)

very nice :) for me it´s not working with exkm 5.03. I wonder what´s different about setups where it works and where it doesn´t.

Yes it seems quite like it. The difference is really subtle, but one can see a subtle difference in colour output after activating it on stock kernel.

I upgraded yesterday to 9.5.5 and checked it quickly on stock kernel. As already mentioned could see a tiny difference, when toggling on minimal brightness.

Since this option is in OnePlus lab / beta section I have the suspicion that OnePlus didn´t include the actual kernel source changes, which are needed for DC Dimming, into their Source Code published on Github for OP7 Pro.

The fact that it doesn´t seem to be working on Elemental X kernel too, which is very close to stock either confirms this for me.

I´ll take a proper look at it maybe the next few days, when I´m at a PC again. This is just a purely visual observation for now.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Oh and in case anyone is wondering.

1.0.0 contains the latest kernel source changes OnePlus dropped yesterday in the afternoon :)

Had to recompile shortly before release for that :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
Hey buddy,

In relation to F2FS and EXT4 it was the same situation on the OP6 in that the device ships with EXT4 but Arter97 was able to get F2FS to perform in a stable way. It did take a format of course to transition to F2FS but otherwise once you were on it, it ran perfectly.

Definitely worth checking out his kernel source for ideas once you're at that part of your own kernel devel path :svetius:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Yes I know about that :) don’t know how much changes are needed going from 4.9 to 4.14 kernel base though. I’ll see about the differences when I decide to dive into it I guess.

Once twrp (with a properly published source and device tree changes us published) is able to decrypt /data, maybe I’ll pursue this further.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Duncan1982:
[MENTION=250713]Freak[/MENTION] you made a great purchase, the 7 Pro is a very nicely balanced device, and if you can call Oxygen OS a skin it's the best if the bunch.

So many great devices (some say 90htz is just marketing) yea it is like the S-Pen or reverse wireless charging (some YouTubers need a reality check). However I had 90htz on the R.O.G and now on the 7 Pro and it's noticeable and nice to have.

Yep now that twrp was made available i am on your Kernel and I'm sure it will be a great journey to.

Enjoy.......which I'm 98% sure you will ......:p
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
Yeah fair about buddy,

I'm also waiting for a shared sources version of TWRP to be made available too. Also waiting for EXKM v5.0.5 to be made available so one way or another I can flash this darn thing! Lol
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
I don’t really care about wireless charging. I see very few benefits in it. Though I see quite some disadvantages. :eek:

Yes the 90hz is noticeable I think and certainly nice to have :)

However if one expects the same battery life as a OP6T, with full resolution and 90hz on the 7 Pro they may face a surprise. Never had the 6T, but resolution and 90hz definitely need juice :)

Fair enough :)

Yesterday evening I updated from 9.5.4 to 9.5.5 via built in OTA updater and install magisk to inactive slot method.

After booting to updated system, simply flash twrp.zip and magisk.zip as well as my companion module in magisk manager, then reboot to twrp and adb sideload the kernel. Super easy :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
I had an issue last night in installing the TWRP test zip via fastboot that caught me in a bootloop that I couldn't get out of.

Just installed it now via Magisk as you suggested and now running Kirisukra. Will see how it goes and report any issues back to you. :svetius:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Maverick Jester:
[MENTION=3428502]Freak07[/MENTION] now I have to get this device, my favourite kernel is supported.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] liver20:
[MENTION=3428502]Freak07[/MENTION] cant be flashed by Exkm... Why?

Enviado desde mi GM1913 mediante Tapatalk
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
once EXKM manager is updated to 5.05 you should be able to flash it. it´s written in every kernel thread here.

https://xdaforums.com/showpost.php?p=79599804&postcount=33

https://xdaforums.com/showpost.php?p=79600418&postcount=40
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] :
So battery and performance/smoothness should be improved a bit with this kernel?

Also flashed it in ex kernel and it said it worked, how can I confirm it's active?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
Look at the bottom of the first page in EXKM
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Performance/smoothness/app opening/ is improved for me yes :)

battery life may be improved due to EAS changes and a few others.

But that is always a very subjective topic. What works well for one usage scenario doesn’t work for another. The best way is to try the kernel and see for yourself. Nobody has exactly the same usage as you.

Additionally the device is out for like a week? :eek: hard to tell battery life?

Another very interesting read about battery life in general is here:

https://arstechnica.com/gadgets/201...sts-tracks-and-improves-android-battery-life/

In general I don’t want to sacrifice performance with any of my kernels just to get 5 more minutes of SOT in the evening. I’m all up for experiments with EAS, other scheduler improvements etc. In extreme scenarios where one needs to keep the device alive as long as possible the power saver setting is built in for a reason too :o
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Duncan1982:
I'm all for great battery life, however we have now a QHD panel running at 90htz, want to save a little tune it down to FHD+ with 60htz (my opinion is it has QHD at 90htz use it) I absolutely enjoy running it as intended.

We have 30w of fast charging (warp) it certainly gets the job done ....(much better than the 15w S10+) not slating the S10 I had and sold to purchase the 7 Pro.

So I agree with [MENTION=3428502]Freak07[/MENTION] battery is always a subjective matter, and varies so extensively. That no matter what he does it will "always vary".

Great kernel btw, looking forward to future releases to.....:good:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
I guess you mentioned the wrong freak there :D
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] saiprasadgawde:
I faced issue of constant force close on opening battery option in settings after flashing the kernel.

Back to kernel when reverted to stock.

Dunno if it's kernel related.

I am on OOS 9.5.4, GM1911
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] :
Oh says OnePlus for me, well guess it didn't flash properly
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Make sure magisk is installed properly and install the magisk companion module in magisk manager. Reboot after flashing.

Simply follow the steps described in the OP ;)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Duncan1982:
I think you need your reading glasses .......the 07 was always there.....:p
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
Have USB OTG or a PC handy. Transfer everything you want off the phone. Back up WhatsApp with its intebral backup system to Google cloud. Use Google backup as well if you want.

Some people use apps like Titanium Backup, Migrate or a few others to back up apps. I don't so can't comment on them.

Once you've formatted. Boot up into ROM and you can transfer files back. I personally set up my phone from scratch and log into everything. It takes a little longer but ensures a clean working install.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] miket674:
Do we need to re-flash anything (OS or Kernel) in TWRP once we change data to F2FS? By the instructions I'm assuming it will just boot right up, but I want to be sure.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
Both stock kernel and OS have native F2FS support so no, no special zips or anything to worry about. It just works
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] PrimroseOlby:
Is there any downside to F2FS?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kezzuki:
Oneplus switch is my favourite, i am even upset that other brand phones can not use the full functionality of it LOL

Just open Oneplus switch, hit create backup and transfer the folder to your computer:good:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] weedlucho:
Where is that folder? Thanks in advance!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kezzuki:
Its called "opbackup" in the root directory of ur phone storage.

Copy the entire folder, then when you copy it back to your phone and start onplus switch it will show that you have a local backup:svetius:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] -Grift-:
Could we use TWRP backup restore on /data?

step 13
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] MrPhilo:
Delete
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] noobie_modder:
Hi, i like this kernel but there seems to be a problem with gaming performance. I use Dolphin Emulator and in heavy games like NFS Most Wanted, there is a 15 FPS difference compared to stock kernel.Maybe the device throttles much earlier. Even overclocking GPU to 685 Mhz doesn't help.

Please look into it if possible.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] weedlucho:
Hi! I'm on stock rom 9.5.8 (OP7Pro) + Kirisakura latest build for 9.5.8, my screen off gestures are not working, I have activated O for camera and V for light, but they are not working. If someone can check their device and tell me if it's working properly. Thanks in advance!

EDIT: Nevermind... Rebooted and everything fine now...

EDIT 2: Gestures stop working again... Even after reboot not working...idk what's going on here...if anyone can check in their phones, or have any idea what can I try to solve this... Thanks in advance!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RazorBlade123:
Gestures are working fine for me.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Paz9:
How do you notice battery on f2fs? User experience?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
Same as ext4 for me for both battery and user experience
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Paz9:
nice, do you notice it better by any chance?

i have another question slight OT - have you tried mounting all EXT4 partitions with journaling disabled and barrier=0?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
I feel it's slightly quicker but honestly this device is already really fast so it could be a placebo.

In terms of trying journaling disabled and barrier=0, no I haven't tried that.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Paz9:
you could try

find all the filesystems mounted with journaling (in terminal type "mounts")

then tune2fs -o ^has_journal /dev/block/XXXXX then e2fsck -f /dev/block/xxxxx for each partition to make sure consistency is kept in tact.

and in fstab just change "barrier=1" to =0

im in the process of testing with stock kirisakura kernel.

i did notice with kirisakura f2fs gets a better andro score.

ive also been testing with encryption disabled

on EXT4 i get an extra 200MB/s sequential reads.

EDIT:

please note disabling journaling and barriers may cause you to lose data if a hard reset / crash occurs.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Hello again,

please stop this nonsense in my thread. Especially without mentioning the risks, but asking random other people to try things without mentioning what this actually implies.

Open your own thread if you want to experiment with it. Mention the risks and especially mention anybody who does this risks data integrity that way!

If you never lost any data that way it´s fine. But I won´t accept asking others to do this in my thread.

You received already a reply from arter97 a few months ago. I don´t know why you bring this up here again.

https://xdaforums.com/showpost.php?p=79254190&postcount=369

Please just end this here.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Paz9:
of course there are risks, i wouldnt expect anybody to know how to even disable journaling if they didnt understand the risks.

this is a development forum, if we cant share our ideas / mods / etc what the point?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] MrPhilo:
You shared an idea without mentioning the risk, that's what he meant. Obviously you've now edited the post.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] klym.software:
Hey quick question. Why does the KCal screen calibration only work when the devices display screen calibration is set to "AMOLED Wide Gamut"? A user from this thread:

https://xdaforums.com/oneplus-7-pro/how-to/post-kcal-setup-t3937103/post79746840#post79746840

Found when using a display testing app only the vivid and nature settings actually use a wide color gamut. The "AMOLED Wide Gamut" setting from OnePlus does not use the wide color gamut, and is most likely just adding saturation to the normal color gamut.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Paz9:
hey [MENTION=3428502]Freak07[/MENTION]

i removed barrier from /data (in fstab barrier=1 to 0) (BUT journaling is still ON as default)

ran androbench and random write increased to 169MB/s from 27MB/s just FYI incase you want to do more testing on EXT4
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Pfeffernuss:
And now WhatsApp opens in 0.23 seconds instead of 0.26? :cool:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kezzuki:
deleted:mad:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] protechtedd:
I recommend using Migrate. Make a full User backup (+System if you want, but I had issues restoring these) and then move the Zip(s) over to your other phone. Flash in TWRP. Boot and use the Migrate Assistant app to restore all or only some of the apps. It's much more straight forward than Titanium Backup. However, I recommend also making a full Titanium Backup as a secondary fall-back, as I've found just a few apps did not restore their Data properly with Migrate (it's in beta) and I individually restored the data of those apps. But overall I don't recommend TitBak as the main method anymore, because of the well known issues of restoring all Apps + Data together, and starting to see funky issues popup as a result.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HottieLinus:
What's the well-known issue of Titan? Was considering buying Titan pro...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] protechtedd:
If you are planning to use Titanium Backup for individual app backups and restores, it is perfectly fine and recommended. But if you plan to do a full backup, move to another phone (or after a wipe), and do a full restore, odd things start to happen. Apps will force quit randomly, system will be sluggish, battery life reduces. I'm not sure personally why this is the case, although I've read a dev of an older phone explain it that TitBak restores or modifies other files in Data and System that came from the old phone/Rom, and can cause inconsistencies and issues. Migrate so far IME does not do this, and is also Free and much faster for full backups.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HottieLinus:
Thanks for the explanation.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Toutatis_:
I've just switched to F2FS, no problem :good:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] vibrantliker:
Just to be sure with the all the new developments with this phone, to install 1.5, just flash the companion module in magisk, then flash kernel (TWRP) ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Toutatis_:
Yes
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
Make sure you come from stock kernel and this process will work great for you.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] vibrantliker:
Thanks, I am on stock now