genious7 / FanFictionReader

An android app that improves browsing Fan Fiction stories on a mobile device
GNU General Public License v3.0
56 stars 24 forks source link

Restore #26

Open Stonedestroyer opened 7 years ago

Stonedestroyer commented 7 years ago

Is there anyway to restore the database, I copied over the folder inside data/app as root and also the saved fanfics that are .htm, but how do I put this together on a new device as I don't currently have root on that one or is it not possible?

pzmarzly commented 7 years ago

If you don't have an access to older device (so you cannot create adb backup of it), you may need to generate it by yourself. Looking at step 6 here, you will have to create .tar file with app files, use https://sourceforge.net/projects/adbextractor/ to create adb compatible backup and then restore it with adb restore.

The problem is, I don't know how structure of those .tar files will look like, so you probably have to take a sample backup of any app on any device, extract it, using guide I linked before, to get .tar and analyze it to make similar one.

TL;DR it's possible, but may take 0,5-1,5 hours. It may be faster to root new device or manually open each .htm file and search for corresponsive story