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
Next revisionBoth sides next revision
doc:appunti:hardware:xiaomi_mi_a1 [2020/03/25 18:05] – [March 2020 security update] niccolodoc:appunti:hardware:xiaomi_mi_a1 [2020/03/26 08:58] – [March 2020 security update] niccolo
Line 347: Line 347:
 </code> </code>
  
-**I got a problem** during this step: may be the **boot_b.img** was from version **9.6.8.0**, not the one from the currently installed **V10.0.14.0**. Luckily the only negative effect was that **the WiFi was not working**. This is a **logcat** excerpt:+I got **a problem** during this step: may be the **boot_b.img** was saved from version **9.6.8.0**, not from the currently installed **10.0.14.0**. Luckily enough, the only negative effect was that **the WiFi was not working**. This is a **logcat** excerpt:
  
 <code> <code>
Line 360: Line 360:
 To complete the upgrade: To complete the upgrade:
  
-  - Backup the stock boot partitions +  - Copy **twrp-installer-3.3.0-2-tissot.zip** and **Magisk-v20.1.zip** into the phone internal storage. 
-  - Reinstall TWRP +  - Backup the stock boot partitions. 
-  - Reinstall Magisk +  - Reinstall TWRP. 
-  - Backup the rooted boot partitions+  - Reinstall Magisk. 
 +  - Backup the rooted boot partitions.
  
-First of all **boot into TWRP** without installing it:+First of all **run the TWRP** recovery //fastbooting// the image directly from the PC hard disk (i.e. **without installing it into the phone**):
  
 <code> <code>
Line 372: Line 373:
 </code> </code>
  
-Into //TWRP// => //Reboot// menu I verified that the **Current SlotA**. It is normal that the upgrade procedure swaps the boot partition during the upgrade. Then i backed up the stock images from a PC connected via ADB:+From //TWRP// => //Reboot// menuI 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:
  
 <code> <code>
Line 379: Line 380:
 </code> </code>
  
-Now I installed the TWRP recovery into the boot partitions: //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.+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 again a boot into Recovery I performed //TWRP// => //Install// => **Magisk-v20.1.zip**. Once again some harmless warnings about the /vendor mounting point.+After a system reboot, and another boot into Recoverydid //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. Finally I repeated the procedure to **backup** the patched **boot_a** and **boot_b** partitions.
  
 **NOTICE**: the ADB client required to perform the ''adb pull'' command is active when I boot TWRP using ''fastboot boot twrp-3.3.0-2-tissot.img''. If instead I boot TWRP from the phone, the ADB client is not active. **NOTICE**: the ADB client required to perform the ''adb pull'' command is active when I boot TWRP using ''fastboot boot twrp-3.3.0-2-tissot.img''. If instead I boot TWRP from the phone, the ADB client is not active.
 +
 +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