Enable dark mode Whatsapp (Root) - OnePlus 7 Pro Guides, News, & Discussion

Just leaving this here as a method of applying dark mode for whatsapp.
I can confirm working on GM1913 EU - 10.0.2 stock rooted.
Only extra step not in the following guide is to kill whatsapp after following the steps and relaunch and you will find a theme option in settings to enable dark mode.
https://forum.xda-developers.com/pixel-3a/themes/mod-whatsapp-dark-mode-t3984445
credit @dark90_

go into the developer options, search for "Force override dark mode", turn that baby ON, and enjoy all apps darkened.

nabril15 said:
go into the developer options, search for "Force override dark mode", turn that baby ON, and enjoy all apps darkened.
Click to expand...
Click to collapse
Yeah, works perfectly even for WhatsApp - thanks for that!

Confirmed working on latest non-beta 2.19.360 from Play Store.
Thanks, this is awesome and a much better solution than force enabling it for every app because that messes up some apps in my case.

QUBiCA said:
Confirmed working on latest non-beta 2.19.360 from Play Store.
Thanks, this is awesome and a much better solution than force enabling it for every app because that messes up some apps in my case.
Click to expand...
Click to collapse
I'm also using 2.19.360 and added that line by using FX root editor, but I don't see the theme option in settings ... do I miss something?

nabril15 said:
go into the developer options, search for "Force override dark mode", turn that baby ON, and enjoy all apps darkened.
Click to expand...
Click to collapse
Yeah but it's not nice for Facebook if you use that with comments sections black/white.

ulxerker said:
I'm also using 2.19.360 and added that line by using FX root editor, but I don't see the theme option in settings ... do I miss something?
Click to expand...
Click to collapse
Did you restart the application? I went to settings and force closed it, then opened it again. This made the setting appear.

QUBiCA said:
Did you restart the application? I went to settings and force closed it, then opened it again. This made the setting appear.
Click to expand...
Click to collapse
I did that and I don't see it ... also, the appropriate line is still in that file. Strange ... can you post a screenshot of your settings?

ulxerker said:
I did that and I don't see it ... also, the appropriate line is still in that file. Strange ... can you post a screenshot of your settings?
Click to expand...
Click to collapse
So I added the line, and changed it, now when opening the file I see Whatsapp moved the line elsewhere in the file. The setting in the app is a little buggy, once now it automatically switched back to light mode, and now it's dark but the setting shows light mode. It's weird.

QUBiCA said:
So I added the line, and changed it, now when opening the file I see Whatsapp moved the line elsewhere in the file. The setting in the app is a little buggy, once now it automatically switched back to light mode, and now it's dark but the setting shows light mode. It's weird.
Click to expand...
Click to collapse
Thanks, I'll try again ... what do you mean by "changed it", what did you change?

ulxerker said:
Thanks, I'll try again ... what do you mean by "changed it", what did you change?
Click to expand...
Click to collapse
Oh I'm sorry, should have phrased it differently, I meant I changed the setting to dark mode (after force closing the app first, of course).

ulxerker said:
I did that and I don't see it ... also, the appropriate line is still in that file. Strange ... can you post a screenshot of your settings?
Click to expand...
Click to collapse
Apply for beta here and you should be good! https://play.google.com/apps/testing/com.whatsapp

QUBiCA said:
Oh I'm sorry, should have phrased it differently, I meant I changed the setting to dark mode (after force closing the app first, of course).
Click to expand...
Click to collapse
It's working now with the latest beta from apkmirror and it seems to be stable, even when I force close and reopen the app. Also, the option is at settings -> chats now.
Sent from my OnePlus7Pro using XDA Labs

Related

Re-enabling disabled apps.

I got a warning that 'Devices' was stopping stamina mode & disabled it by accident.
Anybody know how to re-enable it?
I can not find it in my app list (settings/apps/all).
Thanks for any help.
DeadlyDazza said:
I got a warning that 'Devices' was stopping stamina mode & disabled it by accident.
Anybody know how to re-enable it?
I can not find it in my app list (settings/apps/all).
Thanks for any help.
Click to expand...
Click to collapse
Hmm I think it's not in the list because it's not really an app, but part of the OS.
How did you disable it? The same way you disabled it you should have an option to re-enable it.
Dsteppa said:
Hmm I think it's not in the list because it's not really an app, but part of the OS.
How did you disable it? The same way you disabled it you should have an option to re-enable it.
Click to expand...
Click to collapse
It was through the notification.
Clicking took me to the 'force stop/disable' menu for devices & I disabled from there.
Now can't find it to re-enable & I won't get the pop up again.
Settings apps scroll right to all apps find devices and click on it than click enable
[email protected] from XDA premium
indycar said:
Settings apps scroll right to all apps find devices and click on it than click enable
[email protected] from XDA premium
Click to expand...
Click to collapse
That's just it, it's not there.
RESOLVED.
Just for future reference, disabled apps appear at the very BOTTOM of the settings/apps/all list.
DeadlyDazza said:
RESOLVED.
Just for future reference, disabled apps appear at the very BOTTOM of the settings/apps/all list.
Click to expand...
Click to collapse
Hahah, I assumed you knew that. Else I would have said it, good that it's been solved now.
Dsteppa said:
Hahah, I assumed you knew that. Else I would have said it, good that it's been solved now.
Click to expand...
Click to collapse
I didn't. Scrolled down to 'D' then scratched my head for the rest of the day :-\
Looked again today & it was at the bottom
DeadlyDazza said:
RESOLVED.
Just for future reference, disabled apps appear at the very BOTTOM of the settings/apps/all list.
Click to expand...
Click to collapse
homer simpson says D'OH !!!

Runkeeper and other running apps are closing

Hi there,
My OP is working fine since the update to 4.02 except for 1 thing. The apps I use for recording my running workouts are closing after a while. I have tried different apps (runkeeper, polar beat, Strava) but they are all having the same problem. After a while (not always the same time) they close. All my battery save options are disabled. I tried to lock it in the recents screen.
On 3.x.x roms there was no problem and yes I did a factory reset after the update, my phone is stock no root etc....
I'm thinking about going back to 3.x.x rom if there is no solution for this
robiris said:
Hi there,
My OP is working fine since the update to 4.02 except for 1 thing. The apps I use for recording my running workouts are closing after a while. I have tried different apps (runkeeper, polar beat, Strava) but they are all having the same problem. After a while (not always the same time) they close. All my battery save options are disabled. I tried to lock it in the recents screen.
On 3.x.x roms there was no problem and yes I did a factory reset after the update, my phone is stock no root etc....
I'm thinking about going back to 3.x.x rom if there is no solution for this
Click to expand...
Click to collapse
Try switching on for required apps under Settings - Apps - Click Settings icon - Apps auto-launch....
ram4ufriends said:
Try switching on for required apps under Settings - Apps - Click Settings icon - Apps auto-launch....
Click to expand...
Click to collapse
Ok.. Thnx.... Haven't tried that... Try it by next workout...but what does it exactly do? Do I've to enable the function? Now I switched it on put the apps in the upper section "allow apps to start automaticly" (translate that because it's in dutch on my phone) and then disabled the function. Is that ok or do I have to leave it on?
Under settings, battery, menu, high power usage apps. Do you have this set to on?
Sent from my ONEPLUS A3000 using Tapatalk
robiris said:
Ok.. Thnx.... Haven't tried that... Try it by next workout...but what does it exactly do? Do I've to enable the function? Now I switched it on put the apps in the upper section "allow apps to start automaticly" (translate that because it's in dutch on my phone) and then disabled the function. Is that ok or do I have to leave it on?
Click to expand...
Click to collapse
Not sure what it does...but it worked fine for me
ram4ufriends said:
Not sure what it does...but it worked fine for me
Click to expand...
Click to collapse
You have to switch the option on and leave it on like this?
robiris said:
You have to switch the option on and leave it on like this?
Click to expand...
Click to collapse
Yes, if you want you can turn off the main one..so you don't need to select individual apps..thats what I did
ram4ufriends said:
Yes, if you want you can turn off the main one..so you don't need to select individual apps..thats what I did
Click to expand...
Click to collapse
It looks like this is the solution!!! A few people tried it today ( on other forums ) and it seems to be working. I'll try it today, I'll keep you informed. But I only tell you if it worked and not my stats hahaha.
01-02 : I did a run today and it worked!!!

Enable New Dark Mode setting for Google Phone (it's beta, but usable) - Root required

Hey everyone, I did a search and didn't see a quick guide posted about this so I thought I would write one up with some pictures real quick.
Pre How To Notes:
* the usual I am not responsible for your device, if you mess it up its on you etc etc. Make a back up or have an apk ready.
* I have only tested this on the v30= but im sure it will work on all devices running Google Dialer Beta 24.0.214850721 ( https://www.apkmirror.com/apk/googl...gle-phone-24-0-214850721-release/#description ). I am part of the Dialer beta and was not pushed the beta 24 release, so I had to manually update it to this one. The needed setting do not exist in beta 23.
* I am using the following 3 Magisk modules - Google Dialer and Contacts for OP5 and/5T - Android 0 Apt x libraries - Pixel Experience. These may or may not effect anyones ability to enable these features, but since I am going to post and run I figured it was easier to say such now than find out tomorrow that noone could replicate it and this is the reason why.
* I just saw @syndre post a magisk module for the dialer and contacts that is version 24. May or may not work with that, and maybe if you all ask super nice he will make a second magisk module that has dark mode enabled since I have never made a magisk module and wouldnt know where to start.
* You must have "Preferences Manager" installed from the play store (or wherever i guess) in order to do this. ( https://play.google.com/store/apps/details?id=fr.simon.marquis.preferencesmanager&hl=en_US )
Ok so its fairly simple.
How To enable Dark Mode on Android Dialer
1) Open Preferences Manager (make sure it has root priv) scroll down to "Phone" app and select it.
2) Scroll over to dialer_phenotype_flags.xml and find the setting G__enable_dark_mode_setting and switch it from "false" to true
3) Now find com.google.android.dialer_preferences.xml and find the setting for display_options_dark_mode and switch that one from 'false' to "true".
4) Close out, force stop google dialer, reopen the dialer.
5) Go to dialer Settings, and select Display, then check Dark Mode - Enable.
Boom, you're done. Its a little buggy but it works and I havent had any issues.
Let me know if you have any questions
:good:I just replaced dialer in Pie with the modified version!! Dark theme is awesome at night, Thank you!! :highfive:
the extra app isn't urgently needed for editing the xml files these files are stored in
/data/data/com.google.android.dialer/shared_prefs
and can be edited with a simple text editor capable of root rights.
thanks for finding and sharing :good: merci
seadersn said:
the extra app isn't urgently needed for editing the xml files these files are stored in
/data/data/com.google.android.dialer/shared_prefs
and can be edited with a simple text editor capable of root rights.
thanks for finding and sharing :good: merci
Click to expand...
Click to collapse
No problem and Thank you @seadersn .
I was originally going to get into a whole additional paragraph or two of alternative methods to enable the necessary flags but decided to just use Preferences Manager as the example because it seemed like the most foolproof and easiest way for any level of user to accomplish the necessary steps.
And I figured that anyone with more advanced capabilities would spot what was being done overall and could accomplish the changes however they were most comfortable performing them (your post of course being a prime example of it accomplishing just that)
JonnyTrulove said:
* I just saw @syndre post a magisk module for the dialer and contacts that is version 24. May or may not work with that, and maybe if you all ask super nice he will make a second magisk module that has dark mode enabled since I have never made a magisk module and wouldnt know where to start.
Click to expand...
Click to collapse
Just taking a quick look it looks like those files have too much personal information in them for me to just straight-up replace them completely with a module. I think that one line of the preferences file needs to be edited by hand somehow by anyone this right now until the implemented fully. I changed the one line showing in the screenshot and notice there was a toggle switch in the dialer app now, switching that makes it look like the third screenshot. I can't use it like that, lol
Sent from my LG-LS998 using XDA Labs
Thanks for this!
Can't get this working on my rooted lg v30. When I open preferences manager I have to show system apps to see Google phone. Then I have to scroll right to find data_rollout_dark_mode and set to true. Then scroll right again to display_options_dark_mode and set it to true. Force close app and no option for dark mode in display options when I open it.
Ballroomblitz said:
Can't get this working on my rooted lg v30. When I open preferences manager I have to show system apps to see Google phone. Then I have to scroll right to find data_rollout_dark_mode and set to true. Then scroll right again to display_options_dark_mode and set it to true. Force close app and no option for dark mode in display options when I open it.
Click to expand...
Click to collapse
Are you still having trouble? If so I will walk through it with you and we can get it working.
JonnyTrulove said:
Are you still having trouble? If so I will walk through it with you and we can get it working.
Click to expand...
Click to collapse
I am. Haven't tried again since my post. Thanks for the offer.
Sent from my LG-US998 using Tapatalk
I've tried a couple more times using different variations of the steps, and still can't seem to get the dark mode to show up in the application.
Ballroomblitz said:
I am. Haven't tried again since my post. Thanks for the offer.
Sent from my LG-US998 using Tapatalk
I've tried a couple more times using different variations of the steps, and still can't seem to get the dark mode to show up in the application.
Click to expand...
Click to collapse
So I used se text editor to locate the files, and changed false to true. Force close dialer. Opened and still no dark.
Ballroomblitz said:
So I used se text editor to locate the files, and changed false to true. Force close dialer. Opened and still no dark.
Click to expand...
Click to collapse
Because you did not enable it in settings.....
Sent from my LG-H932 using XDA Labs
BROKEN1981 said:
Because you did not enable it in settings.....
Click to expand...
Click to collapse
I'd be more than happy to enable it if the option showed up. Thanks anyway.
just wait til g. releases it, fully functional; i do wait. atm it's ¾functional only, at its best. there are areas which aren't black-themed, which looks weird sometimes.
seadersn said:
just wait til g. releases it, fully functional; i do wait. atm it's ¾functional only, at its best. there are areas which aren't black-themed, which looks weird sometimes.
Click to expand...
Click to collapse
I kept picking at it, and eventually edited the correct strings. I've got working dark mode.
the new v25 magisk module containing newest dialer version does indeed look good with dark mode just tried it again, it looks much more better than in the last version. i think next version will contain it officially, there's a new "__data_rollout__DarkMode.EnableDarkModeRollout__launched__" bool.
seadersn said:
the new v25 magisk module containing newest dialer version does indeed look good with dark mode just tried it again, it looks much more better than in the last version. i think next version will contain it officially, there's a new "__data_rollout__DarkMode.EnableDarkModeRollout__launched__" bool.
Click to expand...
Click to collapse
Yes, that's the version I'm using. I agree, I think the dark version looks very nice. I'm a fan of darker themes.
Sent from my LG-US998 using Tapatalk

Google Cast & "Coolwalk"

After seeing the articles about the new files being in the latest beta version I took a dive in and looked to see how to enable it. Here's some basic steps for that.
​1. You will need to be rooted and on the latest beta. "7.3.120244-release.daily"​2. Download a database editor, I used SQLite Editor.​3. Open SQLite and under "apps" section navigate to Google Play Services and open it.​4. Scroll down to phenotype.db and select it.​5. Look for "flags" and open it.​6. On the top select "set filter" input Coolwalk__enabled.​7. change all bootVal from 0 to 1.​8. Now search for cakewalk and do the same.​9. Lastly search for MirrorApp__enabled and change those.​
Now just restart your phone and connect to Android auto. You will need to enable coolwalk on the head unit settings. To switch from full screen and condensed press and hold the new UI home button. I need another phone to show off cast, but it does work. You just can't do Netflix/Hulu what not. You also need to be in park. I haven't found what to change to eliminate that. Anyone else wants to help give it a shot.
UPDATE: if you have sqlite3 installed with magisk you can also create a trigger like so in termux.
Code:
Su
Sqlite3
.open /data/data/com.google.android.gms/databases/phenotype.db
CREATE TRIGGER after_update
AFTER UPDATE ON Flags
BEGIN
UPDATE Flags SET boolVal=1 WHERE name='Coolwalk__enabled';UPDATE Flags SET boolVal=1 WHERE name='MirrorApp__enabled';UPDATE Flags SET boolVal=1 WHERE name LIKE 'Coolwalk__%' AND boolVal=0;
END;
​​
works fine, thank you
working! maps looks a bit bugged when navigation is on (can't see road indications) but probably is just a matter of time they fix it... thanks bro!!
I enabled all the flags but can't get the option...anything I'm missing? I'm on Android 12 and latest AA 7.3 beta
@niccotaglia are you using exactly the android auto version as described "7.3.120244-release.daily"? if not you should try this
b0uNz said:
@niccotaglia are you using exactly the android auto version as described "7.3.120244-release.daily"? if not you should try this
Click to expand...
Click to collapse
I was using 7.3.120444. Will try 120244
Works great! I tried it on both the 7.3.120244 and the 7.3.120444 beta version and both worked. I did have to revert all the tweaks from AA AIO Tweaker and uninstall the app first to get it to work.
Still not working...I tried everything imaginable but nothing works.
niccotaglia said:
Still not working...I tried everything imaginable but nothing works.
Click to expand...
Click to collapse
Are you running any other Android Auto tweaks? Make sure your imputs are being saved before going on to the next one
Eazii said:
Are you running any other Android Auto tweaks? Make sure your imputs are being saved before going on to the next one
Click to expand...
Click to collapse
I ended up nuking Play services data and starting from a fresh database. I used AIO Tweaker to enable it and now it works
Can someone give me more information about the Cast function?
niccotaglia said:
I ended up nuking Play services data and starting from a fresh database. I used AIO Tweaker to enable it and now it works
Click to expand...
Click to collapse
Which option to use in AIO Tweaker to enable it? Did you still change the boolVal using SQLEditor for play service?
purespin said:
Which option to use in AIO Tweaker to enable it? Did you still change the boolVal using SQLEditor for play service?
Click to expand...
Click to collapse
These 3. And no, i didn't do any manual database editing
Perhaps we can use the cast function for Screen2Auto and Fermata in the future as Google always tries to block 3rd party apps.
niccotaglia said:
View attachment 5527001
These 3. And no, i didn't do any manual database editing
Click to expand...
Click to collapse
Which Version of AA are you using?
Works well!
But there is a little issue where screen goes totally black and android auto being unusable once i hold the home button to get the condensed UI!
Snake.s9 said:
Works well!
But there is a little issue where screen goes totally black and android auto being unusable once i hold the home button to get the condensed UI!
Click to expand...
Click to collapse
Which version of AA are you using?
Snake.s9 said:
Works well!
But there is a little issue where screen goes totally black and android auto being unusable once i hold the home button to get the condensed UI!
Click to expand...
Click to collapse
Yes, I randomly got the same black screen too, although the bottom bar is still visible/clickable. Restart AA will be back to normal. I think it's just a bug in the AA beta.
purespin said:
Yes, I randomly got the same black screen too, although the bottom bar is still visible/clickable. Restart AA will be back to normal. I think it's just a bug in the AA beta.
Click to expand...
Click to collapse
Which version of AA are you using?
fkrrr said:
Which version of AA are you using?
Click to expand...
Click to collapse
7.3.120244

Question Dark mode

Hello there, I recently purchased a OP10P (N2215) and I have some questions about the dark mode feature. Quick background info: visually impaired and damn near impossible to look at much less read black text on white background.
I am coming from a OP8 where it was possible to selectively choose specific apps that were forced into a dark theme. I have not noticed that feature on the OP10P. Is there a way to get the same functionality from a root/non root app?
Edit: already turned on override force-dark in developer settings and some apps still show in normal and not dark mode friendly theme.
Bump. I really need some help. Anything that could potentially help would be appreciated
appreciated
You could enable dev settings and force darkmode on all apps
I already mentioned that I did that. There are still some apps that show in normal theme even with that on.
ltw5ki said:
I already mentioned that I did that. There are still some apps that show in normal theme even with that on.
Click to expand...
Click to collapse
If you are rooted darq still works per app selectable. Search for it on xda
Unfortunately I am not rooted. I've looked Into darq already as I had used it on a Huawei phone I once had. Remember reading an article on how it doesn't work properly on Android 12.
Also not to mention the app itself loads in normal theme. I know there is a way to use non-rooted as well but the issue is setting it up ‍
I appreciate the suggestion though
ltw5ki said:
Unfortunately I am not rooted. I've looked Into darq already as I had used it on a Huawei phone I once had. Remember reading an article on how it doesn't work properly on Android 12.
Also not to mention the app itself loads in normal theme. I know there is a way to use non-rooted as well but the issue is setting it up ‍
I appreciate the suggestion though
Click to expand...
Click to collapse
I'm using it on a12 rooted and works the same s it did on a11. Also using it with lsposed
Got you, not sure if I want to bother with rooting. I might give it a try again and see if I can't get through the non-rooted setup process
toolhas4degrees said:
If you are rooted darq still works per app selectable. Search for it on xda
Click to expand...
Click to collapse
So I am now rooted and running darq. Uber and some other apps still show in normal mode even though I have them selected in the list AND have always use force dark selected in advanced options. Any suggestions?
ltw5ki said:
So I am now rooted and running darq. Uber and some other apps still show in normal mode even though I have them selected in the list AND have always use force dark selected in advanced options. Any suggestions?
Click to expand...
Click to collapse
I also use substratum themes. So that's also something you should check out. Also if the app has the dark option in the settings of the app you should use that instead of the dark mode. If the app doesn't support dark mode in it's code it won't work to use darq (ex Uber). You will need a sub theme.
toolhas4degrees said:
I also use substratum themes. So that's also something you should check out. Also if the app has the dark option in the settings of the app you should use that instead of the dark mode. If the app doesn't support dark mode in it's code it won't work to use darq (ex Uber). You will need a sub theme.
Click to expand...
Click to collapse
It's weird because on my op8 Uber and all the other apps are able to show in dark mode when selected by the built-in app selector. Don't know why op would get rid of that option
ltw5ki said:
It's weird because on my op8 Uber and all the other apps are able to show in dark mode when selected by the built-in app selector. Don't know why op would get rid of that option
Click to expand...
Click to collapse
Bc oppo now runs op
toolhas4degrees said:
Bc oppo now runs op
Click to expand...
Click to collapse
DAMN YOU OPPO making life more complicated for no reason

Categories

Resources