Potato.ImageFlasher 1.0.1

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.
#r "nuget: Potato.ImageFlasher, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Potato.ImageFlasher as a Cake Addin
#addin nuget:?package=Potato.ImageFlasher&version=1.0.1

// Install Potato.ImageFlasher as a Cake Tool
#tool nuget:?package=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

  • .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 Downloads Last updated
1.0.1 488 6/20/2020
1.0.0 149 6/19/2020

Switch to .NET Framework.