Hello
I have uninstalled Miui Gallery application with the following command with adb:
pm uninstall -k --user 0 com.miui.gallery
It breaks the doodling functionality on screenshots
I'm not root, how could I install it again without having to reset my phone? Thank.
jorge_94 said:
Hello
I have uninstalled Miui Gallery application with the following command with adb:
pm uninstall -k --user 0 com.miui.gallery
It breaks the doodling functionality on screenshots
I'm not root, how could I install it again without having to reset my phone? Thank.
Click to expand...
Click to collapse
download apk is here.
https://www.apkmirror.com/apk/xiaomi-inc/miui-gallery/
No work
thiagoribeirorj said:
download apk is here.
Click to expand...
Click to collapse
It does not work.
Solved
I have already solved. You just have to install some file explorer that can see the / (it does not matter if you are root or not, since we are not going to modify permissions or anything), for example, File Explorer. Enter / system / priv-app, we get a folder called MiuiGallery and inside is the apk. We installed it and everything works.
Just to comment about 2 years later... At least in my Xiaomi Mi 9T I uninstalled the Gallery and after reinstalling it, the app kept crashing.
The solution was to install it anyway and then go to System -> Apps -> Manage Apps, find the Gallery app and Uninstall the Updates... Basically this will revert to the "system" app and the app should run again...
The MI 9T is running on Android 10, MIUI 12.0.9.0.
HTH
I have found the solution.
you can simply use
1 adb shell
2 cmd package install-existing com.miui.gallery
and you'll get the package back .
Charlz. said:
I have found the solution.
you can simply use
1 adb shell
2 cmd package install-existing com.miui.gallery
and you'll get the package back .
Click to expand...
Click to collapse
you can use this method for every other apps
Even you can re-install the .apk file from GetApps.
It should work.
Related
Anyone had the ability to get adb shell working with Oreo now that it's been out a few weeks?
Looking to debloat if possible, especially a bunch of those pointless samsung apps that refuse to disable through application manager.
magiin said:
Anyone had the ability to get adb shell working with Oreo now that it's been out a few weeks?
Looking to debloat if possible, especially a bunch of those pointless samsung apps that refuse to disable through application manager.
Click to expand...
Click to collapse
Yeah it's possible.
Deleted
shakkirk said:
How ? please give us step by step instructions
Click to expand...
Click to collapse
Same instructions as before still work. Honestly though Samsung allows so many uninstall and disablings, I just have to hide a few icons like "help" and my phone flies But if you want to go all out:
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
TLDR of those instructions (replace package-name with part of the app name you are trying to remove or cut of the grep part and find your package in the list):
Code:
adb shell
pm list packages | grep 'package-name'
pm uninstall -k --user 0 package-name
Note: Any application "uninstalled" via this method will return if/when you factory reset.
hi can anyone post adb commands to uninstall bloat or apps like facebook,one drive etc
abhijeetn said:
hi can anyone post adb commands to uninstall bloat or apps like facebook,one drive etc
Click to expand...
Click to collapse
adb devices ---> Identify if device is connected.
adb shell ---> To enter commands.
pm uninstall -k --user 0 "X" ---> X is app location (i use App Aplication Info to get it)
cmd package install-existing "X" ---> If you f*cked up and have to reinstall what you deleted.
Hi guys, I'm troubleshooting for blocking the LauncherHijack.apk. Here I found this app Arcus Android Client (com.amazon.nimh) to block the LauncherHijack to push back to useless Fire Launcher will I modify this app to break this Fire Launcher and Arcus Android Client app to access any 3rd-party launcher.
The Launcher Hijack isn't compatible says from LauncherHijack blocker but is compatible for Android SDK level.
The Launcher Hijack blocker might be a Broken.
There is a message from LauncherHijack blocker:
launcherhijack has been blocked.
launcherhijack is not compatible with this device
Click to expand...
Click to collapse
Let's Get Started
Method 1 - Fix LauncherHijack without PC:
Requirements for Method 1:
-> A Fire tablet
-> SystemPanel2 installed on Google Play to uninstall the Arcus Android Client app
-> ES File Explorer installed on Google Play to backup the Launcher Hijack to create LauncherHijack.apk
Download ES File Explorer: https://play.google.com/store/apps/details?id=com.estrongs.android.pop
1. Install SystemPanel2 on Google Play Store
2. On SystemPanel2 homepage. Select Apps in navigation drawer -> System -> find Arcus Android Client by scrolling down -> tap the 3 vertical dots and select Uninstall.
3. If the uninstall confirmation appears. Tap OK button to confirm to uninstall it.
Uninstall Confirmation message:
Arcus Android Client
Replace this app with the factory version? All data will be removed.
Click to expand...
Click to collapse
4. After the Arcus Android Client has been uninstalled the updates. Now backup the LauncherHijack.apk, open the ES File Explorer, Select Apps on ES homepage, scroll down and select the Launcher Hijack by holding down and tap Backup
5. After the LauncherHijack.apk is backed up. Go to /storage/emulated/0/backups/app/Launcher Hijack_4.0.2.apk and re-install it. (the LauncherHijack will be enabled after re-installed).
6. Reboot
Method 2 - Fix LauncherHijack with PC:
Requirements for Method 2:
-> A Fire tablet
-> Windows PC with ADB driver from Android SDK Platform tools
-> A transferrable micro USB cable
-> A LauncherHijack.apk
1. Make sure the USB Debugging or Enable ADB is enabled in developer options and have an ADB installed from Android SDK Manager on your PC.
2. Connect your Fire tablet to your PC, Open Command Prompt or Microsoft PowerShell and approve the USB device.
3. Verify the attached devices
Code:
adb devices
4. Re-install the Arcus Android Client app with modified version, attached APK file under the post
Code:
adb install -r -d path\to\com.amazon.nimh.apk
or uninstall it
Code:
adb uninstall com.amazon.nimh
with ADB shell
Code:
adb shell
pm uninstall -k --user 0 com.amazon.nimh
with su
Code:
adb shell
su
pm uninstall com.amazon.nimh
disable or hide it
Code:
//uses pm disable
adb shell
pm disable --user 0 com.amazon.nimh
//uses pm hide
adb shell
pm hide --user 0 com.amazon.nimh
with su
Code:
//uses pm disable
adb shell
su
pm disable com.amazon.nimh
//uses pm hide
adb shell
su
pm hide com.amazon.nimh
5. Enable the Launcher Hijack
Code:
adb shell
pm enable --user 0 com.baronkiko.launcherhijack
with su
Code:
adb shell
su
pm enable com.baronkiko.launcherhijack
or re-install it to enable
Code:
adb install -r path/to/LauncherHijack.apk
The commands aren't work, get the mtk-su by @diplomatic
Run the mtk-su commands that same as su
6. Reboot
Code:
adb reboot
or you have an entered to ADB shell exit the ADB shell
Code:
exit
adb reboot
Your LauncherHijack has been unblocked and fixed! Give a thanks.
You have a 3rd-party launcher :highfive:
Get LauncherHijack.apk by @BaronKiko from GitHub
The renamed version of Launcher Hijack (LauncherHijackCloned) works perfectly for me. Quick and easy installation, thank the original developer:
https://forum.xda-developers.com/showpost.php?p=79750554&postcount=469
koop1955 said:
The renamed version of Launcher Hijack (LauncherHijackCloned) works perfectly for me. Quick and easy installation, thank the original developer:
https://forum.xda-developers.com/showpost.php?p=79750554&postcount=469
Click to expand...
Click to collapse
I don't need that
AmznUser444 Dev said:
I don't need that
Click to expand...
Click to collapse
What?
A simple and easy solution?
Don't get me wrong... more power to you for doing it the hard way.
this didnt appear
Arcus Android Client
Replace this app with the factory version? All data will be removed, when i deleted Arcus it was still there
Hello!
I have Mi 9T 6/64 non rooted with 11.0.5 stable global rom.
With adb I uninstalled some of the programs, but I need confirmation if I may remove App Vault, because it's deeply integrated into system settings?
I have ebank app with NFC and it's working fine, I wonder if I may remove Mi Pay and Mi credit because they have some connections with NFC.
jazzh said:
Hello!
I have Mi 9T 6/64 non rooted with 11.0.5 stable global rom.
With adb I uninstalled some of the programs, but I need confirmation if I may remove App Vault, because it's deeply integrated into system settings?
I have ebank app with NFC and it's working fine, I wonder if I may remove Mi Pay and Mi credit because they have some connections with NFC.
Click to expand...
Click to collapse
In Settings/Apps, Uninstall updates for App Vault, disable its auto-updates in Google Play and disable the app by ADB (yes, it's safe):
adb shell pm disable-user com.mi.android.globalminusscreen
zgfg said:
In Settings/Apps, Uninstall updates for App Vault, disable its auto-updates in Google Play and disable the app by ADB (yes, it's safe):
adb shell pm disable-user com.mi.android.globalminusscreen
Click to expand...
Click to collapse
Thx. What about Mi pay and Mi credit?
jazzh said:
Thx. What about Mi pay and Mi credit?
Click to expand...
Click to collapse
You can disable them - I just did but not by adb but by renaming apps to *.apk, everthing works fine.
However, I don't know would it affect (I don't believe so) Google Pay, you must test
But before you do it, please give me a small favour:
Install an app like ApkInspector (from Google Play), and please tell me the path and the name for MiCredit app - I renamed it to *.bak and now cannot find it
The path is
data/app/MiCreditInStub/MiCređitInStub.apk
jazzh said:
The path is
data/app/MiCreditInStub/MiCreditInStub.apk
Click to expand...
Click to collapse
Thanks. Strange.
I had renamed
data/app/MiCreditInStub/MiCreditInStub.apk
to
data/app/MiCreditInStub/MiCreditInStub.bak
and after rebooting I was searching for
su
chdir /data/app
du -a | grep credit
du -a | grep bak
but did not found.
Now when you gave me the full path/name I see that I don't have the folder MiCreditInStub under /data/app anymore?!
Anyway, MiCredit app is for India only for instant loans in rupies of up to cca 1320 USD:
https://www.jainishshah.in/mi-credit-instant-personal-loan-app-from-xiaomi/
Apparently, the app is also available from Google Play, but only in India:
https://www.jainishshah.in/mi-credit-instant-personal-loan-app-from-xiaomi/
/system/app/InMipay/InMipay.app
is also for India only:
https://www.financialexpress.com/in...ia-through-mi-pay-app-details-inside/1939555/
Btw, I have QFJEUXM, not QFJINXM - so why Xiaomi did not remove them from the firmware?!
Both the two from above plus the third
/system/app/IdMipay/IdMipay.app
can be safely removed:
https://forum.xda-developers.com/showpost.php?p=77706117&postcount=60
Instead of removing or renaming to bak (root or TWRP required), better use adb:
adb shell pm disable-user com.mipay.wallet.id
adb shell pm disable-user com.mipay.wallet.in
adb shell pm disable-user com.micredit.in
zgfg said:
Instead of removing or renaming to bak (root or TWRP required), better use adb:
adb shell pm disable-user com.mipay.wallet.id
adb shell pm disable-user com.mipay.wallet.in
adb shell pm disable-user com.micredit.in
Click to expand...
Click to collapse
I did so, thanks
jazzh said:
I did so, thanks
Click to expand...
Click to collapse
Did you also remove MiCoin:
com.xiaomi.payment
/system/app/PaymentService/PaymentService.apk
I did, everything ok so far
I just bought a OP 8 Pro, unlocked the bootloader and rooted him.Obviously, I would like to uninstall pre-installed apps but impossible.System is locked into read-only mode.I tried all solution I can find but nothing.And I've found this one.You have to install adb before and USB Debugging enabled.Plug the phone into PC and change it from charge only to file transfer.In the folder where adb is installed, you have to do SHIFT+RIGHT CLICK to open PowerShell.Then, in the terminal, enter :adb devicesThis print the serial number of the device (first time you have to click ok on the phone).after, enter :adb shellYou are into your phone.execute the next command :pm uninstall -k --user 0 "name of package" (without quote. You can see the name of package in Titanium or SD Maid for exemple.)Done It seems to be ok for me.
thanks! Here's also a popular way to debloat:
[Magisk Debloat] [OOS A10] Eagle debloater V1.5
You can use adb shell. You need to platform tool. Install on computer.
You need to add path to system.
You can use below command.
pm uninstall -k --user 0 package name.
Thanks for Eagles Debloater but I Just want to uninstall one app. Not a lot.
Johncaffee said:
I just bought a OP 8 Pro, unlocked the bootloader and rooted him.
Obviously, I would like to uninstall pre-installed apps but impossible.
System is locked into read-only mode.
I tried all solution I can find but nothing.
And I've found this one.
You have to install adb before and USB Debugging enabled.
Plug the phone into PC and change it from charge only to file transfer.
In the folder where adb is installed, you have to do SHIFT+RIGHT CLICK to open PowerShell.
Then, in the terminal, enter :
adb devices
This print the serial number of the device (first time you have to click ok on the phone).
after, enter :
adb shell
You are into your phone.
execute the next command :
pm uninstall -k --user 0 "name of package" (without quote. You can see the name of package in Titanium or SD Maid for exemple.)
Done
It seems to be ok for me.
Click to expand...
Click to collapse
My solution is not ok. It seems to be ok but the apk of the app is always in Root Explorer
Problem with Android 11. It is blocked in read-only mode.