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

Search This thread

neectron

Senior Member
Dec 26, 2011
1,538
1,562
Really>?
Getting Started:Rooting,Bootloader Unlocking,Recovery,Custom ROM installation & more

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:

neectron

Senior Member
Dec 26, 2011
1,538
1,562
Really>?
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:

neectron

Senior Member
Dec 26, 2011
1,538
1,562
Really>?
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:

neectron

Senior Member
Dec 26, 2011
1,538
1,562
Really>?
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.



    ftf1.png





  • Choose Flash mode and Click OK.



    ftf2.png






  • 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.



    ftf3.png






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



    ftf4.png






  • Now connect your device to PC in flash mode.



    ftf5.png





  • That's it.
 
Last edited:

neectron

Senior Member
Dec 26, 2011
1,538
1,562
Really>?
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.





How to access recovery:


By pressing volume buttons when phone is boot logo is show i.e when booting
 
Last edited:

neectron

Senior Member
Dec 26, 2011
1,538
1,562
Really>?
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:

neectron

Senior Member
Dec 26, 2011
1,538
1,562
Really>?
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:

neectron

Senior Member
Dec 26, 2011
1,538
1,562
Really>?
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:

neectron

Senior Member
Dec 26, 2011
1,538
1,562
Really>?
  • Like
Reactions: Iceax123

Iceax123

Senior Member
Oct 26, 2012
632
121
Cheshire, Uk
Once again neectron thank you for your help.

I updated last night through the software to 4.04 - 6.1.1.B.1.10 so will use your method in the first post to root.

Do you root before unlocking bootloader.

Thanks

Andy
 

Anthrax

Senior Member
Oct 22, 2012
1,639
785
Mumbai
This is a great thread for all the noobs (i was also one).....This is what i was also thinking about.......... to make this section a lot easier to go through...........
 
  • Like
Reactions: Iceax123

neectron

Senior Member
Dec 26, 2011
1,538
1,562
Really>?
Once again neectron thank you for your help.

I updated last night through the software to 4.04 - 6.1.1.B.1.10 so will use your method in the first post to root.

Do you root before unlocking bootloader.

Thanks

Andy

Unlocking bootloader is not necessary for rooting.It is your choics you can do either way.
 

Iceax123

Senior Member
Oct 26, 2012
632
121
Cheshire, Uk
Thanks I only bought this phone so i could practise flashing roms etc.

Looks like i might be out of my depth lol.

Will root tonight.

Thanks

A
 

Dblfstr

Senior Member
Mar 25, 2010
2,211
745
42
Looks clean and organized. You are missing a [/B] for one of your headers though ;P

Great start!
 
  • Like
Reactions: neectron

adirock

Member
Jan 4, 2013
35
6
Hello, I am using Xperia U GB 2.3.7
And build no 6.0.B.3.188 I am a noob. Can u suggest which is the easiest method to root? I mean by upgrading to ICS or from GB itself.

THANKS
 

adirock

Member
Jan 4, 2013
35
6
Thanks for your reply.
1) In the above link the first step is written update to ics. Then I think I have to upgrade to ics for rooting.
2) is there any problem/lagging in ics upgrade?
Pls ans this.

Thanks
 

Top Liked Posts