[Fire TV General] ians325:
How to Install on Mac, (Do Not Use El Captain)

Stage 1)

Install Xcode (Get it from App Store) or get command line

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

Install Fastboot and Adb

1)Download this Android.zip file to your Mac.

2)Extract the .zip and place the Android folder on your Desktop.

3)Open Terminal and type:

cd Desktop/Android

4)Now install ADB and Fastboot: ./ADB-Install-Mac.sh

5)Allow the script to run and you'll be all set. Now the ADB and Fastboot files will be placed in /usr/bin/ on your Mac.

if this does not work then manuall copy files to /usr/bin/

Stage 2)

1) install python 3.5.0 for Mac OS X from python.org

2) Install pyserial.

Open Terminal type

sudo pip3 install pyserial

Stage 3)

1)Turn on Amazon Fire TV

2)From the main (Launcher) screen, select Settings.

3)Select System > Developer Options.

4)Select ADB Debugging.

5)Select USB Debugging.

6)Now Plug usb to firetv and mac usb

Stage 4)

1)Open Terminal on Mac

2)Copy and Paste

cd aftv2-tools
curl -O http://download.zeroepoch.com/aftv2/5.0.3.1/system.root.img.gz
curl -O http://download.zeroepoch.com/aftv2/5.0.3.1/system.diff.gz
gunzip system.root.img.gz
gunzip system.diff.gz

3)Open Second Terminal,

2)Copy and Paste

while true ; do ls -l /dev/cu.usbmodem* ; sleep 1 ; done

This show appear

"ls: /dev/cu.usbmodem*: No such file or directory"

4)Goto first terminal and copy & paste

adb reboot

5) Go Back to 2nd terminal and look for

and look for some thing like this

"ls: /dev/cu.usbmodem*: No such file or directory"

"crw-rw-rw- 1 root wheel 22, 11 17 Nov 04:09 /dev/cu.usbmodem2410"

press ctrl c stop command,

6) Open Textedit and copy your /dev/cu.usbmodem(your number)

7) Close terminal 2

Stage 5

1) In Finder Click on your home directory (House Symbol),

2 now click on aftv2-tools directory

3) Open with Textedit handshake.py

Look for

"PORT = "/dev/ttyACM0"

BAUD = 115200"

4) Goto Textedit where you copied your "dev/cu.usbmodem" copy that.

5) Go back to Handshake.py and change to "PORT="(your copyied dev/cu.usbmodem "

Example

PORT = "/dev/cu.usbmodem2410"

save file

6) Now repeat process on the following files write_mmc.py, read_mmc.py.

Stage 6

1) In first open terminal

2) Copy and Paste

adb reboot ; ./handshake.py

3)Wait for Handshake, to state "Handshake Complete" on Screen

4) Disconnect USB Cable and Reconnect USB Cable

5) In terminal copy and paste

./patch_mmc.sh 0x00000000058e0000 system.root.img system.diff # takes ~2 hours
# last address is 0x50dce600

6) If working it shoud start look something (like this

"Patching patch xxxxxxxxxx"

1024+0 records in

1024+0 records out

1024 bytes (1.0 kB) copied, 0.00124629 s, 822 kB/s

Addr: 0x50dce400

Addr: 0x50dce600

7) When done patching few files it while start patching address

example:-

Addr: 0x25bc2e00

Addr: 0x25bc3000

Addr: 0x25bc3200

Addr: 0x25bc3400

Addr: 0x25bc3600

Addr: 0x25bc3800

Addr: 0x25bc3a00

8) Go Away for 2 hrs

9) terminal will now display

Patching patch_4b4ee400.img...

1024+0 records in

1024+0 records out

1024 bytes transferred in 0.043781 secs (23389 bytes/sec)

Addr: 0x50dce400

Addr: 0x50dce600

10) reboot Amazon Fire

11) Go back to termial copy and paste

adb shell
su

12) Now on Amazon Fire TV Screen Super User Notice will display and you need to accept it

13) Now go back to terminal and copy and pase

pm disable com.amazon.device.software.ota

to Disable update

---------- Post added at 09:08 AM ---------- Previous post was at 09:05 AM ----------