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 restore uninstalled apps on Android. #315

Closed
mizzunet opened this issue Jul 23, 2022 · 5 comments
Closed

Can't restore uninstalled apps on Android. #315

mizzunet opened this issue Jul 23, 2022 · 5 comments

Comments

@mizzunet
Copy link

mizzunet commented Jul 23, 2022

I debloated several apps. Now, I want one app, com.google.androd.webview to be reinstalled.

But the following execution fails,

 adb shell cmd package install-existing --user 0 com.google.android.webview              ✔ 
/system/bin/sh: cmd: not found

Is there a way to reinstall it?

Thanks

Edit:
And I can't use pm disable, so I'd be able to enable it

adb shell pm disable com.android.externalstorage       ✔ 
Error: java.lang.SecurityException: Permission Denial: attempt to change component state from pid=3332, uid=2000, package uid=10006
@mizzunet
Copy link
Author

I even tried reinstalling the package manually, taking the apk from system. It didn't show up there, though it was a 'suceess'

 ~  adb install -r WebViewGoogle/WebViewGoogle.apk                                    ✔  17s 
Performing Push Install
WebViewGoogle/WebViewGoogle.apk: 1 file pushed...skipped. 8.2 MB/s (113851021 bytes in 13.262s)
	pkg: /data/local/tmp/WebViewGoogle.apk
Success

@AnonymousWP
Copy link
Contributor

AnonymousWP commented Jul 23, 2022

I even tried reinstalling the package manually, taking the apk from system. It didn't show up there, though it was a 'suceess'

 ~  adb install -r WebViewGoogle/WebViewGoogle.apk                                    ✔  17s 
Performing Push Install
WebViewGoogle/WebViewGoogle.apk: 1 file pushed...skipped. 8.2 MB/s (113851021 bytes in 13.262s)
	pkg: /data/local/tmp/WebViewGoogle.apk
Success

Does this include downloading the APK from APKMirror, then installing it via your phone itself (without ADB)?

@0x192
Copy link
Owner

0x192 commented Aug 5, 2022

What is your Android version?

Try using this command instead: adb shell pm install-existing --user 0 com.google.android.webview

@mizzunet
Copy link
Author

mizzunet commented Aug 7, 2022

What is your Android version?

It was Android 6

Try using this command instead: adb shell pm install-existing --user 0 com.google.android.webview

Sorry I can't. The phone was pretty old, now it's completely dead because some issue with battery. So, I dumped it. I'm closing this issue as well.

@mizzunet mizzunet closed this as completed Aug 7, 2022
@Rudxain
Copy link
Contributor

Rudxain commented Feb 4, 2023

Wait! I have a very similar problem with an SM-G532M (Android 6.0.1). UAD can't enable, nor restore, packs. I can only use ADB to uninstall disabled/enabled apps. It also happens with non-system built-in apps like OneDrive (com.microsoft.skydrive) and FB (com.facebook.katana)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants