Install Playstore on Android 9 image
#11
(07-28-2020, 02:06 PM)tophneal Wrote: Do you have the power cable plugged into the ROCK64, along with the USB-A cable? I wasn't sure earlier if it was necessary, since some boards can pull power from OTG. Just started looking through the ROCK64 Android docs and the question came to mind.
Yes it is a separate barrel-type power connection and USB A connection.
  Reply
#12
:/ this sounds like a real headache so far. I wonder if you’d have better luck trying this booted from a Linux on usb.

I’m afraid I haven’t touched windows in some time, so my suggestions would be limited within that os
  Reply
#13
(07-28-2020, 02:38 PM)tophneal Wrote: :/ this sounds like a real headache so far. I wonder if you’d have better luck trying this booted from a Linux on usb.

I’m afraid I haven’t touched windows in some time, so my suggestions would be limited within that os
I appreciate the help.  Unfortunately, I don't have a Linux machine to work from.  I'll keep seeing what I can do. Thanks again.
  Reply
#14
(07-28-2020, 02:42 PM)boplinger Wrote:
(07-28-2020, 02:38 PM)tophneal Wrote: :/ this sounds like a real headache so far. I wonder if you’d have better luck trying this booted from a Linux on usb.

I’m afraid I haven’t touched windows in some time, so my suggestions would be limited within that os
I appreciate the help.  Unfortunately, I don't have a Linux machine to work from.  I'll keep seeing what I can do. Thanks again.


Sorry I couldn’t be off anymore help.

If it comes down to it, you can boot a live Linux from usb. You don’t have to install it on your computer.
  Reply
#15
OK,

I'm on Windows (not really, linux users, but I decided to do this) and I'm sad that this platform seems to get zero attention.

1. Get the adb tools here:

https://dl.google.com/android/repository...indows.zip

2. Enable the secret Developer Options. 
Open "Settings"
Scroll down to "System "
Select "About phone"
Tap Build number 7 times in quick succession 
You will see a message appear that says Developer Options are enabled
Now go back and you’ll see Developer Options listed
With that out of the way, we can enable USB debugging.
Open "Settings"
Go to "System" > "Developer options"
Scroll until you find USB debugging
Toggle the switch on

3. Connect the SBC to your Windows comp 

4. Navigate to the directory where you unzipped the platform tools and open a cmd window and check that the adb connection is working

Code:
adb devices

If you get a response you're ready.

5. Get the apks
===============================================
now ready to use "adb push" to copy the PlayStore, Google Play Services and
Google Services Framework apks to /system/priv-app
================================

files to download:
----------------------
[Google Services Framework 9-5272573 (Android 9.0+):
com.google.android.gsf_9-5272573-28_minAPI28(nodpi)_apkmirror.com.apk]
download here..
rename to : Gsf.apk
===================

[Google Play services 15.1.81 (100400-239627737) (100400):
com.google.android.gms_15.1.81_(100400-239627737)-15181037_minAPI28(arm64-v8a,armeabi-v7a)(nodpi)_apkmirror.com.apk]
download here..
rename to : Playservices.apk
============================

[Google Play Store 14.2.58-all [0] [PR] 239277684 (nodpi) (Android 4.1+):
com.android.vending_14.2.58-all_0_PR_239277684-81425800_minAPI16(armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(nodpi)_apkmirror.com.apk]
download here..
rename to : Playstore.apk
=========================

6. Install the Google apps

Code:
adb device
adb root
adb remount
adb push Gsf.apk /system/priv-app/Gsf/Gsf.apk
adb install -g -r Gsf.apk
adb push Playstore.apk /system/priv-app/Playstore/Playstore.apk
adb install -g -r Playstore.apk
adb push Playservices.apk /system/priv-app/Playservices/Playservices.apk
adb install -g -r Playservices.apk

-g: Grant all permissions listed in the app manifest....
-r:  Replace existing application, keeping its data.
------------------------------------------------------------

7. Then reboot and go to the android settings, apps and give all the permissions to the apks installed.

8. The following commands should also be executed on the RockPro64 to prevent occasional Google Play Services errors: So run the beginning commands and get into adb shell and run these commands:

Code:
adb shell

pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION

pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION

9. Reboot again.

Finish
  Reply
#16
(07-28-2020, 06:53 AM)boplinger Wrote: So I'm still encountering the same issue...
Brand new USB A to USB A, plugged into my Win 10 PC and the top USB port next to the NIC on the Rock64.
Type ".\adb devices", response "List of devices attached", but no devices are listed.
Debugging on the Rock64 is on.
Any other ideas...
I have the same problem as you.
I have tried to enable Internet adb in 
Developer Options.
Check ip address and  use command:

Code:
adb connect [ip address]
  Reply
#17
(12-31-2019, 03:01 PM)ddimension Wrote: Hi!

It took me a bit to find why playstore does not work on the android 9 image out of the box. Here's a way to install:


download arm64 pico gapps, extract and convert with attached script:
# cd open_gapps...
# ../gapps2tar.sh


Now install gapps
# adb push gapps.tar /sdcard/
# adb root
# adb remount
# adb shell :

Code:
tar -xvf /sdcard/gapps.tar -C /
rm /sdcard/gapps.tar
rm -rf /system/priv-app/PackageInstaller /data/system/package_cache/1/PackageInstaller-16 /data/dalvik-cache /cache/dalvik-cache
reboot

After Reboot
  • add all perms to google packages in system app config.
  • disable androidsetup if crashing.
Have fun.

Why I can't use amr64 TVstock?
Please help me install google play for TV
  Reply
#18
@ddimension thank you very much, it works like a charm: Btw, it is not necessary to use USB A to A cable. I used ordinary USB A to C cable and it worked, even with the extension cable.
  Reply
#19
(12-31-2019, 03:01 PM)ddimension Wrote: Hi!

It took me a bit to find why playstore does not work on the android 9 image out of the box. Here's a way to install:


download arm64 pico gapps, extract and convert with attached script:
# cd open_gapps...
# ../gapps2tar.sh


Now install gapps
# adb push gapps.tar /sdcard/
# adb root
# adb remount
# adb shell :

Code:
tar -xvf /sdcard/gapps.tar -C /
rm /sdcard/gapps.tar
rm -rf /system/priv-app/PackageInstaller /data/system/package_cache/1/PackageInstaller-16 /data/dalvik-cache /cache/dalvik-cache
reboot

After Reboot
  • add all perms to google packages in system app config.
  • disable androidsetup if crashing.
Have fun.
In Win10, Can I just extract the gapps.zip file and repackaging to gapps.tar using 7-zip?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Android images for RockPro64 BitAnnihilator 5 1,608 06-04-2024, 11:05 PM
Last Post: tllim
  Difficulty installing Android on Rockpro64 spammycheese 0 3,099 02-17-2023, 05:31 AM
Last Post: spammycheese
  Using Android and the Playstore grobbs 0 2,895 06-04-2022, 12:18 AM
Last Post: grobbs
  Android TV miguelangelaj 2 3,708 06-03-2022, 11:23 AM
Last Post: miguelangelaj
  Control Fan in Android miguelangelaj 2 3,094 06-03-2022, 11:22 AM
Last Post: miguelangelaj
  Slash TV Android for RockPro64 Wizzard 12 13,121 04-24-2022, 08:13 AM
Last Post: Rocklobster
  DRM support in Android Wizzard 2 3,200 02-03-2022, 09:16 PM
Last Post: Johnmo89
  Install Playstore on Android 8.1.0 Domo 14 27,279 04-16-2021, 02:13 AM
Last Post: Wizzard
  Install Playstore on Android 7.1.2 Domo 6 15,727 04-16-2021, 02:10 AM
Last Post: Wizzard
  Kodi crashing in Android 9 Wizzard 2 4,476 04-16-2021, 02:03 AM
Last Post: Wizzard

Forum Jump:


Users browsing this thread: 1 Guest(s)