[HOW TO] Automatically Delete/Archive confidential or sensitive Whatsapp chats (Root) - Tasker Tips & Tricks

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

Hi can u help me with a detailed way of auto archiving ? Ur help would be most appreciated

How do i do it using tasker ? Please help

minaz_in said:
How do i do it using tasker ? Please help
Click to expand...
Click to collapse
Long press on task tab and select import
Sent from my Honor 6X using XDA Labs

Are you going to cheat and hiding messages with another girl/woman for your girlfriend ?
No serious.
You can also use a SQLite manager which has root access.
Here are some SQLite managers, but I don't know which one has root access.
https://play.google.com/store/apps/...SChBzcWxpdGUgdG9vbCByb290:S:ANO1ljL0UXo&hl=en

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

Related

Backup SMS messages

Hi All,
I am considering upgrade from 1.6.7.1 to 2.16.9.101. The only think that still hold me is backup of my sms messages.
My question is - Is there are way to back up sms messages without any backup SW (e.g. spbBack etc.)?
I know from Outlook that it holds all its mails in single file, which I can just copy to DVD and after fresh install import. I suspect that it should be the case with Pocket Outlook as well. And as long as SMS are part of Pockect Outlook, they should be kept in the same file. Where is that file and can I replace it after new ROM installation?
Thanks in advance
helo there, brother.. am here with a solution for ur problem and yet, another question aswel..
u can use jeyo mobile companion 1.1 to backup all ur sms's.. i use this to backup my sms if i hardreset my fone or reflash my rom.. really useful software.. hope this helps..
now heres my question, jeyo mobile companion doesnt allow me to back up sms's in folders, ie, i have a specific folder in my inbox for the sms my girlfriend sends me.. but wen i do the backup with jeyo mobile companion, it does not backup the msgs in the folder.. i'l hav to move the msgs to the inbox folder b4 i backup and after i restore them, i hav to move them bak to folders.. so i wud like to kno an application that would backup sms and folders as well.. thanx in advance
Well,
Your proposal is solution, however not exactly into the direction I am looking for... jeyo usage means that I have to use third party SW to backup my SMS messages and restore them afterwards.
So let me repeat what I want to do:
1. Take from my PPC file where all my SMS are stored (using file explorer and Active Sync);
2. Save this file to my laptop;
3. Flash ROM;
4. Replace new, empty file created by fresh Pocket Outlook on PPC with mine.
If somebody can tell me how to perform that sequence it will be really appreciated,
Thanks in advance
I guess they are in the root of the mobile device.. one of those .vol files maybe? You could try these files. (After you've secured your sms-messages with a third-party program of course - as a temporary solution)
Yes, I thought the same. Unfortunately I am not able to copy any of those files (cemail for instance). I have got the message "Cannot copy "cemail". There has been sharing violation. The source or destination file may be in use."
I suspect that this file is already locked by some system applications running. Any ideas are welcomed,
Regards
angel1st said:
Yes, I thought the same. Unfortunately I am not able to copy any of those files (cemail for instance). I have got the message "Cannot copy "cemail". There has been sharing violation. The source or destination file may be in use."
Click to expand...
Click to collapse
I have the same problem. angel1st, how did you manage to get around this problem?
regards...
angel1st said:
Hi All,
I am considering upgrade from 1.6.7.1 to 2.16.9.101. The only think that still hold me is backup of my sms messages.
My question is - Is there are way to back up sms messages without any backup SW (e.g. spbBack etc.)?
I know from Outlook that it holds all its mails in single file, which I can just copy to DVD and after fresh install import. I suspect that it should be the case with Pocket Outlook as well. And as long as SMS are part of Pockect Outlook, they should be kept in the same file. Where is that file and can I replace it after new ROM installation?
Thanks in advance
Click to expand...
Click to collapse
With spb backup you can backup only your contacts, E-mail and SMS messages if you want to, works great. I have mine backing these up every night in case of crash.
I found if you use the file explorer in the mda to copy everything to a mini sd card you overcome the "sharing violation" error.

"Messages" wouldn't run

Hello,
incredible but true, on my P3600 "Messages" would not run any more.
I cannot access the whole Messages software (inbox, draft,...): no sign of life clicking on the icon (the envelope), neither from Start->Programs->Messages nor from SPB Phone Suite.
Calendar and Notes in Pocket Outlook continue working well.
So now I cannot access to email nor SMS.
When I send an SMS from another mobile to my P3600, I see the P3600 screen becoming active (only the brightness) but no notify message appears. It seems that the Messages software doesn't load in memory any more even if I click the "tmail.exe" file in file Explorer
I am using WM5 (with official ROM) and in last days I have upgraded Pocket Plus to 4.0.1; I also use other SPB software as Phone Suite (1.1.1), Weather, ...
Unfortunately there are no changes removing Pocket Plus
Anyone faced a problem like this?
Thank you
Are you storing attachments on the miniSD?
Yes
the SD (Sandisk 2GB) seems to work
do you know how to modify the settings? I couldn't reach them because they're in Messages.
thank you
I'm not sure if that's the cause of your problem, but my Mail directory got corrupted once and messaging refused to start, like it happens to you. Try to rename the directory to Mail_ so that messaging recreates the dir again. You can change the attachment storage location on the messaging options.
thank you Apoc,
anyway yesterday evening I made an hard reset. I have tried to install a backup but the problem arose again so I decided to re-install all without backup.
I take your advice for the next time...because re-installing all I had on my P3600 there is a chance to face the same problem soon
thank you, really
I have same problom...
Please help
fruss said:
Hello,
incredible but true, on my P3600 "Messages" would not run any more.
I cannot access the whole Messages software (inbox, draft,...): no sign of life clicking on the icon (the envelope), neither from Start->Programs->Messages nor from SPB Phone Suite.
Calendar and Notes in Pocket Outlook continue working well.
So now I cannot access to email nor SMS.
When I send an SMS from another mobile to my P3600, I see the P3600 screen becoming active (only the brightness) but no notify message appears. It seems that the Messages software doesn't load in memory any more even if I click the "tmail.exe" file in file Explorer
I am using WM5 (with official ROM) and in last days I have upgraded Pocket Plus to 4.0.1; I also use other SPB software as Phone Suite (1.1.1), Weather, ...
Unfortunately there are no changes removing Pocket Plus
Anyone faced a problem like this?
Thank you
Click to expand...
Click to collapse
Did you try to run mailaccountrepair? You can download here http://forum.xda-developers.com/showthread.php?t=328467&page=2
Apoc said:
I'm not sure if that's the cause of your problem, but my Mail directory got corrupted once and messaging refused to start, like it happens to you. Try to rename the directory to Mail_ so that messaging recreates the dir again.
Click to expand...
Click to collapse
This worked for me. Thanks!!
Did you store the messages' attachment on SD?
if you haven't fix the problem with mailaccountrepair, you could try formatting the miniSD (first copy all the files on your PC).
I have read this advise on another forum
It seems that it could be a problem of corruption of the attachment stored on SD.
Apoc said:
I'm not sure if that's the cause of your problem, but my Mail directory got corrupted once and messaging refused to start, like it happens to you. Try to rename the directory to Mail_ so that messaging recreates the dir again. You can change the attachment storage location on the messaging options.
Click to expand...
Click to collapse
Where I can find directory?
fruss said:
Did you store the messages' attachment on SD?
if you haven't fix the problem with mailaccountrepair, you could try formatting the miniSD (first copy all the files on your PC).
I have read this advise on another forum
It seems that it could be a problem of corruption of the attachment stored on SD.
Click to expand...
Click to collapse
I cann't access to massages anymore... How I can change the setting??
hi25man said:
Where I can find directory?
I cann't access to massages anymore... How I can change the setting??
Click to expand...
Click to collapse
I try to make a list of action from the Apoc's advice:
1. Using file explorer, rename the directory (probably on your SD) where Messages store the attachments (from "Mail..." to another name)
2. soft-reset
3. try to access Messages again (the envelope icon in Programs)
4. if Massages opens, it will create a new directory named "Mail..." in which the attachments will be stored, but you will not have the old attachments in Messages
Then you could try to copy the files that are the dir you have renamed to the dir that Messages has just created
if Messages doesn't open, try mailaccountrepair (as written by emay) or hard-reset (as I did)

CM 4.2.1 / CM4.1.99x Exception with contact group

Some poeple are the meaning, that the place for this thread will be better here: OK, lets following this issue here. Here is a copy from the previews one:
CM 4.2.1 / CM4.1.99x Exception with contact group
Exception with Contacts - so like as in 4.1.99x
I have the same problem as in 4.1.99x, that I can not add a contact in my group (there is still ony one, which was working after some crashes in 4.1.999) without a crashed application
If I look into the exception Monitor, I can found a lot of:
Quote:
java.lang.IllegalStateException: Failed to find the My Contacts group"
Click to expand...
Click to collapse
What can I do or must do ?
History: I have had the G1 not so long time, but modif. it via WIPE to the 4.0.x ( stable )
After this (2 days later I upgrade to 4.1.111)
from this status I was following the description with the 2 Step to 4.1.999, where I have see the error the first time. With 4.0.x / 4.1.111 I haven't recognize this problem, because I have add some friend in my contact-list. For my meaning, this one was coming in, during upgrade in the 3 steps: WIPE, Google-Recovery, CM-Update 4.1.999.
Hint: If I update the phone, I start the phone WITHOUT a Mobile-Card: because I have had one time a bill over 200€ for data connection, and nobody knows why. So I boot the phone after update without card, check APNdroid, if 3G etc. disabed, shut down the phone, insert the casrd and boot again.
Maybe this handling calls the error ?
......
......
YES, I have use the search function and didn't found any usefull infos.
>>> ( how does I love this answer! If you found time to write this one, than I think, you know the answer - pls give me this one )
YES. I have reflashed the 4.2.1 with the card inside the phone: No change
Btw.: I was falling also in the error with the ext2 and ext3, so I change this one on the PC via tune2fs. But normaly every program, which need a DB and did not found it, create one. Or isn't it ?
Push > because its still avail and a Java exception is not a handling error
Just to bump this a bit and to pretend like it is actually useful to post in this forum...
Have you tried backing up your contacts via the browser, deleting them, sync the phone and then restoring?
Have you tried backing up your contacts via the browser, deleting them, sync the phone and then restoring?
Click to expand...
Click to collapse
No I haven't, because I have not so much contacts... So I was starting with a brand-new phone, "root" them, wipe them and change to CM4.0.x (Stable), jump to CM 4.1.11 and after a few days following the instruction to move to 4.1.999 with WIPE, 1st paket and the CM-paket.
Here I see the problem and also in 4.2.1.
About a missing Backup, I try only to create a contact manual on the phone.
THe first time, if I want to add the contact, the phone ask me to syncronise - but I was offline at all. So I reject this message ( there are also no datas to sync online )
Push .... .....

ADB Pushed Ringtone Problem.

Hello all,
I was wondering what causes a rooted Android phone to not use custom contact ringtones?
The ringtones I've assigned to my contacts have been pushed ( with adb push command ) to the phone's system memory, and I can see them in there using Root Explorer ( File Manager ). This only seems to happen when I use a task manager like Advanced Task Manager to End All.. uh... stuff running, I guess.
Is there a process or something that I can put on the exclude list to stop it from cutting off my custom ringers if that's the problem?
Oddly enough, even if I do End All of anything, my microSD card still uses my default ringtone on the phone, though, just the default ringtone, not even the custom contacts set from there work.
Here's a bit more info on what apps I normally use and phone info:
Advanced Task Manager
CacheMate
Firmware: 2.1-update1
Software: 2.27.651.5 ( Rooted )
Vvh said:
Hello all,
I was wondering what causes a rooted Android phone to not use custom contact ringtones?
The ringtones I've assigned to my contacts have been pushed ( with adb push command ) to the phone's system memory, and I can see them in there using Root Explorer ( File Manager ). This only seems to happen when I use a task manager like Advanced Task Manager to End All.. uh... stuff running, I guess.
Is there a process or something that I can put on the exclude list to stop it from cutting off my custom ringers if that's the problem?
Oddly enough, even if I do End All of anything, my microSD card still uses my default ringtone on the phone, though, just the default ringtone, not even the custom contacts set from there work.
Here's a bit more info on what apps I normally use and phone info:
Advanced Task Manager
CacheMate
Firmware: 2.1-update1
Software: 2.27.651.5 ( Rooted )
Click to expand...
Click to collapse
So, first of all, did you push the custom ringers to /system/media/audio/ringtones/? (FYI, you know you can just put u'r custom ringtones to u'r SD card under /sdcard/media/audio/ringtones/ and you won't have to waste system space...) aside from that fact, you need to make sure u've pushed u'r ringtones to the system/media/audio/ringtones/ directory in the phone. Once you've done that, you shouldn't have any problems accessing them via android's native ringtone selector.
Thank you for the reply Androidious.
Yes, I pushed the ringtones correctly to /system/media/audio/ringtones/. Accessing them isn't the problem though, it's simply that there's a process that controls ringtones, and I'm trying to figure out which it is so I can put it on an exclude list from my Task Manager.
Here's a list of processes that run when my phone is turned on and everything is working:
Sprint Navigation
People
com.smithmicro.DM
Maps
IM
IM
Htc Checkin Service
Sprint Updater
Meebo IM
Updater
Note Me
CacheMate
Messages
Voicemail
Gmail
Settings
Is it possible that the People process controls ringtones?

Install whatsapp on wifi only Galaxy TAB 2 7" w/o rooting your Tab

This is for ppl who are facing issues because of blue stack, apguard or getting error messages like "tablet not supported", "it looks like your client has been modified". Please follow the below steps. I tried today and it worked perfect. No need to root your tablet. For easy understanding, I have colored the text :- Red-Things that are to be done on phone . Green-Things that are to be done on tablet
1) Install Carbon backup app from play store on your android smart phone and on your tablet. My android smart phone is rooted [it should work in non-rooted smart phone as well]
2) Take a back up of whatsapp and select the option to save it on your external SD card.
3) Now move to your tablet. Take a backup of any app. In my case, I took the back up of Temple Run2 and select to save the back up in your external SD card. This is mainly done to create the Carbon backup folder structure.
4) The back up would be available under /ext_sd_card/carbon/
5) Now back to your smart phone- copy the complete carbon folder under /ext_sd_card/carbon/ and upload it some where. You can use some file manager like EXexplorer to do this for you
6) Moving to your tablet, download the carbon folder you uploaded in your tablet and replace with the one that is already existing on your external SD card.
7) Open Carbon application and restore whatsapp
8) It will ask you to install whatsapp from play store. I would recommend you to download the apk and install it.
9) Select restore option again and restore whatsapp data
10) Now you can open whatsapp with the same state as you left it on your smart phone. I mean the messages
Please note : Whatsapp can be attached to a single number only, so please uninstall it on your smart phone after the above process.
If you want to use a different number on your tablet, then follow the below steps after Step 10.
Send one or two messages to your friends.
12) Uninstall whatsapp and install it again.
13) Restore the back up again from carbon app.
14) Open Whatsapp, you will be asked to verify your number.
15) Enter your new number and select Ok. Please make sure that the new number is in working state i.e. the SIM card is inserted into a phone and can receive SMS/call
16) Whatsapp will send the verification code to your new number.
17) Wait for sometime and you will get the prompt on your tablet to enter the verification code.
18) Enter it and enjoy
Good, but there is any way of doing that without an Android smartphone? Will the Bluestacks or YouWave works?
Blue stack worked for many but it did not for me. Not sure of you wave.
Sent from my GT-I9003 using xda app-developers app
I ussualy install ur normally and then it asks for a code
Just enter ur other mobile number and a message will appear with the code insert into the tablet and dfonee..
Sent from my GT-P3100 using xda app-developers app
help
I just have the wifi only galaxy tab p3110 ,! How to install ?
If you have another android device running whatsapp, then follow the above steps.
Sent from my GT-I9003 using xda app-developers app
virusarus said:
If you have another android device running whatsapp, then follow the above steps.
Sent from my GT-I9003 using xda app-developers app
Click to expand...
Click to collapse
Should I have the smartphone evrytime i use whatsapp along with the tab ! ?
Or I can use any smartphone , follow the above process and after uninstalling whatsapp from that device
, I CAN use normally in my tab ?
santerrific said:
Should I have the smartphone evrytime i use whatsapp along with the tab ! ?
Or I can use any smartphone , follow the above process and after uninstalling whatsapp from that device
, I CAN use normally in my tab ?
Click to expand...
Click to collapse
Some info about Whatsapp before I answer your question.
1) You can TAG one Whatsapp account with one Phone number only
2) If you try to configure Whatsapp with a already tried phone number, then it would stop working in your previous device. [rather it asks for re-verification of the number in your previous device]
Coming back to your question :
Scenario 1 : Lemme assume that you have
* smartphone [android] with Whatsapp configured with your phone number [eg. 12345].
* you have ANOTHER active phone number [eg. 6789] which can receive SMS.
Then go ahead with the above steps and configure the other number [eg. 6789] on your tab. Now you can enjoy Whatsapp on your Smart phone [with your old number i.e. 12345] and your Tab [with your new number i.e 6789] simultaneously.
Scenario 2: Let us assume you have
* smartphone [android] with Whatsapp configured with your phone number [eg. 12345].
* you do not have an alternate active phone number.
Then go ahead with the above steps and configure whatsapp on your Tab with the only phone number [ i.e. 12345] you have. But after configuring, you will loose whatsapp on your smartphone.
You need not have your smartphone with you every time when you use Whatsapp on your Tab, in any of the above scenarios.
Please let me know if I answer your question and hit Thanks if it really helped you
Cheers
Thanks! Really helped me
One of my friend is using galaxy y ! He doesn't use whatsapp Can I use this method with my number in his phone ? Will it work ?
santerrific said:
One of my friend is using galaxy y ! He doesn't use whatsapp Can I use this method with my number in his phone ? Will it work ?
Click to expand...
Click to collapse
With your new phone number? or the existing?
Existing !
Sent from my GT-P3110 using Tapatalk 2
so what happens if i had Watsapp on two devices, the same nmber, at the same time?!
qazmed said:
guys it is impossible to get whatsapp on wifi tab without rooting and having another android phone that has the app whatever other guides are they are sh*t some people say use bluestacks or appguard it all ends in one way FAILURE
Click to expand...
Click to collapse
The so called sh*t you mentioned in your post is working for me w/o rooting. If you are not sure how to do stuffs, please stay away and do not de-motivate people. Thanks for understanding.
Mazensahlieh said:
so what happens if i had Watsapp on two devices, the same nmber, at the same time?!
Click to expand...
Click to collapse
Whatsapp allows you to have one number bound with one device only. So, it is impossible to have same number on both the devices.
santerrific said:
Existing !
Sent from my GT-P3110 using Tapatalk 2
Click to expand...
Click to collapse
No you can't. Whatsapp allows you to be online on a single device only with the same number. [hope this helps you in better understanding]
for the P5110 also serves thanks
Nice work mate.. Also nice to see another Mumbaikar here
Cheers:beer:
I'll try it now and post the results
Quite new to this forum...
Sent from my GT-P3110 using xda app-developers app
WHATSAPP regarding
I am not able to install the APP (WHATSAPP) in my device Samsung Tab GT-P3110 without 3G build no JZ054K P3110DDCMA4...NOTE: I have tried the carbon backup trick its backing & restoring the APP data (not the App).The restore is also with errors as it cannot see the APP in the device.... it asks for app but playstore wouldnt allow (it says the device not supported). However the App is installed from other way .....but would not continue to work . It stops & says (unfortunately its stoped).
Show me the way how to override.....& make the play store to allow install the APP.
mukundrathod said:
I am not able to install the APP (WHATSAPP) in my device Samsung Tab GT-P3110 without 3G build no JZ054K P3110DDCMA4...NOTE: I have tried the carbon backup trick its backing & restoring the APP data (not the App).The restore is also with errors as it cannot see the APP in the device.... it asks for app but playstore wouldnt allow (it says the device not supported). However the App is installed from other way .....but would not continue to work . It stops & says (unfortunately its stoped).
Show me the way how to override.....& make the play store to allow install the APP.
Click to expand...
Click to collapse
It did work for me on an already existing number and all its data too got restored.. Maybe you're missing a step..
Install apk but do not open it.. Restore data and then run/open the app... That did the trick for me..
Sent from my GT-P3110 using Tapatalk 4 Beta

Categories

Resources