[Xiaomi Mi A1 Guides, News, & Discussion] Rayshz:
Applying OTA Updates Without Erasing User DATA

Hello XDA Members,

I've Recently Discovered That If I Received An OTA Updates And Tried To Install It, It Won't Even Install.

As To That, You'll Receive "Couldn't Install Update" Or Similiar. That Was The First Method Of Applying OTA Updates And It Was Unsuccessful.

2nd Method Through Magisk Manager/Module,

"Magisk V17.1, Installed v17.2"

Tried To Use The Magisk Manager By Clicking "Uninstall Then Restore Images." Or Similiar.

Then Back To "System Update>Check For Update" And Download It, After Downloaded It Will Automatically Proceed On Its Installation By Default But Upon Installing It Will Prompt Once Again "Couldn't Install Update" Or Similiar, Duly Note That Is If You Modify Any Of The System Module Or Whatsoever. However With Both Method Not Being Successful I Tried

A New Experimental Method

.

3rd Method Through Flashing Via XiaoMiFlash,

I Downloaded The Updated Stock Oreo Rom Of September 5 Update (Tissot-F-OPM1.171019.026.V9.6.6.0.ODHMIFE) And Flash It Via Fastboot Mode.

Upon Flash Flashing Via XiaoMiFlash Software Through Fastboot Mode, I Selected "Save User Data" Instead Of "Clean All' Or "Clean All And Lock", Flashing With Save User Data Method Won't Erase Your User Data But To Flash Using XiaoMiFlash You'll Need Your Bootloader To Be Unlocked.

Flashing Will Roughly Take About 2-5 Minutes Once Flashing Completed, Your Phone Will Automatically Reboot, After Reboot

Go To Settings>System>System Update>Check For Update And Install It, After Downloading It Will Ask You To Reboot Your Phone And Press Reboot, After It Reboots And Install The Latest OTA Update Now You Power Off Your Phone And Put It In Fastboot Mode Again, Once You're In Fastboot Mode, Download (platform-tools_r28.0.1-windows.zip) On bit.ly/latestadb, (Magisk-v17.1.zip) At github.com/topjohnwu/Magisk/releases/download/v17.1/Magisk-v17.1.zip, TWRP Recovery Image At androidfilehost.com/?fid=818070582850498337 And TWRP Recovery Installer At androidfilehost.com/?fid=746010030569959456, Extract (platform-tools_r28.0.1-windows.zip) On Your desired location. Now Copy The Downloaded (TWRP Recovery Image) To (platform-tools_r28.0.1-windows) File And Hold "SHIFT>RIGHT CLICK>OPEN POWERSHELL WINDOW HERE", Some May State "Open CMD Here", Afterwards You'll Be On The Powershell Or CMD.

Now Type On This Command In

Fastboot Boot recovery-3.2.1-2-oreo.img

Now Your Phone Will Reboot To TWRP Recovery Mode

Copy The Downloaded (Magisk-v17.1.zip) File To Your Internal Phone Storage Via File Explorer On Your PC.

Now At Your Phone Swipe To Allow Modification, Afterwards It Will Bring You To The Menu Click "INSTALL" Then Look for (Magisk-v17.1.zip) And Click It, It Will Install The Magisk Module If You Just Want To ROOT YOUR PHONE Alone But If You Want To Install TWRP Recovery Aswell Then Copy The Downloaded (Twrp-recoveryInstaller-3.2.1-2-oreo.zip) To Your Phone Internal Storage, Do Not Extract It To Your Phone But Just Copy The Zip File To Your Phone! And Click "INSTALL" And Click Twrp-recoveryInstaller-3.2.1-2-oreo.zip And It Will Install TWRP Recovery, After Installing Both Zips Go Back To The MENU And Click "REBOOT" And Click "SYSTEM" And Click "DO NOT INSTALL" And It Will Reboot And Right After Your Phone Has Rebooted You Have Successfully Install OTA And Rooted Your Phone Once Again, REMEMBER, EACH TIME YOU RECEIVED AND OTA UPDATE DO NOT DOWNLOAD IT FIRST BUT FLASH THE PHONE WITH THE STOCK ROM GIVEN IN THE LINK AND FLASH IT WITH "SAVE USER DATA" AND AFTER FLASHING CONTINUE AS INSTRUCTED AT THE ABOVE STEPS THAT WAS GIVEN FROM THE FIRST PARAGRAPH,

If You Happen To Have Any Issues With These Do Not Hesitate To Post A Reply Or Similiar On This Forum:laugh:

Regards,

Lennox