[Q&A][Root]Rooting with Locked Bootloader - NO OTA Method - Sony Xperia M2

After much tampering I managed to identify a procedure to root our phone(s) leaving the Stock ROM intact (addition of rooting apart, sure). This will remove the requirement to do an OTA update, which in the future could remove the rooting if any update will be available (Lollipop maybe?).
The process is very straightforward and has been tested in both OS X and Windows. Here it follows:
THIS SHOULD WORK FOR ALL XPERIA PHONES WITH KITKAT INSTALLED WHICH HAD A PREVIOUS ROM VULNERABLE TO TOWELROOT.
If your phone started with KitKat 4.4.4 or later and you want to keep the locked bootloader you may be doomed.​
GENERAL GUIDELINES:
Be sure to have the full FTF for the stock ROM you are currently running
Flash only the kernel of a ROM for your phone vulnerable to the Towelroot exploit unchecking the wipe checkboxes
Reboot the phone:
The phone will bootloop, but it doesn't matter. The Linux kernel and adb are alive and thus the "Towelroot" vulnerability is exploitable by rootkitXperia
Run rootkitXperia. After the rooting it should get stuck when trying to reboot the phone(*). Interrupt it with CTRL-C
Flash back the kernel for the ROM in your phone
Reboot the phone
Manually run the command to have the RIC permanently disabled:
Code:
adb shell "su -c /data/local/tmp/install_tool.sh"
(*) In some phones (Xperia Z?) rootkitXperia may not get stuck. If the phone reboots the rooting should be complete. Just flash back your original kernel and it should be done (untested).
The following section will explain in great detail every single step needed. It also includes all the links to the SW and procedures needed:
COMPREHENSIVE TUTORIAL:
PREPARATION:
Have your phone updated to the last ROM
Download Flashtool: link
Download rootkitXperia: link
Have adb installed: Suggested links: OSX/Linux - Windows
- Windows only: Install the phone drivers (probably using Sony PC Companion. I dunno, I don't use that Windows junk )
Enable the USB debugging: HowTo
In Settings/Security enable "Unknown sources"
Make it sure Flashtool/adb can connect to the phone: just try "adb shell" from the terminal.
Download a Jelly Bean stock ROM for YOUR phone: link for D2303
Otherwise for D2303 (but it is confirmed working with the M2 Aqua D2403 as well) you can use the attached FTF (kernel only)
From Flashtool download the FTF of your latest ROM (Menu "Devices/Check Updates" at least in OS X). Be sure to use the same ID
You may want to make a full backup using the Sony system app "Backup and restore" (or equivalent in other languages)
ROOTING:
Launch Flashtool in your Mac/PC
Power off the phone
While holding the Volume Down key connect the phone to the Mac/PC via USB
The phone top led should blink red and then green
Flashtool should report that the phone is connected in flash mode
Select the JB FTF of your choice (full RoM/kernel only).
In OSX Flashtool is glitched. You may need to select an FTF and then move upward with the arrow keys
Exclude all but the kernel. Uncheck the wipe checkboxes
Proceed with the kernel flashing . The blu icon with a thunder
After the flashing has terminated disconnect the phone from the USB
Start the phone:
This is the tricky part. Android now will bootloop. But we don't care, because the underlying Linux is well alive!! adb works and so it does the Linux kernel/OS.
And that is all we need, because rootkitXperia exploits the Towelroot vulnerability but without the need of launching the graphical interface. Just hurry a bit because it may or may not last forever.
Connect the phone via USB
From the terminal cd into the rootkitXperia directory
Launch the script: install.sh in OSX/Linux - install.bat in Windows
When the script gets stuck at the phone reboot terminate it (CTRL-C)
At this point, with the phone still in bootloop, you may check if the rooting has been successful. Just type the command:
Code:
adb shell "su -c id"
which should report
Code:
uid=0(root) gid=0(root) context=u:r:init:s0
If it doesn't something went wrong (it shouldn't).
DISABLE THE RIC (enable /system read/write):
Disconnect the phone
Power it off
Hold the Volume Down key and connect it to the computer
In Flashtool flash the kernel of your latest ROM.
Like before exclude all but the kernel, no wipe needed
Also there is an issue with 18.3.1.C.1.15 installed via PC Companion/Sony Bridge for Mac. One should flash (thus not excluding it) the "BOOTBUNDLE" as well as shown in this post
Disconnect the phone from the USB and reboot it
Connect the phone
Manually run the command:
Code:
adb shell "su -c /data/local/tmp/install_tool.sh"
Reboot and enjoy your rooted phone!
What to do next:
Press "Thanks!"
Backup your TA partition: link for OS X
Put a copy in your most favorite Cloud service (Dropbox/iCloud/Google Drive/Whatever). It's better be safe than sorry.
Update SuperSU binary and apk
Install adaway to get a rid of those annoying commercial
Anything else you rooted your phone for!
Unrooting/Recovery
You may need to use the OFF button near the SIM card slot if anything went wrong (like if you forgot to uncheck the wipe flags). That shuts down the phone. You would need a needle (or something very small) to push it. (**)
Flash with Flashtool the kernel and system from the ROM you previously downloaded to keep your data - or -
Rebuild the ROM with Sony Bridge For Mac/PC Companion
(**) Thanks to Vino Kulafu for the tip.
JB Kernel from the Xperia M2 D2303 FTF attached:
It's confirmed working with the following devices:
Xperia M2 D2303
Xperia M2 Aqua D2403

It's working
Miche1asso said:
After much tampering I managed to identify a procedure to root our phone(s) leaving the Stock ROM intact (addition of rooting apart, sure). This will remove the requirement to do an OTA update, which in the future could remove the rooting if any update will be available (Lollipop maybe?).
Click to expand...
Click to collapse
Yap, I have just test it and everthing is working fine. I was using Windows. And i could also update su binary without any problem. Thank you for sharing us this method which reduce a lot of wasted time.

Andrej732 said:
Yap, I have just test it and everthing is working fine. I was using Windows. And i could also update su binary without any problem. Thank you for sharing us this method which reduce a lot of wasted time.
Click to expand...
Click to collapse
Thanks for confirming!
BTW did you use the attached kernel?

Miche1asso said:
Thanks for confirming!
BTW did you use the attached kernel?
Click to expand...
Click to collapse
Yes, everything is fine.

Many thanks for this!
Successfully rooted Generic Philippine D2303 4.4.4 KK firmware, with full R/W access using the above instructions.
However, I suggest that the above steps be updated for clarity. Happy rooting guys; this is a much more convenient way to root, albeit complicated.
This should be moved to General section or Android Development section so people can see this thread easily.
:good:

Vino Kulafu said:
However, I suggest that the above steps be updated for clarity. Happy rooting guys; this is a much more convenient way to root, albeit complicated.
Click to expand...
Click to collapse
Do you mean to make a short version? I mean, as it is now it's a full guide, from A to Z. I was thinking about making a section with the 4-5 steps for the skilled users. Too bad I didn't think about reserving the second post. Is there any way to have it added? Otherwise I'll put it in the bottom with a reference on the top.
EDIT: Added a generic procedure on the top.
This should be moved to General section or Android Development section so people can see this thread easily.
:good:
Click to expand...
Click to collapse
yeah, I was thinking about making a thread there pointing to this one as well. The process is quite generic, although I think in the Xperia Z rootkitXperia does reboot the phone disabling the RIC.

No need to make a short version, my friend; it's good enough. Here are some suggestions though:
1. I think the portion about holding the up volume key is wrong since it boots the phone into fastboot mode while we need to go to flash mode.
2. Kindly stress the importance of unchecking the wipe checkboxes in flashmode. If not unchecked, you could end up with a bootlooping phone wherein the root kit will not function since the adb debug setting has been reset, which leads to #3.
3. Make use of the OFF button near the sim card slot when faced with the situation described in #2. Just flash back the original kernel and repeat.
My experience was this:
I didn't wait for reboot; I cancelled the procedure when it hung in the reboot part. Then I shut the phone off using the OFF button near the sim card slot, then flashed back stock KK kernel only. Afterwards, I proceeded to the disabling RIC then reboot again. Presto, all is well.
:laugh:

Vino Kulafu said:
No need to make a short version, my friend; it's good enough. Here are some suggestions though:
1. I think the portion about holding the up volume key is wrong since it boots the phone into fastboot mode while we need to go to flash mode.
2. Kindly stress the importance of unchecking the wipe checkboxes in flashmode. If not unchecked, you could end up with a bootlooping phone wherein the root kit will not function since the adb debug setting has been reset, which leads to #3.
3. Make use of the OFF button near the sim card slot when faced with the situation described in #2. Just flash back the original kernel and repeat.
My experience was this:
I didn't wait for reboot; I cancelled the procedure when it hung in the reboot part. Then I shut the phone off using the OFF button near the sim card slot, then flashed back stock KK kernel only. Afterwards, I proceeded to the disabling RIC then reboot again. Presto, all is well.
:laugh:
Click to expand...
Click to collapse
Ok, let me see:
1. Crap. I always get confused. It is Volume down, then, I just checked. I'll fix it.
2. Oh, I didn't think it could get so bad. I just unchecked the boxes to avoid to lose my data.. Well, yes, thinking about that it makes sense now.
3. I'll add it. Thanks.

As i know, with Locked bootloader even if you hold volume up (+ button) it will reject the connection with phone. Otherwise great guide and you should contact someone of moderators to move this in General section.
Thanks
Xperia M2 D2303 on K.K. 4.4.4

how the Xperia M2 Aqua (D2403) ?
Is there a solution root for D2403 with locked bootloader ?
sorry bad my language

Dzepar said:
As i know, with Locked bootloader even if you hold volume up (+ button) it will reject the connection with phone. Otherwise great guide and you should contact someone of moderators to move this in General section.
Thanks
Xperia M2 D2303 on K.K. 4.4.4
Click to expand...
Click to collapse
No, no. One just needs to hold Volume Down. WIth the locked bootloader we can flash all FTF we like as long as they are from Sony.
I also made a new thread in the general section just with the "General Guidelines" also pointing to this one. But thanks.
Actually it made the portal!
i_1 said:
Is there a solution root for D2403 with locked bootloader ?
sorry bad my language
Click to expand...
Click to collapse
If it had a Jelly Bean ROM just download the FTF (don't ask me from where) and follow this guide.

sorry .. no I do not understand
after successful with rootkitxperia , so need to flash back stock kernel before?

Yes, you need flash back stock KK kernel. After doing that, the phone should boot properly. Then you can proceed to disabling the RIC module steps.

Why is this?
anyone can help ?

sorry
i_1 said:
anyone can help ?
Click to expand...
Click to collapse
sorry I'm not as thorough with his files ...
now xperia M2 Aqua (D2403) has been rooting with locked bootloader on KitKat 4.4.4
Thank you Miche1asso with this awesome work ...:good::good::good:
Thank you also for Kulafu Vino has helped me with explanation...:good::good::good:

i_1 said:
sorry I'm not as thorough with his files ...
now xperia M2 Aqua (D2403) has been rooting with locked bootloader on KitKat 4.4.4
Thank you Miche1asso with this awesome work ...:good::good::good:
Thank you also for Kulafu Vino has helped me with explanation...:good::good::good:
Click to expand...
Click to collapse
Help me please i have same phone like you i dont have kernel but have the firmware for 2403

i_1 said:
sorry I'm not as thorough with his files ...
now xperia M2 Aqua (D2403) has been rooting with locked bootloader on KitKat 4.4.4
Thank you Miche1asso with this awesome work ...:good::good::good:
Thank you also for Kulafu Vino has helped me with explanation...:good::good::good:
Click to expand...
Click to collapse
You're welcome!
So, let me understand: did you flash my attached JB kernel for the M2 D2303 in the M2 Aqua D2403? I'd like this to be confirmed so in the case I will add it to the guide.

Miche1asso said:
You're welcome!
So, let me understand: did you flash my attached JB kernel for the M2 D2303 in the M2 Aqua D2403? I'd like this to be confirmed so in the case I will add it to the guide.
Click to expand...
Click to collapse
Yes ... I'm using your D2303 JB kernel
---------- Post added at 01:20 AM ---------- Previous post was at 01:09 AM ----------
Postiga 41 said:
Help me please i have same phone like you i dont have kernel but have the firmware for 2403
Click to expand...
Click to collapse
Just wait for the later addition of tutorials from Miche1asso

Postiga 41 said:
Help me please i have same phone like you i dont have kernel but have the firmware for 2403
Click to expand...
Click to collapse
The kernel I attached in the main post works for the D2403 as well. I updated the guide confirming it. Download it and follow the instruction step by step.

After flashing latest kernel , phone just shows sony then blank screen...but adb can detect the device...
any fix??

Related

[Solved] Roll back to 4.0.4?

Well... I have searched and searched and I just can´t find the correct answers to my questions...
Here it is:
My sons Xperia J is network-locked to 3 Sweden. It has a locked bootloader and it can´t be unlocked. The phone is upgraded to 4.1.2...
The only guide I have found for rooting is this: http://forum.xda-developers.com/showthread.php?t=2181640
It says that I have to be on rooted 7.5 FW to get 4.1.2 rooted. As I understand I have to downgrade first to get rooted... but how? Can anyone please give me a hint how to do this and to get hold of the FW needed?
My status:
Model ST26i
Android 4.1.2
Kernel 3.4.0
Version 11.2.A.0.21
Manneman32 said:
Well... I have searched and searched and I just can´t find the correct answers to my questions...
Here it is:
My sons Xperia J is network-locked to 3 Sweden. It has a locked bootloader and it can´t be unlocked. The phone is upgraded to 4.1.2...
The only guide I have found for rooting is this: http://forum.xda-developers.com/showthread.php?t=2181640
It says that I have to be on rooted 7.5 FW to get 4.1.2 rooted. As I understand I have to downgrade first to get rooted... but how? Can anyone please give me a hint how to do this and to get hold of the FW needed?
My status:
Model ST26i
Android 4.1.2
Kernel 3.4.0
Version 11.2.A.0.21
Click to expand...
Click to collapse
You need to download flashtool from here: http://androxyde.github.com/index.html?1363522362000
then 7.5 ics firmware here: http://forum.xda-developers.com/showthread.php?t=2150578 then root it with unlockroot
then install clockworkmod recovery here: http://forum.xda-developers.com/showthread.php?t=2003069 install 6.1 for j NOTE there is no CWM for jb with locked bootloader yet. Then follow the tutorial for root jb for locked bootloader.
Allright!
If I´m supposed to use Flashtool, can I use this instead? I still want to use 4.1.2 but with root so I can modify and delete bloatware...
http://forum.xda-developers.com/showthread.php?t=2181640
Is it the *.ftf i´m supposed to flash? It´s the prerooted 4.1.2 I really don´t need CWM for my purposes
Manneman32 said:
Allright!
If I´m supposed to use Flashtool, can I use this instead? I still want to use 4.1.2 but with root so I can modify and delete bloatware...
http://forum.xda-developers.com/showthread.php?t=2181640
Is it the *.ftf i´m supposed to flash? It´s the prerooted 4.1.2 I really don´t need CWM for my purposes
Click to expand...
Click to collapse
the ftf is the kernel and things the cwm zip is the rom you need it all! so follow the entire tutorial
Ahhh... NOW I got it!
I´ll give it a try tomorrow... I´m working until 10pm
Thanx for the directions!
I really need to be 100% clear of what I´m doing...
I´m in the process to download everything right now.
1: I make sure flashtool works with drivers and so on
2: I install (flash) the 7.5 firmware with flashtool? Just like that?
3: I root the 7.5 firmware with unlocktool
4: I install CWM with the *.batfiles included
5: I follow the link to flash and root instructed here: http://forum.xda-developers.com/showthread.php?t=2181640
Is this the correct way to do it?
Manneman32 said:
I really need to be 100% clear of what I´m doing...
I´m in the process to download everything right now.
1: I make sure flashtool works with drivers and so on
2: I install (flash) the 7.5 firmware with flashtool? Just like that?
3: I root the 7.5 firmware with unlocktool
4: I install CWM with the *.batfiles included
5: I follow the link to flash and root instructed here: http://forum.xda-developers.com/showthread.php?t=2181640
Is this the correct way to do it?
Click to expand...
Click to collapse
Yeah.Put it in firmwares folder of flashtool for easier locating of the .ftf, then start Flashtool, select the lightning icon on the left, Flashmode should be selected, press OK, find the fw from the left side(assuming you've already put it in the firmwares folder where flashtool is located), and press OK on the bottom there.Wait up, wait for flashtool to say to connect phone in flashmode(Make SURE you have drivers installed first), and wait for it to finish up.It might get stuck on some %, like 84,94, etc don't worry. it will continue.
Steam. said:
Yeah.Put it in firmwares folder of flashtool for easier locating of the .ftf, then start Flashtool, select the lightning icon on the left, Flashmode should be selected, press OK, find the fw from the left side(assuming you've already put it in the firmwares folder where flashtool is located), and press OK on the bottom there.Wait up, wait for flashtool to say to connect phone in flashmode(Make SURE you have drivers installed first), and wait for it to finish up.It might get stuck on some %, like 84,94, etc don't worry. it will continue.
Click to expand...
Click to collapse
Sweet!
Will it be enough to install the driverpack in the folder "Drivers" even though the phone does not appear in devices?
Sv: [Q] Roll back to 4.0.4?
Hang on a minute... can I really install CWM on firmware .75 on a locked bootloader?
yep, just make sure you use this version:
http://forum.xda-developers.com/showthread.php?t=2003069
the 6.1 for J.root your phone with unlockroot first, reboot it, and then apply this .bat.make sure usb debugging and unknown sources in security are ticked, too.
there are graphics issues, but it works.
Well... something is not right... see screenshot.
It starts but the it states that there´s an error. Any ideas?
Translation?
also if you have skype, post your ID and we can solve this faster.
make sure you're connecting the phone WHEN IT SAYS TO, not before that.
Hmmm translation?
"Error in processHeader 22. The unit doesnt recognize the command. Error flashing, aborted"
Sorry... not using Skype
Any clues in screenshot? I´m downgrading to .75 FW
Manneman32 said:
Hmmm translation?
"Error in processHeader 22. The unit doesnt recognize the command. Error flashing, aborted"
Sorry... not using Skype
Any clues in screenshot? I´m downgrading to .75 FW
Click to expand...
Click to collapse
try doing what i said, make sure you turn off the phone, remove battery, put battery back after 5 seconds, prepare the files for flashing, and plug the phone in flashmode WHEN THE PROGRAM instructs you to.I've found this to be a problem with the tipo too.Although it was fixable by replacing a loader.sin, but im not sure if there's a loader.sin for the J, i wouldnt experiment also with putting one from the tipo.Try what i suggested, plug the phone when flashtool instructs you too.volume down, remember
Steam. said:
try doing what i said, make sure you turn off the phone, remove battery, put battery back after 5 seconds, prepare the files for flashing, and plug the phone in flashmode WHEN THE PROGRAM instructs you to.I've found this to be a problem with the tipo too.Although it was fixable by replacing a loader.sin, but im not sure if there's a loader.sin for the J, i wouldnt experiment also with putting one from the tipo.Try what i suggested, plug the phone when flashtool instructs you too.volume down, remember
Click to expand...
Click to collapse
It seems to be working. It´s now booting on firmware .75
Now time for root with Unlockroot...
Manneman32 said:
It seems to be working
Click to expand...
Click to collapse
if it has moved up atleast from 5%. it is working.
Works nice... rooted and CWM installed and working.
I do have one question... On the Xperia J, if I want to modify and so on... witch is best? 4.0.4 or 4.1.2?
Flashed rooted 4.1.2 with CWM and it worked... took out battery and started Flashtool. Started phone with vol- and it started to flash. But it´s stuck at 3%...
Ideas?
Manneman32 said:
Works nice... rooted and CWM installed and working.
I do have one question... On the Xperia J, if I want to modify and so on... witch is best? 4.0.4 or 4.1.2?
Flashed rooted 4.1.2 with CWM and it worked... took out battery and started Flashtool. Started phone with vol- and it started to flash. But it´s stuck at 3%...
Ideas?
Click to expand...
Click to collapse
I'm out of ideas as I don't own the J, and that root procedure is quite difficult to understand.
Steam. said:
I'm out of ideas as I don't own the J, and that root procedure is quite difficult to understand.
Click to expand...
Click to collapse
Just remade the last procedure... now it works! I Think it had to do with the installation of CWM. I had to restart my PC
Thank you very very much for the help!

[Q] Xperia J won't turn on.

Hi..yesterday i try to install Kernel Vengeance_JLO_STOCK_JB to my Xperia J with flashtool.(to set 1.3 GHz) After installation i've try to turn on my phone, but nothing. I can't turn on my Xperia J. When I press the on button,it's only vibrate a bit then nothing happen.
Option 1: flash a stock .ftf firmware for your device using the allmighty Flashtool. Pick one of these firmwares: http://forum.xda-developers.com/showthread.php?t=2385526
Flash the firmware using this tutorial: http://forum.xda-developers.com/showthread.php?t=2240614.
Note: the drivers of the J can't be found in the Flashtool drivers. But don't worry, they are allready installed(assuming you have connected your phone at least one time to your computer before the brick).
Option 2: use Sony Update Service. http://www.sonymobile.com/global-en/tools/update-service/.
Use Flashtool first, because you may get your data back. If it doesn't work, use Sony Update Service. Using the Update Service, you will probably lose all of your saved data.
Success!
Takisamtija said:
Hi..yesterday i try to install Kernel Vengeance_JLO_STOCK_JB to my Xperia J with flashtool.(to set 1.3 GHz) After installation i've try to turn on my phone, but nothing. I can't turn on my Xperia J. When I press the on button,it's only vibrate a bit then nothing happen.
Click to expand...
Click to collapse
@MatsPunt No need to flash FTF, he would loose all his data just put it in fastboot mode and flash the right kernel again!
UltraGamerHD said:
@MatsPunt No need to flash FTF, he would loose all his data just put it in fastboot mode and flash the right kernel again!
Click to expand...
Click to collapse
You're absolutely right! I always assume when I read: ''phone doesn't work'', it's a soft-brick. But it's indeed a kernel problem. Sorry, OP! You need to flash a stock kernel!
P.S. Maybe I schould make a general thread of what to do with bricks/wrong kernels etc. Just a post with all possible scenarios?

[Q] [E C1505] [SOLVED] A bunch of Questions

Hi guys,
i'm somewhat of a noob when it comes to Android devices, so please excuse my stupid questions.
First some facts about my device:
ROOT: Enabled
BOOTLOADER: Locked and not changeable
ROM: Latest available official release
(hope that helps at least a bit)
#1: Is it possible to bypass the bootloader lock via root? If so, how?
#2: If there is no way to bypass the lock, is it possible to modify the rom anyway? Because i want to add the swapon/swapoff functionality to expand the available ram via a swap partition on my external SD card. (already checked via terminal if swapon/swapoff is available)
Thank you in advance for your help. I hope there's a solution to my problem.
BrainInBlack said:
Hi guys,
i'm somewhat of a noob when it comes to Android devices, so please excuse my stupid questions.
First some facts about my device:
ROOT: Enabled
BOOTLOADER: Locked and not changeable
ROM: Latest available official release
(hope that helps at least a bit)
#1: Is it possible to bypass the bootloader lock via root? If so, how?
#2: If there is no way to bypass the lock, is it possible to modify the rom anyway? Because i want to add the swapon/swapoff functionality to expand the available ram via a swap partition on my external SD card. (already checked via terminal if swapon/swapoff is available)
Thank you in advance for your help. I hope there's a solution to my problem.
Click to expand...
Click to collapse
Can u plzz upload a screenshot of the page of ur device's bootloader status. Because as far as i know xperia e's bootloader isn't harlocked and can be unlocked easily.
Well, i don't known how to take a screenshot, at least on an android device.
Gesendet von meinem C1505 mit Tapatalk
BrainInBlack said:
Well, i don't known how to take a screenshot, at least on an android device.
Gesendet von meinem C1505 mit Tapatalk
Click to expand...
Click to collapse
Hold the volume down button + power button simultaneously .
Have a nice day
Sent from my C1505 using XDA Premium 4 mobile app
Img .tapatalk. com/d/14/01/24/uqe6y4ez.jpg
(had to bypass the 10 post linking thing)
Thanks again
BrainInBlack said:
Img .tapatalk. com/d/14/01/24/uqe6y4ez.jpg
(had to bypass the 10 post linking thing)
Thanks again
Click to expand...
Click to collapse
You're right - your phone isn't allowed a bootloader unlock.
Without bootloader unlock, you can't change ROMs, but you can install ICS, which is a bit faster than Jelly Bean, even slightly more than CyanogenMod. In fact, even with an unlocked bootloader, I'm using ICS. Here's how: http://forum.xda-developers.com/showthread.php?t=2579233
Now, you said you're a noob when it comes to Android, so here's how to flash an FTF:
This process will remove all installed apps, contacts and settings. Any music, stuff on the internal storage (the one for music etc.) or the microSD will be preserved.
0. Make sure you're on Windows 7 or below. For some reason, this doesn't work with Windows 8 or 8.1, so you'll have to get a 7 PC somehow.
1. Download Androxyde's Flashtool here: http://forum.xda-developers.com/showthread.php?t=920746 (use the unrestrict.li link, it's better)
2. Install it. By default, it is installed to C:\Flashtool. Open this folder, and then the "drivers" one. You'll see a driver setup file. Install the Flashtool and Fastboot drivers (in the list, they're on the bottom).
3. Now go back to the Flashtool folder, and open "firmwares". Put your FTF file here.
4. Open Flashtool. Click the lightning icon. Ensure that Flashmode is selected, and press OK. Choose the C1605 11.1.A.0.68 file, and press Flash.
5. When it tells you to, turn off your phone. Plug in the USB cable into your computer. Hold volume down (do not hold the power button), and (point of no return now) plug the phone into the USB cable connected to your phone. The notification light will glow green, and hopefully everything will start flashing. When the Flashtool window tells you to disconnect your phone and turn it on, do so. Set it up, and you're on ICS!
If you want to go back to Jelly Bean, download this FTF: https://www.mediafire.com/?3fmmkbmlqtjd6cy and put it into the "firmwares" folder. Now follow the guide step 4 onward, but select "11.3.A.2.23" for Jelly Bean.
Whew, long post.
So, in principle i downgrade the device to ics with an unlocked bootloader and then can flash a custom rom that is jb based, with all features i need to expand the ram?
BrainInBlack from a C1505
BrainInBlack said:
So, in principle i downgrade the device to ics with an unlocked bootloader and then can flash a custom rom that is jb based, with all features i need to expand the ram?
BrainInBlack from a C1505
Click to expand...
Click to collapse
No, ICS won't enable you to unlock your bootloader OR install CWM OR install a custom ROM. ICS is faster than any other custom ROM (other than XboosT, which is basically ICS on steroids), so if you can't have custom ROMs, the next best thing is ICS.
Another noob's question:
I installed Xposed a few days ago on my c1505 (stock firmware, locked bl). It worked perfectly. But i've read from another post that if i remove it my phone won't boot. So is there any way to remove it without breaking my device?? Waiting for answers.
buinghia98 said:
Another noob's question:
I installed Xposed a few days ago on my c1505 (stock firmware, locked bl). It worked perfectly. But i've read from another post that if i remove it my phone won't boot. So is there any way to remove it without breaking my device?? Waiting for answers.
Click to expand...
Click to collapse
It never bricked my device!!!
Sent from my C1604 using xda app-developers app
Xmoose said:
It never bricked my device!!!
Sent from my C1604 using xda app-developers app
Click to expand...
Click to collapse
B-b-but...
http://forum.xda-developers.com/showthread.php?t=2498202
I'm using XE single... i think that makes the difference. Even tipos got bricked...
buinghia98 said:
B-b-but...
http://forum.xda-developers.com/showthread.php?t=2498202
I'm using XE single... i think that makes the difference. Even tipos got bricked...
Click to expand...
Click to collapse
But UltraGamerHD is still using his phone (in fact, he's making CM11...), right?
Right now, I uninstalled Xposed, rebooted, installed Xposed, rebooted. Nothing called a brick (although I did lose a cool Xposed mod for a reboot). Well, whatever. Uninstalling doesn't brick.
In fact, the problem in the topic is either:
1. The phone hard-bricking, which is not related to Xposed at all.
OR
2. The phone's battery being discharged to 0%, to the point where the phone cannot turn itself on and start charging.
NSDCars5 said:
But UltraGamerHD is still using his phone (in fact, he's making CM11...), right?
Right now, I uninstalled Xposed, rebooted, installed Xposed, rebooted. Nothing called a brick (although I did lose a cool Xposed mod for a reboot). Well, whatever. Uninstalling doesn't brick.
In fact, the problem in the topic is either:
1. The phone hard-bricking, which is not related to Xposed at all.
OR
2. The phone's battery being discharged to 0%, to the point where the phone cannot turn itself on and start charging.
Click to expand...
Click to collapse
Are you single or married?
Just kidding. Are you using XE single or dual sim. And do you know how did UltraGamerHD repaired his phone?
buinghia98 said:
Are you single or married?
Just kidding. Are you using XE single or dual sim. And do you know how did UltraGamerHD repaired his phone?
Click to expand...
Click to collapse
1. I'm a teen. So, yeah, single.
2. My phone's single too, but it's not a teen.
3. UltraGamerHD has been making CM11 (KitKat) for our phones, he's even shown an image - too bad it's been deleted now - but I think he's still (a bit) active here, so...
4. @UltraGamerHD? Your phone's working?
NSDCars5 said:
1. I'm a teen. So, yeah, single.
2. My phone's single too, but it's not a teen.
3. UltraGamerHD has been making CM11 (KitKat) for our phones, he's even shown an image - too bad it's been deleted now - but I think he's still (a bit) active here, so...
4. @UltraGamerHD? Your phone's working?
Click to expand...
Click to collapse
1. I dont think so... there are about 4 to 5 people are experiencing this, including you (if not, why did u take it to sony?)
2. What are u developing? And do you have a Facebook account?
3. Another question... how to install PurePerformance on locked bl? Flash gordon doesn't work.
NSDCars5 said:
1. I'm a teen. So, yeah, single.
2. My phone's single too, but it's not a teen.
3. UltraGamerHD has been making CM11 (KitKat) for our phones, he's even shown an image - too bad it's been deleted now - but I think he's still (a bit) active here, so...
4. @UltraGamerHD? Your phone's working?
Click to expand...
Click to collapse
My Xperia E is Working Fine, it was just me bieng stupid.
Okay, last questions:
1 @UltraGamerHD? How did you bricked it? And How did you repair it?
2.How to install PurePerformance on locked bootloader? My XE says "bootloader unlock allowed: no" so i cant use cwm or twrp. Flash gordon doesn't work.
buinghia98 said:
1. I dont think so... there are about 4 to 5 people are experiencing this, including you (if not, why did u take it to sony?)
2. What are u developing? And do you have a Facebook account?
3. Another question... how to install PurePerformance on locked bl? Flash gordon doesn't work.
Click to expand...
Click to collapse
1. I went to Sony cause I didn't know what the issue was - they fixed it by using a Z1 or Z Ultra charger to charge it to 9%, powered it off, and let me charge the rest at home.
2. I can't say what I'm making... it's a closely guarded secret. Nope, no Facebook. I had it, but I deleted it.
3. No idea, sorry.
buinghia98 said:
Okay, last questions:
1 @UltraGamerHD? How did you bricked it? And How did you repair it?
2.How to install PurePerformance on locked bootloader? My XE says "bootloader unlock allowed: no" so i cant use cwm or twrp. Flash gordon doesn't work.
Click to expand...
Click to collapse
I did brick it once, I went to the Orange UK store in my local town and he said he used software similar to PC Companion.
Go to phoneunlockserver.com and unlock your bootloader even if it says no for £10 GBP --> Use Google Currency to Convert Price.
Since it is kind of on topic.
 @UltraGamerHD: Any status of CM11 for Xperia E?
Bug list please? and why did the thread get deleted? :/ :|

[ LOCKED BOOTLOARDER ] M2 Aqua Root and recovery finally

His guys
I will later post a tutorial to get root and recovery on a locked bootloader at M2 Aqua D2403.
Some people know me maybe from Xperia Play section.
What did you Need:
Flashtools
My Root Package
ADB Driver installed
First make a back up on you Computer with PC competion! Your data well be lose when you dont make this!
Extract my package
copy the D2403_18.3.C.0.40_CE (1).ftf and D2303_18.0.C.1.13_Global Generic_Only kernel.ftf to the Directory flashtool/Firmware
now open flashtool and Flash D2403_18.3.C.0.40_CE (1).ftf wipe all
when Flash finish start your M2 Aqua and enter Setting and go to About the phone
scroll down to the Build number and push it more then 10 times
now enter Developer Options
activate STAY WAKE, USB Debugging, Allow mock Locations
now go to Security and allow Unknow sources
now go to Securtiy again enter Device admistrators and deactived Enterprise Service and Android Device Manager!
Connect now you Phone to you Computer and set allow everytime to use USB Debugging on this Computer
Now disconnect you phone and turn it off
enter Flashtools again
Flash now: D2303_18.0.C.1.13_Global Generic_Only kernel.ftf
Disconnect it and turn you phone on! now after sony logo you have a black Screen ^^ dont be worry ist normal
Now open EasyRootTool v12.4 install.bat and let it run you must make it 2 times when ist stuck at the first one when it displayed you phone is rooted unplugged devices.
Now look at my Folder your see a Picture inside! DSC_0001.jpg push the Little button to power off you devices.
Now enter flashtools and Flash ONLY the KERNEL from D2403_18.3.C.0.40_CE (1).ftf
now start you phone i will be boot normal
install Superuser from market dont start it
now connect your phone to you PC with USB Debugging on and Run the SONY RIC Killer v2 install.bat
when ist done open Superuser and update your SU binary!
enjoy your Rooted M2 Aqua
now you can make update via OTA. everytime when you make a System update with OTA you must run after update the SONYRIC killer!
when you would have recovery enter this thread: http://forum.xda-developers.com/xperia-m2/general/d2303-philz-touch-recovery-6-t3047492 it works fine too on M2 Aqua
Thx credits goes too all they make EASY Root Tool kit and SONY RIC killer
Download:
Root Package
Sent from my D2403 using XDA Free mobile app
Reserved
Sent from my D2403 using XDA Free mobile app
Anyone test IT?
Sent from my D2403 using XDA Free mobile app
Thanks a lot. I will test it tomorrow. I hope work, because Sony put a loto of unuseful apk on his roms.
Hi,
I've tested and worked for me
I made it with unlocked bootloader. The OTA doesn't work with unlocked bootlader. I had to locked it again.
When I updated the system, i had not use the SONYRIC killer. The phone stayed root.
Sorry, my poor english.
Thank You !
veszet said:
Hi,
I've tested and worked for me
I made it with unlocked bootloader. The OTA doesn't work with unlocked bootlader. I had to locked it again.
When I updated the system, i had not use the SONYRIC killer. The phone stayed root.
Sorry, my poor english.
Thank You !
Click to expand...
Click to collapse
You have a unlocked bootloader there is No problem with sony ric you Need IT only with locked bootloader
Sent from my D2403 using XDA Free mobile app
Hi, thanks a lot !!!
but a have a problem, after get root my phone go back to 4.4.2
and I can't update via OTA
version: 18.3.C.0.40
can't update version: 18.3.1.C.0.21
beandj said:
Hi, thanks a lot !!!
but a have a problem, after get root my phone go back to 4.4.2
and I can't update via OTA
version: 18.3.C.0.40
can't update version: 18.3.1.C.0.21
Click to expand...
Click to collapse
forget about !!!
my phone started with 4.4.4 (18.3.1.C.0.21)
just use this D2403_18.3.1.C.1.13_RU.ftf instead D2403_18.3.C.0.40_CE (1).ftf
and get root without unlock
You See it works
Sent from my D2403 using XDA Free mobile app
Hi! I just registered only to say: thank you so much for this tutorial. It was the only one I could find out there that actually explains things step by step for newbies like me.
It was a bit confusing in the EasyRootTool part, but that was only because the Anti-Virus kept blocking adb.exe and just a heads up for people who get that, don't panic just go to task manager kill adb.exe and turn off your Anti-Virus for a couple of minutes.
Also, when I opened Superuser I noticed that the -rwxr-xr-x is red, the rest is green. Is this normal or did I forget something? All seems to be working mighty fine anyways.
Thank you once more. :good:
Hello, is any of you encountering the accelerometer issues?
Sent from my D2403 using XDA Free mobile app
Vadeinspace said:
Hi! I just registered only to say: thank you so much for this tutorial. It was the only one I could find out there that actually explains things step by step for newbies like me.
It was a bit confusing in the EasyRootTool part, but that was only because the Anti-Virus kept blocking adb.exe and just a heads up for people who get that, don't panic just go to task manager kill adb.exe and turn off your Anti-Virus for a couple of minutes.
Also, when I opened Superuser I noticed that the -rwxr-xr-x is red, the rest is green. Is this normal or did I forget something? All seems to be working mighty fine anyways.
Thank you once more. :good:
Click to expand...
Click to collapse
You must use SuperSU superuser is out of date. Use ric killer then enter SuperSU and make Binary update.
Sent from my D2403 using XDA Free mobile app
I suspected as much .. I appreciate your help, the least l can do is buy you a coffee :good:
Hello, is any of you encountering the accelerometer issues?
Click to expand...
Click to collapse
This is a well known major bug, it appears that in every M2 model, after you make a call, the proximity sensor just scrambles with the accelerometer and compass,
I haven't tried it yet with this rom yet, but should it still crash the only workaround I see is restarting the cellphone/using an apk to force manual rotation.
Never had this problem myself, on 4.4.4 stock rooted. The only bug I can find on my M2 is the audio bug in Walkman. And that is fixed on the 18.3.1.c.1.13 update.
Xperia M2 D2303 stock 4.4.4 kk rooted l/b philz touch recovery xposed mods
[email protected] said:
Never had this problem myself, on 4.4.4 stock rooted. The only bug I can find on my M2 is the audio bug in Walkman. And that is fixed on the 18.3.1.c.1.13 update.
Xperia M2 D2303 stock 4.4.4 kk rooted l/b philz touch recovery xposed mods
Click to expand...
Click to collapse
Maybe it's just the model then. Right now it does seem to be fixed after performing OP's method (Still on 4.4.2 with the 13.8.C.0.40 update)
What I did find though, being a blatantly serious issue, is a huge memory leak in this build. Every app seems to crash and run out of memory when in background. Chrome or every other browser just restarts whenever we tab out and back in, music players just stop when minimized even though they appear in the notifications bar. It completely lost it's ability to multi-task, since I can't even download from and browse the play store at the same time.
Edit: This seems to be fixed now just by properly installing SuperSU, RICKiller and updating the binaries
Everything is in order now. Maybe I'll even do the OTA updates.
Vadeinspace said:
I suspected as much .. I appreciate your help, the least l can do is buy you a coffee :good:
This is a well known major bug, it appears that in every M2 model, after you make a call, the proximity sensor just scrambles with the accelerometer and compass,
I haven't tried it yet with this rom yet, but should it still crash the only workaround I see is restarting the cellphone/using an apk to force manual rotation.
Click to expand...
Click to collapse
There are Some wrong digitest in the framework.jar, for the app semcphone.apk and the semcphone is bugy maybe a port from z3 remove the Bug i installed one from the z section and i dont have this Bug anymore ^^. It look like the framework for all phones are the Same only the apps are other
Sent from my D2403 using XDA Free mobile app
markphyton said:
There are Some wrong digitest in the framework.jar, for the app semcphone.apk and the semcphone is bugy maybe a port from z3 remove the Bug i installed one from the z section and i dont have this Bug anymore ^^. It look like the framework for all phones are the Same only the apps are other
Sent from my D2403 using XDA Free mobile app
Click to expand...
Click to collapse
Did you manage to fix the accelerometer bug? If so, could you tell in details how you manage to do it because I have no clue what framework.jar is nor semcphone, pardon the ignorance, and the issue appears to be back after a few calls.
markphyton many thanks....... I just try it and my phone is rooted.........anddddd just now do updetes from sony..........thank you my friend.
I am john from hellas......
Hello, I have M2 Aqua. I managed to fix the accelerometer issue by flashing the 4.4.2 firmware stock, because my bootloader can't be unlocked. Hope I helped.
Sent from my D2403 using XDA Free mobile app
Recovery
Wich is the recovery of this and how do I Access it?

[TUT] Root Xperia M2 & M2 Aqua in KitKat 4.4.4 (Locked and Unlocked Bootloaders)

Hello there!
Many of you requested a video on how to root the Xperia M2 (and M2 Aqua), with a step by step procedure, so here it is!
LINK: https://www.youtube.com/watch?v=f9x7AY7o2gU
All the tools needed are in the video description, and I will try to answer all your questions both in the Youtube comments or here in this post.
Happy Easter and enjoy root!
(and sorry for my english )
Nice tutorial but Im having a little problem.
Today I was trying to root my M2 Aqua (D2403) with your old tutorial and now I tried with this again.
So, the problem is that when I flash JB kernel the phone turn on normally, not in bootloop then root xperia toolkit doesnt work.
Also tried with only ftf kernel of another thread and turned on in bootloop but flashtool and root xperia tool kit doesnt recognize the phone, maybe drivers?
I had problem installing the drivers on Windows 8.1 but worked in flashmode.
Thanks for tutorial and help.
Good tutorial! I think this will help people who have problems rooting their phone
xZakz said:
Nice tutorial but Im having a little problem.
Today I was trying to root my M2 Aqua (D2403) with your old tutorial and now I tried with this again.
So, the problem is that when I flash JB kernel the phone turn on normally, not in bootloop then root xperia toolkit doesnt work.
Also tried with only ftf kernel of another thread and turned on in bootloop but flashtool and root xperia tool kit doesnt recognize the phone, maybe drivers?
I had problem installing the drivers on Windows 8.1 but worked in flashmode.
Thanks for tutorial and help.
Click to expand...
Click to collapse
First, you installed the drivers with driver signature check turned off right? (From advanced reboot in windows..)
I think you might try as I did in the video, I mean, when preparing the phone, connect yours (while still in KK, still haven't flashed the JB kernel) and then open flashtools and check if you have any warning of adb. If so, hit REMEMBER (very important STEP) and then hit OK. This is because while in JB there's no screen so you cannot accept that petition. That's the reason.
After done that, try with THIS kernel. I know some people used it and it worked. Flash it, boot your device, wait for about 5 minutes, connect your phone and open the RootXperiaToolkit. Let's see if it works now
linuxct said:
First, you installed the drivers with driver signature check turned off right? (From advanced reboot in windows..)
I think you might try as I did in the video, I mean, when preparing the phone, connect yours (while still in KK, still haven't flashed the JB kernel) and then open flashtools and check if you have any warning of adb. If so, hit REMEMBER (very important STEP) and then hit OK. This is because while in JB there's no screen so you cannot accept that petition. That's the reason.
After done that, try with THIS kernel. I know some people used it and it worked. Flash it, boot your device, wait for about 5 minutes, connect your phone and open the RootXperiaToolkit. Let's see if it works now
Click to expand...
Click to collapse
Yes, I installed with signature check off. I used drivers from Flashtools 1.5
Also checked remember adb warning and I guess its weird, when I flashed using full rom the phone turn on and initiliaze normally as if I had not flashed the old kernel.
The kernel I told get bootloop is that you posted now.
I did exactly as on video but when phone is in bootloop the Root Xperia Toolkit doesnt recognize it and Flashtools(opened just to check) say the drivers arent installed.
I will try in another OS, thanks. :good:
xZakz said:
Yes, I installed with signature check off. I used drivers from Flashtools 1.5
Also checked remember adb warning and I guess its weird, when I flashed using full rom the phone turn on and initiliaze normally as if I had not flashed the old kernel.
The kernel I told get bootloop is that you posted now.
I did exactly as on video but when phone is in bootloop the Root Xperia Toolkit doesnt recognize it and Flashtools(opened just to check) say the drivers arent installed.
I will try in another OS, thanks. :good:
Click to expand...
Click to collapse
Try using koush's drivers. That's the one I hace un my machine
http://www.koushikdutta.com/post/universal-adb-driver
linuxct said:
Try using koush's drivers. That's the one I hace un my machine
Click to expand...
Click to collapse
I tried and sadly this drivers didnt work too in my Windows.
On Ubuntu your tutorial worked perfectly, thanks for the nice tutorial and for share
xZakz said:
I tried and sadly this drivers didnt work too in my Windows.
On Ubuntu your tutorial worked perfectly, thanks for the nice tutorial and for share
Click to expand...
Click to collapse
Nice, glad it helped ! Thank Goodness I modified both linux and windows scripts in Easyroot haha

Categories

Resources