I am starting this thread as a COMPLETE GUIDE FOR YOUR DEVICE which would include almost all aspects for your device.
BASIC ANDROID DEVELOPMENT
REFER TO THIS GUIDE FOR BASIC ANDROID KNOWLEDGE AND DEVELOPMENT PROCESS
ALL ROMS,GUIDES, MODS, TUTORIALS LIST CLICK
ALL ROMS,GUIDES, MODS, TUTORIALS LIST
TABLE OF CONTENTS
1. UNLOCK BOATLOADER
2. ROOT YOUR DEVICE
3. FLASHING TOOLS AND GUIDE
4. DRIVER ISSUES
5. MEMORY PROBLEMS
6. TA BACKUP
7. OFFICIALLY UNLOCK YOUR BOOTLOADER (Not available now)
9. GUIDES LIST
All Credits to the developers for their tools!
I take no responsibility for world wars, broken phones, flying machines, UFO invasions, bricked phones, dead sd card . If you agree to go ahead with this, it is your choice and no blame should come to any developer/contributor whatsoever
For this guide to work, make sure usb debugging is enabled.
Go to Settings> About>Build Number> tap it 7 times and "Developer Options" should appear in settings.
In Developer Options> Enable USB Debugging.
For these I suggest use Flashtool. Check Drivers guide below for more information
New Method to Root M4 Aqua Dual E2363 *26.1.B.1.85 Found on Locked Bootloader. Please click on new method under Root How to root 5.0 Lollipop with RootkitXperia AND CHECK HIS TWITTER FOR UPDATES
STEP BY STEP NOOB GUIDE FOR TWRP AND ROOTING
YOU CAN UNOFFICIALLY UNLOCK YOUR BOOTLOADER HERE
You first need to unlock your bootloader before you can root your device.
@lucaszell for the amazing guide. @Sam205 for pointing it out in M4 Aqua forum
1. Go to Sony Website HERE
2. Choose M2 or M and complete the steps to get your KEY
3. Install Flashtool
4. Go to Settings - About phone - Status
Scroll to down to see serial number. (device name)
Amended for clarifications
1.: Go to the folder where Flashtool is installed. Usually C:/Flashtool
2.: Open the folder named "Custom"
3.: Open the folder named "Mydevices" (if it exists, in my case Flashtool version 0.9.18.4) (You may create if it doesnot)
3b.: In the newer Flashtool, you need to put the folder in "C:\Users\<username>\.flashTool\registeredDevi ces" in step 3.
That is, if you've picked the default for your flashtool home folder or you can choose manually.
4.: Create A New Folder and Rename the folder with your device code. Refer to Obs2 how to find your device code
5.: Open the folder created previously
6.: Create a new text file and rename it as ulcode
7.: Paste your unlock code and save it in the text file
8.: Open Flashtools and try the BLU option again.
Obs 1: the step #3 I think it depends on your Flashtool version, because it wasn't mentioned at the solution
Obs 2: at the step #4 is mentioned your device code. your device code is showed in the log when you click the button BLU, at the "Current device", after your device model.
Search a line like:
09/045/2015 23:45:08 - INFO - Current device : C2104 - AB100C2DE3 - 1272-4136_R5B - 1269-5420_15.3.A.1.17 - WORLD-a_15.3.A.1.17
in this case, the device code is AB100C2DE3 and this should be the new folder name (step 4)
NEW METHOD by @cubeundcube for locked bootloaders
WORKING ON DEVICE MODELS
[E2303, E2353, E2333, E2306]
This is for E2303 I didn't test on other models, feel free to do so but I take no responsibility whatsoever if anything happens
This will disable OTA updates, if you want them back you can flash the FOTA kernel with FlashTool
Confrmed to be working on those variants:
E2303, E2306, E2333, E2353, E2363
Ok here it is thanks to @jeffreyvh kernel we can finally flash zips however we have 3 catches:
1. No GUI (Sony's fault until they provide full sources for our phones, we're stuck here)
2. You have to mount /system, /data and /cache manually (Working on it)
3. No external SD card support (working on it)
No problem? Cool..
Ok here's how to do it:
0. You need unlocked bootloader <-- Click here to see how
1. Download the recovery.img
2. Flash the recovery file with fastboot
fastboot flash recovery recovery.img
4. Press the power button + volume down, when the phone vibrates, press the volume down button repetedly.
5. The Sony logo will disappear and you'll get a black screen (It's okay, congrats you've now booted twrp)
Now for the magic:
Connect your cable, make sure you have ADB and drivers installed.
In your terminal or dos window type:
type these three commands:
mount -w /dev/block/platform/7824900.sdhci/by-name/system /system mount -w /dev/block/platform/7824900.sdhci/by-name/userdata /data mount -w /dev/block/platform/7824900.sdhci/by-name/cache /cache
We don't have external SD card support so for now we're going to stick with sideload
adb sideload <path_to_zip>
so if you downloaded superSU on C:\Downloads\SuperSU.zip
adb sideload C:\Downloads\SuperSU.zip
Download SuperSU flashable zip from here https://download.chainfire.eu/696/SuperSU
and flash it like explained before
The TWRP team and everyone who made this possible
M4 Aqua TWRP, Tool/Utility for the Sony Xperia M4 Aqua
Last Updated 2015-09-17
Last Updated 22-2-2016