python assemble_m4.py .bin
Example
python assemble_m4.py N506i-2_PF38F4462LLYDB0-f1.bin
**Step 2:** convertForEmulator_n504is.py
The convertForEmulator_n504is.py script will extract the DoJa files from the regions inside the firmware dump.
python convertForEmulator_n504is.py m4_out_dir model_name
Example
python convertForEmulator_n504is.py N506i-2_PF38F4462LLYDB0-f1.bin_output N506i