Created
January 20, 2017 22:31
-
-
Save rogeliodh/2134fc19152e36ba7ffd34b3136d3635 to your computer and use it in GitHub Desktop.
script to unpack Fiio's X1ii firmware files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
mkdir -p myfw | |
tar zxvf X1II.fw -C myfw | |
# unyaffs2 from yaffs2utils is not working | |
#sudo ./unyaffs2 myfw/fifo_rootfs.yaffs2 myfw/fifo_rootfs | |
# Use unyaffs from ubuntu's unyaffs package (apt-get install unyaffs) | |
sudo unyaffs myfw/fifo_rootfs.yaffs2 myfw/fifo_rootfs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment