GithubHelp home page GithubHelp logo

Comments (5)

QuadTriangle avatar QuadTriangle commented on July 17, 2024 2
  1. Remove the USB from the phone before running every command
  2. Run the command
  3. Connect the USB to the phone by pressing vol+
  4. Repeat

This fixes my problem: struct.error: unpack requires a buffer of 12 bytes


@bkerler Please use logging.FileHandler(logfilename, encoding='utf-8'). Windows gives encoding error without encoding parameter in FileHandler.

@bkerler Thank you for creating this awesome tool 🥰

from mtkclient.

bkerler avatar bkerler commented on July 17, 2024

This bug is known. It happens due to port timeouts. A patch that was fixing this issues was reverted recently as if failed on other devices.

from mtkclient.

rebainoor avatar rebainoor commented on July 17, 2024

Can you test libusb-win32 filtre with some CPU i Think will resolve usb timeout

from mtkclient.

bkerler avatar bkerler commented on July 17, 2024

Actually this shouldn't happen with the new version, can you confirm ? If it does persist, did you try a different usb port / hub ?

from mtkclient.

mohamadali-halwani avatar mohamadali-halwani commented on July 17, 2024
  1. Remove the USB from the phone before running every command

    1. Run the command

    2. Connect the USB to the phone by pressing vol+

    3. Repeat

This fixes my problem: struct.error: unpack requires a buffer of 12 bytes

@bkerler Please use logging.FileHandler(logfilename, encoding='utf-8'). Windows gives encoding error without encoding parameter in FileHandler.

@bkerler Thank you for creating this awesome tool 🥰

did that many times with no success, my phone is redmi 9a

from mtkclient.

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.