crashtest-r0ket/tools/smartflash
Stefan `Sec` Zehl 2896c53800 Fix smartflash flash script so it forks again... 2012-05-06 15:04:17 +02:00
..
.gitignore gitignore more files 2012-04-21 16:35:39 +02:00
Makefile make smartflash ignore bridge r0kets. 2012-04-21 14:59:08 +02: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 Fix smartflash flash script so it forks again... 2012-05-06 15:04:17 +02:00
mass Enhance output a bit 2012-01-03 02:15:10 +01:00
smartflash smartflash: no need to ignore devices forever 2012-04-21 16:35:31 +02: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