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?
Related
EDITED: I think this is caused by a wifi certificate. I wonder it's not set as Device Administrator:
LordNickerchen said:
I've got a suggestion for another ROM-feature:
At ICS you always have to use a lock pattern or PIN to unlock the screen if you're using certificates for WiFi (etc. "eduroam" at university"). So is ist possible to use the standard ICS lock screen while using certificates?
If you need a beta tester - pm me.
Click to expand...
Click to collapse
--------------
I have no Device Administrators activated (see picture) but even so doesn't allow me to change the lock screen to less than pattern. I think this was caused because I uninstalled Kies (not kies air) and somehow didn't remove administrative rights. Prior to uninstalling it I had configured Settings -> Security -> Remote controls.
{
"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"
}
Any ideas about how to reinstall Kies or remove its permissions from Device Administrator?
scandiun said:
EDITED: I think this is caused by a wifi certificate. I wonder it's not set as Device Administrator:
--------------
I have no Device Administrators activated (see picture) but even so doesn't allow me to change the lock screen to less than pattern. I think this was caused because I uninstalled Kies (not kies air) and somehow didn't remove administrative rights. Prior to uninstalling it I had configured Settings -> Security -> Remote controls.
Any ideas about how to reinstall Kies or remove its permissions from Device Administrator?
Click to expand...
Click to collapse
Install a STOCK Rom. Find one for your device here on XDA. Then flash it. It will works and will come with Kies!
Mr.Indigo said:
Install a STOCK Rom. Find one for your device here on XDA. Then flash it. It will works and will come with Kies!
Click to expand...
Click to collapse
I already do have the ICS 4.0.3 stock rom for SGS2
scandiun said:
I already do have the ICS 4.0.3 stock rom for SGS2
Click to expand...
Click to collapse
Flash the ROM again, or do a full wipe.
EDIT: Or install another locker, like WidgetLocker!
Mr.Indigo said:
Flash the ROM again, or do a full wipe.
EDIT: Or install another locker, like WidgetLocker!
Click to expand...
Click to collapse
It's a good idea but, unfortunately, doesn't work. After unlocking with WidgetLocker I have to unlock next with the pattern unlock, so no advantage here.
wifi cert
Code:
[QUOTE="scandiun, post: 26921579, member: 2738944"]EDITED: I think this is caused by a wifi certificate. I wonder it's not set as Device Administrator:
--------------
I have no Device Administrators activated (see picture) but even so doesn't allow me to change the lock screen to less than pattern. I think this was caused because I uninstalled Kies (not kies air) and somehow didn't remove administrative rights. Prior to uninstalling it I had configured Settings -> Security -> Remote controls.
Any ideas about how to reinstall Kies or remove its permissions from Device Administrator?[/QUOTE]
I had the same issue. I found that if I deleted my vpn credentials I was then able to disable screen lock.
Very happy this thread was here. It was bugging me that I didnt know why i couldnt disable the screen lock.
I had the same problem, and came digging.. Saw the VPN reference and was hoping that was it, but it wasn't... I had VPN installed, but had removed the account, so nothing there to fix.
It did make me think about certificates though. I went in and disabled a few I didn't recognize, and POOF, that solved the problem.
I'm having a very similar problem, only it came about a little differently. I had corporate ActiveSync e-mail installed on my HTC DNA running stock Android v4.1.1. My IT department recently implemented new policies that require screen lock, remote wipe, etc. When they rolled out these policies I accepted them, except the change failed when it said my device was incompatible with the Remote desktop policy. But this change didn't occur until after the other policies were set.
I switched to Touchdown which is working well.
However, the old ActiveSync policies in the core OS are still being enforced. This causes me to enter two PINs to check my email... one for the device and one for Touchdown.
I've completely removed the ActiveSync account from the Android mail app. And I don't have the Device Administrators option listed in the Security menu.
However, my screen lock option for NONE is still grey because it's set by administrator policy.
How can I fix this?
- Dave
Guys same issue here, please help
pandabear said:
Guys same issue here, please help
Click to expand...
Click to collapse
Check if you have installed some certificate for wifi or email.
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
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?
Hello, does anyone have the same problem? No notifications if app is not running. Legion 2 pro, China firmware 12.5.632 st.
ArtSaw said:
Hello, does anyone have the same problem? No notifications if app is not running. Legion 2 pro, China firmware 12.5.632 st.
Click to expand...
Click to collapse
It's ok, cuz app service is down.
I made a simple thing :
1)
enable startup for all my apps that I need in security app, disable battery optimization.
2)
adb she'll pm disable-user --user 0 com.zui.safecenter
....
Best thing to flash global to cn, but dunno how to do it, not checked any news.
dEFLASH said:
It's ok, cuz app service is down.
I made a simple thing :
1)
enable startup for all my apps that I need in security app, disable battery optimization.
2)
adb she'll pm disable-user --user 0 com.zui.safecenter
....
Best thing to flash global to cn, but dunno how to do it, not checked any news.
Click to expand...
Click to collapse
Hi, can you explain how to disable the safe center? I activated debug mode and did it through minimal ADB, but the error below occurs.
{
"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"
}
caiogsa said:
Hi, can you explain how to disable the safe center? I activated debug mode and did it through minimal ADB, but the error below occurs.
View attachment 5354443
Click to expand...
Click to collapse
Dunno, the guide to disable
How to disable any pre-installed system app bloatware on Android without root
If you hate the bloatware or pre-installed apps on your Android smartphone, here's how to disable them even if Android doesn't normally let you.
www.xda-developers.com
You can find a correct full name of app in for example "solid explorer" app, go apps, system, find security app and check it full name
dEFLASH said:
Dunno, the guide to disable
How to disable any pre-installed system app bloatware on Android without root
If you hate the bloatware or pre-installed apps on your Android smartphone, here's how to disable them even if Android doesn't normally let you.
www.xda-developers.com
You can find a correct full name of app in for example "solid explorer" app, go apps, system, find security app and check it full name
Click to expand...
Click to collapse
yes, I found it, in my case it was safecenter.row, but it still didn't solve the problem of notifications, I still don't receive.
what firmware are you running?
caiogsa said:
yes, I found it, in my case it was safecenter.row, but it still didn't solve the problem of notifications, I still don't receive.
what firmware are you running?
Click to expand...
Click to collapse
Did you make your apps start up automatically first?
Make it start auto when your phone boot.
Disable battery optimization for your apps.
Then disable safecenter.
My fw CN 12.5.632
dEFLASH said:
It's ok, cuz app service is down.
I made a simple thing :
1)
enable startup for all my apps that I need in security app, disable battery optimization.
2)
adb she'll pm disable-user --user 0 com.zui.safecenter
....
Best thing to flash global to cn, but dunno how to do it, not checked any news.
Click to expand...
Click to collapse
Thnx man, it works! But apps must be startup. If apps off, no notifications again. Apps can't turn on themselves(
Who have same problem, follow this two guides
1. https://www.xda-developers.com/install-adb-windows-macos-linux/
2. https://www.xda-developers.com/disable-system-app-bloatware-android/
hi im having the same problem no notifications and my alarms are not working for some reason ive tired to do your guides but i must be doing something wrong would you mind helping me through it step by step lol
i dont know if its something to do with usb preferences as it wont let me select connected device just this device
sorry thanks
right ive managed to get somewhere but still have no notifications unless i have the app open in the background
how do i make all the apps open at startup?
there is no way lenovo can ignore this bug as its quite a big problem lol
thanks
brockyneo said:
how do i make all the apps open at startup
Click to expand...
Click to collapse
In security app you can enable startup.
And also disable battery optimization for app.
Then disable security app via adb.
Do you need a screenshots?
dEFLASH said:
In security app you can enable startup.
And also disable battery optimization for app.
Then disable security app via adb.
Do you need a screenshots?
Click to expand...
Click to collapse
If you don't mind yes lol Ive managed to get notifications if I lock them in the recents tab and leave them open
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?