Fire TV Stick 2/4K Launcher replacement ROOT

Search This thread


---------- Post added at 02:29 PM ---------- Previous post was at 02:24 PM ----------

ADB work in TWRP, just use the original USB cable, not an OTG one.

That was the problem, I was using an OTG. Bonehead move. Thank you very much. Thank you to evetyone for the help. Learned something new.
 
Last edited:

Pachacouti

Senior Member
Jul 8, 2020
389
92
55
The Capital above the Lower one...
Aah!

No, no no, the virus was an android virus, i traced it to somewhere in ukraine, and blocked it in my tomato router, I never suggested this leanbacklauncher was the culprit, please dont get me wrong, I was only wondering where the zips in the first page went, because after clearing the virus by reflashing, i had a difficult time redoing this launcher, thankfully when I first downloaded the zips in the first post of this thread, I saved a backup, phew, no biggie, but was at the time!

Ps, how to change the background pic?
 

kendzlic

Member
Jun 23, 2008
45
0

0815hoffi

Senior Member
Dec 22, 2019
454
142
Munich
github.com
Thank you, I really appreciate the help. The more examples the better. I will see what I can come up with. I do have one question though, what is contained within your debloat sh file you are pushing to the device?

Attached
Debloat.sh
and all my other
Tools/Scripts
Firetv4kconfigtools.zip.
 

Attachments

  • disableBloat.sh.txt
    3.8 KB · Views: 60
  • firetv4kconfigtools.zip
    15.8 MB · Views: 70
Last edited:

TimmyP

Senior Member
Mar 5, 2008
554
109
Just root and use FTVLaunchX. Re-grant security ($ pm grant de.codefaktor.ftvlaunchx android.permission.WRITE_SECURE_SETTINGS from pc adb). I think this is easiest for people who want home button back.

EDIT: Just did it on debloated 6.2.7.3, had to restart a couple times. It defintely works. It will popup asking you to select a home launcher. It *may* be the Amazon_Launcher_Replacer working in tandem.
 
Last edited:

sjude68

Member
Apr 9, 2013
21
0
screen is blank

After Tests i found out , you can replace amazon launcher without other Tools.

Please test if you want.

1 install launcher of your choice.

Boot twrp.

adb shell mount -o rw /system

Backup Apps
adb shell "cp /system/priv-app/com.amazon.firehomestarter/com.amazon.firehomestarter.apk /sdcard/"

adb shell "cp /system/priv-app/com.amazon.tv.launcher/com.amazon.tv.launcher.apk /sdcard/"

Delete amazon launcher.

adb shell "rm -r /data/app/com.amazon.tv.launcher-1/"

adb shell "rm -r /data/app/com.amazon.firehomestarter/"

adb shell "rm -r /data/data/com.amazon.tv.launcher/"

adb shell "rm -r /data/data/com.amazon.firehomestarter/"

adb shell "rm /system/priv-app/com.amazon.firehomestarter/com.amazon.firehomestarter.apk"

adb shell "rm /system/priv-app/com.amazon.tv.launcher/com.amazon.tv.launcher.apk"

adb push NewSettingsRoot.apk /sdcard/NewSettingsRoot.apk

adb shell "mkdir /system/priv-app/NewSettingsRoot/"
adb shell "chmod 0775 /system/priv-app/NewSettingsRoot/"
adb shell "chown root:root /system/priv-app/NewSettingsRoot/"

adb shell "cp /sdcard/NewSettingsRoot.apk /system/priv-app/NewSettingsRoot/NewSettingsRoot.apk"
adb shell "chmod 644 /system/priv-app/NewSettingsRoot/NewSettingsRoot.apk"

adb shell reboot


Workaround : The Settings app. Requires root



Amazon_Launcher_Replacement.zip works also in 6.2.7.3.

Thanks at @yurividal for the Hint.


I followed the above procedure. After booting the firestick the launcher is disabled. But I am getting a blank screen.
Pressing Home key on the remote gets the screen where apps, sleep, mirroring and settings is available. I cannot open any apps and the settings also gives a blank screen.
How do I install the app for the launcher.
 

0815hoffi

Senior Member
Dec 22, 2019
454
142
Munich
github.com
Point 1.
Install Launcher of your choice.

Maybe Wolf Launcher
https://xdaforums.com/showpost.php?p=83215549&postcount=381

https://xdaforums.com/attachment.php?attachmentid=5074645&d=1596687827

#adb install Wolf_Launcher_0.1.6-FireTV.apk

Or in TWRP.

adb shell mount -o rw /system
adb push Wolf_Launcher_0.1.6-FireTV.apk /sdcard/WolfLauncher.apk

adb shell "mkdir /system/priv-app/WolfLauncher/"
adb shell "chmod 0775 /system/priv-app/WolfLauncher/"
adb shell "chown root:root /system/priv-app/WolfLauncher/"

adb shell "cp /sdcard/WolfLauncher.apk /system/priv-app/WolfLauncher/WolfLauncher.apk"
adb shell "chmod 644 /system/priv-app/WolfLauncher/WolfLauncher.apk"

adb shell reboot
 
Last edited:

TimmyP

Senior Member
Mar 5, 2008
554
109
Why do all that? ^^^ Just install Wolf .16 or Tv Launcher 3, or any launcher that Android detects as a launcher (wolf was missing this until last version, so it didnt invoke the menu).

Use FTVLaunch, set permissions, select launcher, reboot, Android menu pops up, tell it to use your launcher "always," works every time. Might have to select Launcher 2x in FTVx (I think it is just used for booting, since the native launcher picker pops up).
 

0815hoffi

Senior Member
Dec 22, 2019
454
142
Munich
github.com
native launcher picker only pops up if you disable or remove com.amazon.firehomestarter and com.amazon.tv.launcher

Then no need to use FTVLaunchx....

But you lost Settings and Store.

For Settings use my NewSettingsRoot.apk

My Amazon_Launcher_Replacement.zip delete also
com.amazon.firehomestarter and com.amazon.tv.launcher.
 
Last edited:

SpaceMan5

Member
May 2, 2015
9
2
After i did this voice searching new apps doesn't work.. is there a workaround for this or is that only avail with the stock launcher?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Store and Voice input will be lost.


    1, Install Launcher of your choice. ( adb install 123launcher.apk )

    2, adb shell su -c "pm disable-user --user 0 com.amazon.tv.launcher"
    wait 5 seconds

    3, adb shell su -c "pm disable-user --user 0 com.amazon.firehomestarter"
    wait 5 seconds

    5, adb shell reboot

    6, adb install com.markus.firetools-1.2.apk (to access Settings "allow Root" )


    #########

    Disable OTA Updates:

    adb shell "su -c pm disable com.amazon.tv.forcedotaupdater.v2"
    adb shell "su -c pm disable com.amazon.device.software.ota"
    adb shell "su -c pm disable com.amazon.device.software.ota.override"
    adb shell "pm clear com.amazon.device.software.ota"

    ########

    to restore the Amazon Launcher

    adb shell su -c "pm enable com.amazon.firehomestarter"
    wait 4 seconds
    adb shell su -c "pm enable com.amazon.tv.launcher"
    3
    TWRP Flashable Zip for 4k 6.2.7.3 if anyone wont try.

    Not tested. Own Risk.
    3
    This is what worked for me on a fire stick 2nd gen

    NewSettingsRoot.apk
    adb push NewSettingsRoot.apk /sdcard/NewSettingsRoot.apk
    adb shell su -c mount -o remount,rw /system
    adb shell su -c mkdir /system/priv-app/NewSettingsRoot/
    adb shell su -c chmod 0775 /system/priv-app/NewSettingsRoot/
    adb shell su -c chown root:root /system/priv-app/NewSettingsRoot/
    adb shell su -c cp /sdcard/NewSettingsRoot.apk /system/priv-app/NewSettingsRoot/NewSettingsRoot.apk
    adb shell su -c chmod 644 /system/priv-app/NewSettingsRoot/NewSettingsRoot.apk
    adb shell su -c mount -o remount,ro /system
    adb shell su -c rm /sdcard/NewSettingsRoot.apk
    adb shell pm grant com.markus.firetools android.permission.WRITE_SECURE_SETTINGS

    adb shell pm grant com.amazon.tv.leanbacklauncher android.permission.WRITE_SECURE_SETTINGS
    2
    Amazon_Launcher_Replacement.zip works also in 6.2.7.3.

    Thanks at @yurividal for the Hint.
    2
    Thank you, I really appreciate the help. The more examples the better. I will see what I can come up with. I do have one question though, what is contained within your debloat sh file you are pushing to the device?

    Attached
    Debloat.sh
    and all my other
    Tools/Scripts
    Firetv4kconfigtools.zip.