yashsingh1/xdaforums huggingface dataset:
[Fire TV Android Development] Sus_i:
You don't need any prerooted rom to root/unlock your stick. Just do the unlock thing provided here and avoid any wipe or downgrade.
[Fire TV Android Development] ThEr3aLsLiMsHaDy:
I looked at that but I dont have linux so thats what brought me here
[Fire TV Android Development] Sus_i:
Unfortunately you have to do the unlock first, this rom here is (more or less) only for updating the fireTV without losing root.
[Fire TV Android Development] ThEr3aLsLiMsHaDy:
Anyway i could do that without linux?
[Fire TV Android Development] Sus_i:
Nope
[Fire TV Android Development] rawos:
Hello, there will be no more prerooted roms update? 5.2.7.1 it's been released from a while
[Fire TV Android Development] tkw829:
Unable to install apps

I have successfully rooted a Gen 2 firestick and installed your rom, but after restarting the stick everything looks fine but I am unable to install apps via the GUI. When I select an app it either says "Download" or "Get it", but clicking either results in me going back to the screen showing the app but the app never shows as installed and does not start.

Has anyone else seen this?
[Fire TV Android Development] thecocacola:
please can you make a prerootet rom 5.2.7.1 ?
[Fire TV Android Development] merdok:
I am not sure what I did wrong but after flashing this from recovery it will not find and pair my remote any longer. Since it doesnt get past this point I cannot get the adb to be authorized to attempt things.

Does this require unlocking it again with the scripts or is there an easier work around?
[Fire TV Android Development] derd3:
Exactly the same problem here on my side. Well I think it is a little bit my fault but here is what I did:

rooted, flashed pre rom (5.2.7.0_r1), installed magisk and then install magisk manager

wanted to force DNS, so I tried to edit the build.prop with the dns settings.. Well the build.prop was empty afterwards and the FireTV didn't start.

went into recovery and flashed 5.2.7.0_r1 again and magisk again

FireTV starts again but I can not install any apps. Logcat is like crazy... Even when you filter only E and W. But I found some lines where it says that the App "B06Y18MPK7" is not kind of made for the device (don't know the exact thing..).

Because I'm not next to the stick I have to do everything remote. I tried to install the new 5.2.7.1 prerooted rom through adb.

Downloaded the file to /sdcard including magisk and the md5 file. Added to /cache/recovery/command the follwoing:

--update_package=/cache/update.zip
--update_package=/cache/magisk.zip

then reboot recovery. The stick reboots and installs the new rom but again you can not download any apps and also it is not possible to factoriy reset the firetv. When you want to, the fire tv shows the reset screen but does nearly nothing. adb and wifi keeps connected and you have to reboot manually. Afterwards you are logged out of the fire tv but you can login easily and nothing else has happend.

recovery log says accroding to the update.zip:

.....
wrote 201400 blocks; expected 201400
max alloc needed was 0
about to run program [/sbin/mkdir] with 2 args
about to run program [/tmp/backuptool.sh] with 2 args
Copying firmware and kernel...
All Done!
script succeeded: result was [All Done!]I:Updater process ended with RC=0
I:Legacy property environment disabled.
[amonet] Install boot patch...
[amonet] OK
[amonet] Install recovery patch...
[amonet] ALREADY_INSTALLED
I:Install took 60 second(s).

Edit:

Alright, I found a solution. After reflashing the 5.2.7.1_r1 including the md5 file and flashing the magisk again I had to delete the dalvik-cache and reboot. The cache will be rebuild so it took about 10-15 minutes. You have to have root and can do it through adb or through twrp. Because I'm working remote on the Fire TV Stick (connected via TINC APP to a VPN Server) I used the adb version and entered the follwing commands

rm -r -f /data/dalvik-cache/
rm -r -f /cache/dalvik-cache/
reboot

Well for me it worked, Apps can start again and can be installed again. Hopefully it helps anybody else. Took hours.. and was so easy.
[Fire TV Android Development] hshi:
I tried to flash my fire tv stick 2 using the 5.2.7.1 pre-rooted ROM. All the steps looked fine except I couldn't get root access after rebooting. "adb root" still returned with the error that the command is unauthorized as the system is in production build. Is there anyone who observed the same issue?
[Fire TV Android Development] Sus_i:
Why you don't call su with

adb shell
su

Since FireOS isn't a developer friendly ROM, adb root isn't available (afaik) ;)
[Fire TV Android Development] nomobytes:
5.2.7.2 (648594620) is being pushed

Here it is -

https://d1s31zyz7dcc2d.cloudfront.net/547fbdaa3b6a8fa8fee65094c0149ae1/update-kindle-full_tank-288.6.4.8_user_648594620.bin
[Fire TV Android Development] Sam Nakamura:
Can I simply?

fastboot flash boot (provided patched Kernel)

or is there any specific unlock procedure I need to do in advance?

As there's no bootloader unlock switch (allow OEM unlock), which is rather typically for MTK devices, I'd assume that it's rather just flashing the per-patched Kernel and done...

Asking because there's nothing mentioned on post #1, thanks a lot!

Edit: now I see from downloading the file that it's most likely the whole ROM image but I'd rather just flash the patched Kernel, I do some more reading first... lol
[Fire TV Android Development] rbox:
I updated the OP with 5.2.7.2.
[Fire TV Android Development] nomobytes:
thx

Note that newer version of 5.2.7.2 is now available -

5.2.7.2 (648594820)

https://d1s31zyz7dcc2d.cloudfront.n...kindle-full_tank-288.6.4.8_user_648594820.bin
[Fire TV Android Development] rbox:
I just updated the OP with 5.2.7.2_r2. Funnily enough, it's actually newer than this version you posted. Guess they doubly screwed up? Had to make an update to the update... lol.
[Fire TV Android Development] Child's Play:
I wanted to make sure. After unlocking and rooting my Fire Stick 2, do I need to disable OTA updates? What happens if I don't disable the OTA updates? When the OTA update is available, do I have to flash pre-rooted ROM every time?
[Fire TV Android Development] Pix12:
I flashed the latest rom, and it's been stuck on the Fire TV Stick logo.
[Fire TV Android Development] Sus_i:
Worst case is that you have to open your stick & do the exploit again...

Do you have flashed magisk behind the rom? I've updated yesterday with the r2, together with the magisk.zip no errors here...
[Fire TV Android Development] Pix12:
Flashed the rom and then magisk.
[Fire TV Android Development] Sus_i:
I flashed the same with twrp (on two sticks), then wiped cache and dalvik. All went fine.

Stucks on the white or the colored logo?
[Fire TV Android Development] Pix12:
Colored so an os issue not a bootloader issue
[Fire TV Android Development] Sus_i:
If it stuck on the colored logo, adb is probably aviable, for reboot to recovery. If not, you could use the boot_recovery script from the unlock thread too.

I would try to wipe cache, dalvik (takes a while) and if that won't help I would wipe system and flash the rom with magisk again.
[Fire TV Android Development] Pix12:
The device does show as a phone, while ADB shows nothing as it's been reset.
[Fire TV Android Development] Sus_i:
OK, then you need the reboot_recovery script from k4y0z's amonet and a linux setup like for the unlock. Works fine without shorting...
[Fire TV Android Development] Pix12:
Wiping cache didn't work, but wiping system and reinstalling actually made it boot. Thanks!

---------- Post added at 04:21 PM ---------- Previous post was at 04:01 PM ----------

How do I get through the setup? It forces an update.
[Fire TV Android Development] Sus_i:
The r2 from rbox should be the latest. May be only some system app updates pending. I would just give the setup/login a try... Maybe you have luck and the stock launcher comes up right after the setup... then you can disable updates with adb while you keep the stick busy, i.e. play a prime video. Worst case is that you need to redo the full unlock procedere, if there is really a new full ota pushed. But thats much better than mess with the setup.
[Fire TV Android Development] laest:
I got the same problem with the current 5.2.7.2_r2. The setup forces an update and I cannot prevent that. Redoing the procedure is not necessary since you still can activate ads debugging and enter tarp via "add she'd reboot recovery". But at the moment I don't know how to successfully complete the complete rooting procedure without being confronted with this updating crap :rolleyes:
[Fire TV Android Development] Sus_i:
The problem is that you can't use the whole stick without a completed setup.

Could be that the stock launcher comes up right behind the searching updates screen and you have time to disable the ota app.

Could be too that the unlock/root is gone, if its a full ota package.

You may try it out ;)
[Fire TV Android Development] Pix12:
Apparently the update is just a soft update, not a full version update. It didn't reboot or anything.
[Fire TV Android Development] Pix12:
Nope there's 5.2.7.2 (648595120) wanting to install. How do I remove it and disable otas
[Fire TV Android Development] Sus_i:
adb shell
su
pm disable com.amazon.device.software.ota
pm disable com.amazon.device.software.ota.override
pm disable com.amazon.tv.forcedotaupdater.v2
pm clear com.amazon.device.software.ota
[Fire TV Android Development] Pix12:
So this will delete the pending update as well?
[Fire TV Android Development] Sus_i:
The pm clear command clears the data of the ota updater app.

If an update was downloaded, you may find it at:

/sdcard/Android/data/com.amazon.device.software.ota/files

If there is any bin file, you can delete it with:

rm -f /sdcard/Android/data/com.amazon.device.software.ota/files/*.bin
[Fire TV Android Development] rbox:
I updated the OP with 5.2.7.2_r3.
[Fire TV Android Development] ssurell:
Magisk version

What Magisk version is anyone flashing? I've never been able to get it to work on this device without bootloop, and end up just flashing SuperSu-v2.82-SR5

/sdcard # twrp install Magisk-uninstaller-20191102.zip
Installing zip file '/data/media/0/Magisk-uninstaller-20191102.zip'
Installing zip file '/data/media/0/Magisk-uninstaller-20191102.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
[amonet] Remove boot patch...[amonet] OK************************
Magisk Uninstaller
************************
- Mounting system
- Device platform: arm
- Found target image: /dev/block/mmcblk0p5
- Unpacking boot image
- Checking ramdisk status
- Magisk patched image detected
- Restoring stock boot image
- Removing Magisk files
- Unmounting partitions
- Done
[amonet] Install boot patch... [amonet] OK[amonet] Install recovery patch... [amonet] ALREADY_INSTALLEDDone processing script file

SuperSU works to allow root access to apps, but the actual app is blocked by FireOS, so I can't open it to change access, settings, logs, etc. The app blacklist is really annoying. Anyone know if this can still be disabled, and what package controls it?
[Fire TV Android Development] Qubert80:
[Deleted]
[Fire TV Android Development] SilverDragon24:
Is there a way to get the original stock images for tank that can be flashed using sp flash tool?
[Fire TV Android Development] DDPlayer:
Hello,

where is the stock rom without root? I can't find it
[Fire TV Android Development] Sus_i:
Someone posted the latest stock full-update bin file here...
[Fire TV Android Development] agent1919:
How do I do to install a stock rom ? I downloaded the .bin, rename it by .zip, use TWRP to install it (wiped data & cache), but nothing happen, just saw a message saying patching the image and this was not installed at all.

How could help me ?

Thank you very much

Edit : Tested with the update 5.2.7.3 and renaming the .bin to .zip worked.
[Fire TV Android Development] erdosain9:
Hi. Maybe somebody can do something about this (or tell me what to do)... in the original rom from fire tv stick, and also in this rom... the first thing is "waiting to pair with your remote control"....... well i have a brick remote control so i use the remote control of the tv (hdmi cec)... but i cant bypass that moment of "waiting for...". I put LineageOsTv and start the same, BUT, if i press "back" in my hdmi cec control then i can keep with the configuration, wifi, etc...

Thanks. [MENTION=3991724]rbox[/MENTION]
[Fire TV Android Development] Michajin:
Has anyone seen any updates to 5.2.7.3? i want to download it but mine says i am up to date.. unless i am missing something, amazon claims 5.2.7.3 is the latest...
[Fire TV Android Development] ElijahZAwesome:
I was dumb and I rebooted without flashing the prerooted stock image and wiping my /system partition. How can I unbrick, if possible? I have an OTG cable but pressing Alt+I+PrScn doesn't seem to work no matter how much I try, it just sits on the white Amazon logo. Any help is appreciated, thanks.
[Fire TV Android Development] agent1919:
Yes, One of of my stick this proposed to upgrade to 5.2.7.3 and that how I obtained it. But like you I have another stick which is stuck in 5.2.7.2 and even requesting to update it, it is saying this is uptodate
[Fire TV Android Development] Michajin:
I think you have to run the script from the unlock thread. I see something called - boot-recovery.sh when plugging in. There is always there is the option to go back and short it and run the full scripts. I am assuming you dont have ADB access?
[Fire TV Android Development] Child's Play:
I'm on 5.2.7.3 I'm waiting for 5.2.7.3 ROM, so I flash it then root my Fire TV Stick
[Fire TV Android Development] ElijahZAwesome:
Fastboot, nor ADB detect the stick as far as I recall, but would that change if I shorted the pins? Either way, i'll take a look later today and see if I can figure something out
[Fire TV Android Development] Michajin:
Yes that would change. It would put it in the bootrom or preloader. I believe from the bootrom you can run the recovery to get back into TWRP. Fastboot might be ok, but that could make things worse. You should able able to flash the prerooted rom there twrp and be back...
[Fire TV Android Development] Michajin:
Were you able to resolve the issue, can you share what the issue was?
[Fire TV Android Development] ElijahZAwesome:
I simply repeated the normal unlock steps by shorting the pins and everything, and once I was in twrp, I flashed LineageOS and was on my way. This time i'll install a boot menu or something ;P
[Fire TV Android Development] Michajin:
The firestick 4k has a nice boot into TWRP option with an OTG plugged in. It makes it really easy if you have a issue. Believe they use init-d for it. I don't do many high risk things with the tank because it isn't east to get back into recovery. If you can find a way to do it great!
[Fire TV Android Development] naughty85:
I had completed all the required steps (unlocked , rooted, loaded TWRP) but when I loaded the prerooted rom 5.2.7.2_r3. My Firestick is installing automatically the factory based controlling subscription applications (Amazon Fire TV Stick – Tata Sky Edition).

When I try launching any of the application it is splashing a subscription. expiry page. Anyone aware which config controls this application check or do we have some rom which will fully wipe the apps ?

I did all the below before installing :

wipe cache,

wipe system,

wipe dalvik,

wipe data.

Thanks.
[Fire TV Android Development] Michajin:
You can always install lineage 12.1 on it. Does it download them as soon as you register? You can use a package manager to disable the apps, block any app that may be doing this. Make sure you have the amazon app setting to not auto-update. Then make sure you have any OTA apps disabled. The only thing i can think of, is when you connect amazon is using your device serial to detect it is a Tata sky edition and installs them. Do you have any apps disabled to possibly bock this? I am completely guessing though as i have no idea how amazon tied that edition to a firestick...
[Fire TV Android Development] erdosain9:
Hi. For install this rom i have to do the same as the others?? like wipe cache, dalvik, data, system? and install? Then after that i have to disable OTA? Anything more? Can i install Gapps?

Thanks all.

(i want to try how works).
[Fire TV Android Development] Child's Play:
Wipe cache and dalvik. After that, you should disable OTA. You can install GApps
[Fire TV Android Development] erdosain9:
Oh, ok. Thanks. I already did that, buuuuuut... my original remote control is broken. I have a OTG cable... for keyboard and mouse (and a remote with dongle)... but cant avoid the "remote pairing" of the beginning.... (cant believe this, if you broke your remote control and do a "factory reset", you cant bypass that "remote pairing" screen).

Cant believe this O.S that if you dont have a fucxxxxx original remote control you cant follow (obsolescence who knows you).

Maybe some caritative soul can make some app that block this "pairing thing at the beginning" or something to remove that.
[Fire TV Android Development] dcarvil:
Will the Fire TV Remote app for your phone allow you to get past the remote pairing screen?

https://play.google.com/store/apps/details?id=com.amazon.storm.lightning.client.aosp
[Fire TV Android Development] erdosain9:
When you do a "factory reset" the wifi settings are deleted......... so i cant connect to the fire stick with the fire tv app.... because the fire stick is not connected to the wifi. So i cant try the fire tv remote app.

I think that if something is possible have to be done from twrp.... because there im root, and there i have adb access.
[Fire TV Android Development] dcarvil:
If you can't find another solution, this ethernet adapter might help. It's supposed to be plug and play, but I had to set ethernet up manually which requires a remote or a keyboard. I think the manual setup was because I had already removed all the amazon bloatware. I have no idea if the plug and play part will work in your current situation. This would replace your OTG cable, so you would just plug the keyboard into USB port on the ethernet adapter. Good luck.

https://www.amazon.com/gp/product/B078MNW25Q/ref=ppx_yo_dt_b_asin_title_o02_s01?ie=UTF8&psc=1
[Fire TV Android Development] erdosain9:
Thanks. But sadly i cant buy outside my country (...i can but it is a reaaaaaal problem), for example here in my country there is no otg cable... i do myself... maybe i cant try to do this ethernet otg... i will try to find if somebody give me a hand to do this.

Thanks for your time!
[Fire TV Android Development] mahmoodsb:
Where are the old Images?

Where are the old images? I want March 17, 2019 - 5.2.6.8_r1

I want to flash an old image so I can run OTA Update and go back to stock firmware.... is this possible please help me as my fire stick does not work on this rooted firmware well and I want to go back to stock.
[Fire TV Android Development] 0815hoffi:
5.2.6.8

http://aftvhacks.de/downloads/rooting/fire-tv-stick-2/tank-5.2.6.8-rooted_r1.zip
[Fire TV Android Development] mahmoodsb:
I want to go back to stock rom + recovery

I don't think you can run OTA after flashing TWRP...

If anybody knows how to get back to stock PLEASE LET ME KNOW!
[Fire TV Android Development] Child's Play:
Did you disable OTA updates via ADB? If so, enable them via ADB
[Fire TV Android Development] mahmoodsb:
I just want to go back to Stock Rom + Recovery....

When you use OTA the firestick needs to reboot into stock recovery in order to complete the update.... since it's TWRP it always fails

Please someone help me get back to Stock Recovery and Rom
[Fire TV Android Development] Child's Play:
I think you need to remove root first then install this stock ROM but you need to be very careful. Read OP's instructions. Fire TV Stick is different from Android phones. I'm not sure how it works, so give it a try
[Fire TV Android Development] mahmoodsb:
I want to go back to stock rom + recovery

Nothing works and I am sure this is not the solution... if anybody is CERTAIN they have the solution and can take TANK FIRESTICK back to STOCK RECOVERY + ROM Please let me know!
[Fire TV Android Development] Child's Play:
When you remove root, I think TWRP will be removed as well. I'm not sure. Give it a try
[Fire TV Android Development] mahmoodsb:
Root and Recovery are two different things. This is not the solution. If anybody knows how to get STOCK RECOVER + ROM on Firestick Tank.... Let me know.
[Fire TV Android Development] heartbreakerox:
Remote Not working

Hi i have successfully installed the pre rooted stock image and everything went smoothly but now i am stuck at startup as i am not able to connect my Firestick remote to my fire stick. I try to connect a different remote as well but not working. Please help.
[Fire TV Android Development] brentonv:
Are there any links to these please:

Thanks

Edit: Oops nevermind, found them :)
[Fire TV Android Development] Child's Play:
Prerooted ROM is stock ROM
[Fire TV Android Development] heartbreakerox:
Where you find the links of the above roms as the links are broken i think
[Fire TV Android Development] 0815hoffi:
5.2.7.2

https://aftvhacks.de/downloads/rooting/fire-tv-stick-2/tank-5.2.7.2-rooted_r1.zip

5.2.7.1

http://aftvhacks.de/downloads/rooting/fire-tv-stick-2/tank-5.2.7.1-rooted_r1.zip

5.2.7.0

http://aftvhacks.de/downloads/rooting/fire-tv-stick-2/tank-5.2.7.0-rooted_r1.zip

5.2.6.9

http://aftvhacks.de/downloads/rooting/fire-tv-stick-2/tank-5.2.6.9-rooted_r1.zip

5.2.6.8

http://aftvhacks.de/downloads/rooting/fire-tv-stick-2/tank-5.2.6.8-rooted_r1.zip
[Fire TV Android Development] oavald:
These images are called "Prerooted". Does that mean they contain SuperSU or Magisk and they give you root privileges immediately after installation, or does something else need to be enabled or installed to have root privileges? Because to me, "rooting" means having root privileges...
[Fire TV Android Development] Sus_i:
From OP:
[Fire TV Android Development] oavald:
Thanks for your reply. Would this be an adequate version of Magisk, or is there a better one for the tank?

Magisk Manager Latest Version 7.5.1 for Android 2020 from ******************
[Fire TV Android Development] Sus_i:
The best source is here on xda :good:

up-to-date is 20.4
[Fire TV Android Development] adnanschat:
Can we get the latest rooted stock rom please? Thank you.
[Fire TV Android Development] SoulInfernoDE:
I want to know this also and how to download the newest OTA and flash the .bin-file with twrp? ....or is it safe to update this prerooted rom and keep the update function active?
[Fire TV Android Development] y0:
So ..did you get past that subscription yet??

---------- Post added at 11:01 PM ---------- Previous post was at 10:51 PM ----------

How about serial change ??so it can completely bypass even its attached to serial number

Any details about serial spoof or change ?
[Fire TV Android Development] Sus_i:
Won't work, as you can read somewhere in the unlock thread, an attempt was made... and the stick got banned/blocked.
[Fire TV Android Development] adnanschat:
Gentle reminder.
[Fire TV Android Development] rbox:
I updated the OP to 5.2.7.3_r1.
[Fire TV Android Development] y0:
Want to ask when I update these pre rooted images BINGE EDITION Automatically locked itself to original state

Why it’s happening ??
[Fire TV Android Development] rarcega:
Error on sending payload

Sorry posted on the wrong topic.
[Fire TV Android Development] sjude68:
how to flash new firmware

After step 8 in https://xdaforums.com/showpost.php?p=79032238 how should I load the firmware in Amazon stick 2.

I am using mint as the live linux system.
[Fire TV Android Development] Marcin Kalecki:
Got same issue. In my case, worked reseting remote controler. To do this you have to press and hold for about 10 seconds three buttons from remote.

Left ring button + menu button (to the right from home button - one with three strips) + back button (left to the home button)

After this my remote connected with no problems.