I've been trying to get a working extract from the Xiaomi Yi camera via firmfl but it just doesn't want to seem to play ball.
If I just extract the standard six sections the file will load into A7Tool:
firmfl gen 6 bst bld hal pri rom dsp fw-8.bin
If I try and extract the LNX partition it comes out and gives a larger file but won't load into A7Tool:
firmfl gen 7 bst bld hal pri rom dsp lnx fw-7.bin
When doing 8 sections (SEC and LNX added) I get a file that is just 1KB off the size of a working firmware but it won't load into A7Tool.
firmfl gen 8 bst bld hal pri sec rom dsp lnx fw-8.bin
Any ideas please?
I've got a copy of all 14 individual partitions as well as a good working firmware (30mbps-firmware.bin) and the good extract (fw-6.bin) and all the others that don't work here:
https://mega.co.nz/#!YE0liLRQ!BGdZNJfhFN-YH5jf9r2eE6cjNbXy-zs627FwdJqr4oo
I'm not sure if it's something to do with the order the parts are extracted in - I've gone off the order firmfl gen specifies them in, ie:
Code:
Usage: gen [number of partition] [bst] [bld] [hal] [pba] [pri] [sec] [bak] [rmd] [rom] [dsp] [lnx] [swp] [add] [adc] [filename]
Ex: gen 3 bld pri dsp d:\amboot_kernel_dsp.bin
It looks like the LNX partition is just a UBI based filesystem that you can mount within Linux with mtdtools (I've been trying to do the same with the Lukas camera!!) but I can successfully do this with the extract from the Yi.