Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Getting Started:Rooting,Bootloader Unlocking,Recovery,Custom ROM installation & more

OP neectron

15th January 2013, 02:19 PM   |  #1  
neectron's Avatar
OP Senior Member
Flag Really>?
Thanks Meter: 1,521
 
1,540 posts
Join Date:Joined: Dec 2011
Donate to Me
Getting Started:Rooting,Bootloader Unlocking and Recovery

In this thread ,I'll try to help you guys set up your new phone from rooting upto custom ROM installation for your Xperia U,P,Sola and Go.


It is still WORK IN PROGRESS,so hold on to your horses.


References:




Last edited by neectron; 20th January 2013 at 02:15 PM.
The Following 42 Users Say Thank You to neectron For This Useful Post: [ View ]
15th January 2013, 02:19 PM   |  #2  
neectron's Avatar
OP Senior Member
Flag Really>?
Thanks Meter: 1,521
 
1,540 posts
Join Date:Joined: Dec 2011
Donate to Me
Rooting
Rooting



What is Rooting:

Android rooting is the process of allowing users of smartphones, tablets, and other devices running the Android mobile operating system to attain privileged control (known as "root access") within Android's subsystem. - Wikipedia


Before Rooting:
  • Bootloader unlocking is not necessesary for rooting.
  • After rooting ,your warranty maybe void!.
  • Rooting is reversible process so you can unroot.

How to root:
  • If you are on firmware 6.1.1.B.1.10[U,P,Go and Sola]:

    • You can root easily using Root MANY ANDROID
      • Download v9 or v13,extract it.
      • Enable USB debugging mode on your phone.
      • Connect your phone to PC.
      • Double click on RunMe.bat.
      • Then type 1.Press Enter.


        You should get
        Checking if i should run in Normal Mode or special Sony Mode
        Please connect your device with USB-Debugging enabled now
        1186 KB/s (147059 bytes in 0.121s)

        Found Sony Backup-Restore.apk
        LT26,LT22 etc. mode enabled!

        Pushing busybox....
        2110 KB/s (1085140 bytes in 0.502s)
        Pushing su binary ....
        2426 KB/s (22364 bytes in 0.009s)
        Pushing Superuser app
        3096 KB/s (843503 bytes in 0.266s)
        Making busybox runable ...
        Pushing fake Backup
        3130 KB/s (73728 bytes in 0.023s)
        Extracting fakebackup on device ...
        Watch now your device. Select the backup named RootMe and restore it!
        Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.sonyericsson.vendor.backuprestore/.ui.BackupActivity }
        Warning: Activity not started, its current task has been brought to the front
        If all is successful i will tell you, if not this shell will run forever.
        Running ......
      • Then Click on Restore on your phone.(if Back up and Restore app is not opened,open it),see if RootMe is selected in Record to restore,)


      Then you should get
      Good, it worked! Now we are rebooting soon, please be patient!
      Waiting for device to come up again....
      Going to copy files to it's place
      You can close all open command-prompts now!
      After reboot all is done! Have fun!
      Bin4ry
      Press any key to continue . . .


      or


    • Using latest Flashtool ,here is a nice tutorial for rooting.


  • If you are on latest firmware then you will need to do few extra steps.



Last edited by neectron; 18th January 2013 at 05:28 PM.
The Following 10 Users Say Thank You to neectron For This Useful Post: [ View ]
15th January 2013, 02:20 PM   |  #3  
neectron's Avatar
OP Senior Member
Flag Really>?
Thanks Meter: 1,521
 
1,540 posts
Join Date:Joined: Dec 2011
Donate to Me
Bootloader Unlocking
Bootloader Unlocking.





What is bootloader:


The bootloader, is firmware on the phone which runs on every startup. Sometimes it may be desirable to change the version of the bootloader, or to load a different bootloader entirely to enable different features or a completely different OS. The current version of the bootloader can be viewed by entering bootloader mode, the process of which is different for each and every device or manufacturer. - XDA - University.





How to unlock the bootloader:





Before unlocking bootloader:


  • Install Flashtool drivers,it will contain all necessary driver including fastboot driver and flashmode drivers.
  • Remeber,your warranty will be void.
  • DRM Keys will be lost forever.




Bootloader Relocking
Last edited by neectron; 16th January 2013 at 01:44 PM.
The Following 10 Users Say Thank You to neectron For This Useful Post: [ View ]
15th January 2013, 02:20 PM   |  #4  
neectron's Avatar
OP Senior Member
Flag Really>?
Thanks Meter: 1,521
 
1,540 posts
Join Date:Joined: Dec 2011
Donate to Me
Flashing FTF file.
  • Assuming you have installed latest Flash tool and Flash tool drivers.


  • Open the Flash tool.


  • Click on the flash button i.e the red marked one.






  • Choose Flash mode and Click OK.







  • Then you will get below show window,by default directory will be Flashtool/firmwares.If there is are ftf files in that directory it will automatically show them and you have to select it.If there is no ftf file in Flashtool/firmawares folder,then do the next step.







  • Click on .... i.e red marked then you will get the "Choose a folder window".Browse to the folder containing ftf file.Click Open.







  • Now connect your device to PC in flash mode.






  • That's it.
Last edited by neectron; 16th January 2013 at 03:16 PM.
The Following 11 Users Say Thank You to neectron For This Useful Post: [ View ]
15th January 2013, 02:21 PM   |  #5  
neectron's Avatar
OP Senior Member
Flag Really>?
Thanks Meter: 1,521
 
1,540 posts
Join Date:Joined: Dec 2011
Donate to Me
Installing CWM Recovery





Why do we need CWM:

ClockworkMod offers Android users with an extensive list of functionalities which the default Android recovery cannot even hope to match. Using ClockworkMod, one can install, update, or upgrade both official and unofficial ROMs (known as Ďcustomí ROMs). It also enables advanced recovery and backup methods, and one can mount the USB storage to transfer files between the device and a PC while remaining in the recovery mode (very helpful for if you have a bricked device and canít boot into Android or if you simply donít want to do another reboot to transfer a file you forgot). Partitioning the SD card and wiping user data, dalvik cache, and battery stats are some other capabilities of ClockworkMod.

-dottech.org

Installation:

It can done in 2 ways
  • Installing kernel with recovery
  • Installing standalone CWM.

Installing a kernel with recovery:
  • For this you will need unlocked bootloader.
  • If you go through your respective device's development section,you will get the kernel with recoveries.


Installing a standalone CWM.

For Sola:

For Go:



For U:



For P:



How to access recovery:

By pressing volume buttons when phone is boot logo is show i.e when booting
Last edited by neectron; 16th January 2013 at 01:34 PM.
The Following 13 Users Say Thank You to neectron For This Useful Post: [ View ]
15th January 2013, 03:09 PM   |  #6  
neectron's Avatar
OP Senior Member
Flag Really>?
Thanks Meter: 1,521
 
1,540 posts
Join Date:Joined: Dec 2011
Donate to Me
Installing Flashable Zips and Custom ROMs.
Installing Flashable Zips and Custom ROMs.



What is a flashable zip:

It is a zip file containing updater-script ,updater binary and other essential components for making it flashable using recovery.It is used for installing various mods,themes and ROMs.


What is a Custom ROM:

A custom ROM is a fully standalone version of the OS, including the kernel (which makes everything run), apps, services, etc - everything you need to operate the device, except it's customized by someone in some way. - AndroidPolice

On the side note,many custom ROMs will not include kernel and also are not standalone versions.

Installing flashable zips and custom ROMs is easy.


How to:
  • Copy the flashable zip or custom ROM to preferably to internal storage.
  • Reboot the phone.
  • Enter into recovery.
  • Go to Install zip from SD Card.
  • Choose your zip.
  • Install it.
Last edited by neectron; 16th January 2013 at 01:48 PM.
The Following 9 Users Say Thank You to neectron For This Useful Post: [ View ]
15th January 2013, 03:09 PM   |  #7  
neectron's Avatar
OP Senior Member
Flag Really>?
Thanks Meter: 1,521
 
1,540 posts
Join Date:Joined: Dec 2011
Donate to Me
Flashing Kernels
Flashing Kernels



What is a kernel:

In computing, the kernel is the main component of most computer operating systems; it is a bridge between applications and the actual data processing done at the hardware level. The kernel's responsibilities include managing the system's resources (the communication between hardware and software components).[1] Usually, as a basic component of an operating system, a kernel can provide the lowest-level abstraction layer for the resources (especially processors and I/O devices) that application software must control to perform its function. It typically makes these facilities available to application processes through inter-process communication mechanisms and system calls.

-Wikipedia.




Before flashing kernel:
  • Stock kernel - There is no need of unlocking the bootloader.
  • Custom kernel - Unlocked bootloader is needed.


There are 2 ways you can flash a kernel whether in kernel.elf ,kernel.sin or boot.img format.
  • Using standalone fastboot .
  • Using fastboot via flashtool.


Let's talk about using standalone fastboot,it is easy.
  • Copy your kernel to fastboot directory/folder.
  • Connect your phone in fastboot mode.
  • Hold Shift+Right Click.
  • Click on Open Command Window Here.
  • Now type " fastboot flash boot kernel-name" here kernel-name can be boot.img or kernel.sin or kernel.elf
    i.e fastboot flash boot boot.img or fastboot flash boot kernel.sin or fastboot flash boot kernel.elf
  • Disconnect the phone and reboot.

Using fastboot via flashtool.
Last edited by neectron; 16th January 2013 at 01:25 PM.
The Following 9 Users Say Thank You to neectron For This Useful Post: [ View ]
15th January 2013, 04:10 PM   |  #8  
neectron's Avatar
OP Senior Member
Flag Really>?
Thanks Meter: 1,521
 
1,540 posts
Join Date:Joined: Dec 2011
Donate to Me
Flashmode:

Used for flashing stock ftf files.i.e for recovering from soft brick or updating to latest firmware etc.


How to connect in flash mode:

Hold - volume button and connect the data cable to PC.



Fastboot mode:

Used for unlocking bootloader,flashing kernels etc.

How to connect in fastboot mode:

Hold + volume button and connect the data cable to PC.
Last edited by neectron; 15th January 2013 at 04:40 PM.
The Following 11 Users Say Thank You to neectron For This Useful Post: [ View ]
15th January 2013, 05:26 PM   |  #9  
Iceax123's Avatar
Senior Member
Flag Cheshire, Uk
Thanks Meter: 112
 
576 posts
Join Date:Joined: Oct 2012
Thanks for this thread this is just what i need!

Andy

/edit so why would you root and not unlock your bootloader?

Thanks
The Following User Says Thank You to Iceax123 For This Useful Post: [ View ]
15th January 2013, 10:49 PM   |  #10  
Iceax123's Avatar
Senior Member
Flag Cheshire, Uk
Thanks Meter: 112
 
576 posts
Join Date:Joined: Oct 2012
ok so my build is 6.0.b.3.184

Which method should i use.

Thanks

The Following 2 Users Say Thank You to Iceax123 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes