0x192 / 0x192/universal-android-debloater

Issue Debloating Samsung Galaxy S5

Ouverte
#691 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Rust
Étoiles
19.9k
Forks
1.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I am trying to debloat a connected Samsung Galaxy S5. ADB shows the device as connected and UAD can connect as normal. However, I noticed when it looks for the recommended package for the S5 it fails.

2023-04-10 11:10:27 INFO [src\gui\mod.rs:458] ANDROID_SDK: 23 | PHONE: samsung SAMSUNG-SM-G900A
2023-04-10 11:10:31 WARN [src\gui\views\list.rs:142] No custom selection imported: The system cannot find the file specified. (os error 2)

It does recognize all of the SDK's under All Packages but none can be enabled or uninstalled. (examples)

2023-04-10 11:10:54 ERROR [src\core\utils.rs:219] [Unlisted] pm enable --user 0 com.att.myWireless
-> Error: java.lang.IllegalArgumentException: Unknown package: com.att.myWireless
2023-04-10 11:11:34 ERROR [src\core\utils.rs:219] [Unlisted] pm uninstall --user 0 com.google.android.feedback
-> Failure - not installed for 0

I was able to debloat a Samsung S23 using the same equipment as a control test while trying to figure this out. Any help is appreciated.

[UAD_20230410.log](https://github.com/0x192/universal-android-debloater/files/11191483/UAD_20230410.log)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

The issue involves the UAD tool failing to find a custom package list for the Samsung Galaxy S5 and encountering errors when trying to enable/uninstall packages. Start by examining the log file (UAD_20230410.log) and the code around src/gui/views/list.rs line 142 and src/core/utils.rs line 219. Look for where custom selections are imported and how package lists are generated for specific devices. Check if there's a missing configuration file for the S5 model. 'Done' means the tool correctly identifies and can modify packages on the S5.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
android, rust
Domaine
cli, mobile, tooling
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.