26-01-2018, 08:34 AM
If you wish to root your Mediatek Android phone, we'd dropped a guide on rooting using Magisk and stock boot.img at https://www.hovatek.com/forum/thread-21427.html , no custom recovery is required.
Sequel to our Mediatek auto Philz recovery porter and Spreadtrum auto TWRP recovery porter, we've created this tool to make it very easy to port TWRP recovery for your Mediatek Android device.
![[Image: Mediatek-Auto-TWRP-recovery-porter.png]](https://www.hovatek.com/blog/bpyeki/uploads/2018/01/Mediatek-Auto-TWRP-recovery-porter.png)
Important Notice
- If you have a device running android 9 or 10, you must disable dm_verity by flashing an empty vbmeta before flashing TWRP. See the update section @ https://www.hovatek.com/blog/dm_verity-i...-bootloop/
- If while you're porting TWRP and you encounter the error message "DM_Verity found! You'll need to patch boot.img", then before flashing TWRP, ensure to see https://www.hovatek.com/blog/dm_verity-i...-bootloop/
- If TWRP requests for password to decrypt data, try the fixes listed @ https://www.hovatek.com/forum/thread-30160.html
- If the ported TWRP doesn't work (ie the phone simply boots back to homescreen) , then ensure you're using stock recovery from your current rom build also try both versions of the TWRP porting tool; one might work for you where the other one fails
- If you have an android 8.x phone and the ported TWRP from your android version doesn't seem to boot on your phone, then try recovery.img from other android 8.x versions. e.g you have an android 8.1, try both 8.0 and 8.1G if 8.1 fails
- If the ported TWRP has disabled touch or touch doesn't work then see the alternatives you could consider @ https://www.hovatek.com/forum/thread-24209.html
- If TWRP has ADB and MTP disabled, then see https://www.hovatek.com/forum/thread-32715.html
- If TWRP has touch inverted at 180 degrees, then see https://www.hovatek.com/forum/thread-38100.html
Requirements
- Stock recovery.img (extracted from the firmware or by dumping the phone's ROM using Miracle Box, SP Flash tool etc )
- Download MTK Auto TWRP recovery porter by Team Hovatek from the link at the bottom of this post
- Windows PC
How to port TWRP recovery using Team Hovatek's MTK Auto TWRP recovery porter
See the video tutorial below or at https://youtu.be/GRb7JyHh9V8
Non-GUI version
See the video tutorial below or at https://youtu.be/EeBFD7D5tQA
V1.4 GUI version
- Extract the MTK Auto TWRP recovery porter compressed file
- Copy the stock recovery.img into the stock-recovery folder; if you have recovery-sign.img then ensure to rename it to recovery.img
- Double-click Auto TWRP Recovery Porter.exe
- Tap Enter to confirm that you've copied your stock recovery.img into the stock-recovery folder
- Enter the option for your Android version (5 for Lollipop, 6 for Marshmallow, 7 for Nougat, 8 and 8.1 for Oreo & 8.1g for Oreo-Go) and tap Enter
- Wait while our tool ports the TWRP recovery
- You'll find your ported TWRP recovery in the output folder.
- Flash the recovery image to your device
Changelog
Code:
# Changelog
All notable changes to this project will be documented here.
## 2022-02-14 Hovatek v1.9
- TWRP v3.6.0 for Kitkat to Oreo
- Upgraded AIK libraries
## 2021-09-17 Hovatek v1.8a
- Downgraded AIK libraries back to v3.7
- Minor changes
## 2021-09-11 Hovatek v1.8
- Updated support for Q (10.0) & now ports TWRP 3.5.0-10
- Updated AIK libraries to latest ATM i.e v3.8
## 2020-09-21 Hovatek v1.7
- Added support for Q (10.0) & ports TWRP 3.4.0.0
- Added support for enabling adb & mtp in both android 9 and 10 TWRP ports
## 2020-03-09 Hovatek v1.6
- Added support for Pie (9.0) with Kernel version 4.4.146 & ports TWRP 3.3.1-0
- Updated AIK libraries to latest ATM i.e v3.6
- Removed DM_verity checker (Devices shipped with android 9 all have dm_verity so no point checking)
- Minor changes
## 2019-09-13 Hovatek v1.5
- Added support for Pie (9.0) with Kernel version 4.9.117 & ports TWRP 3.3.1-0
- Removed support for Oreo, Nougat, Marshmallow & Lollipop
- Updated AIK libraries to latest ATM i.e v3.5
## 2019-03-02 Hovatek v1.4
- Added support for signed recovery images
- Minor fixes
## 2018-09-10 Hovatek v1.3
- GUI version
## 2018-06-21 Hovatek V1.2
- Added Dm_Verity alert
- Added support for Oreo 8.0, 8.1 & 8.1 (Go Edition)
## 2018-04-25 Hovatek V1.1
- Added Android 8 Oreo support
- Ports TWRP v3.2.1.0 (latest at the moment)
Downloads
- V1.0 (Stable with support for android 5, 6 & 7) @ https://mega.nz/#!wewWWTTL!VPxuDnf8zPCYq...fPiUwwoly8
- V1.2 (Beta Testing with support for android 5, 6, 7, 8.0, 8.1 & 8.1go) @ https://mega.nz/#!IWRj2IqC!Ju3sq2iy0sYXe...NkXYV45AQs
- V1.4 GUI (Beta Testing with support for android versions same as v1.2 above) @ https://mega.nz/#!UTBFyS6Y!LrvJrJ7__HBn0...1K5fm84YyA
- V1.8a GUI (Pie and Beta Testing Q only) @ https://mega.nz/file/kXhSQJ7S#45keH30cjy...3LblQazVxY
- V1.9 GUI (Kitkat to Oreo TWRP 3.6.0) @ https://mega.nz/file/hPwiDJDQ#wIVdv1-yQB...wNci0YmGB0
Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.