yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] Jadelor:
Yeah, I can't exhaustively difference-test right now but on default settings the new build works fine until I turn off the screen and randomly it suddenly has a stroke, kills the Bluetooth smartwatch connection and stops responding to hw keys.
[OnePlus 3 & 3T Cross Device Development] theduke7:
i did had huge lag on PUPG with the new build, i tested Low (default) and medium) and disabled it on the adreno boost ( i figured that might be it)... all still lags too much and as mentioned above it's random.

in 1.4 (previous build) i actually had smooth gaming and very low heating

for the sake of testing i went back to 1.4 , and... smooth and very little heating in default settings...

we can wait until you're back, have a great vacation and have fun.
[OnePlus 3 & 3T Cross Device Development] qhsusb_bulk:
No problem. You listened us and gave an answer. Also i am sure you will fix it when you have free time. Have a nice day!
[OnePlus 3 & 3T Cross Device Development] omair2005:
Had similar issues with Bluetooth and my headphones. The audio stops for a second when I turn off the screen and comes back
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
Don't worry [MENTION=7030109]mcdachpappe[/MENTION]. Thank you and have a nice vacations!
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
this project isn't dead, yet

back from my vacation i built a new version with focus on the last reported things.

some users received this test release so that i can collect some feedback before sharing it with everybody. if you want to try this test release as well please pm me.
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
Any news about bugs?
[OnePlus 3 & 3T Cross Device Development] theduke7:
Soon, [MENTION=7030109]mcdachpappe[/MENTION] is finalizing a new build.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
mcd-kernel-r7

A new build is available!

No more performance issues due to fixed/reverted thermal changes, yay!

After building many test builds and with the help of many people - big thanks again to [MENTION=3927764]theduke7[/MENTION], [MENTION=551046]omair2005[/MENTION], [MENTION=6620441]Jadelor[/MENTION] for testing and giving me useful feedback/logs - we are finally good-to-go to share the r7 version. I actually wanted to wait for the next stable-linux branch but i don't like to wait anymore.. I will upload another update when it gets released.

Please do a clean flash if you are facing any weird issues before reporting them!

Clean flash means:

Delete your kernel-tweak-app data

Boot into recovery (latest TWRP)

Flash oos-stock boot.img / flash the full oos-rom.zip

Optional: Flash magisk - if you want root

Flash this kernel .zip

Changelog:

Based on latest RenderZenith release - current:

v1.3.0

Anykernel2: upstreamed; increase bg-apps limit to 60 [stock 32]; add custom boot-scripts

Update QCACLD WLAN driver to LA.UM.6.6.r1-10100-89xx.0 [4.0.11.213X]

init: disable adrenoboost again

net: add IPv6 lines; enable CONFIG_IP_NF_TARGET_TTL

Thermal: revert intelli-thermal v3

misc: cleaned-up the kernel tree; some other changes to improve ux

Download:

mcd-kernel-r7.zip

​

changelog-r7.txt​

Notes:

Feedback is highly appreciated

You may delete the data of your kernel-tweak app to see/apply the new default values
[OnePlus 3 & 3T Cross Device Development] Needles_one:
Gaming performance is awful on the latest build :(
[OnePlus 3 & 3T Cross Device Development] phil_greg2001:
OP3 + OOS 5.0.6.

For now everything looks good and fast :svetius:

:cool:
[OnePlus 3 & 3T Cross Device Development] theduke7:
what issues do you have!!!

i play PUBG with GFX tool+ settings and it;s as smooth as it can get.
[OnePlus 3 & 3T Cross Device Development] Needles_one:
Don't know what GFX tool+ is but it lags as hell in Asphalt 9, whereas on SkyDragon, or even stock + Franco, it goes smoothly.
[OnePlus 3 & 3T Cross Device Development] theduke7:
were you on a previous version of this kernel that didn't lag on asphalt9!!! what version if yes.
[OnePlus 3 & 3T Cross Device Development] Siraccool:
Eas was bad for gaming even on vertex os

---------- Post added at 04:44 AM ---------- Previous post was at 04:43 AM ----------

Its just for smooth ui and incredibly good

idle drain
[OnePlus 3 & 3T Cross Device Development] uzumakivishal96:
How to install viper 4 android as it is saying I/o error everytime
[OnePlus 3 & 3T Cross Device Development] vinoxflame:
I think you're in a wrong thread
[OnePlus 3 & 3T Cross Device Development] metaspook:
[MENTION=7030109]mcdachpappe[/MENTION]

Can you please add necessary features to support "Kali Nethunter" and "DriveDroid" ??

References:

https://github.com/Magisk-Modules-Repo/KaliNethunter

https://xdaforums.com/oneplus-3t/development/kernel-kali-nethunter-oneplus-3t-t3507816

https://xdaforums.com/oneplus-5/development/burgerhunter-t3638810

https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel
[OnePlus 3 & 3T Cross Device Development] Piyush lalwani:
[MENTION=7030109]mcdachpappe[/MENTION]

Bro I am facing an issue related to display not turning on at once after pressing home button and it is due to the third party display panels. Some person directed me to a commit that is needed to be added to the kernel for avoiding such type of kernel panic.

http://github.com/LineageOS/android...mmit/8e9f68f01764d96669f6040bf9ae0c8ea4ec55e1

This is the link. It's a request if you can try adding the commit to the kernel. Would be glad.

Thanks!
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
Thanks for pointing out some references. I had a look at them but there are two major reasons why i haven't added it to this kernel yet:

The selinux state is set to permissive in order to get everything working (or fake the enforcing state)

I don't use it / know how to use it - that's why i couldn't even test my changes

I wish i could help you with this issue but i have to say that your mentioned commit is already present in this kernel. have a look at our source: mdss_debug_xlog.c

If you find anything else which might solve your problem please let me know.
[OnePlus 3 & 3T Cross Device Development] Piyush lalwani:
Thanks. I will look if I find some other thing for it. Sorry for the ignorance. I didn't knew it was present already Can I know was it present from the beginning?
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
if i understand you correctly you want to know if this "fix" was present since the release of this kernel?

if so:

yes - if you have a look at my link you will see that the last commit which has changed the related file was from 02 June 2018 commit Import OnePlus changes up to OOS 5.0.3 [016b1f2]. so there is this change since at least then.
[OnePlus 3 & 3T Cross Device Development] TheQuarterMile:
Getting system freezes on the new Kernel. Have to reboot cause of them. Gaming performance also doesn't seem up to the mark compared to the previous versions.
[OnePlus 3 & 3T Cross Device Development] theduke7:
can you wipe cache (from recovery) and also if you use a kernel manager app can you wipe the apps data and cache, and see if that solves the issue.

i've been testing this version for almost a week now and i had no UI lags or freezes , and i tested it with pubg extensively with no issues, so also what games are you facing issues on!
[OnePlus 3 & 3T Cross Device Development] uzumakivishal96:
Can anyone tell me the screen on time with this kernel as version 1.4 gave me around 5.30 hrs
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
R7 is the worst build for gaming. I've tried putting the original values ​​of RenderZenith 1.3.0 (input boost, i / o scheduler, etc) using EX Kernel Manager and the gaming performance still being very bad (especially compared to the original RenderZenith).
[OnePlus 3 & 3T Cross Device Development] GFX:
I'm having the same issue with Bluetooth as version r6, the Bluetooth module crashes at random when I wake up the phone and it never recovers without a restart. I also notice a lot of sluggishness and stutters when that happens.

No problems on version 1.4, and I thought that was fixed in r7 but apparently it's not. r7 is a better release than r6 though, but for me the best and most stable version so far is 1.4.

I managed to grab a log file capturing the error that happens when I attempt to switch back Bluetooth after crashing. Nothing happens on the UI and the Bluetooth icon stays off, I hope it can be useful.

Thanks for the otherwise excellent kernel!
[OnePlus 3 & 3T Cross Device Development] Jadelor:
r6 did that on mine too, but it hasn't happened on the r7 for me, at least yet.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
clean flash

[MENTION=4027834]TheQuarterMile[/MENTION], [MENTION=6720892]pedrovb25[/MENTION], and to all the others who are facing performance or any other weird issues:

Please consider a clean-flash before reporting any issues [like stated in

post #2

- including deleting data of your kernel-tweak-app].

This is mandatory because many kernels are adding their scripts/settings to your ramdisk and will interfere with the settings which are getting applied by this kernel and it's scripts [on every single reboot!]. No one knows which settings get applied if you had a different kernel installed before [e.g. franco-kernel].

I am always testing my kernel releases at least 2 days before uploading and publishing them. The latest build [r7] was in a testing-phase for about 9 days. During this testing period nothing performance related was reported by one of my 5 'beta'-testers [they even tested gaming]. So please be sure that everything was flashed correctly [and clean] on your side before reporting issues.

If there are still problems after a clean-flash [mentioned above] please remember to attach a logcat or a dmesg file and tell me which device you own.

It is not fair that some people are always complaining here without providing anything useful that could help me/us to improve or fix your mentioned issues. And it is not very helpful for me [who wants to fix these problems] and for the other users who might give this kernel a try.

[MENTION=489573]GFX[/MENTION]

Nothing bluetooth related was touched since the beginning of this project. I had a look at your log files [thanks for that] but the error should not be kernel related. You should face your problem on the official rz-kernel as well. I found something that might help with your issue but this has to be implemented in the bt-system tree.
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
Your kernel doesn't have good gaming performance. I always flash original OOS boot.img before flash any custom kernel (or full zip rom) and delete EX Kernel Manager app. Original RenderZenith doens't have any performance issues. Be sure your kernel is well compiled or developed (and be sure your BETA-testers do a good job). Thanks.
[OnePlus 3 & 3T Cross Device Development] TheQuarterMile:
I dirty flashed over the official Render Zenith kernel and cleaned cache. Also deleted kernel auditor data before the flash. Probably should have flashed the Oxygen OS zip before flashing. Kindly note I'm still on the last Open Beta 30.
[OnePlus 3 & 3T Cross Device Development] theduke7:
yeah, maybe the issue is that your on open beta, in theory it shouldn't from what i read OnePlus didn't change much kernel wise from back then, but maybe they did small changes that causes it... but you said that it was lag free on Render Zenith original kernel , was your render zenith the latest or the one before it!!

you should also try dirty flash the OS and then kernel and see, (dirty flash the OS is required by the dev specially if you're coming from another kernel. )

the reason i say this is because i tested the kernel for a week with PUBG , which is very resource intensive , i do recommend setting it to lower graphics and medium to low fps, and on those settings i get no lags what so ever, i tested it for a week with around 3 hours of play a day (some time 2 hours without stop) and i didn't get any lag, maybe a little heat but that's it, and i didn't face any system freezes and that's why i think the OS version might be part of the issue for you. please try and let us know and also which games do you face lags on so it can also be tested...

i would finally recommend switching to official 5.0.6 it's not that different from the beta , i like you used the beta for long time before switching , but had no issue with the switch.

this is a very rude comment to both the dev and the testers, who all work and test for free, you have the choice to not use the kernel and switch to what suites you, you can stay at the original Render Zenith

those who tested stayed on the test build for a long period of time with no issues that's why it was released...

companies like OnePlus itself with a big dev team and beta builds with thousands of tester release stable OS's with some bug, because after all the testers are just a small percentage of of the device owners, and each user have different setup and settings so bugs that wasn't detected on testing can appear...

also flashing the boot.img is not the same as dirty flashing the full ROM, flashing the full rom is what's required not just the boot image.

you can have an opinion and you can share your issue like all of us did in the previous redacted build , and the developer [MENTION=7030109]mcdachpappe[/MENTION] listens and updates as required and when needed, you just need to be respectful to others...

comments like yours discourages devs who are doing this for free and kills the dev community.
[OnePlus 3 & 3T Cross Device Development] TheQuarterMile:
I suppose I'll have to switch to the stable release but a clean flash feels like a big task. Was thinking I'll start fresh when the official Pie ROM is out. Had some lag on PUBG only but I think that may be due to a dirty flash. I have flashed the Oxygen OS zip again.. Will give it another go.

Also a word of thanks to the developer for taking the time and effort.
[OnePlus 3 & 3T Cross Device Development] theduke7:
for pubg i use this app

https://play.google.com/store/apps/details?id=inc.trilokia.pubgfxtool.free&hl=en

i use the paid version to be honest...it does wonders.

they now have a searchable settings specific for devices, search for oneplus 3 , and find the one that's named smooth, there's 2 or 3, test each one.

the very 1st one in the search works perfectly for me, and it'l decrease the heating.
[OnePlus 3 & 3T Cross Device Development] TheQuarterMile:
Sorry for going off topic but how do these apps help in boosting the game performance? Do they really work or it's a placebo.
[OnePlus 3 & 3T Cross Device Development] theduke7:
other apps i tried 2 and they also work but they're not as good, and no it's not placeo, i aslo thought so as well,

it does several things,

1- because unlike IOS android comes for different devices, so the game is not optimized for each device, so the allows you select individual settings based on your device HW.

2- as i said they now have a searchable DB for each device (done by long time users) these are the best for the device.

3- the game itself allows you to only control general graphic aspects, but the app places a file that targets the smallest of details like aspect ratio and graphic driver

4- one of the important drivers is the HW acceleration driver, most games by default use outdated version of openGL because they have to guarantee it works on all devices, but in devices like ours, a driver called Vulcan exists within android and it's much better (it's the engine used by fortnite as well) the gave devs can't make this a general thing because some device don't have it, so the default when you install is OpenGL, the app changes it (allows you to) to Vulcan ) and this is one setting even after you select a preset for OP3 you better heck that the preset for hardware accelaration is set to Vulcan ..

5- a final trick (optional) you can change the resolution to 1280 or even 950 while keeping the FPS to medium , this will allow the game to render more because the space on screen is less without lag.

i was suspicious also at 1st but the app was recommended by OnePlus themselves on their forum so i gave it a try and it 100% makes a very noticeable difference.

edit/

last off topic.. ( here's a tip) [MENTION=4027834]TheQuarterMile[/MENTION]

there are small lags that happen in game while you're moving, these are not lags (or fixable), this is the game rendering the players as they come closer to you (the deaul is 400 meters) so as you move (or they move) when a player (or group) come inside your 400m zone the games renders them so it lags a little, it's a method pro players use to locate enemies before they come in contact with
[OnePlus 3 & 3T Cross Device Development] TheQuarterMile:
Can you share the GFX Tool settings for the OP3T you use?
[OnePlus 3 & 3T Cross Device Development] theduke7:
When you download the app the 1st choice will be best settings for the device

Search for OnePlus 3t it'll give you 4 results, the 2 in the middle should give you a lag free experience

Check sceeen

If you need anymore help regarding pubg please pm me so we don't clutter the post
[OnePlus 3 & 3T Cross Device Development] choiwooyoung:
Same

I thought it was my userdata, system corruption but after i clean flashed OOS and got this thread, I knew it was kernel's.

ALSO, Dev. Good Kernel But Please Fix this holy freeze.

I should reboot forcely to escape from freeze.
[OnePlus 3 & 3T Cross Device Development] theduke7:
can you please provide a log from you kernel manager app ... this is the only way the dev can identify the issue...

also please what device are you using and which version of OOS.
[OnePlus 3 & 3T Cross Device Development] choiwooyoung:
I just though it was Userdata Problem. So i didnt check any LogCats and Kmsg. And now, Use Stock Rom woth Stock Kernel
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
Clean flash (flashing the full rom zip) doesn't work. When i restart the phone, ui and gaming performance is very good but, only locking the screen once (using the lock button), the gaming performance goes very down, forcing me to restart the phone (but obviusly, when i lock the screen, the performance goes down again). I've tried to explain this to the developer but my english isn't good. I apologice if my previus post was disrespectfull but is the same bug that were in r6. I have a question. Why use apps to increase fps in game if performance is well? With original renderzenith i don't use any app for that and performance in all games is good. I wanna help and i'm not the only one who experiences that since r6 was released. This kernel can performance better in games, i'm sure.
[OnePlus 3 & 3T Cross Device Development] vinoxflame:
try disabling adreno idler
[OnePlus 3 & 3T Cross Device Development] theduke7:
No problem m8, I understand sometimes langauge difference can make the person sound this way.

If you're still using the kernel you can still get logcat and dmesg from ex kernel manager, from tools menu you'll find save log option

We use the tool to decrease fps not increase it...the tool make the resolution less and fps medium , so the device loads good fps on smallest res , which keeps the quality buy decrease the work on the GPU so the device doesn't heat up which causes lag.

I'll try to replicate tour issue while loocking the phone in the next 2 days and will keep logs too and send to the dev ...hopefully if there's an issue it will be fixed soon .

You can test the above suggestion and disable adreno idler on ex kernel manager > graphics menu

After you get a log if you can, you can dirty flash back to version 1.4https://androidfilehost.com/?fid=1322778262904014729

This was stable for me with little lag .
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
On stock settings is already disabled
[OnePlus 3 & 3T Cross Device Development] vinoxflame:
adreno idler not adreno boost
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
Sorry, was confused. I will try disable adreno idler and post a log. Thanks.
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
Disable adreno idler didn't work :(
[OnePlus 3 & 3T Cross Device Development] pedrovb25:
[MENTION=7030109]mcdachpappe[/MENTION] sent me a beta build and the performance issues have been solved finally!! Thank you very much!! I'll wait for the next stable release!
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
mcd-kernel-r8

Grab the latest build!

Like [MENTION=6720892]pedrovb25[/MENTION] already said: Performance has been finally solved. I don't know what was wrong - but we fixed it. Huge thanks to [MENTION=3927764]theduke7[/MENTION] for providing me constantly feedback and logs and to [MENTION=6720892]pedrovb25[/MENTION] for testing and confirming this build.

For those of you who like to tweak some values - have a look at this post which explains the EAS boosting-values pretty well.

Go ahead and give this 'new' kernel a second chance :)

Changelog:

Compiled with custom-built Linaro 6.4.1 toolchain targeting msm8996/SD820/SD821 [thanks to [MENTION=1211160]HolyAngel[/MENTION]]

Merge latest stable-linux v3.18.125

init: remove sepolicy-script; adress more selinux denials

Completly rebased on holydragon-kernel and blu-spark kernel

graphics: remove adreno_boost and adreno_idler

I/O Scheduler: Add FIOPS

misc: disable even more logging

Download:

mcd-kernel-r8.zip

​

changelog-r8.txt​

Notes:

Feedback is highly appreciated

Dirty flashing is fine

You may delete the data of your kernel-tweak app to see/apply the new default values
[OnePlus 3 & 3T Cross Device Development] cultofluna:
A build for AOSP would be great..:laugh:
[OnePlus 3 & 3T Cross Device Development] 『Healer』:
....

H2os can not be used? After brushing in r8, it will get stuck for 50 seconds. The black screen can only be restarted. Infinite loop
[OnePlus 3 & 3T Cross Device Development] theduke7:
A Warning

the following might only be me, but because it might cause a loop issue as described above i had to post it.

people who didn't download or flashed the latest build build please WAIT, there has been freezes and loops specially when starting games On OOS too...it might be a kernel panic for some reason.

this is already reported to [MENTION=7030109]mcdachpappe[/MENTION] with required logs... so please be patient...

if you already flashed the kernel and have no issues, i would suggest not to start any games, which seems to cause the issue.other wise if you already flashed and have the issue, clear the kernel app data and cache, and then flash the previous stable kernel build.

---------- Post added at 09:11 AM ---------- Previous post was at 09:10 AM ----------

not sure if it does, but the issue you're describing also exists on OOS, so you better wait until this is resolved.
[OnePlus 3 & 3T Cross Device Development] theduke7:
Update...

the issue is fixed and [MENTION=7030109]mcdachpappe[/MENTION] will replace the build soon.
[OnePlus 3 & 3T Cross Device Development] mcdachpappe:
whoops,..

I've uploaded the wrong build.. sorry folks.

downloadlinks have been corrected. everything works now. to those of you who downloaded the build before this posting time, please consider to download and flash the r8 file again.

thanks for reporting the problem!
[OnePlus 3 & 3T Cross Device Development] theduke7:
Notice:

Regarding the tunables boost values mentioned by [MENTION=7030109]mcdachpappe[/MENTION] on the release post...

They can be accessed through kernel manager > boost settings

The tunables names are "dynamic stune boost" and "shedtune.shed_boost"

They are now both set to 10...

This is very good for battery, but if you experience micro lags on games or just want to improve gaming (slightly), make those values 20 (set both to 20)... This will have no effect on battery while not gaming, but it'll increase battery discharge while gaming...so it's your choice.

I don't recommend setting them to more than 20 (unless you want to test for yourself), just be sensible.
[OnePlus 3 & 3T Cross Device Development] 『Healer』:
H2os

sorry, my English is not well. H2os ROM R8 is not compatible? Download the latest r8 write r8 start 1 minute... freeze the black screen... then manually restart... infinite loop...