template:yaffs

  1. Download the yaffs-tools repository from Github
  2. Look in the /config folder for the config file that matches your data based on phone model and memory type (MLC or SLC)
  3. Fill in the following command based on the file you are trying to extract
    python extract.py <bin file> <output folder> <config>
  4. 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
  • template/yaffs.txt
  • Last modified: 2025/03/29 03:46
  • by lnrc