Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAXFlash - DRAM setup failed: unpack requires a buffer of 12 bytes #1338

Open
DocMAX opened this issue Dec 31, 2024 · 6 comments
Open

DAXFlash - DRAM setup failed: unpack requires a buffer of 12 bytes #1338

DocMAX opened this issue Dec 31, 2024 · 6 comments

Comments

@DocMAX
Copy link

DocMAX commented Dec 31, 2024

Preloader - 	CPU:			MT6771/MT8385/MT8183/MT8666(Helio P60/P70/G80)
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:			0x788
Preloader - Target config:		0x0
Preloader - 	SBC enabled:		False
Preloader - 	SLA enabled:		False
Preloader - 	DAA enabled:		False
Preloader - 	SWJTAG enabled:		False
Preloader - 	EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT:	False
Preloader - 	Root cert required:	False
Preloader - 	Mem read auth:		False
Preloader - 	Mem write auth:		False
Preloader - 	Cmd 0xC8 blocked:	False
Preloader - Get Target info
Preloader - BROM mode detected.
Preloader - 	HW subcode:		0x8a00
Preloader - 	HW Ver:			0xca00
Preloader - 	SW Ver:			0x0
Preloader - ME_ID:			12C6B9BC7DC8D32065373CF4453A6930
Preloader - SOC_ID:			2CB3F978266D36ECB12D7CB6AB548ACD8829C39FC37525A31A26E0A2300C4772
DaHandler - Device is unprotected.
DaHandler - Device is in BROM-Mode. Bypassing security.
PLTools - Loading payload from mt6771_payload.bin, 0x264 bytes
Exploitation - Kamakiri Run
Exploitation - Done sending payload...
PLTools - Successfully sent payload: /mnt/pve/data/software/android/tools/mtkclient/mtkclient/payloads/mt6771_payload.bin
Port - Device detected :)
DaHandler
DaHandler - [LIB]: Device is in BROM mode. No preloader given, trying to dump preloader from ram.
DAXFlash - Uploading xflash stage 1 from MTK_DA_V5.bin
XFlashExt - Patching da1 ...
Mtk - Patched "Patched loader msg" in preloader
Mtk - Patched "hash_check" in preloader
Mtk - Patched "Patched loader msg" in preloader
Mtk - Patched "get_vfy_policy" in preloader
XFlashExt - Patching da2 ...
XFlashExt - Security check patched
XFlashExt - DA version anti-rollback patched
XFlashExt - SBC patched to be disabled
XFlashExt - Register read/write not allowed patched
DAXFlash - Successfully uploaded stage 1, jumping ..
Preloader - Jumping to 0x200000
Preloader - Jumping to 0x200000: ok.
DAXFlash - Successfully received DA sync
DAXFlash - Sending emi data ...
DAXFlash - DRAM setup failed: unpack requires a buffer of 12 bytes

I try to unbrick my Unihetz Jelly but i am always stuck here... what can i do?

@AHOHNMYC
Copy link

AHOHNMYC commented Jan 5, 2025

Same here with Xiaomi Redmi 9C NFC (MT6765G)

@xiongtaozi
Copy link

honor play6TSame fault, MT6833(Dimensity 700 5G k6833)

@Aragon1226
Copy link

Same also here with mt6877v Chip (Redmi Note12 Pro Plus).. Still trying and figuring out for the solution..

@DibyaEarly
Copy link

Image

MY DEVICE SITUATION- NOW It's hard brick stage due to flashing incorrect firmware. My device chipset is MT6891(Dimensity 1100), due to wrong firmware flash it's shows on MTKclint MT6893 Chipset. In your MTKclient >> payload section not having the payload file MT6891payload.bin, I hope it's the reson about the problem- " DAXFlash - DRAM setup failed: unpack requires a buffer of 12 bytes ". Please help me to solve my problem, if you have any question about thish concer please ask me.

@weskerty
Copy link

x2

@DibyaEarly
Copy link

x2

What the means x2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants