yashsingh1/xdaforums huggingface dataset:
[Fire TV Android Development] robertjw:
Sorry, I've tried /system/su.d/ and I've also tried the Universal init.d app and found that neither approach seems to work on the FireTV2. I share your frustration. As a long time Linux user I am accustomed to finding a clean and easy way to use scripting to customize a system. I find the lack of an "rc.local" and the lack of an /etc/bashrc to be very disappointing. I seem to recall that early Android releases had support for running boot time scripts, but that the feature was removed in later releases. I could start ranting about the "cat and mouse game" that vendors like to play as they try to assume control over their users, but I'll not go down that path. Oops, maybe it's too late.. :)

If anyone has solutions or ideas that we could try to bring this really basic capability to FireTV2/Android, some comments and hints in this thread would certainly be appreciated.
[Fire TV Android Development] Kramar111:
[MENTION=378722]tselling[/MENTION]

Try

http://smanager.wikidot.com/main:start

It's Aftvnews.com recommendation (from http://www.aftvnews.com/how-to-root...covery-and-a-pre-rooted-rom-all-without-a-pc/)
[Fire TV Android Development] robertjw:
Thanks for the tip, but Smanager seems to be encountering the same issues with FireTV2 as init.d and su.d in that it will run scripts fine from the App but fails to run scripts at boot time.
[Fire TV Android Development] tselling:
Thanks for the tip! SManager seems to be working, but I am not sure exactly when it runs the scripts on reboot so I will need to do a bit more testing to see if the mounts get setup early enough.
[Fire TV Android Development] lalord69:
updating from 5.0.4 to 5.0.5.1

could someone tell me how to update from sloane 5.0.4 to 5.0.5.1 r1? or is it even worth it? is it just like a typical rom: load into SD then boot into recovery and flash? not having any issues but i always like to stay up to date.. on the same note, if i updated to 5.0.5.1 will it break firestarter since it its not really compatible with 5.0.5? thanks
[Fire TV Android Development] deanr1977:
If you go to 5.0.5.1 yes it will break Firestarter but it can still be used while using a guide on thr AFTVNews website, you will lose double home tap but with the mod you will be able to use single tap again for Firestarter by restoring ADB back again to 5.0.5.1, the new update only really brings apps showing on the Amazon recents tab & if you hold the button down you can shortcut to your favourites on Amazon, but if like me you wanna keep up to date you will soon get use to these new options & new way of using Amazon/Firestarter.
[Fire TV Android Development] lalord69:
thanks for the info.. and being that the case, i will stick with 5.0.4... is there any way to downgrade from 5.0.5.1 to 5.0.4 if i have root and trwp?

thanks
[Fire TV Android Development] urbanespaceman:
I wonder if anybody has had the same experience as me: I've installed the pre-rooted 5.0.5.1_r1 rom, but can't connect via adb. Is there anything I can check here? I've tried the install multiple times, but the connect fails every time (works fine to the recovery boot). Is there any way to verify whether the rooted rom is actually installed just from the settings when I start the system up?

TBH, I'm not so concerned about being able to shell in, but I do want to block future updates. As I understand it 5.0.5.1 does that automatically, so if it's installed and I can't shell in for some reason that'll do me I think (if I can't solve the issue).
[Fire TV Android Development] rbox:
I've updated the OP with 5.2.1.0_r1.
[Fire TV Android Development] d3adpool:
noice!! Thanks Rbox :)
[Fire TV Android Development] MicrosoftBug:
So how do we disable updates in the latest version? It's my understanding that the "pm" command no longer works.
[Fire TV Android Development] d3adpool:
i believe that's for unrooted devices, still works if you're rooted.
[Fire TV Android Development] MicrosoftBug:
I sure hope you're right. Can anybody confirm this?
[Fire TV Android Development] deanr1977:
Look here - http://www.aftvnews.com/how-to-block-software-updates-on-the-amazon-fire-tv-or-fire-tv-stick/

Press that thanks button if this helped.
[Fire TV Android Development] zeroepoch:
I've pretty much confirmed now that 5.2.1.0 will not be rootable using the USB cable method. We'll have to wait for an exploit. No love from Amazon right now if you've already updated. See my comment on AFTVnews.com for more details:

http://www.aftvnews.com/software-ve...a-to-a-usb-cable-on-fire-tv-2/#comment-280355
[Fire TV Android Development] dongarland:
I have had a problem with boot on my FTV2. It was originally rooted with the usb cable method. It used to work fine, and now it won't finish booting. I have tried all the available RBOX roms (many of which used to work), but now it opens up to recovery, then goes the white amazon logo for a few seconds, then goes to a grey (not as black) screen and never boots. Any ideas what wrong?
[Fire TV Android Development] ZybSter:
Hi Guys,

trying to install pre-rooted ROM to my AFTV2. Running rooted 5.0.5 (KingRoot) and firetv2_recovery_v6.

When trying to flash the zip file: sloane-5.0.5-rooted_r4.zip I always get the error in TWRP:

Zip signature verification failed !

Error installing zip file.

I tried installing it from a USB drive as well as from /sdcard/

Please let me know if someone knows how to get around this error.

I'd really like to get rid of KingRoot Stuff asap.

br

zybster
[Fire TV Android Development] ktdt00:
Same issue here. Anyone find a workaround?
[Fire TV Android Development] deanr1977:
Did you try the Super Sume app to delete Kingroot & swap the Su?? Cause if you did it sounds like on the first reboot you did it has bricked?
[Fire TV Android Development] ktdt00:
I was rooting brand new AFTV2 following AFTVNews guide. Used Kingroot to root, tested SU, installed TWRP, installed newest ROM and then did Advanced Wipe (dalvik/cache, cache, data, internal). During the wipe it paused for ~15 minutes on formatting cache. Finally finished. Rebooted and grey screen.

I can get back into TWRP. I can ADB while in TWRP. I can ADB shell. I've tried installing multiple ROM's. Tried factory reset inside TWRP. Tried manually creating and reformatting cache. No love. I've since read that perhaps the Advanced Wipe messed something up but can't figure out what or how to recover?

Thanks for responding!!!
[Fire TV Android Development] deanr1977:
The Fire Tv is not like a phone & doesn't need to be wiped, the wipe would have been the cause of the problem, maybe rbox could help you from this forum, look in the forum I'm sure there is an unbricking file for this? You should only wipe from within TWRP Recovery, but you could be ok & if your lucky you could recover from this?
[Fire TV Android Development] sconnyuk:
If everything you have tried isnt working try this guide.

Ive had to use it and it worked for me.

http://xdaforums.com/fire-tv/development/firetv-2-unbrick-image-t3313349
[Fire TV Android Development] deanr1977:
That's the unbricking file I was talking about
[Fire TV Android Development] xCROSSAx:
Amazon appstore on rooted FTV

Hi Everyone,

I rooted my 2nd Gen FTV and installed rbox's latest custom rom ect, but after factory reset I am not able to get my catch up apps (All4, BBC Iplayer, Demand 5, ITV Hub) back what i downloaded from amazon, i have tried downloading from third party markets but these are built for touch/mouse not remote control. :(

I have found a way to get them back, by installing Apps2Fire on my rooted FTVS and installing them on my FTV but when i open apps like BBC Iplayer or Demand 5 i get a prompt saying:

("Amazon Appstore required" Looks like you no longer have amazon appstore installed on your device. Please install an Amazon appstore and sign in with you username and password to use this app.)

Any ideas to get these apps to work

Thanks in Advance

Connor :)
[Fire TV Android Development] Medizinmann:
Hello,

you can't install the roms.zips from first post via TWRP - use the guide from 2nd post instead.

Greetings

Medizinmann
[Fire TV Android Development] rbox:
I updated the OP with the newer version of 5.2.1.0.
[Fire TV Android Development] dm82m:
hi guys,

I was on 5.0.5.1_r1 came back from holiday, startet my firetv2 and it is stuck with white amazon logo on black background. before I see the TWRP and can also go into it. but as soon as I start the system it is stuck. Already tried a factory reset and flashing the 5.2.1.0_r2 but my problem stays the same.

anyone an idea before I request a replacement from amazon? and if I have to get an replacement: is there anywhere a stock recovery+stock rom available so that I can flash that before returining it to amazon? or isn't that needed?

best,

dirk
[Fire TV Android Development] rbox:
Is it the white logo or the color logo?
[Fire TV Android Development] mandroid717:
Hey people. Are there custom roms debloated in any way.

Delivered by my Silver S7.
[Fire TV Android Development] rbox:
The only roms that exist as of now are mine, and mine are 100% stock with the exception of root added. Not really sure what "debloating" would do.
[Fire TV Android Development] mandroid717:
If I install 5.0.5_r4 I can still install Firestarter correct

Delivered by my Silver S7.
[Fire TV Android Development] deanr1977:
Yes [MENTION=4144795]mandroid717[/MENTION] it does work well with that version.
[Fire TV Android Development] jokerni:
Just installed the latest version. I can run adb connect to the unit however if I try and access shell, I get

error: device offline

same error when I try and run adb reboot. I've double checked and I've got ADB debugging switched on. updated ADB minimal to version v14 and rebooted both the PC and FTV2 all with the same result. Anyone got any ideas?
[Fire TV Android Development] dm82m:
[MENTION=3991724]rbox[/MENTION] it is the white Amazon logo. But twrp is still shown and I can get into it as mentioned.
[Fire TV Android Development] rbox:
Hrm. That is very strange. There is an option in TWRP to wipe /data instead of just do a factory reset. You could try that.
[Fire TV Android Development] dm82m:
mhm I think I formated a few things to much yesterday... ;) currently it is not more having TWRP. Instead I directly get a black screen with a white Amazon logo on it. I guess now its time to get it replace. I am already in contact with Amazon. Thanks for your work and also for your quick help here!
[Fire TV Android Development] fireman928:
Do you just flash this update through twrp
[Fire TV Android Development] fireman928:
Disregard
[Fire TV Android Development] akirainblack:
Which versions can I use Kodi and firestarter/appstarter with?

Thank you,

I've tried installing Kodi on mine but it fails if done via es explorer with app not installed.

I'm on stock but rooted 5.0.5.
[Fire TV Android Development] akirainblack:
adbfire/adblink worked for me.
[Fire TV Android Development] tekno4ever:
[MENTION=3991724]rbox[/MENTION] I cant figure out the difference between 5.2.1.0 r1 and r2. might you give me some insight when you have a moment?
[Fire TV Android Development] ImCoKeMaN:
from the description line it says it just the new version of 5.2.1.0 from Amazon:

"This is the same as the previous 5.2.1.0, just with the updated version that Amazon released"

There were some other posts about some things this fixed I think, maybe related to audio, but I can't remember off the top of my head
[Fire TV Android Development] Hemorrdroid:
Also just happened to mine. Updated to 5.2.1.0 four days ago, was fine through multiple reboots and unplugs. Turned on today and i get the white amazon logo. Hadn't touched anything except kodi for days. Did factory reset, no luck, same with wiping /data.

Edit: Evidently it was my hdmi cable. Even though i was getting video it was bad, swapped cables and color logo showed up and finished booting.
[Fire TV Android Development] R3wt3d:
Mac OS X SMB + Kodi

I'm using Kodi latest and Mac OS X El capitan. I'm having problem with Kodi, I cannot connect to SMB server on Mac OS X with FireTV. With Nexus Player it works fine. Therefore I think it is a problem of FireTV...

Can anyone confirm if it is worth updating my FireTV to this verison? I'm on 5.0.5.1 rooted currently.

Thanks.
[Fire TV Android Development] craigbee:
Rooted AFTV2 stuck in loop

Hi,

I'm a noob but I have successfully rooted a fire tv 2nd gen using rbox’s method. My problem is haven’t been able to boot normally for about 7 days. On reboot of the device I get the prompt to go into recovery or boot normally. I know that rajashekhara discussed this in Post #142 on Feb 26 and rbox on Post #1 but I'm not sure what to do specifically. Can anyone shed some light. I think I'm supposed to connect to twrp using the ip on the screen but I'm not sure if thats true or how to do it.

thanks

Craigs-MacBook-Pro:Platform-tools craigb$ ./adb kill-server

Craigs-MacBook-Pro:Platform-tools craigb$ ./adb start-server

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

Craigs-MacBook-Pro:Platform-tools craigb$ ./adb connect 192.168.x.x

connected to 192.168.x.x:5555

Craigs-MacBook-Pro:Platform-tools craigb$ ./adb shell

shell@sloane:/ $ ./umount /cache

/system/bin/sh: ./umount: not found

127|shell@sloane:/ $ ./mke2fs /dev/block/platform/mtk-msdc.0/by-name/cache

/system/bin/sh: ./mke2fs: not found

127|shell@sloane:/ $
[Fire TV Android Development] rshields9093:
I'm experiencing the same problem...cannot do anything via ADB on my Fire TV 2.

"adb devices" returns "xx.xx.xx.xx:5555 offline"

Running any shell commands gives "error: device offline" just like [MENTION=5563669]jokerni[/MENTION]

Any ideas anyone?
[Fire TV Android Development] shuaiscott:
Alright so post #141 fixed it for me... looks like that's what you're trying to do too... however it says "not found" because you're running it with ./ before the command.

Try running it exactly as it is in #141:

mke2fs /dev/block/platform/mtk-msdc.0/by-name/cache
[Fire TV Android Development] craigbee:
shuaiscott thanks for your response. I tried removing the ./ and below is the result.

Craigs-MBP:~ craigb$ cd desktop

Craigs-MBP:desktop craigb$ cd /Users/craigb/Library/Android/sdk/Platform-tools

Craigs-MBP:Platform-tools craigb$ ./adb kill-server

* server not running *

Craigs-MBP:Platform-tools craigb$ ./adb start-server

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

Craigs-MBP:Platform-tools craigb$ ./adb connect 192.168.x.x

connected to 192.168.x.x:5555

Craigs-MBP:Platform-tools craigb$ ./adb shell

shell@sloane:/ $ umount /cache

failed: Operation not permitted

1|shell@sloane:/ $ mke2fs /dev/block/platform/mtk-msdc.0/by-name/cache

/system/bin/sh: mke2fs: not found

127|shell@sloane:/ $
[Fire TV Android Development] jaydee 77:
Will there be a prerooted image of the latest v5.2.1.1 (551203220) available?
[Fire TV Android Development] ldeveraux:
That sounds almost like an eta question ;)
[Fire TV Android Development] jaydee 77:
No not really, just a question if [MENTION=3991724]rbox[/MENTION] consider to provide the latest image prerooted. :fingers-crossed:
[Fire TV Android Development] rbox:
I haven't gotten a URL for the update yet.
[Fire TV Android Development] rbox:
I can't really figure out what your actual problem is based on your first post. You said "I can't boot" but I don't know what that means. The instructions for formatting cache are for when you are stuck in recovery. Based on the shell@sloane prompt, you are not in recovery...
[Fire TV Android Development] craigbee:
My Fire Tv gen 2 is rooted but every time I startup I get these two screens I attached:

I am not stuck in recovery. It just does not start normally. After the 2nd screen the the unit goes to the home screen and I can use it without issue. Should I just not worry about it?

thanks
[Fire TV Android Development] rbox:
Yes. That's the bootmenu... What makes you think anything is wrong? In the first post in this thread is a link about recovery, and in that post about recovery, it explains bootmenu...
[Fire TV Android Development] craigbee:
I did the advanced wipe and I thought I unmounted the cache and ran the code from adb shell with what I have below.... I just can't figure out what I'm doing wrong.

Craigs-MBP:Platform-tools craigb$ ./adb shell

shell@sloane:/ $ umount /cache

failed: Operation not permitted

1|shell@sloane:/ $ mke2fs /dev/block/platform/mtk-msdc.0/by-name/cache

/system/bin/sh: mke2fs: not found

127|shell@sloane:/ $
[Fire TV Android Development] XDA_h3n:
No you shouldn't worry about it.

In case you do soft-brick your FireTV, the only way to get it working again is to boot to recovery to flash a rom, and this is only possible through booting the recovery in the boot menu.
[Fire TV Android Development] rbox:
Those instructions are for when you are stuck in recovery. You are not stuck in recovery. You aren't even in recovery. That is why it's not working.
[Fire TV Android Development] craigbee:
I think I understand now. I misunderstood "boot normally". On my reboot I'm being shown the option to go into recovery but I'm not stuck. That option times out & my box proceeds to boot to the amazon home screen and at that point I have no issues. This is for people who won't get to the home screen at all and keep going back to recovery.

I can live with this, if I do anything else I may regret it..

I do thank you for your time. I really appreciate it...
[Fire TV Android Development] xman111:
hey guys i tried updating from 5.05 to 5.2.10. It got about 90% done and just hung there. I mistakenly pulled the power plug after about an hour, now it just boots to the white logo. Am I screwed now? can't adb, tried the print screen thing.. Not sure if there is anything else.. I have recovery installed but cannot get into it. Damn.
[Fire TV Android Development] zeroepoch:
You could try the unbricking image. http://xdaforums.com/fire-tv/development/firetv-2-unbrick-image-t3313349
[Fire TV Android Development] xman111:
thanks Dude!!! you just saved my Fire TV, worked perfectly. you're the man! my wife and kids and myself are stoked!
[Fire TV Android Development] bluekiwi:
I bought a fire tv gen 2 november 2015, never opened it, want to root it now. Can I load the pre-rooted 5.2.1.0 rom onto it?

I am unsure of what software is on it, when I try to set it up, it attempts to download the latest s/w to it.

edit: I see that you have to enable adb debug in the ftv settings. How do I set up the ftv without updating it, already blocked the updates via the router
[Fire TV Android Development] adam_ky:
Quick question, I got your 5.0.5.1 installed... Everything works great got exposed going..

Alternate launcher.. Ect..

Disabled nearly everything amazon.

What would be my advantages of upgrading to the latest prerooted ROM?

Is it smoother? Faster?

What's the opinion here on what is the best version to run?
[Fire TV Android Development] flintston314:
Any chance to get a pre rooted image of 5.2.1.1? The latest versions app launcher has a better design and is easier to use.

Gesendet von meinem SM-N930F mit Tapatalk
[Fire TV Android Development] rbox:
Once I get the update URL.
[Fire TV Android Development] flintston314:
Oh right....I was thinking of that...darn.

Gesendet von meinem SM-N930F mit Tapatalk
[Fire TV Android Development] XDA_h3n:
I guess the incremental update url won't help then. :(

https://amzdigital-a.akamaihd.net/o...sloane_full_sloane-550145120-to-551203220.bin
[Fire TV Android Development] rbox:
That's exactly what I need. Thanks!
[Fire TV Android Development] flintston314:
Another update must have been rolled out. I just noticed that one of the stock Fire TV at my place shows Netflix stuff right next to my prime suggestions....that is new and actually awesome. You can now start Netflix series right from the Amazon menu (under my videos) without opening Netflix first.

Gesendet von meinem SM-N930F mit Tapatalk
[Fire TV Android Development] tekno4ever:
SWEET! Looking forward to an update!
[Fire TV Android Development] rbox:
I've updated the OP with 5.2.1.1_r1
[Fire TV Android Development] D-an-W:
Many thanks for the continued work rbox :good:
[Fire TV Android Development] dk1keith:
Thanks for all you do! You're the best
[Fire TV Android Development] merlin2380:
Hi

Hmm just got a new ftv2 rooted via kingroot, installed twrp and flashed latest pre rooted 5.2.1.1. It worked all fine. Then as recommended I did a reset via twrp.

NOW I am stuck at the update screen, already tried my phone Hotspot since my wifi is blocking amazon updates

What can I do?
[Fire TV Android Development] jaydee 77:
Updates are blocked by default with prerooted stock images - or must I block them not to loose root.
[Fire TV Android Development] Spillunke:
Nice, update installed succesfully. Thanks [MENTION=3991724]rbox[/MENTION] <3
[Fire TV Android Development] bula1ca:
It will not do any harm if you block them manually as well....
[Fire TV Android Development] jaydee 77:
I did so by following these two guides custom Fire OS version number and disable update service via ADB.
[Fire TV Android Development] merlin2380:
thanks it works great, small note

maybe it is obvious it was not to me and after this procedure. the fire TV could get stuck at the update screen.

Since it was previously registered to an amazon account it will not register again and gives out unable to update Fire tv, try again later screen", so I had to go to amazon.com under my devices and unregister it, then it let to the next screen on the fire tv and I could register again(this drove me nuts for 2 days)
[Fire TV Android Development] dk1keith:
Optimizing apps after every restart

I successfully updated my Fire TV 1 to 5.2.1.1 and it works great. One issue though....after every restart now it goes to the Optimizing Apps and Features. I did a few searches on the forum but didn't see an answer.

thanks
[Fire TV Android Development] caponater:
Does the 5.2.1.1 update block ext4 mounting? Installed the prerooted image and I can no longer mount my ext4 drive with stickmount.
[Fire TV Android Development] chris-89:
No everything works fine here. It mounts my ext4 drive successfully on 5.2.1.1 with Stickmount.

By the way thanks [MENTION=3991724]rbox[/MENTION] for your work :good:
[Fire TV Android Development] wohltat:
Hey guys,

currectnly 5.05 is running my Fire TV 4K. Is there a way to just update or do I have to do a fresh install & configuration when I install a newer ROM?
[Fire TV Android Development] d3adpool:
should be able to update thru twrp.
[Fire TV Android Development] fcisco13:
Just rooted my AFTV2 and using your work, thank you very much, you effort and work is really appreciated.
[Fire TV Android Development] ryknow27:
Did updating through TWRP work for you? I am currently on pre-rooted 5.2.1.0 and want to update to 5.2.1.1 but don't want to take a chance of losing root.
[Fire TV Android Development] bula1ca:
No worry, you will not lose root by doing so.
[Fire TV Android Development] ryknow27:
Thanks for the reply!
[Fire TV Android Development] wohltat:
Didn't try yet. Had no time. :(
[Fire TV Android Development] playingbball20:
I didn't see anything in this, and I know I might get spanked for this... Is there any possibility of the new firestick version going to be able to put on this? I have not messed with the roms/os at all?
[Fire TV Android Development] Lochy19:
Hi guys, I had a brand new AFTV2 running 5.2.1.1 stock, and I wish to know if can I follow this guide to install the pre rooted version, unless that my device is not rooted, thanks in advance for the help :)
[Fire TV Android Development] bula1ca:
You need to root it first before you can install pre-rooted images.
[Fire TV Android Development] f1ux:
I don't see any mention of v 5.2.4.0 yet, has anyone got it?
[Fire TV Android Development] ryknow27:
Haven't had time to update yet but I have one more question. Should the cache be wiped after updating?
[Fire TV Android Development] rhilway:
It's usually best to always wipe cache/dalvik/art after an upgrade/flash, no harm done. It just adds some minutes to only the very first boot as cache is rebuilt.
[Fire TV Android Development] ryknow27:
Thanks!