Comments (3)
Can you rerun using --debugmode and upload the log ?
from mtkclient.
I noticed partition boot doesn't exist on my device and also boot_a, but partition boot_b. I'm using python 3, So when writing it, I did: python3 mtk w boot_b boot.img and went successfully. It does return with an error message on Windows that did partition doesn't exist, but on Linux/LiveDvd, it returns with USB Overflow. Thanks for a great work.
from mtkclient.
Can you rerun using --debugmode and upload the log ?
$ mtk --debugmode
MTK Flash/Exploit Client V1.52 (c) B.Kerler 2018-2021
usage: mtk [-h]
{printgpt,gpt,r,rl,rf,rs,ro,w,wf,wl,wo,e,es,footer,reset,dumpbrom,dumppreloader,payload,crash,brute,gettargetconfig,peek,stage,plstage,xflash}
...
mtk: error: unrecognized arguments: --debugmode
Two months after the last release
Please make a new release so downstream packages can update. It's something like 2 years old
MTK Flash/Exploit Client V1.6.1 (c) B.Kerler 2018-2023
usage: mtk [-h]
{script,printgpt,gpt,r,rl,rf,rs,ro,w,wf,wl,wo,e,es,ess,footer,reset,dumpbrom,dumpsram,dumppreloader,payload,crash,brute,gettargetconfig,peek,stage,plstage,logs,meta,da}
...
mtk: error: unrecognized arguments: --debugmode
Even the new one...
$ grep --text --only-matching debugmode
/usr/lib/python3.10/site-packages/mtkclient/config/mtk_config.py:debugmode
/usr/lib/python3.10/site-packages/mtkclient/config/__pycache__/mtk_config.cpython-310.pyc:debugmode
/usr/lib/python3.10/site-packages/mtkclient/config/__pycache__/mtk_config.cpython-310.opt-1.pyc:debugmode
/usr/lib/python3.10/site-packages/mtkclient/Library/mtk_main.py:debugmode
/usr/lib/python3.10/site-packages/mtkclient/Library/mtk_main.py:debugmode
/usr/lib/python3.10/site-packages/mtkclient/Library/__pycache__/mtk_main.cpython-310.opt-1.pyc:debugmode
/usr/lib/python3.10/site-packages/mtkclient/Library/__pycache__/mtk_main.cpython-310.pyc:debugmode
/usr/lib/python3.10/site-packages/mtkclient-1.9.dist-info/METADATA:debugmode
One (destructive) workaround is to sed -i 's/INFO/DEBUG/g' mtkclient/*
then "recompile"
from mtkclient.
Related Issues (20)
- MT6789 stuck on Jumping to 0x200000 HOT 6
- MTKClient log stuck at "None" HOT 1
- Please support for new cpu (mtk6080) HOT 5
- Unbrick Redmi Note 13 Pro+ 5G HOT 2
- Request to add support for Linux-arm64 HOT 7
- [MT6797] Latest mtkclient cannot dump preloader, but the old version can HOT 6
- Cannot send DA on Redmi Note 13 [MT6833], though connected HOT 6
- [MT6797] Failed to reconnect to stage2
- libfuse python library never installs HOT 3
- crash on windows 11 HOT 1
- Cannot unlock bootloader on xiaomi devices. Chipset Dimensity 1080 HOT 2
- Handshake failed on MT6768, Tecno Camon 20
- Device wouldn't connect (MT6227)
- python mtk plstage --preloader=preloader_patched.bin ........... Port - Device detected  lpayload... PLTools - Successfully sent payload: C:\Users\ADMINPC\Desktop\amazonHD\mtkclient\mtkclient\payloads\mt6771_payload.bin Main - Connected to device, loading Main - Using custom preloader : preloader_patched.bin Traceback (most recent call last): File "C:\Users\ADMINPC\Desktop\amazonHD\mtkclient\mtk", line 943, in <module> mtk = Main(args).run(parser) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ADMINPC\Desktop\amazonHD\mtkclient\mtkclient\Library\mtk_main.py", line 512, in run mtk.preloader.setreg_disablewatchdogtimer(mtk.config.hwcode) TypeError: Preloader.setreg_disablewatchdogtimer() missing 1 required positional argument: 'hwver' C:\Users\ADMINPC\Desktop\amazonHD\mtkclient> HOT 3
- Xiaomi RPMB Unable to write or erase
- Download MediaTek DA File for all models (all versions) HOT 1
- I would like to know why it changed back from #1021? It makes my device error again HOT 1
- TCL30XL - DAA_SIG_VERIFY_FAILED Unable to upload DA HOT 3
- [MT6895(Dimensity 8100)] No valid da loader found HOT 9
- A lot people asking for Bypassing MT6789(Helio G99)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtkclient.