mosya234 / mtk_imei

A script that recreates NVRAM partition and makes private TWRP flashable for your phone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MTK IMEI patcher for Redmi Note 8 Pro

A script that recreates NVRAM partition and makes private TWRP flashable for your phone

Usage

  1. Fill in your values in config.txt and run mtk_imei.cmd. Flashable imei_repair.zip will be generated in out folder.
  2. Backup NVRAM and NVDATA partitions.
  3. Flash imei_repair.zip in TWRP and reboot your phone.

Uninstall

  1. Restore NVRAM and NVDATA partitions from backup.
  2. Mount Vendor partition and delete /vendor/etc/init/md_patcher.rc and /vendor/lib/modules/md_patcher.ko files.

Notes

Flashable supports all 4.14 kernels (both stock and OSS). You have to flash it every time you wipe your Vendor partition. Includes prebuilt md_patcher.ko kernel module. Kernel maintainers should not include it in their kernels because it works as external loadable module only.

Prerequisites

Visual C++ Redistributable for Visual Studio 2015 (x64)

About

A script that recreates NVRAM partition and makes private TWRP flashable for your phone

License:GNU General Public License v3.0


Languages

Language:PHP 98.5%Language:Batchfile 1.0%Language:Shell 0.5%