Fixed homedir detection. Fixed config file creation. Send smartphone device model on broadcast.
Simplified main_android.