Thanks a lot. It seems I started to undernstand how it works. What is still worrying me is SafetyNet API - it is all red. Any suggestion how to make it green?
Thanks a lot. It seems I started to undernstand how it works. What is still worrying me is SafetyNet API - it is all red. Any suggestion how to make it green?
Not yet.Thanks a lot. It seems I started to undernstand how it works. What is still worrying me is SafetyNet API - it is all red. Any suggestion how to make it green?
This debloater doesn't see all packages in the system. As for me more effective way to remove bloatware with shell command - pm uninstall - -user 0 ...Removing "Bloatware"
Probably one the main reasons for obtaining root privileges is to get rid of some default apps which come bundled with the official MIUI.
Given the current situation for this device, using classic methods (such as Titanium Backup / System App Remover / etc.) is not possible and - most probably - attempting in doing so will result in a soft-brick.
Instead, there is a particularly useful Magisk Module that can be used for this scope: Debloater.
You can read more about it here on XDA; the installation procedure will vary just a bit since there is currently no TWRP support for the Helio G85 Redmi Note 9.
Installing Debloater
- Launch Magisk Manager and select "Download" from the menu
- Use the search function to locate the package "Busybox for Android NDK"
- Install the package, and chose to skip the reboot at the end of the procedure.
- Use the search function to locate the package "Debloater Terminal Emulator"
- Install the package and this time proceed with the reboot
- When the reboot is complete, install any terminal emulator app from PlayStore (like Termux)
- Open the terminal and issue:
(confirm the request for superuser access) and thenCode:su
Code:debloat
Now you can use Debloat to remove all the unwanted applications that come bundled with the ROM.
Please refer to the video included in the post mentioned above to learn more about Debloat and how to use it.
fastboot devices (check your phone is the only device shown)
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (this disables system changes)
fastboot erase userdata (this will clear user data!)
fastboot erase cache
fastboot flash boot magisk_patched.img
fastboot reboot
su
debloat
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
The download link in the first post does not work any longer ... Gives a 404. Please re-upload and don't use XDA's upload space. Thanks!
You don't need to modify the system to root with magisk.