[Xperia Z1 General] Mtimes:
This All-in-One Guide will help you to setup a rooted Sony Xperia Z1 C6903 including Dual Recovery and without Bloatware ;)

Root Instructions for Sony Xperia Z1 C6903:

download, install flash tool (0.9.19.10 or above)

install sony driver or Sony PC Companion

start flash tool and press the most right icon, black circle with "XP"

at the most left column select Smartphone => Xperia Z1/Z1s => C6903

choose your firmware at middle column depending on your geo location

select a version 14.5.A.0.270 (NOT higher!) at most right column

window will pop up, download and auto unpack (auto directory: C:\Users\...yourPCname...\.flashTool\firmwares)

time for backups, the internal sdcard will be erased

enable usb debugging and allow installation from unknown sources:

settings => go to "about phone" press "build number" 7 times, this enables developer options

settings => go to "developer options" enable USB debugging

settings => go to "security" enable unknown sources

power down device

press volume down while connecting usb

press “Black Lightning Thunder icon”

choose flashmode

select firmware and flash, [optional] you can wipe apps_log and userdata

if flash tool finds a fsc script (pop-up window), use it!

follow flash tool instructions... power up, device might auto reboot

do not configure anything, only enable usb debugging and allow unknown sources

ROOTING STEPS:

paste kingroot_4.1.0.apk, Android-Terminal-Emulator-1.0.70.apk, and the folder Replace_Kinguser_with_SuperSU-v1.2 on your phone

do NOT install SuperSU manually!

install kingroot_4.1.0.apk

if its rooting process requires internet connection, only stay connected till it hits about 60% or else it will auto install and update other kingxy apps

try root

restart

start kingroot to check root status

install Android-Terminal-Emulator-1.0.70.apk

paste "replace kingroot with super su" - mrw folder into /sdcard/*

must look like /sdcard/mrw/... or internal storage > mrw > ... (6 files)

open the Terminal app

enter command " su " ( without quotes )

allow Root Access

run command " sh /sdcard/mrw/root.sh " ( without quotes )

connect to internet

start SuperSU ask to update binary, click CONTINUE and Select NORMAL method

reboot after binary su was installed sucessfully

start SuperSU and check root status

if something went wrong, faktory reset and restart rooting steps

install busy box: (requires rooted device)

power up device

USB debugging enabled

allow unknown sources

start flashtool

connect USB

allow root access

second menue button "My C69xx" => install busy box, select the newest version

install Dual Recovery: (requires rooted device)

check bootloader status in service menu, the following steps work with locked bootloader too

download XZ-lockeddualrecovery2.8.21-RELEASE.installer (or newer version) from http://nut.xperia-files.com/

extract these files, start *.bat and follow onscreen instructions

phone will reboot automatically and go to recovery

reboot from recovery to complete installation

install new Android firmware without losing root by using Recovery:

download a prerooted firmware (e.g. https://drive.google.com/file/d/0B92T-AuRewqdXzVnMWQxYjhzSm8/view?usp=sharing) of your choice [or use someones recovery backup folder (same phone model)]

move the zip on your external sd card

power down

start into recovery:

power on

wait for first vibration or first screen

then press volume up or down till it vibrates 2-3 times to enter Recovery (down: Team Win Recovery)

press install and select your prerooted firmware zip

wipe dalvik and cache

boot system or restart

[optional] install additional bloatware remover zips:

choose and move Bloatware_Remover*.zip on your phone

start into recovery

install the zips

wipe dalvik and cache

wipe factory reset

restart system

[optional] clean your phone and remove all files from this guide, Bloatware_Remover zip, prerooted firmware and remember the Bloatware Backup folder /system/__Backup/...

FAQs + Notes:

The Bloatware Remover zip version Mtimes-v1 includes most separated zips and results in the stable and safe state which i am using.

The Bloatware Remover zip version Mtimes-v1 will delete the /system/__Backup/ folder.

The bloatware_remover_list.xlsx includes apps from my previews phones which are not present at LP 5.x.

I followed this guide 4 times on 3 different Sony Xperia Z1 C6903 and it always worked.

The \META-INF\com\google\android\updater-script files can be used for other devices too. You probably only need to change the \META-INF\com\google\android\update-binary file!

Thanks:

[MENTION=3975929]zxz0O0[/MENTION]

[MENTION=4904057][NUT][/MENTION]

[MENTION=5069066]Muuuly[/MENTION]

[MENTION=2455324]foc-us2k[/MENTION]