FORUMS
Remove All Ads from XDA

Enable dark mode in WhatsApp (Root/Twrp)

8 posts
Thanks Meter: 7
 
By Manoharc, Junior Member on 10th December 2019, 02:06 PM
Post Reply Email Thread
Note: Your device must either be rooted or have twrp recovery installed.
Might work on other recovery's which has file manger
TWRP method:
1. Reboot your phone in twrp recovery.

2. Goto Advanced->File Manager

3. From root partition goto Data->Data-> com.whatsapp -> shared_prefs
4. Seach for com.whatsapp_preferences.xml file in the folder.

5. Click the file and copy it into you phone directory so u can edit the file using computer.
6. Enable MTP or boot into system and connect device to computer.
7. Open the xml file as text file and add following line anywhere in between <map> and </map>.
Code:
<boolean name="dark_mode" value="true" />
You can also use xml editor from phone to edit xml file.
8. Save the changes and reboot back into recovery.
9. from file manager in twrp replace the modified file with old file.
10. Reboot into system and open WhatsApp. Goto settings->theme or theme option might be in Chats ,select dark. Restart WhatsApp


Voila! U have dark mode.

Root method:
If your device is rooted then use File manger with root support and edit the xml file from step 3 and goto step 10.


Method worked on my moto g5 plus running PE10.
Please leave a comment about ur device if it worked or not.
If u want to tip me donate to my paypal link in profile.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2019-12-10-17-48-00.png
Views:	166
Size:	67.8 KB
ID:	4898387   Click image for larger version

Name:	Screenshot_2019-12-10-17-48-02.png
Views:	152
Size:	63.5 KB
ID:	4898389   Click image for larger version

Name:	Screenshot_2019-12-10-17-48-36.png
Views:	136
Size:	137.6 KB
ID:	4898391   Click image for larger version

Name:	Screenshot_2019-12-10-17-48-47.png
Views:	138
Size:	60.5 KB
ID:	4898393   Click image for larger version

Name:	Screenshot_20191210-181358~2.png
Views:	152
Size:	97.7 KB
ID:	4898395   Click image for larger version

Name:	Screenshot_20191210-181404.png
Views:	166
Size:	156.8 KB
ID:	4898397   Click image for larger version

Name:	Screenshot from 2019-12-10 18-33-28.png
Views:	168
Size:	244.9 KB
ID:	4898425  
The Following 5 Users Say Thank You to Manoharc For This Useful Post: [ View ] Gift Manoharc Ad-Free
10th December 2019, 06:29 PM |#2  
Junior Member
Thanks Meter: 11
 
More
Quote:
Originally Posted by Manoharc

Note: Your device must either be rooted or have twrp recovery installed.
Might work on other recovery's which has file manger
TWRP method:
1. Reboot your phone in twrp recovery.

2. Goto Advanced->File Manager

3. From root partition goto Data->Data-> com.whatsapp -> shared_prefs
4. Seach for com.whatsapp_preferences.xml file in the folder.

5. Click the file and copy it into you phone directory so u can edit the file using computer.
6. Enable MTP or boot into system and connect device to computer.
7. Open the xml file as text file and add following line anywhere in between <map> and </map>.

Code:
<boolean name="dark_mode" value="true" />
You can also use xml editor from phone to edit xml file.
8. Save the changes and reboot back into recovery.
9. from file manager in twrp replace the modified file with old file.
10. Reboot into system and open WhatsApp. Goto settings->theme and select dark. Restart WhatsApp

Voila! U have dark mode.

Root method:
If your device is rooted then use File manger with root support and edit the xml file from step 3 and goto step 10.


Method worked on my moto g5 plus running PE10.
Please leave a comment about ur device if it worked or not.
If u want to tip me donate to my paypal link in profile.

Thanks, working on WhatsApp beta on ArrowOS 10
11th December 2019, 08:07 PM |#3  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by Manoharc



Method worked on my moto g5 plus running PE10.
Please leave a comment about ur device if it worked or not.
If u want to tip me donate to my paypal link in profile.


Amazing!! works for Pie as well!
13th December 2019, 07:19 AM |#4  
Member
Flag Rohini
Thanks Meter: 7
 
Donate to Me
More
Tried it with the File Explorer i have and my device is rooted so no need for Recovery, so i just modified the .xml and yeah i got the Dark Mode but if I exit and then reopen the app it defaults back to normal theme.
But the option remains in the settings.
Post Reply Subscribe to Thread

Tags
dark, dark mode, guide, tutorial, whatsapp

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes