yashsingh1/xdaforums huggingface dataset:
[Fire TV General] sneezing_corgi:
I've been stuck on "addr: 0x25e1c000" for over two hours now. I've read in this thread that I should restart the whole process. Is there a safe way to do this? I'm trying to be very careful I don't brick my FTV. Do I just close the cmd window and power cycle the box?

EDIT: Nevermind. I figured it out. Root successful after multiple attempts.
[Fire TV General] Patrick_445:
I am successfully using OpenVPN for Android. Here it is on Google Play. I downloaded and sideloaded the installer (.apk) from the developer's site directly via this page. You can find the project's homepage on Github.

Note to use this effectively, you need a mouse so I hooked up a USB mouse to my FireTV to setup the app settings. I have it set to auto start and connect to the VPN when the box starts. You can also set it to allow certain apps to bypass (not use) the VPN. For instance, I have Hulu+ bypass the VPN because Hulu blocks VPN connections.
[Fire TV General] shutterslaps:
I am just opening my AFTV2 now, as I've been waiting for root, and just checked /fire-tv/general/ yesterday.

Is it safe to update? 5.0.4 is the latest as of now, right??

Edit: Let me answer my own question. I was impatient and it could have potentially screwed me, but it didn't. As of 1914 (7:14pm) 25JAN2016, the update it downloads is 5.0.4 (536116920)
[Fire TV General] zeroepoch:
Yep 5.0.4 is still the latest and no signs yet of an update.
[Fire TV General] Legolas2:
Too many pauses

Hi

I am having to babysit my Root process. Having many many pauses. I probably have done maybe 40 restarts :(, and still only at Addr 0x25adce00.

I am trying to root 5.04

using Amazon: C2G / Cables To Go 28106 USB 2.0 A Male to A Male Cable - Black (2 Meter/6.5 Feet)

Windows 7 x64 desktop

Do I have to complete the root I started, or can give up?

---------- Post added at 11:43 PM ---------- Previous post was at 11:01 PM ----------

Given the number of restarts I was doing, I did the below to ease my restart turn-around time :)

- Got an extension cord with a switch

- Changed registry setting to enable quick command window launch.

How to Use "Open Command Window Here" Context Menu Item without Shift+ Right Click

Hope it helps someone
[Fire TV General] showmeyourskeleton:
okay so i have been able to root for the first time but i am struggling to block OTA updates. i've tried doing it via adb shell through adbfire but it says permission denied.

any idea what's wrong?
[Fire TV General] ImCoKeMaN:
you may need to accept the prompt from Super SU on your tv screen with the firetv remote
[Fire TV General] Legolas2:
I tried a few more things but still facing the same issue:

- Uninstalled and reinstalled the drivers

- Plugged into the rear USB of my desktop

Changed two additional cables, USB3 and USB2 types from Frys.

Now with multiple restarts, I am at 0x25eed200
[Fire TV General] Legolas2:
Hi All

After multiple Start/Stops, I have managed to get my FireTV2 rooted. I see SuperSU in the applist.

I want to disable OTA updates, but keep getting message that it is offline.

C:\FTV>adb kill-server

C:\FTV>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

C:\FTV>adb connect 10.0.1.120
connected to 10.0.1.120:5555

C:\FTV>adb devices
List of devices attached
10.0.1.120:5555 offline

C:\FTV>adb connect 10.0.1.120
already connected to 10.0.1.120:5555

C:\FTV>adb devices
List of devices attached
[B]10.0.1.120:5555 offline
[/B]
C:\FTV>

What am I missing. I tried this via adbPutty and also adbFire.
[Fire TV General] showmeyourskeleton:
huh, i hope it's that simple! will try and report back.
[Fire TV General] Invincibear:
Hey, do you have FireStarter installed? If so you need to kill/stop the app running (FireTV Home->Settings->Applications->Manage Installed Applications->FireStarter->Force Stop). You can relaunch it after you go about your business with adbFire.
[Fire TV General] showmeyourskeleton:
and so it turns out it was as simple as that! thank you!
[Fire TV General] enz89:
will the root delete everything on the fire tv? i mean installed kodi, games etc?

best regards
[Fire TV General] Patrick_445:
No; root doesn't affect user space data and apps. After a successful root, Kodi and your games would still be there.
[Fire TV General] elliwigy:
started the process with a home made male a to male a cord lol so far so good!

i originally bought a data transfer cable for 30$ and only place i could find one i needed was online and i didnt want to wait lol
[Fire TV General] rizzo20:
Update: After hours of messing with it, simply using a different USB port fixed this error prob. Rooting now :)

I rooted a 2nd Gen with 5.0.3.1 just fine using this process but another device running 5.0.4 is giving me the error message below: any ideas?

Starting the AFTV2 rooting process

1. Connect your PC to the AFTV2 with an A-male to A-male USB cable

2. Power on / power cycle the AFTV2 to initiate the preloader

Waiting for preloader...

Found port = COM6

Traceback (most recent call last):

File "root_aftv2.py", line 412, in <module>

dev = serial.Serial(port, BAUD)

File "C:\Python34\lib\site-packages\serial\serialwin32.py", line 38, in __init

__

File "C:\Python34\lib\site-packages\serial\serialutil.py", line 282, in __init

__

File "C:\Python34\lib\site-packages\serial\serialwin32.py", line 66, in open

serial.serialutil.SerialException: could not open port 'COM6': FileNotFoundError

(2, 'The system cannot find the file specified.', None, 2)

The rooting process has FAILED!

Press any key to continue . .

---------- Post added at 08:34 AM ---------- Previous post was at 08:20 AM ----------

\
[Fire TV General] d_a_l_3:
I'm on Linux Mint 17.3 and had issues like this

Waiting for preloader...
Found port = /dev/ttyACM0
Handshake complete!
Extracting build.prop...
ERROR: Serial protocol mismatch

even I tried multiple times and switch cables no success

Then I used my laptop with WIndows 7 and worked fine...not sure what is issue but if someone have same issue give it a try :)
[Fire TV General] samykoka:
Please , i cant connect my AFTV2 through usb cable , i'm on windows 10 and installed all the drivers .. when i connect the cable my pc plays the new device connected sound followed by the disconnected sound !!!

is this something wrong with my pc , cable or i got a defective device ?

please note that i'm stuck on white amazon logo .

help please ....
[Fire TV General] elliwigy:
how long is this supposed to take? having to restart preloader multiple times but its taking forever lol

---------- Post added at 10:10 AM ---------- Previous post was at 09:57 AM ----------

to add im past 0x25dda400
[Fire TV General] deanr1977:
From 2-2 & a half hrs is about the average time for this flash
[Fire TV General] elliwigy:
crazy lol. im pretty sure im past 2.5 hrs but i assume its still working..

i lost track of time since i started last night but fell asleep and started back up this morning lol

each time it freezes i close it, run the bat again then power cycle the box.. it will zip through already completed img and start up where it left off..

this is the correct process right?

---------- Post added at 11:36 AM ---------- Previous post was at 11:11 AM ----------

edit: Took longer than usual (maybe was because I used a home made cord) but it is now completed and updates disabled!

now for some real fun!

I think i might mess around with debloating this damn thing and turn it into an extreme syndicate style box
[Fire TV General] Whoa_SF:
Would having Firestarter app affect the rooting process.

Tried my macbook running Ubuntu 14.04, it errored out the first time and then would not get past the "waiting for preloaded".

Tried with OS X Snow Leopard and got a port error.

Tried different macbook with Yosemite and can't get past waiting for " waiting for preloaded".

Tried different USB ports on both laptop and three OSs.
[Fire TV General] deanr1977:
Make sure you have the correct usb male a to male a cable, & also check the drivers installed & didn't fail?

Others have reported the same thing & changed there cables & or operating systems & or checked there anti virus Isn't stopping the process (not on mac)? Try these steps & if not ask the Dev.

Hope this helps mate, if so press that thanks button.
[Fire TV General] Legolas2:
That was it.

C:\FTV>adb devices

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

* daemon started successfully *

List of devices attached

Wonder if my root process interruption also was due to FireStarter. I have another FTV2 but not keen to do a root due the restarts needed. I have tried with multiple cables.
[Fire TV General] _u2pop_:
Hello all, i'm trying to root my amazon fire tv 2 5.0.4 and dont find a MTP and FireTV drivers for WINDOWS XP i downloaded the file root-aftv2-5.0.4.zip and i used too the driver folder into that zip and is not working when i tried there show me

'cannot install this hardware'

if somebody can share the MTP & FireTV drivers for windows xp please... thanks.
[Fire TV General] elliwigy:
i cleared firestarter and deleted entirely and still had a rediculous amount of restarts
[Fire TV General] zeroepoch:
I don't know of any XP drivers. You could always run a VM with Linux installed.
[Fire TV General] elliwigy:
or he can install win 7 lol
[Fire TV General] tekno4ever:
Hi Everyone - just wanted to post some feedback in an attempt to help people out. Far and away, this Amazon Fire TV 2 box beats the pants off of my Tronsmart RK68 Android TV box. Additionally, I was super excited to learn that AFTV2 supported 10 bit x265 video files so I decided to root in order to install the free version of the Stickmount app which you can download from here http://bit.ly/1PsKggc in order to support my NTFS USB drives.

I purchased a $2.99 USB male to USB male cable from Amazon which you can find here: http://amzn.to/1SBb5VP

I performed root on my Windows 10 laptop with a USB 3.0 port

After installing the required hardware drivers from http://thebroodle.com/microsoft/windows/how-to-install-mtk65xx-preloader-usb-vcom-drivers-in-windows the root process somewhat straight forward or so I thought. Following the directions located at https://gitlab.com/zeroepoch/aftv2-tools/wikis/home took me 5 or more attempts as I could not get past the static "waiting for preloader" message. I eventually got the CMD prompt window to start printing the “addresses continuously” only after I installed all 3 of the INF files located in the driver folder of the “root-aftv2-5.0.4 ZIP file” downloaded at http://download.zeroepoch.com/aftv2/5.0.4/root-aftv2-5.0.4.zip. After about two hours the box was successfully rooted!

Concerning disabling firmware updates, I simply installed the free Terminal Emulator APK which you can get from here: http://bit.ly/23QA9eI

After giving it the "SU" command and then the "pm disable com.amazon.device.software.ota" command it successfully disable firmware updates! I found that installing the Terminal Emulator APK was a much easier option as I have never been able to get ABD successfully working on my laptop, even after trying both methods provided at https://gitlab.com/zeroepoch/aftv2-tools/wikis/adb .

I hope some of this information helps current and or future AFTV2 owners!
[Fire TV General] enz89:
hi, i have run the root_aftv2 batch and finished it.

now i´m trying to write su in cmd... but i get this message..

Error: java.lang.SecurityException: Permission Denial: attempt to change compone

nt state from pid=4112, uid=2000, package uid=32010

when i type su in cmd, there is no pop up on the tv..

how i connect via cmd with my fire tv? i dont know what im doing wrong...

:(

what is the next step after this

Next perform the following steps:

1. Run root_aftv2.bat

2. Power cycle the Fire TV

3. The process will now start patching (~2 hours)

4. When it prints "Congrats..." power cycle one more time

NOTE: When it's working properly it should print addresses continuously about once per second less than 30 seconds after the preloader has been found

what is next step here? i dont se SUPERSU in app list..
[Fire TV General] elliwigy:
you went to manage applications in the settings?

You had addresses print out for ~2hrs before it said congrats to power cycle one more time?

When you rebooted device was it optimizing applications or something a long those lines on the tv?

---------- Post added at 10:38 AM ---------- Previous post was at 10:36 AM ----------

pretty sure you got adb working if you managed root from your pc as thats one of the prerequisites lol

on a side note, did you use apps2fire to push term emu apk to aftv2 or the pc software?
[Fire TV General] zeroepoch:
You connect with adb and run su. If you don't see the SuperSU app in the app list something went wrong. You sure it finished? Remove the directory re-extract the zip file and try again.
[Fire TV General] tekno4ever:
Oh really? Thats interesting as that tells me I have no idea what I am doing. hehe :) I used SD Maid to export the apps APK off my Android cell phone and then loaded them onto my USB drive. Next I mounted the USB thumb drive via Stickmount and then installed via Root Explorer as I could not get ES File Explorer to recognize the USB thumb drive.
[Fire TV General] elliwigy:
awesome.. just realized i have a usb thumb drive laying around.. wasnt aware that worked lol
[Fire TV General] bah77:
Anyone have a tutorial / walkthrough for 5.0.5 on MAC please?

Everything Im finding is windows related or 5.0.4 :(
[Fire TV General] PhoenixMark:
I have a different tutorial than what is posted on this thread. It will walk you through installing TWRP custom recovery and then install a pre-rooted 5.0.5 firmware. The whole process should take 30 minutes tops (you have files to download and some prep work to do, and a bit of reading).

Updated link as I made a different domain to put these guides at:

http://marksmods.com/Hack-the-Fire-...-and-Install-a-Pre-Rooted-ROM-with-a-Mac.html

I just did an overhaul on this tutorial 4-15-16 as I wanted to update to 5.0.5.1 then downgrade to 5.0.5 and streamline the guide to make it even easier to use.
[Fire TV General] bah77:
Thanks a lot but no success, stuck at waiting for preloader.

It's like my FireTV isn't recognised by my macbook pro so I've tried ordering the exact cable from the tutorial.

Waiting on that now, might be a while
[Fire TV General] elliwigy:
out of curiosity what cable are you trying to use?

it cannot be a transfer cable with any circuitry in it.. if you plug the cable in and softwware starts up thats another sign its the wrong cable...
[Fire TV General] PhoenixMark:
You've got to use the cable I linked to or that list of cables that I linked to. You have to use a specific one.
[Fire TV General] bah77:
Cheers, i do have that came on order.

I also have another one she to arrive tomorrow

Both data transfer cables, hoping they sort my issue
[Fire TV General] elliwigy:
i believe data transfer cables wont work unless theres no circuitry in the middle at all.. it has to bea straight malea to mail a cable..

i personally made my own by using two male ends, splicing and pairing the wires together but of course i dont recommend this unless you know how as you can potentially do damage to a device if something goes wrong lol.

i initially bought a universal transfer cable and when i plugged it in software booted up on my pc and wouldnt see the aftv2 so i took it back to best buy and got my 30$ back
[Fire TV General] deanr1977:
For a male to male cable to do this i got about a 1m long, i paid just over £5 so why would you wanna make one
[Fire TV General] bah77:
I have a ugreen male to male coming from Amazon today, hope that works

If not I also have the C2G one detailed in the Mac tutorial on route also
[Fire TV General] elliwigy:
oh i bought one but as someones who has been in electronic engineering i like to make things lol plus i didnt have one at the time and was impatient.. i must ssy i did purchase one after online but i havent even used it yet since my homemadeone is just as good, longer than the one i purchased and more satisfying when you make things yourself.
[Fire TV General] bah77:
I've ordered one of the cables on the list and I'm waiting for delivery...

But in the meantime i have this

Ugreen USB 3.0 A Male to A Male Cable SuperSpeed data transfer of up to 5Gbps Gold Plated 2m https://www.amazon.co.uk/dp/B00P0E394U/ref=cm_sw_r_other_awd_o.W4wbD6XKQ3X

This isn't working, still stuck at waiting for preloadrer

Really thought this would work :(

Wonder if i have another issue?
[Fire TV General] deanr1977:
Fair play to you my friend, just when it comes to flashing I don't wanna be taking risks.
[Fire TV General] d3adpool:
I wanted to try creating my own too, but got scared. $30 is a lot of money for some cord. I bought one off ebay for $4 and it worked great. Took about 4 days to get here, so I left my 2nd gen aftv disconnected from the internet to prevent a new update being downloaded.

---------- Post added at 02:57 PM ---------- Previous post was at 02:53 PM ----------

This
[Fire TV General] elliwigy:
lol the 30$ cable was the universal transfer cable that didnt work at all that i returned to best buy.. it was the only one i could find in stores..

mine was a couple bucks off amazon (mostly can only find em online)
[Fire TV General] PhoenixMark:
I guess if you don't want to pop for the cable you could always use king root and then use twrp to install custom recovery and a pre rooted rom.

---Updated---

I decided to take my own advice and got another fire tv and ran it through the kingroot method. Then I installed TWRP and then a pre rooted ROM, then performed a factory reset to dump kingroot and all its bloatware. I wrote a Mac tutorial which Windows users should be able to benefit from as well as the only difference is in how you connect via adb.

http://marksmods.com/Hack-the-Fire-...-and-Install-a-Pre-Rooted-ROM-with-a-Mac.html
[Fire TV General] d3adpool:
that's one way, and i think it's the only way right now on AFTV1 and firesticks.
[Fire TV General] Pzyborg:
Ever since rooting I cant open the appstore app. Anyone have any ideals? I tried to uninstall it and then I tried to install a different apk, no luck yet. Any help would be appreciated.
[Fire TV General] deanr1977:
Use this guide - http://www.aftvnews.com/how-to-install-the-google-play-store-on-the-fire-tv-2-running-fire-os-5/

Works fine for me & I resigned the app & have never had to reinstall it again since using this guide to get it to work (make sure you disable updates In the settings too).

Hope this helps If so press that thanks button
[Fire TV General] Pzyborg:
I'll try it now. Thank you so much for replying. Oh sorry, I'm talking about the Amazon Appstore. My Google Play works fine for what it offers.

---------- Post added at 12:17 AM ---------- Previous post was at 12:13 AM ----------

Any ideals on the Appstore, or any info on how to remove root from this unit?
[Fire TV General] deanr1977:
If you want to remove root go to the link then hit the home button & on one of the buttons at the top, check the guides there, they have an unroot guide
[Fire TV General] Pzyborg:
Yes, I would like to unroot my unit. Not sure where you mean to look though, can you give me a little more info, I can't locate it? Is this guide for the Fire TV 2? I have the fire tv 2 rooted by rbox's method. None of my Amazon apps work. I click on them and nothing happens ever since I rooted. Everything else is fine. I can even use my prime content but appstore, shop amazon. and amazon video buttons don't work. Any ideals? I'd keep root if I could just get the appstore app to work even.
[Fire TV General] zeroepoch:
I think you can just remove the SuperSU stuff from the preroot zip. It's not super straightforward. My unroot stuff is for an older version (5.0.4). Right now you can go back to 5.0.4 and use my unroot guide but that won't always work. They prevent you from reverting the preloader if they bump the rev.
[Fire TV General] deanr1977:
Look here this is what I ment -

http://www.aftvnews.com/how-to-unroot-a-fire-tv-2-and-switch-back-to-stock-updates-from-amazon/
[Fire TV General] Pzyborg:
Thank you very much. This is what I was looking for.
[Fire TV General] PhoenixMark:
This guide is awesome very simple. Enable updates, downgrade to 5.0.4, update back to 5.0.5, done. Used it several times this weekend and it performs just like it should to the point where you go to re root and TWRP sees the system as a read only device

http://www.aftvnews.com/how-to-unroot-a-fire-tv-2-and-switch-back-to-stock-updates-from-amazon/
[Fire TV General] f0xy:
Any way around using a usb keyboard? I don't have one yet [emoji848][emoji15]
[Fire TV General] deanr1977:
Adb can emulate a keyboard or mouse pointer
[Fire TV General] Don_Black:
Has anyone been able to run teamviewer remote mode in Fire TV 2 is busy box and Xposed module available now for that device.
[Fire TV General] zeroepoch:
It's because it prints a TON of debug output on the CPU UART and it just can't flush the output to the serial port fast enough to reach the true speed.
[Fire TV General] Lol.:
What about going from an already rooted device to the newer firmware?
[Fire TV General] zeroepoch:
There is another thread on that but it's being worked on. There has been a number of success but also a few bricks. Scripts are being worked on to make it easier and safer.
[Fire TV General] eore227:
Ok I was on 5.31 non rooted and updated to 5.04. I'm on a mac and waiting for preloader step is doing nothing. Is there anyway to check to see if my male a to a cable is bad? Just got it but maybe it's a dud. Any terminal commands to check? I just can't get past preloader step powering aftv on and off too. All this being done on 10.10 mac. Thanks
[Fire TV General] deanr1977:
I'm not sure because I have not started this root process on 5.0.4 yet but what ive read so far, people saying that it hangs sometimes because of your anti virus blocking the script so you may want to disable that & see if that works for you? Hope this helps
[Fire TV General] eore227:
I'm on a mac so there is no anti virus
[Fire TV General] deanr1977:
I did think that as well but I don't own a mac. Maybe some of the other mac users can help?
[Fire TV General] rester555:
Make sure you have the right USB male a to a cord... Mine was a data transfer cable and it had a chip in it... That wasn't the right cable. The right cable will allow you to see your Fire TV storage through the USB port, the data transfer cable with the chip/board does not.
[Fire TV General] deanr1977:
I bought one for about 4or5 quid In Tescos
[Fire TV General] eore227:
Ok well there is my problem

i don't see my box with the cable at all.
[Fire TV General] efaden:
Rooted without issue. Worked perfectly... Now, what should I do with it next?
[Fire TV General] dk1keith:
Do I Factory Reset

I am already rooted on 5.0.3.1 to update to 5.0.4 does it matter that I have several apps already installed? No need for factory reset right.

thanks
[Fire TV General] D-an-W:
It is recommended to re-enable updates and restore back to a stock 5.0.3.1 then update to 5.0.4, I am not sure if the process of restoring the stock 5.0.3.1 wipes everything as I didn't have anything installed when I did it.

I did read that people have reported success going straight from a rooted 5.0.3.1 to 5.0.4 but also read it wasn't recommended.
[Fire TV General] go2xraj:
I am using linux and windows, i updated to 5.0.4 OTA, i tried the directions given, but getting an error: serial protocol mismatched.

Waiting for preloader...

Found port = /dev/ttyACM0

Handshake complete!

Extracting build.prop...

ERROR: missing version.txt
[Fire TV General] ImCoKeMaN:
redownload the package it should always include the version.txt but I'm not sure what else could be unknown in your current setup.
[Fire TV General] go2xraj:
I tried but no luck...
[Fire TV General] zeroepoch:
Your apps and other data will be maintained going been to stock updating and rooting again. The only exception would be busybox or other system mods.