• 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

Omnirom 5.1.1 unofficial

erikcas

Inactive Recognized Developer
May 16, 2008
2,797
5,925
0
Castricum
android.cas-online.nl
So finally here it is, omnirom 5.1.1 for M2.

Changelog:
General:
M2 specific:

Kernelsources for this rom you will find here

Installation:
In order to install one of my custom roms on your Sony Xperia, YOU MUST UNLOCK & UPDATE YOUR BOOTLOADER!
I wrote a little howto for installing, you will find it on this page of my website.

Known bugs:
  • camera
  • pink/green overlay on videoplayback
I labeled the rom as stable, even with the two bugs above. Imo these are value added services, phone is functioning rocksolid.

Known issues
There is an issue with a series of D230X / D240X devices with use different accelerometer and magnetometer then the device I have, and the FXP devs have. This issue is that the device bootloops. It is probably caused by the sensorhal which is provided by sony, i.e. we donot compile it from source.
There is a way to boot it, but you will have no sensors working (magno/accelero/proximity/light). This is relatively simple: Open up the zip (on win I advise 7zip), remove sensors.msm8226.so from system/vendor/lib/hw in the zip, and close the zip (click yes if prompted to save changes).
This issues kept me wake for weeks, but is yet not solved. You can read some more background info here

Awaiting all your feedback here. As I opted for D2303 to have official omni status, usefull input is important. But... Please donot report bugs without relevant logs and steps-to-reproduce. I will not look into that if I cannot reproduce it myself, if you report comes without a log

And at the end of this long story, we should not to forget to type a download link

>>>> DOWNLOAD HERE <<<<

Enjoy

Thanx are well in place for:
omnirom dev team
fxp dev team (especially to @kholk for simplifying things and @jerpelea for opening these opportunities for sony devices
@galaxyfreak
@Th3Ant (testing sensors over and over again)
my wife (there is allways enough coffee around here!)
And many I probably forgot but hey, this list is editable

XDA:DevDB Information
Omnirom 5.1.1 unofficial , ROM for the Sony Xperia M2

Contributors
erikcas
Source Code: https://github.com/erikcas?tab=repositories

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: OmniRom

Version Information
Status: Stable
Current Stable Version: pre official
Stable Release Date: 2015-08-30

Created 2015-08-31
Last Updated 2015-10-06
 
Last edited:

andres_vlc

Senior Member
Sep 27, 2014
170
24
0
Carlet-Valencia
preparing files for installation .
Thank you

the proximity sensor does not work for me.
vodafone call . 123
black screen and hang up is impossible

Installation according eric website
Updated bootloader .
back to the backup
 
Last edited:

linuxct

Recognized Contributor & Social Contributor
Aug 10, 2012
2,072
5,919
113
Sheffield
Last edited:
  • Like
Reactions: mariosenta

erikcas

Inactive Recognized Developer
May 16, 2008
2,797
5,925
0
Castricum
android.cas-online.nl
preparing files for installation .
Thank you

the proximity sensor does not work for me.
vodafone call . 123
black screen and hang up is impossible

Installation according eric website
Updated bootloader .
back to the backup
Proximitymeter fine here. Can you post a logcat and a dmesg like requested in OP next time before you revert? I cannot solve what I cannot reproduce.
I just reported a proximitymeter problem for Z1C to jerpelea this morning with this problem.
But on my M2 all is fine
 

linuxct

Recognized Contributor & Social Contributor
Aug 10, 2012
2,072
5,919
113
Sheffield
preparing files for installation .
Thank you

the proximity sensor does not work for me.
vodafone call . 123
black screen and hang up is impossible

Installation according eric website
Updated bootloader .
back to the backup
Working like a charm on mine. I'll ping you on whatsapp. Wait.
 
  • Like
Reactions: mariosenta

andres_vlc

Senior Member
Sep 27, 2014
170
24
0
Carlet-Valencia
Proximitymeter fine here. Can you post a logcat and a dmesg like requested in OP next time before you revert? I cannot solve what I cannot reproduce.
I just reported a proximitymeter problem for Z1C to jerpelea this morning with this problem.
But on my M2 all is fine
I return later to install and you step logcat
Thank you!
 
  • Like
Reactions: erikcas

Gaurav007

Senior Member
May 14, 2013
390
368
0
Proximitymeter fine here. Can you post a logcat and a dmesg like requested in OP next time before you revert? I cannot solve what I cannot reproduce.
I just reported a proximitymeter problem for Z1C to jerpelea this morning with this problem.
But on my M2 all is fine
Can I test this on D2302?
 

erikcas

Inactive Recognized Developer
May 16, 2008
2,797
5,925
0
Castricum
android.cas-online.nl
Not without sensors lib [emoji14]
there.... I knew it :p
Just sent you boot.img

Anyway, I think I made a typo in a configfile. So I will recompile again later.
On autobrightness it is working flawless, on non-autobrightness min and max are 180 and 255 atm
I think I need to lower 180 to some 10 (stock value)