
On the old device open RFM and go to /data/data//databases/.
Lets copy message databases from old to new device:. If you do not have such, use any other method allowed by chosen RFM - send it by FTP to your PC/new device, send it by e-mail to yourself, share it to Google Drive etc. If you have external SD slot, use it for copying mentioned directory to SD card. As many videos you send and receive, as big it will be. Directory Viber contains all downloaded user photos and all images and videos from your conversations. In this directory Viber directory will exist (with "media" directory inside, just for proper identification). In most cases it is in your Internal memory, but if someone chose to move Viber to SD card, then he/she have to go to /storage/extsd or /mount/sdcard2 or whatever it named in his/shes particular system. In most cases it will be your Home directory, such a /storage/sdcard or /mnt/sdcard or /storage/Emulated/0, etc. On old device go to directory, where Viber user data files installed. Lets backup your user photos and videos:. On the new device install Viber and activate your mobile number. On both devices install some Root File Manager (further "RFM"), like Total Commander or ES File Explorer. In addition, if you want to have all photos and videos from your conversations, you must migrate them too. To completely migrate Viber, you will have to copy your message databases from old device and set them to Viber's own on new device. Probably DB files could be restored directly but I had no time to test You can try to edit Viber DB files with SQLite editor. I run into problems on Win7 with adb so finally used Lubuntu. I have just tested on Android 4.1 and 5.0. Sudo adb restore /home/user/Downloads/vibernewok.ab ab and restore data to phone sudo java -jar abe.jar pack /home/user/a/vibernewphone2.tar /home/user/Downloads/vibernewok.ab Copy files below from viberoldphone1.tar DB directory to vibernewphone2.tar Open TAR archives in an archive manager (found Archive manager for GNOME 3.14.2 on my Lubuntu LiveCD). Sudo java -jar abe.jar unpack /home/user/Downloads/vibernewphone2.ab /home/user/a/vibernewphone2.tar
Install Viber on new phone and activate Viber, connect the new phone and create backup with adb backup sudo adb backup -f /home/user/Downloads/vibernewphone2.ab Sudo java -jar abe.jar unpack /home/user/Downloads/viberoldphone1.ab /home/user/Downloads/viberoldphone1.tar Sudo apt-get install android-tools-adb android-tools-fastbootĬonnect the old mobile, create backup with adb backup (disable WiFi and data and forget the old phone) sudo adb backup -f /home/user/Downloads/viberoldphone1.ab Then do sudo apt-get install openjdk-8-jre-headless
Install ADB and OpenJDK 8 (I had nothing to do with security extension) by following adb backup guide on XDA.