Skip to How to Import Chat History below to skip the background reading.
Yes, there is a graphical import method for Line!
If you use Line, and you want to change between devices, it seems as though it is nearly impossible to backup (export) and restore (import) your Line chat history. I have searched XDA, Google, AndroidForums, Line's (useless) online help, etc. No help, no info. There are some guides about how to use a SQL editor to fool the app, etc., but that was just way too much effort for me, so I finally gave up and just switched. BUT, before I did, I went ahead and exported all my chats, even knowing there was no way to import them, just in case. Well, that just paid off.
There is absolutely no method available within Line to restore your chat history, right?! WHY is there a backup option? There MUST be a way! Seemingly no.
I just figured it out. And when I explain it, you too will wonder, why in the !#$%@^[email protected]%!#@$!#[email protected]^*%^&(*%^@# has Naver not published this?????
I was on my way to back everything up in preparation for a new ROM and figured I'd do a complete and total system wipe, meaning, I went to take a look at my internal storage (SDcard, Emulated, 0, whatever you refer to it as), to ensure that I got all the little things I want, like Viber pictures, WhatsApp pics, etc. And there I saw it. The folder. And, like you are now thinking, I thought, just maybe...
How to Import Chat History (Abbreviated, Quick and Easy)
Copy your chatHistory.zip file to internal storage sdcard/LINE_Backup
Start Line, open an existing chat or start a new chat with the person whose chat history you want to restore
Tap the drop-down arrow in the upper right, Chat Settings, and look what just showed up below the (formerly) useless Backup Chat History option
How to Backup and Restore Chat History (Additional Details)
Line offers a "Backup Chat History" option, but keep in mind, this is conversation / per-person specific. That means, you need to do it for each individual person.
For my own ease of use, and to make transferring things easy, now that I know what the process is, here's what I did.
Backing Up
Go into the conversation you want to backup.
Tap the drop-down arrow in the upper right, and select Chat Settings.
Select Backup Chat History, Backup All
Say Yes to e-mail this chat - in a previous version, I had to enter the conversation person's name in the subject, the new Line now does this for me.
Repeat this process for every conversation you want to migrate to a new device.
Restoring
On your new device, save the attachments from each e-mail into the /InternalSDCard/LINE_Backup/ directory.
Start Line, go to Chats, Tap the Chat Bubble in the upper right to start a new conversation, select the person you want to restore
Your chat window will be empty, but from here, you just follow the instructions above, basically, drop-down arrow, Chat Settings, Import Chat History
And that's it.
I REALLY hope this helps some people out. I wasted a LOT of time trying to figure this out, and as usual, once you know the solution, it's pretty simple and seems so obvious.
If I helped, throw me some Thanks button so I know I wasn't the only one!
I have a google Nexus 5, which doesn't have any internal storage.
Are you able to specify where this should be copied too as I cannot seem to find the right holder.
Also, what am i copying in there? The actual zip file or an extract of the zip file?one
kkwhong said:
I have a google Nexus 5, which doesn't have any internal storage.
Are you able to specify where this should be copied too as I cannot seem to find the right holder.
Also, what am i copying in there? The actual zip file or an extract of the zip file?one
Click to expand...
Click to collapse
On your internal storage of your Nexus 5, create a folder called: LINE_Backup the exact upper/lower case and _ matter. Put the LINE backup zips in that folder, do not extract them. LINE knows which zip goes with which user, you just have to start the chat and import per the instructions above.
BillBauman said:
How to Backup and Restore Chat History (Additional Details)
Line offers a "Backup Chat History" option, but keep in mind, this is conversation / per-person specific. That means, you need to do it for each individual person.
For my own ease of use, and to make transferring things easy, now that I know what the process is, here's what I did.
Backing Up
Go into the conversation you want to backup.
Tap the drop-down arrow in the upper right, and select Chat Settings.
Select Backup Chat History, Backup All
Click to expand...
Click to collapse
Unfortunately, The "Backup All" setting only applies to one-on-one conversations. Group chats only give you the Backup as Text option.
raveur said:
Unfortunately, The "Backup All" setting only applies to one-on-one conversations. Group chats only give you the Backup as Text option.
Click to expand...
Click to collapse
That sucks. I haven't tried a group chat in LINE before. Did you try a backup/import to see if it would work? I'm sort of assuming no, that it doesn't work, based on your post. :/
Thanks!
A huge THANKS for this, saved me alot of trouble.
Still, anyone figured out how to import group chats? Maybe from the text file?
daer2dai said:
A huge THANKS for this, saved me alot of trouble.
Still, anyone figured out how to import group chats? Maybe from the text file?
Click to expand...
Click to collapse
A big you're welcome.
I don't have enough LINE friends to actually have a group chat and try to figure it out.
I just found a method for importing the chat history using Titanium Backup and the terminal. You need root for this. Recently Line made some changes that made this more
Hope you find this useful.
1. Restore Line with Titanium Backup (app+data) (DON'T OPEN THE LINE APP YET!)
2. Log into a root shell and delete the previous settings:
sqlite3 /data/data/jp.naver.line.android/databases/naver_line
delete from setting;
.quit
3. Now we have to delete this xml only if you are using a recent version. In previous ones it didn't even exist as far as I know
rm /data/data/jp.naver.line.android/jp.naver.line.android.settings.xml
4. Open the Line app and it will ask you to enter your user and password.
You will receive a warning about losing your chat history. Just ignore it and...
5. Enjoy!
I had copy the zip files to the Line_backup folder which was already in the phone internal memory. However, there is no Import Chat History Button.
The Line version was the latest one and had Force Stop and restarted Line. Still to no avail.
Is there any way to view the chat log?
What format is it saved in and how would you go about viewing the chat log if you were sent one from a chat that wasn't yours?
Didn't Work on LG Android Optimus
I must be doing something wrong, but it seems I've followed all the steps. The LINE_backup files are in my SD card, but when I click Import Chat History>yes>ok, nothing happens... :/
I made an account just to post on here and hopefully find out.
daimyorl said:
I just found a method for importing the chat history using Titanium Backup and the terminal. You need root for this. Recently Line made some changes that made this more
Hope you find this useful.
1. Restore Line with Titanium Backup (app+data) (DON'T OPEN THE LINE APP YET!)
2. Log into a root shell and delete the previous settings:
sqlite3 /data/data/jp.naver.line.android/databases/naver_line
delete from setting;
.quit
3. Now we have to delete this xml only if you are using a recent version. In previous ones it didn't even exist as far as I know
rm /data/data/jp.naver.line.android/jp.naver.line.android.settings.xml
4. Open the Line app and it will ask you to enter your user and password.
5. Enjoy!
Click to expand...
Click to collapse
I used this method and bang! It works like a charm!
Thanks a lot
*It actually still gives warning after I logged in - that my chat history will be deleted or such -, but actually it didn't delete a thing. So, to anyone who wanna try this, don't worry with the warning message!*
james.abcde said:
I used this method and bang! It works like a charm!
Thanks a lot
*It actually still gives warning after I logged in - that my chat history will be deleted or such -, but actually it didn't delete a thing. So, to anyone who wanna try this, don't worry with the warning message!*
Click to expand...
Click to collapse
Glad it was useful for you!
Thanks for the feedback. I will add the info about the warning as I forgot it completely.
Hello,
daimyorl said:
sqlite3 /data/data/jp.naver.line.android/databases/naver_line
Click to expand...
Click to collapse
This gives me this error:
Error: unable to open database "data/data/jp.naver.line.android/databases/naver_line": unable to open database file
I use the emulator in ROM Toolbox Lite
daimyorl said:
delete from setting;
Click to expand...
Click to collapse
If I use SQLite Debugger to delete the setting table, and I also remove the jp.naver.line.android.settings.xml file with ES Explorer, I get the Force Close when I try to open the application.
And If I delete the whole naver_line database, then Line starts, but losing the chat history.
norike said:
This gives me this error:
Error: unable to open database "data/data/jp.naver.line.android/databases/naver_line": unable to open database file
I use the emulator in ROM Toolbox Lite
Click to expand...
Click to collapse
Got it! I was missing the su command to make the emulator rooted.
I also found the jp.naver.line.android.settings.xml file in a slightly different location than where daimyorl said above (but the credits go to him). For me it was into /data/data/jp.naver.line.android/shared_prefs/
Then, the complete instructions that worked for me are:
Restore Line with Titanium Backup (app+data) (DON'T OPEN THE LINE APP YET!)
Log into a shell and delete the settings:
Code:
su
sqlite3 /data/data/jp.naver.line.android/databases/naver_line
delete from setting;
.quit
Remove jp.naver.line.android.settings.xml
Code:
rm /data/data/jp.naver.line.android/shared_prefs/jp.naver.line.android.settings.xml
Open the Line app and it will ask you to enter your user and password. It will also ask your phone number for the confirmation SMS.
Enjoy!
norike said:
Got it! I was missing the su command to make the emulator rooted.
I also found the jp.naver.line.android.settings.xml file in a slightly different location than where daimyorl said above (but the credits go to him). For me it was into /data/data/jp.naver.line.android/shared_prefs/
Then, the complete instructions that worked for me are:
Restore Line with Titanium Backup (app+data) (DON'T OPEN THE LINE APP YET!)
Log into a shell and delete the settings:
Code:
su
sqlite3 /data/data/jp.naver.line.android/databases/naver_line
delete from setting;
.quit
Remove jp.naver.line.android.settings.xml
Code:
rm /data/data/jp.naver.line.android/shared_prefs/jp.naver.line.android.settings.xml
Open the Line app and it will ask you to enter your user and password. It will also ask your phone number for the confirmation SMS.
Enjoy!
Click to expand...
Click to collapse
i'm gonna try it tonight.. i really hope it does work cause LINE about backup chat is so so annoying !!
i hope it works, thank you !!!
i'll give u feedback later!
woawwwwwww !!!!!!!! thank you my friend !! IT WORKS !!! now i don't have to copy every single chat backup anymore!!!
thank you!
Can I import to a different phone number?
Thanks for the guide. Does this work if I want to import my chat history to a completely different phone number? But I'll still be using the same android phone.
lishanshung said:
Does this work if I want to import my chat history to a completely different phone number? But I'll still be using the same android phone.
Click to expand...
Click to collapse
I have no idea, but give it a try an tell us what you find!
Thank you ! I was looking for a good way to restore my chats, seems your's is great !
Related
This tip can be found in various parts of this forum, but I'm putting it here so that it can be more easily located.
The easiest way to move your contacts from Windows Mobile to Android (or just to Google in general):
While Booted into Windows Mobile:
Download "Dotfred's PimBackup" (see below), it's a ZIP file, extract the one file in the ZIP to your storage card. If you can't unzip from your phone, do this step on a PC.
http://www.dotfred.net/PIM/PPCPimBackupV2.8_wm2005.zip
Launch the application. Select the action "Backup" (should be default). Uncheck everything but "Contacts" then hit "Next > >"
Uncheck everything but "Create temp files in memory", hit "Next > >" (very important, don't screw this part up!)
Once the backup has completed, hit "Exit" on the bottom-left
Now connect the phone to your PC (or remove the SD card and put it in an adapter) in order to access the file PimBackup created:
Look for a new file called "PIMBackup_xxxxxxxx.pib" (the 'x's will be numbers representing the date of the backup)
Rename that file, changing the extension from ".pib" to ".zip", and open the ZIP file
Extract the file "contacts_xxxxxxxx.csc" to somewhere on your computer, and change the extension from ".csc" to ".csv"
From here you can import the contacts into Google, but I *highly* suggest taking the time to perform a few extra steps to clean up the data a little bit.
Importing into Google
http://www.tothepc.com/archives/import-contacts-to-gmail-from-csv-vcard-file/
More Cleaning of the Data
You should open your CSV file in either Microsoft Excel, or OpenOffice.org Calc. The CSV is semicolon delimited, meaning you can't just straight up open these files and work with them, instead you have to perform a couple extra steps in either one:
Microsoft Excel
http://www.online-tech-tips.com/cool-websites/importing-delimited-files-in-excel/
OpenOffice.org Calc
On open of the CSV, check the "semicolon" box, uncheck all the rest.
http://wiki.services.openoffice.org...ide/Starting_opening_saving#Opening_CSV_files
- saved for changes -
will give it a try
If ur using a rhod with a Sim, just go under menu in the contact tab in winmo and save to sim. Then import from xdandroid. I've seen a lot of tuts saying remove you sim before booting xdandroid, but I never have and it get connectivity. Maybe its becuz I'm on tmobile. I dunno. But I hope this help
Sent from my MSM using XDA App
T-Mobile TP2 Froyo 2.21
trying this right now, I havent, done the "Clean up " steps, but it seems that only the contacts that have Photo Contacts or specialized ringtones from WinMo are the ones that have a lot of this:
0x3c,0x00,0x48,0x00,0x54,0x00,0x43,0x00,0x44,0x00,0x61,0x00,0x74,0x00
showing up in the notes. but other than that, I could live without doing the clean up... I tried doing the cleanup with Excel, but it wasnt working.
Thanks a lot though, this helped a great amount
throwback1718 said:
trying this right now, I havent, done the "Clean up " steps, but it seems that only the contacts that have Photo Contacts or specialized ringtones from WinMo are the ones that have a lot of this:
0x3c,0x00,0x48,0x00,0x54,0x00,0x43,0x00,0x44,0x00,0x61,0x00,0x74,0x00
showing up in the notes. but other than that, I could live without doing the clean up... I tried doing the cleanup with Excel, but it wasnt working.
Thanks a lot though, this helped a great amount
Click to expand...
Click to collapse
Yeah I had contact pictures showing up in the notes too, but there were only 2 so they were easily deleted.
turn off binary back up in PIM otherwise this won't work.
revaaron said:
turn off binary back up in PIM otherwise this won't work.
Click to expand...
Click to collapse
This gets done on this step:
Uncheck everything but "Create temp files in memory", hit "Next > >" (very important, don't screw this part up!)
Click to expand...
Click to collapse
the easiest way to do it is using google via active sync just upade in what ever os you are in and sync next time you boot into the other os.
is there any way to import contacts with pictures from wm ?
hey
i think sprite migrate is the easiest way to copy your windows mobile contacts to android...
just check tbhis link:
http://www.spritesoftware.com/Products/Migrate/Migrate-Your-Data-Now/How-To-Transfer
then u will be able to download an app to your ppc to backup...then open a programm on your pc. the output file just copy to sd card and install a android app to import the contacts...
and ure done...
its very simple i used it several times on 3 different devices!
nick
the-nj said:
hey
i think sprite migrate is the easiest way to copy your windows mobile contacts to android...
just check tbhis link:
http://www.spritesoftware.com/Products/Migrate/Migrate-Your-Data-Now/How-To-Transfer
then u will be able to download an app to your ppc to backup...then open a programm on your pc. the output file just copy to sd card and install a android app to import the contacts...
and ure done...
its very simple i used it several times on 3 different devices!
nick
Click to expand...
Click to collapse
I don't know, Honestly I followed http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=138636. Activesync did it's thing and when I reset into Android I had all my contacts.
having the contacts is one thing but does it import them with pics ?
export as vcards
'vcard expert' is a windows mobile app that can backup your contacts and their pics as vcards. This format is recognised by different vendors so can easily transfer your contacts to other platforms such as android.
is it possible to import contact to Android without sync to google server (gmail)?
I don't really want google to save my family and friends contact information
There is also Funambol
Not tried it myself but it claims to sync PIM data across multiple platforms inc WM and Android. I believe it's free for something like 90 days
Deleted message.
Can sms's (messages) be exported the same way 2...i mean using pimbackup...or there is some other method...i moved from Touch pro 2 to Htc desire loving it
after - saved for changes - what i do.. can u explain it
msullivan said:
This tip can be found in various parts of this forum, but I'm putting it here so that it can be more easily located.
The easiest way to move your contacts from Windows Mobile to Android (or just to Google in general):
While Booted into Windows Mobile:
Download "Dotfred's PimBackup" (see below), it's a ZIP file, extract the one file in the ZIP to your storage card. If you can't unzip from your phone, do this step on a PC.
http://www.dotfred.net/PIM/PPCPimBackupV2.8_wm2005.zip
Launch the application. Select the action "Backup" (should be default). Uncheck everything but "Contacts" then hit "Next > >"
Uncheck everything but "Create temp files in memory", hit "Next > >" (very important, don't screw this part up!)
Once the backup has completed, hit "Exit" on the bottom-left
Now connect the phone to your PC (or remove the SD card and put it in an adapter) in order to access the file PimBackup created:
Look for a new file called "PIMBackup_xxxxxxxx.pib" (the 'x's will be numbers representing the date of the backup)
Rename that file, changing the extension from ".pib" to ".zip", and open the ZIP file
Extract the file "contacts_xxxxxxxx.csc" to somewhere on your computer, and change the extension from ".csc" to ".csv"
From here you can import the contacts into Google, but I *highly* suggest taking the time to perform a few extra steps to clean up the data a little bit.
Importing into Google
http://www.tothepc.com/archives/import-contacts-to-gmail-from-csv-vcard-file/
More Cleaning of the Data
You should open your CSV file in either Microsoft Excel, or OpenOffice.org Calc. The CSV is semicolon delimited, meaning you can't just straight up open these files and work with them, instead you have to perform a couple extra steps in either one:
OpenOffice.org Calc
On open of the CSV, check the "semicolon" box, uncheck all the rest.
http://wiki.services.openoffice.org...ide/Starting_opening_saving#Opening_CSV_files
Click to expand...
Click to collapse
WARNING! DOESNT WORK! using this method gives me all number - the first and u cant add it, since its either 0 or +46.
Hello,
Right so tech savy people lets get the creative juices flowing!
Problem?
1. I cant remove the gmail account I added to my phone,sure others cant either.
2. I can technically, WITH A FACTORY RESET, but I dont want to do this.
Ive searched on XDA for a fix to this and Ive ran across an attachment for the HTC Desire. Havnt tried it because its not for the Vibrant. Maybe someone can play around with it and make it work on Vibrant?
AND... Ive came across this code/walkthrough (not for vibrant)
"download from xda developers UniversalAndroot 1.6.1
download the sqlite browser here
install universalandroot.apk on your mobile
run it and get the root access
select the debug from menu->settings->applications->development->usb debugging
plug in the phone on your pc and select the sync method with pc
download the SDK from google android site.
copy the zip content in c:\android
open cmd and go to c:\andorid\tools\
lunch adb.exe shell
you will see the $
write su
look on the screen of your phone. You will be asked to accept the root connection. just accept.
now in cmd you will see #
cd /data/data/com.android.providers.contacts/databases
cat contacts2.db > /sdcard/contacts2.db
open the db from your sdcard with sqlite browser and modify the _sync_ table removing the unwanted account row.
cd /data/data/com.google.android.providers.gmail
delete the unwanted [email protected] file
from /data/system/sync/accounts.xml delete all account rows you don't need more and modify the sequence id
from /data/system/accounts.db remove the row of unwanted account and save the file (as in 17th step)"
Anyhow... anyone can help me and a ton of other people out there?
Thanks,
Tim
Are you rooted? If you are you can use root explorer from the market (paid app) to remove it.
Well I will give that a try. Sounds fairly simple. Now would I have to worry about contact and other data being erased when I try this? =)
And ill still be able to use another google account as the primary right?
Thanks,
Tim
any answers for me?
Becool0130 said:
Well I will give that a try. Sounds fairly simple. Now would I have to worry about contact and other data being erased when I try this? =)
And ill still be able to use another google account as the primary right?
Thanks,
Tim
Click to expand...
Click to collapse
Well did it work?
Sent from my SGH-T959 using XDA Premium App
well man the thing about it is... I dont know what exactly to delete ?
and thanks
[Edit] Discontinued indefinitely. App creation was a little out of my league when I began trying to make it. Then Snapchat started encrypting files in more complicated ways than I had experience with, so I couldn't keep up and unfortunately had to drop all efforts. This project will no longer work and no further effort has been made to continue progress. I apologize for the lack of communication.
There are other resources out there that are still working, however. If you need help finding such things, you're welcome to PM me to ask what I'm referring to.
Discontinued until further notice. Currently working on an app that does all of this and more. For those who previously downloaded this and find it suits their needs for the most part, enjoy it, and consider checking out the app in the future. To others, I will let you know when I release the app. It should be much improved from the current project (and it doesn't require Tasker).
Due to a request to release my tasker project, which silently, neatly, and automatically copies and renames the snapchats you receive to a separate folder, I created this thread. Please try the latest version before asking for help with an issue. Most issues have probably been solved at this point.
There are still bound to be a few kinks in this, but I have spent lots of time getting it to work as much as possible (I am rather proud of the regular expressions that I created myself, even if they might be overkill).
Attached is the project if you just want to import it and let it go to work. Just extract from the zip and import in tasker by clicking a Project at the bottom of the Profiles tab (not the + sign, but an icon to the left of it)
To describe it simply: upon receiving a notification from snapchat and noticing a file change in the directory where the files are stored, it runs a series of commands that copies and saves them to the SDcard/Snapchat/Saves(/Vids) with filenames of "[DATE] - [TIMEMS] [NAME OF SENDER].jpg" (or .mp4). TIMEMS is the time in milliseconds from some time in January 1970. It keeps the task from overwriting your saves and it orders them nicely.
If I end up making any drastic changes, I'll probably come back and include them here. If you take it and make any changes that simplifies the process or makes it work better, feel free to share.
Good luck!
The new version (5-8_v5) has been released (small update from v4)! PLEASE READ BEFORE USING:
Requires Tasker's Accessibility service to be running (Android Settings> Accessibility> Tasker) to catch the notifications—only if you want the usernames to be automatically parsed and used; if you don't turn it on, it'll give you a Variable Query every time it finds a file loaded. Also if you don't turn it on, run the Folder Fixes task on your own, cause it's supposed to run the first time you get a notification.
When this first runs, it assumes that you have the folder/directories created. I don't know when snapchat creates them (during install or after receiving the first snap), so if you get errors related to not finding the file then try re-running the Folder Fixes associated task.
If you see something asking for text with the title Username, that's the Variable Query I mentioned. That's asking for the person's name who sent it, if you know it. If you don't know it at the time of asking, you can put anything in there and it'll copy with that attached (you can always go to the folder and rename it yourself)—otherwise, you can close it (or wait 15 seconds) and rerun the task on your own time.
Besides that, don't touch anything and you should be fine!
Changelog (5-8_v5):
Small update to 5-6 which stops the task and, therefore, the %Last[whatever] variables from being created if the Username variable is unset when it gets to the part where it copies (equating to no copies being made, regardless).
Because of that, now you shouldn't have to delete variables manually.
An unmentioned change in 5-6 was that I changed the flash message. It now flashes the names of each file it creates. This can be turned off—Action 37 in the Copy/Rename tasks.
(v2) Figured out the other reason why duplicates were happening with images. It has now been updated. (The only way this could backfire [same for videos] is if you get two different snaps of the exact same filesize in the same time period—very unlikely)
(v2) Made the Variable Query nicer looking.
(v3) Fixed some variable references that were funky
(v4) Fixed the profiles getting turned off and staying off by accident under certain scenarios
(v5) Changed it so no user input is required to turn off the profiles. If the 4.2+ one runs at all, it stops and turns off the other one.
(v5) Changed the %Last[etc] variables from creating excessive arrays with the same numbers.
Changelog (5-6):
Revamped the way it checks for previously copied snaps. It should be foolproof now, giving no duplicates while still not missing any.
Added an Array Clear for the %Username variable at the end of the copy/rename tasks.
Added a Variable Query if it's going to copy something but %Username is not set (see above for usage)
You can delete the Variable Set %Notification from the Update Username task if you want. It's just there for me so I can check it as a global variable. It isn't referenced anywhere else in the project.
Changelog (5-4_v2):
TONS of error fixes caused by insufficient permissions and directories are now included in the run-once profile.
Added profile (and associated tasks) which should fix the problem that users were having about the video folder not existing
(v2) Optimized the way it turns off profiles. This should automate the above-listed stuff. So even if you have all the profiles on, it should turn off the ones that don't work (unless both of them work). Still, in case the run-once wasn't turning off when done, now it will.
(v2) I consider this the first fully stable release. However, you're welcome to note if it doesn't work for you.
Changelog (5-3):
The received_video_snaps folder will no longer be allowed to be deleted by Snapchat
No more error messages when saving video snaps
If the %Username(1) variable is unset, it will flash a Variable Query, which you should type the person's name in.
The only issue with this is for videos. You will just need to go back to the other screen and load the video again.
If/Then was deleted in the Username catching task to catch multiple usernames better.
Profiles should now only trigger once per file change. I would check from time to time to make sure they are still in the "on" position. It should be fine, but I won't assume anything.
Project icon changed to Snapchat icon
Changelog (4-29):
has been significantly enhanced from the original. It now does a much better job:
Preventing duplicates saves
Not running indefinitely
Running efficiently and quicker
Having less confusing global variables
Picking up the username (currently testing to see if this can be done even better, but I basically need to wait for a certain type of notification. It should be better regardless)
Edit, I think it's safe to delete the If and End If in the Update Username task, which might work for trying to pick up multiple usernames at the same time. This hasn't been extensively tested, but I'm pretty sure it's the correct decision
Automatically catching videos when they're loaded
I also fixed a few rather large errors that might have been in the previous release
Donations are accepted!
NEWEST Version is on the bottom (I'm not really sure why people are downloading the original version at this point... it's just there for reference. I may just remove that one if it tricks people that much...)
I should probably note that this does require root, because you have to change the permissions of the files for tasker to be able to read them.
Hello, is it possible to make one with this conditions with just a simple task...
Whenever I receive new snapchat notification, I then open tasker and just run that particular task.
What I want the task to do is just copy everything and remove the ".nomedia" extension from snapchat folder into a new folder in the memory card.
The reason I want this is that Snapchat isn't so popular in my country. Therefore, I only receive Snapchats once in a while and I only want to save the images sometimes. Not all the times. Moreover, i dont wanna keep tasker running in the background.
Thanks a lot!!
rfkw said:
Hello, is it possible to make one with this conditions with just a simple task...
Whenever I receive new snapchat notification, I then open tasker and just run that particular task.
What I want the task to do is just copy everything and remove the ".nomedia" extension from snapchat folder into a new folder in the memory card.
The reason I want this is that Snapchat isn't so popular in my country. Therefore, I only receive Snapchats once in a while and I only want to save the images sometimes. Not all the times. Moreover, i dont wanna keep tasker running in the background.
Thanks a lot!!
Click to expand...
Click to collapse
That should be rather simple. If you wanted to use my project, you would do that by deleting or turning off all the profiles in the project, and then you'd only need the tasks named Run & Rename Snapchat Image and Run & Rename Snapchat Video and get rid of some of the extra features that you don't need. For example, you could get rid of a bunch of the steps in the tasks.
[deleted]
This would technically work for both images and videos, but to get it to actually find the videos, you'd have to find a way to run the task while snapchat is loaded and the video says "Tap to View". I'd suggest setting up a gesture.
By the way, in the project I have, tasker only runs when each profile is active. That's why they're there, to prevent the battery drain that would otherwise occur. The profile states are rather infrequent (when you receive a snapchat notification, and when a file is changed in the directories listed), so I haven't really noticed battery drain from that.
You're also aware that you have to do this BEFORE you view the snapchat, right? Otherwise, you could just take a screenshot...
An alternative to the above method would be to use the Copy Dir command on those directories, or the FolderSync app, but you'd still need to change or add the correct file extension (jpg and mp4). Fiddle around with it; you might be able to figure out a way to add the extension.
Disregard below, I figured it out, it wasn't so clear about long pressing the icons at the bottom of the screen to get to the projects dialog. Done now! Thank you shenkenstein
I'm unable to import the prj file. I tried multiple things until I just changed it from snap.prj.xml to snap.prf.xml and the Tasker was able to see it in the import dialog. But once I select it I get:
Error: the import contains more than one profiles
I'm thinking there's something missing in my Tasker. I keep hearing references to 'projects' but no such tab exists in my UI. I've gone to preferences and unchecked 'beginner mode' with very little changes.
What am I missing?
shenkenstein said:
An alternative to the above method would be to use the Copy Dir command on those directories, or the FolderSync app, but you'd still need to change or add the correct file extension (jpg and mp4). Fiddle around with it; you might be able to figure out a way to add the extension.
Click to expand...
Click to collapse
I actually tried setting up a simple copy dir commad. Just copy dir from the receivedsnapchat folder to a random folder on my sdcard whenever I run Snapchat.
However, it doesnt seem to work. I guess it's something to do with the chmod thing which I'm not familiar with. Am I right?
Thanks for your help tho! I'll try out the steps you listed. Hopefully I can get it to work.
---------- Post added at 01:13 PM ---------- Previous post was at 12:18 PM ----------
shenkenstein said:
On second thought, what you want would just be easier to create a task with:
A1: List Files [ Dir:/data/data/com.snapchat.android/cache/received_image_snaps Match: Include Hidden Files: On Variable:%nomedia Continue Task After Error: On ]
A2: List Files [ Dir:/data/media/Android/data/com.snapchat.android/cache/received_video_snaps Match: Include Hidden Files: On Variable:%nomediavid Continue Task After Error: On ]
A3: Run Shell [ Command:chmod 777 %nomedia() Timeout (Seconds):0 Use Root: On Store Output In: Store Errors In: Store Result In: Continue Task After Error: On ]
A4: For [ Variable:%filestocopy Items:%nomedia() ] --- don't forget the () after nomedia
A5: Copy File [ From:%filestocopy To:Snapchat/Saves/%TIMEMS.jpg Use Root: Off Continue Task After Error: On] -- here's where I have an issue, because I'm pretty sure you need to tell it the original filename of the file, minus the nomedia part (the variables stored in %nomedia will be the entire filename, including directories). That's why I find it easier to create my own filename, so I'd use something like %TIMEMS as I have listed. You could also change the directory here. You COULD keep the old filename using tasker's variable search replace function with a regex to select everything but the nomedia part, but I think that's not worth the effort.
A6: End For
Click to expand...
Click to collapse
Alright managed to get it working. Currently for A5, I've set it to To:New Folder. This new folder is a folder on my sdcard.
The question I have is, if I'm using %TIMEMS.jpg, how would it rename the files? Would it be sequenced or will all the files have the same name?
Would it be 1TIMEMS.jpg, and next pic would be 2TIMEMS.jpg, 3TIMEMS.jpg and so on? Or would it be the original filename with TIMEMS at the back, ie. "adlfkadlfhadlfTIMEMS.jpg"?
Thanks!!
rfkw said:
Alright managed to get it working. Currently for A5, I've set it to To:New Folder. This new folder is a folder on my sdcard.
The question I have is, if I'm using %TIMEMS.jpg, how would it rename the files? Would it be sequenced or will all the files have the same name?
Would it be 1TIMEMS.jpg, and next pic would be 2TIMEMS.jpg, 3TIMEMS.jpg and so on? Or would it be the original filename with TIMEMS at the back, ie. "adlfkadlfhadlfTIMEMS.jpg"?
Thanks!!
Click to expand...
Click to collapse
You can see for yourself by doing a flash %TIMEMS. It always comes up with different numbers, such as 1367028766502 or 1367028766586. I don't think tasker is fast enough to do multiple commands in the same millisecond. Does that make sense?
And chmod is the shell command that gives the files permission to be read, write, and executed. You can read about it online if you really want, but if it's not working you either don't have root or didn't check use root. In fact, the Copy Dir alternative would probably require use root to be checked as well, but again, because we're wanting to change filenames, I don't think that's the command we want.
Bumping because of new version.
You can delete the old project and add this one if you have the older version. Deleting a project is done much the same way adding one is.
Vid done!
I installed and when I load a video, I get a message "Vid Done" When I exit Snapchat, I get a Tasker Error, List Files: file not found: /data/media/Android/com.snapchat.android/cache/Received video snaps. What am I doing wrong? I'm a noob, sorry if it's a dumb question.
Hi! I've imported it to Tasker, and everything seems fine there. However, it simply won't do anything and I've tried everything with my extremely limited knowledge.
I receive a Snap, but nothing shows up in /storage/sdcard0/Snapchat/Saves/(or Vids depending). Running Xperia P, with JB 4.1.2
I've checked that the images or videos do show up in the folders specified by the project, it just seems like it doesn't recognize I have gotten a snap?
Dahlmo said:
Hi! I've imported it to Tasker, and everything seems fine there. However, it simply won't do anything and I've tried everything with my extremely limited knowledge.
I receive a Snap, but nothing shows up in /storage/sdcard0/Snapchat/Saves/(or Vids depending). Running Xperia P, with JB 4.1.2
I've checked that the images or videos do show up in the folders specified by the project, it just seems like it doesn't recognize I have gotten a snap?
Click to expand...
Click to collapse
Do you have tasker enabled in accessibility settings? If not, then the profile won't get the username from the notification. If you don't want to enable it, you can add a Variable Query for Username(1) in the copying task. Then, that'll always ask you for that variable when it finds the file added. Just put whatever you want there (though it's designed for the person's name)
As my project is set up, the file won't copy if the username isn't set, and it won't set if tasker can't access the notifications.
I've just added:
If %Username(1) ! Set
Variable Query: Variable %Username(1)
End If
to my copy tasks right before the For, For, Run Shell, etc... commands. That should take care of that situation, if it's the problem, and if I release a new version it'll have it :good:
wdgewood said:
I installed and when I load a video, I get a message "Vid Done" When I exit Snapchat, I get a Tasker Error, List Files: file not found: /data/media/Android/com.snapchat.android/cache/Received video snaps. What am I doing wrong? I'm a noob, sorry if it's a dumb question.
Click to expand...
Click to collapse
No, it's not a dumb question. It's because the File Modified profile picks up when Snapchat deletes the file as well as when the file is copied by tasker (but the task that gets that error message is what allows it to not run every time this happens). It's not a significant error, UNLESS you aren't seeing it copy the files. You can turn those flash error messages off in Tasker Preferences>Action>Flash Problems.
Edit: I just fixed the error message from displaying even with the flash problems option checked. Go to the SnapVid File Added profile, click the File Modified part of it, and add /received_video_snaps/ after /cache/ so that it looks like "/data/media/Android/com.snapchat.android/cache/received_media_snaps/" without the quotes. I'm surprised I didn't notice that myself. Haha, thanks for pointing it out. That'll should also prevent the task from running while you're sending videos (because I saw a folder named sending_video_snaps there too before it deleted it again).
Edit 2: Nevermind, the error still came up, but it's only when snapchat deletes the folder. Also, my profile doesn't activate with that folder added, which is probably why I left it at /cache/. What's happening is the Video File Ready task is trying to List Files and it's not finding the folder in which it's supposed to search. I don't know any way around this because it keeps deleting the folder, even if you add it manually. --more on this below--
shenkenstein said:
Do you have tasker enabled in accessibility settings? If not, then the profile won't get the username from the notification. If you don't want to enable it, you can add a Variable Query for Username1 in the copying task. Then, that'll always ask you for that variable when it finds the file added. Just put whatever you want there (though it's designed for the person's name)
As my project is set up, the file won't copy if the username isn't set, and it won't set if tasker can't access the notifications.
Click to expand...
Click to collapse
After enabling it in the accessibility settings it still isn't working fully.
In Tasker, I imported the SNAP.prj.xml file, and the profiles "Snapchat Notification, Snap File Added and SnapVid File Added" are all set to on. Tasker says there are "no active profiles" but I assume that is due to the snap.prj.xml file being under the "two people" tab, and not the "house" tab.
I see that under vars on the home tab I have "%Username1 someoneIrecievedfrom" so something must be work. Just not getting any files I assume. Again, this (adding variables and such) is out of my league, so I apologize for seeming a bit technically impaired.
Dahlmo said:
After enabling it in the accessibility settings it still isn't working.
In Tasker, I imported the SNAP.prj.xml file, and the profiles "Snapchat Notification, Snap File Added and SnapVid File Added" are all set to on. Tasker says there are "no active profiles" but I assume that is due to the snap.prj.xml file being under the "two people" tab, and not the "house" tab.
I see that under vars on the home tab I have "%Username1 someoneIrecievedfrom" so something must be work. Just not getting any files I assume.
Click to expand...
Click to collapse
If you run the Run & Rename Snapchat Image task by itself, does it work then?
Hmm. Don't worry about the username variable, then. The "no active profiles" is fine, because these profiles are set to be active only for the event itself (which is like a split second long). The only other thing I can think of, without seeing your run log, is if you don't have root or haven't given Tasker root access. So, also try turning on the Run Log and noting where you get an error.
Breakthrough!
I just had a major breakthrough with the videos folder deletion problem (which ends up creating errors and stuff). [deleted]
That literally disables Snapchat's ability to delete folders in the cache folder, but it allows it to create new folders and files within the new folders. Theoretically, you could also do this same function to the received_video_snaps folder, and it would never be able to delete the files within the folder. Unfortunately, if you did that then every time you hit "load" in snapchat, it would load a new file into the folder, so you'd probably get multiples. But that could be done to the images folder without any issues, I think.
[deleted]
Dahlmo said:
After enabling it in the accessibility settings it still isn't working fully.
In Tasker, I imported the SNAP.prj.xml file, and the profiles "Snapchat Notification, Snap File Added and SnapVid File Added" are all set to on. Tasker says there are "no active profiles" but I assume that is due to the snap.prj.xml file being under the "two people" tab, and not the "house" tab.
I see that under vars on the home tab I have "%Username1 someoneIrecievedfrom" so something must be work. Just not getting any files I assume. Again, this (adding variables and such) is out of my league, so I apologize for seeming a bit technically impaired.
Click to expand...
Click to collapse
I'm having this issue too. I have a rooted Galaxy Nexus and have enabled Tasker in Accessibility settings. I've attempted to run the ''Run and Rename Snapchat Image' when I had a pending one and it did not work. I could, however, see the file in the directory (/data/data/com.snapchat.android/cache/received_image_snaps) when I checked it out via Root Explorer. I also could see my contact's name in the %Username value.
My Run Log from when I manually run that task with an active Snapchat is attached with the 5-3 profile.
a10waveracer said:
I'm having this issue too. I have a rooted Galaxy Nexus and have enabled Tasker in Accessibility settings. I've attempted to run the ''Run and Rename Snapchat Image' when I had a pending one and it did not work. I could, however, see the file in the directory (/data/data/com.snapchat.android/cache/received_image_snaps) when I checked it out via Root Explorer. I also could see my contact's name in the %Username value.
My Run Log from when I manually run that task with an active Snapchat is attached with the 5-3 profile.
Click to expand...
Click to collapse
Thanks for the Run Log.
Well, your answer is that the List Files command (label List nomedia) is failing to find the files in the folder. I can think of only two possible reasons for this (and I think it's #1):
1. Check the permissions of the folder /received_image_snaps/ and tell me if it's missing read permissions for group or other (I think Tasker falls under Other, but I forget). If it is, try manually adding those permissions (check the boxes); you might want to add permissions to execute as well, just in case. I can set up another command in the run-once profile to solve this for everyone if it fixes it for you, so let me know.
2. In the List nomedia command, I have it set up to match any files in there which have a character or more followed by .nomedia (this is under Match, listed as "+.nomedia"). If the files you see in that folder don't match this regex, it won't list them. You can safely delete this entirely without any negative side-effects. Nothing gets put in that folder that doesn't match that regex, anyway, for me.
shenkenstein said:
Thanks for the Run Log.
Well, your answer is that the List Files command (label List nomedia) is failing to find the files in the folder. I can think of only two possible reasons for this (and I think it's #1):
1. Check the permissions of the folder /received_image_snaps/ and tell me if it's missing read permissions for group or other (I think Tasker falls under Other, but I forget). If it is, try manually adding those permissions (check the boxes); you might want to add permissions to execute as well, just in case. I can set up another command in the run-once profile to solve this for everyone if it fixes it for you, so let me know.
2. In the List nomedia command, I have it set up to match any files in there which have a character or more followed by .nomedia (this is under Match, listed as "+.nomedia"). If the files you see in that folder don't match this regex, it won't list them. You can safely delete this entirely without any negative side-effects. Nothing gets put in that folder that doesn't match that regex, anyway, for me.
Click to expand...
Click to collapse
Yeah, the permissions were not set to allow it reading. Now it gets to the end before it fails. I've uploaded the run log as well as a screenshot of the error it pops out. It's worth noting that the file it "can't find" both exists and has 777 permissions set.
a10waveracer said:
Yeah, the permissions were not set to allow it reading. Now it gets to the end before it fails. I've uploaded the run log as well as a screenshot of the error it pops out. It's worth noting that the file it "can't find" both exists and has 777 permissions set.
Click to expand...
Click to collapse
Strange. I normally only see the copy file error if the file itself doesn't have permissions (which would be the result of the previous command not working) or if the %Username1 variable doesn't exist, but you noted clearly that it did work, and the variable should still be there from when it found it earlier.
And I think I just duplicated this error. It's so mundane that this is the case, but it's quite a big issue, so I'll have to update the version in a bit. Try adding a Saves folder in your Snapchat folder in your sd card. I was about to doubt this would be the case until I tried a different folder in my task.
Though, I'm confused why your screen still showed that error. Something's still awry I think...
Hi, I tried remove some games and scopes but their are still in my phone. Do you know where are installed? I wanna delete with console but I don't know where are the files. Locate command doesn't works amb find command is not enough.
This is a pic, an image is better than a text from a non english XD
https://plus.google.com/photos/1105...6131618823196190386&oid=110575007060381651511
Solved,
User manual: Deleting (Uninstalling) Scopes and Apps
You can’t delete the main Scopes and apps that were on your phone when you took it out of the box. All the others – the ones you have downloaded and installed yourself – can be deleted (or uninstalled) by visiting the Ubuntu Store and searching for your app or Scope. In the preview screen for the Scope or app you want to delete, you will see options to either update or uninstall it. Tap ‘Uninstall’ and let Ubuntu do the rest. The quickest way to access the preview screen for an app is to give a long press on the icon in the Apps Scope.
When deleting an application, their data will still remain on your phone, even for user-installed apps.
Their data can be found in the following places:
Code:
~/.local/share/<APP ID>
~/.config/<APP ID>
Thanks Nikwen
CesarMR said:
Thanks Nikwen
Click to expand...
Click to collapse
You're welcome.
Goal is for one Placeholder for Current Up to Date fix for those UNABLE to restore Whastapp to a new phone with Larger File Sizes. Whastapp does not seem to respond and the old options do not work.
So for those on an S22 / Android 12+ I have the up to date current solution after a few days and endless backup and restores and then proceeding to be locked out.
Set Display timer to 10 minutes and do not let your screen go blank.
Follow Exactly: 2 Options one for those media files and wanted to keep the dates and one for those that done care.
Part 1
Backup your Whatsapp folder into a .Rar / Zip File. If you have a phone with An SD card just send this copy to your SD Card. Then plug that SD card into your computer Rar the file.- Ensure when "Rar'ing" you set to Store Creation / Access time
NO SD CARD: Upload to Google Drive (it should keep the dates as what you have.- Download the file to your computer or sync your computer to Google Drive and download as a Rar.
Part 2. ONLY IF DATES ARE WRONG (Otherwise go to Part 3 )
If dates are wrong you can follow my thread here:https://forum.xda-developers.com/t/...le-preserving-the-dates.3423480/post-86587561
- If you backed up your Whatsapp Folder over time you can use https://www.scootersoftware.com/ Beyond Compare to VERY easily transfer the dates from your old to the new so your Whatsapp on your new phone doesnt just change all of the dates to todays.
Part 3. PREPARE TRANSFER
On your new phone Make sure you have the apps:A. RAR LabsB. MiXPlorer or Solid Explorer or any file viewerC. Backup of Whatsapp downloaded
Install Rar
Download Whatsapp
Open 1 time then Force Close Program
Open File Explorer (see Above MIX/Solid, etc)
Part 4 VERIFY Directories Created / Made
android> Media Folder
Created folder Labeled"com.whatsapp"
Sub Folder"WhatsaApp
Part 5. Extract Previous backup into New Folder
Open Rar File of Whatsap that you created
Extract Everything in the folder into:
Internal Storage/Android/media/com.whatsapp/Whatsapp
Copy the files ("msgstore.db.crypt14", "msgstore-YYYY-MM-DD.1.db.crypt14"...)
Change the date of the backup you want to use to msgstore.db.crypt14 (If the number is different change it to what you have currently)
When done Extracting change main Folder from
com.whatsapp to com.whastappOLD
Create new folder com.whatsapp
Copy all folders inside com.whatsappOLD to new folder
The reason for this is that if you delete or make an error during this process you lose all of the data so were saving you time in case you make an error and have to start gain. I had to do this 4x to get it right
Part 6 Installation
Delete / Remove all Google accounts and Contacts folder
Put new Sim Card into your new phone
Open Whatsapp and verify your phone numer (you have to use the same number as on your old smartphone)
Once Verified Put your phone into Airplane Mode
If next part does not work for immediate backup: When it asked you to grant access to your files for Google drive, ignore the message and instead close the app (press □ and wipe Whatsapp away)
If asked for access to files / Google Drive say Yes
When asked to give access to contacts say NO
When asked to have access to files say YES
You should then see Local Backup found. If your file is LARGE you need to WAIT until it shows the file size (mine took 25 minutes). Just ensure your phone is set to a long display timer
Part 7 BACK UP Restore Options (still in Airplane Mode FYI)
A. If you see a restore button:
When you FINALLY SEE the display size (should be large and have the restore date) of your backup click Restore
Once it begins Disable Airplane Mode
Ignore the message regarding Google Drive and, when your backup has been restored (look at the progress bar at the bottom in the background). It should say complete / 100% and provide you a button for next
Whatsapp will say Initializing. Give it a few minutes.
If stalled close the app
Open Whatsapp again and you should see now your old and new messages alltogether!
B. If No Restore Button:
If no restore button shows and you have Verfiy by Code (sms/Telephon)
Close App
Re-open app
Turn on Airplane Mode
When asked for Google Drive option to view contacts / folders/ file system (all in one question). Click Yes
When asked SEPARATELY for Contact Permission: Say NO <---- VERY IMPORTANT
you should have no contacts though so it should not ask,
Storage Permission: CLICK YES
If there is no restore option you, You should now see your local backup, press "restore backup" when it SHOWS THE FULL FIlE SIZE NOT BEFORE.
Disable airplane mode and activate Wifi / mobile internet. 9. Ignore the message regarding Google Drive and, when your backup has been restored (look at the progress bar at the bottom in the background), close the app
Open Whatsapp again and you should see now your old and new messages alltogether!
C. If neither work above for you
Disable airplane mode and activate Wifi / mobile internet.
You will see your local storage behind the popup saying allow google drive.
Wait until it shows the full flile Size
You will need to press add account and have your fingers ready for instant tapping between add account and instant tapping restore button
For some it has been 10-30 times doing this practice, you will luckily hit restore button
When progress bar says 100% it is restored.
You will still see app asking google drive option, don't click skip (this will reset the app ,leading to nothing restored)
When the app is asking to restore from google drive AND YOU HAVE HIT 100%, close the app right away (very important)
Open the app, and the app will ask you to set name, set your name
Initializing may take awhile. If it over 5-10 min ensure that airplane mode is off. Otherwise close app and try again.
If nothing works. Uninstall Whatsapp. Make the folders manually, keep only 1 data base file in the Database directory and transfer the internal structure of com.whatsappOLD into the new directory.
It is important to have NO GOOGLE accounts nor Contact files. You can add these after.
Key thing is to let it Compute the size of the folder. If it cannot compute, it does not work. From there turn on the internet and click retry.
Shout out to Merlin Behling
https://stackoverflow.com/questions/67735037/whatsapp-cannot-detect-local-backup-
and Rahil2009
https://www.reddit.com/r/whatsapp/comments/np2zjp
XDA for those moving pics to a new phone:https://forum.xda-developers.com/t/...erving-the-dates.3423480/page-3#post-86588833
My updated method as of 3-24-2022 has worked on over 30 phones for those that had issues. I will try to respond when I can but I need to stress this works on the latest S22 Ultra. I even spent more time looking at years of whatsap backups and using Beyond Compare 4 was able to get all of my photos and files updated on my new phone. If you have old photos with wrong dates I highly recommend that program
i found a slightly quicker way, this works assuming that BOTH your databases folders (original and new) have the same .crypt extensions (in my case it was .crypt14)
1) back up your ORIGINAL WhatsApp files from either
\SDCARD\WhatsApp
or
\SDCARD\Android\media\com.whatsapp\WhatsApp
not my fault if you skip this step, you been warned, always make sure to have your backup.
2) install the latest Whatsapp
3)
If asked for access to files / Google Drive say Yes
When asked to give access to contacts say YES
When asked to have access to files say YES
go ahead and send anyone a whatsapp message through whatsapp (this step cant be skipped or the db.crypt files wont be created)
4) go to Settings>Chats>ChatBackup
Select your google account
Backup using cellular <Enabled> ( this one is optional, if you are using WiFi you can use Wifi)
Include Video <Enabled>
Backup to Google Drive <Only When I tap Backup>
5 )Now COPY (not move, but COPY) ALL the contents of your original backed up WhatsAPP folder into the following directory
\SDCARD\Android\media\com.whatsapp\WhatsApp
6) this is the tricky part, you are going to have to do this quick. NOTE: I did this using a computer since it was much faster to drag over and copy the files.
With the INTERNET access enabled and working you are QUICKLY going to choose Settings>Chats>ChatBackup>"BACKCUP" as soon as you click backup you need to QUICKLY COPY both the Databases and Backups folder from your original into the \SDCARD\Android\media\com.whatsapp\WhatsApp folder
it will ask you if you want to overwrite, just hurry and click yes. it should overwrite the files, i did this in about 2 seconds roughly.
whatsapp will start backing up and let it finish to 100%. once done exit out of whatsapp
7) now COMPLETELY uninstall whatsapp (this is to make sure the cache/data is gone and all related files). Once unisntalled then install it again. this should take you to the setup process again. Click yes to everything and when it asks you to restore choose from your google account choose your google account and it should start restoring. that it, now everything should be restored.
dpoverlord said:
Goal is for one Placeholder for Current Up to Date fix for those UNABLE to restore Whastapp to a new phone with Larger File Sizes. Whastapp does not seem to respond and the old options do not work.
So for those on an S22 / Android 12+ I have the up to date current solution after a few days and endless backup and restores and then proceeding to be locked out.
Set Display timer to 10 minutes and do not let your screen go blank.
Follow Exactly: 2 Options one for those media files and wanted to keep the dates and one for those that done care.
Part 1
Backup your Whatsapp folder into a .Rar / Zip File. If you have a phone with An SD card just send this copy to your SD Card. Then plug that SD card into your computer Rar the file.- Ensure when "Rar'ing" you set to Store Creation / Access time
NO SD CARD: Upload to Google Drive (it should keep the dates as what you have.- Download the file to your computer or sync your computer to Google Drive and download as a Rar.
Part 2. ONLY IF DATES ARE WRONG (Otherwise go to Part 3 )
If dates are wrong you can follow my thread here:https://forum.xda-developers.com/t/...le-preserving-the-dates.3423480/post-86587561
- If you backed up your Whatsapp Folder over time you can use https://www.scootersoftware.com/ Beyond Compare to VERY easily transfer the dates from your old to the new so your Whatsapp on your new phone doesnt just change all of the dates to todays.
Part 3. PREPARE TRANSFER
On your new phone Make sure you have the apps:A. RAR LabsB. MiXPlorer or Solid Explorer or any file viewerC. Backup of Whatsapp downloaded
Install Rar
Download Whatsapp
Open 1 time then Force Close Program
Open File Explorer (see Above MIX/Solid, etc)
Part 4 VERIFY Directories Created / Made
android> Media Folder
Created folder Labeled"com.whatsapp"
Sub Folder"WhatsaApp
Part 5. Extract Previous backup into New Folder
Open Rar File of Whatsap that you created
Extract Everything in the folder into:
Internal Storage/Android/media/com.whatsapp/Whatsapp
Copy the files ("msgstore.db.crypt14", "msgstore-YYYY-MM-DD.1.db.crypt14"...)
Change the date of the backup you want to use to msgstore.db.crypt14 (If the number is different change it to what you have currently)
When done Extracting change main Folder from
com.whatsapp to com.whastappOLD
Create new folder com.whatsapp
Copy all folders inside com.whatsappOLD to new folder
The reason for this is that if you delete or make an error during this process you lose all of the data so were saving you time in case you make an error and have to start gain. I had to do this 4x to get it right
Part 6 Installation
Delete / Remove all Google accounts and Contacts folder
Put new Sim Card into your new phone
Open Whatsapp and verify your phone numer (you have to use the same number as on your old smartphone)
Once Verified Put your phone into Airplane Mode
If next part does not work for immediate backup: When it asked you to grant access to your files for Google drive, ignore the message and instead close the app (press □ and wipe Whatsapp away)
If asked for access to files / Google Drive say Yes
When asked to give access to contacts say NO
When asked to have access to files say YES
You should then see Local Backup found. If your file is LARGE you need to WAIT until it shows the file size (mine took 25 minutes). Just ensure your phone is set to a long display timer
Part 7 BACK UP Restore Options (still in Airplane Mode FYI)
A. If you see a restore button:
When you FINALLY SEE the display size (should be large and have the restore date) of your backup click Restore
Once it begins Disable Airplane Mode
Ignore the message regarding Google Drive and, when your backup has been restored (look at the progress bar at the bottom in the background). It should say complete / 100% and provide you a button for next
Whatsapp will say Initializing. Give it a few minutes.
If stalled close the app
Open Whatsapp again and you should see now your old and new messages alltogether!
B. If No Restore Button:
If no restore button shows and you have Verfiy by Code (sms/Telephon)
Close App
Re-open app
Turn on Airplane Mode
When asked for Google Drive option to view contacts / folders/ file system (all in one question). Click Yes
When asked SEPARATELY for Contact Permission: Say NO <---- VERY IMPORTANT
you should have no contacts though so it should not ask,
Storage Permission: CLICK YES
If there is no restore option you, You should now see your local backup, press "restore backup" when it SHOWS THE FULL FIlE SIZE NOT BEFORE.
Disable airplane mode and activate Wifi / mobile internet. 9. Ignore the message regarding Google Drive and, when your backup has been restored (look at the progress bar at the bottom in the background), close the app
Open Whatsapp again and you should see now your old and new messages alltogether!
C. If neither work above for you
Disable airplane mode and activate Wifi / mobile internet.
You will see your local storage behind the popup saying allow google drive.
Wait until it shows the full flile Size
You will need to press add account and have your fingers ready for instant tapping between add account and instant tapping restore button
For some it has been 10-30 times doing this practice, you will luckily hit restore button
When progress bar says 100% it is restored.
You will still see app asking google drive option, don't click skip (this will reset the app ,leading to nothing restored)
When the app is asking to restore from google drive AND YOU HAVE HIT 100%, close the app right away (very important)
Open the app, and the app will ask you to set name, set your name
Initializing may take awhile. If it over 5-10 min ensure that airplane mode is off. Otherwise close app and try again.
If nothing works. Uninstall Whatsapp. Make the folders manually, keep only 1 data base file in the Database directory and transfer the internal structure of com.whatsappOLD into the new directory.
It is important to have NO GOOGLE accounts nor Contact files. You can add these after.
Key thing is to let it Compute the size of the folder. If it cannot compute, it does not work. From there turn on the internet and click retry.
Shout out to Merlin Behling
https://stackoverflow.com/questions/67735037/whatsapp-cannot-detect-local-backup-
and Rahil2009
https://www.reddit.com/r/whatsapp/comments/np2zjp
XDA for those moving pics to a new phone:https://forum.xda-developers.com/t/...erving-the-dates.3423480/page-3#post-86588833
My updated method as of 3-24-2022 has worked on over 30 phones for those that had issues. I will try to respond when I can but I need to stress this works on the latest S22 Ultra. I even spent more time looking at years of whatsap backups and using Beyond Compare 4 was able to get all of my photos and files updated on my new phone. If you have old photos with wrong dates I highly recommend that program
Click to expand...
Click to collapse
Sir, thank you very much. This method works with some shortcuts as I have beeen migrating from Androis 7.1.1 to LineAge 19.1 android 12 on my poor Xperia Z5. I really underestimated the amount of jump from 7.1.1 to 12 and the complications it would bring together. Anyhow, I followed your steps with some small modifications such as I did not make .zip as my old whatsapp folder was already in the same device but at /internal storage/Whatsapp tree. So, I just followed parts 1,3,4,5 and 6 and 7A. Sony camera is still laggy and out of focus , very difficult to signin whatsapp web with QR code.
XeoNoX said:
i found a slightly quicker way, this works assuming that BOTH your databases folders (original and new) have the same .crypt extensions (in my case it was .crypt14)
1) back up your ORIGINAL WhatsApp files from either
\SDCARD\WhatsApp
or
\SDCARD\Android\media\com.whatsapp\WhatsApp
not my fault if you skip this step, you been warned, always make sure to have your backup.
2) install the latest Whatsapp
3)
If asked for access to files / Google Drive say Yes
When asked to give access to contacts say YES
When asked to have access to files say YES
go ahead and send anyone a whatsapp message through whatsapp (this step cant be skipped or the db.crypt files wont be created)
4) go to Settings>Chats>ChatBackup
Select your google account
Backup using cellular <Enabled> ( this one is optional, if you are using WiFi you can use Wifi)
Include Video <Enabled>
Backup to Google Drive <Only When I tap Backup>
5 )Now COPY (not move, but COPY) ALL the contents of your original backed up WhatsAPP folder into the following directory
\SDCARD\Android\media\com.whatsapp\WhatsApp
6) this is the tricky part, you are going to have to do this quick. NOTE: I did this using a computer since it was much faster to drag over and copy the files.
With the INTERNET access enabled and working you are QUICKLY going to choose Settings>Chats>ChatBackup>"BACKCUP" as soon as you click backup you need to QUICKLY COPY both the Databases and Backups folder from your original into the \SDCARD\Android\media\com.whatsapp\WhatsApp folder
it will ask you if you want to overwrite, just hurry and click yes. it should overwrite the files, i did this in about 2 seconds roughly.
whatsapp will start backing up and let it finish to 100%. once done exit out of whatsapp
7) now COMPLETELY uninstall whatsapp (this is to make sure the cache/data is gone and all related files). Once unisntalled then install it again. this should take you to the setup process again. Click yes to everything and when it asks you to restore choose from your google account choose your google account and it should start restoring. that it, now everything should be restored.
Click to expand...
Click to collapse
Hi XeoNoX,
May I know your methods work on old phone number or new phone number? Ahh.. I guess it's for a new number.
dpoverlord said:
Goal is for one Placeholder for Current Up to Date fix for those UNABLE to restore Whastapp to a new phone with Larger File Sizes. Whastapp does not seem to respond and the old options do not work.
So for those on an S22 / Android 12+ I have the up to date current solution after a few days and endless backup and restores and then proceeding to be locked out.
Set Display timer to 10 minutes and do not let your screen go blank.
Follow Exactly: 2 Options one for those media files and wanted to keep the dates and one for those that done care.
Part 1
Backup your Whatsapp folder into a .Rar / Zip File. If you have a phone with An SD card just send this copy to your SD Card. Then plug that SD card into your computer Rar the file.- Ensure when "Rar'ing" you set to Store Creation / Access time
NO SD CARD: Upload to Google Drive (it should keep the dates as what you have.- Download the file to your computer or sync your computer to Google Drive and download as a Rar.
Part 2. ONLY IF DATES ARE WRONG (Otherwise go to Part 3 )
If dates are wrong you can follow my thread here:https://forum.xda-developers.com/t/...le-preserving-the-dates.3423480/post-86587561
- If you backed up your Whatsapp Folder over time you can use https://www.scootersoftware.com/ Beyond Compare to VERY easily transfer the dates from your old to the new so your Whatsapp on your new phone doesnt just change all of the dates to todays.
Part 3. PREPARE TRANSFER
On your new phone Make sure you have the apps:A. RAR LabsB. MiXPlorer or Solid Explorer or any file viewerC. Backup of Whatsapp downloaded
Install Rar
Download Whatsapp
Open 1 time then Force Close Program
Open File Explorer (see Above MIX/Solid, etc)
Part 4 VERIFY Directories Created / Made
android> Media Folder
Created folder Labeled"com.whatsapp"
Sub Folder"WhatsaApp
Part 5. Extract Previous backup into New Folder
Open Rar File of Whatsap that you created
Extract Everything in the folder into:
Internal Storage/Android/media/com.whatsapp/Whatsapp
Copy the files ("msgstore.db.crypt14", "msgstore-YYYY-MM-DD.1.db.crypt14"...)
Change the date of the backup you want to use to msgstore.db.crypt14 (If the number is different change it to what you have currently)
When done Extracting change main Folder from
com.whatsapp to com.whastappOLD
Create new folder com.whatsapp
Copy all folders inside com.whatsappOLD to new folder
The reason for this is that if you delete or make an error during this process you lose all of the data so were saving you time in case you make an error and have to start gain. I had to do this 4x to get it right
Part 6 Installation
Delete / Remove all Google accounts and Contacts folder
Put new Sim Card into your new phone
Open Whatsapp and verify your phone numer (you have to use the same number as on your old smartphone)
Once Verified Put your phone into Airplane Mode
If next part does not work for immediate backup: When it asked you to grant access to your files for Google drive, ignore the message and instead close the app (press □ and wipe Whatsapp away)
If asked for access to files / Google Drive say Yes
When asked to give access to contacts say NO
When asked to have access to files say YES
You should then see Local Backup found. If your file is LARGE you need to WAIT until it shows the file size (mine took 25 minutes). Just ensure your phone is set to a long display timer
Part 7 BACK UP Restore Options (still in Airplane Mode FYI)
A. If you see a restore button:
When you FINALLY SEE the display size (should be large and have the restore date) of your backup click Restore
Once it begins Disable Airplane Mode
Ignore the message regarding Google Drive and, when your backup has been restored (look at the progress bar at the bottom in the background). It should say complete / 100% and provide you a button for next
Whatsapp will say Initializing. Give it a few minutes.
If stalled close the app
Open Whatsapp again and you should see now your old and new messages alltogether!
B. If No Restore Button:
If no restore button shows and you have Verfiy by Code (sms/Telephon)
Close App
Re-open app
Turn on Airplane Mode
When asked for Google Drive option to view contacts / folders/ file system (all in one question). Click Yes
When asked SEPARATELY for Contact Permission: Say NO <---- VERY IMPORTANT
you should have no contacts though so it should not ask,
Storage Permission: CLICK YES
If there is no restore option you, You should now see your local backup, press "restore backup" when it SHOWS THE FULL FIlE SIZE NOT BEFORE.
Disable airplane mode and activate Wifi / mobile internet. 9. Ignore the message regarding Google Drive and, when your backup has been restored (look at the progress bar at the bottom in the background), close the app
Open Whatsapp again and you should see now your old and new messages alltogether!
C. If neither work above for you
Disable airplane mode and activate Wifi / mobile internet.
You will see your local storage behind the popup saying allow google drive.
Wait until it shows the full flile Size
You will need to press add account and have your fingers ready for instant tapping between add account and instant tapping restore button
For some it has been 10-30 times doing this practice, you will luckily hit restore button
When progress bar says 100% it is restored.
You will still see app asking google drive option, don't click skip (this will reset the app ,leading to nothing restored)
When the app is asking to restore from google drive AND YOU HAVE HIT 100%, close the app right away (very important)
Open the app, and the app will ask you to set name, set your name
Initializing may take awhile. If it over 5-10 min ensure that airplane mode is off. Otherwise close app and try again.
If nothing works. Uninstall Whatsapp. Make the folders manually, keep only 1 data base file in the Database directory and transfer the internal structure of com.whatsappOLD into the new directory.
It is important to have NO GOOGLE accounts nor Contact files. You can add these after.
Key thing is to let it Compute the size of the folder. If it cannot compute, it does not work. From there turn on the internet and click retry.
Shout out to Merlin Behling
https://stackoverflow.com/questions/67735037/whatsapp-cannot-detect-local-backup-
and Rahil2009
https://www.reddit.com/r/whatsapp/comments/np2zjp
XDA for those moving pics to a new phone:https://forum.xda-developers.com/t/...erving-the-dates.3423480/page-3#post-86588833
My updated method as of 3-24-2022 has worked on over 30 phones for those that had issues. I will try to respond when I can but I need to stress this works on the latest S22 Ultra. I even spent more time looking at years of whatsap backups and using Beyond Compare 4 was able to get all of my photos and files updated on my new phone. If you have old photos with wrong dates I highly recommend that program
Click to expand...
Click to collapse
Thank you very very much, I've been frustrated with How BADLY Whatsapp handling migrating to new s22. As I need those chats for work and I have 4 GB of data (those images and document that I'm to lazy to organize aka delete), so I need to locally restore while Whatsapp give me no choice but restore from Google Drive (zzzzzz).
I specially register to write this thank you messages. That's how much helpful your post is.
As for me to counter DATE being wrong. I use 'My Files' inside old Galaxy phones to compress Whatsapp Folder to 7zip, then copy those to S22 using 'Nearby Shares'. All the DATE is intact after extracting.
dpoverlord said:
Goal is for one Placeholder for Current Up to Date fix for those UNABLE to restore Whastapp to a new phone with Larger File Sizes. Whastapp does not seem to respond and the old options do not work.
So for those on an S22 / Android 12+ I have the up to date current solution after a few days and endless backup and restores and then proceeding to be locked out.
Set Display timer to 10 minutes and do not let your screen go blank.
Follow Exactly: 2 Options one for those media files and wanted to keep the dates and one for those that done care.
Part 1
Backup your Whatsapp folder into a .Rar / Zip File. If you have a phone with An SD card just send this copy to your SD Card. Then plug that SD card into your computer Rar the file.- Ensure when "Rar'ing" you set to Store Creation / Access time
NO SD CARD: Upload to Google Drive (it should keep the dates as what you have.- Download the file to your computer or sync your computer to Google Drive and download as a Rar.
Part 2. ONLY IF DATES ARE WRONG (Otherwise go to Part 3 )
If dates are wrong you can follow my thread here:https://forum.xda-developers.com/t/...le-preserving-the-dates.3423480/post-86587561
- If you backed up your Whatsapp Folder over time you can use https://www.scootersoftware.com/ Beyond Compare to VERY easily transfer the dates from your old to the new so your Whatsapp on your new phone doesnt just change all of the dates to todays.
Part 3. PREPARE TRANSFER
On your new phone Make sure you have the apps:A. RAR LabsB. MiXPlorer or Solid Explorer or any file viewerC. Backup of Whatsapp downloaded
Install Rar
Download Whatsapp
Open 1 time then Force Close Program
Open File Explorer (see Above MIX/Solid, etc)
Part 4 VERIFY Directories Created / Made
android> Media Folder
Created folder Labeled"com.whatsapp"
Sub Folder"WhatsaApp
Part 5. Extract Previous backup into New Folder
Open Rar File of Whatsap that you created
Extract Everything in the folder into:
Internal Storage/Android/media/com.whatsapp/Whatsapp
Copy the files ("msgstore.db.crypt14", "msgstore-YYYY-MM-DD.1.db.crypt14"...)
Change the date of the backup you want to use to msgstore.db.crypt14 (If the number is different change it to what you have currently)
When done Extracting change main Folder from
com.whatsapp to com.whastappOLD
Create new folder com.whatsapp
Copy all folders inside com.whatsappOLD to new folder
The reason for this is that if you delete or make an error during this process you lose all of the data so were saving you time in case you make an error and have to start gain. I had to do this 4x to get it right
Part 6 Installation
Delete / Remove all Google accounts and Contacts folder
Put new Sim Card into your new phone
Open Whatsapp and verify your phone numer (you have to use the same number as on your old smartphone)
Once Verified Put your phone into Airplane Mode
If next part does not work for immediate backup: When it asked you to grant access to your files for Google drive, ignore the message and instead close the app (press □ and wipe Whatsapp away)
If asked for access to files / Google Drive say Yes
When asked to give access to contacts say NO
When asked to have access to files say YES
You should then see Local Backup found. If your file is LARGE you need to WAIT until it shows the file size (mine took 25 minutes). Just ensure your phone is set to a long display timer
Part 7 BACK UP Restore Options (still in Airplane Mode FYI)
A. If you see a restore button:
When you FINALLY SEE the display size (should be large and have the restore date) of your backup click Restore
Once it begins Disable Airplane Mode
Ignore the message regarding Google Drive and, when your backup has been restored (look at the progress bar at the bottom in the background). It should say complete / 100% and provide you a button for next
Whatsapp will say Initializing. Give it a few minutes.
If stalled close the app
Open Whatsapp again and you should see now your old and new messages alltogether!
B. If No Restore Button:
If no restore button shows and you have Verfiy by Code (sms/Telephon)
Close App
Re-open app
Turn on Airplane Mode
When asked for Google Drive option to view contacts / folders/ file system (all in one question). Click Yes
When asked SEPARATELY for Contact Permission: Say NO <---- VERY IMPORTANT
you should have no contacts though so it should not ask,
Storage Permission: CLICK YES
If there is no restore option you, You should now see your local backup, press "restore backup" when it SHOWS THE FULL FIlE SIZE NOT BEFORE.
Disable airplane mode and activate Wifi / mobile internet. 9. Ignore the message regarding Google Drive and, when your backup has been restored (look at the progress bar at the bottom in the background), close the app
Open Whatsapp again and you should see now your old and new messages alltogether!
C. If neither work above for you
Disable airplane mode and activate Wifi / mobile internet.
You will see your local storage behind the popup saying allow google drive.
Wait until it shows the full flile Size
You will need to press add account and have your fingers ready for instant tapping between add account and instant tapping restore button
For some it has been 10-30 times doing this practice, you will luckily hit restore button
When progress bar says 100% it is restored.
You will still see app asking google drive option, don't click skip (this will reset the app ,leading to nothing restored)
When the app is asking to restore from google drive AND YOU HAVE HIT 100%, close the app right away (very important)
Open the app, and the app will ask you to set name, set your name
Initializing may take awhile. If it over 5-10 min ensure that airplane mode is off. Otherwise close app and try again.
If nothing works. Uninstall Whatsapp. Make the folders manually, keep only 1 data base file in the Database directory and transfer the internal structure of com.whatsappOLD into the new directory.
It is important to have NO GOOGLE accounts nor Contact files. You can add these after.
Key thing is to let it Compute the size of the folder. If it cannot compute, it does not work. From there turn on the internet and click retry.
Shout out to Merlin Behling
https://stackoverflow.com/questions/67735037/whatsapp-cannot-detect-local-backup-
and Rahil2009
https://www.reddit.com/r/whatsapp/comments/np2zjp
XDA for those moving pics to a new phone:https://forum.xda-developers.com/t/...erving-the-dates.3423480/page-3#post-86588833
My updated method as of 3-24-2022 has worked on over 30 phones for those that had issues. I will try to respond when I can but I need to stress this works on the latest S22 Ultra. I even spent more time looking at years of whatsap backups and using Beyond Compare 4 was able to get all of my photos and files updated on my new phone. If you have old photos with wrong dates I highly recommend that program
Click to expand...
Click to collapse
hi,
i just found this forum and thread.
your post seems helpful.
however, I got stuck on part 6,
"If next part does not work for immediate backup: When it asked you to grant access to your files for Google drive, ignore the message and instead close the app (press □ and wipe Whatsapp away" ->
what is the button you refer to? in this step, i choose button 3 horizontal line, then wipe it all running application, then open again, it show same message, then I tap back button, then it just ask profile name.
what I missed
thanks in advance