yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 & 7 Pro Cross Device Development] pawelmiernik:
Okay so here's the deal, you need to unlock the bootloader to flash or patch the boot partition. An unlocked bootloader will cause apps like pay apps and PUBG/PokemonGo to not work. If you relock your bootloader and the boot partition is patched with a kernel that isn't stock your phone will not boot up, and there is a strong possibility you won't be able to get it working again. Hope you're following... So if you unlock your bootloader, you need to leave it unlocked. To hide the fact that it's unlocked, you'll need to install Magisk root and turn on Magisk hide. The easiest way to install Magisk is through TWRP. So, to recap, to use this kernel the easiest thing to do is to unlock the bootloader and install TWRP and Magisk root, both of which you don't want. I suggest you search up information for anything that you're afraid won't work with root and TWRP and check if it will work with Magisk hide enabled. If what you wan't isn't gonna work with root, don't bother trying to install a kernel that isn't factory and just live with the stock configuration.
[OnePlus 7 & 7 Pro Cross Device Development] SXS4:
I never said I won't install TWRP, I just don't want to Root, it can't use pay apps.

So OnePlus device if unlocked bootloader, the pay apps can't work? need to flash Magisk+Root to hide, ohh, thanks bro.

I'm not newbie about flashing, I used my all devices by custom ROMs before. I just newbie for my OnePlus.
[OnePlus 7 & 7 Pro Cross Device Development] pawelmiernik:
Google pay works on my op7 with magisk root. Since magisk 20.4, magisk hide is off by default, you have to go to settings and tap the slider to enable magisk hide and reboot before you setup Google pay. Good luck.
[OnePlus 7 & 7 Pro Cross Device Development] SXS4:
thanks bro, some apps will block my account if use Magisk and Root, so I don't have hope to use custom Kernel...

---------- Post added at 09:45 AM ---------- Previous post was at 09:41 AM ----------

if ok, I only do unlock bootloader n flash TWRP then flash this custom kernel, but as u said, only unlock bootloader will make pay apps can't work...
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
You just need to unlock the bootloader, which will wipe all your data and setup phone as new again. fastboot boot twrp img, flash my kernel zip, profit. That's it.

Google Pay, pokemongo, bank apps, none have any issues for me with bootloader unlocked, not rooted, and custom kernel.
[OnePlus 7 & 7 Pro Cross Device Development] SXS4:
thanks, can u give full steps? I'm new on OnePlus 7, I find tutorials from YouTube, but all is included Magisk+Root
[OnePlus 7 & 7 Pro Cross Device Development] radz_:
Unlock bootloader

Download TWRP for your device, then perform a fastboot boot twrp.img

Flash the kernel, zip should be in your phone already

Then reboot.
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
Can check my commit on it, but basically was missing an op code that this 4.14 kernel needed in order to enable it.
[OnePlus 7 & 7 Pro Cross Device Development] Oogar:
I have some reason to believe that Android Auto does not connect properly in my car when running this kernel. Have tried two different times now, flipping between stock kernel and most recently V4.0 of this kernel. Received the following...

"Android Auto Encountered an Error - Communication error 16 - Something's wrong. When it's safe, unplug and plug in your phone."

Ignore this...flashed again and appears to be working. Not sure what's causing this issue.
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
Can you get some dmesg/kmesg log? Nothing is different compared to stock kernel source for this device so if it doesn't work I'm gonna blame OnePlus but logs would help.
[OnePlus 7 & 7 Pro Cross Device Development] xWasabi:
Weird, I have been flashing the kernel ever since first release via EX Kernel Manager. I wasn't able to flash through FK Manager, but worked flawlessly through EX. I don't have TWRP installed either.
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
New build up!

V.5.0 (Thanks to Flar2)

Re-did module loading so any stock modules that weren't loading before should load now. Maybe it will help with android auto?

Added Maple IO Scheduler and set as default, compared to cfq its usually a bit faster/smoother and battery is usually better if you're not one that does a bunch on the phone when you use it.

Swapped ZRam compression from LZO to LZ4 which is faster in most cases.

Fixed a potential memory leak in the touchscreen driver.

Fixed a missing include for GPIO inputs in the dtb files.
[OnePlus 7 & 7 Pro Cross Device Development] hagar006:
Most excellent but how do I flash over v4.0? Dirty? Or?
[OnePlus 7 & 7 Pro Cross Device Development] Netmatrix:
Can anyone uses exkernel manager to backup this version of the kernel and upload the file here?

For oos version 9.5.4.

Enviado do meu GM1913 através do Tapatalk
[OnePlus 7 & 7 Pro Cross Device Development] tech_head:
Any possibility to turn off ZRAM? I have a 12 GB device and hate ZRAM
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
right me too, but oos seems to think you need it. I could disable in kernel but if its like the 6/6t, it will cause random reboots because oos wants to use it. There's a swapfile fix for it over there if you do want to disable it with a kernel manager.
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
I added image for 9.5.3 but I'm not on 9.5.4 so maybe someone else can do that.
[OnePlus 7 & 7 Pro Cross Device Development] rainwhite:
Would u pls release flashable zip as before not patched boot img? Tks.
[OnePlus 7 & 7 Pro Cross Device Development] liam_davenport:
In the OP ;)
[OnePlus 7 & 7 Pro Cross Device Development] cultofluna:
Try this module

https://drive.google.com/file/d/1J69iFa-OiHhxjp7dEkOjsP6fWt2oNp8d/view?usp=drivesdk
[OnePlus 7 & 7 Pro Cross Device Development] TacoTuco:
How do you install that zip in OP that says root and twrp
[OnePlus 7 & 7 Pro Cross Device Development] fantasy467:
The battery is still very poor, I hope this kernel can optimize the battery
[OnePlus 7 & 7 Pro Cross Device Development] cultofluna:
Don't wait a significant improvement on battery on 6.7 inch & qhd 90hz...

I personally going for the OP7
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
Should eventually get better here, this is still super early in development. I haven't had a chance to start optimizing yet.
[OnePlus 7 & 7 Pro Cross Device Development] whitak3r:
I turned my screen down to 60hz. I'd prefer the battery life over that refresh. Battery life is amazing.

Also, this may be a stupid question to ask but, do I need to install BOTH of these? I was just going to flash the Magisk Module, does that only work if I also flash the kernal in TWRP?
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
They are seperate, can use either one or both. The magisk module does not include the kernel as its only magisk system module. The module is totally optional.
[OnePlus 7 & 7 Pro Cross Device Development] whitak3r:
Awesome thank you. I guess I should have read the whole post, I just noticed it said that.
[OnePlus 7 & 7 Pro Cross Device Development] freddienuxx:
Can I flash on rr rom? Or is it just for oos 10? Thx in advance
[OnePlus 7 & 7 Pro Cross Device Development] ulxerker:
OOS Stable 10.x is supported only.
[OnePlus 7 & 7 Pro Cross Device Development] freddienuxx:
Thx
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
Minor update while we wait for new source from OnePlus.

Release Version 10.1

- Imported latest QCACLD-3.0(WiFi Driver) - Thanks to Arter97 and the PA team <3

- Set all modules to build inside the kernel

- Re-Enabled modmagic, kernel is untainted

Enjoy!
[OnePlus 7 & 7 Pro Cross Device Development] JeremyChen:
Hi HolyAngel，

will you release version 11 in these days?

ps:The version 9 is more save power than v10 to me....
[OnePlus 7 & 7 Pro Cross Device Development] aaryan45:
v11 already up in telegram group!
[OnePlus 7 & 7 Pro Cross Device Development] JeremyChen:
oh... I haven't use that app...
[OnePlus 7 & 7 Pro Cross Device Development] Bobbi lim:
@HolyAngel @liam_davenport Any love for 7T? :)
[OnePlus 7 & 7 Pro Cross Device Development] liam_davenport:
Hey man this kernel should work on 7T no problem :)
[OnePlus 7 & 7 Pro Cross Device Development] SoullessMexican:
Just a heads up, the Magisk Module GDrive link links you to the kernel not the module. AFH is fine =).
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
ah! Thank you for that! Just fixed :good:
[OnePlus 7 & 7 Pro Cross Device Development] sensationvsgalaxy:
[MENTION=1211160]HolyAngel[/MENTION] which are the odds that this kernel will eventually get OC support?? (I'm interested in GPU OC mostly)
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
I'm not a big fan of it. Just damaging your device really. But it does look like caf supports one more step above our 585Mhz so maybe at some point but I'm not promising anything. :good:
[OnePlus 7 & 7 Pro Cross Device Development] sensationvsgalaxy:
THX! i almost bought a mi9 before i decided for op7 pro and watched the mi9 forums.. devs there got a gpu oc kernel before mi9 even began to ship.. i also thought it is pointless since adreno 640 is already the fastest (compared to mali in s10 \huawei ) but it turns out qualcomm played it safe with this gen so that the upgrade to next adreno 730 would be more noticeble.. kepping the same architecture they added 50% more alus in 640 than in 630 but perf isnt 50% better than 630 because they reduced the frequency.. so OCing adreno 640 a bit will actually only bring it to stock speeds. mi9 got an antutu increase from 370000 to 390000-400000 just from this small oc. that beeing said i also am more keen on having the device 3+ years than having it 15% faster.. so it shouldnt be set as default but just AN OPTION.. just for the few times you want to benchmark- impress a friend with a lesser phone .. (i normally keep all my phones -see signature- at lowest gpu clock to save battery since I rarely game )
[OnePlus 7 & 7 Pro Cross Device Development] zanderzone:
I flashed the earlier version via ex kernel manager but took the backup of existing stock kernel prior. What shall be the correct way to upgrade. Restore the stock kernel via ex kernel manager , reboot and flash latest again?
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
You can flash new kernel on top no problem. No need to reflash stock kernel first.
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
New kernel build up.

V.6.0

Oneplus updated kernel source, looks like just new device tree files from OOS 9.5.2 for GM57AA device.
[OnePlus 7 & 7 Pro Cross Device Development] xlxcrossing:
It seems Dash charge isn't working in stock rom and patched boot. It shows "charging rapidly" then quickly goes to "charging" and shows a current of 1.3Amps. Is this something that can be unlocked within the kernel?
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
I haven't had any issues with warp charging. Haven't tried dash yet. Nothing has changed in regards to stock functionality so should work fine. Get me logs if you can or I'll see if I can reproduce this evening.
[OnePlus 7 & 7 Pro Cross Device Development] rav101:
Just a heads up that I tried dash charge on the OP7 Pro today with stock 9.5.5 kernel rooted with magisk.

It says Charging Rapidly on the lock screen and doesn't drop down to normal charging. As for the rate, I only checked this when if was above 90% so was slower than if it had been below 80% charged as it slows down the closer it gets to 100%.
[OnePlus 7 & 7 Pro Cross Device Development] xlxcrossing:
I don't understand what I did to break mine. Just unlocked bootloader, flashed twrp and rooted. What could be wrong that it would keep jumping down to normal charge? I just want to avoid buying a $50 warp charger.
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
yeah I just verified/am and have been charging rapidly now(up to %66 from 2 in half an hour or so). Dash charging is working fine me using a dash cable(not the warp cable that comes with the 7pro) and charger.
[OnePlus 7 & 7 Pro Cross Device Development] 锦书i:
Sorry,DC dimming is working? :)
[OnePlus 7 & 7 Pro Cross Device Development] sabrdawg:
Once again, GREAT kernel :) Battery life is stellar!
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
Alright, new updates!

Kernel is up to version 9.0 after much testing :victory:

This brings flar2's wake gestures

power efficient workqueue's added to audio and gpu subsystems(should help with battery)

Kernel memory and copy optimizations

--

Skydragon OOS Magisk Module is now v2.0

This brings init.d support

I've added my AOSP keyboard from my SkyDragon OS Custom Rom( will need to enable in settings/system/language/virtual keyboard/manage keyboard)

Added fstrim on boot to keep the system running fast and smooth

Added sqlite vacuum and reindexing on boot to keep apps in tip-top shape

--

Enjoy!
[OnePlus 7 & 7 Pro Cross Device Development] chrisc93:
Thanks for the updates! I have noticed that Flar's DT2W isn't working. None of the gestures there are waking the phone. can you confirm this? Only thing I did differently was flash the 9.5.4 OTA before the new kernel.

Edit: The sweep to sleep gesture works though.
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
what app are you using to enable them? Using flar's ex kernel manager app they are all working fine for me.
[OnePlus 7 & 7 Pro Cross Device Development] chrisc93:
Strange... I'm using the same app. I've disabled the OnePlus setting for it. Tried rebooting. Nothing is getting it to wake :(

The OnePlus DT2W is working still.

Also, I updated to the 9.5.6 firmware. Wouldn't think that would cause a break though.
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
Nope no issue with 9.5.6, I'm on it too and yeah, they're working fine for me :/

Can you get any logs for me?
[OnePlus 7 & 7 Pro Cross Device Development] chrisc93:
That was going to be my next step. Let me try to grab some logs later tonight.

Well, not sure what I did that caused it to start working, but it does now. I uninstalled EX Kernel Manager, and fiddled around with the OnePlus DT2W setting then reinstalled EXKM. Leaving it on the other settings in EXKM now work :confused:

No need for logs I suppose.
[OnePlus 7 & 7 Pro Cross Device Development] SoullessMexican:
Kernel is working great with Magisk add on however it seems it breaks tap to wake after a while. It will work when rebooted and toggling in settings but then stops working when I lift the phone or touch the phone.
[OnePlus 7 & 7 Pro Cross Device Development] Arden144:
Can you please, pretty please, add a way of not having the boot animation. No offense, but I hate it. Rest of the Kernel/ROM is great and thanks for the hard work
[OnePlus 7 & 7 Pro Cross Device Development] chrisc93:
Download another bootanimation.zip and overwite /system/media/bootanimation.zip

Problem solved ;)
[OnePlus 7 & 7 Pro Cross Device Development] Arden144:
Oh, really? Awesome. I thought there might be an issue as a magisk module is modifying it, but I'm not experienced with magisk at all
[OnePlus 7 & 7 Pro Cross Device Development] chrisc93:
Nope I don't think so. I changed mine and haven't noticed any side effects
[OnePlus 7 & 7 Pro Cross Device Development] zoman7663:
This has been driving me crazy until I read in the One Plus forum that it's light related. At least on mine. In normal "daylight" everything works fine, but in what I think is a normally lit room it didn't. Somehow the light sensor (I guess OP is using this for pocket detection) is effecting this operation.
[OnePlus 7 & 7 Pro Cross Device Development] hickmanje2:
Following these steps https://xdaforums.com/oneplus-7-pro/how-to/guide-fix-double-tap-to-wake-t3933504 on boot fix it temporarily until you restart.
[OnePlus 7 & 7 Pro Cross Device Development] SoullessMexican:
Ever since I updated to 9.5.6 I haven't had the issue anymore so everything seems in order
[OnePlus 7 & 7 Pro Cross Device Development] thebigtross:
[MENTION=1211160]HolyAngel[/MENTION]: it is seems adreno boost not working. After set up boot parm it back to disabled few secondes/minutes laters [emoji6]

Thx for kernel
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
? My kernel doesn't have adreno boost.. Maybe thinking of elementalx?
[OnePlus 7 & 7 Pro Cross Device Development] thebigtross:
+1

[emoji849][emoji28][emoji43]
[OnePlus 7 & 7 Pro Cross Device Development] zoman7663:
Hmm, I've updated to 9.5.6 as well... Clean install and still have this issue in a "not so lit area" in full light it works every time.
[OnePlus 7 & 7 Pro Cross Device Development] TacoTuco:
I installed ElementalX through EXKM, if I want to install this kernel can I just install this kernel through EXKM or do I need to fully reset my rom everytime I want to install a new kernel.
[OnePlus 7 & 7 Pro Cross Device Development] ulxerker:
First flash stock kernel or dirty flash your rom, after that you can flash another custom kernel via exkm.
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
Actually in this case, exkm on OOS, you can just flash my kernel on top and it'll be fine. Its when you start getting into kernels with modules or aosp that reflashing ROM and such is necessary.
[OnePlus 7 & 7 Pro Cross Device Development] TacoTuco:
Awesome thank you so much. Quick question, does your kernel have any input boosts or scrolling improvements?
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
No additional boosts, those are completely unnecessary imo. I'd actually recommend disabling touchboost completely.
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
New builds up!

Kernel is up to v11.0

- Switched to using Qualcomm's latest Snapdragon LLVM v8.0.6 toolchain(Based on LLVM 8.0) instead of v6.0.9

- Switched to Xanaxdroid's custom GCC-8.0 toolchain instead of Google's stock 4.9

- Fixed a few compiler errors

Magisk mod is up to v4.0

- Added extra build prop lines to disable more debugging

- Added swappiness/vfs_cache_pressure lines to service.sh

- Removed Dalvik Props

- Removed HWUI Props

- Removed Graphics Props

- Removed AdAway as you can do this yourself if you want

- Set cloudflare as default internal dns

- Removed SQLite database Vacuum/Reindex

We noticed some slowdown with v2 so I stripped out some of the extra prop lines and the sqlite stuff for now.

This gives you back the full OOS speed, plus there's some extras ^^
[OnePlus 7 & 7 Pro Cross Device Development] refedit:
Hey m8.

Trying out you're kernel and getting about 8h sit with 90hz display setting.

Just want to report that I'm not able to flash zip through EXKM app
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
Thanks! That sot sounds about right to me ^^

And yeah idk what's up with exkm, I can't even flash his own kernel with it.. But I've had a few people say they've been to able to flash his and mine with it no problem so ya, not sure what's going on there.
[OnePlus 7 & 7 Pro Cross Device Development] cultofluna:
What is your current version of EXKM app?
[OnePlus 7 & 7 Pro Cross Device Development] refedit:
I think latest version
[OnePlus 7 & 7 Pro Cross Device Development] ulxerker:
I can't seem to disable touch boost with this kernel, at least I can't find the option in exkm. Any idea or can you tell the path?
[OnePlus 7 & 7 Pro Cross Device Development] rav101:
CPU, Boost settings, MSM Touchboost
[OnePlus 7 & 7 Pro Cross Device Development] ulxerker:
I know where to find it, but it's not there for any reason.

I'm on latest sky dragon and exkm.
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
yeah for now you have just set boost frequency and duration to 0
[OnePlus 7 & 7 Pro Cross Device Development] Netmatrix:
For the two times that I flashed you kernel, when I reboot, the phone go directly to bootloader, I don't know why!

Enviado do meu GM1913 através do Tapatalk
[OnePlus 7 & 7 Pro Cross Device Development] hagar006:
Did you flash magisk after flashing the kernel? I forgot and ended up in bootloader loop.. fastbooted a patched boot img and booted just fine..
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
Not sure, I've not had any issues from my testers and not heard from anyone else either.
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
New Kernel updated!

V12

Just an update from Oneplus, looks like support for the regular Oneplus 7
[OnePlus 7 & 7 Pro Cross Device Development] Netmatrix:
I flashed on exkm and no after I've rebooted, I will try that tomorrow , and report, thanks.

Enviado do meu GM1913 através do Tapatalk
[OnePlus 7 & 7 Pro Cross Device Development] kezzuki:
Hey your sot is amazing with 90hz setting...just wondering what else are you using with this kernel, like xxx_nolimt and such?

Thank you!
[OnePlus 7 & 7 Pro Cross Device Development] Hot-Proton:
Has anyone tested it on the non-pro?
[OnePlus 7 & 7 Pro Cross Device Development] refedit:
Yes that's right, using xXx_module
[OnePlus 7 & 7 Pro Cross Device Development] liam_davenport:
Flash it and tell us
[OnePlus 7 & 7 Pro Cross Device Development] Qs111:
How long does the voyage last?

How long does the voyage last?:)
[OnePlus 7 & 7 Pro Cross Device Development] ulxerker:
As the thread title suggests it's for both variants.
[OnePlus 7 & 7 Pro Cross Device Development] Hot-Proton:
Whene its break and you buy me a new 7 i test lol.
[OnePlus 7 & 7 Pro Cross Device Development] cultofluna:
Testing helps development...

So go on..install it:o:D
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
New magisk module up

Version 5.0

Removed init.d injection for now - I noticed an issue with this interfering with certain system calls and other modules so took it out for the time being until I can rework where it gets called from.

Added an ad/malware/hijacker/etc blocking hosts file - Should be same or better than using that AdAway app.
[OnePlus 7 & 7 Pro Cross Device Development] Nekromantik:
[MENTION=1211160]HolyAngel[/MENTION]

OP updated the kernel source for 5G now but its on a different branch
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
Thanks will see
[OnePlus 7 & 7 Pro Cross Device Development] justibasa:
12.0 running fine on the new update. Thanks for all the hard work dude. Enjoying this kernel on my 6T and now my 7 Pro. Looking forward to your continued work.
[OnePlus 7 & 7 Pro Cross Device Development] mikkis2k:
How is this Rom? Is there any customizations thats kickass? ?
[OnePlus 7 & 7 Pro Cross Device Development] Reuben_skelz92:
Not that sort of rom
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
New kernel posted!

Version 13

has 9.5.7 commits from oneplus
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
rom is such a strong word for this lol, really just a magisk mod to get rid of useless bloat, speed things up a little, block some ads, and add a non keylogging(unlike gboard) aosp keyboard with extra themes.
[OnePlus 7 & 7 Pro Cross Device Development] mikkis2k:
​

Hehe true ? thanks for clearing that up ? think Ill keep my current magisk mod and wait alittle ?
[OnePlus 7 & 7 Pro Cross Device Development] kezzuki:
Dude this kernel is soooo battery friendly! I had the phone sitting there during the day (with wifi and radio on), the battery did NOT drop at all after like 3~4 hours LOL and the system has never been laggy, everything is smooth!

Thank you OP for your work.

Also, i would like ask a specific thing about GMAIL app. I have sync enabled to receive emails through Gmail app. (no other magisk moduesl/app that kill background process, and i locked gmail in Recent Apps page). However after the phone's screen is off for a while, i don't get any email until i unlock it. Tapping into ambient display does not work, has to be unlocked. Do you think this is OOS or kernel? Maybe they are being efficient and are not syncing frequent enough?

And i have also seen posts about Gmail being an system app and is by default in the optimize-battery list....

Thank you!
[OnePlus 7 & 7 Pro Cross Device Development] HolyAngel:
definitely OOS/Pie or just app issue.
[OnePlus 7 & 7 Pro Cross Device Development] hickmanje2:
If you have Magisk you can try OxygenOS Gmail Battery fix. Just search for it in the app.