ShizuStore

App data transfer

timschneeb

1.0 · GitHub

Download APK
Development utilities Android 7.0+ 8 months ago GPL-3.0
90 ShizuStore
1.5k GitHub
40 Stars
5 MB Size

More about this app

Backup/restore private app data of debuggable apps using Shizuku

debuggable-app-data-backup

This application can backup and restore private app data of debuggable apps using Shizuku without root. This includes credential-encrypted app data (/data/data/{pkg}) and device-encrypted app data (/data/user_de/0/{pkg}). Exported data will be saved to /sdcard/AppData.

See releases for downloads.

Again, this only applies to apps marked as debuggable. My personal use case for this was in combination with a system-level exploit that allowed me to execute arbitrary code as Android's system_server. Using its privileges, it was possible to rewrite Android's package manifest caches and trick the system into believing that any app was debuggable. As a consequence, it allowed any apps private data to be read and written using run-as or this tool.

Close

How Shizuku is used

Can back up and restore private data of debuggable apps via `run-as` shell commands through Shizuku

This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.

How this app uses Shizuku

Shizuku is used to copy private app files in and out of protected storage for apps marked debuggable.

  • Back up app data: export the private files of a selected debuggable app to a backup folder on shared storage, copying both credential encrypted and device encrypted data with run-as, cp, chmod, mkdir, mv and find shell commands through Shizuku.
  • Restore app data: import a previously saved backup back into the selected app's private data areas with run-as and cp shell commands through Shizuku, with an optional clean restore that deletes current data with rm before copying.

Android APIs or commands used

  • run-as
  • sh
  • cp
  • chmod
  • mkdir
  • mv
  • rm
  • ls
  • find

Notable details

Only apps marked debuggable are listed for backup and restore; other apps are hidden. Restore needs an existing backup for that app or it shows an error.

Close

Changelog

What's new for version 1.0

  • Initial release
Close

Permissions

3 permissions requested

  • android.permission.QUERY_ALL_PACKAGES
  • me.timschneeberger.appdatabackup.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
  • moe.shizuku.manager.permission.API_V23
Close