[Sony Xperia M4 Aqua] Sonyfanatic:
At last :)

Ok guys. I've seen that many of u people get lost in installation or get problems during the way or at start up.

Im gonna take u step by step through how I did it and finally got it to work.

First of all im on a 2303 single sim AND YOU NEED TO BE ABLE TO UNLOCK BOOTLOADER.

Preperations!!!

Programs installed before u begin: minimal_adb_fastboot_v1.4.3_setup(found in xda),

flashtool-0.9.24.4-windows(and install all drivers from drivers folder. This can be tricky on windows 10 couse u can get a faild on google usbdriver. there is a good video on how to on youtube.) and ofcourse xperia companion.

Files to get from this tread:M4_patch_reduce, m4_aosp_ui_v2, e2303.zip and parted.

Search for root and twrp m4 aqua and download the boot and revovey.img. these two files needs to be put in the

installation folder of the minimal adb fastboot.

Link: https://xdaforums.com/m4-aqua/general/root-twrp-sony-xperia-m4-aqua-t3503369

https://xdaforums.com/showthread.php?t=2317790

Lets start. Go in to flashtool. go to xpirifirm and download the nordic combined flash for m4 aqua.

flash it to your phone.(i actually got an error durin flashing sys at the end but it dont matter.

Now start experia companion and do reperation. YOU WILL LOOSE EVERYTHING YOU HAVE ON THE PHONE.

When done start it up and without putting in any information or logins just "next" your self untill you can access settings. Turn usb debuging on and in security settings activate unknown sources. Now turn off your phone.

Without plugging in your phone to the computer start flashtool. Press the unlock bootloader button. Choose the m4 aqua if requsted otherwise just follow instruktions. (You may have to register and get the bootloader key from sony website for flash tool to get access to it. This im not shore of. Pretty easy to do. Just google it.)

The unlocking will finish but the green bar will never reach the end so read the text behind.

Now unplugg the phone and go in to the minimal adb fastboot folder. Should be under program(x86). Start cmd-here. Plug in your phone while holding the volume up button. (blue light shold come on)

type fastboot devices. (your phone ID should come up.)

type fastboot flash boot boot.img, ones done type fastboot flash recovery recovery.img.

Now your phone should be rooted and twrp should be installed.(remember to put boot and recovery.img in minimal adb folder otherwise the commands wont work :)

Start up your phone ones again and activate usb debugging and unknown sources And activate the sd-card for the phone. Power of the phone.

Copy M4_patch_reduce, m4_aosp_ui_v2, and parted to the sd-card. I did this through a usb dongle on my pc.

Start up the phone by pressing down volume and power button. when phone is lid up let the bottons go. You should now enter twrp. follow the video on the first page of this thread a little futher down in the discussion. It goes through installing m4 patch. copying parted to internal root direktory and setting upp partition.

link: https://drive.google.com/file/d/0BxYC2aYzmVvaUTd1N01OZHBQT0U/view

YOU MUST DO THE BACKUP EVEN THO WERE NOT GONNA USE IT FOR RECOVERY LATER. This just to get the acctuall restore direktory for twrp on the sd. make shore to make the backup on sd-card.

LITTLE ERROR IN VIDEO!!! first time DO type: mkpart primary 742 6142. The second time the text that shows up says the same thing again. but if you look in video it should be: mkpart primary 6142 7818. Ones you reach were he closes the phone after adb editing DO NOT start up the phone. Take the sd card out of the phone and put it in to your pc. extract the file 2303.zip and put the 2303 folder in the same directory as your made backeup directory. should be named something like: 1972-02-26-21-48-20_26.3.A.1.33. (the numbers can be diffrent.) Put sd-card in to the phone again and start into twrp.(vol down and power).Restore instead of Your backup folder choose the 2303 folder and restore data and system. Never clear catch and dalvik. I did it ones and it messed up the sd ones the phone was started. Did not destroy it tho but youll have to restart the whole thing from the beginning.

Ones its restored restart the phone and it should start up. Now Ones again go to twrp like in the video but instead of flashing m4_patch_aosp, flash m4_aosp_ui_v2.

Start up the phone(ones again without sim)

The phone should be ok from here. What i did notise was that the phone asked me if i wanted to format the sd as an internal memory. I DIDNT DARE TO DO SO couse i dont know the acctuall funktion of the SD card in this rom.

I've used this Rom now for a few weeks and theres only 3 things that i noticed doesnt work as they should

1. Dont get notices from all apps.

2. Notice text from some apps r white on white so you cant really c the text.

3. opon restart som app icons dissapear from home page, but they r not uninstalled so just pull em out there again :)

4. And finally changing the clock on lockscreen doesnt work

So as for stabiletty and smothness im really happy. I got much more space for apps that i use and for u facebook users use facebook lite and messenger lite to keep more space. they work just as well. I got em here in xda.

BIG shout out for all u developers that created this ROM. I coulded be happier considering what i had before. The M4 was a gonner before i got this rom to work BIG BIG THANKS to everyone involved of getting this rom to were it is.

:fingers-crossed::D:good: