Potato.ImageFlasher 1.0.1

A tiny library for bootloader flashing in VCOM_DOWNLOAD mode on Huawei phones.

Install-Package Potato.ImageFlasher -Version 1.0.1
dotnet add package Potato.ImageFlasher --version 1.0.1
<PackageReference Include="Potato.ImageFlasher" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Potato.ImageFlasher --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Potato.ImageFlasher

Build Status
NuGet Version
GPL-3.0

A tiny library for bootloader flashing in VCOM_DOWNLOAD mode on Huawei phones.

Based on @penn5's project — hisi-idt.

Example

var flasher = new ImageFlasher();

// Open serial port, for example COM3
flasher.Open("COM3");

// Write xloader image to 0x00020000
flasher.Write("xloader.img", 0x00020000);

// Write fastboot image to 0x1AC00000 with progress reporting
flasher.Write("fastboot.img", 0x1AC00000, x => Console.WriteLine($"Progress: {x}%"));

// Close serial port
flasher.Close();

License

GNU General Public License v3.0

Potato.ImageFlasher

Build Status
NuGet Version
GPL-3.0

A tiny library for bootloader flashing in VCOM_DOWNLOAD mode on Huawei phones.

Based on @penn5's project — hisi-idt.

Example

var flasher = new ImageFlasher();

// Open serial port, for example COM3
flasher.Open("COM3");

// Write xloader image to 0x00020000
flasher.Write("xloader.img", 0x00020000);

// Write fastboot image to 0x1AC00000 with progress reporting
flasher.Write("fastboot.img", 0x1AC00000, x => Console.WriteLine($"Progress: {x}%"));

// Close serial port
flasher.Close();

License

GNU General Public License v3.0

Release Notes

Switch to .NET Framework.

  • .NETFramework 4.7.2

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 280 6/20/2020
1.0.0 56 6/19/2020