yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 & 5T Cross Device Development] 1a2b257:
It's just a toggle. You are able to set it enable as default. Let users select to enable or disable via Kernel Adiutor. Besides, I don't try to show off. I just wanna get faster I/O performance.
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
I do not want to reinforce bad user behaviour, the very same reason I removed wakelock blocker as well.
[OnePlus 5 & 5T Cross Device Development] 1a2b257:
Yep, any choice is up to you. It's a pity.
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
ATM, my priority is in improving the optimizations and security features. I'll look into it later, but not right now.
[OnePlus 5 & 5T Cross Device Development] jerryhou85:
Dear all,

As you may notice that this is a development thread, hence I have removed some off topic posts from this thread.

Please provide feedback and suggestions to OP and other users. Thanks.

Regards

Jerry

Forum Moderator
[OnePlus 5 & 5T Cross Device Development] fanbogo:
Lol dev under fire :eek:
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
Thanks a lot, but I'm fine with some off topic and banter XD
[OnePlus 5 & 5T Cross Device Development] 8hodgsonkh:
Amazing battery life with this kernel with medium/heavy usage. Using Pico gapps from xXx helps so much with battery
[OnePlus 5 & 5T Cross Device Development] angourakis:
[MENTION=6609957]idkwhoiam322[/MENTION] what do you think about F2FS? I used it on some of my old devices and it really made a difference but nowadays it's rare to see a device using it. I even tried to format the /data partition of my OP5 to F2FS but TWRP gave me an error and it did not work =(
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
The latest stable release of mine does NOT support F2Fs because I did not intend to add support for it until I had merged in all the changes from Google (from kernel/common) and arter97. I have added support for it in the future builds (2.1x) which should be released in the upcoming days, if all goes well.

I have not tried it myself, but I have confirmed that it boots. You'll need to use arter97's zips from his OnePlus 6 or MiPad 4's xda thread (they are generic - not device specific), to boot properly. A friend of mine has been running f2fs on his own kernel (not public) with pretty much the same changes for a while now without any issues, so t should be just fine.

Most apps use SQLite for database purposes, so there will certainly be a difference in usage. The reason people do not use it as often now is because of instability concerns, but these issues seem to have been addressed by Google and the F2FS maintainers in upstream (all backported to 4.4.x all the way from 5.0-rc's thankfully :D).
[OnePlus 5 & 5T Cross Device Development] onurkaanayna:
what you mean "HZ 300" ? is it screen refresh rate?
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
Umm.... no.

Have a read:

https://elinux.org/Kernel_Timer_Systems

Should suffice.
[OnePlus 5 & 5T Cross Device Development] Sinaptik:
No offense but are you really considering those stats as "amazing"?

I mean it's just standard or even worse then standard battery backup, nothing impressive I would say.

You're probably running with the original battery and it's probably worn.

If you consider there's a real improvement, do you have similar stats screenshots without Weeb to compare?
[OnePlus 5 & 5T Cross Device Development] 8hodgsonkh:
It's amazing for what it is compared to other kernels. I use YouTube vanced a lot. Have loads of battery hogging social media tinkering at my battery when screen is off. Also my battery health is only 80% according to OP diagnostic

I can get 6-7 sot without using YouTube vanced usually. %11/h screen on and 0.8% screen off

Other kernels I had like 15-16% screen on and 2-3 screen off but I don't have any old screenshots since I don't change kernel and play around anywhere near as much as I used to
[OnePlus 5 & 5T Cross Device Development] Z-Blade:
You just need to take his word for it. Everyone uses their phones differently so it makes it near impossible to compare your experience with others. I have tried a few EAS kernel but in my opinion, this is by far the best EAS kernel I have tried with the best battery life.
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
Weeb Kernel v2.10 CodeName AURA​

Downloads:

OxygenOS // Custom ROMs // Omni based Custom ROMs (OmniROM, TreskMOD)

Changelog:

- Rebased cleanly on OnePlus's source again, removed a lot of commits I considered as bloat

- Compiled using AOSP Clang 8.0.8

- Linux Upstream 4.4.176

- Upstreamed to latest CAF tag [LA.UM.7.4.r1-04700-8x98.0]

- F2FS upstreamed to kernel/common [February] along with some improvements from arter97

- NTFS R/W support

- Reset LMK to android 4.4 state and improved on that.

- Several ZRAM Improvements

- SELinux: Disable auditing

- Some minor enhancement memes

- lz4 upstreamed

- relaxed some wakeups

- removed some unnecessary code

- Cleaned up more OnePlus code

- Improvements to dynamic schedtune boost by joshuous and RenderBroken

- Improvements to devfreq

- Upstreamed kthread

- RCU Upstream

- Added vdso32 support

- CAKE as default net qdisc (thanks to kdrag0n)

- Added High Brightness Mode

- Several improvements to kernel/sched [Tweaked EAS implementation - thanks to KuranKaname for the backports]

- Kernel Hardening patches from CopperHeadOS

- Some other minor security related stuffs

- Tweaked default settings

- BFQ "backported" from 4.9 by me and set as default

- kgsl backports (thanks to celtare21)

- Improvements to kernel/sched

- Reverted 2 commits from upstream that caused Sony Dualshock 4 controller connectivity issues (failure to connect at all) via Bluetooth

- Moved to using a 100 Hz timer

- Enabled USB Fast Charging (DISABLED by default)

- Disable KALLSYMS since we have useless pstore, and this allows us to have a significantly smaller kernel image

- Performance cluster underclocked to 1958400 kHz - Does not affect performance significantly but has improvements in device temperature and some decent improvements in battery

Default setup:

top-app/schedtune.prefer_idle = 1

foreground/schedtune.prefer_idle = 1

top-app/schedtune.boost = 0 [My reason for the top-app schedtune.boost being zero is that we do not really need any boosting when nothing significant is going on, for example, watching a youtube video, or the network indicator changing every second or so. For this reason, I have set it to 0, it does not seem to affect UX in my testing and should be just fine.]

Dynamic Schedtune Boost = 15 [Duration: 1500ms]

top-app/schedtune.sched_boost = 15

CPU Boost = 1036/1056 [Duration: 500ms]

ZRAM Tuning:

swappiness = 8

dirty_ratio = 5

dirty_background_ratio = 2

If you feel I've missed out something or something is wrong, feel free to ping me.
[OnePlus 5 & 5T Cross Device Development] gsser:
No wifi on treskmod (r74 worked well)
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
dmesg, please. Do you have any mods that could affect this? Are you coming from another kernel? I confirmed with a few already that stuff works before I pushed this.
[OnePlus 5 & 5T Cross Device Development] gsser:
Was my fault. I had dolby with viper4android. Removed them and wifi works
[OnePlus 5 & 5T Cross Device Development] flatratte82:
I have an issue installing weeb 2.10.

The installation abort with error 1 when unpacking and installing the ramdisk.

I have magisk 18.1 installed.

Is there anything I can do about this?
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
Error 1 is not the error. The error is above it.
[OnePlus 5 & 5T Cross Device Development] flatratte82:
Got it. Reflashing the boot.img followed by fresh Magisk flash followed by weeb 2.10 worked as expected :good:
[OnePlus 5 & 5T Cross Device Development] str8str:
Your download like don't work
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
Checked in incognito and I can access all 3. What does it say? And could you link the one(s) you tried?
[OnePlus 5 & 5T Cross Device Development] str8str:
When I click on the link to download it does but the zip won't openhttps://photos.app.goo.gl/t9EtX4ibJt2w5rgu8
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
Not sure what you mean by "zip won't open". If the zip downloads, what's the problem?
[OnePlus 5 & 5T Cross Device Development] Z-Blade:
Chances are you got a corrupted file. Just re-download and try again. I had no issues with the download or the zip file.
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
Weeb Kernel v2.22 CodeName: Pandemonium​

Downloads:

OxygenOS // Custom ROMs // Omni based Custom ROMs (OmniROM, TreskMOD) // Hax (CodeName Phoenix, Dirty Unicorns)

Changelog:

- Compiled using AOSP Clang 9.0.1

- Upstreamed to latest CAF tag [LA.UM.7.4.r1-04800-8x98.0]

- Revamped EAS implementation [Thanks to Josh for the base and several backports by Kuran and some by others and me]

- Moved to using a 625 Hz timer

- Re-enabled KALLSYMS

- Added ULPS mode

- Performance cluster underclocked to 1958400 kHz - Does not affect performance significantly but has improvements in device temperature and some decent improvements in battery [Disabled by default]

Default setup:

top-app/schedtune.prefer_idle = 1

foreground/schedtune.prefer_idle = 1

top-app/schedtune.boost = 0 [My reason for the top-app schedtune.boost being zero is that we do not really need any boosting when nothing significant is going on, for example, watching a youtube video, or the network indicator changing every second or so. For this reason, I have set it to 0, it does not seem to affect UX in my testing and should be just fine.]

Dynamic Schedtune Boost = 15 [Duration: 1500ms]

top-app/schedtune.sched_boost = 15

CPU Boost = 1171/1056 [Duration: 500ms]

ZRAM Tuning:

swappiness = 8

dirty_ratio = 5

dirty_background_ratio = 2

Kernel variants:

#oos:- This is for OxygenOS. It should also work for HydrogenOS but it's not tested directly by me. I'm typically using this myself.

#custom:- This is for ROMs that use Lineage's implementation of the Qualcomm WLAN Module, that is, inlined and WITHOUT Sultan's hacks.

#omni:- This is for ROMs that use CAF's implementation of the Qualcomm WLAN Module, that is, as a module. eg. Omni, Treskmod

#hax:- This is for ROMs that use the Qualcomm WLAN Module as inline and with sultan's hacks to make it load during device init call. eg. CodeName Phoenix, Dirty Unicorns

Note:

Unfortunately, none of these work with each other, so each variant is for itself. Pick the right one before reporting that wifi doesn't work, thanks. Also, note that sometimes, on Pie, the ROM might just reject the WLAN module for no good reason and it's not unique to our device. I've seen and confirmed that this issue happens on other 4.4.x devices like Whyred as well.

To solve this, simply reboot or reflash the kernel. If neither of these work, dirty flash the ROM and then kernel again. If you're flashing Magisk, please flash it BEFORE the kernel to retain ramdisk changes (if) made by the kernel.

Announcement:

As of this release, I've decided to move the source to the [raphielgang] organization repository.

You can find the new source link for stable builds here.

Major thanks to [MENTION=8860428]raphielscape[/MENTION] and the rest of the people for their help. :)
[OnePlus 5 & 5T Cross Device Development] sleepwalking0593:
After every reboot the phone high brightness mode is enabled automatically have to disable it manually everytime on codename phoenix.
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
Strange, no one on CNP or any ROM has reported that before. Could you grab dmesg and a logcat please? Use syslog app soon after you boot to zip it and upload it, thanks!

Before you do that though, does the ROM have an option for HBM in userspace? Are you using any kernel managers and setting it to enable on boot by mistake?
[OnePlus 5 & 5T Cross Device Development] wartomato:
It is an issue after kernel updates. But can and should be fixed on device side like here (although it is for OP6): http://gerrit.aicp-rom.com/#/c/84785
[OnePlus 5 & 5T Cross Device Development] sleepwalking0593:
I changed my kernel now, device ain't going into deep sleep also.
[OnePlus 5 & 5T Cross Device Development] NurKeinNeid:
I tried that months ago. That doesn't work.
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
That's not a fix though, it's just forcing it to be turned off on boot.
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
For what it's worth, I'll work around it like [MENTION=6916498]wartomato[/MENTION] said (you can see the change here).
[OnePlus 5 & 5T Cross Device Development] NurKeinNeid:
I bet the problem is the HBM option in userspace like you mentioned already before.
[OnePlus 5 & 5T Cross Device Development] wartomato:
Yes, we know that, but it works.
[OnePlus 5 & 5T Cross Device Development] NurKeinNeid:
Yeah, I'm writing this for no reason. Lol.
[OnePlus 5 & 5T Cross Device Development] jc1266:
Hi , I am new to this kernel , much appreciated if u guys share yr setting , using ex manager thanks :good:
[OnePlus 5 & 5T Cross Device Development] sleepwalking0593:
High brightness mode quick toggle also stop working, have to access it in settings. Phone barely sleeping held awake 99% of time
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
I can't really control how userspace options are suppose to behave lol

and the non sleep issue is also a ROM specific thing, idk what causes it but overnight BBS said I had 80% sleep, that seems fine to me, better than my sleep.
[OnePlus 5 & 5T Cross Device Development] wartomato:
Kann gut sein. Lol.
[OnePlus 5 & 5T Cross Device Development] sleepwalking0593:
Okay, sorry for reporting about deep sleep issue on cnp. I think it's a ROM issue it happens with stock kernel also. But High brightness thing is a kernel issue as it works fine with stock
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
And that information without kernel logs gives me nothing useful.
[OnePlus 5 & 5T Cross Device Development] shadowstep:
[MENTION=8438156]sleepwalking0593[/MENTION] [MENTION=6609957]idkwhoiam322[/MENTION] I was on CNP earlier as well, and also faced the same issue of HBM turning auto turning on after a reboot (using Weeb). There is indeed a userspace toggle for it in CNP (Settings -> Personalization -> Device Features -> High Brightness Mode Toggle), which was on for me for some reason (even though HBM was off). I turned it off and also incorporated this fix in the ramdisk, and the issue didn't come back again. On an unrelated note, with CNP's stock kernel, I faced the dreaded usb kernel wakelock too (which has been discussed in Telegram as well), but ever since I've shifted to Weeb, I haven't faced the issue again and battery's been good! So no issues anymore, finally! :)
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
Sian told me he has this so I'm hoping it fixes the HBM issue. I just need to make sure it doesn't break panel modes on any other ROM but it should be fixed without the workaround from earlier.
[OnePlus 5 & 5T Cross Device Development] sleepwalking0593:
I had very bad battery life even with this kernel on cnp. I think it's a ROM issue definitely.

---------- Post added at 02:50 PM ---------- Previous post was at 02:27 PM ----------

What's your general idle and active drain on cnp with weeb
[OnePlus 5 & 5T Cross Device Development] jionghuih:
If you're flashing Magisk, please flash it BEFORE the kernel to retain ramdisk changes (if) made by the kernel.

what is it mean?If i want to update my Magisk,should i flash the kernel once again after flashing magisk ?
[OnePlus 5 & 5T Cross Device Development] OsistemX:
Just flash magisk lol or just update from the app
[OnePlus 5 & 5T Cross Device Development] jionghuih:
thank you

now my magisk 18.0 and kernel is weeb 2.22，just flash 18.2 beta，no influences？
[OnePlus 5 & 5T Cross Device Development] ponkz:
Sorry.. but how to toggle ULPS mode for display?
[OnePlus 5 & 5T Cross Device Development] david19au:
Do you recommend enabling the underclocked performance cluster? Or what was the reason behind disabling it by default?
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
In my experience, the battery and performance is pretty much the same as if it was 2361 MHz but device runs cooler (3-5°C). No reason for it being disabled by default, I might re-enable it later*shrugs* Default settings are just what I use.
[OnePlus 5 & 5T Cross Device Development] jc1266:
Feeling like wanna try this kernel , can u guys share overhall setting pls ..:)
[OnePlus 5 & 5T Cross Device Development] sleepwalking0593:
I'm on derpfest. High brightness mode not working from qs toggle. Only works from settings only. Also deep sleep is very bad. Tell me what other things you want. I'm very much disappointed by deep sleep of custom ROMs.
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
HBM fixed in upstream, will be there in next build, whenever that is.

Commit: https://github.com/whoknowswhoiam/weebmsm8998-pie/commit/2b627101654e74938c234f20a9cbaea5e94821ef

I'm not sure about deep sleep, share some BBS stats maybe, but I check on both stock kernel and mine on OOS and stats with wifi/data on are similar for deep sleep so I'm fairly sure it's not a kernel issue. Will still see though.
[OnePlus 5 & 5T Cross Device Development] sleepwalking0593:
Yeah i guess. Deep sleep issue is of custom ROM. Moving back to oos now. There is nothing special in BBS that's why i can't track it. 2 power display kernel wakelocks.
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
Those are normal, causes by userspace (display and apps) :d
[OnePlus 5 & 5T Cross Device Development] rumsey:
How do I enable fast charging, and why is it disabled by default?
[OnePlus 5 & 5T Cross Device Development] sleepwalking0593:
If the cable used is not good your phone's battery will be damaged and it will burst. You have to download any kernel manager app and find usb fast charging in that and enable it
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
What the actual f lol

Fast/Dash charging is enabled by default, only USB Fast Charging is disabled by default - That's when you connect your phone to a PC, for example.
[OnePlus 5 & 5T Cross Device Development] sleepwalking0593:
If usb fast charging was safe OnePlus would already implement it as they promote dash charging and stuff. + It's not safe to charge using 3rd party cable using usb fast charge. It can damage the battery. It's not safe. There is a magisk module that keeps dash charging always even above 90% also. Doesn't mean it's safe.
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
Never said it was. Was added on user request. But the battery won't blow up lmao
[OnePlus 5 & 5T Cross Device Development] Jakkomo77:
Hello guys,for DU 13 which kernel is recommended?

Thank you
[OnePlus 5 & 5T Cross Device Development] Revenant Ghost:
Check the OP, under "Downloads". When in doubt, always read the OP first.
[OnePlus 5 & 5T Cross Device Development] Jakkomo77:
I read always first the op !

But I have flasht bothe of them but not working for that I ask ......thank you
[OnePlus 5 & 5T Cross Device Development] sleepwalking0593:
hax one
[OnePlus 5 & 5T Cross Device Development] fjsferreira:
I've been using USB fast charging since first boeffla kernel back in the 7.0 days. No issue whatsoever, my battery is as new.
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
With the new CNP update from last night, you'll be needing "custom" version and not "hax". Would appreciate it if anyone could confirm it for me, thanks!
[OnePlus 5 & 5T Cross Device Development] gouthamgoumi:
Yeah the custom version works fine
[OnePlus 5 & 5T Cross Device Development] str8str:
What are the hax builds?
[OnePlus 5 & 5T Cross Device Development] idkwhoiam322:
Read the OP?
[Lenovo K6 / K6 Power / K6 Note Questions & Answers] afoyem:
Hi. My phone k33a48, i tried disabling dm-verity in adb command not working error message: verity cannot be disabled/enabled - user build ( build prop enabling userdebug). Flashing the lazyflasher and force encrypt disabler not disabling verity. Red wolf trwp functional dm verity but no booting my model to wolf recovery. dm-verity blocking mount to rw / system in ES File explorer and adb remount command. Has someone blocked it successfully?
[Lenovo K6 / K6 Power / K6 Note Questions & Answers] pardusx:
secureboot

you need to make changes to kernel in order to close the kernel can help here
[OnePlus 3T Questions & Answers] ImKaze:
I bought a crappy earphone which was faulty and had the Stereo Channel all reversed. I could just put the it in the opposite ear, but that hurts like heck. I've been playing with the mixer_path.xml file and I've seen other people on other phones also editing it and it worked for them. But for me it didn't and that's why I'm here. Is there a specific line that I need to edit and also is there a mod or something that can do this? Thanks in advance, Kaze.
[OnePlus 3T Questions & Answers] Immortalis:
Wouldn't it be better to return the earphones and buy something else, especially if they're faulty?
[Oppo R7 Plus] BabaDuda:
Hi, so my R7 Plus has been playing songs a couple of seconds in instead of starting at the beginning.

It only happens when I play it on the speaker, and has occurred on the RR 7.1 and LOS 15.1 roms.

Any ideas/fixes? Thanks.
[8125, K-JAM, P4300, MDA Vario General] csc2ya:
I've got a problem with my XDA Mini S. It's been sitting in a box in my shed for about a year, before I got it out yesterday to have a play around with it, and possibly try some software I found on it.

I put my sim card in, plugged it in to charge, and turned it on. It worked absolutely fine.

I haven't done anything with it yet, but I've turned it on now, and the colours are messed up on the screen. For example there is a red hue over the today screen, and on certain screens (like in bootloader mode) the colours appear to be inverted (I will post pictures later if needed).

I've tried reformatting the device, but this has not fixed the problem. I thought I would try reflashing the rom on it. I used to have the original o2 rom on my old laptop, but lost that when I had to reload windows.

I downloaded the original rom from here, along with the Rom Update Utility, and attempted to reflash it. It gets as far as 'verifying the information on your PDA phone', then crashes with the error: Rom update utility MFC application has stopped working.

I'm running windows vista on my laptop, and read that the RUU won't work until the drivers are updated. Following the instructions on mrvanx.org, I have downloaded the driver for vista and installed it, but i'm still getting the problem when I try and reflash the device.

I've also tried running the RUU in compatibility mode for XP as it worked fine on my old laptop which was running xp, but it still crashes, every time.

I'm beginning to wonder if reflashing it will even work though, since the colours are messed up in bootloader mode as well, which leads me to think it may be a hardware problem.

I know next to nothing about repairing these though, and probably wouldn't bother if it's a hardware problem, but until I can reflash the firmware, I won't know whether this is a case.

I'll get the photo's of what the screen is like uploaded to my server later on, and post the links here, so you can see what the problem is.
[8125, K-JAM, P4300, MDA Vario General] mtoliki:
Show photos and specific error when reflashing arrangement.
[8125, K-JAM, P4300, MDA Vario General] mtoliki:
sorry my english
[8125, K-JAM, P4300, MDA Vario General] csc2ya:
photo's are in this thread: http://xdaforums.com/showthread.php?t=384800

The original thread double posted for some reason.