MuntashirAkon / AppManager

A full-featured package manager and viewer for Android
https://muntashirakon.github.io/AppManager/
Other
4.49k stars 264 forks source link

Add a "transfer/copy data" function #385

Open Atrate opened 3 years ago

Atrate commented 3 years ago

Related issue: https://github.com/MuntashirAkon/AppManager/issues/138

Situations:

Situation 1:

Situation 2:

Solution: It would be nice if AM provided a function that could transfer/copy the user data from one app to another, while making sure the permissions are changed accordingly. A warning should also be shown that such operations should only be conducted between different versions/builds/flavours of an app, not between completely different apps.

MuntashirAkon commented 3 years ago

@PookaMustard: Isn't this what you talked about earlier?

PookaMustard commented 3 years ago

It does sound like my use case of transferring the data of com.telegram.messenger to com.telegram.messenger.web, yes.

prono69 commented 3 years ago

It would be nice :grinning:

MuntashirAkon commented 3 years ago

What is the best place to provide such an option?

MuntashirAkon commented 2 years ago

What is the best place to provide such an option?

With the introduction of the new backup UI, we can add transfer backup option in the three-dots menu. However, this feature requires a lot of testing and, therefore, once implemented, will only be available in the pre-releases until v4.

MuntashirAkon commented 1 year ago

App Manager can reliably provide an option to transfer data provided the app did not have any tricks in place to prevent such efforts. This can be done in the following way:

  1. Copy both internal and external data
    • A special case is the copying of the shared preferences for apps that still use legacy way of handling shared preferences.
  2. Copy permissions and app ops
  3. Copy blocking rules, battery optimisation, net policy, etc. when possible.