yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Guides, News, & Discussion] Parnas72:
Substratum modifies the system partition, as the overlays are installed in a folder under /system/vendor; so OTA will likely fail if you have used Substratum. I had to uninstall Substratum and reflash the stock system partition (using fastboot) to have OTA working again.
[Xiaomi Mi A1 Guides, News, & Discussion] mrchrister:
Since I had this phone I have not once been successful in having Magisk and somehow update OTA. Is there a working method to update from July (rooted) to August ?
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Substratum does not install anything in the system partition at least since Oreo 8.0. Themes are installed as user apps and configured in this XML /data/system/overlays.xml. This is why it's possible to have Substratum without root and why themes survive ROM updates/flashing.

---------- Post added at 02:57 PM ---------- Previous post was at 02:55 PM ----------

For some currently unknown reasons, sometimes even fully stock systems are not able to apply OTA. However after reflashing of stock ROM (keep data, do not lock the bootloader), OTA suddenly installs. Go figure.. In your case, try to reflash July stock and OTA should work fine.
[Xiaomi Mi A1 Guides, News, & Discussion] beeshyams:
Yes. Even restoring boot images from Magisk doesn't work! Tried multiple times today to do it the A/B method
[Xiaomi Mi A1 Guides, News, & Discussion] Parnas72:
I'm no expert on inner workings of substratum, but on my rooted phone with Oreo 8.1 I can assure you that I found some .apk files put by Substratum in my /system/vendor/overlays folder.

On unrooted phones I seem to understand that you need to install the Andromeda framework, in that case maybe it works differently.
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Sounds like you're running it in legacy mode or using legacy theme. I have rooted Oreo 8.1 and there are no themes in /system/vendor other than the system ones. I'm quite sure that Substratum uses data partition in "normal" and "rootless" mode.
[Xiaomi Mi A1 Guides, News, & Discussion] The_Runner:
Well i patched the August build using the given guide and it worked for me. In case you want the patched image. I'm leaving my drive link below

https://drive.google.com/file/d/1ACc5xfLMgEdWBkDzXq8JlSvTbOe48vzK/view?usp=drivesdk
[Xiaomi Mi A1 Guides, News, & Discussion] Zhillan:
wow nice works

ill try if august on 1st post for safety :3
[Xiaomi Mi A1 Guides, News, & Discussion] Johnn78:
You flashed the patched boot aug.img from twrp or adb ?

---------- Post added at 03:50 AM ---------- Previous post was at 03:48 AM ----------

Which guide you followed to create the patched boot aug.img ? How to flash it ? Via twrp or adb or the both are same ?
[Xiaomi Mi A1 Guides, News, & Discussion] carmin3:
Hi all

I had a little problem with my mi a1.

Previously, i had followed the 1st page guide to root my device with magisk, and everything was fine.

Actually, i don't know why (Maybe some wrong tap, but i really don't remeber), my MI A1 decided to upload to the august patch.

So, now i have no more root.

How should i procede? can you kindly give my some step-by-step instruction with appropriate link? I tried to scroll the previous post but i'm a little confused about all the boot.img posted by various users.

Thank you in advance!!
[Xiaomi Mi A1 Guides, News, & Discussion] panostheodorakis7:
Yep thx man you saved me but i cant find what i did wrong the 1st time

Στάλθηκε από το Mi A1 μου χρησιμοποιώντας Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] d_borghi:
hi all,

now i receveid my mi a1.

what i must do to root it and install titanium backup and tasker?

tnx
[Xiaomi Mi A1 Guides, News, & Discussion] Parnas72:
Personally what I do after OTA is fastboot TWRP and flash magisk from there... another way is to repeat the steps you did the first time (fastboot patched_boot.img and then install Magisk from Magisk Manager).

You don't need to unlock bootloader again because it's already unlocked.
[Xiaomi Mi A1 Guides, News, & Discussion] speckeldy:
For the second approach that you mentioned: don't I need the updated patched_boot.img for that (from august)? The latest patched_boot.img that I see there is from july and I'm afraid to get stuck in a boot loop if I use that one.
[Xiaomi Mi A1 Guides, News, & Discussion] The_Runner:
I booted the image from fastboot

And the link for making the patched image is given in the guide

https://xdaforums.com/mi-a1/how-to/mi-a1-monthly-updates-t3750419
[Xiaomi Mi A1 Guides, News, & Discussion] speckeldy:
Could you please share your patched boot.img with us?
[Xiaomi Mi A1 Guides, News, & Discussion] Gyro01:
I have Mi A1 with oreo 8.0.0 and had it rooter with magisk, I tried to install the last MAGISK update V17 and failed..

I think I did it this way> update magisk>install>download zip only ... then update magisk>install> Patch Image Boot Fiile>choose "magisk-17.0(17000).zip" ---- flashing window opens:

I then noticed that there is another new file "patched_boot.img" from today (september 1) so I tried to install it via magisk and the installation succeeded but magisk isn't really installed even though it says on the main screen "installed version v16.0" (sometimes the main page has to be refreshed to have it says that v16 installed)

maybe I patched the wrong files or in the wrong order.. what should I do now ? the phone is unrooted and with screwed magisk

Thank you
[Xiaomi Mi A1 Guides, News, & Discussion] speckeldy:
Where did you find that "patched_boot.img" from today (september 1)? I can't see it.
[Xiaomi Mi A1 Guides, News, & Discussion] freekarol:
I have Android 8, rooted without patched_boot.img and when I wanted to update Magisk via Magisk Manager it failed. Maybe because Blokada was active. Never mind. I can now try to update Android to 8.1 and then install Magisk via TWRP.
[Xiaomi Mi A1 Guides, News, & Discussion] NTJ:
i booted with patched_boot.img but when i tried to open magisk manager it's just stuck there at the magisk logo,and then "magisk manager not responding" will come up. So i can't install magisk, can anyone help me, i think the problem is the patched_boot.img because when i open magisk manager with normal boot it opens normally.
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Add Magisk manager to whitelist in Blokada and it will download then.
[Xiaomi Mi A1 Guides, News, & Discussion] NTJ:
okay, it is the patched_boot.img, so i just made my own patched_boot.img with the tutorial that was given by someone in this thread and it worked.

if you need the patched_boot.img that i use, you can give me your email because i can't post outside links before i post approximately 10 posts
[Xiaomi Mi A1 Guides, News, & Discussion] Gyro01:
In the same download folder where magisk v17 zip file is:
[Xiaomi Mi A1 Guides, News, & Discussion] freekarol:
Ok, I will do it but I don't believe it much (it doesn't always work when I want to download something from Google drive). 100% working is temporarily disable Blokada.
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
For me it's working absolutely fine since I've added it to the whitelist in Blokada. I didn't have to do anything for Drive, that one was automatically in whitelist and working flawlessly as well. Maybe something's killing Blokada in the background..?
[Xiaomi Mi A1 Guides, News, & Discussion] cmenghi:
Hi, doing fastboot boot patch_image (cell with august update) can't install magisk. Any idea?

Thanks.
[Xiaomi Mi A1 Guides, News, & Discussion] Gyro01:
Magisk just offered me new updates v17.1, and new apk file, the apk was installed successfully, but the v17.1 wasn't... there's also a boot patch file

How the magisk-v17.1(17100).zip file should be installed anyway?

via magisk I can only choose between "download zip only" or patch boot image file". Can I even install the v17.1 via the last option??
[Xiaomi Mi A1 Guides, News, & Discussion] freekarol:
Battery optimizing is disabled. But after updating to 8.1 Blokada could't blocked lots of ads. After clearing data(clearing cache didn't help) Blokada works again properly.
[Xiaomi Mi A1 Guides, News, & Discussion] corvonero:
Yeah, 17.0/17.1 kind of messed up everything.

You can do the following:

Get your phone in fastboot mode

Boot into TWRP (get it here)

Install Magisk Uninstaller (get it here)

Reboot phone

Place Magisk 17.1 (get it here) and Magisk Manager (get it here) into a folder of your choice

Install Magisk Manager

Once again get your phone in fastboot mode

Once again boot into TWRP

Flash Magisk 17.1

Reboot phone

beware that you will have a brand new fresh Magisk install so you'll need to add/download all your modules from scratch.

This worked for me
[Xiaomi Mi A1 Guides, News, & Discussion] speckeldy:
I booted this boot.img and installed magisk. Then I rebooted but now I'm in a boot loop. Does anyone know what to do? :confused:
[Xiaomi Mi A1 Guides, News, & Discussion] Gyro01:
I don't think that it's the 17.1 because the problem started with 17.0 update..:rolleyes:

thanks for the report.. I'll hold on with this solution...
[Xiaomi Mi A1 Guides, News, & Discussion] NTJ:
the problem is in the patched_boot.img, there's a tutorial how to make one in this thread.

---------- Post added at 02:01 AM ---------- Previous post was at 01:57 AM ----------

there should be the direct install option, i use the same method that guy gave you, make your own patched_boot.img and install magisk again.
[Xiaomi Mi A1 Guides, News, & Discussion] Johnn78:
Any solution in magisk if it can't install any module due to no abillity to mount magisk_merge.img ?

If it exists immediate solution because the known fix which is to unistal comletely the magisk & reinstal it from the beginning with all modules, is time consuming from the time when this error is freequently. You can't often repeat this process.
[Xiaomi Mi A1 Guides, News, & Discussion] corvonero:
The problem started with 17.0 but a "clean" install of 17.1 worked for me.
[Xiaomi Mi A1 Guides, News, & Discussion] The_Runner:
It worked just fine for me. Did u force restart it? Clean the cache .

Else i can give u the stock boot if u want you can try again

Btw what version did u use?
[Xiaomi Mi A1 Guides, News, & Discussion] The_Runner:
Attaching screenshots
[Xiaomi Mi A1 Guides, News, & Discussion] KungFuryy:
anyone have the july 5 patched boot img file?

Thanks.
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
Yes I have

Later I will upload it

[EDIT] [MENTION=9315537]KungFuryy[/MENTION]

Here the link for patched july boot fro Mi A1

https://drive.google.com/open?id=1r10FJ1ut6WeMThLfZ5rNnV_y3ZlcGg1t

Ciao

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] Gyro01:
I don't have twrp, never installed it, I only did the fastboot thing to install magisk once

The weird thing is that the modules I installed seem to be working- youtube vanced , viper4androidfx and adblock are all working (I can't update the adblock though)
[Xiaomi Mi A1 Guides, News, & Discussion] NTJ:
you don't have to install it, it's just a temporary boot using

"fastboot boot [the twrp img name]", you don't have to install it on your phone.
[Xiaomi Mi A1 Guides, News, & Discussion] carmin3:
Hi

Can you provide us a step by-tesp guide about that?

Thank you!
[Xiaomi Mi A1 Guides, News, & Discussion] Parnas72:
That's weird... yesterday I installed 17.0 in the morning and then 17.1 in the afternoon, all from MagiskManager in the usual way with no issues.
[Xiaomi Mi A1 Guides, News, & Discussion] Gyro01:
Are you sure it will work on my android 8.0.0? maybe now that magisk isn't working I can update my android to the latest version? (last time I tried to update it via the guide my phone got stuck in a bootloop)

Is there an official guide for that where I can get the files from an official source and also all the details with the commands?
[Xiaomi Mi A1 Guides, News, & Discussion] NTJ:
but you have to make sure that the boot.img you're using right now is the original one, go to magisk, uninstall, restore images, download ota (don't reboot), install to second slot, reboot.

and dont use "fastboot flash boot [img here] because that will modify the boot, so everytime you restart your phone it will boot to that file which you have flash boot, keep in mind that "fastboot boot [img here]" is different with "fastboot flash boot [img here]" , the first one boot you temporarily to the img file that u insert so you can install magisk and when you reboot you go back to your original boot.img but with magisk installed, but the second command makes everytime you reboot, you keep rebooting to the file you insert to the command.

So if you have done the second command before, there's a chance that you've modified the original boot.img and have to flash a new rom using miflash ( you can choose the keep storage data) so your file is safe, or just wipe data and use google backup.

And yes teamwin twrp have their own official page like this one where you can download the twrp and use it to make your own patched_boot.img with the tutorial that someone gave in this thread.

---------- Post added at 05:52 PM ---------- Previous post was at 05:48 PM ----------

unfortunately i can't provide you the link because i haven't unlock the feature but someone already posted the link for the tutorial in this thread (i think between page 151 and 152) good luck.
[Xiaomi Mi A1 Guides, News, & Discussion] Gyro01:
Right now when I open the magisk app it says "Magisk is not install", however when I refresh the app (by pulling down in the app's main screen) it status changed to "installed version: v16.0"

There is no "uninstall option, only "update magisk" one

BTW, in case you didn't know, you can have 50 messages per page! click here https://xdaforums.com/profile.php?do=editoptions it's under "Number of Posts to Show Per Page

"

In this thread i have only 31 pages
[Xiaomi Mi A1 Guides, News, & Discussion] NTJ:
just try to install ota updates, if the ota successfully pass the step 1 and 2 and tell you to reboot then there's no problem with your images.

Because if the ota detects something odd about your images the ota would just fail to pass the step 1.

Lul thanks for the pages btw, im on my phone and i don't think the apps has that feature.
[Xiaomi Mi A1 Guides, News, & Discussion] Gyro01:
I just won't update it then.. last time it screwed my phone..

If I wanna follow the instructions below, for my 8.0.0 where am I supposed to find the proper files.. I'm too confused now :eek:
[Xiaomi Mi A1 Guides, News, & Discussion] NTJ:
i've sent you the link through PM.
[Xiaomi Mi A1 Guides, News, & Discussion] Avadutwar sai kiran:
Mi a1 august security update patched_boot.img link required

Plzz i want the link of patched_boot.img for august security update of mi a1.. plz share the link
[Xiaomi Mi A1 Guides, News, & Discussion] KungFuryy:
Thank you, but are you sure this's the july (5) patched boot img? as I'm still facing that issue in magisk where i can't the direct install option isn't available?
[Xiaomi Mi A1 Guides, News, & Discussion] Johnn78:
Rename from apk to img.
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
Yes, I am sure

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] naphy:
Rooted successfully on the August Security Patch using this: https://drive.google.com/file/d/1ACc5xfLMgEdWBkDzXq8JlSvTbOe48vzK/view?usp=drivesdk (i renamed it to patched_boot.img tho...)

And for those who get a boot-loop, try to hold down the Power button till it restarts or enter Download Mode (Power + Volume Down) and then hold the Power button. Worked for me :D
[Xiaomi Mi A1 Guides, News, & Discussion] faqbly:
Please Can anyone provide unpatched stock boot.img (August v9.6.5.0).
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
Yes I have

Later I will upload it

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] Shashwat Xtremezs:
When we gonna have proper August Patch Boot File Which will work properly for MiA1 Please ,with Proper Download Link, I want to update my phone to August security patch and I've to Root it so Please....
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
Here you can find teh unpatched boot.image extracted by August image

https://drive.google.com/open?id=12kiCQutC86w1fhR7J62jf5AlMS8kBgUd
[Xiaomi Mi A1 Guides, News, & Discussion] Jawadyounas17:
i need security patch for August 2018 .. how do u change this patches and why ... and with old monthly patch with new security updates, root does not work .. if it is easy than show it to us .. we will make patches by our own selves.. to reduce ur time in making new ones ..
[Xiaomi Mi A1 Guides, News, & Discussion] zhekozhekov:
Hi guys. I have been with Magisk v.16.0 until a few days ago when I lost totally root, updating the manager to the latest one.

I am with 8.0 Oreo april patch.

I created the patched_boot.img thru the app, extracted to PC and flashed thru fastboot to slot B (my current slot).

Then thru the app direct-installed v17.1 (the recommended). Rebooted and...no Wifi.

Found in the Magisk General Support forum, that deleting p2p_supplicant.conf might help - no success.

Is there any other solution of the problem?

I still have v16 on file. Do you think downgrading to v16 and installing patched_boot.img from v.16 might bring back my Wifi?

A quick note: I don't have TWRP.

Many thanks.

Update: Installed TWRP and MIUI 10 for Mi A1 8.9.13 Epic mod. All works great on my M1
[Xiaomi Mi A1 Guides, News, & Discussion] faqbly:
Can anyone enlighten me more on this.

"In order to apply OTAs, you HAVE to make sure you haven't modified /system (and /vendor if available) in any way. Even remounting the partition to rw will tamper block verification."

What does this imply?

• Can I use all the magisk modules without worrying that it might modify system?

•Can I install custom kernel without worrying that it might modify system?

• Can I use other apps that requires root access without worrying that it might modify system?

Can anyone enlighten me how can I use magisk's full potential without modifying system.
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
• Can I use all the magisk modules without worrying that it might modify system? Yes.

•Can I install custom kernel without worrying that it might modify system? No, some kernels use custom drivers and install them in the system partition. Do your research first (check installation script).

• Can I use other apps that requires root access without worrying that it might modify system? No, some apps mount system as R/W. Do your research first.
[Xiaomi Mi A1 Guides, News, & Discussion] freekarol:
When it comes to apps that require root, it almost impossible to find out if they make some changes to system = no OTA.
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Usually it can be determined by the app purpose. Busybox or adaway (without systemless option) modify system partition by their nature. Other apps have no reason to touch it (e.g. kernel manager). If you want be 100% sure, either use app in some emulator first, or switch from magisk to supersu which has an option of logging full commands submitted under root. You can then easily find which app did "remount system". No idea if supersu works on A1 though.. :)
[Xiaomi Mi A1 Guides, News, & Discussion] halcy0n9001:
After updating to August neither of these options worked for me.

a) Patch the boot.img

b) Used an already patched boot.img

The only thing that worked was to,

a) fastboot boot recovery-3.2.1-2-oreo.img from this thread

b) after TWRP loads - install the uninstaller zip, then the latest stable zip from this thread

c) after android loads, install the magisk manager apk from the same thread

Painful - but done :)
[Xiaomi Mi A1 Guides, News, & Discussion] halcy0n9001:
For some reason this TWRP recovery automatically wiped my apps (thankfully not data) and then restarted my phone.
[Xiaomi Mi A1 Guides, News, & Discussion] prathamesh007:
August 2018

I needed a patched boot.img for August(8.1)........:rolleyes:
[Xiaomi Mi A1 Guides, News, & Discussion] naturaldai:
patched boot.img for August :(
[Xiaomi Mi A1 Guides, News, & Discussion] x10adirect:
after many try finally i success to install magisk.

my record is wipe all the data doing factory reset

do not sign in any account, but finish get the phone ready to use (without any google account log in)

remove the sim card and sd card slot

and miracle happen i success to root it after many way try (0.o)!!!!!!!!!!
[Xiaomi Mi A1 Guides, News, & Discussion] EternalLord13:
Does this method still working?
[Xiaomi Mi A1 Guides, News, & Discussion] ozgurubuntu:
July patched.img wont correct boot i guess. Cause i can't install Magisk (8-9 times i try don't work patched_img)
[Xiaomi Mi A1 Guides, News, & Discussion] marte3707:
Doesn' t work with august patch version (build 1710019.026.V9.6.5.0.ODHMIFE)
[Xiaomi Mi A1 Guides, News, & Discussion] Dusayanta:
For August Patch u need August's patched_boot.img file.

You can get the August patched_boot.img in the below mentioned telegram group:

@MiA1_Global
[Xiaomi Mi A1 Guides, News, & Discussion] komiks0916:
could the main post be updated with the august patch too? thank you! :)
[Xiaomi Mi A1 Guides, News, & Discussion] Black Brain:
Doing this will format your phone. Create backup first

Unlocking Boot loader will erase all your data so be careful and backup your data first. I lost all my data this way. Create a backup.
[Xiaomi Mi A1 Guides, News, & Discussion] pka58376@miauj.com:
Restore images not working?

I don't know if I am doing something wrong, but every time I press the "restore images" button, it seems nothing happens. Not even a toast message or something else.
[Xiaomi Mi A1 Guides, News, & Discussion] Shashwat Xtremezs:
Please Send Me Fully Working Link to Download August Patchedboot.img file so that i can root my MiA1 Please Please ??
[Xiaomi Mi A1 Guides, News, & Discussion] :
Just take an untouched August boot.img and patch it yourself with Magisk Manager.
[Xiaomi Mi A1 Guides, News, & Discussion] speckeldy:
Sorry if that's a noob question: where could I get that boot.img from? Can I extract it myself via fastboot?
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
waiting for Sep patched boot img :)
[Xiaomi Mi A1 Guides, News, & Discussion] :
Here

Keep the boot.img only.
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
hello guy, here is the patched_boot.img for September security patch

https://drive.google.com/file/d/1LCY6uyd4ZuzHvm0qRSNBiy_FnmjK28nj/view?usp=sharing
[Xiaomi Mi A1 Guides, News, & Discussion] Parnas72:
Hi,

is september update still in beta phase ? Cause on my phone I don't see any OTA update yet.
[Xiaomi Mi A1 Guides, News, & Discussion] EgidijusL:
Still in Beta ( september 20 get beta ota)
[Xiaomi Mi A1 Guides, News, & Discussion] Roerbakeitje:
Download and extract the boot.img seens not work can you extract the augustus .img please and set It mabe on your drive?

Edit: need the patched .IMG

Realy thanks.

I did this first time.
[Xiaomi Mi A1 Guides, News, & Discussion] Luksy78:
So stable september update is finally here, anyone have a patched boot img for it?
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
Let see here

https://xdaforums.com/showpost.php?p=77708742&postcount=1572
[Xiaomi Mi A1 Guides, News, & Discussion] Luksy78:
Has anyone tested this? This seems to be from 24th of September and the OTA upadte was realeased today... How can that be???
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
I have not personally tested it but ... Very probably it was generated on the leaked factory image available two day ago

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] Luksy78:
Where did you get it from?
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
You have to ask to author of that post ... ;)

I just linked you to it

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] Parnas72:
September update was release to beta users on September 20th, so it's possible.