yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] meistr91:
Hi, is it normal to loose 7-10% over night(8hours) while phone is not in use?

Advanced optimization on

And new smart standby optimization on. No battery draining apps installed. I have checked witth BBS most of the time android system have high number of alarms most of them is intent*job.delay*. Or randomly youtube apears in partial wakelocks tab for a time of 6min. When I didnt used youtube at all.. same gies eith messenger sometimes when these apps are optimized...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
From what I remember if YouTube is there in the recent it is know to drain battery so that might be the reason .Do remember kernel is not to be blame for high idle drains it's always the apps
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] meistr91:
Im not blaiming a kernel. Just lookin for solution, knowledge about it how to solve it out:p thanks for your reply I will try to shut down youtube after using. But i think battery optimization should be doing that.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
- Non-OxygeneOS version - 1.7.22 -
​

Custom ROM support Update

Lineage OS, omnirom...

- adding non-oxygeneOS version - tested on OmniROM. All CleanSlate functionality should work.

===== Use CleanSlate apps as usual.

CleanSlate 1.7.22 NON-OOS Download:

https://www.androidfilehost.com/?fid=5862345805528066678

Config app 2.8.1 Free version Download:

https://www.androidfilehost.com/?fid=5862345805528065657

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion app 2.4.0 Free version Download:

https://www.androidfilehost.com/?fid=5862345805528061486

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csservice
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] utkarsh102:
Great battery stats and really good adblock. Thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hey, thanks for the feedback. Looks good indeed
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] jbm76:
I had a problem with 5.1.9 with a battery drain - check your kernel wakelocks and sensor wakelocks.

My sensors got mucked up when I upgraded from 5.1.8 to 5.1.9.

I had to do a fastboot flash of 5.1.9 and flashed the sensors as well. That fixed it, overnight I was using 4% per hr.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Noxxxious:
Best update ever. I get infinite battery life now
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] meistr91:
How do you check aensor wakelocks? Via better battery stats?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] jbm76:
Yep if the sensors are high up in the kernel wakelock
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
I can't delete system apps via titanium backup... After reboot the apps are back again.. Anyone with similar issue?

---------- Post added at 02:41 PM ---------- Previous post was at 02:23 PM ----------

I can't delete system apps via titanium backup... After reboot the apps are back again.. Anyone with similar issue?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] daleski75:
Tried 1.7.21 and was getting frame drops all over the place and was stuttery as hell, updated to 1.7.22 and it's now back to being buttery smooth. Not sure what happened but now so far so good.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
- Update 1.7.23 Stable -
​

Stable Update

- Fingerprint Block in pocket: - add option in Config app to disable FP scanner in pocket. Needs running CS Companion App.

==== was removed by OnePlus on 5.1.9 stock base. Now optionally adding back. Thanks sam3000 for the original goodix patch

CleanSlate 1.7.23 Download:

https://www.androidfilehost.com/?fid=5862345805528067867

Config app 2.8.3 Free version Download:

https://www.androidfilehost.com/?fid=5862345805528067866

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion app 2.4.0 Free version Download:

https://www.androidfilehost.com/?fid=5862345805528061486

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csservice
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] EmRav:
I would love if we could get some more CPU governors added, namely, ondemand x, interactive, and smartass v2 if possible. Just some thoughts.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
Hi guys! Need a little help...I can't mount system in TWRP and can't move or delete system files...any solution to this??
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
I have to try this myself, as I mostly only overlay with magisk, never directly modifying the system. Haven't tried it yet.

Anyone else? I am away from a PC where I could try this safely, and my phone I used with only booting TWRP not permanent flashed it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] meistr91:
Does it have any benefits flashing twrp temporary?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
Yes try please and also i get issues with viper it stops working after sometime...i think linux needa to be set permissive... after a good reasearch i found a few solutions which required to move files from system etc to vendor audio but i cannot move the same due to above-mentioned issue...please let me know how do i set linux permissive!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
Once I enabled it..now I cant disable it..are the values default in the screenshot ?? I don't want to mod my audio system using this!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hey,

You can disable it, just needs reboot as the text tells. It should work.

Also on top of the page there's a revert to default button that sets back the defaults.

Cheers
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
I was not applying the save button after disabling it...thank you for your propmt response!!

---------- Post added at 06:28 AM ---------- Previous post was at 06:26 AM ----------

---------- Post added at 06:31 AM ---------- Previous post was at 06:28 AM ----------

@tbalden please look after the viper4a issue it stops working a reboot!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
is this with Sound control on or disabled?

Whats the easiest way to instell v4a? I never used it, and didnt plan on this, but if it's easy to install without killing out security/selinux, I could take a look.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
It's very easy to install directly from magisk and it doesn't kill security. Bdw which sound control you're talking about ?? I've disabled the direct volume control from power amp and theres no dsp manager in OP6..i think they use dirac!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Thx for the headsup

i just meant the kernel Sound control (gain) feature of this kernel.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
It is off.

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

I would like to inform you that it works for some time...for example it'll work for an hour after flashing..!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
hmm ok.

and what exactly happens when it stops working? Sound is back to normal?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
Yes bro...it comes to back normal!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sttw1fa:
Long time CS user (Hi tbalden!) across many HTC devices. Just switched to the OP6 a couple weeks ago.

Just this morning....I setup my OP6 from scratch (save for the data partition). I had been running the past week with xXx ROM Magisk Module, but wanted to test another issue I was running into. I am currently setup: OOS 5.1.9, Magisk 16.4, TWRP 3.2.2.0 (enchilada), and CleanSlate 1.7.23 (with paid config and companion apps). I only added the Viper4Android v1.7 Magisk Module. V4a and AdAway (and of course CleanSlate) are really all I need from unlocking BL right now.

I'm not having any V4a issues across several audio paths from the OP6. Testing the past few hours, some listening has been over an hour on Spotify. Many reboots, even a power off or two. Bluetooth to a vehicle setup, Flares Pro in-ear canalphones (using both their BT adapter, or their 3.5mm cable/connector). Also tested a second set of inexpensive JVC earbuds via the 3.5mm adapter.

I know every phone setup can be unique, so just mentioning my setup and everything with V4a works as expected. Three things that I know that aren't in play (to my knowledge) with my setup....no PowerAmp, as I switched long ago to USB Audio Pro, no config/app/module tampering with blocking wakelocks, and I have config'd my audio apps (and a couple others) to NOT enable battery optimization (in settings). Wondering if any of this is in play with vineet allahabad's setup?

HTH.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
Thank you for the detail. I enabled the show notification in viper..from then onwards I'm facing no issues may be some app is conflicting with v4a otherwise it would never have worked...well I'm no expert but just guessing what might be wrong..!!

---------- Post added at 10:41 PM ---------- Previous post was at 10:21 PM ----------

After the reboot it stopped working again ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sttw1fa:
Try turning on V4a's developer mode, which, to my understanding, appears to be setting up SELinux to permissive. You should have the Magisk SU process pop a message to grant SU access. Then, you should see the SU access turned on for V4a in Magisk. I have enabled V4a developer mode, AND developer mode and SU access stays set across reboots/power cycles.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
I did it and yes it stays set across reboots but still no processing is shown...should I flash again and the switch on the developer mode!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
Well I think my Se linux is set enforced that is why Viper4a is not working as it needa permissive linux..nay simole method to change it to permissive!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
I flashed this via magisk and seems to be working fine now...rebooted and checked twice!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sttw1fa:
If that's the setup that's got V4a working (and it's showing processing in the driver status while audio is playing)....don't mess with audio setup anymore :p. Remember (screenshot?) the settings of Poweramp and Magisk so you can revert back to it if needed.

I've not had to use an extra Magisk module to get V4a working in a couple years. At one point (pre-Magisk), we were using boot up scripts to set SELinux to permissive for V4a. I believe it was on an HTC M10 (or maybe the HTC M9), and something between CS and Leedroid ROM, where SELinux wasn't getting set correctly, even though there options in both to make it happen. Good 'ol days.....
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
True mate and wont mess up with audio anymore!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] reaper000:
I posted a solution to the v4a "processing: no" issue on the v4a module thread since I've experienced it across 3 devices now. It involves replacing a configuration file.

Does the AOSP version of this kernel support lineage-based ROMs?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
Lemme know it as I'm still facing the issue!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] reaper000:
OK, here's my v4a post: https://xdaforums.com/showthread.php?p=77293509

Hope it works out
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Floodland:
My bet is Android is dozing/killing V4A. Doze is a really nice idea, but pretty bad implemented. Android usually kills/send to sleep background apps even if they are in use, since Nougat, not only disturbing normal functionality of services like viper, but also negating its intended purpose (battery savings), as apps needs to be kicked back, consuming additional resources and hurting performance at the same time when needed.

Using a notification is a workaround for the OS not forcing the apps going to sleep, so it makes sense what you are seeing.

If it's not that, OOM handling could be to blame, but with 8gb of RAM, only an app with a serious memory leak would produce something like that (Facebook apps are usually good candidates to blame). OOM handling could be customized easily using your preferred kernel tweaking app.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] scott.hart.bti:
[MENTION=3088420]tbalden[/MENTION], this is an amazing kernel and the features are so original and helpful. Never experienced anything like what you've produced in my years of android. With that being said, I am more than grateful to be able to run your kernel on omnirom, but with lineageos based roms, it boots directly to fastboot. Any chance support can be added? Not sure what was all involved, but smurf kernel boots on omni and lineage builds. If not no worries, extremely grateful for your work and original features.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] muimui725:
would you be interested to make one for OP5?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] fuzmik:
Here is mine battery life.

Wifi while sleep is off.

No auto brightness. Slider is on less than a quarter on brightness.

The idle when sleeping is great.

My kernel history timeline:

OOS stock

Cleanslate

OOS stock with xxx no limit

Franco r4

Then finally back to cleanslate.

I like this one. Thx OP.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hey,

Thanks for the nice words.

Well, yes, definitely it would be nice to have it working on LOS as well. I haven't yet tried, and I presumed that it might work like on Omni.

I will have a look at it when I get there.

Maybe [MENTION=3910111]pappschlumpf[/MENTION] might know the extra step for LOS to work over the Omni patches, if it weren't along the patches that came with updating to upstream or some place else.

EDIT: maybe this one here https://github.com/pappschlumpf/op6/commit/2f72b4f0f94e016a4ec636d8fa5e692c9fad2adb

and maybe this for camera https://github.com/pappschlumpf/op6/commit/ef9d31ef36cf1eb3c0a796ccac38c41808336c4f
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Thanks for the detailed feedback. :good::highfive:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] scott.hart.bti:
Looks promising... I know the custom support isn't your top priority, but if you have free time and whip up any test builds I can test on my end.

---------- Post added at 02:08 PM ---------- Previous post was at 02:03 PM ----------

You seriously had to quote the entire OP just to ask if he can make one for the OP5? ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
Hi there..is anyone using stereo mod if yes then lemme know the gain value so that my earpiece remains unharmed!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Cablespider:
Deleted
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
Solved
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] azreen91:
Is the cleanslate app set the speaker gain to 6 by default if i turn on the soundcontrol? What is the value that matches the default stock gain?

I am using [MENTION=4561985]acervenky[/MENTION]'s stereomod v3 + v4a (@black_file's profile) + ainur (@black_file's profile). Somehow sounds on bottom speaker are bit noisy and crackles at max vol. Its loud, but abit unpleasant to listen to when set at max volume. Should i flash AML as well?

Would be glad if anyone could suggest their sound setting / mod combination setup. Thank youu
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] gismoboss13:
Hi work with last update ? thx
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
have to try yet. there's no recent change pushed to official sources, but I think it's lagging yet behind.

If you try, make a backup and then easy to go back if something doesn't work out well.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] gismoboss13:
I have flash clean my system and install your kernel all work no crash ... I continue test ,,?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Thanks

Great. As it seems, some changes now in the official oneplus repo. I'll update in a couple of hours, hopefully I'll get there :good:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
- Update 1.7.24 Stable -
​

Stable Update

- Update to OnePlus sources for 5.1.11 base

- WireGuard update to 2018-August-9 snapshot

CleanSlate 1.7.24 Download:

https://www.androidfilehost.com/?fid=1322778262903980647

Config app 2.8.3 Free version Download:

https://www.androidfilehost.com/?fid=5862345805528067866

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion app 2.4.0 Free version Download:

https://www.androidfilehost.com/?fid=5862345805528061486

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csservice
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] haruka07:
hi ,what is your clock App?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
Anyone having similar issue with always on display!! I don't want it now but now I can't get into settings!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] azreen91:
updated to 1.7.24.. after some time sound control on cleanslate app won't work. restarted few times still the same.. I had to uninstall and reinstall the apk and problem solved.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vrda08:
all ok with nolimits2.8
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
Can you direct me to the thread for 5.1.11?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] gismoboss13:
Yes just change theme and after choose always on display and after go back in dark mode
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
Thanks much!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] gismoboss13:
1. Change theme in light

2. Choose always on display

3. Back on dark theme

It ok ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MobileAllStar:
Question, I'm sure this has been answered before, but there's sooo many pages of comments. Can someone please let me know if this is compatible and safe to flash over Android P beta?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pacyfelozaurus:
Where are sound gain options in config app? Latest version on OnePlus 6
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Bottom menu second item, then on top, the speaker icon

View attachment 4573658
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pacyfelozaurus:
It's missing for me :/
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
What rom are you using?

Please click on the info icon/ screen on the bottom, and scroll down to system info. Maybe the custom rom naming causes this
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pacyfelozaurus:
xXx No Limits, it worked before but now it's missing. May AML and/or Ainur Sauron cause this?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Problem is that the product is shown as "unknown"

Not sure why, haven't seen this yet.

I'm not using aml or ainur, no clue. Maybe

Could you do this too in adb shell:

adb shell

getprop >/sdcard/props.txt

Then grab it and paste it to pastebin.com

Thanks
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pacyfelozaurus:
Can I do this without PC? (root)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Yes, also root is not required.

Install terminal emulator for Android,

Then try to type it ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Pacyfelozaurus:
https://pastebin.com/b5AS8zFa

After device restart it works.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] meistr91:
1.install ainur sauron from magisk

Rebooot

2. Install viper 2.6 from xda labs just search in app section

3. After install open viper, install drivers

Reboot

4. Install audio compabilty oatch

4. Install audio modification library

Renoot

Viper is fully working! Even on dp 3 or beta hydrogen pie.

Processing allways, on all apps:)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Lord. Tech:
So to trigger FP gestures for notification pulldown I need to turn it on from companion app? I flicked it on but nothing is happening. It says null on top when I click "all notification" button
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vineet allahabad:
You're God!!

Had lost all hopes for V4A but you came out of the shining light as the saviour knight!!:victory::victory::victory:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] azreen91:
I found out that this kernel wont work with stereo mod. The earpiece speaker crackles/distort when notification sound comes in. At least for me...

how do i uninstall the kernal without reflashing the rom?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Simply restoring the boot partition backup would be enough.

One question tho, have you raised the earpiece volume gain in kernel config sound control or you left that sound control switched off?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] azreen91:
Thanks.

I tried the mod without custom kernel was ok.. after that i reflash the rom and install cleanslate kernel, the earpiece becomes crackling. Tried turning on the sound control and set the earpiece gain to -10, the earpiece volume did reduced but still at the point it crackles. I use "marbles" notification sound from samsung, and "ping" from blackberry.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hmm. Which rom is it? Maybe trying some scenario like, use rom without custom kernel or stock rom with only the kernel?

Where's the mods xda thread BTW?

Cheers
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Salamender:
Hi !

I'm using your Kernel with Renovate Ice ROM and it's a really great combo.

3 days ago i've received the OTA Notification for OOS 5.1.11, so, is the Custom Kernel a problem for updating by OTA ?

Thanks :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Huffy1:
Hey anyone else's flashlight notification not working? Works straight after flashing the kernel but then stops after a reboot and I have to flash the kernel again to get it to work.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] erad1:
Searched thread but didn't see why no wifi when using cleanslate for aosp/custom on Liquid Os?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] EmRav:
Likely your issues come from this kernel not supporting Lineage and Liquid being Lineage based.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] erad1:
Yeah thx, that's what I had figured. Liquid is both AOSP and Lineage based but WiFi is on the Lineage side of things I'm guessing.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] greenza:
Face down sleep off only seems to work half of the time. Is there any reason why this would happening?

Edit: reflashed kernel and all sorted

Edit edit: Same thing started to happen after a reflashed, any ideas on how to fix it?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Luckily the installer of op will get you through it with downloading the full install zip.

Then you'll need to go through the install process again, to get renovate and kernel up

Cheers
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
It could be a number of things depending on how you set up on config app. Like is it set to recognize vibrations as notifications and phone is silenced, or is the companion app running, or maybe it was removed by Android memory management. Set the app to be not optimized for battery, to help with that.

If it doesn't fix, please share your /sdcard/uci_user.cfg maybe we'll get closer to the problem solution.