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

Can't Uninstall app manager 3.1.2 #1193

Closed
3 tasks done
privacyonly opened this issue Sep 20, 2023 · 14 comments · May be fixed by #1229
Closed
3 tasks done

Can't Uninstall app manager 3.1.2 #1193

privacyonly opened this issue Sep 20, 2023 · 14 comments · May be fixed by #1229
Labels
Bug Something isn't working Status: Info Requested Further information is requested

Comments

@privacyonly
Copy link

Please check before submitting an issue

  • I know what my device, OS and App Manager versions are
  • I know how to take logs
  • I know how to reproduce the issue which may not be specific to my device

Describe the bug

Can't uninstall app manager 3.1.2

To Reproduce

  1. install the latest version of app manager 3.1.2
  2. try Uninstalling
  3. package installer keeps stopping

Expected behavior

Uninstall successfully

Screenshots

No response

Logs

No response

Device info

  • Device: Samsung S21 Ultra SM-G998B
  • OS Version: Android 13 OneUI 5.1 Play August 2023 Patch Sept 2023
  • App Manager Version: 3.1.2
  • Mode: ADB

Additional context

No response

@privacyonly privacyonly added the Bug Something isn't working label Sep 20, 2023
@MuntashirAkon MuntashirAkon added the Status: Info Requested Further information is requested label Sep 20, 2023
@MuntashirAkon
Copy link
Owner

You need to provide us the exact crash report to understand what happened. If you don't know how to take one, you can use the Log Viewer in Android with only crash buffer enabled, or any other third-party crash detector such as Scoop.

@privacyonly
Copy link
Author

Unknown restriction queried by uid 1000 (com.samsung.android.hdmapp et al): io.github.muntashirakon.AppManager

after disabling that

Unknown restriction queried by uid 1000 (com.samsung.sec.android.teegris.tui_service et al): io.github.muntashirakon.AppManager

@user0-07161
Copy link

user0-07161 commented Oct 19, 2023

@privacyonly I think it's the android:hasFragileUserData="true" attribute in Android Manifest.xml. Would you try my snapshot build here?

@mutchiko
Copy link

Hi im able to recreate the issue, the only thing is, i tried making a log using scooper but i was traumatised by the amount of issues i get from DiagMonAgent, anybody can help me make a proper log?

@MuntashirAkon
Copy link
Owner

Hi im able to recreate the issue, the only thing is, i tried making a log using scooper but i was traumatised by the amount of issues i get from DiagMonAgent, anybody can help me make a proper log?

You can try LogFox instead. Basically, I need the following files:

  1. Full system logs taken using logcat command or LogFox app (if you fear it contains something private, consider sending me an email)
  2. framework.jar and services.jar located at /system/framework (accessible without root or ADB)
  3. Package Installer APK file.

@MuntashirAkon
Copy link
Owner

I have been helped by a Telegram user regarding this issue. I cannot disclose the reason for now. But the issue was due to a simple logical error in a system application.

@mutchiko
Copy link

Glad to hear that, i already followed the steps and reproduced the issue, if you want to take a look at the logs, i can send them on telegram.

@MuntashirAkon
Copy link
Owner

Glad to hear that, i already followed the steps and reproduced the issue, if you want to take a look at the logs, i can send them on telegram.

OK, in case the other user was facing a different issue.

@user0-07161
Copy link

Anything new?

@mutchiko
Copy link

Yeah I think I figured it out, it happenes when you use the app in adb mode, then restart the phone (which will revoke the access to adb) and then if you try to uninstall any app installed from app managaer, the error will occur

@MuntashirAkon
Copy link
Owner

Those who are facing the issue, can you confirm the following:

  1. (Optional) App Manager having the usage stats permission
  2. Package Installer app having the usage stats permission.

@chr56
Copy link
Contributor

chr56 commented Feb 8, 2024

This maybe a known bug on (only) Android 10 with external physical SD card.
See https://gist.github.com/agnostic-apollo/58def38fdb1c90563454974108ae52df.

@MuntashirAkon
Copy link
Owner

This maybe a known bug on (only) Android 10 with external physical SD card. See https://gist.github.com/agnostic-apollo/58def38fdb1c90563454974108ae52df.

Possible solutions have already been covered here: amcommunity/TipsAndTricks#7

@MuntashirAkon
Copy link
Owner

Closed due to a lack of response from the OP. Feel free to open it again if you're still facing the issue. However, I am still against removing android:hasFragileUserData from App Manager's manifest.

@MuntashirAkon MuntashirAkon closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Status: Info Requested Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants