Post Reply

[HOW TO] Root a bootloader-unlocked Xperia Pro MK16a

3rd October 2011, 06:40 AM   |  #1  
OP Senior Member
Flag Toronto
Thanks Meter: 44
 
190 posts
Join Date:Joined: Oct 2007
Donate to Me
More
There is now a MUCH easier way to root ALL Sony Ericsson 2011 phones including the Xperia Pro, making these instructions obsolete. Please see DooMLorD's thread here: http://forum.xda-developers.com/show....php?t=1319653

Remember to say thanks to DooMLorD for his awesome work!

However, I'll sill keep the 2 sets of instructions here in case anyone needs them or wants to refer back to them. My ZIPs do have all the drivers needed with good instructions on how to install them after all

My original instructions based on alvaroag's work can be found below, and the instructions via my instructions the Xperia Pro CWM Recovery method can be found on post 50 of this thread.

It's important to note that DooMLorD's tool only works for Windows. You can still use our original method in this post if you're running Linux.

We finally have a method to root the Xperia Pro MK16a (and PROBABLY MK16i) thanks to XDA Member alvaroag!!
This is his method, with the instructions modified by myself for ease of use.

What you need before you begin:
1. A rock hard stomach, because should the very unlikely happen and this brick/damage your phone in some way, I’m not responsible

2. An Unlocked Bootloader

NOTE: Sony offers a totally free, official, and simple method to unlock your bootloader here: http://unlockbootloader.sonyericsson.com/
Should that not work for you, your phone is probably SIM locked from your carrier (FIDO for example does that). You'll need to get the bootloader unlocked remotely from someone who has SETool and the appropriate security USB dongle. THIS COSTS MONEY, as SETool requires that user to pay per use.
Please see this thread for further instructions as it's the method I used personally: http://forum.xda-developers.com/show....php?t=1232050
Alejandrissimo was awesome at helping me through it.

3. On the phone itself navigate to the following locations:
a. Settings - applications – Make sure Unknown Sources (first option) is checked
b. Settings – applications – development – Make sure USB Debugging is checked

4. Download this archive. It contains all the files and drivers you will need:
http://www.mediafire.com/?7cz7672da9cxkrd
Instructions:
1. Extract the archive you downloaded to a folder on your computer. Where doesn’t matter as long as you remember where it is.

2. Navigate to the folder ADB For Dummies (thanks to VanillaTbone for his guide) and install ADB for Dummies.exe
a. This will create a new folder on your C: drive called “android-sdk-windows”

3. Take the file “xperia_pro_root.zip” from the archive you downloaded and extract the contents to C:\android-sdk-windows\platform-tools\

4. Power off the phone and make sure it’s not plugged into anything.

5. Hold down the MENU button and connect the USB cable. A blue light will appear. If a blue light does NOT appear, then your phone can't get into FastBoot, and probably still has the bootloader locked.

a. If Windows asks you to install the drivers, install the driver from the folder “Fastboot Driver” in the archive you downloaded. Should those drivers not work, try the drivers found in "C:\android-sdk-windows\google-usb_driver"

6. Open the “Fastboot” folder in windows explorer (its part of the archive you extracted in step 1. Hold down the shift key and right click on an empty space in the folder window, select Open Command Prompt Here.

7. Type:
fastboot boot recoveryNEO.img
8. The blue light on the phone will turn off, the screen on the phone will be blank, and the phone will be disconnected from windows, but after a few seconds you will get a Mass Storage & ADB Interface Detected. Note that the phone’s screen will continue to be black for the rest of this process. THIS IS NORMAL, your phone has not been bricked. If you need to stop anywhere along the way, simply unplug the phone from the computer and take your battery out. The phone will return to normal operations, though UNROOTED.

a. Windows will PROBABLY say hardware failed to install. This is fine.
i. Open the start menu, right click on “Computer” and select “Manage”
ii. Select Device Manager on the left side of the Computer Management window that opens.
iii. Look for the unknown piece of hardware. Right click on it and select update/install driver.
iv. Browse your computer, and select the main folder you extracted the archive to way back in step 1 – the drivers are somewhere in there, don’t worry about where, as windows will find them just fine.

9. On your computer navigate to “C:\android-sdk-windows\platform-tools”. Hold down the shift button on your keyboard and Right click on an empty part of the windows, and select “Open Command Window Here”

10. Type "adb shell". If it says "device not found", disconnect the USB cable, remove the battery, and try again from step 6. Also, try changing the USb port on your CPU. I'm not really sure about this, but I had to do it twice.

Now you’ll have to run a bunch of commands inside the ADB Shell window (the one with the black background and looks like a DOS window). You can just copy and paste each one from here. Be sure that once you start this step, you continue until the end of these instructions.
mount -t yaffs2 -o rw,relatime /dev/block/mtdblock0 /system
If it says “/system is not empty” then type:
"rmdir /system/bin" and then run the first mount command again

type "exit"

11. From the DOS window, Run these commands (again copy and paste each one is fine)
adb push Superuser.apk /system/app/Superuser.apk
adb push su /system/bin/su
adb shell
12. From the adb shell, run:
chmod 0644 /system/app/Superuser.apk
chown 0 /system/bin/su
chgrp 0 /system/bin/su
chmod 6755 /system/bin/su
ln -s /system/bin/su /system/xbin/su
cd
umount /system
reboot
13. The adb shell will terminate. Disconnect the phone from the USB cable, wait for about 15 sec, remove the battery, and then turn it on.

14. From the phone, Open the Market, search for "Busybox" by "Stephen (Stericson)". Install that

15. From the Market, go to My Apps, search for "Superuser" by "ChainsDD" and make sure you're running the latest edition

16. Run the App "Superuser" from your app tray.
- under the settings tab, scroll to the bottom and click SU Binary "tap to check for updates"

17. Run the "Busybox Installer" app. Follow the onscreen instructions - just leave everything at default.


Congratulations! Your device should now be rooted!
I personally suggest downloading and installing Titanium Backup to make sure - it will run a root check on startup and notify you if anything is wrong.

Notes:
This may seem to be a complicated method, but, as we will have to wait some weeks for an automated or simpler method, I think making writing an automated tool for this method is not worth the effort. But maybe, if no automated method appears in some weeks, I write one myself as a comunity contribution. - alvaroag
Thanks to VanillaTbone of XDA Developers for his awesome ADB For Dummies guide and app.
http://forum.xda-developers.com/showthread.php?t=502010
And of course thanks to Bin4ry for his NEO recovery image.
And thanks to all the other contributors to this thread for their help, advice, and overall contribution.



And if this thread helped you in some way, Please click THANK YOU to show your appreciation






Quote:

Hello
Since there is no Xperia Pro forum I decided to post this here. Hope you can help me.

I recently bought an Xperia Pro MK16a and I have already unlocked the bootloader with setool (thanks to alejandrissimo and his remote unlock abilities). Now I'm searching for a way to root the device.

He and I experimented with it a bit, and we've already tried the recovery hot-boot with recovery.img from Arc, Play, and Neo, but with no luck. Recovery just doesn't boot.

He's guessing it's related to something like a different ramdisk or something like that.

Any help would be greatly appreciated.

Thanks

Last edited by rcummings100; 29th October 2011 at 07:47 PM. Reason: minor update
The Following 20 Users Say Thank You to rcummings100 For This Useful Post: [ View ]
3rd October 2011, 06:50 AM   |  #2  
taaviu's Avatar
Senior Member
Flag Tallinn
Thanks Meter: 706
 
2,000 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by rcummings100

Hello
Since there is no Xperia Pro forum I decided to post this here. Hope you can help me.

I recently bought an Xperia Pro MK16a and I have already unlocked the bootloader with setool (thanks to alejandrissimo and his remote unlock abilities). Now I'm searching for a way to root the device.

He and I experimented with it a bit, and we've already tried the recovery hot-boot with recovery.img from Arc, Play, and Neo, but with no luck. Recovery just doesn't boot.

He's guessing it's related to something like a different ramdisk or something like that.

Any help would be greatly appreciated.

Thanks

If you bootloader is open you can flash directly "prerooted".img with fastboot? Arc and Neo have this option.

Regards!
Taavi

Sent from my MT15i using Tapatalk
Last edited by taaviu; 3rd October 2011 at 06:56 AM.
3rd October 2011, 06:54 AM   |  #3  
XperienceD's Avatar
Senior Member
Flag Here =)
Thanks Meter: 2,403
 
7,310 posts
Join Date:Joined: Jul 2010
More
Edit; ............

Sent from my LT15i using XDA App
3rd October 2011, 06:59 AM   |  #4  
Alejandrissimo's Avatar
Senior Member
Thanks Meter: 598
 
668 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Quote:
Originally Posted by taaviu

If you bootloader is open you can flash directly "prerooted".img with fastboot? Arc and Neo have this option.

Regards!
Taavi

Sent from my MT15i using Tapatalk

To be able to generate a pre-rooted system.img you need first a rooted phone and this is exactly the problem, how to root it if there is no recovery for MK16

For sure RootXperia.zip will work but for install it the proper recovery is needed first i guess
3rd October 2011, 06:59 AM   |  #5  
OP Senior Member
Flag Toronto
Thanks Meter: 44
 
190 posts
Join Date:Joined: Oct 2007
Donate to Me
More
Quote:
Originally Posted by XperienceD

There is a Mini Pro forum. ;)

Sent from my LT15i using XDA App

Totally different phone

This is just the "Xperia Pro" - it was released in August. It's the same phone as the Neo, but with a slide out QWERTY keyboard. Model is MK16a (or MK16i for the international one)
3rd October 2011, 08:43 AM   |  #6  
taaviu's Avatar
Senior Member
Flag Tallinn
Thanks Meter: 706
 
2,000 posts
Join Date:Joined: Jan 2010
More
Gingerbreak??

Sent from my MT15i using Tapatalk
3rd October 2011, 08:47 AM   |  #7  
taaviu's Avatar
Senior Member
Flag Tallinn
Thanks Meter: 706
 
2,000 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by Alejandrissimo

To be able to generate a pre-rooted system.img you need first a rooted phone and this is exactly the problem, how to root it if there is no recovery for MK16

For sure RootXperia.zip will work but for install it the proper recovery is needed first i guess

How to do it? Generate prerooted system.img


Thanks!

Sent from my MT15i using Tapatalk
4th October 2011, 09:33 PM   |  #8  
Bin4ry's Avatar
Recognized Developer
Flag Schwelm (NRW)
Thanks Meter: 5,740
 
1,832 posts
Join Date:Joined: Nov 2008
Donate to Me
More
I think that NEO recovery should work:
http://forum.xda-developers.com/show....php?t=1183465

Maybe the keys are wrong mapped, you have to try a little. Just flash RootXperia.zip from Recovery and you are rooted.

Regards
The Following User Says Thank You to Bin4ry For This Useful Post: [ View ]
4th October 2011, 10:57 PM   |  #9  
OP Senior Member
Flag Toronto
Thanks Meter: 44
 
190 posts
Join Date:Joined: Oct 2007
Donate to Me
More
Quote:
Originally Posted by Bin4ry

I think that NEO recovery should work:
http://forum.xda-developers.com/show....php?t=1183465

Maybe the keys are wrong mapped, you have to try a little. Just flash RootXperia.zip from Recovery and you are rooted.

Regards

That was the first thing I tried, since the Pro should just be a Neo with a keyboard. Unfortunately it doesn't work.

Here's the output:

C:\root-play>fastboot boot recoveryNEO.img
downloading 'boot.img'...
(bootloader) USB download speed was 9336kB/s
OKAY [ 0.517s]
booting...
(bootloader) Download buffer format: boot IMG
OKAY [ 0.002s]
finished. total time: 0.519s
The phone is clearly still turned on, but no longer in fastboot mode, and the screen is totally blank, though the backlight is active.

I've tried the same thing with the Arc and Play recovery images and had the same results.


What do you mean by the keys are mapped wrong?



Is this what you're talking about?
http://www.knowyourcell.com/sony-eri...peria_pro.html

The instructions on how to get into Recovery on that site are very similar to how to do it on the stock build of my previous phone, the Motorola Milestone. Unfortunately THEY DON'T WORK

I've tried substituting the volume down button with other keys, but with no success. Pretty difficult to guess the right key combination when there's a full qwerty keyboard on here

Is there a way to boot into the standard recovery from ADB or fastboot or something? Possibly from an on-board terminal emulator? A command like "Reboot Recovery" perhaps? Or is that too easy to be possible...

It's ironic that my old Motorola milestone with a totally locked down bootloader proved easier to hack than this phone with it's wide open bootloader
Last edited by rcummings100; 4th October 2011 at 10:59 PM.
6th October 2011, 03:09 PM   |  #10  
Bin4ry's Avatar
Recognized Developer
Flag Schwelm (NRW)
Thanks Meter: 5,740
 
1,832 posts
Join Date:Joined: Nov 2008
Donate to Me
More
Well,

i wrote you already in PM. But now here too. The PRO is only released in Canada and some Asien Countrys. Until it is released in Europe i cannot help you, because i need the device for testing.

One thing you can try:
after you fastboot boot and the phone is in blackscreenmode please unplug and replug it to pc.
Now try to adb shell on it. Is this working? If yes please gimme a logcat

Regards

The Following User Says Thank You to Bin4ry For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
mk16, mk16a, root, xperia pro
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Xperia Arc Q&A, Help & Troubleshooting by ThreadRank