[ALTERNATIVE] Root Mi A1 with TWRP Without disabling Ota

Search This thread

freekarol

Senior Member
Feb 27, 2015
84
2
After removing magisk with uninstaller i get an bootloop. Flashing magisk zip again with twrp phones up...what can be the problem?
I had bootloop with a previous version of Magisk. The latest one worked fine with an August update. Using the latest uninstaller is also recommended.
 

emiljano539

Senior Member
Jan 4, 2017
221
38
Does it works if i have tried to update it before but it shows the installation error. If i flash the magisk unistaller will i get the update after reboot?
 

manpildo

Senior Member
Dec 21, 2011
1,955
1,079
Does it works if i have tried to update it before but it shows the installation error. If i flash the magisk unistaller will i get the update after reboot?
This method worked only the first time for me. Every OTA after that has failed to install, magisk or no magisk.
 

freekarol

Senior Member
Feb 27, 2015
84
2
I get OTA this way:
-uninstall Magisk with Magisk uninstaller
-update Android via Android settings
-flash Magisk via TWRP
-install Magisk Manager.
-done
 

emiljano539

Senior Member
Jan 4, 2017
221
38
Can you send me a link where did you get those? Do i have to flash them from order since im in july ota? I jave to flash august or September?

---------- Post added at 10:34 PM ---------- Previous post was at 10:34 PM ----------

I dirty flash full stock roms in twrp.

Sent from my Mi A1 using Tapatalk

Can you send me a link where did you get those? Do i have to flash them from order since im in july ota? I jave to flash august or September?
 

Bangsobe

Member
Aug 29, 2018
11
3
Can you send me a link where did you get those? Do i have to flash them from order since im in july ota? I jave to flash august or September?

---------- Post added at 10:34 PM ---------- Previous post was at 10:34 PM ----------



Can you send me a link where did you get those? Do i have to flash them from order since im in july ota? I jave to flash august or September?
Here #1120
 

manpildo

Senior Member
Dec 21, 2011
1,955
1,079
And I'm in july ota what do i have to download? The august or September?
It's a full image, not incremental OTA package, so it doesn't matter what version you have now. Just dirty flash the ROM through TWRP or fastboot. The -T version is for TWRP and -F is for fastboot.
 

Dzhiyaulhaq

New member
Dec 30, 2018
1
0
Help

I have a problem installing Twrp manually, I have entered the bootloader and I installed Twrp, I forgot to move the slot from slot A to B and my cellphone loops in twrp and doesn't want to go to the menu
 

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    As you may imagine this simple guide will show you how to root your device with magisk from twrp recovery.
    I know, there is already a guide by jashancheema that shows how to root this device, however it's difficult to update the system once you are rooted. In my opinion the way i'm about to show you is faster and easier.

    Disclaimer: I am not responsible for ANY damage done to your phone, act at your own risk.

    That's how you can root your phone with magisk and recovery without disabling ota.

    1. First download magisk manager and magisk flashable zip from here (official thread)
    Install magisk manager and copy the magisk flashable zip somewhere in your device or sd.

    2. Download mohancm twrp recovery (recovery-3.2.1-2-oreo) from here (official thread)
    NOTE: do not download the installer, you need the .img file bootable from fastboot (recovery-3.2.1-2-oreo.img)

    3. Copy recovery-3.2.1-2-oreo.img into the fastboot folder.

    4. Enable developer option from in the device, enable OEM unlocking.

    5. turn off your device and enter into fastboot mode by holding voume down + power button, then connect your device to the pc.

    6. now open fastboot and type this to check the connection, if the terminal return an andress your phone is correctly configured.
    Code:
    fastboot devices

    7. type this from fastboot to unlock your bootloader.
    Code:
    fastboot oem unlock

    8. now type this to boot your recovery (REMEMBER TO COPY THE RECOVERY IMG INTO THE FASTBOOT FOLDER)
    Code:
    fastboot boot recovery-3.2.1-2-oreo.img

    9. once your recovey boot flash the magisk zip and reboot.
    NOTE: do not install or flash twrp into your device or you won't be able to update through ota.


    ---------------------HOW TO UPDATE-----------------------------------------------------------------------------------------------------

    When you will receive the update the only thing you need to do is boot twrp, flash magisk unistaller (that you can find here ) and update.

    1. type this to boot your recovery (REMEMBER TO COPY THE RECOVERY IMG INTO THE FASTBOOT FOLDER)
    Code:
    fastboot boot recovery-3.2.1-2-oreo.img

    2. flash magisk unistaller from recovey

    3. Update your system

    4. Repeat the same procedure to root again your device.

    If you are italian and you need any help you can find it here, the serious telegram community.
    https://t.me/XiaomiMiA1Italia
    Special thanks to @samuele94 and @TheRealajeje from the telegram group.
    1
    All works!!! :good::good::good::good::good:
    1
    Are you sure it will not wipe data on unlocking the bootlaoder ... On July 1 2018 security patch ??

    Anyone please cnfrm this ??

    Yes, will wipe all data, you need backup
    1
    How did you get the ota then? Im still stuck in july ota [emoji26][emoji26] don't want to flash from scratch
    I dirty flash full stock roms in twrp.

    Sent from my Mi A1 using Tapatalk
    1
    Question: the original method implies the boot of a "patched boot image". Why your alternative method skips this step?
    Because the bootloader is patched by the Magisk Installer when you run it via TWRP; the "original" method just starts the phone from a bootloader patched by someone else (probably with this method), which seems a bit pointless to me since anyway you need to patch it yourself when you install Magisk.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone