[ROOT NEEDED] [Fire Stick 2] [GAPPS] Install WORKING GApps on Fire Stick 2.

Search This thread

Pix12

Senior Member
Dec 20, 2015
328
34
YOU NEED TO BE ROOTED TO DO THIS OR ELSE YOU WON'T GET ANY RESULTS!
Here's how to install a working Google Play Store without any error 406, a full Leanback Launcher complete with suggestions and settings, and a fully working Google search with mic!​

BEFORE YOU START​
You need to first follow the Playing with Fire guide, but please delete the wifi direct xml from the tar.gz first so the remote and wifi will work.​

Now for the tweaking!​
Please install the XInstaller XPosed module and enable it.
And please enable downgrading apps in the Installations menu in XInstaller.​

GOOGLE APP​
Now, you want to download this version of the Google App and install it with the Downgrade App toggle you enabled.
Now you will have working Google Search.​

LEANBACK LAUNCHER + SETTINGS​
Now for Leanback Launcher. Playing With Fire already installed the TvSettings but this version of it doesn't work very well.
Download this version of TvSettings from aftv2atv. Now do these commands to install it.
Code:
adb push TvSettings.apk /sdcard/
adb shell 
su 
mount -o rw,remount /system
rm /system/priv-app/TvSettings/TvSettings.apk
mkdir /system/priv-app/TvSettings
chmod 755 /system/priv-app/TvSettings
chown root:root /system/priv-app/TvSettings
mv /sdcard/TvSettings.apk /system/priv-app/TvSettings/
cd /system/priv-app/TvSettings/
chown root:root TvSettings.apk
Now you will have a better Settings app. Now for the main launcher.
Download Leanback Launcher and rename it to TvLauncher.apk
Now do these commands.
Code:
adb shell 
su 
mount -o rw,remount /system
mkdir /system/priv-app/TvLauncher
chmod 755 /system/priv-app/TvLauncher
chown root:root /system/priv-app/TvLauncher
mv /sdcard/TvLauncher.apk /system/priv-app/TvLauncher/
cd /system/priv-app/TvLauncher/
chown root:root TvLauncher.apk
Now you should have a working Leanback Launcher with settings and suggestions!​

GOOGLE PLAY STORE​
Now for the main event, the Google Play Store! Download the Play Store mod I made and install it.
It might crash on launch, if it does, go into settings, go to apps, select Play Store from System Applications, and clear data. You'll do this every time it crashes.
Now you have the full Play Store!

CONCLUSION
If you read this through and followed the steps, you should have all of these fully working.
Enjoy your Googlified Fire Stick 2!​
 

Attachments

  • LeanbackSug.jpg
    LeanbackSug.jpg
    78.7 KB · Views: 3,795
  • LeanbackSet.png
    LeanbackSet.png
    84.8 KB · Views: 3,829
  • PlayStoreInstall.jpg
    PlayStoreInstall.jpg
    76.5 KB · Views: 3,799
  • Google.jpg
    Google.jpg
    72 KB · Views: 3,509
Last edited:

Pix12

Senior Member
Dec 20, 2015
328
34
Awesome, can't wait to try this tomorrow.

---------- Post added at 07:12 PM ---------- Previous post was at 07:05 PM ----------

Sorry to ask a question to soon but the title says firestick 2 and the playing with fire thread says it works on fire tv 2 box. Is it fair to assume it will work for that too or just the firestick 2?

It works, make sure to use the ARM versions.
 
It works, make sure to use the ARM versions.

Now I'm confused, in the instructions for Lazyv4 it says: "Step One: Required Files - Download the following files. For some of these I will have listed two versions (ARM) and (ARM64) so make sure you pick the version that's appropriate for the architecture of your CPU. FireTV-v1 (ARM) & FireTV-v2 (ARM64)."
 

JJ2017

Senior Member
Jan 7, 2017
97
56
Huawei P20 Pro
Thanks for the post @Pix12.
Do you have any extra advice for the Google Play login on Fire Box 2nd gen? I followed the guide above - your Play Store mod won't install (and the old apk you recommend on Playing Fire thread will install but still won't allow Google login)

Btw- I think you forgot to include an 'adb push Tvlauncher.apk' line in your guide. Cheers.

EDIT: Worked it out: - so re-installing Google Play Services fixed login issue. I used an apk uploaded Aug'18 (https://www.apkmirror.com/apk/googl...3-2-78-080406-210410490-android-apk-download/) and used the Google Play apk mentioned here: https://xdaforums.com/showpost.php?p=79117328&postcount=279 (thanks @Pix12)

EDIT#2: Giving up on both Fire Stick 2 (tank) & Fire TV box 2 (sloane) mods - i.e. insert Google Playstore. 'Playing with Fire' mod doesn't work reliably anymore and I can't get the method outlined in this OP to fix it (although I did make some progress with the recommended XInstaller module - it was patchy to say the least). Hopefully a Dev on here will work it out properly but it's well beyond me. Need a new, less frustrating project.....
 
Last edited:

Pix12

Senior Member
Dec 20, 2015
328
34
Thanks for the post @Pix12.
Do you have any extra advice for the Google Play login on Fire Box 2nd gen? I followed the guide above - your Play Store mod won't install (and the old apk you recommend on Playing Fire thread will install but still won't allow Google login)

Btw- I think you forgot to include an 'adb push Tvlauncher.apk' line in your guide. Cheers.

EDIT: Worked it out: - so re-installing Google Play Services fixed login issue. I used an apk uploaded Aug'18 (https://www.apkmirror.com/apk/googl...3-2-78-080406-210410490-android-apk-download/) and used the Google Play apk mentioned here: https://xdaforums.com/showpost.php?p=79117328&postcount=279 (thanks @Pix12)

You need to use the XInstaller module to be able to force downgrade.
 

buffchickenn

Member
Feb 20, 2019
9
0
So I saw installed those files for the launcher And the settings. However nothing happened. Whenever I disable Amazons launcher nothingLeanback Launcher will launch but after both files are installed my settings disappeared for the it. I was trying to do this on a fire tv 2. So maybe the files are different or something just not sure what I should do
 

Eyedoctor2

Senior Member
Oct 21, 2007
134
35
Now that the fire tv 2 on the latest firmware has been rooted, https://xdaforums.com/fir...2-box-t3908387, it would be great if google play store could also be installed. Could you please provide a tutorial to add only this feature? Personally not interested in changing the launcher or the other interesting features in your guide. Congratulations on what you have been able to accomplish. Hopefully Amazon doesn't hire you away from us.
 

SoulInfernoDE

Member
Nov 20, 2014
34
12
Thanks for this. Is there a way to install this using Magisk GApps (MagicGApps module) and without Xposed?
..i don't know the correct configuration yet that could work? ..anyone? :)

I have installed it with the gapps-config mentioned but getting black screen after booting. (Guess original launcher cant start?)
 

Pix12

Senior Member
Dec 20, 2015
328
34
Now that the fire tv 2 on the latest firmware has been rooted, https://xdaforums.com/fir...2-box-t3908387, it would be great if google play store could also be installed. Could you please provide a tutorial to add only this feature? Personally not interested in changing the launcher or the other interesting features in your guide. Congratulations on what you have been able to accomplish. Hopefully Amazon doesn't hire you away from us.

Yeah, you can just do the Play Store part of it, in fact, the Playing with Fire guide contains a gapps-config that only includes the bare minimum.
 

Eyedoctor2

Senior Member
Oct 21, 2007
134
35
Yeah, you can just do the Play Store part of it, in fact, the Playing with Fire guide contains a gapps-config that only includes the bare minimum.

I have tried to read through most of that post and also searched through it but I can't find anywhere that details a method of installing the play store only. Can you please point me in the right direction?

I know from other threads that there is a definite demand for this functionality.
 
  • Like
Reactions: eelsid

eelsid

Senior Member
Jan 23, 2017
130
63
OnePlus 7 Pro
When trying to install your modded play store I get the following error. I do have the Xinstaller module enabled with downgrading apps selected:
$ adb install PlayTVMod4FTVS2.apk
PlayTVMod4FTVS2.apk: 1 file pushed. 5.0 MB/s (24434423 bytes in 4.689s)
pkg: /data/local/tmp/PlayTVMod4FTVS2.apk

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
 

Pix12

Senior Member
Dec 20, 2015
328
34
When trying to install your modded play store I get the following error. I do have the Xinstaller module enabled with downgrading apps selected:
$ adb install PlayTVMod4FTVS2.apk
PlayTVMod4FTVS2.apk: 1 file pushed. 5.0 MB/s (24434423 bytes in 4.689s)
pkg: /data/local/tmp/PlayTVMod4FTVS2.apk

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

Oh, you need to tick the disable signature check option.
 

eelsid

Senior Member
Jan 23, 2017
130
63
OnePlus 7 Pro
Oh, you need to tick the disable signature check option.

I disabled signature checking in XINstaller however I'm not able to install either through adb or pm, I get the following error when installing from the adb shell:

# pm install /sdcard/PlayTVMod4FTVS2.apk
pkg: /sdcard/PlayTVMod4FTVS2.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]

I already have com.android.vending installed in /system/priv-app/PhoneskyKamikazeCanvas as installed by open Gapps (the version linked in the "playing with fire" thread. I would expect the apk to simply update the system app however it's seeing it as a duplicate. I am able to install it via "pm install -r" to replace it but this breaks play store altogether with a host of permissions errors in logcat.

Using only the gapps version installed in priv-app, with no apk installed under /data/app, I am able to sign into play store and install an app, however after that point I am not able to install any more apps, when I click install I get error code 406.
 
Last edited:

Pix12

Senior Member
Dec 20, 2015
328
34
I disabled signature checking in XINstaller however I'm not able to install either through adb or pm, I get the following error when installing from the adb shell:

# pm install /sdcard/PlayTVMod4FTVS2.apk
pkg: /sdcard/PlayTVMod4FTVS2.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]

I already have com.android.vending installed in /system/priv-app/PhoneskyKamikazeCanvas as installed by open Gapps (the version linked in the "playing with fire" thread. I would expect the apk to simply update the system app however it's seeing it as a duplicate. I am able to install it via "pm install -r" to replace it but this breaks play store altogether with a host of permissions errors in logcat.

Using only the gapps version installed in priv-app, with no apk installed under /data/app, I am able to sign into play store and install an app, however after that point I am not able to install any more apps, when I click install I get error code 406.

XInstaller only works with installing on the system without adb or shell commands, Try pushing it to the sdcard and installing it with a file explorer.
 

thecdman

Member
Feb 28, 2014
14
0
Backup image

Hello @Pix12 thank you for your guide, i have tried everything to get this to work but cant, would it be possible for you to make a backup of your fully set up stick in twrp, put it in a zip and upload it to mega for me to install to my stick? ( I know this method works as i have tested it to clone a stick you just have to change the serial number to yours on the backup folder before restoring in twrp ) it would be a great help if you could! Thanks in advance @Pix12
 

fax88

Member
Feb 28, 2007
7
2
Can you please upload the version of the opengapps you are using. All versions older than a couple months are not on their git anymore. Using the gapps-config.txt. I'm not able to install with the "tvlauncher" flag, It only installs the launcher when I add "leanbacklauncher" thus it creates the "leanbacklauncher" folder in /system/priv-app/. vs "TVlauncher" This is the reason why I'm wondering if the opengapps versions have changed. When I followed your instructions this the TVsettings disappeared alltogether from the home screen.
 
Jun 5, 2015
45
1
Hello @Pix12 thank you for your guide, i have tried everything to get this to work but cant, would it be possible for you to make a backup of your fully set up stick in twrp, put it in a zip and upload it to mega for me to install to my stick? ( I know this method works as i have tested it to clone a stick you just have to change the serial number to yours on the backup folder before restoring in twrp ) it would be a great help if you could! Thanks in advance @Pix12

Same request! It would help a lot :D
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    YOU NEED TO BE ROOTED TO DO THIS OR ELSE YOU WON'T GET ANY RESULTS!
    Here's how to install a working Google Play Store without any error 406, a full Leanback Launcher complete with suggestions and settings, and a fully working Google search with mic!​

    BEFORE YOU START​
    You need to first follow the Playing with Fire guide, but please delete the wifi direct xml from the tar.gz first so the remote and wifi will work.​

    Now for the tweaking!​
    Please install the XInstaller XPosed module and enable it.
    And please enable downgrading apps in the Installations menu in XInstaller.​

    GOOGLE APP​
    Now, you want to download this version of the Google App and install it with the Downgrade App toggle you enabled.
    Now you will have working Google Search.​

    LEANBACK LAUNCHER + SETTINGS​
    Now for Leanback Launcher. Playing With Fire already installed the TvSettings but this version of it doesn't work very well.
    Download this version of TvSettings from aftv2atv. Now do these commands to install it.
    Code:
    adb push TvSettings.apk /sdcard/
    adb shell 
    su 
    mount -o rw,remount /system
    rm /system/priv-app/TvSettings/TvSettings.apk
    mkdir /system/priv-app/TvSettings
    chmod 755 /system/priv-app/TvSettings
    chown root:root /system/priv-app/TvSettings
    mv /sdcard/TvSettings.apk /system/priv-app/TvSettings/
    cd /system/priv-app/TvSettings/
    chown root:root TvSettings.apk
    Now you will have a better Settings app. Now for the main launcher.
    Download Leanback Launcher and rename it to TvLauncher.apk
    Now do these commands.
    Code:
    adb shell 
    su 
    mount -o rw,remount /system
    mkdir /system/priv-app/TvLauncher
    chmod 755 /system/priv-app/TvLauncher
    chown root:root /system/priv-app/TvLauncher
    mv /sdcard/TvLauncher.apk /system/priv-app/TvLauncher/
    cd /system/priv-app/TvLauncher/
    chown root:root TvLauncher.apk
    Now you should have a working Leanback Launcher with settings and suggestions!​

    GOOGLE PLAY STORE​
    Now for the main event, the Google Play Store! Download the Play Store mod I made and install it.
    It might crash on launch, if it does, go into settings, go to apps, select Play Store from System Applications, and clear data. You'll do this every time it crashes.
    Now you have the full Play Store!

    CONCLUSION
    If you read this through and followed the steps, you should have all of these fully working.
    Enjoy your Googlified Fire Stick 2!​
    1
    Yeah, you can just do the Play Store part of it, in fact, the Playing with Fire guide contains a gapps-config that only includes the bare minimum.

    I have tried to read through most of that post and also searched through it but I can't find anywhere that details a method of installing the play store only. Can you please point me in the right direction?

    I know from other threads that there is a definite demand for this functionality.