Question Debloat with ADB? - Redmi Note 10S

It seems like I can easily debloat MIUI on my Redmi Note 10s with adb. But I'm not sure if after debloating, I would still receive OTA updates from Xioami and if it would cause any problem. I don't want to root my device yet because of warranty and also updates.
Thanks in Advance.

Disabling unessential packages with ADB shouldn't cause problems with system OTA updates.

Thanks.

Related

Questions about TWRP/ROM/ etc

Hello, I'm new to the Xiaomi world and I still have trouble understanding some terms ...
I am currently waiting for the necessary 168 hours before I can unlock my bootloader.
I would like to know what are the differences between orangefox and twrp, which one to choose?
What are the differences between global and eu?
I think I'm in global because I'm in 10.3.2.0
If I root my phone will I be able to update without removing everything?
Thank you in advance.
ImEraaz said:
Hello, I'm new to the Xiaomi world and I still have trouble understanding some terms ...
I am currently waiting for the necessary 168 hours before I can unlock my bootloader.
I would like to know what are the differences between orangefox and twrp, which one to choose?
What are the differences between global and eu?
I think I'm in global because I'm in 10.3.2.0
If I root my phone will I be able to update without removing everything?
Thank you in advance.
Click to expand...
Click to collapse
TWRP is very customisable and as such there are many different versions. Orange Fox is just a very heavily customised version of TWRP. It has a number of additional features over vanilla TWRP, some of which are specific to Xiaomi devices. However there are other versions of TWRP that also have been customised with additional features that are Xiaomi specific, it's just that these other versions are still very much recognisable as a version of TWRP as they keep the same UI design.
I don't think anyone is really sure what differences, if any, there are between the global and EU ROMs, at least from a functionality point of view. It might just be ad delivery and data collection differences, due to the EU having stricter laws around data protection and such things.
If you root you won't be able to use OTA. If you do you will lose root. You will need to manually update by installing the latest recovery ROM followed by Magisk again. (I assume that will be your root solution)
Just use either recovery for now. The only difference is the interface imo. F2fs support is still bad in recovery.
Use miui.eu, it's the same but stripped down and without ads.
Sure, as long as it's a compatible update.
-
I do recommend you backup your Android 9 partitions before flashing. I wiped and installed 10 and cannot go back.
Thank you guys for the infos, I think I'll go with classic TWRP and install the xiaomi.eu rom and then for the root I would reinstall it with each update this is not a problem
Orangefox has the ability to surviving OTA updates if prepared well.
Sent from my Mi 9T Pro using Tapatalk
ImEraaz said:
Thank you guys for the infos, I think I'll go with classic TWRP and install the xiaomi.eu rom and then for the root I would reinstall it with each update this is not a problem
Click to expand...
Click to collapse
If you go with the xiaomi.eu ROM then Magisk will automatically install itself when you update.
Cool Thanks.
And for the TWRP the best actually is the unofficial one from @mauronofrio or there is an official for android p ? Is the last on twrp.me will work ? Thanks
Robbo.5000 said:
[…] followed by Magisk again. (I assume that will be your root solution)
Click to expand...
Click to collapse
Robbo.5000 said:
If you go with the xiaomi.eu ROM then Magisk will automatically install itself when you update.
Click to expand...
Click to collapse
If Magisk is a rooting solution, and if Xiaomi.eu ROM installs Magisk automatically, does it mean If I install Xiaomi.eu ROM, I have no other choice but to root my phone, therefore I won't be able to use OTA updates and will have to update manually each time there is a new ROM ?
Thordelan said:
If Magisk is a rooting solution, and if Xiaomi.eu ROM installs Magisk automatically, does it mean If I install Xiaomi.eu ROM, I have no other choice but to root my phone, therefore I won't be able to use OTA updates and will have to update manually each time there is a new ROM ?
Click to expand...
Click to collapse
I tried to find infos on xiaomi.eu and I don't think magisk is automatically installed
Thordelan said:
If Magisk is a rooting solution, and if Xiaomi.eu ROM installs Magisk automatically, does it mean If I install Xiaomi.eu ROM, I have no other choice but to root my phone, therefore I won't be able to use OTA updates and will have to update manually each time there is a new ROM ?
Click to expand...
Click to collapse
No.
Magisk will automatically install itself if you have already installed it.
This is common behaviour for things like Magisk and GApps. If they've been installed on a custom ROM, they will automatically reinstall themselves when you update that ROM.
Xiaomi.eu does not come with Magisk pre-installed.
You are also confusing OTA updating a rooted phone with an official ROM and with a Xiaomi.eu ROM.
Xiaomi.eu is a custom ROM and so updating it is more like other typical custom ROMs.

Good low effort way of keeping a rooted stock Mi 9T Pro up to date?

Hello,
I bought a 9T Pro in Europe for my wife and until it arrives I'm trying to research and come up with a low effort process of keeping the stock ROM up to date and rooted for her. I'm confident in manually installing and updating custom ROMs, rooting and dealing with custom ROM issues, but she is not. Therefore I thought the best thing is to use the stock ROM - not custom - since it may be the most stable experience and for me to update and re-root it for her regularly. root is mandatory because we need AdAway and other things. As I understand it, as soon as we unlock and root the phone, OTA updates for stock are impossible and maybe even dangerous. I've tried researching here but am bit struggling to come up with the right infos and I'd be glad for any advice.
Of course I have seen the great thread about unlocking, rooting, etc, but It seems that that deals with non-standard Chinese firmware pre-installed, which is probably not the case on our device. Since it's bought in Europe, I think it will probably come with some Global or EU ROM. And it doesn't answer some of my other questions.
So far my idea is roughly like this:
Phone arrives
Immediately update it via built-in OTA to latest official stock ROM
Unlock, install TWRP, root with Magisk
Use the phone
Whenever a new stock ROM comes out, download it from XDA
Flash new ROM in TWRP and root again with Magisk
Repeat 4-6 as new stock ROM versions are released
Of course regularly backup with Titanium Backup and TWRP
First of all, would this work or did I misunderstand something fundamental?
How does low level firmware / modem update come into play? Would that be included in the stock ROM packages I find here? Or do I need to manually update that separately? How do I know when I have to, since there is no custom ROM maintainer telling me when it's needed?
Is there an easier way of doing this? This process requires me to regularly check for a new stock ROM, then borrow the phone from the wife for some time to backup, update, re-root and so on. Not that convenient but it would work if there is no better way.
Sorry for the long post, but I'd be very thankful for any advice or ideas. I did quite some research, but if all this info is already available and I missed it, my sincere apologies. It's a lot of info about a new device to take in. :silly:
derfraenk said:
Hello,
I bought a 9T Pro in Europe for my wife and until it arrives I'm trying to research and come up with a low effort process of keeping the stock ROM up to date and rooted for her. I'm confident in manually installing and updating custom ROMs, rooting and dealing with custom ROM issues, but she is not. Therefore I thought the best thing is to use the stock ROM - not custom - since it may be the most stable experience and for me to update and re-root it for her regularly. root is mandatory because we need AdAway and other things. As I understand it, as soon as we unlock and root the phone, OTA updates for stock are impossible and maybe even dangerous. I've tried researching here but am bit struggling to come up with the right infos and I'd be glad for any advice.
Of course I have seen the great thread about unlocking, rooting, etc, but It seems that that deals with non-standard Chinese firmware pre-installed, which is probably not the case on our device. Since it's bought in Europe, I think it will probably come with some Global or EU ROM. And it doesn't answer some of my other questions.
So far my idea is roughly like this:
Phone arrives
Immediately update it via built-in OTA to latest official stock ROM
Unlock, install TWRP, root with Magisk
Use the phone
Whenever a new stock ROM comes out, download it from XDA
Flash new ROM in TWRP and root again with Magisk
Repeat 4-6 as new stock ROM versions are released
Of course regularly backup with Titanium Backup and TWRP
First of all, would this work or did I misunderstand something fundamental?
How does low level firmware / modem update come into play? Would that be included in the stock ROM packages I find here? Or do I need to manually update that separately? How do I know when I have to, since there is no custom ROM maintainer telling me when it's needed?
Is there an easier way of doing this? This process requires me to regularly check for a new stock ROM, then borrow the phone from the wife for some time to backup, update, re-root and so on. Not that convenient but it would work if there is no better way.
Sorry for the long post, but I'd be very thankful for any advice or ideas. I did quite some research, but if all this info is already available and I missed it, my sincere apologies. It's a lot of info about a new device to take in. :silly:
Click to expand...
Click to collapse
I didn't keep stock MIUI long enough to know definite answers, but from what I remember, this is my understanding.
OTA will still work and shouldn't cause any issues, just that you will lose TWRP and root whenever you do this.
The steps you give are the normal way to update with TWRP and root.
However, OrangeFox recovery (a heavily modified version of TWRP) is often used instead of TWRP in this circumstance. It is built specifically for MIUI devices and with a little bit of work, I believe that it is able to survive OTA updates. Have another dig around for OrangeFox in this forum section and hopefully you'll find details on how to set it up so that you can still take OTA updates.
Edit:
Found this guide https://forum.xda-developers.com/k2...efox-recovery-mi-9t-pro-t3980579/post80480669
It seems OrangeFox it's a bit hit and miss.
Also Xiaomi.eu ROMs are another alternative to look into.
Robbo.5000 said:
I didn't keep stock MIUI long enough to know definite answers, but from what I remember, this is my understanding.
OTA will still work and shouldn't cause any issues, just that you will lose TWRP and root whenever you do this.
The steps you give are the normal way to update with TWRP and root.
However, OrangeFox recovery (a heavily modified version of TWRP) is often used instead of TWRP in this circumstance. It is built specifically for MIUI devices and with a little bit of work, I believe that it is able to survive OTA updates. Have another dig around for OrangeFox in this forum section and hopefully you'll find details on how to set it up so that you can still take OTA updates.
Edit:
Found this guide https://forum.xda-developers.com/k2...efox-recovery-mi-9t-pro-t3980579/post80480669
It seems OrangeFox it's a bit hit and miss.
Also Xiaomi.eu ROMs are another alternative to look into.
Click to expand...
Click to collapse
Wow, that's a lot of helpful info, thanks a lot for pointing me into these directions. I will definitely look into Xiaomi.eu, I that sounds promising!
Get phone. Apply for unlock. Unlock.
You can use my guide bit.do/raphaelguide
Use orangefox 10.8 use magisk.
You can flash eu ROM. Stable version. From xiaomi.eu
Eu rom installs official twrp after install. You are familiar with that
Once you have eu ROM ( same as stock, better performance, minimal bloat, no ads, no tracking)
Eu ROMs gets OTA, keeps root. This is exactly what you want. Just press update in settings as normal ota. It'll do normal ota update by itself, no titanium, migrate hassle.
Join telegram group if you want or on me for any help.
Sandeeep Kiran said:
Get phone. Apply for unlock. Unlock.
You can use my guide bit.do/raphaelguide
Use orangefox 10.8 use magisk.
You can flash eu ROM. Stable version. From xiaomi.eu
Eu rom installs official twrp after install. You are familiar with that
Once you have eu ROM ( same as stock, better performance, minimal bloat, no ads, no tracking)
Eu ROMs gets OTA, keeps root. This is exactly what you want. Just press update in settings as normal ota. It'll do normal ota update by itself, no titanium, migrate hassle.
Join telegram group if you want or on me for any help.
Click to expand...
Click to collapse
Amazing, I have taken a look at Xiaomi.eu already and decided to try that. But what you're saying sounds even much better than what I expected. Thank you very much too, I will definitely go that route.

debloating/remove Google and Xiaomi-apps

Hi!
I've unlocked the bootloader, and got Magisk installed (patched?), and I'm granted root.
And I got the possibility, and am able to uninstall Google- and Xiaomi-related apps that I don't either need or/and want on my device.
So I wanted to ask if there's some list someone can refer me to that's updated, and reliable year 2020?
Since I'm good with removing apps/packages that I shouldn't, since I mostly end up in bootloops, having to restart with everything, so that's the reason why I ask?
My goal in the end is to be able to get rid of as much as possible of Google and Xiaomi-related APK's/packages.
With best regards.
Check attachment, long list
Also you need to disable ads, find youtube videos for info.
I don't remember the exact steps, quite easy but take time.
ps.
I'm on MIUI Global 12.0.4
Rooted with Magisk 20.4
Regards,
kevin168
You can disable pre installed apps permantly, without uninstalling them (I mean, changing the system).
Code:
pm disable-user --user 0 com.android.chrome
Change com.android.chrome to desired package name.
VD171, Thanks guys i hope this thread will help me with my problem, How can i completely stop particularly the firmware update, I have both Redmi note 9 Merlin Mediatek MTK 6768 Helio P65 chipset 64 GB 3GB Global MUIM version 11.0.4.0 version and 64GB 4GB Indian version MUIM 12.0.4.0. I would like for now the phones to work with versions without it telling me to update every time i connect to WIFI.If possible give me a full guide line to stop this.
hello.
did you already try to deactive the auto-update option inside the developer options?
VD171 said:
hello.
did you already try to deactive the auto-update option inside the developer options?
Click to expand...
Click to collapse
Yes i did but every time Wi-FI is turned on it will pop up as a reminder I want this to completely go then i root the phone. I do not want to loose my root because it has updated to the new firmware. Or is it possible i download the custom firmware then root ?I have seen this 17.1 Lineage firmware on this forum,will this solve my problem
gruka said:
Yes i did but every time Wi-FI is turned on it will pop up as a reminder I want this to completely go then i root the phone. I do not want to loose my root because it has updated to the new firmware. Or is it possible i download the custom firmware then root ?I have seen this 17.1 Lineage firmware on this forum,will this solve my problem
Click to expand...
Click to collapse
You can try disabling the auto-update app.
Can you attach the screenshot of the notification, please?
We need to see the exactly package name of this app.
As you can see all is disable but the notification for firmware update is there once wife is connected ,i want this completely to go and i want my os to be on 12,0.4.0.No more firmware update once i root the phone. How best can you help. If i install custom firmware 17.1 lineage OS then root it ,will that solve my problem?
gruka said:
As you can see all is disable but the notification for firmware update is there once wife is connected ,i want this completely to go and i want my os to be on 12,0.4.0.No more firmware update once i root the phone. How best can you help. If i install custom firmware 17.1 lineage OS then root it ,will that solve my problem?
Click to expand...
Click to collapse
Try disabling the updater app without uninstalling it.
Type this on command line:
pm disable-user --user 0 com.android.updater
May I ask why you want to keep on MIUI V12.0.4.0 ?
ok good question there are programs which i want to install in the phones for my children after i have rooted so my fear is once they update the phone the root will go away and the programs will be erased
gruka said:
ok good question there are programs which i want to install in the phones for my children after i have rooted so my fear is once they update the phone the root will go away and the programs will be erased
Click to expand...
Click to collapse
Certainly.
I'm not sure about it.
But probably there are many and many apps designed for parental protection.
You need to try each one and see if it is enought to you.
I have an ideia.
You can install another launcher (like nova launcher) and hide unwanted apps from drawer.
Good luck
ok thank what about the auto firmware update how can i disabled it
Read this: https://forum.xda-developers.com/t/debloating-remove-google-and-xiaomi-apps.4196045/post-84454977
gruka said:
ok good question there are programs which i want to install in the phones for my children after i have rooted so my fear is once they update the phone the root will go away and the programs will be erased
Click to expand...
Click to collapse
"the root will go away" you need to flash using fastboot and avoid flashing the boot partition and root will keep working.
"programs will be erased" you don't need to erase your data for upgrading. you can flash and update your system without wipe data.

System update missing after debloating

I just debloated my sm-G781W using the list here and here.
I’m not sure what packages I removed, but for some reason I cannot see system update on about phone.
There are no notifications either when there’s a new software update.
I need help restoring the ability to check for updates.

How to unroot and update an old MIUI

Hi,
Years ago I successfully rooted my Xiaomi Mi 9 (M1902F1G). I don't remember how, I just remember waiting for the Xiaomi approval on my account to unlock the bootloader and that I was extra-careful regarding a non-decreasing integer number not to brick it or something like that. To avoid risking an unwanted unroot, I never updated the system (now at MIUI Global 10.2.14).
Now, for different reasons, I want to update to the last available version and unroot. What's the easiest way of doing it?
My system is currently offering an update to MIUI V11.0.6.0.QFAMIXM | Stable (2.3GB).
Should I just take it? Will device unroot and update or things could go wrong (soft/hard brick)?
I'm willing to follow specific instructions to unroot, and manually flash scripts or ROMs if you think it would be safer (I would like to keep my TWRP recovery).
I just don't know where to look on the internet. Even if you just pointed me to the right thread/forum, I would appreciate it, I cannot find much.
Thanks in advance
Hello,
Just flash the latest fastboot image version (select the flash_all_lock.bat or flash_all_lock.sh depending of your OS).
You will lose everything on the phone and you can't keep TWRP installed.

Categories

Resources