Coder Social home page Coder Social logo

twrp-manual-restore's Introduction

Restore Apps from TWRP Backup

This is a bash script that automates the process of manually restoring android apps from a TWRP backup. This script was taken from information provided by semipol.

Doesn't TWRP backups have a restore process?

Well, yes. A TWRP data restore reflashes all your andorid app data /data/data. However, if you just completely wiped your phone during a ROM upgrade or change, you may not want to/ be able to restore all your applications.

This script allows you to semi-automate the manaul restore process, so you can be selective about what applications you restore.

What does this process look like?

  1. Unzip data.ext4 volumes
  2. Install app on phone
  3. Connects to phone via adb
  4. Pushes TWRP app backup /data/data/com.data.app to android app data location /data/data/com.data.app
  5. Gets the userId for the app
  6. Changes ownership of app data folders to application via the userId
  7. Restore the SELinux attributes of the folder

twrp-manual-restore's People

Contributors

joshuabragge avatar micdu70 avatar adlerweb avatar egeoz avatar steveglowplunk 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.