Universal-Debloater-Alliance / universal-android-debloater-next-generation

Cross-platform GUI written in Rust using ADB to debloat non-rooted Android devices. Improve your privacy, the security and battery life of your device.
GNU General Public License v3.0
2.2k stars 74 forks source link

bug(list): Missing bloatwares (Xiaomi Poco X6 Pro) #592

Open cretoo opened 3 weeks ago

cretoo commented 3 weeks ago

Describe the bug

Some of the bloatwares are not listed in UAD, e.g. netflix, facebook, spotify music, the preinstalled game apps, etc.

Expected behavior

Should be listed in UAD for uninstalling

You have a solution?

No response

Operating System

Windows

Window Manager

No response

Desktop Environment

No response

Provide logs

2024-08-25 00:18:49 DEBUG [src\core\update.rs:180] Checking for UAD-ng update 2024-08-25 00:18:49 INFO [src\gui\views\list.rs:144] ----------------------------------------------------------------- 2024-08-25 00:18:49 INFO [src\gui\views\list.rs:145] ANDROID_SDK: 34 | DEVICE: POCO 2311DRK48G 2024-08-25 00:18:49 INFO [src\gui\views\list.rs:149] ----------------------------------------------------------------- 2024-08-25 00:20:13 INFO [src\gui\views\list.rs:144] ----------------------------------------------------------------- 2024-08-25 00:20:13 INFO [src\gui\views\list.rs:145] ANDROID_SDK: 34 | DEVICE: POCO 2311DRK48G 2024-08-25 00:20:13 INFO [src\gui\views\list.rs:149] ----------------------------------------------------------------- 2024-08-25 00:21:24 ERROR [src\core\config.rs:79] Failed to read config file: The system cannot find the file specified. (os error 2) 2024-08-25 00:21:24 ERROR [src\core\config.rs:81] Restoring default config file 2024-08-25 00:21:24 DEBUG [src\core\update.rs:180] Checking for UAD-ng update 2024-08-25 00:21:24 INFO [src\gui\views\list.rs:144] ----------------------------------------------------------------- 2024-08-25 00:21:24 INFO [src\gui\views\list.rs:145] ANDROID_SDK: 34 | DEVICE: POCO 2311DRK48G 2024-08-25 00:21:24 INFO [src\gui\views\list.rs:149] ----------------------------------------------------------------- 2024-08-25 00:25:47 DEBUG [src\core\update.rs:180] Checking for UAD-ng update 2024-08-25 00:25:47 DEBUG [src\core\update.rs:204] Failed to check UAD-ng update 2024-08-25 00:26:11 DEBUG [src\core\update.rs:180] Checking for UAD-ng update 2024-08-25 00:26:23 INFO [src\gui\views\list.rs:144] ----------------------------------------------------------------- 2024-08-25 00:26:23 INFO [src\gui\views\list.rs:145] ANDROID_SDK: 34 | DEVICE: POCO 2311DRK48G 2024-08-25 00:26:23 INFO [src\gui\views\list.rs:149] ----------------------------------------------------------------- 2024-08-25 00:29:01 DEBUG [src\core\update.rs:180] Checking for UAD-ng update 2024-08-25 00:29:02 INFO [src\gui\views\list.rs:144] ----------------------------------------------------------------- 2024-08-25 00:29:02 INFO [src\gui\views\list.rs:145] ANDROID_SDK: 34 | DEVICE: POCO 2311DRK48G 2024-08-25 00:29:02 INFO [src\gui\views\list.rs:149] -----------------------------------------------------------------

Acknowledgements

Rudxain commented 3 weeks ago

This looks like a bug rather than a documentation problem. There are many Facebook apps in the list

cretoo commented 3 weeks ago

Tried it on another phone (xiaomi poco m6 pro) and none of the bloatwares that i mentioned were listed in UAD too.

Rudxain commented 3 weeks ago

That's weird. I remember an issue where no packs would show up in the GUI. This seems related

AnonymousWP commented 3 weeks ago

We should pick this up if this really is a severe bug.

cretoo commented 3 weeks ago

Is there any chance of this being fixed?

Rudxain commented 3 weeks ago

@cretoo I guess most (all?) org members don't have multi-user devices, to test updates. So we'll have to redirect users (such as you) to the unofficial "nightly" releases (actually, workflow runs)

Maybe the bug has been fixed on the main branch without anyone noticing? 👀

cretoo commented 2 weeks ago

@Rudxain Thanks i'll take a look at it. It seems like UADNG only list system apps and not preinstalled user apps.

Rudxain commented 2 weeks ago

@Rudxain Thanks i'll take a look at it.

You're welcome! BTW, those build artifacts are generally triggered manually, so even those might be "old" compared to main.

preinstalled user apps.

Such as system apps that got updated? 👀

cretoo commented 2 weeks ago

Such as system apps that got updated?

I don't think so, it's a brand new phone out of the box. I was able to see the mentioned apps (Netflix, facebook, etc.) listed under user apps on ADB AppControl which is another debloater, so i thought UADNG only list system apps and not user apps.

Rudxain commented 2 weeks ago

only list system apps and not user apps.

Similar (legacy) report: 0x192/universal-android-debloater#795

It seems like an ADB bug. Or maybe the OEM has hidden those packs from ADB for some reason? It seems plausible, considering Samsung Galaxy "Deep Sleeping" apps are considered "Disabled" by the Android system

AnonymousWP commented 2 days ago

So I guess we can close this issue then considering both things are out of our control.

Rudxain commented 2 days ago

@cretoo run this cmd:

adb shell pm list packages -3

[!note] for privacy, don't post the output

Does it print the missing packs?

If not, try this:

adb shell pm list packages -a

[!warning] DO NOT POST THE FULL OUTPUT!

If any of those work, then we can fix it on our side, but it has to be a new toggle setting. The -a flag is very verbose, so it'll be annoying for some users.

I suspect the OEM has misleadingly marked as "third-party" some "system" packs, that's why pm list packages -s is so empty

Rudxain commented 2 days ago

huh, I thought -a was the default. This proves me wrong:

pm list packages -a | wc -l # 399
pm list packages | wc -l # 237