0x192 / 0x192/universal-android-debloater
Uninstallation commands and installation on Linux
- Langage dominant
- Rust
- Étoiles
- 19.9k
- Forks
- 1.1k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hi,
First of all, great work! Adding a GUI to ADB for debloating Android is extremly useful, thanks a lot! 👍
Still, I have a two minor questions that I tried to answer by inspecting the source code, however I did not find an easy answer. I don't know whether feature request is the right form, still I found it the best matching one. Therefore, I'd like to quickly ask:
1. How are the respective packages removed? On the command line, I noticed that usually two commands are required:
```
# first, uninstall any updates that might have been installed (without this step, they might be kept)
adb uninstall
# disable the app and delete user data (adding '-k' keeps the data)
adb shell pm uninstall --user 0
```
Doing so, I never had any automatic re-installations or re-activations (as noted). Therefore, I wanted to ask whether both steps are performed here, too? If not, it might be worth extending, but I'm not an ADB expert...
2. Besides this functional issue, I am curious whether there is a way for a system-wide install on Linux, in particular for Debian-/ubuntu-based distributions?
As far as I see, there are no configuration files created (or are there any?) and besides ADB, there seems to be no real dependency, i.e. installing can be done by copying the binary to `/usr/local/bin` (or a similar path on other distros). If this is the easiest option (or is there maybe a PPA somewhere?), I think this could be realized using a small shell script that downloads the latest binary from GitHub. Do you have any interest in adding such a script to the repo? If so, I would create one as soon as I find the time for it...
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Look at the source code for the uninstall command, likely in a Rust module handling ADB operations. Check if both 'adb uninstall' and 'adb shell pm uninstall --user 0' are performed. For the Linux installation, examine the build system and existing installation scripts. The task involves updating documentation or adding a shell script for system-wide install, but requires understanding the project's ADB command flow and packaging approach.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- rust, shell
- Domaine
- cli, developer-experience, documentation
- Type d'issue
- Documentation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 40/100