[HOW TO] Automatically Delete/Archive confidential or sensitive Whatsapp chats (Root)

hotsync100

Senior Member
Jun 27, 2009
360
81
0
Caracas
Hi friends,

Are you tired deleting whatsapp chats from certain contacts after read it ? Well, I made a task to automate that process. You only need:

1) ROOT and Sqlite binary installed to read the database. In this case, I'm using sqlite's binary that comes with Titanium Backup (/data/data/com.keramidas.TitaniumBackup/files/sqlite3)
2) Autonotification (optional)

The Task is very simple:
1) It will perform an SQL delete from whatsapp database with the phone you provide ( if all messages of that conversation has been read)
2) If you have unread messages, it will archive the chat. Also, it will clear any Whatsapp notification just in case (using Autonotification)

The Task has 2 parameters:

1) Phone . Formatted like this :
[email protected]
2) Delete messages : X (if you do not set this parameter, the Task only will archive the chat)

You can schedule this task by several ways, examples: near wifi, each xx minutes, when turn out the screen, etc.

Note: Before you run this task, you need to set %sqlite variable with sqlite full path

View attachment WA___Test_Archive.tsk.xml
View attachment WA___Delete.Archive.tsk.xml
 
Last edited:
  • Like
Reactions: #Henkate

Darkxy1983

Member
Nov 10, 2010
26
3
0
Hi is this still working?

Im rooted, have supersu.

Iv instaled Titanium backup
Iv imported two tasks
Set the number in tasker but nothing is happening when i run tasks or open whatsapp.

How is the number saved in WA database? With prefix of my country [email protected] or with zero instead of prefix [email protected]

Do i need to change the code of tasks?

Can someone please help?

Thanx