Uninstall potentially unneeded / unwanted Systemapps without root - Samsung Galaxy Note 8 Guides, News, & Discussion

Since my Note somehow got stuck (black screen of death) at a simple reboot and had to setup it from scratch again, I decided to leave TWRP, Magisk, SuperSU and xposed behind. Maybe I'll flash them again, but not in foreseeable future. So I decided to not only disable apps, but uninstall them. I thought, a list could help and a short tutorial, I found at XDA-News long time ago. Source: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
Feel free to contribute apps not needed
Needed:
• ADB:
- Windows: 15 seconds ADB Installer https://forum.xda-developers.com/showthread.php?t=2588979 or standalone https://dl.google.com/android/repository/platform-tools-latest-windows.zip
- Linux: https://dl.google.com/android/repository/platform-tools-latest-linux.zip
- MacOS: https://dl.google.com/android/repository/platform-tools-latest-darwin.zip
• USB debugging switched on
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to find apps:
• Plugin your phone to your PC / laptop
• Grant access (popup at your phone)
• Open CMD (Win+R > CMD)
adb shell
pm list packages | grep [part_of_the_app_you_want_to_uninstall]
Example:
pm list packages | grep microsoft
My tiny list for now:
Code:
Microsoft preinstalled apps:
pm uninstall -k --user 0 com.microsoft.office.excel
pm uninstall -k --user 0 com.microsoft.office.word
pm uninstall -k --user 0 com.microsoft.office.powerpoint
pm uninstall -k --user 0 com.microsoft.skydrive
If you triggered KNOX already, the Samsung Secure Folder has no use anymore for you (it simply won't start anymore):
pm uninstall -k --user 0 com.samsung.knox.securefolder
If you like Facebook, you can leave it. If not:
pm uninstall -k --user 0 com.facebook.services
pm uninstall -k --user 0 com.facebook.katana
pm uninstall -k --user 0 com.facebook.system
pm uninstall -k --user 0 com.facebook.appmanager
GMail is nice to have, but could really drain your battery:
pm uninstall -k --user 0 com.google.android.gm
Youtube too:
pm uninstall -k --user 0 com.google.android.youtube
Never had the need for Google VR. It's still available via Google Play, if you need it:
pm uninstall -k --user 0 com.google.vr.vrcore
Maps:
pm uninstall -k --user 0 com.google.android.apps.maps
If you also want to remove data and cache from the app, remove the -k option:
Example: pm uninstall --user 0 com.google.android.apps.maps
If you want to simply disable (freeze) the app, replace uninstall with disable:
Example: pm disable --user 0 com.google.android.apps.maps
If you wonder, why I included the --user 0 command: Samsung likes to disable the disable / freeze option. For example: Bixby.
If you want to enable the app again:
Example: pm enable --user 0 com.google.android.apps.maps
Like I said: Feel free to add apps and I'll try to keep this list updated. Hopefully, it's somehow useful for some users

Here is a screenshot sent to me, that came in very handy!
Thanks to Jammol & Hassan_1000
Edit sorry that's the way it saved to gphotos.

I tryed it few days ago . When I unsinstal all fb apps I won't be able to use fb again . It says " not installed " in settings . But It won't allow u to instal modded fb app or mess app without rooting and deleting whole fb app from phone . The same yt. So when u uninstall fb app u can instal apk file ( Google play can't instal fb again ) and it will start and crash after few sec . Adb doesn't work on note 8 :/

@ScaleneVirus288: Tried installing again the Youtube-app and installed successfully. Also working like a charm. Maybe you uninstalled it via root or any other method?
@spjetrovic: The screenshot sadly is too tiny. If you attach it, it will get resized. So even the full image has a width of 143px .

MickyFoley said:
@ScaleneVirus288: Tried installing again the Youtube-app and installed successfully. Also working like a charm. Maybe you uninstalled it via root or any other method?
@spjetrovic: The screenshot sadly is too tiny. If you attach it, it will get resized. So even the full image has a width of 143px .
Click to expand...
Click to collapse
Here is a link, don't know if it's any better
https://photos.app.goo.gl/elCxEE7nInATJJcA3

MickyFoley said:
@ScaleneVirus288: Tried installing again the Youtube-app and installed successfully. Also working like a charm. Maybe you uninstalled it via root or any other method?
@spjetrovic: The screenshot sadly is too tiny. If you attach it, it will get resized. So even the full image has a width of 143px .
Click to expand...
Click to collapse
Still no way to uninstall it succesfuly . It always says "uninstalled " in settings- apps . I can't instal modded yt app . It have another app signature and it shows "app file is corupted" or "can't install app " . It's random . The same with fb . My knox is still 0x0 so I am not rooted

Related

How to change nvidia tv launcher

you need with App inspector and SquareHome 2 - Launcher, install apps open square home and configure to your liking when you finish reboot nvidia tv.Connect pc to adb and put adb shell and intro,open app inspector look for de app launcher nvidia and in the terminal put this command "pm uninstall -k --user 0 com.google.android.leanbacklauncher" and reboot,If you want to uninstall more add de app with App Inspector repeat the steps.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
https://forum.xda-developers.com/shield-tv/themes-apps/alternate-launcher-root-marshmallow-t3359076
A whole thread and many user coments and Ideas in case you missed this thread its been around a while but ty for posting this to help others. It has more info on replacing the default launcher, and many questions and answers.
Lordsolo said:
you need with App inspector and SquareHome 2 - Launcher, install apps open square home and configure to your liking when you finish reboot nvidia tv.Connect pc to adb and put adb shell and intro,open app inspector look for de app launcher nvidia and in the terminal put this command "pm uninstall -k --user 0 com.google.android.leanbacklauncher" and reboot,If you want to uninstall more add de app with App Inspector repeat the steps.View attachment 4257077
Click to expand...
Click to collapse
My way:
1. Install replacement launcher - HALauncher is probably the best.
2. Start HALauncher and set it up as default launcher
3. Connect (unrooted or rooted) Shield TV to PC via male-to-male USB.
4. Open CMD
5. Type: adb shell
6. Type: pm uninstall -k --user 0 name of package
(where name of package is Android TV launcher package. I already uninstalled it and dont know the name but you can open Settings / Apps / and scroll to Android TV launcher and check package name. Its just below version name and starts with com.google...
7. Message "Success.." pops up.
8. Reboot.
End of story...
clarification
my english is very bad, I was just trying to help
Lordsolo said:
my english is very bad, I was just trying to help
Click to expand...
Click to collapse
It was nice of you to post the info for people as well. I only refered people to the other thread because it has step by step information on how to set up adb etc, and how to do it for anyone that might need the full information. Its good information though because the other commands that worked in marshmallow as we have seen do not work in nougat so new info is always good.
Not many to choose from... If you're into SPMC/Kodi you could set it as a default launcher and use a tile as a shortcut to Android apps. I mostly watch movies, TV shows and sports so I think this setup is a quite handy.
I tried HALauncher and it's a good substitute, but nothing to get excited about.
I really like tv top launcher, and have been using it since the first time I got an android tv box.
why not use homeswitcher (root) in the atv playstore - works perfect. i use spmc as luancher
On Anroid TV 8 Oreo the package name of the launcher changed from com.google.android.leanbacklauncher to com.google.android.tvlauncher
So after updating shield to android 8 Oreo you need the following adb command to disable the Android TV Launcher:
pm uninstall -k --user 0 com.google.android.tvlauncher
Cool that this command still works
sweetnothings said:
On Anroid TV 8 Oreo the package name of the launcher changed from com.google.android.leanbacklauncher to com.google.android.tvlauncher
So after updating shield to android 8 Oreo you need the following adb command to disable the Android TV Launcher:
pm uninstall -k --user 0 com.google.android.tvlauncher
Cool that this command still works
Click to expand...
Click to collapse
Worked great on an un-rooted 7.2.1 Shield TV (2017 16GB)
adb shell
darcy:/ $ pm uninstall -k --user 0 com.google.android.tvlauncher
Success
darcy:/ $
Click to expand...
Click to collapse
For Oreo these commands work to remove both native launchers if you have removed the original launcher prior the first command here isn't necessary or will come back with a failure but thats just because its already uninstalled Make sure you have a functional launcher before removing the original ones.
adb shell
pm uninstall -k --user 0 com.google.android.leanbacklauncher
and
pm uninstall -k --user 0 com.google.android.tvlauncher

[SOLVED] Reinstall EMUI launcher to system

In order to get the oreo mulitasking, i have uninstalled the EMUI launcher by ADB command :
Code:
adb shell pm uninstall -k --user 0 com.huawei.android.launcher
Is there any way to reinstall the launcher to system?
Ways to solve:
1. Change the Huawei app gallery to China and search "華為桌面”, it will be installed as system app.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The first way is to perform a full reset of the phone. Not ideal.
I saw mention in another thread a while back that it can be downloaded from the Chinese version of the Huawei app store if you change your location and search for it in Chinese.
If you're rooted you could use ADB to push the APK.
I think they're your only options. It would have been better to disable it rather than uninstall as you could enable it again.
can someone who has uninstalled the launcher do a quick check for me?
please install the newest pixe launcher or 1 of the newest pie launchers and set the navbar to the keys (no gestures), give the new launcher all permissens that it wants and reboot.
i would like to know if the new nav gestures and recents overview will kick in and work
If you have kept a copy (apk) before uninstalling it, you could just install it back.
Here is how you can extract it:
Code:
adb shell pm path com.huawei.android.launcher -- show the path to the APK
adb shell cp /path/to/apk/from/above /storage/emulated/0/Download/base.apk -- copy it to Download folder on device
adb pull /storage/emulated/0/Download/base.apk -- copy it to PC
Is it possible to copy base.apk from any custom ROM and install it?
henexekrar said:
If you have kept a copy (apk) before uninstalling it, you could just install it back.
Here is how you can extract it:
Click to expand...
Click to collapse
hoe where you planning on pushing it back?
demon2112 said:
hoe where you planning on pushing it back?
Click to expand...
Click to collapse
Not sure what you mean. You could install it the same way as any other APKs.
henexekrar said:
Not sure what you mean. You could install it the same way as any other APKs.
Click to expand...
Click to collapse
you are right hahah
henexekrar said:
Not sure what you mean. You could install it the same way as any other APKs.
Click to expand...
Click to collapse
Unsuccessful. Can't install .apk [emoji849]
Отправлено с моего LYA-L29 через Tapatalk
Li-Pol said:
Unsuccessful. Can't install .apk [emoji849]
Отправлено с моего LYA-L29 через Tapatalk
Click to expand...
Click to collapse
Then I have no clue, works on chinese rom. But that's also meaningless on chinese rom since app store has it..
henexekrar said:
If you have kept a copy (apk) before uninstalling it, you could just install it back.
Here is how you can extract it:
Code:
adb shell pm path com.huawei.android.launcher -- show the path to the APK
adb shell cp /path/to/apk/from/above /storage/emulated/0/Download/base.apk -- copy it to Download folder on device
adb pull /storage/emulated/0/Download/base.apk -- copy it to PC
Click to expand...
Click to collapse
I did extract the APK before I uninstalled it, but I can install the APK afterwards..
I can only conclude that launcher app is installed differently on international rom vs chinese rom, unfortunatrly I dont have a chance to get my hands on an international rom to see how that's like.
Guys, you can always try to change the country to china on Hisuite and search for the launcher is Chinese - it is mentioned in another post and see if you can get it installed.
Sent from my LYA-L29 using Tapatalk
kinli1234 said:
In order to get the oreo mulitasking, i have uninstalled the EMUI launcher by ADB command :
Code:
adb shell pm uninstall -k --user 0 com.huawei.android.launcher
Is there any way to reinstall the launcher to system?
Click to expand...
Click to collapse
Found this on another thread - in an adb shell type the following:
cmd package install-existing <package-name>
Just tried it with powergenie and it works. Give it a go if you still need to.
Grondah said:
Found this on another thread - in an adb shell type the following:
cmd package install-existing <package-name>
Just tried it with powergenie and it works. Give it a go if you still need to.
Click to expand...
Click to collapse
Confirmed, works! :good:
Grondah said:
Found this on another thread - in an adb shell type the following:
cmd package install-existing <package-name>
Just tried it with powergenie and it works. Give it a go if you still need to.
Click to expand...
Click to collapse
I need to reinstall the emui launcher on my Al00 where i removed it with adb. Can you tell me the exact package name for my version and if I have any chance to restore it? I am not rooted btw
afico said:
I need to reinstall the emui launcher on my Al00 where i removed it with adb. Can you tell me the exact package name for my version and if I have any chance to restore it? I am not rooted btw
Click to expand...
Click to collapse
The EMUI launcher is called com.huawei.android.launcher and you should be able to fine.
it works!!! great!
now it owuld be nice to rmoeve yellow pages and chianese huawei video
Install Application Inspector then you can get the package names for everything.
install: adb shell pm install-existing com.huawei.android.launcher

Delete failure via ADB

Hello everyone,
I spent a couple of hours searching on the forum before asking this question. Maybe I am not searching the right thing but I just received a new company phone. It is a Samsung Galaxy S10e. My previous one was an S7.
The company has this Intelligent Hub app installed with admin rights that doesn't allow me to turn off the location services. It drains the battery fast when the services are enabled especially that most of my work is being done in a weak signal or no signal area. (Placing the phone in airplane mode doesn't work since it's admin controlled.
I tried to uninstall the app via adb but I get this DELETE_FAILED_DEVICE_POLICY_MANAGER. The package name is com.airwatch.androidagent
Can anyone please let me know if there's a way to uninstall this package by bypassing the admin rights?
Thank you!
what command you use on ADB to uninstall it
ineedroot69 said:
what command you use on ADB to uninstall it
Click to expand...
Click to collapse
pm uninstall -k --user 0 'com.airwatch.androidagent'
google say you're receiving DELETE_FAILED_DEVICE_POLICY_MANAGER because the application you are tying to uninstall is a "device manager application" . device manager are application that helps you locate, and if needed, remotely lock or wipe your Android device if stolen so you just need to remove ”Intelligent Hub" being a device manager usually that can easily be change by going on phone settings
ineedroot69 said:
google say you're receiving DELETE_FAILED_DEVICE_POLICY_MANAGER because the application you are tying to uninstall is a "device manager application" . device manager are application that helps you locate, and if needed, remotely lock or wipe your Android device if stolen so you just need to remove ”Intelligent Hub" being a device manager usually that can easily be change by going on phone settings
Click to expand...
Click to collapse
Yes, but the problem is that it is control by an admin. I do not have rights to deactivate, force stop, uninstall. Those buttons are grayed out for me
How do I revoke admin to an app via dm command
what do you means grayed out? just go to Setting and find "Device Manager/Administrator" (you can find it by typing it on Setting searchbar or manually looking for it) and just uncheck Intelligent Hub on it
I am trying to figure this out also. I have a company phone that IT is the ADMIN on Pixel5. I tried to uninstall the
I tried to uninstall the app via adb com.airwatch.androidagent but get this error DELETE_FAILED_DEVICE_POLICY_MANAGER.
I have same problem. Even as su I get for
pm uninstall -k --user 0 com.samsung.android.kgclient
Failure [DELETE_FAILED_DEVICE_POLICY_MANAGER]
If I look into settings/app/special access/device administrative apps (maybe mistranslated) - there is just my NOVA Launcher listed.
What the hell is the policy manager?
starbright_ said:
I have same problem. Even as su I get for
pm uninstall -k --user 0 com.samsung.android.kgclient
Failure [DELETE_FAILED_DEVICE_POLICY_MANAGER]
If I look into settings/app/special access/device administrative apps ((maybe mistranslated) - there is just my NOVA Launcher listed.
Click to expand...
Click to collapse
i disable my launcher as device administrator... Xiaomi launcher is great but i don't trust it as Device Administrator it my sell my info to China
look it don't even have description it just say "Launcher"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yeah, what I want to tell is that I don't know what Policy Manager is (who let me fail uninstalling that package), and that there is no app is a device manager. Sorry for confusion.
I didn't allow Nova Launcher to be Admin. And this is the only left app in the list. But this becomes OT here
-
Having this error DELETE FAILED OWNER BLOCKED? if its tied to the Samsung knox deployment. how to remove it?

Stratos 3 stuck on SetupWizard

Hello,
First off, sorry if I make any english mistakes as it's not my native language.
I'm running into some issues with my Stratos 3. It was running fine until now, stock firmware and nothing modified since I got it. The first issue was during the OTA update (4.2.5.0) which didn't completed. Just the /!\ sign at the end and the watch rebooted to normal.
It could just end there but I just wanted to update and followed the Gearbest "solutions" to update failures which seemed to be logical at first ... "Sign out of Amazfit App and log in again. When you open Amazfit app, app will connect with watch and update automatically." That's what I did, and the problems started ... Now the watch is stuck in some kind of bug, the screen keeps displaying this. Whatever I do, the watch come back to this error. I can't access any menu.
Photo :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So what I already tried :
- Reboot the watch => same
- Installed ADB drivers, plugged it then factory reset (adb reboot wipe) => same
- If I just reboot it in MCU mode (adb reboot MCU), the watch works fine but it seems there isn't anything more I can do in it.
What I'm considering at this point is just doing a clean install (I was reading the stock firmware topic : https://forum.xda-developers.com/smartwatch/amazfit/fw-tool-stock-global-international-t4031153 ), but I'm not sure if it's the right direction. Just wanted to get some insight before doing something wrong.
Thank you very much for your help.
I continued digging into this issue. Found out it is a "common" error on Android systems (Hamazfit OS is based on Android).
What is pointed on most topics is a permission issue. Seems like when permissions are fixed, the problem is solved.
If this is the right direction to follow, the question remains on how to adapt it for this OS as the packages and the permissions may be different.
The main topic I found was on android.stackexchange (can't link with a new account for now).
Interesting part here :
I noticed when clicking report that the issue was a permissions issue.
using adb shell dumpsys package com.google.android.setupwizard you will see two lists related to permissions, one requested permissions, and one install permissions.
Comparing these lists, there were 8 items requested, but not installed. I fixed this using:
pm grant com.google.android.setupwizard android.permission.CALL_PHONE
pm grant com.google.android.setupwizard android.permission.GET_ACCOUNTS
pm grant com.google.android.setupwizard android.permission.PROCESS_OUTGOING_CALLS
pm grant com.google.android.setupwizard android.permission.READ_CONTACTS
pm grant com.google.android.setupwizard android.permission.READ_PHONE_STATE
pm grant com.google.android.setupwizard android.permission.WRITE_CONTACTS
pm grant com.google.android.setupwizard android.permission.READ_OWNER_DATA
pm grant com.google.android.setupwizard android.permission.WRITE_OWNER_DATA
Note that the last two items gave an error message: Bad argument: java.lang.IllegalArgumentException: Unknown permission: android.permission.READ_OWNER_DATA. But ignoring those, now my phone worked again.
I'm no expert in this, I'll take any advices or recommendations.
EDIT : Just did the dumpsys on the watch. There is only the "grantedPermissions" at the end. No list of RequestedPermissions ...
C:\adb>adb shell dumpsys package com.huami.watch.setupwizard
Activity Resolver Table:
Non-Data Actions:
android.intent.action.MAIN:
6b57ee6 com.huami.watch.setupwizard/.InitialLanguageActivity
Key Set Manager:
[com.huami.watch.setupwizard]
Signing KeySets: 1
Packages:
Package [com.huami.watch.setupwizard] (33d54c27):
userId=10023 gids=[3002, 3001]
pkg=Package{3afe11f8 com.huami.watch.setupwizard}
codePath=/system/app/SetupWizard
resourcePath=/system/app/SetupWizard
legacyNativeLibraryDir=/system/app/SetupWizard/lib
primaryCpuAbi=null
secondaryCpuAbi=null
versionCode=22 targetSdk=23
versionName=5.1-55
splits=[base]
applicationInfo=ApplicationInfo{1c2f7ed4 com.huami.watch.setupwizard}
flags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
dataDir=/data/data/com.huami.watch.setupwizard
supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]
timeStamp=2020-01-25 01:55:45
firstInstallTime=2020-01-25 01:55:45
lastUpdateTime=2020-01-25 01:55:45
signatures=PackageSignatures{24d5c87d [1fcaa372]}
permissionsFixed=false haveGids=true installStatus=1
pkgFlags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
User 0: installed=true hidden=false stopped=false notLaunched=false enabled=0
grantedPermissions:
android.permission.WRITE_SETTINGS
com.huami.watch.permission.READ_USER_SETTINGS
com.huami.watch.permission.WRITE_USER_SETTINGS
android.permission.DEVICE_POWER
android.permission.BLUETOOTH
android.permission.BLUETOOTH_ADMIN
android.permission.WRITE_SECURE_SETTINGS
android.permission.CHANGE_CONFIGURATION
android.permission.VIBRATE
android.permission.WAKE_LOCK
Litle update here, in case some people end here :
After some days, I asked to the seller (Amazfit Official Store on Aliexpress) for support. We talked a bit about the issue but we obviously couldn't find a solution. They offered me to send back the watch and replace it.
I was going to send it back until I checked the price for my local post office to send it in Hong Kong (about 55€/60$ for this tiny package ... ). So I deciced to take the risk and proceed to flash the watch myself.
First, unlocked the bootloader then followed the post for the stock FW installer (https://forum.xda-developers.com/smartwatch/amazfit/fw-tool-stock-global-international-t4031153)
And ... It worked ! :good: Now my watch is working correctly. I could link it to my phone again and my data were saved locally on my phone, so I didn't lose that either.
So I may have lost my warantly but at least, now I know how expensive this would be
In any case, I don't think I could do anything else after all the search I did.
What firmware version are you using to fix the problem?

install unintalled system app with adb

Hello friends
I uninstalled the com.android.documentsui package with adb a few days ago
And I really got into trouble
How can I reinstall it?
I have to say that I found the apk file on the Internet, but when I use
Code:
pm install --user 0 android.documentsui-7.0.apk
, I get this error:
Code:
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.android.documentsui signatures do not match the previously installed version; ignoring!]
Can anyone help me? Or say goodbye to document?
ciger7 said:
Can anyone help me? Or say goodbye to document?
Click to expand...
Click to collapse
I'm not an expert so I don't know if this will help, but Occam's Razor says that you can switch OUT of adb to install & uninstall, and then, after you get out of this locked-up situation, you can try adb again later.
You didn't mention so I need to ask a basic debugging question:
QUESTION:
Did you try to uninstall directly from the phone (without using adb) and then try to install directly on the phone (again, without adb)?
If so, do you get any errors and if so, are they the same or different than what you get using adb?
GalaxyA325G said:
I'm not an expert so I don't know if this will help, but Occam's Razor says that you can switch OUT of adb to install & uninstall, and then, after you get out of this locked-up situation, you can try adb again later.
You didn't mention so I need to ask a basic debugging question:
QUESTION:
Did you try to uninstall directly from the phone (without using adb) and then try to install directly on the phone (again, without adb)?
If so, do you get any errors and if so, are they the same or different than what you get using adb?
Click to expand...
Click to collapse
In answer to your question:
Document software is a system software and can not be deleted or disabled by the user. I deleted it with adb.
In response to your second question:
I could not install it normally and with the phone and encountered this error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Since I completely deleted this program from the device, I do not understand the reason for this error!
ciger7 said:
Hello friends
I uninstalled the com.android.documentsui package with adb a few days ago
And I really got into trouble
How can I reinstall it?
I have to say that I found the apk file on the Internet, but when I use
Code:
pm install --user 0 android.documentsui-7.0.apk
, I get this error:
Code:
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.android.documentsui signatures do not match the previously installed version; ignoring!]
Can anyone help me? Or say goodbye to document?
Click to expand...
Click to collapse
When you uninstall any sys app from adb, still apk will be there.
I guess you may have use adb command like
Code:
pm uninstall --user 0 package.name
In that case simply do this
Code:
pm install --user 0 package.name
replace package name with one you want.
In case you have used command hide instead of uninstall, use
Code:
pm unhide --user 0 package.name
Thanks, I will try this
Make your solution look right
But I think in order for the apk file to remain, I have to use -k (keep data), which I did not use. It is true?
dr.ketan said:
When you uninstall any sys app from adb, still apk will be there.
I guess you may have use adb command like
Code:
pm uninstall --user 0 package.name
In that case simply do this
Code:
pm install --user 0 package.name
replace package name with one you want.
In case you have used command hide instead of uninstall, use
Code:
pm unhide --user 0 package.name
Click to expand...
Click to collapse
I tested your code and wrote:
Code:
pm install --user 0 com.android.documentsui
And I got this error:
Code:
Error: failed to write; com.android.documentsui (No such file or directory)
I can not understand what is the problem!
Do you know how to solve it?

Categories

Resources