Comments (4)
Use preloader with --preloader=preloader.bin. write flash normally shouldn't read the gpt, will have a look if it does.
from mtkclient.
Yes I did it (with the last commit)
./mtk wf "/media/fayhe/My Passport/flash.bin" --preloader=preloader_cannong.bin
Port - Device detected :)
Preloader - CPU: MT6853(Dimensity 720 5G)
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: 0xa
Preloader - Disabling Watchdog...
Preloader - HW code: 0x996
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 - HW subcode: 0x8a00
Preloader - HW Ver: 0xca00
Preloader - SW Ver: 0x0
Preloader - ME_ID: ...
Preloader - SOC_ID: ...
PLTools - Loading payload from mt6853_payload.bin, 0x264 bytes
PLTools - Kamakiri / DA Run
Kamakiri - Trying kamakiri2..
Kamakiri - Done sending payload...
PLTools - Successfully sent payload: /home/fayhe/Bureau/mtkclient/mtkclient/payloads/mt6853_payload.bin
Port - Device detected :)
Main - Device is protected.
Main - Device is in BROM mode. Trying to dump preloader.
DAXFlash - Uploading stage 1 from MTK_AllInOne_DA_5.2124.bin
DAXFlash - Successfully uploaded stage 1, jumping ..
Preloader - Jumping to 0x200000
Preloader - Jumping to 0x200000: ok.
DAXFlash - Successfully received DA sync
DAXFlash - UFS FWVer: 0x32
DAXFlash - UFS Blocksize:0x1000
DAXFlash - UFS ID: KM5C7001DM-B62
DAXFlash - UFS CID: ce014b4d354337303031444d2d423632
DAXFlash - UFS LU0 Size: 0xee5800000
DAXFlash - UFS LU1 Size: 0x400000
DAXFlash - UFS LU2 Size: 0x400000
DAXFlash - DRAM config needed for : ce014b4d354337303031444d2d423632
DAXFlash - Sending emi data ...
DAXFlash - Sending emi data succeeded.
DAXFlash - Uploading stage 2...
DAXFlash - Successfully uploaded stage 2
DAXFlash - UFS FWVer: 0x32
DAXFlash - UFS Blocksize:0x1000
DAXFlash - UFS ID: KM5C7001DM-B62
DAXFlash - UFS CID: ce014b4d354337303031444d2d423632
DAXFlash - UFS LU0 Size: 0xee5800000
DAXFlash - UFS LU1 Size: 0x400000
DAXFlash - UFS LU2 Size: 0x400000
DAXFlash - DA-CODE : 0x969F0
DAXFlash - DA Extensions successfully added
DAXFlash
DAXFlash - [LIB]: Error on sending parameter: Read parttbl failed (0xc0040007)
Failed to write /media/fayhe/My Passport/flash.bin to sector 0 with sector count 124960768.
from mtkclient.
Sow how did you solve the error?
from mtkclient.
writting preloader alone may not be enough, tbh that phone is as good as bricked.
You have to figure out how to write pgpt, if you can get this done, the device should work.
Some firmware come with pgpt in flashtool but some remain dead since even flashtool refuses to write this devices.
I think we should have a feature to write UA partition without availability of pgpt.
from mtkclient.
Related Issues (20)
- 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)
- 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
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.