[Xperia SP Q&A, Help & Troubleshooting] noahvt:
Hi everyone,

Today i tried to root my sony xperia sp (C5303) on firmware .254 and it failed!

I flashed the .257 kernel to flashtool, output:

02/022/2013 19:22:51 - INFO - Selected XperiaSP_C530X / 12.0.A.1.257 / KernelOnly

02/022/2013 19:22:52 - INFO - Preparing files for flashing

02/022/2013 19:22:52 - INFO - Please connect your device into flashmode.

02/023/2013 19:23:12 - INFO - Device connected in flash mode

02/023/2013 19:23:12 - INFO - Opening device for R/W

02/023/2013 19:23:13 - INFO - Reading device information

02/023/2013 19:23:13 - INFO - Phone ready for flashmode operations.

02/023/2013 19:23:13 - INFO - Current device : C5303 - YT910CNCYY - 1272-4879_R4A - 1269-3538_12.0.A.2.254 - GLOBAL-LTE_12.0.A.2.254

02/023/2013 19:23:13 - INFO - Start Flashing

02/023/2013 19:23:13 - INFO - Processing loader.sin

02/023/2013 19:23:13 - INFO - Checking header

02/023/2013 19:23:13 - INFO - Flashing data

02/023/2013 19:23:18 - INFO - Loader : S1_Root_7054 - Version : R5G006 / Boot version : R11B022 / Bootloader status : ROOTABLE

02/023/2013 19:23:19 - INFO - Processing kernel.sin

02/023/2013 19:23:19 - INFO - Checking header

02/023/2013 19:23:19 - INFO - Flashing data

02/023/2013 19:23:25 - INFO - Ending flash session

02/023/2013 19:23:25 - INFO - Flashing finished.

02/023/2013 19:23:25 - INFO - Please unplug and start your phone

02/023/2013 19:23:25 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings

02/023/2013 19:23:26 - INFO - Device connected in flash mode

02/023/2013 19:23:37 - INFO - Device disconnected

02/025/2013 19:25:34 - INFO - Device connected with USB debugging off

02/025/2013 19:25:34 - INFO - For 2011 devices line, be sure you are not in MTP mode

02/025/2013 19:25:35 - INFO - Device connected with USB debugging on

02/025/2013 19:25:36 - INFO - Connected device : Sony Xperia SP

02/025/2013 19:25:36 - INFO - Installed version of busybox : N/A

02/025/2013 19:25:36 - INFO - Android version : 4.1.2 / kernel version : 3.4.0-perf-g1285c6c-01110-g8395f64 / Build number : 12.0.A.2.254

02/027/2013 19:27:40 - INFO - Device disconnected

After that i used doomlords root v18 the output from that is:

[*] This script will:

(1) root ur device using the pref_event exploit

(2) install Busybox

(3) install SU files

[*] Before u begin:

(1) make sure u have installed adb drivers for ur device

(2) enable "USB DEBUGGING"

from (Menu\Settings\Developer Options)

(3) enable "UNKNOWN SOURCES"

from (Menu\Settings\Security)

(4) connect USB cable to PHONE and then connect to PC

(5) skip "PC Companion Software" prompt on device

---------------------------------------------------------------

CONFIRM ALL THE ABOVE THEN

Druk op een toets om door te gaan. . .

--- STARTING ----

--- WAITING FOR DEVICE

* daemon not running. starting it now *

* daemon started successfully *

--- creating temporary directory

mkdir failed for tmp, File exists

--- cleaning

rm failed for rootfix, Is a directory

--- pushing files

79 KB/s (326 bytes in 0.004s)

385 KB/s (1578 bytes in 0.004s)

2331 KB/s (26268 bytes in 0.011s)

2722 KB/s (853044 bytes in 0.306s)

4381 KB/s (112164 bytes in 0.025s)

3205 KB/s (1953159 bytes in 0.595s)

--- DooMing device!

--- Correcting permissions

--- Running exploit

run_root_shell v7.0 (20130731)

Based on pref_event exploit

Modified for auto-rooting by DooMLoRD

Part of Easy Rooting Toolkit

Devices Supported:

Xperia Z (C6602/3) - 10.3.A.0.423

Xperia Z (C6606) - 10.1.1.B.0.166

Xperia Z (C6602/3) - 10.1.1.A.1.253/307

Xperia ZL (C6502/3/6) - 10.3.A.0.423

Tablet Z (SGP321) - 10.1.1.A.1.307

Tablet Z (SGP311/2) - 10.1.C.0.370

Xperia ZR (C5502/3/M36h) - 10.1.1.A.1.310

Xperia SP (C5302/3/6) - 12.0.A.1.211/257/284

Xperia L (C2104/5) - 15.0.A.1.31/36

Xperia T (LT30p) - 9.1.A.1.141/142/145

Xperia TX (LT29i) - 9.1.B.1.67

Xperia V (LT25i) - 9.1.A.1.140/142/145

Xperia S (LT26i) - 6.2.B.0.200/211

Xperia SL (LT26ii) - 6.2.B.0.211

Xperia Acro S (LT26w) - 6.2.B.0.200/211

Xperia Ion (LT28h/i) - 6.2.B.0.211

Xperia P (LT22i) - 6.2.A.1.100

Xperia Go (ST27i/a) - 6.2.A.1.100

Xperia J (ST26i/a) - 11.2.A.0.21/31

Xperia AX (SO-01E) - 10.1.D.0.343

Tablet Z (SO-03E) - 10.1.E.0.265/269

Xperia GX (SO-04D) - 7.0.D.1.137

Xperia A (SO-04E) - 10.1.1.D.0.179

Xperia A (SO-04E) - 10.1.1.D.2.26

Xperia SX (SO-05D) - 7.0.D.1.137

Xperia SX (SO-05D) - 9.1.C.0.475

Xperia VL (SOL21) - 9.0.F.0.226

Xperia VL (SOL21) - 9.1.D.0.395/401

Xperia UL (SOL22) - 10.2.F.3.43

Changelog is posted here: http://bit.ly/ert_log

Device detected: C5303 (12.0.A.1.257)

Attempt perf_swevent exploit...

writing address is 8e49

Launching auto-root script!

---------------------------------------------------------------

Launching final rooting process...

---------------------------------------------------------------

--- Rooting!

--- Remounting rootfs

--- Killing RIC service (specific for new Xperia devices)

Unable to chmod /sbin/ric: No such file or directory

--- Installing busybox

--- Remounting /system

--- cleaning

error: device not found

--- Please wait device is now rebooting

error: device not found

ALL DONE!!!

After that I open SuperSU and it says: No SU-binary installed and SuperSU cannot install it!

Can someone help me out please?

thank you very much,

noahvt