Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(scope): No apps list on Gingerbread, looks like it doesn't recognize the pm command. #849

Open
3 tasks done
Lost-Entrepreneur439 opened this issue Feb 12, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Lost-Entrepreneur439
Copy link
Contributor

Describe the bug

When running the app while connected to a device running Android Gingerbread, nothing shows, and if you set it to show all packages, it shows a bunch of blank packages, then shows a bunch of pm commands, looking like pm didn't recognize the command.

Image

Expected behavior

uad-ng to list the apps on the device.

You have a solution?

No response

Operating System

Linux

Distro version

Debian Trixie

Window System + Manager

Wayland

Desktop Environment

KDE Plasma 6.2.5

ADB version

1.0.41

Provide logs

Log
2025-02-12 15:36:39 DEBUG [src/core/update.rs:183] Checking for UAD-ng update
2025-02-12 15:36:40 INFO  [src/gui/views/list.rs:160] -----------------------------------------------------------------
2025-02-12 15:36:40 INFO  [src/gui/views/list.rs:161] ANDROID_SDK: 10 | DEVICE: MOTO XT860
2025-02-12 15:36:40 INFO  [src/gui/views/list.rs:165] -----------------------------------------------------------------

Acknowledgements

  • This issue is not a duplicate of an existing bug report.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@Lost-Entrepreneur439 Lost-Entrepreneur439 added the bug Something isn't working label Feb 12, 2025
@Rudxain
Copy link
Member

Rudxain commented Feb 16, 2025

There's no full support for Android versions below 4.0, but the thing in the screenshot is a bug nonetheless (a weird and funny bug, too). The app should detect if the command fails and refuse to show "garbage", but that doesn't happen, for some reason 🤔. Either the failure of pm doesn't "bubble-up" to adb, or old versions of pm return exit-code 0 even if a flag isn't recognized.

Can you please try running this manually?

adb shell pm list packages -s
# this should print the exit-code
echo $?

It seems it doesn't recognize the -s flag, so maybe we'll have to add support for showing all packs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants