Potato.ImageFlasher 1.0.1

dotnet add package Potato.ImageFlasher --version 1.0.1
NuGet\Install-Package Potato.ImageFlasher -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#r "nuget: Potato.ImageFlasher, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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

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

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .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 902 6/20/2020
1.0.0 396 6/19/2020

Switch to .NET Framework.