GithubHelp home page GithubHelp logo

Comments (4)

bkerler avatar bkerler commented on July 17, 2024

Use preloader with --preloader=preloader.bin. write flash normally shouldn't read the gpt, will have a look if it does.

from mtkclient.

fayharinn avatar fayharinn commented on July 17, 2024

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.

Mr4ucker avatar Mr4ucker commented on July 17, 2024

Sow how did you solve the error?

from mtkclient.

kenkit avatar kenkit commented on July 17, 2024

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)

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.