• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

Aosp 6.0 - e2303 / e2306

jeffreyvh

Senior Member
Jan 18, 2013
521
1,055
0
127.0.0.1


Features
- Pure AOSP (Stock Android, just like on the Nexus devices)
- No bloatware
- No extra features, just as clean as possible

What's Working
- Wi-Fi
- Boot
- Screen
- Vibration

What Isn't Working
- Everything else

Downloads

DOWNLOAD HERE

How To Install It
1. Be sure that the bootloader is unlocked and that you are on official firmware : 26.1.A.1.128 (Here is the ftf)!
2. Download the 3 files from the 6.0 release (e.g. "6.0-#1") the files you need are ( boot.img , system.img , userdata.img )
3. Download the Google SDK (fastboot, adb and etc)
4. Extract the zip in the same folder as the fastboot.exe (for example like this, C:/SDK/fastboot.exe | C:/SDK/system.img and etc)
5. Hold shift and right click somewhere in the folder (in an empty space)
6. Click open command prompt here...
7. Put the device in fastboot
8. Type "fastboot flash boot boot.img" and hit enter
9. Type "fastboot flash system system.img" and hit enter
10. Type "fastboot flash userdata userdata.img" and hit enter
11. Type "fastboot reboot" and hit enter
12. Enjoy it :D

If something went wrong...
Here is how to recover your phone

Thanks To
Google - For Android
@jeffreyvh - That's me :p
Sony - For the source of the kernel and for the device

XDA:DevDB Information
AOSP 6.0 - E2303, ROM for the Sony Xperia M4 Aqua

Contributors
jeffreyvh
Source Code: http://github.com/AOSPERIA

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked Bootloader, 26.1.A.1.128
Based On: AOSP

Version Information
Status: Testing

Created 2015-12-15
Last Updated 2015-12-16
 

Attachments

Last edited:

newsony

Senior Member
Nov 30, 2015
75
15
0
Really really thanks for the rom.
Will OTG work on this rom?
Thanks for your hard work as well.
:)
 
Last edited:

ardentis

Senior Member
Jan 4, 2015
564
167
0
Thanks for releasing the rom :). Would this rom possibly work on other firmwares and variants, and is adb force enabled? I'll test the rom when I get home in 3 hours
 

jeffreyvh

Senior Member
Jan 18, 2013
521
1,055
0
127.0.0.1
Thanks for releasing the rom :). Would this rom possibly work on other firmwares and variants, and is adb force enabled? I'll test the rom when I get home in 3 hours
It already boots, so force adb isn't needed anymore. And yes, I think it should work on other variants as well.

report it ;)

Btw, flashing it on an other model isn't really tricky, if it doesn't work you can just unbrick ;)
 

ardentis

Senior Member
Jan 4, 2015
564
167
0
It already boots, so force adb isn't needed anymore. And yes, I think it should work on other variants as well.

report it ;)

Btw, flashing it on an other model isn't really tricky, if it doesn't work you can just unbrick ;)
Flashing is not the problem, but force enabling adb would be nice if there are problems with setup or touch
 

ardentis

Senior Member
Jan 4, 2015
564
167
0
Okay here's my report.
1) WiFi appears to work fine
2) Sound does not work
3) Camera does not work and neither does the camera button
4) Rotation does not work
5) Browser fails to download anything so I cant install apps
6) There is no file manager
7) Everything looks fine so far
Good work! But another thing is that I didnt realize that installing this rom would wipe my data. That would have been nice to know

Now when I go to TWRP to flash a new zip or restore a backup, it says there is no OS installed.
It seems that this isnt an issue anymore but it was weird.
Nope nevermind. Everytime it tries to boot up, I see the same boot screen as I saw with your rom. This is just getting weirder and weirder...

I figured it out Im totally fine. Sorry if I scared anyone during this adventure.
 

Attachments

Last edited:
B

boho555

Guest


Features
- Pure AOSP (Stock Android, just like on the Nexus devices)
- No bloatware
- No extra features, just as clean as possible

What's Working
- Wi-Fi
- Boot
- Screen
- Vibration

What Isn't Working
- Everything else

Downloads

DOWNLOAD HERE

How To Install It
1. Be sure that the bootloader is unlocked and that you are on official firmware : 26.1.A.1.128 (Here is the ftf)!
2. Download the 3 files from the 6.0 release (e.g. "6.0-#1") the files you need are ( boot.img , system.img , userdata.img )
3. Download the Google SDK (fastboot, adb and etc)
4. Extract the zip in the same folder as the fastboot.exe (for example like this, C:/SDK/fastboot.exe | C:/SDK/system.img and etc)
5. Hold shift and right click somewhere in the folder (in an empty space)
6. Click open command prompt here...
7. Put the device in fastboot
8. Type "fastboot flash boot boot.img" and hit enter
9. Type "fastboot flash system system.img" and hit enter
10. Type "fastboot flash userdata userdata.img" and hit enter
11. Type "fastboot reboot" and hit enter
12. Enjoy it :D

Thanks To
Google - For Android
@jeffreyvh - That's me :p
Sony - For the source of the kernel and for the device

XDA:DevDB Information
AOSP 6.0 - E2303, ROM for the Sony Xperia M4 Aqua

Contributors
jeffreyvh
Source Code: http://github.com/AOSPERIA

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked Bootloader, 26.1.A.1.128
Based On: AOSP

Version Information
Status: Testing

Created 2015-12-15
Last Updated 2015-12-16
I like that someone is work on a Rom. Not many for this device.
 

RohitBopnna

Senior Member
Jun 6, 2014
145
57
0
I like that someone is work on a Rom. Not many for this device.
i tried on E2363 (26.1.B.2.129), it boots and then boot loops, it get to Android is starting, optimizing 1 of 64 and boot loops.
is it possible to create a 16Gb userdata.img (i think its 12213813248 bytes), just a request.
 

jeffreyvh

Senior Member
Jan 18, 2013
521
1,055
0
127.0.0.1
i tried on E2363 (26.1.B.2.129), it boots and then boot loops, it get to Android is starting, optimizing 1 of 64 and boot loops.
is it possible to create a 16Gb userdata.img (i think its 12213813248 bytes), just a request.
Hmm, probably the rom won't work on your model.
I can make a 16GB userdata, yeah.
But first let me fix the most bugs (Random reboots, Ril, Bluetooth)

After that I fixed those I will surely make a 16GB userdata.img ;)

A new build should be up in max. 3 hours.
I don't know if I fixed stuff, but I tried it :)

I will update the op(First post) once my tester tested it.
 
  • Like
Reactions: LFSPovo

dimusa

Senior Member
Sep 17, 2012
159
160
0
Sevilla
Okay here's my report.
1) WiFi appears to work fine
2) Sound does not work
3) Camera does not work and neither does the camera button
4) Rotation does not work
5) Browser fails to download anything so I cant install apps
6) There is no file manager
7) Everything looks fine so far
Good work! But another thing is that I didnt realize that installing this rom would wipe my data. That would have been nice to know

Now when I go to TWRP to flash a new zip or restore a backup, it says there is no OS installed.
It seems that this isnt an issue anymore but it was weird.
Nope nevermind. Everytime it tries to boot up, I see the same boot screen as I saw with your rom. This is just getting weirder and weirder...

I figured it out Im totally fine. Sorry if I scared anyone during this adventure.
The problem with the browser is caused by the permissions of Android 6.0
 
  • Like
Reactions: jeffreyvh

jeffreyvh

Senior Member
Jan 18, 2013
521
1,055
0
127.0.0.1
New build

The new build takes quite long, much longer then the previous ones.
But I am afraid that it's up within some hours (Max. 8, I think maybe next hour)

Anyone who wants to help testing,
Message me on Telegram : +31642056201
Message me on Hangouts : [email protected]
or Pm me (I don't like pm because you are not talking the way you do on the others)

Thanks for your support (y)
 

ardentis

Senior Member
Jan 4, 2015
564
167
0
Hmm, probably the rom won't work on your model.
I can make a 16GB userdata, yeah.
But first let me fix the most bugs (Random reboots, Ril, Bluetoot;):)
A 16gb userdata.img would be good for the 16gb devices. I'm not exactly sure but I think that the 8gb userdata.img limited my storage but unfortunately I can't fix it in TWRP. Diskinfo lists 16gb but Storage settings list only 8gb. Also do you mind if I text you over SMS and what timezone are you in?
 

Attachments

jeffreyvh

Senior Member
Jan 18, 2013
521
1,055
0
127.0.0.1
A 16gb userdata.img would be good for the 16gb devices. I'm not exactly sure but I think that the 8gb userdata.img limited my storage but unfortunately I can't fix it in TWRP. Diskinfo lists 16gb but Storage settings list only 8gb. Also do you mind if I text you over SMS and what timezone are you in?
I need to pay for sms, so I'd rather like to use whatsapp or telegram.
Ps, what theme are you using. I'm loving it :)