doc:appunti:hardware:xiaomi_mi_a1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:hardware:xiaomi_mi_a1 [2020/03/25 15:47] – [March 2020 security update] niccolo | doc:appunti:hardware:xiaomi_mi_a1 [2020/03/26 08:58] – [March 2020 security update] niccolo | ||
---|---|---|---|
Line 347: | Line 347: | ||
</ | </ | ||
- | **I got a problem** during this step: may be the **boot_b.img** was not the current one, but one of two versions before! | + | I got **a problem** during this step: may be the **boot_b.img** was saved from version **9.6.8.0**, |
< | < | ||
Line 356: | Line 356: | ||
</ | </ | ||
- | I proceeded with the standard | + | I proceeded with the standard |
+ | |||
+ | To complete the upgrade: | ||
+ | |||
+ | - Copy **twrp-installer-3.3.0-2-tissot.zip** and **Magisk-v20.1.zip** into the phone internal storage. | ||
+ | - Backup the stock boot partitions. | ||
+ | - Reinstall TWRP. | ||
+ | - Reinstall Magisk. | ||
+ | - Backup the rooted boot partitions. | ||
+ | |||
+ | First of all **run the TWRP** recovery // | ||
+ | |||
+ | < | ||
+ | adb reboot bootloader | ||
+ | fastboot boot twrp-3.3.0-2-tissot.img | ||
+ | </ | ||
+ | |||
+ | From //TWRP// => //Reboot// menu, I verified that the **Current Slot** is **A**: it is normal that the upgrade procedure swaps the boot partition during the upgrade. Using ADB from the connected PC, I backed up the stock boot images: | ||
+ | |||
+ | < | ||
+ | adb pull / | ||
+ | adb pull / | ||
+ | </ | ||
+ | |||
+ | Now I installed the TWRP recovery into the boot partitions: from //TWRP// => //Install// => **twrp-installer-3.3.0-2-tissot.zip**. The installation warns about //Running boot image patcher on slot// A and B, and spit some harmless warnings about the **/vendor** mounting point. It is necessary to install TWRP before Magisk, otherwise TWRP will unroot the phone during its install. | ||
+ | |||
+ | After a system reboot, and another boot into Recovery, I did //TWRP// => //Install// => **Magisk-v20.1.zip**. This will install //root// on the phone(the **su** program). Once again I got some harmless warnings about the /vendor mounting point. | ||
+ | |||
+ | Finally I repeated the procedure to **backup** the patched **boot_a** and **boot_b** partitions. | ||
+ | |||
+ | **NOTICE**: the ADB client required to perform the '' | ||
+ | |||
+ | Once rebooted the phone into normal system, I installed the root permissions manager: **MagiskManager-v7.5.1.apk**. | ||
===== Web References ===== | ===== Web References ===== | ||
doc/appunti/hardware/xiaomi_mi_a1.txt · Last modified: 2020/09/23 17:06 by niccolo