AppManager icon indicating copy to clipboard operation
AppManager copied to clipboard

Can't Uninstall app manager 3.1.2

Open privacyonly opened this issue 2 years ago • 12 comments

Please check before submitting an issue

  • [X] I know what my device, OS and App Manager versions are
  • [X] I know how to take logs
  • [X] 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 avatar Sep 20 '23 00:09 privacyonly

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.

MuntashirAkon avatar Sep 20 '23 03:09 MuntashirAkon

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

privacyonly avatar Oct 13 '23 14:10 privacyonly

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

user0-07161 avatar Oct 19 '23 11:10 user0-07161

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?

mutchiko avatar Oct 21 '23 11:10 mutchiko

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 avatar Oct 21 '23 17:10 MuntashirAkon

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.

MuntashirAkon avatar Oct 21 '23 23:10 MuntashirAkon

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.

mutchiko avatar Oct 22 '23 16:10 mutchiko

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.

MuntashirAkon avatar Oct 28 '23 13:10 MuntashirAkon

Anything new?

user0-07161 avatar Dec 15 '23 14:12 user0-07161

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

mutchiko avatar Dec 15 '23 15:12 mutchiko

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.

MuntashirAkon avatar Dec 18 '23 10:12 MuntashirAkon

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

chr56 avatar Feb 08 '24 13:02 chr56

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: https://github.com/amcommunity/TipsAndTricks/issues/7

MuntashirAkon avatar Jul 07 '24 08:07 MuntashirAkon

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 avatar Jul 07 '24 08:07 MuntashirAkon