[ROM] [unlocked] [tank] LineageOS 12.1

Search This thread

hasobist

Senior Member
Feb 1, 2021
64
18
Hello
This is what I do
Wipe cache+Dalvik+System+Data
Flash
Pre-rooted image good to go for the latest like 5.2.7.3 Firetv tank
Magisk
Busy box
Wipe cache and Dalvik cache
Reboot and go through the registration.
Also go through the Rooting thread of Firetv tank will help.
Hope it helps.......
 

Marcyvee

Senior Member
Oct 9, 2015
322
34
Hello
Never tried casting using Lineage-12.1 OS check this link hope it helps
You may need Mouse toggle.
If using windows you can try vysor does help.
Edit: In the forum someone did mention about casting ain't remember the post if found will update you........
Installed as standard app doesn't work.
How to install it as a system app through ADB?
I need to connect a mouse but I haven't an Y cable. I tried this app: it works on an android tv with android 8.0.0, but I can't pair my phone with lineageos 12 on the firestick.
 

hasobist

Senior Member
Feb 1, 2021
64
18
Installed as standard app doesn't work.
How to install it as a system app through ADB?
I need to connect a mouse but I haven't an Y cable. I tried this app: it works on an android tv with android 8.0.0, but I can't pair my phone with lineageos 12 on the firestick.
Hello see if this works it's all trial and error and see what best works as said read the posts in this thread someone did mention.
LineageOS 12.1 Firetv tank has pairing devices problem never worked for me either.
Vysor works well for me PC to TV .

[APP] SecondScreen - Eliminate lag when Miracasting your phone to Fire Tv/Stick​

Hope it helps.......
 
Last edited:

hasobist

Senior Member
Feb 1, 2021
64
18
Hello see if this works it's all trial and error and see what best works as said read the posts in this thread someone did mention.
LineageOS 12.1 Firetv tank has pairing devices problem never worked for me either.
Vysor works well for me PC to TV .

[APP] SecondScreen - Eliminate lag when Miracasting your phone to Fire Tv/Stick​

Hope it helps.......
Thread '[APP] SecondScreen - Eliminate lag when Miracasting your phone to Fire Tv/Stick' https://forum.xda-developers.com/t/...acasting-your-phone-to-fire-tv-stick.3129770/
 

Marcyvee

Senior Member
Oct 9, 2015
322
34
Thread '[APP] SecondScreen - Eliminate lag when Miracasting your phone to Fire Tv/Stick' https://forum.xda-developers.com/t/...acasting-your-phone-to-fire-tv-stick.3129770/
"This app doesn't do the casting"

Hello
Never tried casting using Lineage-12.1 OS check this link hope it helps
You may need Mouse toggle.
If using windows you can try vysor does help.
Edit: In the forum someone did mention about casting ain't remember the post if found will update you........

I tried to install it as a system app in system/priv-app or in system/app but nothing works. Even chown root it.
So, no third party method to cast from a phone?
Another question, do anyone tried to install YouTube Vanced?
 

hasobist

Senior Member
Feb 1, 2021
64
18
"This app doesn't do the casting"



I
tried to install it as a system app in system/priv-app or in system/app but nothing works. Even chown root it.
So, no third party method to cast from a phone?
Another question, do anyone tried to install YouTube Vanced?
Hello
Oh if find any will update ya.
Did you check the link shared?
just go through the same you'll find answers.
Vanced needs a mouse so difficult to navigate you can give it a try.
Try smart_tube works wonderful.
Hope it helps........
 
  • Like
Reactions: Marcyvee

Marcyvee

Senior Member
Oct 9, 2015
322
34
Hello
Oh if find any will update ya.
Did you check the link shared?
just go through the same you'll find answers.
Vanced needs a mouse so difficult to navigate you can give it a try.
Try smart_tube works wonderful.
Hope it helps........
I forgot, I found a solution for a mouse: I installed mouse toggle for android tv, which enable a pointer on the firestick. It works well and no need for any other app or devices.
Anyway, for native chrome casting nothing, for arm 5.1 tvstock gapps nothing, and YouTube Vanced won't install. Tomorrow I'll try to install an old version. Maybe it will work.

A little ot: what does playwithfire script do?
 

hasobist

Senior Member
Feb 1, 2021
64
18
I forgot, I found a solution for a mouse: I installed mouse toggle for android tv, which enable a pointer on the firestick. It works well and no need for any other app or devices.
Anyway, for native chrome casting nothing, for arm 5.1 tvstock gapps nothing, and YouTube Vanced won't install. Tomorrow I'll try to install an old version. Maybe it will work.

A little ot: what does playwithfire script do?
Hello
The android tv mouse toggle works well love the pointer go to accessibility and give it permissions in services better install it as system app.
Playwithfire is customizing the Fireos with regards to Launcher,settings,Gapps and appstore options etc and needs Fireos.
You have working Gapps for Lineageos 12.1 firetv tank.
Do you have Gapps installed and a working playstore?
Vanced try without the vanced manager only apk since you have mouse toggle installed you can have a play around as said smart tube works well without mouse toggle and ads.
 
  • Like
Reactions: Marcyvee

Marcyvee

Senior Member
Oct 9, 2015
322
34
Hello
The android tv mouse toggle works well love the pointer go to accessibility and give it permissions in services better install it as system app.
Playwithfire is customizing the Fireos with regards to Launcher,settings,Gapps and appstore options etc and needs Fireos.
You have working Gapps for Lineageos 12.1 firetv tank.
Do you have Gapps installed and a working playstore?
Vanced try without the vanced manager only apk since you have mouse toggle installed you can have a play around as said smart tube works well without mouse toggle and ads.
For the gapps, only the core package. Appstore and mouse toggle works flawlessly, the only thing I really miss is chromecasting.
 

Daimonion777

Member
Jan 2, 2020
32
2
Hello
This is what I do
Wipe cache+Dalvik+System+Data
Flash
Pre-rooted image good to go for the latest like 5.2.7.3 Firetv tank
Magisk
Busy box
Wipe cache and Dalvik cache
Reboot and go through the registration.
Also go through the Rooting thread of Firetv tank will help.
Hope it helps.......
Hello,
i've already done TWRP Wipe cache+Dalvik+System+Data and then
Flash prerooted zip 5.2.7.3 but unfortunately that doesn't work. I always get an error.
 

Daimonion777

Member
Jan 2, 2020
32
2
Hello folks,
Do you also have a problem with the connection of the Fire TV remote control?

Can't connect to Bluetooth remote control on version 12.1-20220120 and on version 12.1-20220214 😕

With version 12.1-20200927 everything still worked 🤔
 

hasobist

Senior Member
Feb 1, 2021
64
18
Hello folks,
Do you also have a problem with the connection of the Fire TV remote control?

Can't connect to Bluetooth remote control on version 12.1-20220120 and on version 12.1-20220214 😕

With version 12.1-20200927 everything still worked 🤔
Hello
You can pair the remote with the above version and later flash the latest version of Lineageos over and all's good or else change the batteries of remote and go pairing or can reset the remote and then try pairing or a reboot and give it a try should work,hope it helps.......
 

Sir Charles82

Senior Member
Sep 7, 2015
74
13
Vienna
I haven't figured out how to boot to TWRP...connected the stick to my computer but ADB doesn't see it...not even with the Amazon USB driver installed. I guess I have to put the stick back in his monitor and allow USB debugging and try it again.

So- self-reply: After many tries and errors and the installation of adbLink and the newest platform tools as well as buying a OTG Cable to connect a mouse to the FTVStick I managed to install the 5.1 TV package on my stick.
Some Tvthek-App is installing but don't show at the start screen, starting directly leads to program abortion but overall it works well :)
 

hasobist

Senior Member
Feb 1, 2021
64
18
So- self-reply: After many tries and errors and the installation of adbLink and the newest platform tools as well as buying a OTG Cable to connect a mouse to the FTVStick I managed to install the 5.1 TV package on my stick.
Some Tvthek-App is installing but don't show at the start screen, starting directly leads to program abortion but overall it works well :)
Hello which version of Lineage os are you using?
If your rooted you can use the inbuilt feature of magisk to boot into recovery or can use an app called quick boot or can use adblink to do the same and use Mouse to navigate.
The latest version ain't has the app drawer ,from the previous version install it as system app to show you all the apps as only the Android TV apps reflect at the start.
The Android TV apps work wonderful.
Hope it helps........
 

Sir Charles82

Senior Member
Sep 7, 2015
74
13
Vienna
Hello which version of Lineage os are you using?
If your rooted you can use the inbuilt feature of magisk to boot into recovery or can use an app called quick boot or can use adblink to do the same and use Mouse to navigate.
The latest version ain't has the app drawer ,from the previous version install it as system app to show you all the apps as only the Android TV apps reflect at the start.
The Android TV apps work wonderful.
Hope it helps........
Hello hasobist,

it's the "old" version of LOS 12.1, which came preinstalled on this stick I bought used, version 2020....something, as I have read in the topic that the newer builds can't pair with the remote.
Rebooting to recovery works perfectly fine, if the device is recognized, with "adb reboot recovery".

Mine version has the app drawer and shows the installed apps (also "ORF TVthek", the one, which doesn't start). Said ORF TVthek looks like it starts, screen turn black, turn back to App Drawer... no idea, why the app isn't working.
i have to try if it is working from browser...
 

hasobist

Senior Member
Feb 1, 2021
64
18
Hello hasobist,

it's the "old" version of LOS 12.1, which came preinstalled on this stick I bought used, version 2020....something, as I have read in the topic that the newer builds can't pair with the remote.
Rebooting to recovery works perfectly fine, if the device is recognized, with "adb reboot recovery".

Mine version has the app drawer and shows the installed apps (also "ORF TVthek", the one, which doesn't start). Said ORF TVthek looks like it starts, screen turn black, turn back to App Drawer... no idea, why the app isn't working.
i have to try if it is working from browser...
Hello
Which version of the app you have installed?
App needs Google play services installed.
If so try clearing the cache and data of the app boot into twrp try clearing cache and Dalvik cache and check if it works.
If ain't working try downloading the Android TV app ,you need to try different versions it helps.
Hope it helps........
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 35
    http%3A%2F%2Fi.picasion.com%2Fpic89%2F7652ffeccaa6bbdcda57289d991b093d.gif
    DISCLAIMER:
    We are not responsible for any damage, bootloop, bricked or broken devices and Relationships.
    Need an unlocked tank with amonet patched recovery
    https://forum.xda-developers.com/fire-tv/development/unlock-fire-tv-stick-2nd-gen-tank-t3907002
    This is an LineageOS 12.1 build for Amazon TV Stick (aka TANK).

    DON'T UPDATE MAGISK WITH THE APP. THIS WILL BRICK THE DEVICE AND YOU WILL NEED TO UNLOCK IT AGAIN!

    Issues:
    • Netflix won't play 5.1 audio videos on some TVs.
    • Can't pair bluetooth speakers.
    • On latest versions of Prime Video text is not show on some buttons.
    • Permissive kernel

    Installation:
    Connect device to pc with a USB cable, don't use tcp adb
    • Reboot tank to recovery
    • Adb push rom to /sdcard/
    • Wipe dalvik cache, cache, data and system if you come from stock or another rom.
      adb shell
      twrp wipe data
      twrp wipe cache
      twrp wipe dalvik
      twrp wipe system (if it gives error, try adding "/" /system)
    • Flash Rom:
      twrp install /sdcard/lineage-12.1-xxxxxxxx-UNOFFICIAL-tank.zip
    • Reboot and pair remote, if fails reboot and try again, complete setup wizard.
    • Reboot to recovery and install magisk, microG .........
    • Enjoy

    Quote:
    On first boot it will ask you for pair the TV Remote. For do that, press the home button 10 secs or more.
    If don't pair on first start reboot and pair again

    Quote:
    Since this ROM is optimized for TV Stick, this ROM uses LeanBack Launcher, LeanBack IME and TVSettings intsead of CM Launcher, AOSP Keyboard and CMSettings.

    Thanks:
    • @k4y0z for the bootloader unlock and recovery
    • @MSe1969 for the lineageos-12.1 sources
    • @ggow for the mt8127-common tree
    • LineageOS team

    Source Code:

    Download:
    Please don't mirror!

    XDA:DevDB Information
    [ROM] [unlocked] [tank] LineageOS 12.1, ROM for the Amazon Fire TV

    Contributors
    diegocr, Rortiz2
    ROM OS Version: 5.1.x Lollipop
    ROM Kernel: Linux 3.10.x
    Based On: LineageOS

    Version Information
    Status: Testing

    Created 2019-08-26
    Last Updated 2020-04-23
    14
    Changelog:

    20200927
    Update keylayouts (thanks 0815hoffi)
    Revert useFixedVolume

    20200806
    Update kernel to fos 5.2.7.3
    Add AppDrawer
    Remove CMFileManager
    Update keylayouts
    Add Android TV remote wifi support (tvstock gapps may broken it)
    Use amazon tank fingerprint
    Repo sync

    20200514
    Update kernel and vendor to fos 5.2.7.2
    Add microG support
    Repo sync

    20200422 REMOVED
    Updated Security Patches to April 2020
    Synced with the LineageOS Source Code
    Added missing keylayouts
    Removed browser shortcut in LeanBack

    2020221
    Add some keylayouts

    20191225
    Disable volume buttons

    20191220
    Use libMtkOmx libs from austin

    20191215
    Update kernel and vendor to 5.2.7.2
    Enable adb on boot
    Build btremoted

    20191211
    Update LeanbackLauncher and LeanbackIme
    Disable adb on boot (now need to enable on developer settings)
    Overlay, Update remote pairing instructions
    TvSettings, patch to autopair on fistboot settings

    20191210
    Remove dolby sound service (not working)
    system.prop: Enable USB OTG (Thanks Petoriano)
    LOS updates

    20191029
    Enable ozwpan kernel module

    20191014
    Build kernel from source
    Use Sharp an_np40 fingerprint

    20190911
    Fixed secure video playback. Thanks @julianwi

    20190901
    Rebuild device tree
    Add some blobs

    20190828
    Fix privacy guard issue, thanks @ggow
    Add Overscan app
    Disable Trebuchet
    Hide notification bar (set only on on firstboot)

    20190827
    Set screen timeout to 15 min on firstboot
    Change setup pairing bluetooth device screen text (english only)
    Small notification bar (1px)
    Don't build TeleService
    9
    How to get DRM Playback working

    I analyzed the binaries in the stock rom and found the missing patch to get secure video playback working. libstagefright needs to set an special gralloc usage flag. For the devs, here is the source patch for frameworks/av:
    Code:
    diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp
    index cdeb161f7..130dc18c4 100644
    --- a/media/libstagefright/ACodec.cpp
    +++ b/media/libstagefright/ACodec.cpp
    @@ -784,6 +784,12 @@ status_t ACodec::configureOutputBuffersFromNativeWindow(
             usage |= GRALLOC_USAGE_PROTECTED;
         }
     
    +#define GRALLOC_USAGE_SECURE 0x01000000;
    +    if (mFlags & kFlagIsSecure) {
    +        usage |= GRALLOC_USAGE_SECURE;
    +        ALOGW("ACODEC: use GRALLOC_USAGE_SECURE\n");
    +    }
    +
         // Make sure to check whether either Stagefright or the video decoder
         // requested protected buffers.
         if (usage & GRALLOC_USAGE_PROTECTED) {
    I will attache a patched libstagefright version to the post. Copy it over /system/lib/libstagefright.so and it should work. I tested it with the official prime video app.
    7
    New Build is UP

    DATED 14-05-2020
    • DRM Fixed!
    • Added MicroG support (tested and works).
    • Updated kernel and vendor to latest fire os.
    Download link in OP.
    Enjoy:)
    7
    So I looked at it a little more. This OS is a nuisance! Apps I install do not show up on the launcher and no matter what I do, no Google anything! I have LineageOS on both of my Fire Tablets and it is nothing like this.

    I'm going to do some more tinkering and see what I can find.

    Please fix this as I'm probably going to go back to the old FireOS for the Fire Stick 2. I can try to flash GApps to that and somehow get it to work.

    Sorry? I think it goes without saying that. If someone read the first post there would be no such doubts. THIS ROM IS ADAPTED FOR ANDROID TV AND IS A BETA.
    If you don't like it, don't install it.
    It is very angry that we have worked hard on this ROM so that you come now and insult it. This doesn't make sense