0x192 / 0x192/universal-android-debloater
Unable to restore package `Unknown command: install-existing`
- Ngôn ngữ chính
- Rust
- Star
- 19.9k
- Fork
- 1.1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**Describe the bug**
I'd like to restore package `com.xiaomi.micloud.sdk` that I uninstalled before by uad. However, it's never restored. Even though, the uad UI shows, it was successful. I looked through the logs and found out, that the `install-existing` command fails.
**Expected behavior**
Successful restoration.
**You have a solution?**
Use the correct command for restoration (But I was not able to find out which it is).
Some status bar, that explaines why/that some failure happened. Or an indication that the restoration was not successful.
**UAD log**
```
2023-01-06 08:56:21 INFO [src/gui/mod.rs:458] ANDROID_SDK: 25 | PHONE: Xiaomi Redmi 4X
2023-01-06 08:56:25 INFO [src/gui/views/list.rs:141] Custom selection has been successfully imported
2023-01-06 08:57:02 INFO [src/core/utils.rs:222] [Recommended] cmd package install-existing --user 0 com.xiaomi.micloud.sdk -> Unknown command: install-existing
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
The issue is in the restoration command for Android packages. Look at the code around src/core/utils.rs:222 where the ADB command is constructed. The command 'install-existing' is not recognized; research the correct ADB command for restoring a package to a user (e.g., 'cmd package install' or 'pm install'). Check the Android documentation and test the correct command via ADB shell. Then update the command generation logic and ensure the UI reflects success/failure.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, rust
- Lĩnh vực
- cli, mobile
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100