[Xperia Tablet Z General] alexpja:
I went through a lot of searching and trouble to install CM11 on my Xperia Tablet Z, and I'd like to share a tutorial I made for anyone who is also wanting to accomplish this.

All links are in Dark Green because I cannot post links yet.

1.	Download and extract the ADB+Fastboot+Drivers zip (alexpja.com/sony/adb-fastboot-win.zip)

2.	Now we’ll unlock the bootloader.

a.	If you do not have a Phone app (like I don’t on the SGP351), you can either get the IMEI from About -> Status in the settings OR you can find the IMEI right after the IC code, nearby the barcode on the bottom of the tablet.

b.	If you do have a Phone app, enter *#06# to retrieve the IMEI.

c.	Save this for later use.​

3.	Place the tablet into fastboot mode and connect it to the computer.

a.	Power off the device

b.	Connect USB to computer

c.	While plugging in the other side of the USB cable into the tablet, hold down the Vol + button.

d.	If your speakers are on, you should a sound.

e.	We have to install the drivers for fastboot. Open devmgmt.msc via the Run window or in the Start menu and in Other Devices section, you should see S1 Service or S1 Fastboot (anything containing S1).

i.	If it is showing a yellow exclamation mark: Follow 3.e.i.1. If it is not, continue to 3.f.

1.	We need to download Flashtool and use the driver setup. Download Flashtool (unrestrict.li/flashtool) and install it.

2.	Find cmd.exe, right click it, and select Run as administrator.

a.	Type in

bcdedit /set testsigning on

and press enter.

b.	Reboot your computer.​

3.	Once you have rebooted the computer, open the folder where you installed Flashtool (default: C:\Flashtool).

4.	Open up the drivers folder and open Flashtool-drivers.exe.

5.	Select the first two driver choices (Flashmode and Fastboot) and select “Xperia Tablet Z Drivers” and continue.

6.	A new window will appear, continue on with that.

7.	A window like this may appear a few times, just press Install this driver software anyway.

8.	Run 3.e.2. again and run

bcdedit /set testsigning off

. Reboot your PC now or after the tutorial.​

f.	The LED pulse light above it should be emitting a blue-ish color. The screen will be dark.​

4.	Now we’ll verify if you have fastboot running.

a.	Open the tools folder that was extracted from the ADB ZIP and double-click on START.cmd to open Command Prompt in the current directory (all it does is literally open cmd.exe, you can edit the script to verify).

b.	Run the command

fastboot -i 0x0fce getvar version

. If you get

<waiting for device>

, then you did something wrong. Retrace your steps! (For example, I get

version: 0.5

)​

5.	Go to (unlockbootloader.sonymobile.com) and continue until you reach the screen where you put type in the IMEI and an email address. Type in the first 14 digits of the IMEI (remove the last one) and your email address (not sure if name is required). You should get an email instantly with the key.

6.	In the Command Prompt, run

fastboot -i 0x0fce oem unlock 0xKEY

where KEY is the key you received in the email from Sony.

7.	Download whatever release you would like to use on the tablet (I’m using CM 11 nightly) from (download.cyanogenmod.org/?device=pollux)

a.	Optional: Also download gapps for Google apps such as Gmail, Google Play Services, etc. (wiki.cyanogenmod.org/w/Google_Apps)​

8.	Extract the ZIP file (but don’t delete it either) and copy boot.img to the tools folder.

9.	If your device is still turned off, turn it on and enable USB storage mode. Copy the CM zip to either the internal storage (sdcard) or, if one is inserted, the microSD card (sdcard1).

10.	Place it into fastboot mode again (#3).

11.	Go back into the Command Prompt and enter:

a.

fastboot -i 0xfce flash boot boot.img

b.

fastboot -i 0xfce reboot

c.	Enter recovery.

1. Once it shuts down, rapidly tap the Vol + button in order to get into the recovery.

2. Grep_The_Truth's tip: Look at the LED. It will turn orange and afterwards it'll turn purple. You want to press Vol+ as soon as it changes colors.​

12.	Select “wipe data/factory reset” and wipe it. Afterwards, go back to main menu.

13.	Select “Install zip” and either select “Choose zip from /sdcard” (internal storage) or “Choose zip from /storage/sdcard1” (microSD card).

I’ve had varying experience with installing from the /sdcard because sometimes it doesn’t want to mount /data while wiping (/data/media which is /sdcard is safe in wipe) the tablet, so if you were to install the zip from /sdcard with the error present, it would screw things up. I prefer the microSD card route (/storage/sdcard1), and you don’t even need a big one. 512MB works just fine. The actual path would be /sdcard/0/ when looking for the cm.zip in the internal storage.

14.	When you have chosen to install from either /sdcard or /storage/sdcard1, select the cm.zip and install it.

a.	If you downloaded gapps.zip, install it the same way as you did with the cm.zip.​

15.	Go back to the main menu now and select “reboot system now”

a.	Once, I had the option to install root access before rebooting, I declined (was planning on rooting after tutorial) but it gave me root anyway.​

That’s it! You can now use CyanogenMod with the Sony Xperia Tablet Z.