How to Install GApps to Android 6 on eMMC from Ubuntu

Video demo on youtube:


  1. you must have already done the "How to Flash Android to eMMC from Ubuntu"
  2. you must be able to boot into Android 6 on your BPi-M64 already.

Download: I have prepared a set of open gapps easy for you to push to the /system folder

google driver:


  1. make sure your BPi-M64 is power connected and also USB OTG connected to your PC.
  2. double check if your usb is connected by typing:

      adb devices
  3. if it shows one long unique id number under the List of devices means you are connected and ready to go.

  4. type the following:

      adb root
      adb remount
      adb shell "rm -rf system/priv-app/PackageInstaller"
  5. unzip the gapps.tar.gz file you have just downloaded.

  6. cd gapps
  7. inside gapps folder, you should see only 1 system folder, then type:

      adb push system /
      adb shell "pm grant android.permission.ACCESS_COARSE_LOCATION"
      adb shell "pm grant android.permission.ACCESS_FINE_LOCATION"
      adb shell "pm grant android.permission.READ_PHONE_STATE"
      adb shell "pm grant android.permission.READ_CONTACTS"
      adb reboot

after reboot, ignore any "unfortunately ... has stopped" message if got any... and please don't rush to open the apps yet, else it will cache the error and make things more complicated.

Fix Errors via Settings:

  1. go to Settings->Apps
  2. go into all the newly installed google apps, and go into the permissions, allow all of it that it suggest you to enable.
  3. double check if any google apps that you miss adding the permissions.
  4. reboot again by typing:

      adb reboot
  5. done!

if you didn't listen and rushed to open apps before fixing the permissions, you will have to go to Settings->Apps->top right corner menu choose "Reset app preferences", then reboot, and then go fix the permissions first, then reboot, then it should be ok.

results matching ""

    No results matching ""