[MT8125/MT6583/MT6589] "No valid da loader found" and DA issues (acer-mango)

Open
#397 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
cli, embedded-iot

Research direction

Start by reviewing the attached debug logs and the two DA upload failures, then trace how mtkclient selects and uploads a DA for this device. The report identifies an MT8125 tablet detected as MT6583/6589, but does not name code files or tests. Done means establishing whether a supported DA can be uploaded or documenting what prevents it.

Written by the indexing model from the issue text.

Description

Hello, i am trying to revive an old Acer Iconia A1-810 tablet (codename: mango) to flash the stock firmware, however i can not seem to be able to use any download agent (not even the ones in the firmware archives for this tablet on NeedROM that apparently worked in the past for some boards). Can anything be done?

Preloader - Detected regular mode !
Preloader - 	CPU:			MT6583/6589()
Preloader - 	HW version:		0x0
Preloader - 	WDT:			0x10000000
Preloader - 	Uart:			0x11006000
Preloader - 	Brom payload addr:	0x100a00
Preloader - 	DA payload addr:	0x12001000
Preloader - 	CQ_DMA addr:		0x10212000
Preloader - 	Var1:			0xa
Preloader - Disabling Watchdog...
Preloader - HW code:			0x6583
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 - 	HW subcode:		0x8a00
Preloader - 	HW Ver:			0xca01
Preloader - 	SW Ver:			0x1
DaHandler - Device is unprotected.
DaHandler - Device is in Preloader-Mode

With the "stock/needrom" DA (DA_SWSEC.bin), mtkclient exits with:

DAconfig - [LIB]: No da_loader config set up
DALegacy - Uploading legacy da...
DALegacy
DALegacy - [LIB]: No valid da loader found... aborting.
DaHandler
DaHandler - [LIB]: Failed to upload da.

And with mtkclient built-in auto-selected DA (MTK_AllInOne_DA_mt6590.bin), mtkclient exits with:

Preloader - [LIB]: upload_data failed with error: DA_IMAGE_SIG_VERIFY_FAIL (0x2001)
Preloader
Preloader - [LIB]: Error on uploading da data
DaHandler
DaHandler - [LIB]: Failed to upload da.

The tablet was originally on firmware Acer_AV052_A1-810_RV31RC03_WW_GEN1 (Acer_AV052_A1-810_1.131.00_WW_GEN1), and is based on MT8125 but mtkclient identifies it as MT6583/6589. The motherboard has the model string MANGO 6L MB 48.4VLO6.011 13206-1

Here are logs of a run with --debugmode option:
mtkclient-MTK_AllInOne_DA.txt
mtkclient-MTK_AllInOne_DA_mt6590.txt (built-in)
mtkclient-DA_SWSEC.txt

Here is an archive of the Download Agents i have unsuccessfuly tried:
DAs.zip

And is an archive of the firmware/ota/flashtools + preloader and lk:
Full firmware | preloader_and_lk.zip

SP Flash tool seems to have the same issue except that it exits with S_BROM_DOWNLOAD_DA_FAIL and gives me no logs.

I was not able to enter BROM mode with all possible button combinations, and i could not find any working testpoint on the board which would allow me to do so.

Dominant language
Python
Stars
1.5k
Forks
309
Avg merge
1d 7h
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bkerler/mtkclient

All issues in bkerler/mtkclient

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.