ads

vendredi 11 septembre 2015

[Recovery][Root] TWRP (Command line only for now) [E2303]



TWRP Recovery for M4 Aqua (No gui, command line only)
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

Ok here it is 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:
1. Download the recovery.img
2. Flash the recovery file with fastboot

Code:


fastboot flash recovery recovery.img

3. Pull the cable turning off your phone.
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:

Code:


adb shell

you'll get a prompt like ~ #

type these three commands:

Code:


mount -w /system /dev/block/platform/7824900.sdhci/by-name/system
mount -w /data /dev/block/platform/7824900.sdhci/by-name/userdata
mount -w /cache /dev/block/platform/7824900.sdhci/by-name/cache


Now that you have the partition mounted you can flash your zip files:
We don't have external SD card support so for now we're going to stick with sideload
type:

Code:


twrp sideload

adb shell will exit, it's okay now we can install the zip file like this:

Code:


adb sideload <path_to_zip>

path to zip on your computer
so if you downloaded superSU on C:DownloadsSuperSU.zip
you type

Code:


adb sideload C:DownloadsSuperSU.zip

when you're done type:

Code:


adb reboot

and pull the cable

For Rooting:
Download SuperSU flashable zip from here https://download.chainfire.eu/696/SuperSU
and flash it like explained before

good luck :)

Special Thanks:
@jeffreyvh
@alby_var
@hnk
@zw3n
@S7relok
@dexter93
@babydolll
@Sam205
The TWRP team and everyone who made this possible

Download Links:
http://d-h.st/wuGD

XDA:DevDB Information
M4 Aqua TWRP, Tool/Utility for the Sony Xperia M4 Aqua

Contributors
husam666

Version Information
Status: Testing

Created 2015-09-11
Last Updated 2015-09-11



Aucun commentaire:

Enregistrer un commentaire