[Xperia Z1 General] Fiso:
Rooting, Backing Up TA and unlocking bootloader on a Mac can be a pain in the backside especially if you're a nube. Since there isn't an obvious guide out there for us (the most hated computer users by developers) Mac users i decided to create one.

Before we start make sure you're running the latest Mac OS X Mavericks (which is free thanks to apple generosity :) ) this is to make things easier for me when it comes to helping you.

PLZZZZ PLZZZZZ Read Instruction first (making sure you have a general under standing of them) THEN FIND A POSSIBLE ESCAPE PLAN (just incase things go south) and obtain the correct files before proceeding to follow them!!!!

WARNING!!!!From this point onwards I AM NOT RESPONSIBLE for any damages to your phone, whether they are as small as a 1/1000 mm scratch or as big as a worldwide Nuclear Holocast caused by Aliens! You decided to follow these instruction so it's YOUR FAULT!

Here's the order of what we'll be covering first to last:

1) Backing Up TA

2) Unlocking Bootloader

3) Installing a custom kernel

4) Rooting

BACKING UP TA

You may have heard rumours saying that "YOU CANNOT BACKUP TA ON MAC OS X, ONE MUST HAVE WINDOWS!".

Well I'm here to tell you that's TRUE, sadly. But FEAR NOT! Because the GODS have given us a work around (which is probably longer), and here it is:

First Downgrade to .534 using latest flashtool for Mac OS X

DOWNLOAD HERE http://www.flashtool.net/download.php (make sure you dave the app in applications folder)

Downgrade instruction here: http://xdaforums.com/showpost.php?p=45464122&postcount=3

You can find firmware folder by right clicking ( if thats enables, surf the interwebs on how to do it if you don't know) then "show package contents" => Contents ==> MacOS ===> firmwares. This is ware you'll place your .ftf fiiles.

Before you ask, yes I know downgrading to .534 from .290 might kills sim detection but flashing .290 again (which we'll do at the end) using flashtool will fix that.

Then download,buy or any other means that are LEGAL "wink wink" (I bought BTW cause I love these guys!), Parallels Desktop 9 or later. Or use Bootcamp if you know what that is and are willing reboot you Mac lots of times just to change something on your phone. To me personally it completely defeat the purpose of having a Mac in the first place although its a nice option.

You can get Parallels Desktop 9 or later legal and get a 14 day trial of it here at their official website here: http://www.parallels.com/downloads/desktop/

Then get yourself a copy of Windows OS (windows 8 recommend cause it comes with inbuilt anti-virus) or try this 90 day free trail of Windows 8/8.1 from Microsoft:

Here is link http://www.microsoft.com/en-gb/business/products/downloads-and-free-trials#/

Then use common sense to install Windows on mac using Parallels or if your new and confused follow instructions from this video http://www.youtube.com/watch?v=UsChUvlTePE

Once windows is installed use this seksy guide to Root: http://xdaforums.com/showthread.php?t=2439328

And this other seksy guide to Back TA: http://xdaforums.com/showthread.php?t=2292598&highlight=ta

NOTE: Connect your device while Parallels Desktop (PD) is running windows and a window will pop up notifying you whether you want to connect device to mac or windows. Make sure you select Windows.

Make sure you save the TA file some where safe like google drive, skydrive, drop box, box or all 4 of them

then use flashtool to flash .290 back (root might disappear depending on what you do.)

You can practically use Windows from PD with other guides on xda z1 forum to do the rest of the step. But step 3 is going to be a Nightmare especially on window because you're dealing with drivers and command prompt. If you're not in good terms with these youre going to suffer with these, trust me I know :) .

Unlocking Bootloader "THE EASY PART!"

Turn off Parallels Desktop open browser and head to: http://xperiafirmware.com/8-firmware/42-sony-xperia-z1-c6903

Scroll down to how to unlock bootloader and follow the instruction using Mac OS X.

then check if bootloader is unlocked by dialling *#*#7378423#*#* and go to service info / configuration

If the last line says

bootloader unlocked: Yes

Then its unlocked

If it says

bootloader unlocked allowed: Yes

then it is locked but you can unlock it

If it says

bootloader unlock allowed: No

then you cannot unlock it

Installing a Custom Kernal"THE HARD PART!"

For this you need to First set up ADB and Fastboot on MAC. I will post a link to a very very easy to follow guide on how to do that. This guide is pretty easy to follow but I do advise that you follow it carefully down the way words are spelt other wise you're going to run into problems.

Here is the guide: http://xdaforums.com/showthread.php?t=1917237

Take note on of this step "press CTRL+X to exit, then Y to confirm the save then press ENTER" because people forget to press ENTER and the start complaining.

Now download and unzip DoomKernel from: http://xdaforums.com/showthread.php?t=2448613

Save it some where convenient like the "android" folder you created.

Then open terminal and type the Command while your device in in fastboot mode (turn off phone and connect usb while holding volume up Button, a blue light should be shown on Z1):

"adb fastboot flash boot directory of where you placed the kernel/Z1-DooMKernel-v04.img"

here's an example of my code:

"adb fastboot flash boot /Users/RealibleCandy4/Desktop/android/Z1-DooMKernel-v04.img"

Now you have custom kernel on phone after reboot.

Rooting

Download SuperSU (do not unzip) and place on sdcard from: http://download.chainfire.eu/372/SuperSU/UPDATE-SuperSU-v1.86.zip

Flash SuperSU.zip on one of the recoveries which you can access by either holding Volume down/up key after you see the DooMkernel splash screen and phone vibrates.

Well done You are now rooted!