User Tools

Site Tools


doc:appunti:hardware:xiaomi_mi_a1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:hardware:xiaomi_mi_a1 [2020/09/23 16:09] – [August 2020 security update] niccolodoc:appunti:hardware:xiaomi_mi_a1 [2020/09/23 17:06] (current) – [August 2020 security update] niccolo
Line 393: Line 393:
 ===== August 2020 security update ===== ===== August 2020 security update =====
  
-This is a new update from Xiaomi, still featuring **AndroidOne v.9** relase, build **PKQ1.180917.001.V10.0.24.0.PDHMIXM**.+This is a new update from Xiaomi, still featuring **AndroidOne v.9** relase, build **PKQ1.180917.001.V10.0.24.0.PDHMIXM**. The upgrade was downloaded nightly over the WiFi. It seems impossibile to prevent such automatic download: I did not find any settings to prevent automatic upgrade download. After downloading, the phone asks to reboot to complete the upgrade. 
 + 
 +The starting conditions were: 
 + 
 +  * A/B System Updates status: **Current Slot: ?** (may be it was **A**, because after installation it is **B**). 
 +  * Bootloader is **unlocked**. 
 +  * **Magisk** and **TWRP** were installed, but may be they were hidden by accident. Infact the installation of the upgrade went OK after a reboot, whereas it should fail because the boot sector is tampered with **Magisk su**. 
 +  * **System partition** was the stock one: root privileges were never used to tamper the **/system** hierarchy. 
 + 
 +After the upgrade, I did the following to get **root again**: 
 + 
 +  * adb reboot bootloader 
 +  * fastboot boot twrp-3.3.0-2-tissot.img 
 +  * Verified from TWRP => Reboot: **Current slot: B** 
 +  * adb pull /dev/block/mmcblk0p22 boot_a.img 
 +  * adb pull /dev/block/mmcblk0p23 boot_b.img 
 +  * TWRP ⇒ Install ⇒ **twrp-installer-3.3.0-2-tissot.zip**\\ Running boot image patcher on slot a and b. 
 +  * system reboot 
 +  * adb reboot bootloader 
 +  * fastboot boot twrp-3.3.0-2-tissot.img 
 +  * TWRP ⇒ Install ⇒ **Magisk-v20.4.zip**\\ Current boot slot: _b, unpacking, patching, repacking, flashing new boot image. 
 ===== Web References ===== ===== Web References =====
  
doc/appunti/hardware/xiaomi_mi_a1.1600870145.txt.gz · Last modified: 2020/09/23 16:09 by niccolo