How to upgrade rooted Mi Pad 4 - Xiaomi Mi Pad 4 Questions & Answers

I have a Mi Pad 4. I unlocked bootloader and rooted with Magisk. I did not flash TWRP, so stock recovery is available. MIUI 9.6.26 stock Chinese ROM was pre-installed when I purchased this tablet. I received MIUI 10.2.1 upgrade from OTA. I choose to download and install this update. Tablet downloaded 500 MB OTA upgrade file. Asked me to reboot tablet. I accepted, tablet rebooted and started to upgrade but upgrade failed. No explanation was written.
What is the reason of failed upgrade. Is it because Magisk? Should I uninstall Magisk to upgrade to MIUI 10.2.1? Can I install Magisk again to MIUI 10.2.1?

You should unroot & restore(boot=kernel) with Magisk Manager. It can be done with uninstall option in Magisk Man.
 @coolman7

dzidexx said:
You should unroot & restore(boot=kernel) with Magisk Manager. It can be done with uninstall option in Magisk Man.
@coolman7
Click to expand...
Click to collapse
Thanks for reply. Can I install Magisk to MIUI 10.2.1 ?

I don't have Miui. You should look at en.miui.com - forum.

Related

after install ota update the twrp automatic uninstall

I am presently used miui 9 developer version. Today I am installed ota but twrp automatically uninstall. So how can I again install TWRP in Note 4?
Please reply if you're know this issue.......
Easy, reinstall twrp by flashing via fastboot...
Red wolf recovery works fine, switch to that.
mrocking said:
I am presently used miui 9 developer version. Today I am installed ota but twrp automatically uninstall. So how can I again install TWRP in Note 4?
Please reply if you're know this issue.......
Click to expand...
Click to collapse
Post #2,
Reflash TWRP.

how to root the device by magisk?

In next 2 weeks my mi pad 4 LTE will come to me.
Could you tell me, how to root it by magisk?
1) unlock it by xiaomi (360 hours waiting)
2) flash twrp
3) flash magisk
4) reboot
That is all I need to do to get a root ?)
Tysovwik said:
In next 2 weeks my mi pad 4 LTE will come to me.
Could you tell me, how to root it by magisk?
1) unlock it by xiaomi (360 hours waiting)
2) flash twrp
3) flash magisk
4) reboot
That is all I need to do to get a root ?)
Click to expand...
Click to collapse
yes
Usually you don't even have to flash TWRP recovery if you want to keep original recovery, you can just boot it with "fastboot boot twrp.img".
Just a FYI, the latest magisk 17 has not been working for me. Magisk 16 works just fine.
I am on the xiaomi.eu rom
I'm on latest xiaomi.eu and Magisk 17.1 is working fine
bartekm01 said:
I'm on latest xiaomi.eu and Magisk 17.1 is working fine
Click to expand...
Click to collapse
After I flash magisk 17.1 , my mipad 4 can't use LTE
簡_OvO said:
After I flash magisk 17.1 , my mipad 4 can't use LTE
Click to expand...
Click to collapse
That's strange... I've using magisk on 6 device's and never had this sort of problems. Uninstall magisk and check if it's working again
@簡_OvO
On what Rom you have this problem with Magisk ?
I use Mi Pad 4 LTE and Magisk 17.1 on AOSP 8.1_v25 and everything works as it should.
Magisk it has nothing to do with Modem/Baseband he patching Kernel.
After using Magisk uninstaller or restore stock Kernel works for you LTE ?
bartekm01 said:
That's strange... I've using magisk on 6 device's and never had this sort of problems. Uninstall magisk and check if it's working again
Click to expand...
Click to collapse
After I flash again, it can work well
---------- Post added at 11:25 AM ---------- Previous post was at 11:22 AM ----------
Andro_Nicus said:
@簡_OvO
On what Rom you have this problem with Magisk ?
I use Mi Pad 4 LTE and Magisk 17.1 on AOSP 8.1_v25 and everything works as it should.
Magisk it has nothing to do with Modem/Baseband he patching Kernel.
After using Magisk uninstaller or restore stock Kernel works for you LTE ?
Click to expand...
Click to collapse
I use MIUI10.I cannot understand why.But after I flash magisk again,LTE works well.
Could you please explain where I find the mipad 4 boot image when using this method to patch it?
When choosing the option in magisk manager to patch boot image I have to search for the original boot image to patch as the app doesn't point staight to it...
Many thanks
@Tysovwik, I see you want keep miui. You have to block overwriting recovery by original one. I have seen option for it in twrp, but i have not tested it. The same you can have if you use special zip package.
Twrp has second option for auto install magisk 17.1, but i installed it from zip file (twrp labeled 20.12.2018 can have 18.0)
is this the best way to Root a Mi Pad 4 LTE ?
A long time ago someone said:
Tysovwik said:
In next 2 weeks my mi pad 4 LTE will come to me.
Could you tell me, how to root it by magisk?
1) unlock it by xiaomi (360 hours waiting)
2) flash twrp
3) flash magisk
4) reboot
That is all I need to do to get a root ?)
Click to expand...
Click to collapse
My plan is to follow this process.
Does anyone know if I still have to do step (1) ? or how that is done ?
Some noobie questions.
I already have TWRP installed in my Mi pad 4, and want to keep my original MIUI rom
To install Magisk what should I do next?
Just flash magisk from twrp?
Do I need to flash no-verify-opt-encrypt.zip?
Select any option of wipe in twrp before flashing Magisk?
If I get a bootloop can I just use Magisk unistaller?
soulgazer said:
Some noobie questions.
I already have TWRP installed in my Mi pad 4, and want to keep my original MIUI rom
To install Magisk what should I do next?
Just flash magisk from twrp?
Do I need to flash no-verify-opt-encrypt.zip?
Select any option of wipe in twrp before flashing Magisk?
If I get a bootloop can I just use Magisk unistaller?
Click to expand...
Click to collapse
I would wipe cache /dalvik cache before and wipe cache again after flashing. But yeah, just flash the magisk zip. You check in the settings under security if your device is encrypted, which I'm guessing it probably is already. In which case there's no need to flash no verify encrypt zip. Unless you want to have no encryption. In which case you'll have to start all over, complete format in twrp then flash magisk and no encrypt zip before first boot.
If you want to stay encrypted (assuming you are already), just flash magisk. I haven't done it in a while! So not sure if magisk manager will be installed with zip flash, if it's not there when you boot to system, just download and install latest magisk manager. You can always then download a root checker app from playstore to be sure all went well.
Good luck dude

Will unlocking and installing TWRP recovery will make OTA unavailable?

Hi,
I am new here! I want to install BSG camera port. So if i unlock my device and install TWRP, will i be then able to get the OTA updates?
karthi7491 said:
Hi,
I am new here! I want to install BSG camera port. So if i unlock my device and install TWRP, will i be then able to get the OTA updates?
Click to expand...
Click to collapse
If you flash closed beta which is usually the latest rom then you won't get otas if you flash open beta or stable version then you can get otas.
When you flash otas they replace your twrp with miui recovery.
Yes, but you should download the full rom update and install via twrp, because installing directly will remove twrp & root
karthi7491 said:
Hi,
I am new here! I want to install BSG camera port. So if i unlock my device and install TWRP, will i be then able to get the OTA updates?
Click to expand...
Click to collapse
When you install TWRP and Magisk, the OTA will detect the root and will download the full ROM. Then you flash the full ROM via TWRP, boot back into TWRP to avoid the ROM overwriting it and flash Magisk for good measure and then boot into system.

Need help updating the October patch update

So the October patch just came out, but my phone's rooted (magisk, no twrp), so I can't install the update. If anyone could provide a guide on how to update and re-root the phone again, that would be very much appreciated. Thank you.
bibekmufc said:
So the October patch just came out, but my phone's rooted (magisk, no twrp), so I can't install the update. If anyone could provide a guide on how to update and re-root the phone again, that would be very much appreciated. Thank you.
Click to expand...
Click to collapse
No need to unroot. If u can get the boot.img u can use magisk to root it and instal.
i use magisk tutorial for updating. and there is a magisk modul for reinstalling twrp. you have to use it before installing magisk on inactive slot.
i suggest you to wait a few days before updating. i update to October and install magisk and twrp but wifi and hotspot are broken. and twrp won't work correctly. not shore if it's because twrp or October ota
It was my fault that break wifi and hotspot. magisk tutorial should do the work. just backup before doing anything
ghasemi.hussein said:
It was my fault that break wifi and hotspot. magisk tutorial should do the work. just backup before doing anything
Click to expand...
Click to collapse
I decided to completely reset my phone and it's now better than ever
From twrp thread
If you want you can also update a stock rom from phone settings with local upgrade:
- Update the Rom WITHOUT REBOOT;
- Open Magisk Manager;
- Menu/modules/+ button/select the twrp installer.zip and flash it;
- Always in Magisk Manager, click on Install/Install/Direct Install;
- Again in Magisk Manager, click on Install/Install/Inactive Slot;
- Reboot.
kimikim0 said:
From twrp thread
If you want you can also update a stock rom from phone settings with local upgrade:
- Update the Rom WITHOUT REBOOT;
- Open Magisk Manager;
- Menu/modules/+ button/select the twrp installer.zip and flash it;
- Always in Magisk Manager, click on Install/Install/Direct Install;
- Again in Magisk Manager, click on Install/Install/Inactive Slot;
- Reboot.
Click to expand...
Click to collapse
This steps work for update rom with magisk and root installed? Need help for install october update (no twrp, just magisk and root)
Enviado desde mi Mi A3 mediante Tapatalk

Uninstalled Magisk, done latest OTA, but can't install Magisk to inactive slot

Hi there,
i'm rooted and i installed the latest OTA (oxygen os 10.3.7.hd01AA - india rom maybe because i used a patched boot.img in the first time months ago) right now and just like all the times before i made the usual steps:
1) Restored Original Image via Magisk Manager
2) Downloaded and installed OTA
3) Didn't reboot and tried to Install Magisk to inactive slot
Unfortunately 3 didn't work. More than that - Magisk Manager doesn't even recognized Magisk was uninstalled. So there is no Installation option.
Tried to Uninstall it again (Restore Original Image) but that didn't change anything.
a) Was the 2nd "Restore Original Image" after installing the OTA a bad idea?
b) How can i install Magisk now?
I don't reboot the phone as i think it could be bricked after that.
Dacoco said:
Hi there,
i'm rooted and i installed the latest OTA (oxygen os 10.3.7.hd01AA - india rom maybe because i used a patched boot.img in the first time months ago) right now and just like all the times before i made the usual steps:
1) Restored Original Image via Magisk Manager
2) Downloaded and installed OTA
3) Didn't reboot and tried to Install Magisk to inactive slot
Unfortunately 3 didn't work. More than that - Magisk Manager doesn't even recognized Magisk was uninstalled. So there is no Installation option.
Tried to Uninstall it again (Restore Original Image) but that didn't change anything.
a) Was the 2nd "Restore Original Image" after installing the OTA a bad idea?
b) How can i install Magisk now?
I don't reboot the phone as i think it could be bricked after that.
Click to expand...
Click to collapse
Well the procedure is disable all magisk modules. Reboot. Take the update don't reboot when the updater says to. Go to magisk select patch to inactive slot let it do it's thing then reboot
for now make a new patched one based on your current is to obtain root like you did initially
Ex pull your current non root boot img patch it in magisk then flash in fastboot
If you need I can grab the India ROM from Updater and make you a patched boot image?
I've already done it for HD01AA EU and HD01BA
Hey, i could manage to install Magisk into inactive slot after updating Magisk manager to the latest version. I would try to reboot now?
If I would like to patch my current boot.img - how can I do so?
digidude512 said:
If you need I can grab the India ROM from Updater and make you a patched boot image?
I've already done it for HD01AA EU and HD01BA
Click to expand...
Click to collapse
Thanks. I think I'll try to reboot and then - if it doesn't Boot - I will come back to you.
Dacoco said:
Thanks. I think I'll try to reboot and then - if it doesn't Boot - I will come back to you.
Click to expand...
Click to collapse
Any luck?
digidude512 said:
Any luck?
Click to expand...
Click to collapse
Booted up and root is working! Thanks a ton!
Dacoco said:
Booted up and root is working! Thanks a ton!
Click to expand...
Click to collapse
Well the ROM is already downloading, Might as well do the boot and recovery images anyway lol
When I'm done I'll update this thread to include HD01AA India
https://forum.xda-developers.com/7t-pro/how-to/oos-10-0-13-hd01aa-t4195159

Categories

Resources