Neo-Backup icon indicating copy to clipboard operation
Neo-Backup copied to clipboard

[Feature Request] (not) Installed via Google Play filter

Open nexplorer-3e opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe it.

No.

Describe the primary solution

Add an option in app type in backup filter.

Describe alternative solutions, if any

There are tickets mentioned that it's possible to get apps that marked as installed via Play can be obtained from processing XML under /data/system/, save the output as selection. If there are utilities that can do this that would be great.

Screenshots Add an option in the app type: Screenshot_20240925-113140_Neo Backup~2 (The idea comes from Swift Backup, allowing to make use of Google Backup while making the backup smaller.) Screenshot_20240925-113237_Swift Backup

System Information (please complete the following information):

  • Device: Xiaomi Poco F4
  • Android Version: 14
  • ROM: (AOSP, MIUI, OOS...) LineageOS with gapps
  • App Version: 8.3.8 (fdroid)

nexplorer-3e avatar Sep 25 '24 03:09 nexplorer-3e

I don't see why Google's backup can be considered complementary to what NB does. Both follow different philosophies and implement different use cases.

machiav3lli avatar Sep 28 '24 12:09 machiav3lli

while I am using Google, I'm against mixing this...

You can just use Google backup and restore NB backups on top (or replace, if you have both), that's what I do. Apps that work well with Google backup (not many) can be excluded from NB.

Having a way to filter the installation source would be nice. That's why I prefer text based files for selections. You can use all kinds of scripts to create those files (one time or dynamically). Complex things like this should not be done by NB but outside. That's a job for Tasker or shell scripts etc. NB will never be powerful enough to replace automation or scripts.

However I imagine adding hooks for scripts etc.

hg42 avatar Oct 08 '24 20:10 hg42

Sorry for late reply. Anyway there is a snippet to export list of apps installed via Play Store:

STOREAPPSTXT="/sdcard/storeapps.txt"
pushd /data/system 
  awk '$10 != "com.android.vending" && $10 !~ "@" { print $1 }' > $STOREAPPSTXT
popd 

Further automation is required though, or just run it and move the txt to selection folder before backup. Tasker may not be a good option for this as it's non-free, and maybe Termux API would be a better choice.

nexplorer-3e avatar Jan 14 '25 06:01 nexplorer-3e