XIAOMI Yi ELF Files to Unbrick Camera

I also have the same problem, i tried maybe 50 times.. My computer detected it as usb device only 3 times for a few seconds than device disappeared. How do we enable directusb mode?

1. With out sd card
2. with or without battery?

Thanks in advance
With batterry and with sd
i can do that once in 2-3 times
 
Hello the next week i will make a tutorial in youtube very explained, so if you want to keep track of it here is my channel 'Jerry21573'
Hi! Thank you for helping. Now i have problem on step number 14-15(in 10th page in this thread)
So when a program start working, my camera turns off(i hear sound in Win10) and LEDs turns RED(just charging mode), BUT after 30-40 seconds the program says "Done!", but camera doesn't work like you write before.
Guys. if you need i can talk with somebody using skype to show the problem, many thatnks to this thread!
 
Download this file:
https://mega.nz/#!iQF0mYoT!pqn4x1AtrlRXNTEGT4WD7PBjAuE97KJZnpb2OUl_rUg
MD5SUM: 1a644d309779d9a8b4b327c5b82762ca

This file contains a full instruction from Xiaomi support. Read this first. I will add my extra items to instruction.
This instruction is for 22 and 22L revisions. Choose the correct ELF file from the archive.

Instruction:
1) Unmount the front panel.
2) Install the program from archive (kind of DirectUSB program ).
3) Connect camera to PC.
4) Run installed program.
5) Check "Upgrade Firmware" radio button
6) On this step you need to short-circuit 2 points of camera - main board (GND) and the point above the resistor - look at the instruction in the archive. Resistor marked by red color in the PowerPoint file in the archive.
7) KEEP these 2 points short-circuited and press Power button to enable the camera. This turns the camera in the DirectUSB mode.
8) Press "Connect" button in the program.
9) Choose correct ELF file and press
10) Press "Download"
11) Wait for "Done" in the programm
12) Wait few minutes for 3 beeps (I do not remember them, but it is better to wait few minutes).
13) Disconnect you camera.

On this step you should get a working camera. Also I downloaded and installed the latest firmware from xiaoyi.com/upgrade after everything, but I do not think that it is necessary.
If everything is OK you will get this message in the program: "Found 1 YXDJ device". If you get "Found 0 YXDJ" then something is wrong. Try to remove the battery and repeat 6, 7, 8 items.
You it doesn't help then try it in the next order:
- 6)
- 7)
- Do not release power button, keep it pressed
- 8)
- Got "Found 1 YXDJ device"
- release power button
Здравствуйте, помогите востановить камеру пожалуйста
 
i'm success upload file .elf, beeb 3x but problem not gone. what wrong my step.
please help
 
I cant get anything to work yet. so just doing some trouble shooting. Should the yiSportCamUSB see a properlyu working Yi if it was connect via usb cable to the computer or will it only see a Yi that has been shorted out? I have installed and uninstalled the usb program several times but I never see it it displayed in my device manager section. I did the steps to install unsigned drivers and can right click the divers and install them manually and it says they have been installed successfully but I have my doubts. Should the usb program show up in device manager at any stage other than when the bricked Yi is shorted?
 
I cant get anything to work yet. so just doing some trouble shooting. Should the yiSportCamUSB see a properlyu working Yi if it was connect via usb cable to the computer or will it only see a Yi that has been shorted out? I have installed and uninstalled the usb program several times but I never see it it displayed in my device manager section. I did the steps to install unsigned drivers and can right click the divers and install them manually and it says they have been installed successfully but I have my doubts. Should the usb program show up in device manager at any stage other than when the bricked Yi is shorted?
ok I got it to work. It really is a case of getting a good grounding. I ended up scraping some of the silver coating off the chassis to get a good earth. It didnt fix my wifi light being on all the time but the camera now works.
 
Yep... my camera is dead. No response from support. So it is now in 1,000,000 pieces :)
LHNAgKe.jpg
 
I did all and my yi still loop :( i hope anyone can help
 
Does anyone have ELF files for unbricking the Xiaomi Yi Dashcam (the new model, not the old action cam)?
 
when I click " Connect " appears Found 0 YDXJ device! , Then I click on " Download " still appears Found 0 YDXJ device ! all tutorials already I follow correctly , and status in yicamsportscam " idle " . please explain the solution cruz ^ _ ^
 

Attachments

  • xiaomi yi.PNG
    xiaomi yi.PNG
    20.4 KB · Views: 15
Last edited:
Is the JTAG header on a Xiaomi Yi has been found? I see few pins on the internal side of the PCB (after removing the 4 screws) but it isn't documented anywhere so I'm not sure about it. I've got a XiaoYi 23L which has been flashed with a 22 (not 22L) ELF. So now it's making only a small beep when I click on the power button and the DirectUSB mode isn't available anymore (I tried bot methods: wifi+shutter+power combinaison and resistor + ground). There must be some intellignece left because of this single beep and also because when I hook up to the USB with the battery inserted the LEDs are glowing.

A second solution instead of the JTAG flashing will be an "autoflash" of the ELF when put on the SD but I'm afraid that the only intelligence left in this camera isn't so advanced to have access to high level stuff like SDcard. Since I could be mistaken I'm reading Ambarella technical documentation, but if you have any info on JTAG or self ELF flashing don't hesitate to answer my post!
 
Last edited:
Ok I let it sleep one full day and now it is detected by my computer. But when I start XiaoYi Flashing program or DirectUSB this is what I get

Code:
Found 1 AMBA device! <---- I clicked on connect, blue leds are now on and the following lines appear
AMBA_USB_Boot_Write: (0,0x7000a004,0x0) failed!(-5)
AMBA_USB_Boot_Write: (0,0x7000a028,0x0) failed!(-5)
AMBA_USB_Boot_Write: (0,0x7000e000,0x0) failed!(-5)
AMBA_USB_Boot_Write: (0,0x7000e02c,0x1) failed!(-5)
Init DRAM failed 271.
AMBA_USB_Boot_Write: (0,0xc00fff00,0x99005544) failed!(-5)
Found 0 AMBA device! <---- I clicked on connect a second time

I looks like DRAM has taken a hit, could that be correct? Any way to bypass this?
 
Last edited:
mazzhie said:
Omg thx cruz.. My xiaomi yi alive again after 3 months bricked and stuck in 3 red light indicator... Finally i can use again my yi...


My Yi Acation Camera is YDXJ01XY with SN:Z221XXXXXXXXXXX
i,am flashing with the file sometings like ELF format. i have try flash with 2 file like
1. YDXJv22_1.2.6_build-20150709090932_b1031_i841_s1038.elf.
note: nothing changed to the camera it is same problem 3 red led glowsup only and no beep sound.

2. YDXJv22_1.2.13_build-20150906141456_b1049_i841_s1120.elf.
note: flashing is DONE with 3 beep sound ending but nothing changed to the camera it is same problem 3 red led glowsup.

This is Flashing Debug.log :-
Found 1 busses, 1 devices changed
bus=0, port=0
Dev#1: 0x4255 (Amba) : 0x0008 () : 123456789ABC has 1 configs
State is BOOT
Found 1 AMBA device!
Generate DRAM parameters "C:\Program Files\Ambarella\DirectUSB\sv\a7l\bst_a7lbub.bin" ok
Init DRAM ok.
Found 0 busses, 0 devices changed
bus=0, port=0
Dev#1: 0x4255 (Amba) : 0x0008 () : 123456789ABC has 1 configs
State is BOOT
Found 1 AMBA device!
Generate DRAM parameters "C:\Program Files\Ambarella\DirectUSB\sv\a7l\bst_a7lbub.bin" ok
Init DRAM ok.
[0] Wait device re-init...
Found 0 busses, 2 devices changed
bus=0, port=0
Dev#1: 0x4255 (AMBA) : 0x0001 (Ambarella USB generic class) : 123456789ABC has 1 configs
State is LOAD
State is LOAD
Found 1 AMBA device!
[0] Found.
C:\Users\hp\Desktop\YDXJv22_1.2.13_build-20150906141456_b1049_i841_s1120.e2b sent, size=46157180
Wait firmware programming...
[0] Done!!


Note: 3 beep sound ending.
 
Flashing with DirectUSB to my YI Action camera prosess:-
1. EraseNand
Found 1 AMBA device!
Init DRAM ok.
Found 1 AMBA device!
Init DRAM ok.
AMBA_USB_EraseFlash: Enter[0].Wait...
[0] Wait device re-init...
[0] Found.
AMBA_USB_EraseFlash Done[0]!!

2. Download
Init DRAM ok.
Found 1 AMBA device!
Init DRAM ok.
[0] Wait device re-init...
[0] Found.
C:\Users\hp\Desktop\YDXJv22_1.2.13_build-20150906141456_b1049_i841_s1120.e2b sent, size=46167420
Wait firmware programming...
[0] Done!!

3. Upload
Found 1 AMBA device!
Init DRAM ok.
Found 1 AMBA device!
Init DRAM ok.
[0] Wait device re-init...
[0] Found.
bst: 0x3ac92d53 1.3 (2015/9/6) 0x00000000 0x00000001 (2048)
pri: 0xc311995b 1.3 (2015/9/6) 0xc0000000 0x00000000 (141116)
bak: 0x19bb083a 5.1 (2015/9/6) 0xc00a0000 0x00000000 (74336)
rom: 0x60ccaa26 0.1 (2015/9/6) 0xc0100000 0x00000000 (5365764)
dsp: 0xf34baae3 1.0 (2015/9/6) 0xcd608000 0x00000000 (3839188)
S/N:
usbdl_mode: 0
auto_boot: 1
cmdline: "arm_mon=enable dsp_sw_mon=enable osd=8bit osd=tv_full rtsp_autostop=disable rec_error_auto_ctl=disable atime=4 dcf_itm=enable"

NOTE: The problem cannot SOLVE. Please some one is allready make sucess flashing and DONE really JOBs. Thk.
 
Ok I let it sleep one full day and now it is detected by my computer. But when I start XiaoYi Flashing program or DirectUSB this is what I get

Code:
Found 1 AMBA device! <---- I clicked on connect, blue leds are now on and the following lines appear
AMBA_USB_Boot_Write: (0,0x7000a004,0x0) failed!(-5)
AMBA_USB_Boot_Write: (0,0x7000a028,0x0) failed!(-5)
AMBA_USB_Boot_Write: (0,0x7000e000,0x0) failed!(-5)
AMBA_USB_Boot_Write: (0,0x7000e02c,0x1) failed!(-5)
Init DRAM failed 271.
AMBA_USB_Boot_Write: (0,0xc00fff00,0x99005544) failed!(-5)
Found 0 AMBA device! <---- I clicked on connect a second time

I looks like DRAM has taken a hit, could that be correct? Any way to bypass this?

Click - A7lbub - CONNECT
Click - DOWNLOAD
This is Flashing Debug.log :-
Found 1 busses, 1 devices changed
bus=0, port=0
Dev#1: 0x4255 (Amba) : 0x0008 () : 123456789ABC has 1 configs
State is BOOT
Found 1 AMBA device!
Generate DRAM parameters "C:\Program Files\Ambarella\DirectUSB\sv\a7l\bst_a7lbub.bin" ok
Init DRAM ok.
Found 0 busses, 0 devices changed
bus=0, port=0
Dev#1: 0x4255 (Amba) : 0x0008 () : 123456789ABC has 1 configs
State is BOOT
Found 1 AMBA device!
Generate DRAM parameters "C:\Program Files\Ambarella\DirectUSB\sv\a7l\bst_a7lbub.bin" ok
Init DRAM ok.
[0] Wait device re-init...
Found 0 busses, 2 devices changed
bus=0, port=0
Dev#1: 0x4255 (AMBA) : 0x0001 (Ambarella USB generic class) : 123456789ABC has 1 configs
State is LOAD
State is LOAD
Found 1 AMBA device!
[0] Found.
C:\Users\hp\Desktop\YDXJv22_1.2.13_build-20150906141456_b1049_i841_s1120.e2b sent, size=46157180
Wait firmware programming...
[0] Done!!

NOTE: Maybe you sellect wrong type of processor like A2-A5-A7 model to your cam. the process above can help you...
 
Last edited:
HELLO to All the LUCKY MEMBERS, dont FORGET LEFT this pages after you are DONE. Brings UP your exprience to onother MEMBER. THX.
 
Hello
Thank you for this post, after my xiaomi yi take water under the sea, i open it and wash with a small brush. At startup she bip 3 times with blue light (bootloop)
After doing unbrick with ELF and uptade the firmware she work again
Thank you very much and sorry for my english ^^
 
Hello
Thank you for this post, after my xiaomi yi take water under the sea, i open it and wash with a small brush. At startup she bip 3 times with blue light (bootloop)
After doing unbrick with ELF and uptade the firmware she work again
Thank you very much and sorry for my english ^^
WELCOME. HOW YOU DO IT?
 
Back
Top