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
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 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Potato.ImageFlasher
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
Product | Versions 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.
Switch to .NET Framework.