http://mazda3revolution.com/forums/1280610-post1532.html
Anyone who is unsure should leave it alone, ask someone with experience to help or ask in the forum.
- Download the
autorun
script. You can modify it or re-write one yourself. - Install by USB installer.
- Copy the example script from
sdcard/dryrun/
directory onto your SD card. - Insert SD into vehicle, script will run automatically on the next CMU boot.
- Some scripts produce logs or images, after the script is completed remove SD card and review files on another device.
- Allow each script to finish completely. Scripts that are cut short may cause the CMU to freeze, this can be fixed with a hard reset.
- Hard Reset - Hold: BACK + NAV + VOL/MUTE for 20 seconds.
#!/bin/sh
# cmu-autorun - executed during the boot process
# /data_persist/dev/bin/autorun
echo 1 > /sys/class/gpio/Watchdog\ Disable/value
sleep 40
if [ -e /mnt/sd_nav/run.sh ]
then
sh /mnt/sd_nav/run.sh
fi
Test : Copy the file sdcard/dryrun/run.sh
onto the root of your SDCard. Reboot the CMU and a display will show "AUTORUN ACTIVATED!"