Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Android] How to install Google App for rk3399

28

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
28

【Android】 How to install Google App for rk3399

Posted at 1/12/2021 02:17:56      View:5014 | Replies:3        Print      Only Author   [Copy Link] 1#
Hello
How to install Google App for rk3399?
Reply

Use props Report

28

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
28
Posted at 1/12/2021 02:31:10        Only Author  2#
android 7.12
Reply

Use props Report

150

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
150
Posted at 2/21/2021 17:41:14        Only Author  3#
Install Google Play Store on Android 8.1.0

After trying all sorts of methods to get google play store on ROC-RK3399-PC, I finally found a method that works!

Required: Working ADB
Download playstore files for Android 8.1.0 and Device_ID.apk from here: https://mega.nz/#F!AQFWHQRb!CtZaS3cU0PCzTELrHZRrUg
Tested on this image: sd_ROC-RK3399-PC_Android8.1.0_DEFAULT_181025.img

On ROC-RK3399-PC, launch Settings -> System -> About tablet

Tab on Build number 7 times to activate Developer mode
Settings -> System -> Developer options

Turn on Root access for ADB
Turn on USB debugging
Turn on ADB over network (Note the IP)
On your PC with working ADB, extract the contents of the playstore_files.zip into a directory

Save Device_ID.apk into the same directory

Open a shell with root/admin privileges

adb connect <IP of the device from Debugging section earlier>

adb root

adb connect <IP of the device from Debugging section earlier>

adb remount

adb push playstore.apk /system/priv-app/

adb push playservices.apk /system/priv-app/

adb push gsf.apk /system/priv-app/

adb install -r gsf.apk

adb install -r playservices.apk

adb install -r playstore.apk

adb install Device_ID.apk

adb push libAppDataSearch.so /system/lib/

adb push libconscrypt_gmscore_jni.so /system/lib/

adb push libgcastv2_base.so /system/lib/

adb push libgcastv2_support.so /system/lib/

adb push libgmscore.so /system/lib/

adb push libgoogle-ocrclient-v3.so /system/lib/

adb push libjgcastservice.so /system/lib/

adb push libjingle_peerconnection_so.so /system/lib/

adb push libleveldbjni.so /system/lib/

adb push libnative.so /system/lib/

adb push libsslwrapper_jni.so /system/lib/

adb push libvcdiffjni.so /system/lib/

adb push libwearable-selector.so /system/lib/

adb push libWhisper.so /system/lib/

Reboot ROC-RK3399-PC

Launch Settings -> Apps and give all the permissions to the 3 apks we installed

Reconnect via ADB again and enter the commands below to prevent occasional Google Play Services errors:

adb shell

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

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

Reboot ROC-RK3399-PC again

Launch Device ID and note the GSF ID

Log into https://www.google.com/android/uncertified/ and register the GSF ID to your account

Reboot ROC-RK3399-PC again

Settings -> System -> Developer options

Turn off Root access for ADB
Turn off ADB over network
Turn off USB debugging
It is not perfect... some apps will launch sideways and I still get pesky uncertified warnings even after I registered the GSF ID. Also GSF ID changes every time you flash and reinstall again so be sure to register every time. At least I could log into Play Store and download purchased apps. Hope this helps!

Checked on Firefly-RK3399 and ROC-RK3399-PC.
Reply

Use props Report

93

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
93
Posted at 3/1/2021 21:32:40        Only Author  4#
You could also consider the alternative : microg.org
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list