yashsingh1/xdaforums huggingface dataset:
[Fire TV General] arunningpir8:
having a partial flash will definitely lead to some undesirable results. The good news is you can keep trying over and over until it finishes. Like I said before, try different ports (especially 2.0 vs 3.0 ports).
[Fire TV General] brad_robbo:
I've only got two ports on my MBP so doesn't leave too many options haha
[Fire TV General] arunningpir8:
Do you have any usb hubs?
[Fire TV General] john6six:
Rooting now.

I am running the root process now. I am getting row after row of "1: 0xa0" is this the expected output or are these errors?

Also for those that have had the access denied issue after the reboot, you need to add your user to the dialout group.

Thanks
[Fire TV General] fleisch80:
what to do with dev/ttyACMO permission denied

anyone have a way to get around this, i see what everyone is saying to do,

first i cd/ into fire tv tools then run the commands, unplug the firetv while waiting for returning handshake,

i get back a /dev/ttyACMO could not open port, permission denied,

i even got creative, tried it on all the 4 available usb ports, no go.

do you think i should try using a spare serial to usb connector, would that connect it.

i appologize, i know many people are having simillar issues,

thanks again

cf
[Fire TV General] john6six:
run "sudo adduser USERID dialout" then restart. That is how I got past that error
[Fire TV General] D-an-W:
Its looks like everything completed ok via the Pi 2

Not really sure what to do now, I have never used ADB. Do I connect to the AFTV2 somehow and issue the commands?
[Fire TV General] zeroepoch:
Something is wrong with serial port buffering mostly likely. Try powering everything off and try again.
[Fire TV General] D-an-W:
Thanks for the hints zeroepoch, I think I did it!

I used adbFire (Already had it installed on the Mac) to launch the ADB Shell and connected the Ethernet cable to the AFTV2.

I then issued the "su" command and granted it's permission on the display, this gave me the output below...

Last login: Tue Nov 17 06:21:09 on ttys001
Dans-Mac-mini:~ Dan$ /Applications/adbFire.app/Contents/MacOS/adbfiles/console.sh ; exit;
shell@sloane:/ $ su
root@sloane:/ # pm disable com.amazon.device.software.ota
Package com.amazon.device.software.ota new state: disabled
root@sloane:/ #

Now when I check for updates it seems to just say "Checking now..." all the time and if I press to check for updates I get an error so I presume it worked?
[Fire TV General] ians325:
Those of you having trouble on Macs, what operation system are you using cause, I was having the same problems as everyone it stopping at image 8. Luckly im in the processor of upgrading my hard drive, and had mavericks on my old hard drive. and that worked.

My Findings :-

Works on Mavericks - Macbook pro 2010

Does Not Work on El Captain -Macbook pro 2010
[Fire TV General] T0m93:
Hey Thanks fur the Tip. I'm working with El Capitan,too. Dont wanna Downgrade... Too much work. I will wait and hope Someone finds a way or changes the Script or something... Lets do this :D
[Fire TV General] T0m93:
Hey you dont have to install the complete xcode from MacAppStore.

xcode-select --install ( http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/ )

Type this in Terminal. Will be enough. These are just the Command Line Tools etc. and its just a 300MB or something.

Cheers
[Fire TV General] ians325:
You can install Mavericks on usb drive or external drive
[Fire TV General] john6six:
Thanks much, I expected this was wrong and restarted the process before going to bed. Woke up this morning and all is good, successfully rooted.
[Fire TV General] D-an-W:
If I carry out a factory reset from with the AFTV2 menu will the root still be in place or with the patches applied can the reset not be done?
[Fire TV General] Jay794:
Is anybody working on a windows version of this? You know, idiot proof with a GUI?
[Fire TV General] xokol2lvox:
Hypothetically say you got to anxious and replaced linker in system/xbin in order to get python working, due to some PIE security. I understand must flash full image and takes about 2 weeks. how do i have script write full image instead of diff file? I am sure somebody will have this question. :)
[Fire TV General] zeroepoch:
[MENTION=5630334]ians325[/MENTION], thanks for the Mac guide. I'm sure others will find it useful.
[Fire TV General] zeroepoch:
./write_mmc.py 0x00000000058e0000 system.orig.img
[Fire TV General] xokol2lvox:
Amazingly fast reply. Thanks. Been messing with reading mmc a bit thinking could pull image and get diff and patch. I'll just bite the bullet and flash whole deal. Only imagine would take as long to read mmc. Thanks for all the work you've done
[Fire TV General] krawhitham:
Anyone try a linux VMware image in windows yet?
[Fire TV General] T0m93:
Hey, i tried this Process on the Mac (OS X Mavericks) from my Roommate.

Problem: I couldnt detect the Fire TV with the UsbModem command. So i cant change the Handshake.py etc. Any Ideas?

Command: while true ; do ls -l /dev/cu.usbmodem* ; sleep 1 ; done
[Fire TV General] D-an-W:
I couldn't detect it at all on my Mac running 10.11.2 Beta (15C40a) but it worked first time on the Pi 2 with the same USB 3.0 lead.

I now need to figure out how to install ADB on the Pi 2, I see it has been done but I ran out of talent last night!
[Fire TV General] brad_robbo:
right I've got somewhere.....

used my old macbook with OS X 10.7 on, its got the handshake done and its started patching files, got to a point where it looks like its finished and just going back to :

BRADLEYs-MacBook-Pro:~ BradRobertson$

is this normal after around 30secs of patching??

UPDATE: its scrolling now for just over an hour, looks like were going to be rooted soon :)
[Fire TV General] ians325:
TRIED xposed v78-sk21-arm64, with flash fire no luck. Any clues ?
[Fire TV General] brad_robbo:
believe we need a custom recovery for this no?
[Fire TV General] ImCoKeMaN:
So I've spent a little time this evening looking at testing this process on windows. So far got the simple stuff like installing python and pyserial hehe. Anyway, it doesn't even blip a new com port when it makes the USB connection sound so I'm thinking I need a driver. Are there preloader drivers available for the Fire TV 2's chip? Will the MTK65XX Preloader USB VCom Drivers work for our 8173c chip?
[Fire TV General] RavenII:
I know this is a known issue, but I'm wondering if the 2 addresses after patching 0005a200 is a part of the problem?...

Patching patch_0005a200.img...
1024+0 records in
1024+0 records out
1024 bytes transferred in 0.001553 secs (659344 bytes/sec)
Addr: 0x593a200
Addr: 0x593a400

Patching patch_0005e800.img...
512+0 records in
512+0 records out
512 bytes transferred in 0.000787 secs (650555 bytes/sec)
[Fire TV General] fleisch80:
this must not be my thing

sorry to be a bother,

i get to handshake, after when it asks to patch the img file for kernel, how is that done,

i tried everything i could think of,

this is proven maybee to be just a little bit to command line for me.
[Fire TV General] xenoglyph:
I'm away from PC right now, but I was able to get MT fastboot driver working in Windows on launch day, I'll dig around and see what files I've got. Recent MT binaries should be good.
[Fire TV General] D-an-W:
I am no way an expert at this fleisch80 but if you are seeing "Handshake complete" you are almost there.

Assuming also you followed the previous steps the next line is all you need to run (I added sudo at the front after reading posts in this thread):

sudo ./patch_mmc.sh 0x00000000058e0000 system.root.img system.diff

[MENTION=3411776]zeroepoch[/MENTION] just to let you know, I have now successfully rooted, restored and rooted again using the Raspberry Pi 2 (Raspbian) and a 3m USB 3.0 A to A lead (Purchased from Maplin here in UK).

For ADB on the Pi I installed the one mentioned here which I don't think is the most recent but did the job well once I figured out how to use it.

If updates were blocked the are still blocked after running the restore until a factory reset is carried out.
[Fire TV General] fleisch80:
I think my dependencies are off on mint 15

thank you to everyone who is trying to help me,

i think its not working for me due to some unmet dependency within linux mint,

i have everything a+ and dont know why it says error cant find img file , or diff,

or it says first patch image when i type the long command with diff and img,

even tried dragging and dropping file after command, nothing.

wierd cause i have everything installed properly

problaby try with regular ubuntu ,

anyone else with glitches under mint.
[Fire TV General] aboshi:
Rooted with a RaspberryPi 2 ;)

Thanks for the hard work! I will give back by this small tut for anyone else with a RaspberryPi 2 (RaspberryPi B+ might work also just give it a shot)

First build and install python 3.5 and might as well install git while were at it.

Make life easy and just switch to root as soon as you log in. Also to make life even easier just ssh in to your pi so you can just copy and paste everything below.

1. sudo su (enter your pass)

2. (This is all one line)

apt-get install git build-essential libncursesw5-dev libgdbm-dev libc6-dev zlib1g-dev libsqlite3-dev tk-dev libssl-dev openssl

3. wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tgz

4. tar -zxvf Python-3.5.0.tgz

5. cd Python-3.5.0

6. ./configure

7. make

8. make install

9. python3.5 -V (should return Python 3.5.0) if the return is good we can move on

10. cd ..

11. wget https://bootstrap.pypa.io/get-pip.py

12. python3.5 get-pip.py

13. pip3.5 --version (should return pip 7.1.2 from /usr/local/lib/python3.5/site-packages (python 3.5)) if the retun is good your almost done.

14. cd ~ (make sure you're still logged in as root)

15. nano .bashrc

16. hold down arrow until you reach the bottom

17. type alias python=python3.5

18. now hold ctrl & x press y

19. type . .bashrc and hit enter (this will refresh bash with the new alias)

20. type python -V hit enter (should return python 3.5.0) if so you're done installing python and your almost there!

21. download the git from the first page

22. once you have the git cd into it, download and place this ADB in there adb for RaspberryPi

23. chmod +wrx adb

24. follow the instruction from the first page.

25. After you run the patching script it will hang for a min before you see anything, just leave it alone. You will than see the patch take effect and let it do its thing. It will take 2 hours

26. PROFIT!

Thanx for all the hard work [MENTION=3411776]zeroepoch[/MENTION] ;)
[Fire TV General] D-an-W:
Thanks aboshi, could have done with that two days ago ;)
[Fire TV General] aboshi:
Just got back form Hawaii yesterday, First thing I did was update the aftv2 and tried to get the scripts to play nice with my mac (wasn't happening and I didn't feel like reworking everything as I'm way too jet-lagged). After 20 mins I said forget it, onto the Pi ;)

Hopefully this will help you in the future if they don't patch it in the next update.
[Fire TV General] tomxtc1979:
Rooting success !!!

Hi all, Hi zeroepoch.......

i can confirm the rooting-method as posted in post 1........

used ubuntu 14.04

needs manual install of python3 and pip3 and pyserial......

after that, rooting took about 2 hours as described....

MANY MANY MANY Thanxxxxx to zeroepoch for the hard work !!!!!!!!!!

Rooted a german AFTV2 ordered yesterday.........

KEEP UP THE GREAT WORK !!!!!!!!!!!!!!!!!!!!!!!!!
[Fire TV General] T0m93:
Hello guys,

I managed to root my Fire TV :D

So here is what i did. I downloaded OS X Mavericks and Diskmaker x. I created a bootable USB.

-Then Boot from Usb

-Install OS X mavericks on another USB (32GB)

-Follow the other instruction

-A Tip Copy the Fire tv root folder.. It is very Slow :D

And Many Many thanks to the Guy who made that fantastic Root :D
[Fire TV General] D-an-W:
I'm not sure what version of adb for Raspberry Pi you linked to aboshi (Didn't test it) but I just managed to compile 1.0.32 on the Pi using info from here and here (2nd link made it easier for a n00b like me to follow despite the Japanese bits) should anyone need it.
[Fire TV General] T0m93:
Does Any One Know how to Root a exFAT external Drive.

Getting this error with ADB fire Error: tmp-mksh: /system/xbin/mntdrives.sh: not found

and stickmount is not working. Drive is not shown correctly.

For Paragon u need a special Version
[Fire TV General] aboshi:
Search for:

Paragon exFAT, NTFS HFS+_1.2 apk

I installed it but haven't tested a drive yet, also if you read paragons description on the play store it will tell you that android 5+ has issues because of SELinux. So it will be read only on ntfs/hfs+, but you can copy it down to the internal SD if you need write access.
[Fire TV General] jocala:
wget http://download.zeroepoch.com/aftv2/5.0.3.1/system.root.img

Resolving download.zeroepoch.com (download.zeroepoch.com)... 167.88.42.169
Connecting to download.zeroepoch.com (download.zeroepoch.com)|167.88.42.169|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-11-18 22:37:59 ERROR 404: Not Found.

Did I miss something?
[Fire TV General] ImCoKeMaN:
Looks like you're missing the .gz

here are the files at that download folder:

system.diff.gz 07-Nov-2015 22:28 18538407

system.orig.img.gz 07-Nov-2015 22:38 431618517

system.root.img.gz 07-Nov-2015 22:49 434692185
[Fire TV General] yanni95:
Got it Working!

Got it Working on Mavericks. Installed Mavericks on an external USB Drive and got through the procedure with no errors. Thank you very much [MENTION=3411776]zeroepoch[/MENTION] for the root and [MENTION=5630334]ians325[/MENTION] for the OS X guide!!
[Fire TV General] fleisch80:
so fustrating

when i also try it on my mac,

it says on there too, first patch the diff file and also first patch the img file,im running the command but it states

need to patch diff first,

so fustrating what am i doing wrong
[Fire TV General] D-an-W:
Can you take a screenshot of the error maybe?
[Fire TV General] fleisch80:
heres the error, sometimes it says no file also

http://tinypic.com/r/2wqwgma/9

the error is problably so simple too, but im just so fustrated with myself,

anyway, thank you guys so much for the kindness, and trying to help me,

your a+ on the forum
[Fire TV General] D-an-W:
Is there a reason why you're not in the aftv2-tools folder, this is just a guess but the script might be expecting you to be?
[Fire TV General] imagica71:
Hello, i'am curious.. would rooting my fire tv mean that i could use/install openvpn binaries again?

thx Marco
[Fire TV General] RavenII:
Ok, because I'm OCD, and I hate having corrupt/damaged/dirty files if I can avoid it...(I know..I know...blame it on the OCD-ness)...If you ran the script...and it patched a few lines, then you had to restart it for whatever reason...is it right to day that the script knows that those already patched should be skipped and continues? It doesn't leave things damaged, right?

Or, should I restore through recover, and restart from scratch?
[Fire TV General] D-an-W:
I'm the same way RavenII, on my first go with the Pi 2 I didn't wait long enough for the process to start (Thought it had locked up). The second time it worked fine though so as I also wanted to see if I could reverse the process I followed the procedure to remove root access (Carrying out a factory reset from the AFTV2 leaves root access in place).

The reversal procedure is much quicker (Once I figured out how to build ADB on my Pi 2).
[Fire TV General] aboshi:
After connecting a drive formatted to NTFS and loading paragon, it made it sound like the drive was going to drop dead with a seek failure. It did not detect the drive either. Connecting it back to the mac/pc the drive sounds and is perfectly fine. I will test a few other drives later today.
[Fire TV General] RavenII:
Haha, that's exactly what I did...I sent the command...and nothing...wait wait, ahhh screw it, reboot. Then I did the same thing but waited longer and it started going. That's why I was wondering. It's good to know that the root survives...
[Fire TV General] zeroepoch:
It doesn't know what's already been written it just writes the same physical block again. You'd have to trim lines from the beginning of diff file to avoid writing them again. You can restore the original image and do it again if you want it clean in one pass.
[Fire TV General] brad_robbo:
sooooo now were rooted

so now we have a working root solution, what exactly has this enabled us to do?
[Fire TV General] RavenII:
But no big deal if I just leave it?
[Fire TV General] zeroepoch:
If root is working fine and it finished at least once then no need to do it again :) Any partial work it did a failed attempt will be cleaned up the second time when it passes since it's overridden again.
[Fire TV General] RavenII:
Perfect, that's what I needed to hear, haha. Now, to figure out why can't I mount /system rw?....
[Fire TV General] jocala:
Thanks for this. Working great here.
[Fire TV General] RavenII:
jocala, does your tool work fine with this? I'm trying to install SSH/Samba but it seems like I can't mount / or /system as rw....I'm trying to figure out if it's something I'm doing, or if I need to re-root.
[Fire TV General] jocala:
I installed system tools (busybox & scripts) to system/xbin/ ... but after that for whatever reason /system refuses to mount r/w. I don't think it's a root issue, root seems fine otherwise.
[Fire TV General] RavenII:
Ok, I'm experiencing the same exact issue...I'm glad it's not just me.
[Fire TV General] zeroepoch:
You probably need to use /system/bin/mount not the one in xbin.
[Fire TV General] playingmax:
Any update on trying to root on windows?
[Fire TV General] jocala:
Nope.
[Fire TV General] ImCoKeMaN:
didn't have much more time yet, I did install some VBOX drivers, but haven't gotten the handshake part working. it did show as com19 for a second though so I think that is closer. once the handshake is done the rest is taking time on porting the bash script or using Cygwin.... should be doable. if anyone else is working don't wait on my count, but I am planning on rooting mine via windows just to help the community.
[Fire TV General] zeroepoch:
I compiled the latest version of busybox for aarch64 and installed it to xbin and that was the problem I had. Works fine for me when I use the right mount binary.
[Fire TV General] jocala:
Busybox worked fine for me as well. To prove I'm not nuts I've attached a screenshot of /system/xbin. The problem is it quit working. r/w mount no longer works with busybox mount or android mount.
[Fire TV General] ImCoKeMaN:
After installing VCOM drivers and watching device manager you can see a com port open for a second when starting the power on the firetv. I edited handshake.py to COM20 (was 19 first time, but later tonight 20... looks like something a script should find, but not there yet) and had to comment the OS path loop as that code was not really for Windows serial ports. Next time I plugged in firetv started handshake.py as soon as usb sounded and got the attached result on the first try. no more time tonight, but progress.

Here's the handshake edits:

PORT = "COM20"
BAUD = 115200

#while True:

# if os.path.exists(PORT):
# break

# time.sleep(0.25)
[Fire TV General] catskinsox:
Error trying to disable software updates

Hi, thanks for this guide!

I got through all the steps to root, but when I try to disable the software updates using this:

shell@sloane:/ $ su

1|shell@sloane:/ $ pm disable com.amazon.device.software.ota

I get this:

Error: java.lang.SecurityException: Permission Denial: attempt to change component state from pid=4651, uid=2000, package uid=32010

Any help would be appreciated. Thanks again!

Carl
[Fire TV General] ImCoKeMaN:
after su you didn't get the # prompt. Did you check to make sure you granted SU permission on the tv screen popup with the remote?
[Fire TV General] catskinsox:
That was it! Thanks!

I didn't have it hooked up to the TV at that point, and I didn't realize a pop-up would be on the screen. Thank you so much for your help.
[Fire TV General] zeroepoch:
Yep it looks like busybox is installed. Not sure what else to suggest then.
[Fire TV General] imagica71:
Does anybody got openVPN running after root procedure? And, is it possible to do a factory reset?

Thx Marco
[Fire TV General] tomxtc1979:
After rooting, dont install anything like busybox....

just use "su" to get root-access then

"mount -o remount,rw /" and

"mount -o remount,rw /system"

to make root and system read-and-writable.......

works fine for me....

Also if you want to mount NTFS-formated USB-drives

use the "old" stick-mount APK from AFTV1.... Also work fine for me...

Greez.... Tom
[Fire TV General] fleisch80:
for people with problems on linux mint 14

so i researched, and also tried another distro instead of linux mint 14

my thoughts were correct, for some reason even after all dependencies were met and installed, my mint 14 was not executing

a diff command, also i could not get the mint distro to properly link the firetvtools folder and automatically associate and link

the iso with diff for the folder,under mint. ie the error must patch the iso and diff address first i kept getting

i also made sure my git was installed.

i am now running lubuntu ,

and for the first time its executing the command with diff,

still seeing errors, but im sure ill get it, as everyone stated, i saw the rolling patch comm.

for anyone else with linux mint trying this, unless your a super advanced user,

there seems to be many reasons why mint is not linking things so it could execute,

ps, dont use mint for this,

try lubuntu , if your like me and the older pc wont run newer ubuntu ver cause of cpu non 64 bit.

lubuntu does not have any pae cpu blocking

peace
[Fire TV General] aboshi:
Check your python version, I can almost bet you aren't running 3.5

Just follow the same tut I posted for the Raspberry Pi to build & install python, and setup the bash profile to use 3.5. Don't forget to use adb for x86/64 linux (not the one posted for the Pi)
[Elephone P8000] shiggs1988:
So here's my long story short - I've placed 2 orders now for a grey P8000 and still I have no phone. My original order was on October 3rd... :(

Both are Chinese/HK vendors (Focal Price & iGOGO) showing stock but weeks pass and nothing happens except generic responses to my queries about delays in receiving new stock.

Eventually I just cancel my orders (unfortunately manually via PayPal claims due to a lack of cooperation from the vendors).

Now I know these vendors can be a little shady with little or no customer service but I now wonder should I just give up? It seems there's no easy way for me to get this phone (at least at the RRP)?

I've since pre-ordered the Umi Iron Pro via BangGood but I'm now doubting whether this is a good move due to a lack of development, no open sources and no 800Mhz LTE for the UK. However the design is nice, twin flash, full metal casing, better cameras, OTG support and slimmer(!) bezels.

Would welcome any feedback or suggestions you may have. Such a shame as I really thought I'd have a new gadget to tinker with by now!
[Elephone P8000] morrig:
Try UK seller.

Although the prices are low there waiting time plus the chance of vat hit put me of Chinese sellers.Took a punt on Ebay UK seller,a £115.99 bid excepted on Friday morning for a gold one.

Royal Mail site entered tracking number and states waiting arrival to them at 9 am yesterday,so fingers crossed should be here by Thursday.

So with the price at the moment £113.81 on Focalprice can not see the benifit of buying there,what if its faulty etc.
[Elephone P8000] cyrrel:
Hi,

why not buy it in the manufacturers shop?

I bought my phone @ "elephone DOT hk" (sorry, I am not allowed to post a link here as a fairly new user) and didn't have any problem except the price was a bit higher but no problems with delivery etc.
[Elephone P8000] shiggs1988:
Thanks for replying. Can I ask the name of your eBay seller? I'm tempted by the gold metal and then buying a black battery cover off AliExpress to tone down the carbon fibre effect!