check if Debian image is available after SDcard is unmounted

as some devices has multiple SDcards
install android-permissions as early as possible in the install process

This package sets up all the Android app users and permissions groups.  It
needs to be installed as early as possible to claim the uids for group
names like 'bluetooth' that also exist in Debian.