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

mt6735 - preloader neded due to dram config - entity not found #1362

Open
robertvanels opened this issue Jan 22, 2025 · 1 comment
Open

mt6735 - preloader neded due to dram config - entity not found #1362

robertvanels opened this issue Jan 22, 2025 · 1 comment

Comments

@robertvanels
Copy link

robertvanels commented Jan 22, 2025

Its starting in the brom mode via the testpoint. But I get an error on the emmc or due to an unknown dram config? Its a Samsung J2 Prime SM-G532M. Or is it possible the eMCC isn't responding due to the 0x00 value at: [14:24:40]: EMMC_INFO: 0x0

Preloader - 	CPU:			MT6735/T,MT8735A()
Preloader - 	HW version:		0x0
Preloader - 	WDT:			0x10212000
Preloader - 	Uart:			0x11002000
Preloader - 	Brom payload addr:	0x100a00
Preloader - 	DA payload addr:	0x201000
Preloader - 	CQ_DMA addr:		0x10217c00
Preloader - 	Var1:			0x28
Preloader - Disabling Watchdog...
Preloader - HW code:			0x321
Preloader - Target config:		0x5
Preloader - 	SBC enabled:		True
Preloader - 	SLA enabled:		False
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:		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:			0xcc00
Preloader - 	SW Ver:			0x0
Preloader - ME_ID:			8FFCFC75989816606C49D262943BE688
Preloader - Jumping to 0x200000
Preloader - Jumping to 0x200000: ok.
DeviceClass - [Errno 2] Entity not found

GUI debuglog

[14:24:40]: Device detected :)
[14:24:40]: Auth file is required. Use --auth option.
[14:24:40]: Device is protected.
[14:24:40]: Device is in BROM-Mode. Bypassing security.
[14:24:40]: Loading payload from mt6735_payload.bin, 0x258 bytes
[14:24:40]: Kamakiri Run
[14:24:40]: Done sending payload...
[14:24:40]: Successfully sent payload: /home/tdo/mtkclient/mtkclient/payloads/mt6735_payload.bin
[14:24:40]: Device detected :)
[14:24:40]: Device is in BROM mode. No preloader given, trying to dump preloader from ram.
[14:24:40]: Failed to dump preloader from ram, provide a valid one via --preloader option
[14:24:40]: Uploading legacy da...
[14:24:40]: Uploading legacy stage 1 from MTK_DA_V5.bin
[14:24:40]: Legacy DA2 is patched.
[14:24:40]: Legacy DA2 CMD F0 is patched.
[14:24:40]: Legacy Read is normal.
[14:24:40]: Got loader sync !
[14:24:40]: Reading nand info
[14:24:40]: NAND_INFO: 0xbc4
[14:24:40]: Reading emmc info
[14:24:40]: EMMC_INFO: 0x0
[14:24:40]: ACK: 04029b
[14:24:40]: Setting stage 2 config ...
[14:24:42]: DRAM config needed for : 510001154236314e46710042dbb5d4c2
[14:24:42]: Reading dram nand info ...
[14:24:42]: Preloader needed due to dram config.`
@axiopaladin
Copy link

Dump your preloader first: https://youtu.be/NulWJo2RSKE?t=2726

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

2 participants