How to delete downloaded update?

freekarol

Senior Member
Feb 27, 2015
84
2
0
After trying to install a November update(install failed error) I permanently see the install failed error notification when I want to check Android updates. Is there an option to delete something(cache, downloaded update etc.) to get rid of it so I can check updates and get the Pie update? I know, I can flash stock rom but first, I want to try this.
 

Jt380p

Senior Member
Apr 1, 2018
822
380
0
New South Wales
After trying to install a November update(install failed error) I permanently see the install failed error notification when I want to check Android updates. Is there an option to delete something(cache, downloaded update etc.) to get rid of it so I can check updates and get the Pie update? I know, I can flash stock rom but first, I want to try this.
You need root,and a root file explorer, I'm on official pie now so I don't have root access. Sorry, I can't navigate you to the file.
 

freekarol

Senior Member
Feb 27, 2015
84
2
0
Magisk is already installed on my phone. I forgot to mention it... I didn't make any changes to a system partition. OTA just stopped working after uninstalling Magisk via Magisk Manager. Normally, I just uninstall Magisk via TWRP(not installed).

Odesláno z mého Mi A1 pomocí Tapatalk
 

jack_21

Senior Member
Mar 29, 2013
520
185
0
Magisk is already installed on my phone. I forgot to mention it... I didn't make any changes to a system partition. OTA just stopped working after uninstalling Magisk via Magisk Manager. Normally, I just uninstall Magisk via TWRP(not installed).

Odesláno z mého Mi A1 pomocí Tapatalk
Oh well actually it won't work
If you delete the update, Oreo will try to install November update again and then Oreo (and it will fail!)

The best thing you can do - like you said - it's to reinstall Oreo November update that you can find on Miui downloads area, and then search for update to install Pie

Remember to use "save userdata" option and to edit the "flash all expect storage.bat" file removing the line "fastboot oem lock"
 

freekarol

Senior Member
Feb 27, 2015
84
2
0
Oh well actually it won't work
If you delete the update, Oreo will try to install November update again and then Oreo (and it will fail!)
OK. No problem. It was just an idea. :)

The best thing you can do - like you said - it's to reinstall Oreo November update that you can find on Miui downloads area, and then search for update to install Pie
-Do you mean this site? https://en.miui.com/download-333.html
-I think this site is better because here I can find all released updates not just one. Hash file is another thing missing on a Xiaomi website.
-I also have a TWRP backup, maybe I could try to restore a boot partition but I couldn't test the TWRP backup so I don't know if the backup is ok. And I don't want to risk bricking my phone.

Remember to use "save userdata" option and to edit the "flash all expect storage.bat" file removing the line "fastboot oem lock"
1. You mean this line? fastboot %* oem lock || @ECHO "lock error" & exit /B 1
2. Isn't it enough to delete flash_all_lock.bat
3. I read somewhere(maybe here) that MiFlash is not always reliable, it's better to flash stock rom with a bat file(I don't know which one to run).
 

jack_21

Senior Member
Mar 29, 2013
520
185
0
OK. No problem. It was just an idea. :)





-Do you mean this site? https://en.miui.com/download-333.html

-I think this site is better because here I can find all released updates not just one. Hash file is another thing missing on a Xiaomi website.

-I also have a TWRP backup, maybe I could try to restore a boot partition but I couldn't test the TWRP backup so I don't know if the backup is ok. And I don't want to risk bricking my phone.





1. You mean this line? fastboot %* oem lock || @ECHO "lock error" & exit /B 1

2. Isn't it enough to delete flash_all_lock.bat

3. I read somewhere(maybe here) that MiFlash is not always reliable, it's better to flash stock rom with a bat file(I don't know which one to run).
Yes that line
Extract that zip in fastboot folder and then run the bat file that you just edited
 
  • Like
Reactions: freekarol