- Download the yaffs-tools repository from Github
- Look in the /config folder for the config file that matches your data based on phone model and memory type (MLC or SLC)
- Fill in the following command based on the file you are trying to extract
python extract.py <bin file> <output folder> <config>
- If the data you expect does not appear in the output folder, you can introduce the following arguments:
-d, --show-deleted, --no-show-deleted Show deleted files in DELETED subfolder. -m, --show-missing, --no-show-missing Show entries with missing parents in MISSING subfolder. -u, --try-undelete, --no-try-undelete Try to restore latest version of a file marked as deleted. -s, --mix-spare, --no-mix-spare Mix spare using filepath '[input (without extension)].oob'.
Example: N-04B MLC
python extract.py -m -u -s onenand_mlc.bin output_dir config/config_n04b_mlc.json