If anyone has any ideas how to make an automated script out of this (for sailfish and android) then please say so. Especially if you know how to get back into Sailfish from Android without ssh.