FORUMS
Remove All Ads from XDA

[GUIDE][ROOT] Play Store on Fire TV

10 posts
Thanks Meter: 7
 
By Bracket-, Junior Member on 21st February 2018, 08:13 PM
Post Reply Email Thread
Requirements:
  • TWRP recovery or equivalent
  • Root access
  • Android Debug Bridge (adb)
  • Know how to connect to device through adb (USB, network)
  • Ability to extract tar, lz and zip archives (7-Zip, Lzip)
  • Allowed apps from unknown sources through Fire OS
  • Ability to launch system apps (ES File Explorer, FireStarter)
  • USB or bluetooth mouse helps but is not required

Installation:
  1. Install Xposed and the HDXPosed module
  2. Download and install Open GApps ARM64, 5.1, pico using TWRP recovery
  3. Download Google Play Store (Android TV) and rename APK to Phonesky.apk
  4. Create a temporary folder on your Fire TV:
    Code:
    adb shell mkdir -p /sdcard/gtmp/lib/
  5. Push Phonesky.apk to your Fire TV:
    Code:
    adb push Phonesky.apk /sdcard/gtmp/
  6. Extract Core/gmscore-arm64.tar.lz and Core/gsflogin-all.tar.lz from the Open GApps archive obtained during step #2
  7. Extract the contents of gmscore-arm64.tar.lz and gsflogin-all.tar.lz
  8. Push these newly extracted files to your Fire TV:
    Code:
    adb push gsflogin-all/nodpi/priv-app/GoogleLoginService/GoogleLoginService.apk /sdcard/gtmp/
    adb push gmscore-arm64/nodpi/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk /sdcard/gtmp/
    adb push gmscore-arm64/common/priv-app/PrebuiltGmsCore/lib/arm64/* /sdcard/gtmp/lib/
  9. Enter adb shell and run su for root
  10. Mount the /system partition with rw access
    Code:
    mount -o remount,rw /system
  11. Create missing directories that Open GApps failed to create:
    Code:
    mkdir /system/priv-app/Phonesky
    mkdir /system/priv-app/GoogleLoginService
    mkdir -p /system/priv-app/PrebuiltGmsCore/lib/arm64
  12. Copy the missing APKs and libraries to their proper locations:
    Code:
    cp /sdcard/gtmp/Phonesky.apk /system/priv-app/Phonesky/
    cp /sdcard/gtmp/GoogleLoginService.apk /system/priv-app/GoogleLoginService/
    cp /sdcard/gtmp/PrebuiltGmsCore.apk /system/priv-app/PrebuiltGmsCore/
    cp /sdcard/gtmp/lib/* /system/priv-app/PrebuiltGmsCore/lib/arm64/
  13. Change the permissions for the newly created files and directories:
    Code:
    chmod 755 /system/priv-app/{GoogleLoginService/,Phonesky/,PrebuiltGmsCore/,PrebuiltGmsCore/lib/,PrebuiltGmsCore/lib/arm64/}
    chmod 644 /system/priv-app/Phonesky/Phonesky.apk
    chmod 644 /system/priv-app/GoogleLoginService/GoogleLoginService.apk
    chmod 644 /system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
    chmod 644 /system/priv-app/PrebuiltGmsCore/lib/arm64/*
  14. Remove the temporary folder:
    Code:
    rm -r /sdcard/gtmp/
  15. Exit adb shell
  16. Download Google Play services (Android TV), variant 846 (8 for Android TV, 4 for arm64-v8a, 6 for 320 dpi) and rename APK to com.google.android.gms.apk
  17. Download Google Account Manager 4.4.4 and rename APK to com.google.android.gsf.login_4.4.4.apk
  18. Install Google Play services (Android TV) and Google Account Manager 4.4.4 using adb:
    Code:
    adb install 'com.google.android.gms.apk'
    adb install -r -d 'com.google.android.gsf.login_4.4.4.apk'
  19. Disconnect adb and reboot Fire TV
  20. Connect to adb, enter adb shell and run su
  21. Mount the /system partition as ro
    Code:
    mount -o remount,ro /system
  22. Exit adb shell and disconnect adb

Play Store Setup:
  1. Launch Google Play Store. Play Store is a system app and requires a program such as ES File Explorer or FireStarter to launch.
  2. Login to your Google account. You should be able to fully navigate this version of Google Account Manager with the Fire remote, but a mouse can be helpful.
  3. Play Store should have launched and you can now install Android TV apps and use apps that require Play Store or Google accounts.

Credits:
AFTVnews for their Play Store guide
guyHalestorm for his updated AFTVnews Play Store guide
The Following 5 Users Say Thank You to Bracket- For This Useful Post: [ View ] Gift Bracket- Ad-Free
 
 
21st February 2018, 08:14 PM |#2  
OP Junior Member
Thanks Meter: 7
 
More
I created this because guyHalestorm's guide was getting pretty outdated and wanted a better guide for the next time I have to install Play Store instead of referencing multiple guides, comments and updating commands.

Notes:
  • I omitted some very, very basic things from the guide such as how to use adb, extract archives, and launch system apps from specific apps due to the guide already being very long and most XDA users should be familiar with these or can be easily learned from Google.
  • Windows users may have to replace forward slashes (/) with back slashes (\) in paths depending on their shell.
  • I only tested this on my Fire TV 2 but I don't see why this wouldn't work on other Fire TV devices with root. I didn't personally test this 1:1 since I already installed Play Store, so let me know there's problems.
The Following User Says Thank You to Bracket- For This Useful Post: [ View ] Gift Bracket- Ad-Free
21st February 2018, 08:32 PM |#3  
BIOYAM's Avatar
Senior Member
Flag Florida
Thanks Meter: 145
 
More
Oh wow, thanks for this. I will try this out when I get home tonight.
22nd February 2018, 01:42 AM |#4  
Junior Member
Thanks Meter: 6
 
More
Proved on Fire OS [5.2.6.2_r1] and it's working fine.
22nd February 2018, 07:57 AM |#5  
OP Junior Member
Thanks Meter: 7
 
More
Made a couple changes to the guide which are hopefully the last:
  • Fixed minor typos
  • Fixed Phonesky.apk source directory path in cp command (command would have failed)
  • Greatly simplified push and copy commands which should also improve future Open GApps compatibility
  • Corrected directory and file permissions (chmod) which may have worked before but were incorrect and possibly insecure. If you've followed the guide before, do step 9 & 10, 13 and then 21 & 22
The Following User Says Thank You to Bracket- For This Useful Post: [ View ] Gift Bracket- Ad-Free
20th March 2018, 03:36 PM |#6  
Junior Member
Thanks Meter: 0
 
More
ok solved done
22nd March 2018, 06:48 PM |#7  
Senior Member
Thanks Meter: 32
 
More
Anyone tested this on Fire TV 3?
31st March 2018, 01:00 AM |#8  
Senior Member
Flag Chicago
Thanks Meter: 49
 
More
Quote:
Originally Posted by StDevious

Anyone tested this on Fire TV 3?

Doesn't work on Fire TV 3 bro. There's no root for us v3 users. :'(
5th June 2018, 05:14 PM |#9  
Member
Flag Near Frankfurt
Thanks Meter: 88
 
More
First of all thank you @Bracket- for the guide

I have done Everything exactly like the guide
but i can't open the playstore.
When i open it, it loads for few seconds and then it close.
Do you have or anybody else here have an idea why this happens?
My system: Fire TV 2, 5.2.6.2 rooted, xposed and hdxposed installed
5th June 2018, 05:43 PM |#10  
rainman74's Avatar
Senior Member
Flag Munich
Thanks Meter: 132
 
More
Quote:
Originally Posted by chris-89

First of all thank you @Bracket- for the guide

I have done Everything exactly like the guide
but i can't open the playstore.
When i open it, it loads for few seconds and then it close.
Do you have or anybody else here have an idea why this happens?
My system: Fire TV 2, 5.2.6.2 rooted, xposed and hdxposed installed

If you already have root, this guide is much too complicated

Simply modify build.prop and then install the appropriate GApps and you have the complete Play Store & Services available.

Take a look around: here

You only need these steps:
  • 2. Customize build.prop
  • 4. Install Open Google apps for Android TV (the newest version works fine)
  • 5. Allow Google registration (NoTouchAuthDelegate)

Prerequisites:
XposedInstaller-3.1.5.apk (install Xposed v89+)
HDXPosed-1.3.apk
BusyBox
The Following User Says Thank You to rainman74 For This Useful Post: [ View ] Gift rainman74 Ad-Free
5th June 2018, 09:33 PM |#11  
Member
Flag Near Frankfurt
Thanks Meter: 88
 
More
Quote:
Originally Posted by rainman74

If you already have root, this guide is much too complicated

Simply modify build.prop and then install the appropriate GApps and you have the complete Play Store & Services available.

Take a look around: here

You only need these steps:
2. Customize build.prop
4. Install Open Google apps for Android TV (the newest version works fine)
5. Allow Google registration (NoTouchAuthDelegate)


Prerequisites:
XposedInstaller-3.1.5.apk (install Xposed v89+)
HDXPosed-1.3.apk
BusyBox

Thanks for you help
I will do this tomorrow.
Short question: do i need also the gapps-config.txt or not?
And when i need it, what did i need for using only the playstore and services?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes