How To Guide [GUIDE] Reset App lock password - Redmi 9 Power / 9T

Tested on:
* MIUI Global 12.5.9 Stable | 12.5.9.0(RJQIDXM)
* com.miui.securitycenter 7.0.4-220913.1.2
This guide will help you in resetting MIUI default app lock password without factory reset or Mi Account.
1. Disable all apps using adb shell which are locked by app lock.
Code:
pm disable-user --user 0 <package-name>
2. After that you can use forget password option to reset the password.
3. Now enable all apps from adb shell and open them using new password.
Code:
pm enable --user 0 <package-name>
You can either choose to disable or uninstall the locked apps.

dc_2022 said:
Tested on:
* MIUI Global 12.5.9 Stable | 12.5.9.0(RJQIDXM)
* com.miui.securitycenter 7.0.4-220913.1.2
This guide will help you in resetting MIUI default app lock password without factory reset or Mi Account.
1. Disable all apps using adb shell which are locked by app lock.
Code:
pm disable-user --user 0 <package-name>
2. After that you can use forget password option to reset the password.
3. Now enable all apps from adb shell and open them using new password.
Code:
pm enable --user 0 <package-name>
You can either choose to disable or uninstall the locked apps.
Click to expand...
Click to collapse
Works only if you have enabled USB debugging.

dc_2022 said:
Tested on:
* MIUI Global 12.5.9 Stable | 12.5.9.0(RJQIDXM)
* com.miui.securitycenter 7.0.4-220913.1.2
This guide will help you in resetting MIUI default app lock password without factory reset or Mi Account.
1. Disable all apps using adb shell which are locked by app lock.
Code:
pm disable-user --user 0 <package-name>
2. After that you can use forget password option to reset the password.
3. Now enable all apps from adb shell and open them using new password.
Code:
pm enable --user 0 <package-name>
You can either choose to disable or uninstall the locked apps.
Click to expand...
Click to collapse
Is that useable for redmi note 11s 5G?
MIUI 13

kenboy1977 said:
Is that useable for redmi note 11s 5G?
MIUI 13
Click to expand...
Click to collapse
It works!!!

Will this affect WhatsApp chat history if it isn't backed up?

I am quite anxious and I don't know if the above message notifies you guys so...

dc_2022 said:
Tested on:
* MIUI Global 12.5.9 Stable | 12.5.9.0(RJQIDXM)
* com.miui.securitycenter 7.0.4-220913.1.2
This guide will help you in resetting MIUI default app lock password without factory reset or Mi Account.
1. Disable all apps using adb shell which are locked by app lock.
Code:
pm disable-user --user 0 <package-name>
2. After that you can use forget password option to reset the password.
3. Now enable all apps from adb shell and open them using new password.
Code:
pm enable --user 0 <package-name>
You can either choose to disable or uninstall the locked apps.
Click to expand...
Click to collapse
IT WORKS OMG THANK YOU SO MUCH

i disabled all the locked apps as instructed but still won't let me reset password. Am i missing something here?
Poco F1 here.

Related

[Firmware] EMUI 8.1 / 9.0 Flash, Root and Downgrade Guide (L29C432/L29C636)

How to FLASH EMUI 8.1 / 9.0 including latest single base versions (build 197+)
Your device must have the following
1. Bootloader should be unlocked (if you have not already unlocked bootloader, there are paid services available)
2. Enable USB debugging in Settings > Developer options > USB debugging
3. Remove Fingerprint ID, Face lock and Lock screen password. This is very very important otherwise your device will be soft bricked
Firmware Download:
You can download ROM version that you want (EMUI 8.1 / 9.0) from this LINK
If you do not see latest EMUI 9.0 firmwares, use the links below,
EMUI 9.0 Build 204
EMUI 9.0 build 236
EMUI 9.0 build 241
EMUI 9.0 build 243
EMUI 9.0 build 251
Do not try to update to build 241 straight from EMUI 8.0. It will brick your device and you will end up with black screen. Update to build 195 and then update to any later builds.
Files that you will be downloading are,
>> Upto build 195
update.zip
update_full_CLT-L29_hw_eu.zip
>> After build 197 or later
update_full_base.zip
Preparation:
a. Download this Flash tool and extract to your PC
b. Copy downloaded Firmware files to ZIPS-HERE folder (you can find this folder where you have extracted Flash tool
How to flash Firmware
1. Double click to run the file cmd-here.exe. It opens command prompt in the same folder where you are.
2. Once command prompt opens, type FLASH_two_files.bat if you have multiple Firmware files (2 files) or FLASH_full_base.bat if you have single base file from latest EMUI 9.0. Follow steps carefully. Once flashing is complete, it will boot normally.
PLEASE NOTE THAT THIS METHOD OF FLASHING DO NOT WIPE DATA and all the installed apps will be intact. But you will loose ROOT. You have root again.
How to ROOT EMUI 8.1 / EMUI 9.0
For EMUI 8.1:
1. Download this TWRP and flash it in fastboot mode
2. Download Magisk from this LINK
3. Flash in TWRP (using the command fastboot flash recovery_ramdisk images/twrp.img). twrp.img is already in the Flash tool that you downloaded.
For EMUI 9.0: Thanks to @ArtaxXP for the findings and the post is here LINK
1. Pre-patch images you need for different version are below. You will be patching this file yourself with magisk canary version.
RECOVERY_RAMDIS_163.img
RECOVERY_RAMDIS_195.img
RECOVERY_RAMDIS_9.0_204.img
RECOVERY_RAMDIS_9.0_236.img
RECOVERY_RAMDIS_9.0_241.img
RECOVERY_RAMDIS_9.0_243.img
RECOVERY_RAMDIS_9.0_251.img
and copy this img to your device (these recovery_ramdisk file extracted from respective EMUI firmware UPDATE.APP)
2. Download and Install latest magisk manager
3. Open Magisk manager, go to settings > update channel > Custom and use the link below
https://raw.githubusercontent.com/topjohnwu/magisk_files/master/canary_builds/release.json
Click to expand...
Click to collapse
4. Go back to magisk manager default page and refresh (pull down). Install the latest magisk manager version when prompted. Now open magisk manager after installing the updated version and again pull down to refresh
5. Now you will be asked to download and flash the latest magisk version. Click on Install and when the next window comes choose "patch only the boot.img" option. Choose the image file that you have downloaded from the link in step 1 above
6. Wait until patching is complete. The patched image will be found in Download folder in your device. Copy this patched_boot.img to your PC in the same folder where you have extracted the Flash tool you used to flash the ROM
7. Reboot device to fastboot mode and flash patched_boot.img using
fastboot command ===> fastboot flash recovery_ramdisk patched_boot.img
Click to expand...
Click to collapse
8. Now issue command fastboot reboot. Quickly unplug USB cable and hold vol-up button. Now your device will be booted in to rooted ROM
Careful Note:
If you reboot your device normally, it boots in to non-rooted ROM.
To boot to rooted ROM, hold vol-up button until Huawei Logo appears while booting.
IF YOU HAVE PATCHED WITH LATEST MAGISK CANARY BUILD 18.2+, THEN YOU DON'T HAVE TO HOLD VOL UP BUTTON WHEN REBOOTING. JUST POWER YOUR DEVICE NORMALLY AND IT BOOTS IN TO ROOTED ROM
How to DOWNGRADE from EMUI 9.0 to EMUI 8.1 for ROOTED EMUI
1. Remove fingerpring, disable screenlock & password and app lock in Settings / Security & privacy. If you miss this step your device will be soft bricked.
2. Download from here / extract yourself EMUI 9.0 recovery_ramdisk from UPDATE.APP
RECOVERY_RAMDIS_195.img (EMUI 9.0 release 11.01.2019)
3. Flash this RECOVERY_RAMDIS_195.img in fastboot and restart your device normally.
Your device may boot in to eRecovery. Switch off and restart in to fastboot and flash this RECOVERY_RAMDIS_195.img again in fastboot
4. Folllow the steps explained in How to Flash section.
How to DOWNGRADE from EMUI 9.0 to EMUI 8.1 for Non-ROOTED EMUI
Folllow the steps explained in How to Flash section.
GENERAL TWEAKS
AdGuard DNS:
You can read here what is DNS and the goodies of changins it https://www.maketecheasier.com/best-alternate-dns-services/
If anyone wants to change DNS AdGuard which stops ads in browsing. Flash it in magisk. I have done two versions. Default version blocks ads but allows browsing explicit sites and Family Protection block every ads and also explicit contents.
Files attached are,
AdGuard_DNS_(Default).v0.zip
AdGuard_DNS_(Family_Protection).v0.zip
Removal of Apps via ADB command:
If anyone wants to remove bloatware (that you may consider bloat) follow the steps below,
Note: This command doesn't remove the app altogether from your device. It removes the app from the default user 0. To get the apps back, just factory reset your device.
1. Download and unzip ADB files [Link]
2. Make sure that you have enabled USB debugging from Settings / System / Developers options [google search and find how to enable Developer option]
3. Connect your phone to your PC. Go to the folder where you have extracted the file downloaded from step 1 above
4. Double click to run the file cmd-here.exe. It opens command prompt in the same folder where you are
5. Run the command, adb shell
6. Now you can start debloating the apps that you want to (see commands below)
pm uninstall -k --user 0 com.google.android.youtube [YouTube]
pm uninstall -k --user 0 com.android.egg [Easter Egg]
pm uninstall -k --user 0 com.huawei.gameassistant [Playstore Game]
pm uninstall -k --user 0 com.huawei.appmarket [Huawei App market]
pm uninstall -k --user 0 com.android.chrome [Google Chrome]
pm uninstall -k --user 0 com.google.android.apps.docs [
pm uninstall -k --user 0 com.google.android.apps.tachyon [Duo]
pm uninstall -k --user 0 com.android.email [Stock email]
pm uninstall -k --user 0 com.google.android.gm [Gmail]
pm uninstall -k --user 0 com.google.android.videos [Google Play Videos]
pm uninstall -k --user 0 com.google.android.music [Google Music]
pm uninstall -k --user 0 com.huawei.health [Huawei Health app]
pm uninstall -k --user 0 com.huawei.phoneservice [HiCare customer service app]
pm uninstall -k --user 0 com.android.soundrecorder [Stock sound recorder]
pm uninstall -k --user 0 com.huawei.hifolder [App Advisor]
pm uninstall -k --user 0 com.android.mediacenter [Huawei Music app]
pm uninstall -k --user 0 com.huawei.himovie.overseas [Huawei Video player]
pm uninstall -k --user 0 com.huawei.videoeditor [Huawei video editor]
pm uninstall -k --user 0 com.huawei.aod [Always on display]
pm uninstall -k --user 0 com.android.dreams.basic [Daydream]
pm uninstall -k --user 0 com.android.calculator2 [stock calculator]
pm uninstall -k --user 0 com.facebook.system [Facebook App Installer]
pm uninstall -k --user 0 com.facebook.appmanager [Facebook App manager]
pm uninstall -k --user 0 com.facebook.services [Facebook Services]
pm uninstall -k --user 0 com.huawei.android.FloatTasks [Navigation dock]
pm uninstall -k --user 0 com.huawei.livewallpaper.paradise [Paradise Wallpaper]
pm uninstall -k --user 0 com.huawei.android.thememanager [Themes]
If anyone find more debloats please share in this thread
Few debloats submitted by @moonshiner
pm uninstall -k --user 0 com.huawei.search
pm uninstall -k --user 0 com.huawei.hwid
pm uninstall -k --user 0 com.huawei.hitouch
pm uninstall -k --user 0 com.huawei.hidisk [files explorer]
pm uninstall -k --user 0 com.huawei.compass
Nice guide, thanks for the mention!
I should add I did not upload these files. They are from a link shared in the MOD EDIT: TELEGRAM LINK DELETED. Check it out as there's lots of useful information in there.
Oh man! Thanks for this! Just perfect! Loving it =)
dang, i flashed these files on my first day with the p20, on a unknown region (C605) and now i'm having to go through with this rebranding: https://forum.xda-developers.com/huawei-p20-pro/help/strange-rebrand-clt-l09-to-clt-29-c432-t3798978
never that easy, is it?
smohanv said:
Hi
Download Link:
CLICK HERE TO DOWNLOAD
Click to expand...
Click to collapse
Do you need to name the folder anything specific?
Or literally just download those files an put them into a random folder on your phone?
How does the script see them, just looking for some clarity on that.
I understand the process just not that step.
Cheers for the guide and for taking the time.
:good:
dladz said:
Do you need to name the folder anything specific?
Or literally just download those files an put them into a random folder on your phone?
How does the script see them, just looking for some clarity on that.
I understand the process just not that step.
Cheers for the guide and for taking the time.
:good:
Click to expand...
Click to collapse
Yes, Just put the Huru zip with the others files at same folder, the name doesnt matter.
You will Just install the Huru zip att custom recovery. =)
lfpecoraro said:
Yes, Just put the Huru zip with the others files at same folder, the name doesnt matter.
You will Just install the Huru zip att custom recovery. =)
Click to expand...
Click to collapse
Ah so you navigate and flash one at a time via twrp?
Thanks for clarifying
dladz said:
Ah so you navigate and flash one at a time via twrp?
Thanks for clarifying
Click to expand...
Click to collapse
You only select the HuRUpdater zip in twrp for flashing. The script automatically finds and flashes the other files.
Just make sure all the files are in the same folder (including HuRUpdater.zip). The folder can be called anything you want.
This stock ROM is very good and smooth. Any opinions?
Finally, received this via OTA
European model / Dual Sim (L29-C432)
is it normal to have " Chipset Boston 8.1.0.001 (011S3)" in build number ?
After the update I mean
any advantage of upgrading from 131 to 131a?
scook94 said:
any advantage of upgrading from 131 to 131a?
Click to expand...
Click to collapse
I flashed this yesterday. Honestly can't notice any difference. Build number still states 131...
Similarly I upgraded and don't see any difference, probably minor backend stuff. I think it's only really worth upgrading once a month when the new security patch comes. All the hassle for these small incremental updates isn't really worth it.
Hi guys, I have p20 pro l29 c432.
when I finished flashing huru.zip I reboot phone on twrp. Now phone is bricked
Can you help me please?
Matias94pl said:
Hi guys, I have p20 pro l29 c432.
when I finished flashing huru.zip I reboot phone on twrp. Now phone is bricked
Can you help me please?
Click to expand...
Click to collapse
Same here :/
stock rom starts but is stuck after selecting WiFi (skipping doesn't work, some security bla about the necessity to verify via google account), it's stuck in "just a sec..." forever.
eRecovery also doesn't work, saying "failed to get package info" whenever I try.
Anyone with a solution?
Infyrana said:
Same here :/
stock rom starts but is stuck after selecting WiFi (skipping doesn't work, some security bla about the necessity to verify via google account), it's stuck in "just a sec..." forever.
eRecovery also doesn't work, saying "failed to get package info" whenever I try.
Anyone with a solution?
Click to expand...
Click to collapse
Try to clean cache in erecovery and try again. Helped me with a different problem but maybe it works for you as well.
reppi said:
Try to clean cache in erecovery and try again. Helped me with a different problem but maybe it works for you as well.
Click to expand...
Click to collapse
Thanks, but I tried that already, otherwise it wouldn't even start to try getting the recovery package ..
Is debranding necessary to flash this ROM? I'm on CLT-L04 8.1.0.109(C792), been learning Huawei's intricacies but still not understanding the debranding thing and keep hearing it tossed around. Are the ROMs themselves region locked or something?
djparent said:
Is debranding necessary to flash this ROM? I'm on CLT-L04 8.1.0.109(C792), been learning Huawei's intricacies but still not understanding the debranding thing and keep hearing it tossed around. Are the ROMs themselves region locked or something?
Click to expand...
Click to collapse
Yes you do. You need to debrand.. Search for the thread in this Forum. You have to debrand to C432. Check your version from settings.

[SOLVED] FindDevice may cause a boot loop?

Hello.
I uninstalled Find Device (pm uninstall -k --user 0 com.xiaomi.finddevice) to avoid its periodic enabling reminders.
However now sometimes "find device has been destroyed" appears as a toast. Also the Security Status in the Settings now crashes.
After finding this message (despite it is other phone model) I'm frightened about a future reboot of my phone. Can my phone really enter in a boot loop the next time I reboot? I have the miui optimization disabled, though.
I have tried to install it back, downloading the 9.0 apk, but it says INSTALL_FAILED_ALREADY_EXISTS. Using the "-r" switch also doesn't works ("com.xiaomi.finddevice is a persistent app. Persistent apps are not updateable"). I assume that this is due to haven't erased the app data (uninstalled with -k) but "pm clean" doesn't seems to clean it. I also have tried the -p option for partial installation, but returns a null exception.
Ah, my device is not rooted. MIUI Global 10.2 stable.
I managed to restore the application with the following adb command:
Code:
pm install-existing com.xiaomi.finddevice
It also works with applications uninstalled without "-k 0".
By the way, I used to use "pm disable", but now it seems it is called "pm disable-user".
So, next time I'll preferably use it instead of uninstalling, if works as expected.
Note that it doesn't allows to disable finddevice:
Code:
$ pm disable-user com.xiaomi.finddevice
Package com.xiaomi.finddevice new state: default
The package still continues in default state, unlike when it actually works:
Code:
$ pm disable-user com.miui.player
Package com.miui.player new state: disabled-user
Credits for these great discoverings to this blog post (eskerahn.dk/wordpress/?p=2462) [add the https prefix, I can't yet post urls!]
is there a any way to uninstall this application without trouble (without bootloop)?
i have the same question is there a any way to uninstall this application without trouble (without bootloop)?
If it doesn't boot, it's awesome tho.
Without modifying the vendor ROM image there is no way to get rid of it.

[GUIDE] Apps safe to remove

Hello guys.
As you may know, there is a way to uninstall system apps whithout root, as described here. Is a 'generic' guide, so I'll not enter on details on it. I used this guide, and sucessfully debloated my Note 8.
Here is my list:
Code:
android.autoinstalls.config.Xiaomi.ginkgo
com.android.browser
com.android.calendar
com.android.soundrecorder
com.facebook.appmanager
com.facebook.services
com.facebook.system
com.google.android.apps.docs
com.google.android.apps.maps
com.google.android.apps.photos
com.google.android.apps.tachyon
com.google.android.apps.wellbeing
com.google.android.gm
com.google.android.googlequicksearchbox
com.google.android.marvin.talkback
com.google.android.music
com.google.android.tts
com.google.android.videos
com.google.ar.lens
com.mi.android.globalminusscreen
com.micredit.in
com.milink.service
com.mipay.wallet.id
com.mipay.wallet.in
com.miui.backup
com.miui.cleanmaster
com.miui.cloudbackup
com.miui.compass
com.miui.notes
com.miui.player
com.miui.screenrecorder
com.miui.userguide
com.miui.videoplayer
com.miui.weather2
com.miui.yellowpage
com.netflix.partner.activation
com.tencent.soter.soterserver
com.xiaomi.midrop
com.xiaomi.payment
com.xiaomi.scanner
Some advices: DO NOT uninstall cloud services if you want to use "Find My Phone". Also, DO NOT uninstall an app if you are unsure about it.
If you want a really clean device, I recommend to turn off your phone, take out the SIM card, turn on again and restore to factory defaults. Then, do the initial setup WITHOUT connecting to any network. By this way, you'll avoid any unwanted app to get updated automatically, PLUS avoinding initial installation of some apps like Facebook and Netflix (by uninstalling android.autoinstalls.config.Xiaomi.ginkgo). I'm using my phone for a week, without problems.
TIP 01: if you want to get the entire list, open an adb prompt on your computer, as described on list bellow, and use the following command:
Code:
adb shell pm list packages > list.txt
. Then, open the file list.txt on notepad.
TIP 02: MIUI isn't good to work with a Google App profile. But, if you need to use it, you need to uninstall the apps for this profile also. Setup you profile, and just after disconnect from any network. Then, go to adb command prompt and type
Code:
adb shell pm list users
. Press ENTER and you will get a list of 'users' on your phone, like:
Code:
Users:
UserInfo{0:Proprietário:13} running
UserInfo{12:security space:13} running
The first number is what you need. Just change the '0' (zero) on the commands for uninstall for the number you get (in case above, 12). A NOTE: for me is 12 because I'm using built-in Second Space feature to handle my work profile (and I recommend you to do the same), so the number for you maybe will be different.
See ya!
very nice list. i'm a bitt scared about removing com.mi.android.globalminusscreen. do you know what it is?
augugusto said:
very nice list. i'm a bitt scared about removing com.mi.android.globalminusscreen. do you know what it is?
Click to expand...
Click to collapse
App Vault, it's just used in stock launcher.
what about com.miui.securitycenter?
augugusto said:
what about com.miui.securitycenter?
Click to expand...
Click to collapse
It's an essential part of Miui system to work, you will get bootloop if you remove it completely (device won't boot).
Anyway this method doesn't remove any app completely so you would need root to achieve it, just the data user is wiped in a way that you no longer can't interact with the app. But with Miui Security Center you will have forced close for some apps and you won't access to some functions in settings.
Thanks! I found a few more "services" that I didn't like in this list.
https://medium.com/@mail.anonymous....devices-via-android-debug-bridge-2e5bcd94dfa0
What happens if I remove the default messaging app?
AppaDambis said:
What happens if I remove the default messaging app?
Click to expand...
Click to collapse
Unless you have another messaging app you won't be able to send messages............

Removing Bloatware does not work on MIUI 12

Hello Friends,
When I was on MIUI 11, I had removed Mi apps like Mi pay, Mi video, Poco launcher, Mi browser and Mi music by adb. Now I have updated to latest MIUI 12 but I am not able to remove Mi calendar, Mi browser via adb. I get an error message, "failure [-1000]". Why is it happening and how I can remove the bloatware?
Hi Friends,
I am using MIUI 12.0.2.0 China stable ROM on my K20 Pro & I removed all the bloatwares apps included in this rom. For removings apps I use XiaomiADBFastbootTools.jar .I suggest you download this tool & install JDK (java development kit) for the removal process. I am very haappy with this tool. I also use it on XIAOMI.EU rom.
I hope your problem will be solved with this great tool.
On global rom the tool cannot remove these apps, no idea why not.
boomboomer said:
On global rom the tool cannot remove these apps, no idea why not.
Click to expand...
Click to collapse
You try this tool on global ROM?
i try that tool on global miui 12 and it cant remove that apps.
But on latest beta orange fox recovery exist option to remove system apps. didnt try as i change miui 12 global to Xiaomi.eu weekly and tool can remove that apps.
so global stable cant remove and xiaomi.eu weekly can remove
I tried with both Szaki's tool and OrangeFox Recovery tool, none of them work.
I confirm that following apps can't be removed on Global (12.0.1) MIUI 12
Code:
com.mi.android.globalminusscreen
com.mi.globalbrowser
com.xiaomi.calendar
com.miui.player
com.miui.videoplayer
com.miui.weather2
Following error occurs when I try to uninstall any of these apps:
Code:
pm uninstall --user 0 com.mi.android.globalminusscreen
Failure [-1000]
I removed it
renr29 said:
I removed it
Click to expand...
Click to collapse
This affirmation without an explanation is sh*t
bartito said:
This affirmation without an explanation is sh*t
Click to expand...
Click to collapse
we can remove it on custom miui roms
slavke1976 said:
we can remove it on custom miui roms
Click to expand...
Click to collapse
MIUI custom ROMs are not in question.
You allways can remove these sh*t apps on a custom ROM or, if can't be removed by "pm uninstall" command, you can remove by recovery.
The question is to remove these apps from unrooted and unlocked MIUI 12 global
bartito said:
MIUI custom ROMs are not in question.
You allways can remove these sh*t apps on a custom ROM or, if can't be removed by "pm uninstall" command, you can remove by recovery.
The question is to remove these apps from unrooted and unlocked MIUI 12 global
Click to expand...
Click to collapse
I understand, but the answer is that we cant from miui 12 global. My phone is unlocked and i had magisk. and miui global stable, removing that apps is not possible with that debloater tool or commands. Didnt try other metods. but with debloater tools as sakis, it doesnt work.
bartito said:
I confirm that following apps can't be removed on Global (12.0.1) MIUI 12
Following error occurs when I try to uninstall any of these apps:
Click to expand...
Click to collapse
The smallest ADB package for PC that is enough for ADB is Minimal ADB and Fastboot (find a thread on XDA)
According to your error, it was the following ADB command that failed:
adb shell pm uninstall -k --user 0 <pkg-name>
Try instead the other ADB command:
adb shell pm disable-user <pkg-name>
Where <pkg-name> stands for:
com.mi.android.globalminusscreen com.mi.globalbrowser
...
or package name for any other system app you want to disable - use AppInspector from Playstore to read package names corresponding to the apps
I'm not using any windows command but the adb shell command to access the device then exec pm uninstall command.
I also confirm that I've tried also pm disable and pm disable-user and both fails to remove/disable the related apps
zgfg said:
Instead of using a jar (not knowing what's inside), you can use ADB commands - simply install Minimal ADB and Fastboot package to PC
According to your error, jar executes the following ADB command:
adb shell pm uninstall -k --user 0 <pkg-name>
Try instead the other ADB command:
adb shell pm disable-user <pkg-name>
Where <pkg-name> stands for:
or package name for any other system app you want to disable - use AppInspector from Playstore to read package names corresponding to the apps
Click to expand...
Click to collapse
bartito said:
I'm not using any windows command but the adb shell command to access the device then exec pm uninstall command.
I also confirm that I've tried also pm disable and pm disable-user and both fails to remove/disable the related apps
Click to expand...
Click to collapse
By AppInspector, find the system or data folder and apk name where the corresponding app is installed
By using TWRP (root not required) or e.g. MiXPlorer (root required), go to that folder and rename <app-name>.apk to <app-name>.bak and reboot
If you disabled a critical app causing e.g. a boot failure, use TWRP and rename bak file back to the original apk extension
To use twrp root isn't required but bootloader unlocked.
My bootloader is locked
zgfg said:
By AppInspector, find the system or data folder and apk name where the corresponding app is installed
By using TWRP (root not required) or e.g. MiXPlorer (root required), go to that folder and rename <app-name>.apk to <app-name>.bak and reboot
If you disabled a critical app causing e.g. a boot failure, use TWRP and rename bak file back to the original apk
Click to expand...
Click to collapse
zgfg said:
The smallest ADB package for PC that is enough for ADB is Minimal ADB and Fastboot (find a thread on XDA)
According to your error, it was the following ADB command that failed:
adb shell pm uninstall -k --user 0 <pkg-name>
Try instead the other ADB command:
adb shell pm disable-user <pkg-name>
Where <pkg-name> stands for:
com.mi.android.globalminusscreen com.mi.globalbrowser
...
or package name for any other system app you want to disable - use AppInspector from Playstore to read package names corresponding to the apps
Click to expand...
Click to collapse
Thanks a ton!! The MIUI browser (com.mi.globalbrowser) had been bothering me for quite some time, and because of you I was able to get rid of it! Thanks!
I can also confirm that using the disable function works on both the browser and calender apps, you can't uninstall but it will accept disable - problem solved
boomboomer said:
I can also confirm that using the disable function works on both the browser and calender apps, you can't uninstall but it will accept disable - problem solved
Click to expand...
Click to collapse
Btw, there is not much difference in disabling and 'uninstalling' - i.e., don't think that
adb shell pm uninstall -k --user 0 <pkg-name>
would really remove the package from your system
It only uninstalls for the current user 0 - but the app is still available on the system for user 999
And the opposite command:
adb shell cmd package install-existing <pkg-name>
would reinstall it (for user 0), hence package was not really deleted from the system (to save some MBs or so)
---
The only differences between disabling and uninstalling (both make it for user 0) are
- Disabled apps are still visible in Settings, Apps and some of them can be re-enabled by click from there.
Playstore will show you an update of disabled app and if you want to prevent its automatic update (and re-enabling) you have to disable its auto-update in Playstore.
Similarly for System apps updater from Xiaomi (disable auto-updating and when it offers to update an app you have disabled, click to ignore the update)
- 'Uninstalled' ones are not visible in Settings, Apps. If you want to 're-install' them you have to remember what you have 'uninstalled'' and their package names.
Playstore and System apps updater will not bother you about their updates
Thanks, but this is just with the ADBFastbootTools.jar and the uninstall option failed for the new Mi Browser and Calender, but the disable option worked. Both are annoying bloatware that can't be fully removed without root, so this is the next best option.

Question 12.0.3.0 Global, Root, MIUI Dialer, Nova Launcher...

How to root this rom?
How to enable swiping for nova launcher?
How to use MIUI Xiaomi dialer instead built in google?
Update:
[Solved] 1. How to root:
Rooting the Mi 11 with the latest Xiaomi.eu ROM
EDIT: This is not for the TWRP version. I will update this thread soon! Hello! Since I saw a lot of people asking, I decided to post how to root a Mi 11 (as of 2021-02-11). Install the Xiaomi.eu ROM. You can find more details in this post...
forum.xda-developers.com
Asnamus said:
How to root this rom?
How to enable swiping for nova launcher?
How to use MIUI Xiaomi dialer instead built in google?
Click to expand...
Click to collapse
1. Look this post from Kater in parallel thread:
[GUIDE][venus|star|mars] How to install Xiaomi.eu ROM for Xiaomi MI11 / Pro / Ultra
Flash from China rom Miui 12.5 , first time was stuck at fastboot, the solution is press Power button + Volume Up to format data, flash 21.1.20 again and success !
xiaomi.eu
2. Swiping only works with system launcher, not with Nova, not with poco
3. Search apk in APK mirror?
https://www.apkmirror.com/?post_type=app_release&searchtype=apk&s=MIUI+dialer
mali301262 said:
1. Look this post from Kater in parallel thread:
[GUIDE][venus|star|mars] How to install Xiaomi.eu ROM for Xiaomi MI11 / Pro / Ultra
Flash from China rom Miui 12.5 , first time was stuck at fastboot, the solution is press Power button + Volume Up to format data, flash 21.1.20 again and success !
xiaomi.eu
2. Swiping only works with system launcher, not with Nova, not with poco
3. Search apk in APK mirror?
https://www.apkmirror.com/?post_type=app_release&searchtype=apk&s=MIUI+dialer
Click to expand...
Click to collapse
1. Thank you , will read it.
2. To bad because I use Nova and apply Viral custom icon theme pack , which makes phone just so much better , and all the other gudies which Nova has. Guess I will just wait for some future update to solve this.
3. Yes I tried , downloaded latest apk (xiaomi miui org) and it doesn't work. Yes because must be device specific and couldn't find Mi11 dialer to download .... Which sucks ! Just love the piano dials!
Thank you
Asnamus said:
1. Thank you , will read it.
2. To bad because I use Nova and apply Viral custom icon theme pack , which makes phone just so much better , and all the other gudies which Nova has. Guess I will just wait for some future update to solve this.
3. Yes I tried , downloaded latest apk (xiaomi miui org) and it doesn't work. Yes because must be device specific and couldn't find Mi11 dialer to download .... Which sucks ! Just love the piano dials!
Thank you
Click to expand...
Click to collapse
2. I dont use swiping, but nova launcher beta from apk mirror
3. Miui dialer from apk mirror?
Btw. I find ringtones in my theme app. Do i misunderstand Piano dials?
Update: i googled. I heared.
I use Xiaomi.eu Rom. There is miui dialer 12.2.3.1 integrated, dial tone is configurable with piano.
There is a new Nova Launcher Version out...try this one. Launcher 7 Beta Prime
Your Protected Links - keeplinks.org
Keeplinks protect your links by hiding them and shorten the url. Links can be protected by password and captcha
www.keeplinks.org
mali301262 said:
2. I dont use swiping, but nova launcher beta from apk mirror
3. Miui dialer from apk mirror?
Btw. I find ringtones in my theme app. Do i misunderstand Piano dials?
Update: i googled. I heared.
I use Xiaomi.eu Rom. There is miui dialer 12.2.3.1 integrated, dial tone is configurable with piano.
Click to expand...
Click to collapse
2. Nope. Swiping don't work on any version I tried
3. Also miui dialer don't work any version I downloaded from apk mirror
Yeah piano dial is next level, super enjoyable to dial a number
In this rom is google dialer pre installed
Crackeds said:
There is a new Nova Launcher Version out...try this one. Launcher 7 Beta Prime
Your Protected Links - keeplinks.org
Keeplinks protect your links by hiding them and shorten the url. Links can be protected by password and captcha
www.keeplinks.org
Click to expand...
Click to collapse
Just installed and still no go tnx
Asnamus said:
Just installed and still no go tnx
Click to expand...
Click to collapse
Sorry, was worth a try...
I wrote email to Nova and I got instant reply:
"Hello,
Thank you for contacting Nova Launcher support. Below is a lot of information that we encourage you to read completely as it will answer your questions or other questions you might have related to the full system gestures in Android 10, Android 11 and going forward.
PLEASE READ THIS EMAIL IN FULL!
Home/Default Launcher Constantly Being Reset
If you are experiencing issues with Nova not staying as the default launcher on Android 10 or Android 11, these first steps are for you specifically.
If you are having issues with Nova staying as your default launcher, try this: Reboot your device. Or you can try Phone Settings -> Apps -> Default Apps -> Home App -> Nova Launcher. You might need to do this several times and reboot several times for this to fix the issue.
This is a very well known issue on Samsung and other devices, but specifically with new updates directly from Samsung starting as early as December 1st, 2020.
If this doesn't fix your issue, then you need to contact Samsung directly as the issue is on their end, with their update and has nothing to do with Nova or any other launcher, as this issue will happen in all 3rd party launchers.
The issue above isn't just for Samsung users, though the issue happens on every Samsung device that's gotten an update since December 1st, 2020.
Everything mentioned below is still present with the release of Android 11 on September 8th, 2020. Google has made it very clear that they have no plans to completely fix gesture-related issues any time in the near or even distant future.
Please take note that Google admits to this being broken on their end of things and that a fix will be coming in a future update to Android (stated March 2019).
However, it's now well over a year later and there are still many issues with full system gestures and 3rd party launchers on both Android 10 and Android 11. These issues will remain for the foreseeable future as Google have now made it clear that they have no plans to completely fix their full system gestures.
Notable issues with gestures on third party launchers include, but not limited to:
Close all/Clear app button not appearing(scroll all the way to verify it's not there)
Not being able to tap icons for a short time after returning to the home screen
Animations not being as fluid as expected
Screen blinks
Home screen icons blink
Home screen refreshes
Please understand, there is absolutely NOTHING WE CAN DO TO FIX OR CHANGE THIS IN ANY WAY! Contact Google or your device OEM directly with these issues as we have absolutely no control over it whatsoever.
Samsung Users
Samsung has allowed full system gestures to be used within 3rd party launchers with their One UI 2.5 update. This means you can now enable and use gestures, but there are still several issues regarding animations and the like.
As stated, there is nothing that Nova (or indeed any other 3rd party launcher) can do about this and it is ultimately up to Google and OEMs to fix navigation gestures.
Google's statement and Nova's statement
Google: https://android-developers.googleblog.com/2019/07/android-q-beta-5-update.html
Nova: https://help.teslacoilapps.com/faq/gesture-navigation
Enabling Gestures
As of the December 2019 Security Patch from Google, you can now enable full system gestures within 3rd party launchers on Pixel devices. However, the caveat of this is that you are likely to experience the issues mentioned above. To reiterate, this is still all up to Google to fix at some point in the future and to get things working 100% the way everyone expects them to be.
If and when you experience issues with gestures on 3rd party launchers, we highly recommend you contact Google and not Nova Support because, as we have said, there is absolutely nothing we can do to fix Google's problems.
Devices From Other Manufacturers
As some members in this Discord have noticed, some devices from certain manufacturers provide a reasonably usable experience with gestures. In particular, OnePlus devices on Oxygen OS 10 and above behave reasonably well with gestures.
This is because OnePlus (and other manufacturers) are using their own implementation of gestures rather than Google's which means that you might not get all of the issues referenced above. However, just like before, we (Nova) have no control over these and any issues you do experience should be brought up with the manufacturer and not us.
Action Launcher's False Claims
Action Launcher made an announcement back in late December 2019 which is completely misleading. When stating that they support system gestures, They are referring to the back swipe edit zones and other features within the app not interfering with Android's own system gestures.
As stated before, full system gestures are completely controlled by Android and are not something a launcher can just suddenly add support for or change in any way. When using gestures with Action Launcher, you'll quickly notice that the experience has just as many issues as it does with Nova or any other 3rd party launcher, reiterating the point that it is not something that any third party launcher can change or improve."
If I understood this correctly its MIUI problem...
1. Stereo upper speaker stoped working today.
Had this issue on Chinese rom and it happened again on Global. Is anyone experiencing this? It start working again after restart and calls...
2. Anyone know how to change haptic for the fingerprint unlock? It is disaster. If it can be switched off just for fingerprint unlock that would be the best! Or some tweak to vibrate differently?
[Update! 2. Solved] Haptic for fingerprint unlock on 12.5 rom is completely different in a better way. And so are the fingerprint animations
Hello, I don't know if this will be the best thread to ask my question, but I think so.
I just bought a XIAOMI MI11 (I had always had Samsung) and I am very happy except for the dialer: I don't like the Google dialer or the contacts at all.
I know I have several ways to fix it:
1. Rotating the mobile and installing the apps manually.
2. Installing the ROM xiaomi.eu
But both methods imply loss of warranty, and I am not attracted to the idea of losing the warranty of a high-end terminal with only a few weeks.
Is there any way to do it WITHOUT LOSING THE WARRANTY?
I can think of two ways, but I don't know if they are possible:
1. Would it be possible to install a Stock ROM that has these apps? Maybe the Indian version?
2. Could I root the phone, install the apps and then unroot it? I know you have to unlock the bootloader, could I lock it again?
Doing this leave a mark? Samsung, for example, activates a bit that showed a yellow warning triangle every time the mobile software had been modified, and it was never removed again. Here is the same thing happening or is it reversible?
Thanks for the help, if it is not possible, I will try to get used to the idea, but it is sad to have a high-end phone and not being comfortable with some apps ...
Bootloader Unlocking does not Void Warranty of Xiaomi and Redmi Devices - Gizmochina
Xiaomi smartphones are popular in the developer community, thanks to the company’s policy regarding warranty against unlocking of bootloader. But the brand has now updated its policy. Thankfully, bootloader unlocks still does not void warranty of Xiaomi and Redmi devices but with some caveats...
www.gizmochina.com
MrSmile83 said:
Hello, I don't know if this will be the best thread to ask my question, but I think so.
I just bought a XIAOMI MI11 (I had always had Samsung) and I am very happy except for the dialer: I don't like the Google dialer or the contacts at all.
I know I have several ways to fix it:
1. Rotating the mobile and installing the apps manually.
2. Installing the ROM xiaomi.eu
But both methods imply loss of warranty, and I am not attracted to the idea of losing the warranty of a high-end terminal with only a few weeks.
Is there any way to do it WITHOUT LOSING THE WARRANTY?
I can think of two ways, but I don't know if they are possible:
1. Would it be possible to install a Stock ROM that has these apps? Maybe the Indian version?
2. Could I root the phone, install the apps and then unroot it? I know you have to unlock the bootloader, could I lock it again?
Doing this leave a mark? Samsung, for example, activates a bit that showed a yellow warning triangle every time the mobile software had been modified, and it was never removed again. Here is the same thing happening or is it reversible?
Thanks for the help, if it is not possible, I will try to get used to the idea, but it is sad to have a high-end phone and not being comfortable with some apps ...
Click to expand...
Click to collapse
Bootloader Unlocking does not Void Warranty of Xiaomi and Redmi Devices - Gizmochina
Xiaomi smartphones are popular in the developer community, thanks to the company’s policy regarding warranty against unlocking of bootloader. But the brand has now updated its policy. Thankfully, bootloader unlocks still does not void warranty of Xiaomi and Redmi devices but with some caveats...
www.gizmochina.com
You don't loose your warranty so don't worry.
For now you can not download dialer apk and install it manually on global rom, believe me I have tried it , like you I am hating google dialer and contacts. But the rom is stable and that works for me. We just need to wait for some developer to make MIUI dialer work on global rom.
{CORRECTION} - You can install EU rom which has MIUI dialer and when you flash it just click on the option "clean all and lock" and the phone will have locked bootloader with new software. - {you don't install EU rom with xiaomi fastboot tool , you just click on the bat file and I don't think there is a option to lock}
How to use Xiaomi Flash Tool – Xiaomi Mi Flash Tool
A Step-by-Step guide on how to use Xiaomi Mi Flash Tool to Flash Stock Fastboot ROM/ Firmware on Xiaomi Redmi/ Mi Smartphone or Tablet.
xiaomimiflashtool.com
There is no yellow markings or anything like that. So no worries.
Also you don't need to root your phone so you can install apps. And you can uninstall system apps with adb commands without rooting your device. Its very simple. Just google it.
Asnamus said:
Bootloader Unlocking does not Void Warranty of Xiaomi and Redmi Devices - Gizmochina
Xiaomi smartphones are popular in the developer community, thanks to the company’s policy regarding warranty against unlocking of bootloader. But the brand has now updated its policy. Thankfully, bootloader unlocks still does not void warranty of Xiaomi and Redmi devices but with some caveats...
www.gizmochina.com
Bootloader Unlocking does not Void Warranty of Xiaomi and Redmi Devices - Gizmochina
Xiaomi smartphones are popular in the developer community, thanks to the company’s policy regarding warranty against unlocking of bootloader. But the brand has now updated its policy. Thankfully, bootloader unlocks still does not void warranty of Xiaomi and Redmi devices but with some caveats...
www.gizmochina.com
You don't loose your warranty so don't worry.
For now you can not download dialer apk and install it manually on global rom, believe me I have tried it , like you I am hating google dialer and contacts. But the rom is stable and that works for me. We just need to wait for some developer to make MIUI dialer work on global rom.
You can install EU rom which has MIUI dialer and when you flash it just click on the option "clean all and lock" and the phone will have locked bootloader with new software.
How to use Xiaomi Flash Tool – Xiaomi Mi Flash Tool
A Step-by-Step guide on how to use Xiaomi Mi Flash Tool to Flash Stock Fastboot ROM/ Firmware on Xiaomi Redmi/ Mi Smartphone or Tablet.
xiaomimiflashtool.com
There is no yellow markings or anything like that. So no worries.
Also you don't need to root your phone so you can install apps. And you can uninstall system apps with adb commands without rooting your device. Its very simple. Just google it.
Click to expand...
Click to collapse
Thank you very much, Asnamus, for amswering so quickly. I have a couple of doubts:
1. You said that I cannot install the apk manually (I have also tried it and X- closes) but that if we wait, a modified one will come out. However, I have searched and there is nothing similar for users of other terminals (mi9, mi10 ...). Do you think someone will adapt the app?
2. If I install XIAOMI.EU you say that I can check the option "clean all and lock", what program is it in, with XiaoMiTool? Would that close the bootloader and unroot them? But the manufacturer would still know that it is not an original rom and it would affect the warranty, right? And is it updated via OTA?
3. Finally, you said that I can install and uninstall apps without being root with ADB commands, but I have read that if you uninstall the apps, you should brick the phone, is there a risk with the dialer app or with messages? Have you tried doing it? I found this guide (sorry, it's in Spanish) https://c.mi.com/oc/thread-3292740-1-0.html?mobile=no but it shows a list of safe apps to uninstall and the dialer doesn't appear among them. And it does not it seem to let me install from there.
Cheers and thank you again.
1. I sure hope so! If not maybe I will switch to EU rom just because of MIUI dialer.
2. Yes Xiaomi flash tool https://www.xiaomiflash.com
You return device to store where you bought it not to the manufacturer. Research more about that , "returning bricked phone with unlocked bootloader ." For example. I have never returned so I don't know what will happen.
3. Yes I did uninstall lot of system apps also some that are not on the list. But I didn't wrote down which apps did I uninstall. You can go in to apps and select show all apps and scroll and click on app and you will have (i) in the top right corner, click on that and it will show you which app is it and than just google it is it safe. All this process require some problem solving and some skills, if you are not sure and never done it (installing rom and other) maybe its better you don't do it. I went through a lot of errors and stayed all night and half next day but on the end I successfully installed this global 12.0.3.0 rom.
Bricked devices is not dead and broken, everything is fixable. And you can do it by yourself you just need to have some skills and don't be afraid good luck
MrSmile83 said:
Thank you very much, Asnamus, for amswering so quickly. I have a couple of doubts:
1. You said that I cannot install the apk manually (I have also tried it and X- closes) but that if we wait, a modified one will come out. However, I have searched and there is nothing similar for users of other terminals (mi9, mi10 ...). Do you think someone will adapt the app?
2. If I install XIAOMI.EU you say that I can check the option "clean all and lock", what program is it in, with XiaoMiTool? Would that close the bootloader and unroot them? But the manufacturer would still know that it is not an original rom and it would affect the warranty, right? And is it updated via OTA?
3. Finally, you said that I can install and uninstall apps without being root with ADB commands, but I have read that if you uninstall the apps, you should brick the phone, is there a risk with the dialer app or with messages? Have you tried doing it? I found this guide (sorry, it's in Spanish) https://c.mi.com/oc/thread-3292740-1-0.html?mobile=no but it shows a list of safe apps to uninstall and the dialer doesn't appear among them. And it does not it seem to let me install from there.
Cheers and thank you again.
Click to expand...
Click to collapse
So I have switched to Xiaomi.EU MIUI 12.5 21.3.3. I couldn't stand google dialer anymore. And I had time.
Here you go with the apps that I have successfully uninstall.
With ADB
pm uninstall -k --user 0 com.mi.globalbrowser (MIUI browser)
pm uninstall -k --user 0 com.google.android.googlequicksearchbox (Google)
pm uninstall -k --user 0 com.android.hotwordenrollment.xgoogle (Google Assistant)
pm uninstall -k --user 0 com.android.hotwordenrollment.okgoogle (Google Assistant)
pm uninstall -k --user 0 com.mi.health (MIUI Health)
pm uninstall -k --user 0 com.google.ar.lens (Google Lens)
pm uninstall -k --user 0 com.android.email (Mail)
pm uninstall -k --user 0 com.android.mms (Messaging)
pm uninstall -k --user 0 com.xiaomi.payment (Mi Coin)
pm uninstall -k --user 0 com.miui.videoplayer (Mi Video)
pm uninstall -k --user 0 com.miui.player (Music)
pm uninstall -k --user 0 com.miui.notes (Notes)
pm uninstall -k --user 0 com.miui.huanji (Mi Mover)
pm uninstall -k --user 0 com.miui.weather2 (Weather)
pm uninstall -k --user 0 com.miui.personalassistant (MIUI app vault)
pm uninstall -k --user 0 com.xiaomi.migameservice (Mi Game Service)
pm uninstall -k --user 0 com.android.protips (Home Screen Tips)
How we say in spanish: "te he metido los perros en danza" jaja.
I Read about TWRP not is ready jet for MI11. What is fastboot ROM version and what is the diference between a normal ROM?
Asnamus said:
So I have switched to Xiaomi.EU MIUI 12.5 21.3.3. I couldn't stand google dialer anymore. And I had time.
Here you go with the apps that I have successfully uninstall.
With ADB
pm uninstall -k --user 0 com.mi.globalbrowser (MIUI browser)
pm uninstall -k --user 0 com.google.android.googlequicksearchbox (Google)
pm uninstall -k --user 0 com.android.hotwordenrollment.xgoogle (Google Assistant)
pm uninstall -k --user 0 com.android.hotwordenrollment.okgoogle (Google Assistant)
pm uninstall -k --user 0 com.mi.health (MIUI Health)
pm uninstall -k --user 0 com.google.ar.lens (Google Lens)
pm uninstall -k --user 0 com.android.email (Mail)
pm uninstall -k --user 0 com.android.mms (Messaging)
pm uninstall -k --user 0 com.xiaomi.payment (Mi Coin)
pm uninstall -k --user 0 com.miui.videoplayer (Mi Video)
pm uninstall -k --user 0 com.miui.player (Music)
pm uninstall -k --user 0 com.miui.notes (Notes)
pm uninstall -k --user 0 com.miui.huanji (Mi Mover)
pm uninstall -k --user 0 com.miui.weather2 (Weather)
pm uninstall -k --user 0 com.miui.personalassistant (MIUI app vault)
pm uninstall -k --user 0 com.xiaomi.migameservice (Mi Game Service)
pm uninstall -k --user 0 com.android.protips (Home Screen Tips)
Click to expand...
Click to collapse
You use the Xiaomi.eu now. Have the MIUI Dialer a Spam call identifier?
MrSmile83 said:
You use the Xiaomi.eu now. Have the MIUI Dialer a Spam call identifier?
Click to expand...
Click to collapse
I have no idea , I search in settings now for something like that and I couldn't find.
For MIUI Dialer i have found that > https://www.apkmirror.com/apk/xiaom...-xiaomi/contacts-and-dialer-10-4-4-0-release/
It works on Mi 11
Edit: don't work for a call
Azev said:
For MIUI Dialer i have found that > https://www.apkmirror.com/apk/xiaom...-xiaomi/contacts-and-dialer-10-4-4-0-release/
It works on Mi 11
Edit: don't work for a call
Click to expand...
Click to collapse
I have switched to 12.5 EU just because of dialer. So 12.5 have xiaomi miui dialer . all good

Categories

Resources