yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Guides, News, & Discussion] :
Try again for one more time. It gives error for the first time for me too.
[Xiaomi Mi A1 Guides, News, & Discussion] jashancheema:
Direct install magisk again.

Reboot

Then try again to install module
[Xiaomi Mi A1 Guides, News, & Discussion] okahdidi:
I also have same issue. Looking for a fix

---------- Post added at 07:44 PM ---------- Previous post was at 07:34 PM ----------

Actually I get all these steps but after clicking direct install,it just keeps moving as if it wants to download but nothing is downloading. I have very strong internet but still it doesn't download. Have repeatedly followed the steps again and when I choose direct install,it doesn't download the magisk.zip file.

---------- Post added at 07:47 PM ---------- Previous post was at 07:44 PM ----------

How can one check for active slot?
[Xiaomi Mi A1 Guides, News, & Discussion] ronyriawan:
thank you for the respond,

Question :

1. where can i found january patched rom ?

2. if i flash this january patch rom did my data saved ?

thank you
[Xiaomi Mi A1 Guides, News, & Discussion] :
1. The link is in the OP. It isn't a rom. Just patched boot.img

2. Yes, but you should be on January patch first, non rooted
[Xiaomi Mi A1 Guides, News, & Discussion] sdfkjsdlfkkjdfs2:
You need MiFlash and you can save your data on it if you're careful. Here's a guide: http://en.miui.com/thread-807252-1-1.html

Here's the ROM: https://xdaforums.com/mi-a1/development/official-n2g47h-8-01-10-january-t3740649

remember to click 'save user data'!

he meant the ROM for the January patch, not the patched_boot.img
[Xiaomi Mi A1 Guides, News, & Discussion] anirbannath:
Hi. During installation of OTA update, the process gets stuck in Step 1 and shows me installation error. I have rooted my phone using this method and upon arrival of OTA, I followed the steps exactly as mentioned in the github link. Is there any fix for this?

PS - I had updated Magisk twice from within the app itself. In other rooting guides, some people had warned not to do that. But i didn't see any such warnings here, so I just went ahead and did it. Could that have had something to do with this?
[Xiaomi Mi A1 Guides, News, & Discussion] KloNom:
Hello,

Is there an advantage to use the patched boot.img from here instead of generating one with Magisk Manager?
[Xiaomi Mi A1 Guides, News, & Discussion] hacker1:
Try flashing a stock boot image (only works if you didn't modify any other partitions), or instead of ota, just flash the official fastboot rom with miflash (and select "keep user data")

No, it's just more convenient for some people
[Xiaomi Mi A1 Guides, News, & Discussion] ltf_195:
You need to manually update from here. Then unlock bootloader and root again

We should not update Magisk within the apps? Could you provide link for this? Thanks.
[Xiaomi Mi A1 Guides, News, & Discussion] shindehemant300:
share February Security patch_boot.img download link
[Xiaomi Mi A1 Guides, News, & Discussion] ltf_195:
Are you on beta?
[Xiaomi Mi A1 Guides, News, & Discussion] shindehemant300:
https://xdaforums.com/mi-a1/development/tool-aosp-8-0-ql1515-dec-8-2017-t3722184 here is the link to download Feb Rom.

I want to root this rom so I want Feb Patched_bot.img fle.
[Xiaomi Mi A1 Guides, News, & Discussion] ltf_195:
That beta version, Feb security patch for stable haven't release yet, so no patched_boot.img
[Xiaomi Mi A1 Guides, News, & Discussion] gattone_16:
maybe better to wait for a definitive version no beta to update
[Xiaomi Mi A1 Guides, News, & Discussion] okahdidi:
What version of Google camera is best?
[Xiaomi Mi A1 Guides, News, & Discussion] NITRO_100:
Please ask in correct thread !!

Second you must test for yourself what will be best for you.
[Xiaomi Mi A1 Guides, News, & Discussion] shel777:
Will it work on January security patch?? Will it reset my setting and data?? And should I backup my data and how to do it??

And how to install twrp??

Besides, can I root mi a1 running on oreo with the method which is used to root nougat??
[Xiaomi Mi A1 Guides, News, & Discussion] okahdidi:
Thanks
[Xiaomi Mi A1 Guides, News, & Discussion] anirbannath:
[youtube]tRcYUMBgvaI[/youtube]

Timestamp : 5:57
[Xiaomi Mi A1 Guides, News, & Discussion] hacker1:
http://www101.zippyshare.com/v/Z5XxlrdZ/file.html
[Xiaomi Mi A1 Guides, News, & Discussion] ronyriawan:
can you give me the link to january_patched_boot.img

thank you
[Xiaomi Mi A1 Guides, News, & Discussion] cailloud:
Did this on linux mint,

Now the device seems to be stuck on the androidone loading screen.

How long is the usual waiting time?
[Xiaomi Mi A1 Guides, News, & Discussion] cailloud:
Nvm, got it working in, so all is fine!

So the commands of OP do work in linux mint/ubuntu too. just ad sudo before them.

sudo fastboot oem unlock

sudo fastboot boot patched_boot.img
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
this file is for OPR1.170623.026.8.2.1 or OPR1.170623.026.8.2.6 ???? :confused:
[Xiaomi Mi A1 Guides, News, & Discussion] ThisisSG:
iam in February patch can i use January patch for root my device
[Xiaomi Mi A1 Guides, News, & Discussion] Ammo thind:
Ferbury patched boot is available
[Xiaomi Mi A1 Guides, News, & Discussion] ThisisSG:
link please.?
[Xiaomi Mi A1 Guides, News, & Discussion] Ammo thind:
https://xdaforums.com/mi-a1/development/rom-tissot-stock-oreo-8-0-rooted-t3735760

---------- Post added at 09:54 AM ---------- Previous post was at 09:53 AM ----------

Are you on telegram

---------- Post added at 09:54 AM ---------- Previous post was at 09:54 AM ----------

Are you on telegram
[Xiaomi Mi A1 Guides, News, & Discussion] ThisisSG:
yas bro iam in telegram group! but ur giving me worng Link i want feb security patch boot.img
[Xiaomi Mi A1 Guides, News, & Discussion] Ammo thind:
Give me your telegram
[Xiaomi Mi A1 Guides, News, & Discussion] ThisisSG:
Thisis SG
[Xiaomi Mi A1 Guides, News, & Discussion] hacker1:
It is from 8.2.1, I don't have the ota for 8.2.6 yet.
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Okay, I just created a video on how to install OTA after root. I hope it is helpful!

https://youtu.be/fFA7Ocqku3E
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
Thanks you for your info :)
[Xiaomi Mi A1 Guides, News, & Discussion] sdfkjsdlfkkjdfs2:
it's in the OP of this thread

https://xdaforums.com/mi-a1/how-to/root-mi-a1-oreo-8-0-disabling-ota-magisk-t3728654/
[Xiaomi Mi A1 Guides, News, & Discussion] Dj Telo:
Couldn't update installation problem

Hi!

I am having the "Couldn't update installation problem" with the January update like many others but even after some research, I feel like I don't know how to proceed.

I rooted with Magisk and the patched boot img from December. No I get the OTA notification and the installation problem. How should I proceed? Do I need to uninstall Magisk? Do I need to reflash a stock boot img? Will I lose root? Can I do this without a computer?

Thanks in advance!
[Xiaomi Mi A1 Guides, News, & Discussion] jordanxp:
Just want to share my experience with rooting. I'm on January update, I've enabled developer options and debugging (forgot to enable OEM Unlocking) I've authorised my PC to connect via ADB, I rebooted in fastboot to see if Windows installs the phone correctly, installed latest Magisk Manager and everything was fine. Backed up my stuff and went to fastboot again (OEM Unlocking still disabled) I typed the oem unlock command and it was successful... then I remember I forgot to enable OEM Unlock, but decided to continue anyway... I've rebooted there was no message about unlocked device, I went to magisk and installed it, it went without any errors, then I rebooted to finalise everything. After that reboot saw the message about unlocked bootloader, and the phone started booting... for 20+ minutes, I was thinking it was wiping my stuff, but at some point i decided to shut it down and try again. It was stuck again. So I went in fastboot and booted with the patched image. This time it loaded all the way, and to my suprise my data was there. I've checked and I had root... strange. Tried a reboot and there was no problem. So everything went OK I guess... camera start was slow, but installing magisk-permissive-script_v1.1.zip from this thread https://xdaforums.com/mi-a1/how-to/how-to-google-camera-oreo-t3729254 fixed it! And nowI have working GCam too :)
[Xiaomi Mi A1 Guides, News, & Discussion] joeyhuab:
Any patched boot for Feb 8.2.6 OTA update? Or should I just use the one from 8.2.1 since they're just incremental?

Edit 8.2.8 is the latest already.

[IMG="8.2.8"]https://scontent-nrt1-1.xx.fbcdn.net/v/t34.0-12/27781455_10215302000484736_35405858_n.png?oh=bd81ca9382ea5c9b92255afbd6ea130d&oe=5A7F7721[/IMG]
[Xiaomi Mi A1 Guides, News, & Discussion] thepandas:
Hi OP [MENTION=7177145]jashancheema[/MENTION] , thanks for your thread, as I am new to rooting I would like to ask few of my doubts.

What I want to achieve : Create Nandroid Backup without Flashing TWRP (Only by booting into TWRP), Then Rooting the device using this Magisk Method as stated (as i dont want to disable OTAs).

Questions :

1. Is it possible to create Nandroid backup just by booting into TWRP (not flashing it) using commands

fastboot oem unlock
fastboot boot recovery.img

Of course I will be copying TWRP.img into ADB folder before trying these codes.

1a. If it is possible then which partitions should I choose during backup ? (Boot, Recovery, System,System Image, ALL)

1b. During recovery, does again by booting into TWRP (not flashing it) will do the job ? (as i dont want to disable OTA)

1c. If all these possible then does system will PASS the safetynet check ?

Sorry, as there are lots of question to ask, as I will be rooting first time and I would like to get 100% assured. Thanks in advance... :)
[Xiaomi Mi A1 Guides, News, & Discussion] Soham Biswas:
When i first rooted my device with magisk method my phone showed slot b on fastboot command. Inwas on jan security patch with root. But today i just reflashed the rom.by mi flash tool to unroot my device and after flashing i found that my device showing slot a on typing fastboot command even in magisk it's showing slot a. How is this possible? Will this cause any problem on future ota?
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
follow this guide :)

https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
[Xiaomi Mi A1 Guides, News, & Discussion] Dj Telo:
Thanks for your reply!

I am still a little confused, though. According to the guide you provided, I can use the mathod for phones with A/B partitions and do the OTA without issues. However, I have been told in the Telegram group from the OP that it is not possible to apply OTA if I have root. I've been told that I have to flash the stock ROM again with Mi Flash after having uninstalled Magisk.

Could you please confirm that your guide is still current?

Thanks!
[Xiaomi Mi A1 Guides, News, & Discussion] okahdidi:
That selinux permissive makes the phone excessively vulnerable. There are other modules that will solve the gcam issue. Please use that and remove selinux permissive
[Xiaomi Mi A1 Guides, News, & Discussion] buggerman:
A note to all. Remember to keep Magisk Manager installed on the "Internal Memory" and not "External SDCard".

If you keep it on sdcard, it won't open after a patched boot.
[Xiaomi Mi A1 Guides, News, & Discussion] maputi:
Could you mention the other modules to solve Gcam issue ( which have the same effect like selinux ) ?
[Xiaomi Mi A1 Guides, News, & Discussion] okahdidi:
https://drive.google.com/file/d/1hKaceXRtsU7-i_qg0nNjSe-NaRqF_n25/view?usp=drivesdk

---------- Post added at 09:21 AM ---------- Previous post was at 09:20 AM ----------

https://drive.google.com/file/d/1ejcGsJJFFC5bpr3X_SfhgjDn4B6VoQwY/view?usp=drivesdk

To solve slow motion on gcam
[Xiaomi Mi A1 Guides, News, & Discussion] Geddd:
Can someone help me how to properly install the drivers? CMD is only showing, "waiting for device". I've installed manually Mi A1 drivers too on in device manager.
[Xiaomi Mi A1 Guides, News, & Discussion] Herdkilling:
@jashancheema How to Install ADB on Windows, macOS, and Linux should be added to the first post. :)

For those who want to create their own patched_boot.img

Go to Xiaomi Mi A1 Downloads

Download the version that matches your phones Build number (Settings > System > About phone)

Extract the files

Go to images directory

Copy boot.img to your phone

Under Magisk go to Install > Patch Boot Image File > select the boot.img that you've previously copied to your phone

Then you can follow the guide in the first post. :)
[Xiaomi Mi A1 Guides, News, & Discussion] _MrAlpha_:
Quick question: why are my videos recorded at low FPS after doing this? Both from Gcam and stock app, they get between 15 and 24 FPS. It's extremely annoying!

Also, slow motion is completely broken and records at less than 10 FPS.

Any way to fix this?
[Xiaomi Mi A1 Guides, News, & Discussion] Dj Telo:
Any ideas about this? Thanks!
[Xiaomi Mi A1 Guides, News, & Discussion] CamMcB123:
Stock Recovery Image?

So I was uninstalling magisk but forgot to select "restore images" first and now I am stuck with the patched image. Does anyone have a stock image or a way to fix this to receive OTA updates? Or do I just need to flash the entire stock rom over again...

Thanks in advance for anyone who has any help.
[Xiaomi Mi A1 Guides, News, & Discussion] pustaka:
its work if i still use nouget patch des.or u have tutorial root in nouget.thx
[Xiaomi Mi A1 Guides, News, & Discussion] umaruff:
there is some wrong on your tutorial

787 7

ROOT MI A1 (OREO 8.0) without disabling ota with magisk

1. Download and install magisk manager apk

2. Download patched boot.img (Download Here)

3. Extract patched_boot.img.zip (Download Here)

4. Copy patched_boot.img in fastboot folder.

5. Enable developer option in ur device and enable oem unlocking in developer option.

6. Turn off ur phone.

7. Now press and hold voume down+power button.

8. Now connect your device with PC in fastboot mode

9. Type commandCode:

fastboot oem unlock

10. Check the Android 8.0.0 slot by typing the following line in terminalCode:

fastboot getvar current-slot

11. If ur slot showing slot_a then type this commandCode:

fastboot flash boot_a patched_boot.img

or

If ur slot showing slot_b then type this command

Code:

fastboot flash boot_b patched_boot.img

12. Now typeCode:

fastboot reboot

13. Then open magisk manager apk and then install magisk installer using direct method and reboot once

from FORUM MIUI
[Xiaomi Mi A1 Guides, News, & Discussion] Moycano:
Successful rooting at the third try. NICE! Now I'm waiting for the February security update to verify if OTA is still possible.
[Xiaomi Mi A1 Guides, News, & Discussion] doc_fx:
Hello people,

Can someone kind enough clear my doubt? There are two patched images here, dec and jan, i should download both and place both of them in the extracted folder ? And when feb update comes i will have to root again or the old patched images will hold root after i restore it via magisk? Or will i need a feb patched boot img?
[Xiaomi Mi A1 Guides, News, & Discussion] joeyhuab:
When OTA comes, go to Magisk Manager. Click Uninstall then click Restore images.

Download the feb patch boot (once it's available).

Download and flash the new OTA.

Once updated, flash the new Feb patched boot via fastboot, reboot.

Then open Magisk Manager and install Magisk via direct method.

You should be rooted with Feb patched.
[Xiaomi Mi A1 Guides, News, & Discussion] doc_fx:
Great, thank you! So right now i just need the jan patched image right? I am on the latest jan update. Stock..never rooted.
[Xiaomi Mi A1 Guides, News, & Discussion] joeyhuab:
If you want to root while on January patch, the link is in the OP. For convenience, here you go.

https://www.androidfilehost.com/?fid=962157660013071407

Flash that via fastboot. fastboot boot patched_boot.img is the command. Make sure you have the bootloader unlocked.

Once you're booted, open Magisk Manager and click Install and use direct method. :)
[Xiaomi Mi A1 Guides, News, & Discussion] doc_fx:
Will root and update. Much appreciated bro!
[Xiaomi Mi A1 Guides, News, & Discussion] MrJones2k:
there should not be the need to get the february patched boot if you follow the instrucitons from the first post: https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips

Once the OTA is updating the second partition, Magisk can generate the patched boot already while it still has root, and in this way preserving root after OTA and boot to secondary partition
[Xiaomi Mi A1 Guides, News, & Discussion] ghale:
Just to ask: now that I've rooted my phone after the bootloader unlocked... what will happen if I LOCK IT?

I'm interested in understand if someone can explain me, please.
[Xiaomi Mi A1 Guides, News, & Discussion] doc_fx:
Guys can someone please point me where i can get adb and fastboot, i dont have it on my laptop now, deleted the older ones long back..
[Xiaomi Mi A1 Guides, News, & Discussion] macelaru:
I've installed this on Win 10 and works flawless with automated tool.
[Xiaomi Mi A1 Guides, News, & Discussion] doc_fx:
Thanks mate, i have installed the same thing on windows 7 right now, it has just placed an adb folder in my d drive, that is itself the fastboot folder? I should copy the patched image in it? Or will there be another fastboot folder?
[Xiaomi Mi A1 Guides, News, & Discussion] myself379:
Hey, I have this problem too. I stuck on AndroidOne loading screen. Really need help guys, I followed the instruction to the letter, yet stuck when boot patched_boot.img

Phone did boot normally if boot normal.
[Xiaomi Mi A1 Guides, News, & Discussion] doc_fx:
Finally all done, rooted with the provided methods and root verified with safetynet intact, thanks for the awesome support and method.
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
My mi a1 is currently 8.2.8. so which patched_boot.img I should use to root? Or is there any way to root for 8.2.8??
[Xiaomi Mi A1 Guides, News, & Discussion] joeyhuab:
Try this! https://xdaforums.com/mi-a1/themes/root-february-beta-patched-boot-image-t3748959
[Xiaomi Mi A1 Guides, News, & Discussion] Arcade2219:
Method is working but .....

Hi there

The method you have shown above is perfectly working for me but i am facing one problem.

Every time my phone is rebooting it is become unroot.

i am rooting everytime when my phone reboots. :(:crying:

So could you tell me why it is happening. i have installed magisk manager and magisk also but still facing problem.
[Xiaomi Mi A1 Guides, News, & Discussion] gthakur:
I am currently on February security patch. So which boot image i have to use ?
[Xiaomi Mi A1 Guides, News, & Discussion] Flow:
I too first had the second problem and then thought I had fixed it but faced the first mentioned problem...

So here's what I did:

1. Uninstall Magisk Manager

2. Follow exactly this how-to: https://www.technobuzz.net/root-mi-a1-oreo/

3. After the Direct install from Magisk and rebooting I got stuck on the Android One boot logo

4. Reboot into Fastboot by holding the hardware buttons

5. Install the patched boot img one last time using fastboot command

6. Reboot

Now it boots and after rebooting it stays rooted :)
[Xiaomi Mi A1 Guides, News, & Discussion] JovieBrett:
Does anyone here noticed the stock camera app on Mi A1 takes some time to use after rooting through magisk?
[Xiaomi Mi A1 Guides, News, & Discussion] jashancheema:
Use selinux permissive module to fix camera issue
[Xiaomi Mi A1 Guides, News, & Discussion] Jithin0801:
I have a problem here

the phone gets rooted actually but the problem is its gets rooted without doing one step

that is after booting with the patched boot img we have to open magisk and install it via direct install , well i didnt do that step and the magisk gets installed automatically ,

and after the restart it gets uninstalled

any way i could fix this help me guys!!

and also safetynet fails even without installing any modules

am i doing anything wrong!
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
That's normal. When you boot up the phone with patched boot.img, you load also Magisk. After the reboot you load your unpatched boot.img, so you "lose" root. As you said, you skipped step (no idea why though, as it's essential) #11. Then open magisk manager apk and then install magisk installer using direct method and reboot once again. Once you do it correctly, you'll have permanent root and Safetynet will pass as well.
[Xiaomi Mi A1 Guides, News, & Discussion] Jithin0801:
I didnt skip that step, magisk(not the magisk manager) is installed automatically as i boot using patched image before giving direct install, but when I try to install modules it dosent install showing error "atleast magisk 14.0 required" this means that magisk is not installed but magisk manager shows magisk is nstalled the root worls well.
[Xiaomi Mi A1 Guides, News, & Discussion] ltf_195:
I dont see any problem. You just can't follow the guide.
[Xiaomi Mi A1 Guides, News, & Discussion] Jithin0801:
I think you are not getting me I said before doing the direct install the magisk manager shows magisk is installed and wen i select direct install i gets into bootloop.

---------- Post added at 10:19 PM ---------- Previous post was at 10:14 PM ----------

I think u r not getting me

After booting the patched boot img the magisk manager should show magisk is not installed and we should install it by using direct method and reboot the device

but here after booting with patched img it shows the magisk is installed even before i install it by using direct install method......and on next reboot it is gone!
[Xiaomi Mi A1 Guides, News, & Discussion] DaveCZ:
Why in the hell the need of patched boot imgs? When you can do it as on Nougat? I want Root but since I know how incredibly easy it is to brick this phone, the boot imgs are stopping me. Anyone can confirm that there is no other way to root Oreo?
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
It is not installed automatically. You must install it, it is not enough to just boot patched boot.img. Otherwise it won't work correctly. Disable all modules before installation, you are likely installing module for Nougat which causes bootloop.

You can boot into TWRP and install Magisk from there, but booting patched boot.img is completely safe and very easy. In fact much easier, as you need to find a working version of TWRP :)
[Xiaomi Mi A1 Guides, News, & Discussion] ltf_195:
I dont see this in the guide. Which guide do you follow? If you didnt install, you will lose magisk in the next reboot. Thats not a problem.
[Xiaomi Mi A1 Guides, News, & Discussion] Jithin0801:
After booting with patched img what should be the status of magisk installed or not installed? (Before you give the option "Direct Install")
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
It will report "installed", but it's not really installed. Please follow the guide, the last step isn't there just for fun.
[Xiaomi Mi A1 Guides, News, & Discussion] CharLee62:
Hey there, I'm in trouble :angel:

I rooted my A1 with Magisk just to install GCam and since this, i can't update when in disable Magisk.

So i want to reset my phone from scratch.

Is it the best solution to get updates working ?

I seriously need your help, i don't know what to do :rolleyes:

Thank you

Edit : Androïd version 8.0.0.0
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Very simple, reflash official ROM, you can keep your data. ROM and guide are here http://en.miui.com/download-333.html
[Xiaomi Mi A1 Guides, News, & Discussion] CharLee62:
Thanks for the reply but your link leads me to the MIUI home page. Do you have a specific link to the guide ? Thanks again

edit : found it by myslef, your url missed an L to htmL ;)
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Typo corrected, but I'm glad that you found it anyway :)
[Xiaomi Mi A1 Guides, News, & Discussion] CharLee62:
Well it worked for the Flash part but the system doesn't find any updates :crying:

Tried the Framework thing but doesn't work...