Sysadmin, python and diy
http://developer.android.com/guide/publishing/app-signing.html
keytool -genkey -v -keystore my-release-key.keystore \ -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 jarsigner -verbose -keystore ...
see: http://lgallardo.com/en/2011/01/22/instalacion-de-rom-en-motorola-milestone-desde-linux/