[Tasker Tips & Tricks] dr.bathman:
Whatsapp has included auto-night theme but it has not included to change automatically whatsapp chat wallpaper of your choice at day/night/specific scheduled time.

But it is possible with tasker, magisk and root. To do so follow this tutorial.

Requirements: Magisk Installed with root & modules support enabled. Either tasker app or franco kernel manager (FKM) app installed.

Download Links:

Tasker: https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm

FKM: https://play.google.com/store/apps/details?id=com.franco.kernel

1. Flash magisk module WhatsWallMagic.zip from magisk. It will create required folders and scripts in internal storage (/data/media/0/WhatsApp or /sdcard/WhatsApp).

Though there is pre-installed wallpapers present for both dark and light modes if you want to add your own whatsapp auto changeable wallpapers follow step 2 & 3 else skip steps 2 & 3.

2. Copy Light Wallpaper: Change your choice of whatsapp wallpaper from whatsapp settings (Settings/Chat/Wallpaper) for day/light mode. Then flash magisk module CopyWhatsLightWall.zip It will copy currently set light whatsapp wallpaper to /data/media/0/WhatApp/whatswall/whatslight.

3. Copy Dark Wallpaper: Change your choice of whatsapp wallpaper from whatsapp settings (Settings/Chat/Wallpaper) for night/dark mode. Then flash magisk module CopyWhatsDarkWall.zip It will copy currently set dark whatsapp wallpaper to /data/media/0/WhatApp/whatswall/whatsdark.

Once preferences are created, time to automate tasks using tasker or one click change whatsapp wallpaper using fkm! You can use either tasker (step 4) or fkm (step 5) or both.

4. Automate changing whatsapp wallpaper using TASKER:

Method 1:

- Install tasker app from play store if not already installed.

- Download all 4 .xml files given below.

- Now open task tab and import WhatsLightTask.tsk.xml long-pressing "task" button. Same way import WhatsDarkTask.tsk.xml to tasks.

- Now open profile tab and import WhatsLightProfile.prf.xml long-pressing "profile" button. Same way import WhatsDarkProfile.prf.xml to profiles.

- Now activate both profile if not active.

- Done. Whatsapp wallpaper will get changed to Dark at 7:30 pm & Light at 7:30 am. You can change time as per your need in profiles.

Or

Method 2:

You can import following tasks and profiles files directly to tasker from these links. Just click "import" after opening link

in browser. Do same for all 4 links. All will automatically get imported to either tasks or profiles.

TASKs:

"WhatsLightTask!"

https://taskernet.com/shares/?user=...Z4lTz03CKZ+cNau9hyNE0=&id=Task:WhatsLightTask

"WhatsDarkTask!"

https://taskernet.com/shares/?user=.../Z4lTz03CKZ+cNau9hyNE0=&id=Task:WhatsDarkTask

PROFILEs:

"WhatsLightProfile!"

https://taskernet.com/shares/?user=...3CKZ+cNau9hyNE0=&id=Profile:WhatsLightProfile

"WhatsDarkProfile!"

https://taskernet.com/shares/?user=...03CKZ+cNau9hyNE0=&id=Profile:WhatsDarkProfile

5. One click chnage theme using FKM:

- Install FKM from play store if not already installed.

- Open FKM. Go to Scripts Manager.

- Quick Tile Shortcuts will get opened.

- Click on Tile 1 and add whatsLight.sh clicking on it.

- Click on Tile 2 and add whatsdDark.sh clicking on it.