Comments (6)
release
You have any solution sent meπ
from mtkclient.
Wait for the official release.
Ok thank sir
from mtkclient.
Add this line parser_seccfg = subparsers.add_parser("seccfg", help="Unlocking seccfg")
Run this command after stage 1 C:\mtkclient-main>py stage2 seccfg
C:\mtkclient-main>py stage2 seccfg
Capstone library is missing (optional).
Keystone library is missing (optional).
sej - HACC init
sej - HACC run
sej - HACC terminate
Traceback (most recent call last):
File "C:\mtkclient-main\stage2", line 616, in <module>
main()
File "C:\mtkclient-main\stage2", line 606, in main
data = seccfg_data + enc_hash
TypeError: can't concat str to bytes
C:\mtkclient-main>
from mtkclient.
C:\mtk>py mtk stage
Capstone library is missing (optional).
Keystone library is missing (optional).
Preloader - Status: Waiting for PreLoader VCOM, please connect mobile
Port - Device detected :)
Preloader - CPU: MT6765(Helio P35/G35)
Preloader - HW version: 0x0
Preloader - WDT: 0x10007000
Preloader - Uart: 0x11002000
Preloader - Brom payload addr: 0x100a00
Preloader - DA payload addr: 0x201000
Preloader - CQ_DMA addr: 0x10212000
Preloader - Var1: 0x25
Preloader - HW subcode: 0x8a00
Preloader - HW Ver: 0xca00
Preloader - SW Ver: 0x0
Preloader - Disabling Watchdog...
Preloader - HW code: 0x766
Preloader - Target config: 0xe7
Preloader - SBC enabled: True
Preloader - SLA enabled: True
Preloader - DAA enabled: True
Preloader - SWJTAG enabled: True
Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False
Preloader - Root cert required: False
Preloader - Mem read auth: True
Preloader - Mem write auth: True
Preloader - Cmd 0xC8 blocked: True
Preloader - ME_ID: B4FD7FAA01E367EAF68C1B76393EF17D
Preloader - SOC_ID: 08F3DD3663A645FDD0FDEDF058241653134C146F32C21D89993F57619BF27C96
Main - Uploading stage 1
PLTools - Loading payload from C:\mtk\mtkclient\payloads\generic_stage1_payload.bin, 0x3ec bytes
PLTools - Kamakiri / DA Run
Kamakiri - Trying kamakiri2..
Kamakiri - Done sending payload...
PLTools - Successfully sent payload: C:\mtk\mtkclient\payloads\generic_stage1_payload.bin
Main - Successfully uploaded stage 1, sending stage 2
Main - Done sending stage2, size 0x4000.
Main - Done jumping stage2 at 00201000
Main - Successfully loaded stage2
C:\mtk>py stage2 seccfg
Capstone library is missing (optional).
Keystone library is missing (optional).
Traceback (most recent call last):
File "C:\mtk\stage2", line 637, in
main()
File "C:\mtk\stage2", line 627, in main
data = seccfg_data + enc_hash
TypeError: can't concat list to bytes
C:\mtk>
from mtkclient.
I also found that in win7 (Python3.8.7 version), the stage2 command seems to be invalid!
C:\mtkclient-main>python stage2 seccfg
Traceback (most recent call last):
File "stage2", line 19, in
class Stage2(metaclass=LogBase):
File "stage2", line 354, in Stage2
def keys(self, data=b"", otp=None, mode="dxcc") -> tuple[list or bytes or None,str]:
TypeError: 'type' object is not subscriptable
from mtkclient.
Closing this issue for now, as it will be added as a feature soon.
from mtkclient.
Related Issues (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)
- Windows could not install requirements.txt HOT 6
- Does it erase internal storage?
- MTK 8300 ultra
- Building wheel for netifaces (pyproject.toml) ... error HOT 12
- Bypass is working on v1.6.1 but v2.0.1 is not HOT 3
- Handshake failed on MediaTek Helio G85 (Poco C65) HOT 2
- [Windows 10] MTKClient v2.0.1 crashes when running on Python 3.12.4 HOT 4
- mtkclient crashing at 'Reconnecting to stage2 with higher speed' HOT 1
- Error when unlocking mt6789 (Helio G99) in V2.0.1 HOT 2
- Camellian (MT6833(Dimensity 700 5G k6833) preloader injection in plstage not working (was working in v1.6.3) HOT 1
- Not working in Mac OS with M1 Chip (solution inside) HOT 3
- [Bug]: Input/Output Error [MT8167] [Windows]
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.