Lithium Backup Merger

A simple web app that can merge annotations and bookmarks from multiple Lithium app backups.

If you accidentally delete a book and later discover that its annotations or bookmarks are missing, you can recover them by merging the current version with an earlier backup where they were saved.

Lithium

Lithium ("Lithium: EPUB Reader") is an Android e-book reader that supports text highlighting and bookmarks. It is available on Google Play.

Disclaimer

I cannot guarantee that this app will work every time, so you should create a backup before using it.
To create a backup, go to Settings > Backups > Create new backup
This app is not affiliated with the original Lithium EPUB Reader app.

1. File selection

Select the backup files (.libak) you want to merge (found in Phone/LithiumBackups/).

You can also select all your .epub books to display their names later.

(Book names are not included in the backup file, so you will see unreadable names like "905e73f7..." otherwise.)

(All processing is done locally, and no data is uploaded.)

2. Books

In the first row, select the backup from which to take themes and categories. If you're unsure, choose the most recent one.

For each row (book) in the table below, select the backup from which you want to copy the annotations and bookmarks.

Selection
Themes and categories

3. Export

Export, download, and copy the file back to your device.

To apply the new backup, go to Settings > Backups and select the downloaded file.

Success.