C# MTK Client Source Code Positioning
- Product type: Commercial C# MTK client source code package
- Language: C# / .NET
- Platform: Windows
- Protocols: LEGACY, XFLASH, XML / MTK V6
- Audience: Developers, researchers and software owners
SharpMTKClient is not only a compiled end-user repair tool. It is a C# MTK client source code foundation for building, branding, customizing and extending private MTK service software.
Protocol Support
- LEGACY – Classic DA-based MediaTek workflow for supported legacy devices.
- XFLASH – Modern DA workflow with native flash and partition operations where supported.
- XML / MTK V6 – XML command workflow for supported MTK V6 firmware packages and device modes.
Protocol support depends on chipset, selected Download Agent, boot mode, storage type, firmware package and target operation.
C# MTK Client Source Code Features
- Auto-detect MediaTek devices by VID / PID.
- USB plug / unplug event handling without busy waiting loops.
- BROM and Preloader communication workflows.
- Device type support for LEGACY, XFLASH and XML workflows.
- Support paths for EMMC, UFS and NAND where DA and protocol allow it.
- Auto SLA / DAA handling paths where supported.
- Preloader crash / boot preparation paths where supported.
- MTKV5 and MTKV6 firmware flashing.
- Scatter firmware workflow.
- MTK V6 flash.xml workflow.
- Native XML firmware write paths: download, firmware upgrade and download-only.
- Flash partition by name for XML and XFLASH workflows.
- Flash raw firmware.
- Raw and sparse image handling from device or file.
- Read Oxygen Forensics Detective dump paths where supported.
- Read GPT / partition table.
- Flash GPT.
- Rebuild GPT.
- Dump / backup partitions.
- Read selected partitions.
- Write selected partitions.
- Erase selected partitions by name or sector.
- Read preloader.
- Flash preloader.
- Safe format workflow.
- Manual format workflow.
- FRP erase / reset workflow.
- Backup, write and erase NV partitions.
- Bootloader unlock and relock paths.
- Permanent bootloader unlock paths where supported.
- Fix read / orange state after bootloader unlock.
- RPMB read, write and erase paths.
- RPMB key read paths where supported.
- Hardware key read paths.
- DA parser and Preloader parser.
- Device information and Android OS information reading.
- Android build.prop parser from supported partitions.
File-System and Partition Explorer Features
- Partition explorer for EXT4, EROFS and F2FS readable partitions.
- Native C# EXT4 stream reader and writer paths.
- Mount EXT4 partitions and list files / directories with details such as modified date, UID and GID.
- Logical partition and super.img metadata handling.
- Browse EXT4 items from logical partitions inside super.img.
- Extract and dump files or directories from EXT4 partitions.
- Replace files inside EXT4 partitions where supported.
- Delete files from EXT4 partitions where supported.
- Add new files to EXT4 partitions where supported.
- Rename readable partition file items where supported.
- Copy readable partition files to local storage.
- EROFS detection and read paths.
- F2FS detection and read paths.
- Android information extraction from supported system / super partitions.
Advanced Patch and Service Features
- Patch certificate workflows.
- IMEI information read from device paths such as nvdata and ld0b.
- Decrypt NV items.
- IMEI repair for IMEI1 / IMEI2 in FlashMode where supported.
- IMEI repair workflow areas for selected Vivo, Xiaomi, OPPO, Infinix, Tecno and Itel targets.
- Universal and Samsung MT67xx IMEI-related paths where supported.
- Remove Payjoy.
- Payjoy Remove through selected oeminfo paths.
- IT Admin / Network / Payjoy Unlock.
- Reset Huawei ID.
- Reset OPPO ID.
- Disable Mi Account through supported system, APK and hosts methods.
- Mi Account + Global through selected cust / opcust paths.
- Mi Account Remove + Convert Global V2.
- OTA Remove for OPPO, Realme and OnePlus.
- Xiaomi OTA Remove.
- MDM + OTA Remove.
- MDM Remove.
- MDM / Walock Remove for Walton.
- SIM Lock / MDM Remove for Nothing / CMF.
- Xiaomi anti-relock Modem Patch.
- Persist Patch.
- Demo Remove.
- Restore Vbmeta for Security ON paths.
- Vbmeta Patch V1 / V2 / V3 for Security OFF paths.
- Fix no efuse state.
- Fix DM corrupted.
- Remove security plugin.
Security and Research-Oriented Paths
- SLA / DAA handling paths where supported.
- Kamakiri workflow paths where supported.
- HeapBait workflow paths where supported.
- Carbonara workflow paths where supported.
- New SLA key handling for selected Motorola, Xiaomi and AOT paths.
- Selected DA + exploit paths for supported Infinix chipsets.
- Vbmeta / dm-verity patch paths where supported.
- Brand and model-specific workflow examples where included by package scope.