yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Everybody that faces issues like zram disabled or wifi not working after a reboot.

Something happened to your phone while you were tinkering which caused some part of the stock rom to not work properly when booting up. This has nothing to do with the kernel. Check my previous posts for more information.

The most visible symptoms are non working wifi and zram being disabled in exkm.

I´ll write it one last time on how to fix the issue. I won´t help you in case you don´t understand this. This thread is about the kernel. Ask questions in Q&A section.

Go to magisk manager, disable and delete all your modules. Do a reboot.

Now go to this thread:

https://xdaforums.com/oneplus-7-pro/how-to/oneplus-7-pro-global-repo-oxygen-os-t3930585

Download the exact firmware you´re currently on and copy it to the root folder (internal storage) of your device.

Now go to settings -> system -> system updates

Top right corner: Choose the "gear"-icon. Then choose local upgrade.

Select the file you just downloaded.

Let the install finish. Don´t reboot when asked. This just has installed the firmware to your currently inactive slot.

Now go to magisk manager and click on install. Choose install to inactive slot when prompted.

After magisk was successfully installed to inactive slot do a reboot.

After taking an OTA (which you just did) the phone switches slots on the following reboot.

Luckily you previously installed magisk to your inactive slot, which will now be the active slot.

You restored your original firmware (dirty flash) while keeping root intact.

Now go to magisk manager, install the latest companion module.

Then go to EXKM and flash kirisakura.zip.

Do a reboot.

Wait 2 minutes for the phone to fully boot.

Go again to EXKM and flash kirisakura.zip.

wait a few minutes for the phone to fully boot. You´re fine now.

This is an extremely easy way to dirty flash whatever firmware you´re on currently.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Sk1t:
I have read that lol, I use the power saving mode in EX Kernel Manager. Just wondering if there was more to be had, such as tweaking ZRAM or some more lower down scheduler tweaks.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lucfig:
I made my own profile trying to make tasks work as much as possible in the little cores. Keep in mind I'm totally inexperienced with schedutil, this is my first device with it. Build this profile in a couple of weeks of experimentation only.

This is keeping the big cores usually around 70% of the time in the lowest freq and the prime core 90%. I have tons of apps, so this is not usual with stock settings. More like 50% / 70%. I don't care about the little cores usage as they are much more power efficient.

This is my daily profile with 7T stock frequencies, but the profile is not messing with them. I have another profile for battery save mode that only reduces the big cores max freq, the rest is the same.

This is a SmartPack kernel manager profile export. I use it because it is easier to build and save profiles and has a Tasker plugin.

Also screenshots attached, but these are in Portuguese.

Some feedback is appreciated. As well as other profile suggestions.View attachment KiriSetup.json.zip

Enviado de meu HD1903 usando o Tapatalk
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Ice Bear:
Ice Bear is curious what the batttery drain and performance is like with lucfig's Kirisakura profile.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sagark5047:
Can i falsh this with stock os i am not installed custom rom yet so can i flash ??
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Jump1ng:
Yes it is recommended to be on stock for best support and only a bonus it works on some custom ROM's
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lucfig:
Lucfig did not notice worst performance using his profile, but battery life improved in his use case.

Does Ice Bear also play with profiles?

Lucfig is interested in others profiles.

Enviado de meu HD1903 usando o Tapatalk
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sagark5047:
Hello thanks for your support can you please provide link and which file i need to download i am little confused about which file support for stock sorry may be it's a very basic question but i am new so kindly help thanks in advance
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] _DoomD_:
Has anyone managed to run 1.9.1 on OOS 10.0.6BA? Has the prime core been stuck or not?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] scrin378:
Its working fine..no stuck
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] _DoomD_:
Thanks! Great to hear that!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
the kernel and the module that say "custom" is made for custom roms, as build from source.

if you´re on the firmware from OnePlus called OOS, just use the regular release along with the module
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sagark5047:
Thank you for your help i am ready to flash now thanks again :svetius:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Update to 1.9.7

Hey guys and girls,

So here´s finally the next update. Linux-stable upstream, CAF upstream.

For the detailed changelog take a look below.

Downloads below.

Enjoy!

Changelog:

Kernel Base

- Upstream included from 4.14.174 to 4.14.182

- Upstream updates from kernel/common

- Latest CAF tag LA.UM.8.1.r1-14700-sm8150.0 for the SD855 merged

- built with clang 11.0.1 from Google prebuilts

- updates from kernel/common

- fix two memory leaks - thanks to [MENTION=5842226]anupritaisno1[/MENTION] for the heads up

Features:

- Wireguard updated

Other changes:

- update WiFi driver to LA.UM.8.1.r1-14700-sm8150.0

- update audio driver to LA.UM.8.1.r1-14700-sm8150.0

Magisk Module:

- no update - use v4

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:

OOS:

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

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

Custom ROMs:

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

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

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] fake.:
Was battery idle support added to the custom kernel in this release or is it still OOS only?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
yes it’s included as well :svetius: forgot to mention
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] fake.:
Awesome, thank you!!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lucfig:
I've been back and forth between your kernel and ElementalX.

But since I tried ACC to have control over the battery idle, I'm fully satisfied with your kernel. Amazing job, congratulations.

Battery idle is working flawlessly and is a extremely useful feature, especially for those that charge their phones overnight.

Enviado de meu HD1903 usando o Tapatalk
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Texan1:
Is it normal to have the swap file filled up?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Well it's wasted if it's not used lol
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
absolutely especially on the 6GB RAM models. It allows you to keep more stuff in RAM for later use, eliminating the need to load it again after it´s being killed from RAM.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sumondhk1:
Can't download custom Rom magisk companion. No mirror found showing
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
re-uploaded the modules. Links:

OOS: https://www.androidfilehost.com/?fid=4349826312261826397

Custom ROMs: https://www.androidfilehost.com/?fid=4349826312261826398
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rob_z11:
What is battery idle support which it turns off charging at 95? I have not seen that being done on my phone.. I have been trying not to charge overnight..
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] gorilla p:
ACC is what you are seeking
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Dude!?!? you're still in the pimpin game? Damn Daniel. (I've reached peak millennial)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rob_z11:
This may be completely unrelated, but last night I upgraded the kernel to 1.9.7, but I lost audio. Incant hear anyone or anyone can hear me..

I downgraded the kernel, and still no change. I ended up reinstalling Beta 14, and it got my phone audio back.

I am running beta 14.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] douglasmietto:
edited: already downloaded the wrong version for my device

after I updated the kernel to version 1.9.7 the function of touching the screen to turn on the digital does not work
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] dswwong:
Is there bugs in the latest version for oneplus 7 pro?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] antiochasylum:
[MENTION=3428502]Freak07[/MENTION]

Is there a way to get back the 675gpu? It seriously makes a huge difference in smoothness.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
It's there.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] antiochasylum:
How did you get such a thing? Mines stuck at 585, even changing the magisk module does nothing
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Oh I'm guessing you use aosp? But if it's available then changing the module or using kernel app works. Otherwise means it's not on aosp. No idea. I don't even test the unreleased aosp ones. Don't use it.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] antiochasylum:
Yes. Using Custom.

I removed the max frequently line in the module, but it's still 585. Sigh.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Have you even checked to see if it's available? Lol you're not really doing a lot of troubleshooting...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] antiochasylum:
Considering I'm asking if 675 is available, I've looked. Considering v4 of the companion modules has a line that sets the gpu back to 585, stock 855 clock speeds, I've changed it, and removed it. Considering the 675 step is coded in the kernel source as well.

So no, I haven't done any troubleshooting ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
You notice how you didn't share any information until this post that would be helpful? And you're the one eye rolling lol and if it's available then a kernel app would present it as an option. If it doesn't then it's not available. Not sure what you think you're doing but it's not troubleshooting.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] antiochasylum:
I'm not talking to you. Please quit replying, as I will not answer you again, since your answer provided absolutely zero help to my question. Thanks.

[MENTION=3428502]Freak07[/MENTION] is who I was asking.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
I just told you how to check. Lol

*HEAVIEST OF SIGHS*

Do you think devs like being constantly tagged?

[MENTION=2579817]antiochasylum[/MENTION] is who I'm quoting this for.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
Check the file max_freq in the path /sys/class/kgsl/kgsl-3d0/devfreq

You can edit the value directly by setting a custom tunable in any km.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Timmmmaaahh!:
[Thread... not cleaned?] I'm not keen on removing posts that can hardly be considered as flaming but I'd like to remind you that this quibble (it's nothing more really) does not add much to the development nature of this thread. If you get the feeling that you can't agree, either PM or ignore one another. Or make a logcat and you'd find something like this:

E/XDADevThread( 3933916): Failed to reload on-topic conversation java.lang.UnfortunateStateException: Error communicating to tolerance daemon

Please

do not

reply to this friendly reminder in the thread! If anyone still has to get something off their chest, my PM box is open and you can always approach each other privately. We really need that mutual respect nowadays. Stay safe y'all.

Respectfully yours

Timmy
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Hey :)

First of all the custom rom kernel comes without any form of support. I mentioned that a few times already.

The information you provided is a bit thin. :)

After flashing my kernel what does /sys/class/kgsl/kgsl-3d0/devfreq/available_frequencies show to you? do you see the 675mhz step there?

If yes, just change the line in the module you removed to 675000000, zip it up again, flash and reboot.

If that doesn´t work, your rom maybe sets a custom value after the script finished running or there´s something else interfering.

If you don´t see the 675mhz step in the sysfs, your rom probably uses still boot.img v1. That means the dtb (which contains the GPU step) isn´t getting flashed to the correction position in the boot.img.

Boot.img v1 uses appended dtb to the zImage (zImage.gz-dtb) while v2 has a separate section for the dtb in the boot.img.

https://source.android.com/devices/bootloader/boot-image-header#including-dtb

If that´s the case you probably need to unpack the anykernel installer and append the dtb to the zImage again to get it working for you.

That´s one of the reasons why I don´t "offficially support" custom ROMs. On OOS I know the environment is roughly the same and it´s fine with one installer zip.

Custom ROMs introduce to much variety that ends up in issues. There´s no way I want to keep up with these changes constantly or to maintain 2 more zips to cover all cases.

Right now there seems to be some action going on, so the fingerprint commits may not be necessary in the future on custom ROM kernels any longer.

But if OOS uses boot.img v2 and some custom ROMs are stuck on v1, it´s again not cross compatible. I guess you see the issue by now.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] samkh1:
Hi [MENTION=3428502]Freak07[/MENTION]

I want to compile a custom kernel for my phone

(mi 8 se - Snapdragon 710)

and I'm wondering how did you add "battery idle mode support" or "charging voltage control" to your kernel.

I'll appreciate you if you help me. Thanks again
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] slgooding:
Windows cannot access F2FS?

I just converted my data partition to F2FS. It worked fine. However

- USB debugging appears broken. ADB no longer sees the device, and it does not show in the device manager.

- Windows no longer lets me transfer files to the device when USB debugging is enabled. The USB preferences are grayed out when the USB is connected. I have tried several different ports and cables.

If I disable USB debugging the device shows up and I can transfer files.

Any suggestions?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
It is no f2fs related I think.

Try clean install and retry.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rage302:
Just FYI... V1.9.7 runs smooth on OB15.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] minh7610:
I'm in eu version 10.0.5 using Kirisakura_OP7_Q_Release_1.9.1.zip, which modules should I combine with the two modules Kirisakura_Compmate_OP7_Q_V4.zip or Kirisakura_Compmate_OP7_Q_V4_custom.zip

thank you
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] scrin378:
If you mean which companion module for your rom depends what rom you are using...if its OOS then V4.zip, of you are on custom rom then V4_custom...pure logic ;)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Gbrl95:
Why it seems that with this kernel the volume is kinda low?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jaggillararla:
[MENTION=5377398]TotallyAnxious[/MENTION] knows why
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Covid
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] dswwong:
Would this kernel be suited for my oneplus 7 pro?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] a63548:
Not sure what you are asking, as this kernel specifically states it's for the OP7/Pro aka Guacamole while being in the OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other Development forums. Not to mention in the original post stating in large green text "Kirisakura-Kernel for the One Plus 7 Pro".
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] dswwong:
Tq sir for the clarification. What I meant was I heard there is some bugs on this kernel when installed onto op7P, thus I want to ensure this is suitable for this particular phone.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
It is pretty stable for me.. Encountered zero bugs afaik
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] slgooding:
Anyone else lose the ability to make outgoing calls with this kernel and the latest OOS beta 15? I can receive calls, but get mobile network error when trying to make calls. I am unable to access the settings for SIM & Network as well.

Switched to Arter kernel and all is working again...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jakito:
Do you have the ACC module or ACC app installed?

If so, there's a bug that does exactly that

Workaround is on the ACC XDA page
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] slgooding:
Thank you! That is it!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jakito:
I've been using this kernel for some days now on the OP7 Pro, OOS 10.0.6

It's been pretty awesome, but I noticed some heavy strutter while going through the recents menu with my opened apps and some less noticeable stutter while browsing through Google News. Any one with the same problem or with some insight on this?

Edit: I don't have any kernel manager or anything related

The kernel is completely default
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] scrin378:
Never had any stutter, lag...same phone, same OOS...Did you flash companion module??
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jakito:
Yes, I followed all the instructions
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jakito:
This is while sliding around the recents menu

I forgot to mention, this is a clean install with 4 days
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] bobbarker2:
Do you have the magisk companion module installed?

I've had stuttering happen occasionally, usually around the time a OP app updated, but it isn't the kernel causing it it's an app misbehaving or something with your OS
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jakito:
Yes, I have the companion module V4

How can I find the problem? Because this kernel is otherwise perfect

I had similar battery life on arter kernel while I underclocked like crazy and lost a bunch of performance. This one doesn't even need that
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] pitrus-:
For me it was caused by to many in-place upgrades without doing a clean upgrade. After doing a factory restore and restoring all my apps using Swift Backup app my phone is view lag free. So my advice is to do just what I did and your problems most probably will be gone unless you have done funky app installed that's slowing down your phone.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jakito:
A second clean install solved the issue for some reason...thanks!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] slgooding:
Edit: nevermind. I see a post regarding this not being implemted.

Does this kernel have the same optimization as Arter for the display as in the following:

Stock OnePlus configuration forces display-related processes to use the Gold cluster(formerly known as big cores) exclusively.

This configuration brings a huge power regression since it makes every frame dispatch to wake up and use Gold cores.

This kernel resets this profile to use the configuration Google recommends, which is to use the Silver cluster(formerly known as LITTLE cores) exclusively instead. No performance penalty was noticed with this change while massively improving battery life.

Thanks!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
This kernel allows for display related processes to be spread on all cores according to load, placed by EAS and the scheduler. (on OOS, if you flashed the companion module that)

That means if there’s enough capacity display related tasks might be run on the little cluster, but aren’t restricted to it.

It’s easy enough for you to change it yourself.

Download the companion module, extract it, open service.sh and locate the following line

echo 0-7 > /dev/cpuset/display/cpus

If you change 0-7 to 0-3 it puts display tasks on the little cluster, 4-6 is big cluster and 7 is prime core.

You can also use other combinations and mix little and big cores if you want to :svetius:

Have some fun experimenting :)

When I did the bringup of the op7 pro kernel, I ran it being forced to little and small cores and my battery life stayed about the same. Your experience may vary though :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] slgooding:
Thanks for the detailed response. Does the method of modifying the user settings with EXKM still work to make this change?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Manu99:
man can I ask if you could compile this custom build https://github.com/Manu99it/OP7PRO ? It is to test if battery capacity is faked in other kernels (not your fault, it's a oneplus thing). Change is reimplemented (not by me directly) from a oneplus 6 custom kernel. I didn't put the change to your github to test it out before of doing some useless thing
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HolyAngel:
Not sure about on here but I had to change it from:

learned_cc_uah

to:

learned_cap_uah

in order for it to compile
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Manu99:
Aaaah could be actually, for that maybe I didn't succeed at compiling. If you don't mind could you share the build? Even in pm or on telegram at t.me/manu99it
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] boybkol:
I'm having problem installing the custom magisk module, i'm using ressurection remix it says installation failed. Can anybody tell me why?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] pitrus-:
Are you running stable Magisk 20.4 and not some beta Canary build of Magisk?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Make sure to be on latest stable and to flash via magisk manager like detailed in the instructions in the OP, not TWRP.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] boybkol:
Yes I'm on latest stable OOS 10.3.3 and Magisk 20.4 and I'm flashing via magisk not TWRP.

---------- Post added at 04:28 PM ---------- Previous post was at 04:07 PM ----------

I can install the kernel thru TWRP and Exkernel manager no problem but not the magisk module via magisk, it's says invalid url. Don't know what that means.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] schlager P.:
is this companion module supposed to do something? tapping it in magisk's list does nothing? (latest oos running on my 7 pro, I had several phones, flashed all, so not a complete n00b (although I feel like this is a silly question))

-edit- no error message or something while installing, it just sits\lurks omniously there

?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] slgooding:
There are misc tweaks done on the back end to optimize the system with the kernel (afaik). You just install and forget it.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jaggillararla:
[MENTION=3428502]Freak07[/MENTION] can we also have cfi as the op8pro ?

---------- Post added at 07:15 AM ---------- Previous post was at 07:15 AM ----------

[/COLOR [MENTION=3428502]Freak07[/MENTION] can we also have cfi as the op8pro ?