Coder Social home page Coder Social logo

kryndex / hwfw-tool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leexiaolan/hwfw-tool

0.0 1.0 0.0 972 KB

Huawei ONT HG8120C upgrade file repack tool

License: GNU Affero General Public License v3.0

Python 75.58% Makefile 3.70% C 16.72% Shell 3.99%

hwfw-tool's Introduction

Huawei ONT HG8120C upgrade file repack tool

Tools for working with Huawei ONT HG8120C firmware upgrade file. It can unpack upgrade file and repack up after your modification. The repacking process will recalculate some checksums, after that, you can fire up on your device safely. It maybe also works for other devices in HG8xxx serials, but not tested.

Usage:

  1. ./hwfw unpack -r fw test/upgrade.bin

     saving   /var/UpgradeCheck.xml(1069)...
     saving   /mnt/jffs2/equipment.tar.gz(84238)...
     saving   /mnt/jffs2/ProductLineMode(1)...
     saving   /mnt/jffs2/TelnetEnable(1)...
     saving x /tmp/duit9rr.sh(4801)...
     saving   /var/efs(68)...
    
  2. Modifying files interest you under the fw directory.

     Usually the file marked with an `x`, it will be executed with `root` permission.
    
  3. ./hwfw pack -r fw upgrade-mod.bin

  4. Happy upgrading or pwning.

About the test/upgrade.bin

This is not a real firmware upgrade file, it just used to enable maintenance. So you are safe to use it without worry of bricking your device, unless your modification does.

hwfw-tool's People

Contributors

leexiaolan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.