Can't remove Facemoji keyboard with ADB: failure -1000 - Android Q&A, Help & Troubleshooting

Hi,
I've successfully removed all miui and android bloat with the ADB tool, which is fantastic without root.
But I cannot remove the Facemoji keyboard from Xiaomi. It gives failure -1000.
Any idea what it means?
I also tried using the hidden menus for miui app in the play store but also there the uninstall is 'unsuccessful'.
Is there any way to remove it still, without rooting the phone ?
Using Xiaomi redmi note 8t, latest android version update.

Same For me. No one have any idea?

An IME is installed as a system-app and/or system-privileged-app, means you need root rights to uninstall it.

You will need root for this method:-
1) Disable it using adb shell:
pm disable-user com.facemoji.lite.xiaomi
2) Next, use a root file manager app (I used Fx), and navigate to System(Root)/data/app/ and find facemoji package. Verify by opening the folder and checking if base.apk exists in the folder. Delete this package folder.
3) Reboot.

https://www.reddit.com/r/PocoPhones/comments/mxiglw
Here's a simple trick to remove it.

jwoegerbauer said:
An IME is installed as a system-app and/or system-privileged-app, means you need root rights to uninstall it.
Click to expand...
Click to collapse
Can you please confirm that root access is required to uninstall Facemoji Emoji Keyboard for Xiaomi? I tried using adb commands and Xiaomi ADB/Fastboot Tool but it didn't work. Any help is very much appreciated.

Related

How to Remove/Replace Kingroot (KingUser) with SuperSu

If you was one of those who root their devices by using KingRoot App and would like to remove kinguser and related files, you can replace it with the well known SuperSU.
Here's a small script to remove Chinese kingruser, all related files and folders, and install SuperSU.
This script will do all the work for you without using PC, just by terminal, first of all, thanks to chainfire for his SuperSU files.
Before starting :
Download and install Terminal emulator appTerminal emulator app
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Download and unzip "Replace_Kingroot_With_SuperSU.zip
http://tiny.cc/fo78zx
Steps :
Send the extracted folder "mrw" to the internal storage of your device and make sure that this folder contains 4 files
Open Terminal emulator and type :
"Su" (without "")
Allow root permission
Type :
" sh /sdcard/mrw/root.sh" (without "" , notice there's space between sh /sdcard.)
It might display some error, but wait for 30-40 seconds and at the end it will launch supersu or open supersu manually.
Update su binary normal, then reboot.
Done !
I ran the script and it went thru to installing Super Su but I lost root and couldn't update binaries. I redownloaded King Root and opened it and I instantly had root back. Are there other files that King Root has installed that don't allow this script to work. If you have any insight it wouldbe appreciated. I know I am on a different phone but script seems to work up to a point. ZTE Z820 Android 5.1 Thanks
I can confirm this method works on Lenovo Vibe X2 running Android 5.0. New Kingroot 4.5, the one with crown icon, successfully replaced by SuperSU while root status remain intact. A process crashed upon Kingroot removal, however restart seemed to get rid of the problem.
Peacekeeper888 said:
I can confirm this method works on Lenovo Vibe X2 running Android 5.0. New Kingroot 4.5, the one with crown icon, successfully replaced by SuperSU while root status remain intact. A process crashed upon Kingroot removal, however restart seemed to get rid of the problem.
Click to expand...
Click to collapse
May I ask did you have busybox already downloaded and installed? I see that the zip contains busybox as one of the actions of the script. Maybe that's why it didn't work for me?? Also I have Kingroot 4.9.2 and I'm thinking that is the main reason the script fails for me.
Jsmor1313 said:
May I ask did you have busybox already downloaded and installed? I see that the zip contains busybox as one of the actions of the script. Maybe that's why it didn't work for me?? Also I have Kingroot 4.9.2 and I'm thinking that is the main reason the script fails for me.
Click to expand...
Click to collapse
I had KingRoot v.4.85, on a KitKat 4.4.
The script didn't work, so I plug the phone and connected to the computer, opened a console, executed the adb shell command and start to give each of the script commands manually one by one.
The failure was at pm uninstall com.kingroot.kinguser (com.kingroot.RushRoot wasn't installed anyway).
The packet manager wasn't able to uninstall Kingroot. I had to uninstall manually using the phone
Code:
H:\Development\adt-bundle-windows-x86-20140702\sdk\platform-tools>adb shell
[email protected]_z10:/ $ su
[email protected]_z10:/ # mount -o rw,remount /system
[email protected]_z10:/ # am kill com.kingroot.RushRoot
[email protected]_z10:/ # pm uninstall com.kingroot.RushRoot
Failure
[email protected]_z10:/ # am kill com.kingroot.kinguser
[email protected]_z10:/ # pm uninstall com.kingroot.kinguser
Failure
In the end the replacement was successful
details of manual uninstall
halnovemila said:
I had KingRoot v.4.85, on a KitKat 4.4.
The script didn't work, so I plug the phone and connected to the computer, opened a console, executed the adb shell command and start to give each of the script commands manually one by one.
The failure was at pm uninstall com.kingroot.kinguser (com.kingroot.RushRoot wasn't installed anyway).
The packet manager wasn't able to uninstall Kingroot. I had to uninstall manually using the phone
Code:
H:\Development\adt-bundle-windows-x86-20140702\sdk\platform-tools>adb shell
[email protected]_z10:/ $ su
[email protected]_z10:/ # mount -o rw,remount /system
[email protected]_z10:/ # am kill com.kingroot.RushRoot
[email protected]_z10:/ # pm uninstall com.kingroot.RushRoot
Failure
[email protected]_z10:/ # am kill com.kingroot.kinguser
[email protected]_z10:/ # pm uninstall com.kingroot.kinguser
Failure
In the end the replacement was successful
Click to expand...
Click to collapse
I have rooted my phone (Android 5.1) with kingroot 4.8.0, I also want to remove KingRoot and replace it with supersu.
I plan to execute the script line by line via an ssh session as root on my phone.
finally how have you uninstalled Kingroot manually ?
fabp said:
I have rooted my phone (Android 5.1) with kingroot 4.8.0, I also want to remove KingRoot and replace it with supersu.
I plan to execute the script line by line via an ssh session as root on my phone.
finally how have you uninstalled Kingroot manually ?
Click to expand...
Click to collapse
I modified the script in this way:
After
Code:
pm uninstall com.kingroot.kinguser
I've added
Code:
am start -a android.intent.action.MAIN -n com.buak.Link2SD/.Link2SD
echo "Press any key to continue"
read typedkeys
The first of the three added rows launches Link2SD app (that I've installed on my phone since I rooted it); the last line pause the script execution.
I used Link2SD to uninstall Kingroot.
Anyway I have to say that, even though the installation of SuperSU seems completed without errors, the apps that asks for root permissions didn't receive the answer from SuperSU and they aren't granted root permission, so... it still doesn't work.
it did not work, superSU can not update binary and can not uninstall the other root app (kingroot)
guys,I am telling you a working method which worked for me..
but you are going to need some version specific apps for first time..
things you need...
1. clean MICROMAX a311
2. kingoroot KingRootSetup_v3.2.0.1129 (i can upload it if you want)
3. Supersume.apk {MUST BE VERSION 6.4} (application used to change from kingroot to supersu)
note -- Pay attention to versions,messing with them will not allow you to achieve target.
steps..
1. install kingrootsetup on pc(must have internet connection to work)
2. connect ur phone with ADB enabled from developers option
3. root ur phone by following on screen instructions...
4. after rooting,install supersume on phone
5.open the app,click on big blue button and wait...
done,replaced kingroot with supersu..
[email protected]_Rocker said:
guys,I am telling you a working method which worked for me..
but you are going to need some version specific apps for first time..
things you need...
1. clean MICROMAX a311
2. kingoroot KingRootSetup_v3.2.0.1129 (i can upload it if you want)
3. Supersume.apk {MUST BE VERSION 6.4} (application used to change from kingroot to supersu)
note -- Pay attention to versions,messing with them will not allow you to achieve target.
steps..
1. install kingrootsetup on pc(must have internet connection to work)
2. connect ur phone with ADB enabled from developers option
3. root ur phone by following on screen instructions...
4. after rooting,install supersume on phone
5.open the app,click on big blue button and wait...
done,replaced kingroot with supersu..
Click to expand...
Click to collapse
Hello can someone give me a link to supersume 6.4apk please
Thanks
2010radams said:
Hello can someone give me a link to supersume 6.4apk please
Thanks
Click to expand...
Click to collapse
sure....it will be my pleasure.
ok !
download from attachment and install,then get rid of kinguser...:good:
[email protected]_Rocker said:
sure....it will be my pleasure..BTW it can be used on ANY phone to replace kinguser with supersu..
ok !
download from attachment and install,then get rid of kinguser...:good:
Click to expand...
Click to collapse
Just used this solution on a Vodafone Tab speed 6 (VF-1397).
Seemed to work fine but after updating superSU and rebooting the Tablet, screen went black when boot reached unlock screen and couldn't see or do anything except using the power button options.
After some reboots (lost count, ~5/6, and failed atemps to enter recovery), (and the removal of the sim card) the tablet finaly started to optimize all my apps as if the dalvik cache had been wiped.
Afterwards screen went black again and couldn't do anything again.
After some time was finaly able to enter recovery and i'am now trying to format everything.
Subray said:
Just used this solution on a Vodafone Tab speed 6 (VF-1397).
Seemed to work fine but after updating superSU and rebooting the Tablet, screen went black when boot reached unlock screen and couldn't see or do anything except using the power button options.
After some reboots (lost count, ~5/6, and failed atemps to enter recovery), (and the removal of the sim card) the tablet finaly started to optimize all my apps as if the dalvik cache had been wiped.
Afterwards screen went black again and couldn't do anything again.
After some time was finaly able to enter recovery and i'am now trying to format everything.
Click to expand...
Click to collapse
Sorry to hear that...
can you tell how you were UPDATING supersu ??
i also updated from 2.4.5 to 2.6.5 without any problems...
were you using genuine zip of supersu meant for your device ??
or just regular zip ??
don't you have backup of your tab....you were rooted..
1st thing you were to do was to make a full backup...why didn't you did that ??
Script didn't work for me, tons of errors because the path wasn't right. Fixed it to have exactly the same but still plenty of errors and SU binary would not update.
That supersume.apk thing though... MAGIC!!
Thanks heaps!!!
Device reboots
Any idea why the device reboots when I press enter at the last command? I did everything correctly, step by step like you describe it but instead of replacing the KingRoot with SuperSu the device reboots and the KingRoot is still there.
The device is Sony Xperia SP (C5303)
Any help would be great cause I used the exact same method some time ago in my tablet (Lenovo A8) and it worked perfectly. But not in the Xperia and I don't know if I should fully unroot it and try a different method or what.
Sahilsinghlodhi said:
If you was one of those who root their devices by using KingRoot App and would like to remove kinguser and related files, you can replace it with the well known SuperSU.
Click to expand...
Click to collapse
All is done how you describe, everything was just fine and now I have a Lenovo S850 with android 4.4.2 rooted with SuperSU Free 2.78
Thanks a lot.
Does it also work with Kingsroot 5?
Lemmi1 said:
Does it also work with Kingsroot 5?
Click to expand...
Click to collapse
I tried on kingroot 5, no success then unistall kingroot and try kingroot 4.9, again same errors.
It worked for me for kingroot 5.0 on lyf flame 8 through emulator method.
Sent from my SM-G900H using Tapatalk
I tried on kingroot 5 oppo f1s anf failed. Then tried kingroot 4.9 failed. Then tried kingroot 4.81 and super sume pro.. Works like a charm.

Debloater script

Anyone could please suggest me a debloater script for honor 8 MM?
rooted or no root?
Rooted
All the time I try to delete a bloated app it returns. I managed to freeze the app but that's not the right way. Sometime I have problems with the gallery even if I have quick pic. I can't freeze the gallery because if I try to upload a pic in a social app like badoo it just does nothing. I have to go to twrp and clean the cache all the time
whitehollow said:
All the time I try to delete a bloated app it returns. I managed to freeze the app but that's not the right way. Sometime I have problems with the gallery even if I have quick pic. I can't freeze the gallery because if I try to upload a pic in a social app like badoo it just does nothing. I have to go to twrp and clean the cache all the time
Click to expand...
Click to collapse
Try adb
Connect phone to laptop or pc (you must have adb fastboot on it)
Open cmd (press shift then right click on adb folder choice open command prompt)
Type adb shell
Then type pm list package | grep huawei (or google or app name). It will show all package app you find.
Then type pm uninstall -k --user 0 com.huawei.xxx (it it package name show from command above)
It will remove any app you want (you can try on rooted or no root device. With no root device, you can still install ota when have)
Thanks I'll try before reinstalling android. A script would be easier anyway.
whitehollow said:
Thanks I'll try before reinstalling android. A script would be easier anyway.
Click to expand...
Click to collapse
What is your device brand? L09 or what?
Anyone have a good list of bloatware that can be safely removed from this device?

How to downgrade built-in app without root

Hi all
Question is if it is possible to downgrade built-in app without root. The reason is factory image include quite new version of Google Photos which doesn't include option to not drain battery by enabling "backup while charging only". Installing older version is the cure but built-in apk is newer than latest apk which supports such option (v2.16). This old version creates such option in config file which is seen by the latest version too so upgrading GPhotos to the latest version still preserves this option in settings. Btw. running Android 8.1.
But it seems there is no way how to do it.
1. Uninstall is not possible as app sits as system one so it can be disabled only
2. App downgrade is not possible as also "adb install -r -d app.apk" is not supported in newer Android for no-debug files
3. It is possible to uninstall app from data partition so it seems app is not installed by "pm uninstall --user 0 com.google.android.apps.photos" but by using adb shell pm install command it is not possible to install older apk as PackageManager sees SYSTEM apk and denies installation due to DOWNGRADE error.
Is it somehow possible, without root, to run once old version of APK which writes required attrib to Photos config file and then update app back again?
It seems it is not possible without root as PackageManager always refuse package installation also in case it is placed to --user 0 session.
Do anyone have some hints?
Many thanks
Nobody knows?

The device is asking me to install app as update - but there is no app!

Hi there!
I just tried to install whatsapp fouad on my device after uninstalling it.
When I'm trying to install it with my file manager the device is asking me if I want to install it as update to this existing application - but there is very big problem - I don't have one.
When I tried to install the original whatsapp - another problem - can't install the app.
What can I do??
I tried to restart the device, clear cache.. Nothing work.
I also tried to search for whatsapp at the apps section.. Nothing found.
*Please help*
Thanks a lot!
@Tal Cohen
Seems Whatsapp was preinstalled as system app: if that's correct then it wasn't removing fully Hint: If your device is rooted run Link2SD, convert Whatsapp to user app and then try again to remove it.
1.if you are common user see this
After you uninstall the app, you can go to settings-->apps to found out whatsapp is still in apps list, if yes enter it's app detail info page, and there aren't an uninstall button means the whatsapp has a persistent version in system.
check the system persistent whatsapp version, and compare with the version you want to install, if the one you want to install is high, but you still install fail that means may be persistent whatsapp has an different signature to the one you what install. you will need a root permission to delete the origin persistent whatsapp apk file and reboot you devices to try again.
2.if you are a develop see this
first try install command see the error type:
adb install -r [your new whatsapp path]
after fail it will show your the error type, I think may be it's signature different cause.if true, try to found out the origin app path
using following command:
adb shell dumpsys package [whatsapp's packageName] | grep "apk" >[log_save_path]
you can found out the origin whatsapp apk path, if is under /system/app or /system/priv-app that means it's a persistent app, you will need a root permission to delete it. other you can just delete it without permission, reboot and try to install again.
hope this can help you!

[SCRIPT] [DISCONTINUED/SEE DESC] JBNCK-NONROOT Debloat script for Samsung devices

JBNCK-NONROOT Debloat script for Samsung devices
Works best on:
Exynos S20 series
Exynos A Series
Knox-tripped Samsung devices
[THIS PROJECT IS DISCONTINUED AND I WILL NO LONGER ANSWER ANY QUESTIONS ON THIS THREAD]
Don't worry, I'm working on a better, more extreme and more up-to-date one. I will post a link when it's ready!
Perfect, thank you
Very nice script, JanBoyGamer23. Is it possible to remove the stock Messanger app, as well? The one with three dots in the icon?
I can't install, for example Chrome
AlliePC said:
Very nice script, JanBoyGamer23. Is it possible to remove the stock Messanger app, as well? The one with three dots in the icon?
Click to expand...
Click to collapse
Yes, of course! Go to your platform tools folder (Download them if you need them) and type in:
adb shell pm uninstall -k --user 0 com.samsung.android.messaging
diegoxdrp said:
I can't install, for example Chrome
Click to expand...
Click to collapse
What?
Perfect thanks
Thank you, exactly what does "platform tools folder" mean?
Thanks, what if i want to remove or disable Samsung Game Optimization Service? Am on Android 11, 3.0.
I did try the adb command, but it didnt work. pl advise.
Vipin2689 said:
Thanks, what if i want to remove or disable Samsung Game Optimization Service? Am on Android 11, 3.0.
I did try the adb command, but it didnt work. pl advise.
Click to expand...
Click to collapse
gos always reinstalls itself. The only way to remove it is the root method: Go to your root explorer and find the app's folder in /system/priv-app and delete the folder
Hey, great script! However, I found out I needed Android SIM Toolkit after I ran the script. Do you know a way to recover/ reinstall it? or "undo" the script somehow? Thanks!
Sari95 said:
Hey, great script! However, I found out I needed Android SIM Toolkit after I ran the script. Do you know a way to recover/ reinstall it? or "undo" the script somehow? Thanks!
Click to expand...
Click to collapse
open cmd in the folder of the debloat script (the folder with all the files: adb, debloat.bat etc.) and type in:
adb shell pm install-existing com.android.stk
or with a dual sim:
adb shell pm install-existing com.android.stk
adb shell pm install-existing com.android.stk2
JanBoyGamer23 said:
open cmd in the folder of the debloat script (the folder with all the files: adb, debloat.bat etc.) and type in:
adb shell pm install-existing com.android.stk
or with a dual sim:
adb shell pm install-existing com.android.stk
adb shell pm install-existing com.android.stk2
Click to expand...
Click to collapse
That worked perfectly. Thank you!
OP, Is there a way to run your script on a MAC?
Hi, did bixby routines will work after execute this script on s20+?
I am assuming this will work on new Galaxy S21... Asking before I break my wife's new phone!!
gee.dunkin said:
I am assuming this will work on new Galaxy S21... Asking before I break my wife's new phone!!
Click to expand...
Click to collapse
Yep, should work.
Great, thanks!
FYI: I had Vanced YouTube installed and it was removed by the script. At the end I had no YouTube at all.
Also, I was somewhat surprised that you decided to remove Google Maps as well, as bloatware. Anyways, I've reinstalled both Vanced YouTube and Maps, no big deal.
Thanks for the script, you saved my some headache! I actually tried uninstalling all Facebook components using System Apps Uninstaller (root) and I ended up reflashing the firmware through Odin, as the phone got stuck on boot loops after "successfully" uninstalling them.
@op,
Could you please post a complete list of items included in the package (to be removed)?
The script had a tremendous effect on battery and I'm curious to review the main offenders (I highly suspect it to be Google telemetry, but I'd like to know specifics).
Again, excellent work, thank you!
Thanks!
nacos said:
@op,
Could you please post a complete list of items included in the package (to be removed)?
The script had a tremendous effect on battery and I'm curious to review the main offenders (I highly suspect it to be Google telemetry, but I'd like to know specifics).
Again, excellent work, thank you!
Thanks!
Click to expand...
Click to collapse
Nice to hear that it worked for you!
If you want a full list you can just look into the script as I don't remember. I know that it almost completely removes google spying, facebook trash, samsung knox bloatware and other country based bloat.

Categories

Resources