Giter Club home page Giter Club logo

Comments (3)

wikibrikofix avatar wikibrikofix commented on May 29, 2024

I have a B535-232 half briked (mismatch firmware - webui, no administrator web pages) and the last option to repair it is to use this library to try a firmware update.
Can you write an examples to use the FileManager.upload?
I will test it and I will give you feedback about result.

from huawei-lte-api.

Salamek avatar Salamek commented on May 29, 2024

@wikibrikofix i was trying to upload tested FW to my router back then using API before i created this issue... i was unable to do so after like 30minutes of trying to get it working (there was some weird progress check system if i remember correctly) and i was pretty sure i was doing exactly the same stuff as web UI was doing... then i got annoyed with it and created this issue... (i had better things to do)...

Usage was something like this (my testing code is long time gone, i think there was some kind of pooling and stuff around):

with Connection('URL', username='admin', password='password') as connection:
    client = Client(connection)
    file_path = './my_fw.bin|zip'  # absolute? relative? does it matter?
    with open(file_path, 'rb') as f:
        print(client.file_manager.upload(f, file_path))

And i can't help you right now to get it working since my "i can brick this router" router is on other side of city in my workshop :-)

from huawei-lte-api.

wikibrikofix avatar wikibrikofix commented on May 29, 2024

@Salamek thanks for your help, I'm tryng to deploy some of the firmware I found on the web but they all throw an 100001 error.
I think I have the same problem as you with the firmware system check,
I'll let you know if I'm success.
Thank you for your work!

from huawei-lte-api.

Related Issues (20)

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.