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
Last revisionBoth sides next revision
doc:appunti:hardware:xiaomi_mi_a1 [2020/09/23 16:48] – [August 2020 security update] niccolodoc:appunti:hardware:xiaomi_mi_a1 [2020/09/23 17:05] – [August 2020 security update] niccolo
Line 397: Line 397:
 The starting conditions were: The starting conditions were:
  
-  * A/B System Updates status: **Current Slot: ?** (checked via TWRP => Reboot screen).+  * A/B System Updates status: **Current Slot: ?** (may be it was **A**, because after installation it is **B**).
   * Bootloader is **unlocked**.   * Bootloader is **unlocked**.
-  * FIXME **Magisk** v20.1 and **TWRP** 3.3.0 installed? Into **which partition**? May be Magisk was set to hide?+  * **Magisk** and **TWRP** were installed, but may be they were hidden by accidentInfact 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.   * **System partition** was the stock one: root privileges were never used to tamper the **/system** hierarchy.
  
Line 409: Line 409:
   * adb pull /dev/block/mmcblk0p22 boot_a.img   * adb pull /dev/block/mmcblk0p22 boot_a.img
   * adb pull /dev/block/mmcblk0p23 boot_b.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).+  * TWRP ⇒ Install ⇒ **twrp-installer-3.3.0-2-tissot.zip**\\ Running boot image patcher on slot a and b.
   * system reboot   * system reboot
   * adb reboot bootloader   * adb reboot bootloader
   * fastboot boot twrp-3.3.0-2-tissot.img   * fastboot boot twrp-3.3.0-2-tissot.img
-  * TWRP ⇒ Install ⇒ Magisk-v20.3.zip (current boot slot: _b, unpacking, patching, repacking, flashing new boot image).+  * TWRP ⇒ Install ⇒ **Magisk-v20.3.zip**\\ Current boot slot: _b, unpacking, patching, repacking, flashing new boot image.
  
 ===== Web References ===== ===== Web References =====
doc/appunti/hardware/xiaomi_mi_a1.txt · Last modified: 2020/09/23 17:06 by niccolo