Xperia P Rooted on Android 4.1 Jelly Bean [build 6.2.A.0.400]

Posted by & filed under Xperia P.

The Sony Xperia recently received a Jelly Bean update with build number 6.2.A.0.400 along with the Xperia Go and I guess you would have updated your Xperia P by now. The new update revokes root access on your device (in case it was already rooted) and with this tutorial we will tell you how to root the device again on the Jelly Bean firmware. If you are new to rooting, you may read Goutam’s noob guide. Also, there are several advantages of rooting the device because you gain complete control over the device technically known as “superuser access”.

As Xperia P is concerned, the method to root the device by unlocking the bootloader is pretty easy but if you wish to root it with an unlocked bootloader, you would regret updating it to Jelly Bean, because the method requires you go back to ICS and flash Jelly Bean as a zip via CWM.

root xperia p on jelly bean Xperia P Rooted on Android 4.1 Jelly Bean [build 6.2.A.0.400]

Please note that rooting voids the warranty of your device and we are not responsible for any damage your device might incur with this tutorial.

Though this tutorial doesn’t require any data wipe, we recommend you to backup all data using our backup guide. You never know, you may need to wipe data if you are stuck on the Sony logo.

Steps to Root Xperia P on Android 4.1 Jelly Bean

  1. Make sure you have unlocked the bootloader of your device from unlockbootloader.sonymobile.com
  2. Download the flashable Superuser zip file and place it on your device’s SD card.
  3. Download ThP_JB_kernel_v10.1.zip and unzip its contents.
  4. You will find a .elf file. Place it in the folder with ADB files.
  5. Turn off your phone and boot it into fastboot mode. To do this, press and hold volume up button and connect it to USB. If you see Blue LED, your device is in fastboot mode.
  6. Open command prompt in the location where you have the ADB files and the .elf file and type the command “fastboot flash boot [name of kernel].elf” (without quotes).
  7. This gives you CWM,
  8. Unplug USB and reboot your phone. When you see Sony logo, keep pressing Volume down button continuously and you will enter into recovery mode.
  9. In CWM, select “install zip from SD card>Choose zip from SD card” and select the zip file you placed in your SD card in Step 2.
  10. After you flash it, go back and select “Reboot system now”.

If you face any issues, feel free to comment below, post in our Facebook group or refer the original thread.

  • Tony

    Thank you very much for the tut. I successfully rooted my xp on jb

  • Alex

    Hello!

    I’m new to all this flashing and rooting in the android community so I’m what you could call a beginner, but I’ve read a lot on xda-developer to understand a bit.

    I currently have a Xperia P with Android 4.0.4 (6.1.1.B.1.54) with the bootloader unlocked and I’ve read that a unlocked bootloader results in no official updates from OTA and PC Companion.

    So what I would want to know is, do I first need to flash my Xperia P with the stock 4.1.2 JB ftf using Flashtool and then use your guide to get root access. I’ve not touched anything else except the bootloader in my phone.

    I hope that you understand and can help me :)

    • Lalit Indoria

      All that you have stated is correct, how would you like me to help you? If you wish to update your Xperia P, please read this.

      • Alex

        But one thing i wonder, is’t possible to use Bin4ry’s root method to gain root access after i’ve update to 4.1 JB instead of using your guide?.

        • Ron

          Most of the chances are NO.
          Because when you wanna root Xperia P you use in Bin4ry the first option “Normal Mode” and this option assumes that you have an ICS device.
          Maybe the developers gonna do an update that works on JB so stay tuned in thread.
          I suggest you to not try your luck but i don’t stop you from trying.
          I hope I helped you.

          • Alex

            That’s why i ask before doing anything i don’t know about

            Thank you very much for your answer :)

      • Alex

        Forgot to add this in my last comment.

        When i launch FlashTool and then connect my Xperia P in flashmode, after about 20 seconds the phone disconnect itself from flashmode and goes back into charging. Could it be some problems with the drivers?

  • javier

    mode after connecting FlashBoot, when I write the command in the system symbol I get ‘fastboot’ is not recognized as an internal or external command, program or batch file, you could help

  • a d

    thanks a lot for the instructions! after rooting the phone, i was unable to access the phone’s data via PC. my PC in unable to detect the phone via USB. hence, i cannot restore my data including contacts from PC companion! please help.

    • Filip

      install nemsis kernel

  • Filip

    HI, IM STUCK AT STEP 6… I DONT KNOW WHAT TO DO I PUT THE ELF FILE IN PLATFORM-TOOLS AND OPEN CMD FROM THERE AND PASTE THIS fastboot flash boot [kernel].elf in cmd and it says error : cannot load ‘[kernel].elf’ : Unknow Error … PLS HELPPPPPP

  • Kush

    Hey, I can’t get into recovery mode.After(Step 7) I unplugged my device and pushed power button to wake my phone and continuously pressed volume button but nothing happened my phone restarted like evertime.

    • Lalit Indoria

      Try Quick Boot (Reboot) app from Play Store to get into CWM.

      • Kush

        I installed the app but it says that your phone does not have root acess and when i tap recovery or anything on the app it closes the app.So,can you please tell me what to do after i type “fastboot flash boot [name of kernel].elf” on cmd.

        • Filip

          when u typed fastboot flash boot [name of kernel].elf what happend ? if u did it right u should have superuser app on your mobile… if u have it just download ROM Manager and from that apk boot it on recovery mode… When i tried with Quick Boot (reboot) nothing happend

          • Kush

            Cmd shows lot’s of option and then i unplug my phone and shut it down .After that when i try to go into recovery mode,nothing happens and the xperia logo appears and the device starts normally

          • Filip

            do you work with sdk ?

          • Kush

            nope,I have downloaded the ADB files and put the kernel files in it.BTW i also downloaded the sdk.

  • Kush

    nope,I have downloaded the ADB files and put the kernel files in it.BTW i also downloaded the sdk.

  • Filip

    try doing it with sdk…. paste the elf file from your kernel in sdk-platform tools and named it for example “kernel” and then press SHIFT + rightclick(if u are using Windows vista or 7) on the blank area in the folder and open command prompt.. now type fastboot flash boot kernel.elf try restart it again… MAKE SURE THAT U HAVE PLACED “Flashable super user zip..” on sd card…

    • Kush

      Cmd shows ,then i unplugged my device and the same happened.please tell me what am i doing wrong

    • Kush

      cmd shows waiting for device

      • Filip

        ok close cmd and open it again paste fastboot flash boot kernel.elf DONT PRESS ENTER… NOW HOLD UR VOLUME UP KEY AND PLUG IN THE CABLE IN YOUR PHONE WHEN U SEE THE PURPLE COLOR ON YOUR PHONE PRESS ENTER

  • Filip

    Do u get specific sony logo and superuser apk?

  • Kush

    I get the normal Sony logo and no superuser apk.I have installed superuser on my phone by the zip.

    • Filip

      did u do what i told u when cmd said ” waiting for device ” ?

      • Kush

        When cmd said waiting for device I unplugged my phone and then i powered it off and then started it again and continuously tapped volume down button.Is this right?

      • Kush

        Done.it says Flash operation complete.Now what?

  • Filip

    do this…. close cmd and open it again paste fastboot flash boot kernel.elf DONT PRESS ENTER… NOW HOLD UR VOLUME UP KEY AND PLUG IN THE CABLE IN YOUR PHONE WHEN U SEE THE PURPLE COLOR ON YOUR PHONE PRESS ENTER

    • Kush

      Done.it says Flash operation complete.Now what?

      • Filip

        now unplug ur device…. Turn it on and hold volume key down.. u should get specific sony logo..

        • Kush

          Yes and a new app SuperSU got installed.So,is my phone rooted now?

  • Filip

    NO, wait… u flashed ur kernel…. Now Download ROM Manager Open it and it will ask u to allow superuser… Allow it and Click Reboot into recovery (YOU ARE NOW IN CMW) Use menu key on transparent bar to go DOWN AND use HOME KEY like continue… now open it the zip install it… restart ur phone and now u should be successfully rooted :))

    • Kush

      Thanks,but there is a problem my phone is rooted but my phone is not connecting to pc .I installed titanium backup pro and uninstalled browser before using ROM manager.Do you know why is it happening?

    • Kush

      I tried Factory reset,Rebooting and temp unroot(Superuser) but my phone is not connecting to pc.

  • Kush

    The phone does not connect to pc after root.Tried it twice.

  • Filip

    Idk, i have the same problem, Lalit can u help us?

  • Kush

    Filip, I solved that problem yesterday. Just flash the nemisis kernel instead of thw(whatever mebtioned above). You cand find the kernel on the original thread of root. :-D

  • Kush

    BTW if you rooted, then first unroot tou phone by Emma (Software by Sony). Connect you phone with fastboot to pc while Emma opebed and it will recover it to stock recovery. :-)

    • Filip

      what to do after unrooting my phone ?

  • Kush

    After unrooting,
    1.Go to this link-http://forum.xda-developers.com/showthread.php?t=2249077

    2.Download the nemisis kernel

    3.Flash the nemisis kernel with the sdk

    4.Enjoy!:-D :-)

    • Filip

      will my phone be rooted after flashing my kernel?

    • Filip

      Nevermind bro, i just reflash my kernel to nemsis and now everthing is alright :) Thanks :) Didnt need to unroot

  • Kush

    ^o^

  • Kush

    Btw do you know some good mods?

  • Filip

    Nope, i haven’t tried any mod

  • Manuel Hott

    Thanks, it worked, now my phone is rooted, but can i install a rom like cm9 even if it has a different kernel version??

  • doğan

    I could not. Can you help :(

  • doğan

    do not understand the step
    You will find a .elf file. Place it in the folder with ADB files. and what ADB files. where ?

  • Filip

    download android sdk or click on the hyperlink “folder with adb files” and download the adb files and place the.elf file there

    • doğan

      thanks Filip :)

  • AD

    Thanks for the reply, Filip. After doing some research, I simply flashed the stock Jelly Bean rom using flashtool and placed superuser zip file into the SD card. It worked like a charm.

  • Filip

    glad to hear that :-)

  • Filip

    you’re welcome

  • doğan

    I do not understand ADB folder . I am from Turkey. When I started translating different things and I could not find ” folder with ADB files. ” :( :(

  • Sahil Bawa

    See, all you said was piece of cake. But my concern is the new logo that is self installed with the superuser mod. Any way to change that back to Sony? Please reply asap.

    • Lalit Indoria

      That is because of the kernel you used. People who create those kernels change the logo. Only a developer knows how to change it, you may probably do a research on it and try it out!

  • Sahil Bawa

    Ah, well. I was hoping you could help me out. But thanks anyways. :)

    • Kush

      You can change the start animation by installing a different ROM.I installed Enigma Rom v.1.2 and it is great.It gives features of small apps etc.

  • gera

    disculpa mi ignorancia pero es que soy algo nuevo en estas cosas, yo tengo un problema con mi teléfono ya que no arranca en modo fastboot(paso 5), ya tengo los drivers y según todo lo que se ocupa en mi computadora pero en mi celular no pasa nada:( me podrías ayudar??

    • Filip

      gera, skip step 5… when u open comant prompt type the command and before press enter connect ur phone in fastboot…after connecting ur phone in fastboot immediately press enter :)

  • Sagar Talreja

    Is boot unlocking is necessary for this update

    • Filip

      this is not update… this is rooting, and yes it is necessary to unlock ur bootloader if u want to root ur phone on this way

  • Moahmed yaseen

    …………….PLEASE FIX THIS……………

    After installing CWM & Root process

    My device keeps restarting when we do overload the process..
    when i atten the incoming call after 2 or 3 seconds it restarts…

    i tried many times by re-flashing my mobile and installing cwm
    everything is fine after flashing jellybean..
    the problem occurs when i installed the cwm

    please help me… :(

  • fouad heart

    i have done steps 1- OK 2- OK 3- OK 4- OK 5- OK

    BUUUTT 6- i am doing everything ok and i’ve copied the name of kernel-unsigned.elf but it says

    WAITING FOR DEVICES PLEASEEEEE HELLLPPPPPPPP

    • Filip

      skip step 5… when u open comant prompt type the command and before press enter connect ur phone in fastboot…after connecting ur phone in fastboot immediately press enter

  • fouad heart

    that didn’t work either :( heellpp me bro please

  • shabab

    my android was upgrading and i force restarted because it seemed to have been hunged. now my phone wont start. its stuck at the colour flashing page. i am using xperia p jellybean.

  • fouad heart

    don’t worry bro flash this kernel using flashtool
    tell me it worked or not

    download it here: http://www.mediafire.com/?bizja6nk6d61p54

  • sayan

    will it work on xperia p (6.2.A.1.100)?

  • HereAndNow

    Stuck at point 6….
    After opening Command Prompt , the error message says:
    “fastboot” is not recognized as an internal or external command…
    Tired with this now… :(

    • Lalit Indoria

      Then you probably aren’t running Command Prompt in the location where you have fastboot.exe file.

  • HereAndNow

    How to open Command Prompt in “THAT” location where adb files are stored??? Confusing!

    • Lalit Indoria

      Shift + Right click in any empty space inside the folder where you have the ADB files and select “Open Command Prompt here”.

      • HereAndNow

        This doesn’t help. I use Windows XP and there’s no such option as “Open Command Prompt Here”. Any other alternative??

      • HereAndNow

        Done this step… but the error message says “Device must be rooted first”…

  • Kotlik Martin

    I have problem with step 6. I write fastboot flash boot kernel-unsigned.elf and it writes : “waiting for device” I have tried to connect in flash mode and immediatly press enter – does not work either. Do you know what Should I do ?