GithubHelp home page GithubHelp logo

cavallium / twrp-apps-data-restore-tool Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 37 KB

This tool allows you to recover apps data from a TWRP-compatible backup

Home Page: https://cavallium.it

License: GNU General Public License v3.0

Shell 100.00%
twrp twrp-recovery backup-tool android-backup

twrp-apps-data-restore-tool's Introduction

TWRP apps data restore tool

This tool allows you to recover apps data from a TWRP-compatible backup

Android requirements

  • TWRP
  • Magisk
  • Magisk Manager
  • ADB enabled

Computer requirements

  • Linux
  • Bash installed
  • adb (sudo apt install android-tools-adb -y)

Usage

  1. ./0_extract.sh <path-to-the-backup-directory>
  2. ./1_create_package_list.sh
  3. Remove the unwanted/system packages from work/packages_list_.txt
  4. If you have multiple users on your phone, switch to the user you want to recover
  5. ./2_twrp_manual_transfer.sh <backup-user-id> <current-phone-user-id> (The default user id is 0,)
  6. Follow what the console asks you.
    • If the app is not installed, install it, wait until it has completely finished, and then press volume UP.
    • If the app is already installed and you want to overwrite the data, just press volume UP.
    • If the app is already installed and you don't want to overwrite the data, just press volume DOWN.
    • If the play store tells you an error but you know that the app is already installed, press the volume UP button.
    • If the play store tells you an error and you don't have that app, skip to the next app using the volume DOWN button.
  7. At the end restart the phone to fix permissions, if the app are crashing.

ADB ".ab" backups

With .ab backups you must follow these extra steps before the others:

  1. adb backup --twrp
  2. Install the lastest openjdk version of your distro
  3. ./ab_fix.sh <path-to-the-ab-file>
  4. follow the other steps

License

The program is licensed with GPLv3 by Andrea Cavalli (https://cavallium.it)

twrpabx (https://github.com/prudy/twrpabx/tree/img_and_issue4)

twrp-apps-data-restore-tool's People

Contributors

cavallium avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.