GNU General Public License v3.0

项目介绍

itz-termux-dev/MTKClient-NoRoot-Termux 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前获得 2 个 Star、0 次 Fork。

仓库全名
itz-termux-dev/MTKClient-NoRoot-Termux
开源许可证
GNU General Public License v3.0
Star 数
2

README 摘要

Mtkclient-NoRoot-Termux [!CAUTION] WARNING: This tool deals with low-level device partitions. Incorrect usage can permanently HARD BRICK your device. This tool is currently in BETA TESTING. I am not responsible for any damages, data loss, or bricked phones resulting from its use. Proceed at your own risk and with extreme caution. Always backup your boot and vbmeta partitions before making changes. ​Key Details ​Zero…

完整内容见 GitHub 原始 README 或本页 。

常见问题

MTKClient-NoRoot-Termux 用什么语言开发?

主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前有 2 个 Star。

MTKClient-NoRoot-Termux 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 MTKClient-NoRoot-Termux 的源码?

可以直接克隆仓库:git clone https://github.com/itz-termux-dev/MTKClient-NoRoot-Termux.git;安装与运行步骤见仓库 README。

MTKClient-NoRoot-Termux 最近还在维护吗?

仓库最近一次更新为 5月21日,当前没有未关闭的 Issue;Star 数为 2,可作为社区活跃度的参考。

关于

The first fully functional MTKClient for Termux that works WITHOUT ROOT. Optimized 'Sniper' script for catching BROM/Preloader VCOM ports on unrooted Android devices via OTG.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
4
价值分
1
活跃状态
活跃

README

Mtkclient-NoRoot-Termux

Caution 注意

WARNING: This tool deals with low-level device partitions. Incorrect usage can permanently HARD BRICK your device. This tool is currently in BETA TESTING. I am not responsible for any damages, data loss, or bricked phones resulting from its use. Proceed at your own risk and with extreme caution. Always backup your boot and vbmeta partitions before making changes.

​Key Details

​Zero Root Required: Unlike the original mtkclient, this version is designed to run in a standard Termux environment without root access. ​Optimized for Mobile: All GUI, Windows-specific, and non-essential files have been stripped to keep the script small and fast. ​Enhanced Connection: Features a custom polling loop that looks for USB devices thousands of times per second to overcome Android’s single-look limitation.

How to use

  1. First down the tool feom the steps below

  2. ​Then run the command you want and press enter

3.​After the text “Waiting for device connection…” Appears, completely power off your target phone

  1. Then hold booth volume buttons of your target phone, and by holdong then connect it to the host phone

  2. If you are using a otg, the otg should be connected to the host phone, not the target phone, amd if its a type c to type c cable, any sode of the cable can be connect to the phones

  3. ​Then quickly press OK on the Termux API popup as soon as it appears, as you only have ~3 seconds befor the target phone times out and reboots.

  4. ​And if your timing is perfect, Then the scripts will handle the rest.

  5. The flashing will go on for atleast 2 to 5 minutes

  6. After it finishes, you can unplug and reboot the phone safely

Guid To Install The Tool 👇👇

First install Termux and Termux:api from Fdroid or GitHub, dont use termux from playstore, that is a outdated version and it doesn’t have the nessary pakages for the tool to run

​pkg update && pkg upgrade -y
pkg install python python3 git termux-api libusb clang binutils -y
python3 -m venv ~/.venv
git clone https://github.com/sameenataj427-collab/MTKClient-NoRoot-Termux
cd MTKClient-NoRoot-Termux
. ~/.venv/bin/activate
pip install -r requirements.txt
pip install .

Common Commands

Dump Boot and VBMeta

​python3 mtk.py r boot,vbmeta boot.img,vbmeta.img

Unlock Bootloader

​python3 mtk.py e metadata,userdata,md_udc
python3 mtk.py daa seccfg unlock

Lock Bootloader

​python3 mtk.py oem lock

Flash Boot (for rooting)

​python3 mtk.py w boot patched_boot.img

Read GPT Table

​python3 mtk.py printgpt

Erase Userdata (Factory Reset)

​python3 mtk.py e userdata

​Flags that can be used in command and help to make work easy

​There are two types of flags that can be used; both have different formats to be used in: ​

First type:

​Format: python3 mtk.py [command] --[flag]

  1. ​–force: Bypasses signature or size mismatches to force a flash.

  2. ​–reset: Commands the device to reboot normally once the process is complete.

  3. ​–skip [partition]: Tells the script to ignore a specific partition during a bulk read/write.

Second type:

​Format: python3 mtk.py --[flag] [command]

​1. --stage2: Forces the SLA/DAA bypass payload for newer, secured MediaTek chipsets.

  1. ​–debugmode: Provides a full log of the connection process to find where it is failing.

THESE ARE ONLY THE MOST USED FLAGS IN BOOTH TYPES, I CAN’T ADD ALL OF THEM, IF I DID THE REPOSITORY WILL BE 200 TO 300 LINS LONG AND IMPOSSIBLE TO READ

​For suggestions and bug reports contact [email protected]. Thank you.

评论

暂无评论