Auto Dark Mode for OnePlus 7 Series - OnePlus 7T Questions & Answers

Hi
I've got myself an OnePlus 7T and also enjoying my Pixel 4. On the Pixel 4 it is possible via third party app to automate the on/off of Dark Mode. However I cannot see it's possible with the OnePlus 7 Series?
I've heard that it's somehow possible with Tasker. But has anyone here experience with that?
Thanks.

Go into developer options. There should be an option to force dark mode

c19932 said:
Go into developer options. There should be an option to force dark mode
Click to expand...
Click to collapse
It's there, but I wouldn't use it. It makes elements/texts wrong color on many apps that probably don't support it.
I.ie grey text on black background,
Sent from my OnePlus7TPro using XDA Labs

rasmusj said:
Hi
On the Pixel 4 it is possible via third party app to automate the on/off of Dark Mode. However I cannot see it's possible with the OnePlus 7 Series?
I've heard that it's somehow possible with Tasker. But has anyone here experience with that?
Click to expand...
Click to collapse
Yea. Tasker makes it a breeze. You can automate it however you want.
Spesific apps can turn it on, others can turn it off.
Certain schedule, time or days, you can make it every weeknight, two hours Saturday and the whole of Sunday if you want.
Connected to WiFi networks or Bluetooth devices can enable it.
You can even have it enabled during low light only, or under a certain threshold. The list is unlimited ?

Eddiemc said:
Yea. Tasker makes it a breeze. You can automate it however you want.
Spesific apps can turn it on, others can turn it off.
Certain schedule, time or days, you can make it every weeknight, two hours Saturday and the whole of Sunday if you want.
Connected to WiFi networks or Bluetooth devices can enable it.
You can even have it enabled during low light only, or under a certain threshold. The list is unlimited ?
Click to expand...
Click to collapse
Nice. But is this system wide ? Do you have any Tasker scripts or what it's called that can do this? ?
Cheers

rasmusj said:
Nice. But is this system wide ? Do you have any Tasker scripts or what it's called that can do this? ?
Cheers
Click to expand...
Click to collapse
Tasker only changes system settings, it doesn't "create" its own stuff. So basically It's simply toggling the dark mode on or off depending on the parameters you set. If your phone has system wide setting, then that's what it'll toggle.
It's an automation tool that can automate what you currently do manually.
Have you got tasker? Have you played with it?
Just create a profile you want, for example: time
Then set the parameters (example 7pm to 7am)
Then choose an action, search for dark mode. You can either set it to toggle or to on/off
If set to on, make an exit task too, again chose dark mode and off.
If you want a certain app to trigger it, then choose that app, etc. You can have an or or conditions etc.
Think: If this and this but not that then X.
Look at tasker tutorials for more parameter alternatives.

Related

Driving Safety Script- Automation?

Hello,
I use my Evo everyday for work. I rely heavily on Google Maps, what always bothers me is that I operate in two different modes during the day. When I am driving I like to turn off all distractions.
One mode where I have:
-Orientation set to Lock portrait
-Auto Sync set to On
-Text Messages auto receive on
-GPS Off
Then when I drive I usually spend a couple minutes changing it to:
-Orientation set to Lock landscape
-Auto Sync set to off (disables K-9 mail sync)
-Text Messages auto receive off
-GPS on
Is there a way to create a application or script that I can easily run to switch back and forth between these manual modes? Thank you,
Have you tried Tasker? There's a free 7 day trial on the Tasker website, you can try it out and see if you can get it set up to do what you're wanting. After the 7 days you'll have to purchase it, I think it's $6-$7. There are free alternatives to it that may do what you need as well, like Settings Profile Lite and Llama. I've never used the free ones, and I only tried Tasker for the trial period because I didn't really have a use for it. There's a bit of a learning curve, so you may want to read some tutorials on it.
Sent from my PC36100 using Tapatalk
Great I will take a look at Tasker. I wonder if anyone else has had a similar need. Thank you for your reply.
Yep. Tasker is what you want.
For instance, my in-car setup is:
When connected to power AND AUX audio cable are plugged in:
Media volume 15
Silent Mode OFF
Bluetooth ON
Set secondary profile to auto-reply to sms messages
Turn off button LEDs
Display brightness 30 if after 7:35pm OR 255 if before 7:35pm
Load app Car Home
When power or headphones are unplugged, it reverts back to the way it was set before it ran the profile. It's really cool.
I have a few other profiles setup too. Mostly to put the phone in silent mode when I'm at work, or flash the battery % on the screen at unlock when its below a certain point.
Fun stuff to play around with, having root lets you use a lot more of the features.
Yes tasker is the app for me. Heres to Safe Driving! Thank you,

[Q] App for toggling soft button LED's

Incredible running CM7.1, chad's incredikernel from last August (I believe.)
I use the hell out of CM's 'night mode' filters, but as it's dark in my room at night - go figure - the light sensor is tripped into leaving the capacitive soft keys at the bottom of the phone on whenever the screen is on. This kind of wrecks night, mode more or less.
I've found references to the App 'LEDs Hack' in several places, which gives rooted devices the ability to disable the LED's all together, so this sounds like a winner. But then when I try to find this app anywhere (every major market / app store + googling around) it's no longer listed anywhere.
Does anyone
A) have this app and can confirm it works?
B) know where I can find it?
Thanks
Slick
Sent from my ADR6300 using xda premium
I do not know of an app but i use scripts to turn mine off and on. Actually at the moment i have it set to turn them off at boot via an init.d script. Below is a zip of two scripts, one for off and one for on. The off script can easily be modified for use as an init.d script to turn off the soft key lights at boot. This works on my stock rom but cm's files may be different.
http://dinc.does-it.net/Soft_On_Off.zip
Thanks for the scripts, much appreciated! I'll tinker with these are bit. I'm really terrible @ linux, but I've seen init.d scripts before, I think.
Sent from my ADR6300 using xda premium
xi Slick ix said:
Thanks for the scripts, much appreciated! I'll tinker with these are bit. I'm really terrible @ linux, but I've seen init.d scripts before, I think.
Sent from my ADR6300 using xda premium
Click to expand...
Click to collapse
Here is an init.d script incase you cant figure it out. Just unzip it and place the file in your /etc/init.d folder, and set the correct permissions owner and group.
http://dinc.does-it.net/09SoftkeyLedsOFF.zip
I use this:
https://market.android.com/details?...ch_result#?t=W251bGwsMSwxLDEsImNvbS5oYXhvciJd
I have the filter set to 100% but disable the checkbox for the capacitive buttons therefore when I enable the screen filter, the screen stays whatever brightness my CurveFish widget is set to but the capacitive buttons turn off. I love it.
I have my "Automatic" brightness settings all tweaked to my liking and I just leave it on Auto all the time. If you do that, you can set whether the soft keys will be on or off.
For example you can set the soft keys to be off on the dimmest settings (i.e. dark room) and on in brighter environments. I leave mine off all the time (I know where those stinking softkeys are).
Go to:
Menu > Settings > Cyanogenmod Settings > Display > Automatic backlight > Edit other levels... (Use Custom must be checked)
To turn the soft keys off, set the values in the "buttons" column to 0. 0 turns them off, any other number (1-255) will turn them on. Then hit "Save and apply". If you set all the numbers in the "buttons" column to 0, then they will always be off.
Just a word of warning, tweaking you automatic settings can waste a lot of your time if you are a perfectionist...
All of these solutions are great, thanks again! Currently using the screen filter widget option with the CM filters, makes reading in bed sooo much better. Still want to play around with the script just to see if it works, and the custom brightness settings are for tomorrow.
Thanks again.
Sent from my ADR6300 using xda premium
I like the Screen Filter by Haxor method but unfortunately its an either on/off solution. I wish there was a way to regulate the brightness of the LEDs instead of just on or off. Oh well. It's all good
I just always keep mine off to conserve some battery. I can find those keys blind folded. Although if there were a way to dim them i would probably keep them on super low just for looks.Unfortunatley due to hardware restrictions that is not possible.
I use this app to turn off the keys
https://market.android.com/details?id=com.deskangel.adjbrightness
You should be able to find it in the settings.
Hope this helps.
el6006 said:
I use this:
I have the filter set to 100% but disable the checkbox for the capacitive buttons therefore when I enable the screen filter, the screen stays whatever brightness my CurveFish widget is set to but the capacitive buttons turn off. I love it.
Click to expand...
Click to collapse
trying this now! thanks!
For those who requested it.
Latest version of LEDs Hack.
Not sure why the dev took it off the market, but it still works great.
feffrey said:
For those who requested it.
Latest version of LEDs Hack.
Not sure why the dev took it off the market, but it still works great.
Click to expand...
Click to collapse
I tried this app for kicks but it only half worked. It would turn off and on the amber led at the top, but it would not turn off or on the softkey leds.
cmlusco said:
I tried this app for kicks but it only half worked. It would turn off and on the amber led at the top, but it would not turn off or on the softkey leds.
Click to expand...
Click to collapse
That is strange, for me it turns off both. Did try changing the aggressiveness settings in the options?

Is there any way for Tasker to detect the position of my OnePlus 3 alert slider?

My biggest problem with the OnePlus 3 is that they made the alert slider the only way to control Do Not Disturb modes. No automation.
So I have setup Tasker to do the automation, changing the modes throughout the day/night and it works great. However, there are occasionally situations where I want to put my phone in silent mode (a meeting for example), but I know that Tasker is scheduled to turn off silent mode half way through the meeting.
So if Tasker could somehow detect what position the alert slider is in, I could easily make it so that Tasker won't change DND modes if the slider is in certain positions.
Is there any way to accomplish this?
https://play.google.com/store/apps/details?id=com.nqk.customalertslider
This seems to have Tasker support for an IAP
Gershik said:
https://play.google.com/store/apps/details?id=com.nqk.customalertslider
This seems to have Tasker support for an IAP
Click to expand...
Click to collapse
Thanks for the idea!
Unfortunately that requires Xposed and I'm running Nougat.
https://forums.oneplus.net/threads/guide-on-how-to-set-notification-slider-to-all-vib-none.369263/
It is a guide to changing notifications mode according to slider position.
You can probably use the same variables for your own profiles.

Late Notifications (L29) - Any fix?

Hi Guys,
I still have some late notifications once in a while from different programs.
Line (Messaging)
Google Calendar
HQ (Trivia game)
And a few others...
I have made sure to disable the "Auto" power manager setting for those apps and most of the time they do work normally. However once a week or so I miss a calendar notification or other notifications. I'm guessing this has to do with the aggressive background task killing on Chinese phones, or maybe the AI stuff? Either way, I want my notifications to work and come in on time.
Are there any hidden settings I am missing to disable background task killing? (I had an older Huawei phone that allowed you to disable Huawei memory management in developer settings, but that's not on this phone)
Thanks!
I'm having the same issue on a mate 20 pro, but up to now I could not find a resolution. It's annoying as our doorbell works with a push message that does not always gets delivered instant now.
Try locking the app along with turning off smart notification and turning on the setting to keep mobile active when in sleep mode. Seemed to work for my AL00 which has aggressive power handling.
on top of changing auto mod for app launch there's also battery optimization which isn't in battery menu but in application - special access menu. Try to disallow apps you need maybe it helps.
casinca said:
on top of changing auto mod for app launch there's also battery optimization which isn't in battery menu but in application - special access menu. Try to disallow apps you need maybe it helps.
Click to expand...
Click to collapse
I had no idea that hidden section was even there. great tip!
n1tro said:
Try locking the app along with turning off smart notification and turning on the setting to keep mobile active when in sleep mode. Seemed to work for my AL00 which has aggressive power handling.
Click to expand...
Click to collapse
How to keep mobile active during sleep?
rowihel2012 said:
How to keep mobile active during sleep?
Click to expand...
Click to collapse
Go to Settings -> Battery -> More battery settings and enable Stay connected when device sleeps
rowihel2012 said:
How to keep mobile active during sleep?
Click to expand...
Click to collapse
It's in Developer Options on my L29.

Tip: Turn on night mode under developer options

Sorry if this is old news for everybody here, but I saw night mode option under developer options and said what the heck and set it to always on. I did not expect it to do much because I already set the theme to Dark in Settings and that doesn't seem to affect anything but the notification bar.
well lo and behold, a couple of apps are now dark that previously weren't even though the apps have no dark theme setting. Namely Instagram and play store. Go figure. Of course there apps that I really want to be dark -- Gmail, Settings, and hangout -- aren't. That's Google for you.
Also Google Drive and Google Photos become dark
Sapper Morton said:
barth2;80874791well lo and behold said:
Sure, that mode it's intended only for battery saver mode, but you can force enable it; if you use a lot the battery saver feature, you will notice that it will reset the dark mode when turned off; so if you want a convenient switch, use the app linked below; you can set a QS Switch with it.
App link: Night Mode (Enable Night Mode from tile) - https://f-droid.org/app/io.github.subhamtyagi.nightmode
Source code:
https://github.com/SubhamTyagi/night-mode-tile
Click to expand...
Click to collapse
Phone resets dark mode when it is in charge also, does this app force it enabled also in this case? Thanks
Click to expand...
Click to collapse
qwertysmerty said:
Also Google Drive and Google Photos become dark
Click to expand...
Click to collapse
Instagram too.
Sapper Morton said:
It resets only when turning on and off battery saver; but, yes, the app can easily toggle dark mode once it gets reseted, it's easily accessible in Quick Settings menu; otherwise you will have to go into developer options and enable it from there, everytime.
The following is only needed in Pie btw, Android 10 already has changed the way dark mode behaves.
Click to expand...
Click to collapse
It's an old bug - turn off the dark mode in messaging and it will be fine.
asdfuc said:
It's an old bug - turn off the dark mode in messaging and it will be fine.
Click to expand...
Click to collapse
could you please elaborate a bit?
Do you mean we can prevent the battery saver switching from disabling the dark mode always on setting? How exactly? Thanks
Google it. After unplugging charger it returns to night mode. Without this setting in messaging it won't return.
It must be this, becouse I am using battery saver mode all the time.

Categories

Resources