[Android Stick & Console AMLogic based Computers] pokemadatv3:
I will appreciate any input or help on this issue, I'm trying to unbrick X96mini with stock firmware and USB Burning Tool but I couldn't find the correct firmware I believe.

Brief explanation​

I bricked my

X96mini android tv box

(16GB/2GB RAM with Amlogic S905W CPU) while trying to burn Map-A-Droid ROM with SD card method.

I tried to get it to recovery mode so I press the reset button inside the AV port and I accidentally press it again while the device already started updating with the android logo on display. Now the LED indicator is always staying red (even when I plugged it into computer) and there's no other video output (basically same as seen in this video)

I’m having problem flashing with USB Burning Tool with it failing at 2% while "Download DDR".

From searching online, my current understanding is that I have wrong firmwares and I can't find the correct firmware for my motherboard. I've tried any firmware I could find online for X96mini (many of them are dead links). I also know this board is intact flasheable cause my friend succeed flashing it. However his board marked with the writing 2238 on it and mine has 2308 writing on it (it's minor difference in RAM chips I believe). added pictures below.

The device is automatically recognised by the computer when I plug it in without me having to press on anything (I'm using USB male-to-male 1.5 meter). Usb Burning Tool says "Connect Success", I also plug it with the power adapter (and without).

I've noticed I keep getting the same two errors while using USB Burning Tool. While burning Android 9 images I'm getting error [0x10105002] and while burning Android 7 images I'm getting error [0x10105004]. Error [0x10105004] is also the error I'm getting when I try to flash the Map-A-Droid ROM via USB.

1) error [0x10105002]Romcode/Initialize DDR/Read initialize status/USB Control setup error

(which is basically fails in row "ReadLargeMemCMD failed ret = -5", full log below)

2) error [0x10105004]Romcode/Initialize DDR/Read initialize status/Error result

My troubleshooting process:

​

I’ve tried using different USB ports, different computers, different USB Burning Tool versions, different USB cables (one with USB 2.0, another USB 3.0 both 1.5 metre), tried checking and unchecking configurations in Usb Burning Tool such “Erase flash” or “Erase bootloader”, tried shorting pin to GND (but didn't really needed it cause PC already recognise it) tried different images and ROMs… same errors keep repeating.

I already went through serval guides and threads with the similar issue but nothing fix my problem so I think my firmwares are wrong.

1. https://xdaforums.com/t/usb_burning_tool-error.3321735/

2. https://tryel.club/kak-pro****-tv-boks-x96-mini/

3. https://forum.atvxperience.com/viewtopic.php?t=6205

In order to find the manufacture stock firmware for my board I looked up the MAC address of the device. I wanted to contact the manufacture and ask them to send me the stock image of the board. the address starts with 18C8E7 so the manufacture that come up is Shenzhen Hualistone Technology Co.,Ltd in Shenzhen Guangdong China. I couldn't find them online or any contact details.

Since I bought two tv boxes, I have another identical model that is working (I haven't tried to flash it yet). I wish I could backup the firmware from the working device and extract it as image file. So I've tried using AMLogic Flash Tool to backup the firmware but it didn't work, didn't backup.

By entering android recovery mode (on the working tv box) I was able to gather more information about this X96mini model. I think it called p281.

Specs, logs and motherboard pictures:

​

My device motherboard:

View attachment 5915335

View attachment 5915337

My friend working device motherboard (we bought it in the same store)

View attachment 5915333

Device name

X96mini

Version

9

Android security patch level

August 5, 2018

Kernel version

4.9.113

#1 Tue Mar 28 23:16:02 CST 2023

Build

ZH_V1_2023032801

Android Recovery

Amlogic/p281/p281

9/00100618010151200000/1.0.0

userdebug/test-keys

View attachment 5915331

Board components list:​

CPU: Amlogic S905W quad core

ROM: SK Hynix H26M52103FMR e-Nand flash eMMC

RAM: Micron MT41K1G4RG-107:N chip SDRAM DDR3 (marked with Micron’s FBGA code of D9RVW)

WIFI: Realtek 8189FTV L510N31 GL21C

Logs:​

1) for Android 9 images I’m getting error [0x10105002]Romcode/Initialize DDR/Read initialize status/USB Control setup error

Which inside the log file says the following:

[13:08:40 655][HUB3-6][Inf]--Start burning...
[13:08:40 725][HUB3-6][Inf]--------------ERASE BOOTLOADER------------
[13:08:40 836][HUB3-6][Inf]--start SendIdentifyCmd
[13:08:40 836][HUB3-6][Inf]--2-4-0-0
[13:08:40 836][HUB3-6][Inf]-------------Download DDR.USB-----------
[13:08:40 836][HUB3-6][Inf]--2-4-0-0
[13:08:40 836][HUB3-6][Inf]--Control write pll reg1 0xd9000000:0x000000b1
[13:08:41 339][HUB3-6][Inf]--Control write pll reg1 0xd9000000:0x00005183
[13:08:41 855][HUB3-6][Inf]--Control write pll reg1 0xd9000000:0x000000b1
[13:08:42 370][HUB3-6][Inf]--Control write pll reg1 0xd9000000:0x00005183
[13:08:42 886][HUB3-6][Inf]--Write initial succeed
[13:08:42 886][HUB3-6][Inf]--Upload encrypt at 0xc8100228
[13:08:42 886][HUB3-6][Inf]--ulValue = 0xadfc318c
[13:08:42 886][HUB3-6][Inf]--Read encrypt value succeed
[13:08:42 886][HUB3-6][Inf]--Download DDR.USB,size: 49152!
[13:08:42 886][HUB3-6][Inf]--Transfer complete 49152
[13:08:42 886][HUB3-6][Inf]--Run at address 0xd9000000
[13:08:42 886][HUB3-6][Inf]--RunInRam success
[13:08:42 901][HUB3-6][Inf]--2-2-0-8-0-1-0-0
[13:08:42 901][HUB3-6][Inf]--CheckFileRunState return 8
[13:08:42 901][HUB3-6][Inf]--Run at address 0xd900c000
[13:08:42 901][HUB3-6][Inf]--RunInRam succeed
[13:08:47 981][HUB3-6][Err]--ReadLargeMemCMD failed ret = -5
[13:08:47 981][HUB3-6][Err]--ReadPara failed

View attachment 5915327

2) for the Android 7 images I’m getting error [0x10105004]Romcode/Initialize DDR/Read initialize status/Error result

Which inside the log file says the following:

[13:04:04 938][HUB3-6][Inf]--Start burning...
[13:04:05 022][HUB3-6][Inf]--------------ERASE BOOTLOADER------------
[13:04:05 136][HUB3-6][Inf]--start SendIdentifyCmd
[13:04:05 136][HUB3-6][Inf]--2-4-0-0
[13:04:05 136][HUB3-6][Inf]-------------Download DDR.USB-----------
[13:04:05 136][HUB3-6][Inf]--Close device handle 0x00000888
[13:04:05 198][HUB3-6][Inf]--Open device handle \\?\usb#vid_1b8e&pid_c003#5&e801a09&0&6#{a5dcbf10-6530-11d2-901f-00c04fb951ed} 0x00000888
[13:04:05 261][HUB3-6][Inf]--2-4-0-0
[13:04:05 261][HUB3-6][Inf]--Control write pll reg1 0xd9000000:0x000000b1
[13:04:05 776][HUB3-6][Inf]--Control write pll reg1 0xd9000000:0x00005183
[13:04:06 292][HUB3-6][Inf]--Control write pll reg1 0xd9000000:0x000000b1
[13:04:06 808][HUB3-6][Inf]--Control write pll reg1 0xd9000000:0x00005183
[13:04:07 310][HUB3-6][Inf]--Write initial succeed
[13:04:07 310][HUB3-6][Inf]--Upload encrypt at 0xc8100228
[13:04:07 310][HUB3-6][Inf]--ulValue = 0xadfc318c
[13:04:07 310][HUB3-6][Inf]--Read encrypt value succeed
[13:04:07 310][HUB3-6][Inf]--Download DDR.USB,size: 49152!
[13:04:07 310][HUB3-6][Inf]--Transfer complete 49152
[13:04:07 310][HUB3-6][Inf]--Run at address 0xd9000000
[13:04:07 310][HUB3-6][Inf]--RunInRam success
[13:04:12 398][HUB3-6][Inf]--IOCTL_IDENTIFY_HOST_Handler ret=-5 error_msg=libusb0-dll:err [control_msg] sending control message failed, win error: A device attached to the system is not functioning.

View attachment 5915329