# Startup Script for Android on Chromebook # 2017/06/08 plagiarized by Jeff Liebermann # # # To setup, cut on the cut-here marks and save as # /usr/local/start-android.sh # If it complains about write permissions, run: # shell # sudo su # and try again. Change execute permissions with: # chmod 755 /usr/local/start-android.sh # # # To run the script, Login normally to Chrome OS. # to start crosh. # shell # sudo su # /usr/local/start-android.sh # # Nothing should happen, but you might end up with a # blank black screen. If so, wait about 10 sec. # Start -> Play(beta) # To run the Play Store. When first run, it should # start the Play Store (beta) automatically. It may # also ask to install a critical update. Do it. # cut here --- cut here --- cut here --- cut -here # # backup copy of conf file. cp /etc/chrome_dev.conf /usr/local/chrome_dev.conf.01 # copy conf file to /usr/local cp /etc/chrome_dev.conf /usr/local/ # clobber conf with notice that ARC (play store) is working. echo "--arc-availability=officially-supported " > /usr/local/chrome_dev.conf # do a tricky symbolic link using the mount command mount --bind /usr/local/chrome_dev.conf /etc/chrome_dev.conf # logout without a power down restart ui exit # # cut here --- cut here --- cut here --- cut -here