doc:appunti:hardware:xiaomi_redmi_6
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_redmi_6 [2019/05/19 10:07] – [2nd method: success] niccolo | doc:appunti:hardware:xiaomi_redmi_6 [2019/05/21 09:29] – [Xiaomi Redmi 6 Android Phone] niccolo | ||
---|---|---|---|
Line 6: | Line 6: | ||
{{: | {{: | ||
{{: | {{: | ||
+ | |||
+ | A brief review focused on **obtaining root privileges** and software de-bloating. | ||
+ | |||
+ | | {{: | ||
+ | | {{: | ||
^ Model | Redmi 6 | | ^ Model | Redmi 6 | | ||
Line 101: | Line 106: | ||
When you run the TWRP Recovery for the first time, you can install **Magisk**. It provides the **su** program, the actual super-user command, and the **Magisk Manager**, the app which manages root permissions. We downloaded the **Magisk-v19.1.zip** file from the **[[https:// | When you run the TWRP Recovery for the first time, you can install **Magisk**. It provides the **su** program, the actual super-user command, and the **Magisk Manager**, the app which manages root permissions. We downloaded the **Magisk-v19.1.zip** file from the **[[https:// | ||
+ | **NOTICE**: Does not know if it matters: **I don't have cryptography enabled on the phone**. I think that this will easy any action performed from recovery. From phone settings: **Impostazioni** => // | ||
==== 1st method: failed ==== | ==== 1st method: failed ==== | ||
Line 134: | Line 140: | ||
- Start **TWRP** as seen above. | - Start **TWRP** as seen above. | ||
- Mount **system** and **vendor** partitions. From TWRP //Main menu//, //Mount//, tap //System// and //Vendor//. Then tap back. | - Mount **system** and **vendor** partitions. From TWRP //Main menu//, //Mount//, tap //System// and //Vendor//. Then tap back. | ||
+ | - Execute **Install Root**. From TWRP //Main Menu//, // | ||
- Execute **Sign Boot**. From TWRP //Main Menu//, // | - Execute **Sign Boot**. From TWRP //Main Menu//, // | ||
- | - Install | + | - Optional: install |
- **Reboot to System**. | - **Reboot to System**. | ||
+ | |||
+ | **NOTICE**: The LR.Team TWRP 3.3.0-0423 image **contains Magisk 19.0** (unpack the img file and extract the ramdisk content, you will find a ''/ | ||
+ | |||
+ | **NOTICE**: Some recipes on the net say to flash also **LazyFlash** or some other **DM Verity Disabler** tool. It seems that it is not longer require with Magisk 19. Infact, during Magisk installation, | ||
+ | |||
+ | **NOTICE**: It seems that flashing the **para** partition is a non-permanent action. If you want to boot into another recovery from the fastboot mode, you have to flash it again witht the dummy **misc.bin**. | ||
FIXME Sometimes the **/ | FIXME Sometimes the **/ | ||
Line 142: | Line 155: | ||
==== 3rd method: failed ==== | ==== 3rd method: failed ==== | ||
- | Wishing to have the official TWRP image instead of an unofficial one, I used the previous method **substituting the LR.Team image** with the **official one** from TWRP (twrp-3.3.0-0-cereus.img). The TWRP official image were flashed, but the result was un **unbootable system!** Even booting in **fastboot** or **recovery** were problematic, | + | Wishing to have the official TWRP image instead of an unofficial one, I used the previous method **substituting the LR.Team image** with the **official one** from TWRP (twrp-3.3.0-0-cereus.img). The TWRP official image were flashed, but the result was un **unbootable system!** Even booting in **fastboot** or **recovery** were problematic, |
After several blind tries, **the TWRP screen eventually appeared**! Perhaps the right keys sequence was: power off, VolumeUp + Power, wait one minute, then VolumeDown + Power). Fromt the TWRP menu I fortunately booted in fastboot mode and re-flashed LR.Team image. | After several blind tries, **the TWRP screen eventually appeared**! Perhaps the right keys sequence was: power off, VolumeUp + Power, wait one minute, then VolumeDown + Power). Fromt the TWRP menu I fortunately booted in fastboot mode and re-flashed LR.Team image. | ||
Line 295: | Line 308: | ||
* **[[https:// | * **[[https:// | ||
* **[[https:// | * **[[https:// | ||
- | * **[[https:// | + | * **[[https:// |
* **[[https:// | * **[[https:// | ||
* **Install root permissions** | * **Install root permissions** |
doc/appunti/hardware/xiaomi_redmi_6.txt · Last modified: 2019/08/02 18:36 by niccolo