0x192 / 0x192/universal-android-debloater

Uninstallation commands and installation on Linux

Aberta
#815 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
Rust
Estrelas
19.9k
Forks
1.1k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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...

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
rust, shell
Domínio
cli, developer-experience, documentation
Tipo de issue
Documentação
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
40/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.