yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sille:
Doesn't work for me. Sent myself a message. Status led is blinking, flash doesn't
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Some things to remember:

Depends on the app, there's a default white list that the companion app is letting through towards the kernel. Maybe you're trying with an app that is not let through.

What app you test with?

Also, did you set only vibrating notification option? Then the notification must have vibration set.

Also , is your screen off while testing?

Screen on, or any user input stops the flash

Please upload your sdcard/uci_user.cfg to pastebin.com and share if still didn't work.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sille:
Hey tbalden,

as i already mentioned in the telegram group, ive tested the Flashlight with the Original OnePlus Message app. Im not using the Companion App (tested it with that app also, no blinking flashlight).

I didnt set the only vibrating option and my screen is off during testing.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Kevinkuensken:
Link for Telegramm group pls
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
I'll test it. Also will add the oneplus app to the companion app.

Does that app have a vibration possibility, till I check you can try use that to make it work.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Ok, an unusual file share, android file host acting up with uploads...

Companion app 2.3.5 -

- add allowed app to flash: OnePlus standard messaging app and Telegram

Download:

https://www.solidfiles.com/v/Pr6RGkP323BrY
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Check renovate thread, I'm there
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
So we got things sorted out with [MENTION=5504004]sille[/MENTION]

Another thing to point out, that you can

Customize how many bright blinks are there on each dimmer blink. Default is each 5th. Switch to advanced settings to change stuff.

Also there's a tab added Smart Timing. You can bind silent mode to a much less intensive notification level all automatically, like its makes pauses between blinks longer, switches off bright flashlight...

The DND smart stop mode is default set on, switch it off if you need intensity left on your settings when you switch to silent mode.

I'll add a more detailed guide later.

All should be fine with these kept in mind.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Great, thanks for reporting back quickly
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mitas35:
Hi thanks for your work , how to change the app color to black? thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
It's in the play store version, under the Info page

View attachment 4535791
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
Flashlight notifications working great! I need to manually open the app after each reboot and set values to apply headphone gains, it is normal?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Thanks for testing and feedback

Isn't it enough to wait for boot completed state?

The applications then pops up toast element telling that it's ready.

Waiting for that toast pop-up does the trick?

Or you still need to run manually?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
I still need to change value for example from 9 to 10 and then apply, even if i rebooted with 10 and apply 10 after reboot, it doesnt work, then when i switch it to 9 or any value it goes louder and next to 10 and its working like before reboot. Other features work after toast

EDIT: I've noticed that i need to manually adjust gains each time after i turn off my music/youtube app.. Volume is low again after turning on music app

EDIT: I'll try to do the clean install as my kcal control does not work too
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hmm I'll have a look at this too. Seemed to work so far but haven't tested reboots overly in all features.

For me just when the popup appears the color control gets applied. But I'll check further

Do you use cs config app profiles maybe?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mitas35:
I don't have any pop up
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Wow, you're right. Something seems to be broke in OxygeneOS??!!

I haven't tested this since upgrading to 5.1.8 and seems like something related to Android BOOT COMPLETED event got special with some OnePlus customization and none of my programs like Gsam Battery start anymore which listen to BOOT COMPLETED android event!

On 5.1.7 I remember it was working

Needs further testing if this is an OXygene OS bug, but it might be. Currently I am on stock OOS 5.1.8 for testing....
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sille:
i get the two notifications at the startup
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
But me don't anymore.

What update are you on? ROM version, stock?

This is strange
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sille:
5.1.8 with Renovate 3.2, rooted
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] electricl:
I get the pop-up sometimes after reboot, sometimes after an hour and sometimes never. Even when it's not there everything seems to function, like screen off when faced down. 5.18, renovate 3.2
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
For me, none of the kernel apps nor the kernels apply settings on boot.. Will stick to the stock kernel for now
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Thanks for the detailed feedback. It is strange. Seems now for me it is never, but I only tried twice so far.

Before it worked all the time, so I'm not sure what changed. I'll see if I can set stuff in Android App settings to make this work better... also plan to check the debug logs if there's anything relevant on logcat...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Ok, [MENTION=5633245]adiher[/MENTION] seems to know this from experience on oxygenos, and just seem to work consistently.

Many thanks!

In app switcher lock the apps. After reboot now I always get the boot completed popup thingy.

Let me know if it helped

View attachment 4535936
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Check my post above, seems to work now here
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mitas35:
Mine doesn't have the locks:confused:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
You need to get to the App Switcher, press App selection button, there you can see the locks. It's not inside the application.:good:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mitas35:
Sorry for me being a noob but where is the app swithcer?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
In gestures mode: swipe up a bit from bottom at the middle of the screen, like Home gesture, but keep your finger on the screen.

In not gestures mode it's the left side on-screen button.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mitas35:
Thanks man your are very kind person.:good:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] electricl:
If I open the cleanslate app the pop-up shows in the notification, even though the companion app was running before the cleanslate app.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
There's two pop ups normally, one for each app at the moment.

It's also important that both apps run at least one time at booting up.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] electricl:
I see, it makes sense now that I have to open the cleanslate app. I removed the notification for the cleanslate app. I'm now going to lock both and see what happens.

---------- Post added at 06:16 PM ---------- Previous post was at 06:01 PM ----------

It didn't make any difference if I lock both apps and restart, I have to open the cleanslate app for everything to work.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Does it show the popup in the end?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] electricl:
It shows the cleanslate configuration on the notification panel but only if I open the cleanslate app.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
It's not that. It's a gray toast pop up at the lower part of the screen.

Try this please as well:

In optimize apps turn off optimization for cleanslate apps.

That and the lock in App switcher made a change for me.

Also I have to wait about half a minute or one before it happens after unlocking the device first time after reboot
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] electricl:
I missunderstod what you meant by popups, my apologies. I'm going to try what you suggested and report back.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mitas35:
Mine is ok now thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] electricl:
It works, took about 10 seconds and I got two grey popups from the bottom of the screen. I placed the phone screen down and it locked it. If that works I guess everything else is working right? Now there are no notification but that doesn't matter.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Yep, it should be all fine with the Settings
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
For me toast work even without any locks, settings... It just appears approx 15 seconds after reboot. Only problem is that headphone gains dont work properly, can somebody check if he restart his music app and gains are still there?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] XsniferX:
Hi guys,

Here is my today stats (I'm on. 15b1) what do you think of?

Me personally I'm really disappointed about the op6 battery.

Yes maybe I have everything turned on (high precision GPS, wifi, bt for my smart watch, all my accounts are auto sync, NFC etc etc) and I barely can get 'tru a working day.

These stats was got with the help BBS, Greenify, Servicely, wakelock detector, naptime and accubatterypro

For comparison, I'm coming from a OP5 and I was able to do all the things listed above and still getting between 25 and 35% at the end of my working day.

And WITHOUT even being root or having any applications listed above (like Greenify etc..)

I know I have a heavy usage but please consider that I have the same usage between the 2 phone

And like other in the thread, I steady that my op 6 is more energy efficient when Im using it. In screen off the battery melting like snow.

So guys what you think?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
You have something keeping your phone on. I got this occasionally when freshly booting. If then I switched Wifi / Mobile Net off for a bit then back, it gets back to normal deepsleep.

That is abnormal activity there! Couldn't tell what the hell is doing this. Happened first day on stock kernel to me, and returns time to time.

When the awake part is that dense, something is definitely off. :|

EDIT:

hmm that bluetooth might be something that is definitely related. Most kernel wakelocks there are Bluetooth related...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
reproduced the issue. Going to fix it in next release.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
- Update 1.7.18 Stable -

[youtube]d-IWqmTa-w0[/youtube]
​

Stable Update

- Fix Sound Control issue with headphone gain being reset

- Fix issues with Face Down Screen Off feature (conflict resolved with Ambient Display and Camera double power gesture)

- Dynamic EAS boost v2 - stable

- Flashlight notification - Full support for OP6 with all settings. Signature feature ready.

====== Show off the back of that glass phone. It's somewhat fragile, so at least let it show its beauty!

====== Get a proper transparent case with front lips and put your phone on the desk,

====== (pro tip: set up Face Down Screen off and use Companion app for best results)

====== Then set up Flashlight notification settings (it has a lot of hidden Advanced settings too in the CS Config app)

====== Upon notification it will start to flash the camera LED in a subtle way (dim or powerful, not producible with fugly blinking Play Store apps)

- Vibrating Notification Reminder Signature feature ready for OP6

====== Set it, and you will get additional notification buzzes, if you have just almost forgotten about a notification.

====== Until you turn screen on/check notification it will keep buzzing once in a while (till number of buzzes limit reached)

====== Set it to do it in pocket only if needed. Set up vibration periods (bounded with Flashlight notifications)

====== Configure in CS Config App with many params (Advanced hidden ones too)

- KCal color control updated - supporting all variables now. Credits and thanks to [MENTION=4684315]flar2[/MENTION]

- Add Sound Control main switch - to let it work with v4a and other sound mods. If having such issues, turn it main switch off and reboot...

- Switch TCP Congestion to Westwood (not a setting in app, just moving to the best throughput TCP congestion)

CleanSlate 1.7.18 Download:

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

Config app 2.7.0 Free version Download:

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

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

Companion app 2.3.5 Free version Download:

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

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] refedit:
Just before I update 1.17 stable, I leave here my stats with 1 cycle
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
Testing new build right now. So far so good, issues with headphone gains seems fixed for me. Thank you for your amazing work!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
The fully off Mode in flashing notification hours works the same Way as the no bright blink Mode. It just makes the Led flash dimmer whereas it should turn flashing feature completely off. I think this feature need further testing. Cheers.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] XsniferX:
Thanks chief! I will try the on off switch and a day later try a whole Dat with br off
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Thanks for the report.

I'll check this one.[emoji106]
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Maybe this helps. For me it looks like this normally, the awake is zero when not touching the phone too much.

But I got something similar to your awake graph few occasions. Seems to be fixed with this reboot without any WiFi and mobile network initially on. But this sounds like woodoo magic, unfortunately this is the most I could do with this up till now

View attachment 4536419
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
So this is fixed. Couldn't stand to see this bug in, so released already. :p

OP Updated 1.7.18

Fix for Flashlight Dim Mode Fully Off option (option number 2) - should work now as intended. Thanks [MENTION=5010181]primus19[/MENTION] for the report!

Download 1.7.18 -

https://androidfilehost.com/?fid=13356325061477269602
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
Yeah it was really annoying, knowing that my Phone blinks when i sleep haha.. You are awesome! Going to test it soon. Peace!

EDIT: Yes it is working right now! There is something funny that i've noticed. When you set "Flash only when vibrating" option, when you recieve notification without vibration it does not blink but for example if i force vibration (wrong fingerprint for example) the kernel thinks it is the vibration from that notification and it starts flashing. I assume that is the specific of this function thus it is not a bug

When it comes to getting that toast after boot state completed, it works for me when i turn off battery optimization for this app. Maybe it comes to giving the app higher priority somehow? How the other apps manage to run immidiately after reboot?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
" if i force vibration (wrong fingerprint for example) the kernel thinks it is the vibration from that notification and it starts flashing"

Nice catch. On HTC phones I have a good lot of such exceptions set up just like this one! I'll take a look :) :good:

Wrong fingerprint for me doesn't trigger it, don't know why, but switching on the alert slider does. :silly:

"How the other apps manage to run immidiately after reboot?"

I'm using the standard method, that other apps use also listening on Boot completed.

Don't know if there's more to do actually than that.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
Alert slider does not trigger for me, only wrong fingerprint :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Galeanatur:
Installed 1.7.18, thanks once again [MENTION=3088420]tbalden[/MENTION] for your hard work and often updates :good:

One suggestion and one question

Suggestion:

Just a suggestion, i know that many will not agree

.

New features disabled by default in new updates. My thought is someone might miss to disable some unnecessary features. But if someone needs something he will find it for sure to enable it. Speaking for myself in every update i am looking what new features i do not need and i disable them. It would be easier just to enable what i find useful from the changelog .

Question:

Can someone provide settings in Kcal for best white possible?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
I like the suggestion there. I wanted to change defaults to a less intruding set, so I'm fine with this.

Kcal white I've tuned this in the screen shots.

I pretty much like this most. Not oversaturated and somewhat comparable with the LCD white.

I'm using custom color display calibration with coldest settings plus kcal set up.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Galeanatur:
wow these settings exactly what i was looking for! :good: :fingers-crossed: :highfive:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
This is the most complete kernel out there. Is there any difference between 70(default) and 100 notif vibration power? I barely can feel any, how it is made? Higher voltage to the motor?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Might be a very very slight. Yeah voltage is maxed out.

But you're right basically not much noticeable.

So might as well remove that in the end, leaving it there tho if someone feels difference.

I'd use 70 to spare a bit of battery as the effective change is minimal.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
If i uncheck "flash only with vibration" flash diode still isnt flashing at notifications without vibrations. For example in silent slider Mode or Google weather notifications. Testing it with push notification tester, i set no vibrations, flash diode isnt flashing even with "flash with vib only" unchecked
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
There's a certain whitelist in the application which restricts this. I may add a more liberal mode for this, but it's good to have a control over this.

People were actually complaining about too many flash notifications.

There's a possibility to copy a file into /sdcard/cleanslate/ to add custom whitelist. You can add your own whitelist there. I'll get back with some details if interested :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
Ok then what does "flash only with vibration" option do? When i uncheck it, i still don't get flashes if app sends notification without vibration for example apps with sound notification only in normal sound mode.

https://www.youtube.com/watch?v=lisjsMvixHQ
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
"Flash only with vibration" means that it will skip all the notification signals from companion app, and instead will rely on checking when a vibration driver call is happening inside the kernel. And if it's over certain time (100milisec) it will take it as if it's a notification.

When you check it, the feature will only rely on vibration.

Now related to having it unchecked, the feature will trigger

A, Vibration happens over 100msec

B, Notification event is signalled by the Companion app (filtered with a whitelist)

Now if you have the phone in Silent Mode there's a new factor, called Smart Timing (first tab in the application), which can be set to have an affect on the notifications. If you set DND Switch Smart-Hibernate, then the Flashlight is fully turned off with silent mode.

Do you have tha set to Smart Hibernate?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
This:

View attachment 4536586
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
Both of the switches are unchecked and the rest of the options are set to 0. Unchecked flash only with vibrating. Normal sound mode. sent test notification without vibration(sound and popup only). Getting no flash with this one with flash only with vibrations checked or unchecked it doesnt matter. Is it normal behaviour? Navigating to the cleanslate folder i have that notification visible in the file
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] memocatcher:
What could be the cause? :crying:

Draining like hell in standby
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Seems like the power manager service is misbehaving quite much.

It's on even when your screen is off. Any spacial modules on magisk or Xposed?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
OK, so what's the application package in the file?

If it's not added to a whitelist file compiled into the Companion app, you're not going to have it trigger the Flashlight blinking.

You can create a file named:

/sdcard/cleanslate/allow_notif.cfg

This should have the list of packages from the /sdcard/cleanslate/uci_notif.txt you want to add.

Then click the leftmost icon in companion app to reload the configuration. It must be a full list, containing all packages, not adding up to the built in list.

File could look something like this:

# instagram
com.instagram.android
# youtube
com.google.android.youtube
# google photos
com.google.android.apps.photos
# bluemail
me.bluemail.mail
# htc messages
com.htc.sense.mms
# google hangouts
com.google.android.talk
# emag
hu.emag.android
# gmail
com.google.android.gm
# facebook
com.facebook.katana
# amazon
com.amazon.mShop.android.shopping
# facebook messenger
com.facebook.orca
# google calendar
com.google.android.calendar
# twitter
com.twitter.andro

If you have some apps that are commonly used then I can add it to the compiled-in list as well. Tell me the package :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
Oh i get it now!!! that's why only sound notification with gmail flashes.. so i need to add manually app that i want...

So when i add new app to the created file, it will be added to the apps which are already compiled by You, or the list will overwrite them ?

Commonly used apps? Snapchat definitely.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Currently overwriting, but now that we discuss I think it could be better to merge them too. Maybe I'll add a second parsed file which if used the list is a merged one.

Ok, I thought I had Snapchat there but I think it might miss.

Any other?

Cheers
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] primus19:
Merging would be Perfect so when people add their specific apps, dont have to remember to add stock apps which are compiled. Nothing more by now. Thanks for clarifying that.