crashtest-r0ket/tools/smartflash
Stefan `Sec` Zehl bb5092a5ee smartflash: get rid of unneccessary error message if files/ exists 2012-01-26 23:39:27 +01:00
..
Makefile smartflash: get rid of unneccessary error message if files/ exists 2012-01-26 23:39:27 +01:00
README Mini makefile and small doku 2011-12-25 18:52:19 +01:00
copy-files-ordered Whoops. Do not attempt to copy files twice 2012-01-03 02:14:37 +01:00
flash Enhance output a bit 2012-01-03 02:15:10 +01:00
mass Enhance output a bit 2012-01-03 02:15:10 +01:00
smartflash make a bit more sane and cleaner 2012-01-03 02:15:42 +01:00

README

smarflash recognizes r0kets in firmware flash or mass storage flash mode and flashes them to factory defaults with a new generated random crypto key.

Runs only under linux (sorry, but requires /sys/... stuff)

You NEED to disable your automounter and run it as root.

Disabling automounter on ubuntu 10.4: 
	run gconf-editor
	apps > nautilus > preferences

	media_automount = OFF
	media_automount_open = OFF
	media_autorun_never = ON 

run "make setup" to generate/gathe the necessary files
then run "./smarflash" and flash away.


TODO ideas:
- keep cryptokey if already there.
- ability to format if not? Or somehow force formatting?
- fix broken FS: save config/keys // reformat // copy back