yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M2] galaxyfreak:
NEW BUILD!

BETA 2!

Bye CyanogenMod, welcome Lineage! Don't get scared when you see AOSP Android boot animation instead of CM's Cid :)

On the way to nightlies, we've completely restructured device trees, couple of cool things to mention are:

- WE'RE NO LONGER RECOVERY DEPENDANT!

Recovery hacks previously used for variant detection and new sensor revision are now done cleanly, so you can use any recovery you want now :)

- Bluetooth MAC address bug is now fixed.

From known bugs, all tethers (WiFi/USB/BT) are still broken, don't know why...

DOWNLOAD
[Sony Xperia M2] ARandomIndian:
Can we flash over current CM 14.1?

Thanks btw
[Sony Xperia M2] galaxyfreak:
Yes, you should be able to.
[Sony Xperia M2] ARandomIndian:
Really nice work fam

Could you explain how nighties would work please? Wouldn't the device need to be officially supported?

Also really nice first los build expected way more bugs
[Sony Xperia M2] iFlashed:
Daaaam!! Pretty cool!! Flashing right now?

Kernel source are same as before or they had changed?

Enviado desde mi Xperia M2 Aqua mediante Tapatalk
[Sony Xperia M2] Konstantinosj77:
Nightlies=Officially supported device.

Also, nightlies=SELinux enforcing

Right now kernel is the same...but will be changed before going into nightlies....
[Sony Xperia M2] Th3 Ant:
What about USB tethering?

Great work though :D

Sent from my Pixel
[Sony Xperia M2] MARIAN82:
no sim sony m2 dual
[Sony Xperia M2] ARandomIndian:
That's good increases the security and integrity of the roms, any ways people who really want it can mod or use the selinux mode changer
[Sony Xperia M2] galaxyfreak:
All tethers :/

Try redownloading please.
[Sony Xperia M2] MARIAN82:
I tried not work
[Sony Xperia M2] JackErskine:
I'm just getting a white screen on the setup wizard
[Sony Xperia M2] Lojzo_11:
I got "Can´t connect to camera" error on new build, D2303.

---

Okay, after restart camera seems to work but date and time reset.
[Sony Xperia M2] ekha24:
anybody try to install supersu after flash this rom? i get a bootloop after update supersu binary.

I tried twice before i asking to this thread. any solution to get supersu on this rom? or just use internal root service from this rom?

btw very nice rom. sorry for my bad english. :P
[Sony Xperia M2] Nitin69:
Tried installing on dual sim, sim not detected. Also tried with old recovery but same result.
[Sony Xperia M2] karlmorgan92:
You don't need to install SuperSU, just use the native root method, it works with no problem at all.
[Sony Xperia M2] ekha24:
Ty brother.. ?
[Sony Xperia M2] Boltxerker:
Amazing ROM, Thanks galaxyfreak and konstantinosj77 for the continued support of our device.

For Dual Sim users (D2302), add below line to build.prop to get both sims to be detected.

ro.telephony.ril.config=simactivation,simactivation

I haven't had the time to check switching between 3G and 2G and mobile data on both sims, can anyone confirm if switching between 3G and 2G and mobile data is working on both sims after adding the above line to build.prop.
[Sony Xperia M2] Nitin69:
OK added the line in build prop and did the magic.

Nice ROM good effort :good:.

Can't enter recovery from power menu.
[Sony Xperia M2] ARandomIndian:
I did a clean install, one thing I'm noticing is that apps when cached and reopened start from the start rather then resuming other then that though everything is good. (I'm talking about multitasking)
[Sony Xperia M2] tquin:
Guys Root not working :( tried to use titanium backup and couldnt. Could you please help?
[Sony Xperia M2] Benio9436:
Enable root in developer options or flash supersu via recovery
[Sony Xperia M2] rethinkk:
working flawlessly except tethering,good work bro :) -m2 aqua

Xperia M2 Aqua cihazımdan Tapatalk kullanılarak gönderildi
[Sony Xperia M2] MARIAN82:
Now running on dual sim
[Sony Xperia M2] tquin:
Thanks, just found developer options :)
[Sony Xperia M2] ARandomIndian:
In other news, if you'd like to remove root to pass SafetyNet's requirements, go to Device/system/xbin and remove "SU" and go to Device/system/bin and remove "SU" here too,

This will make Android Pay available and also make certain banking apps work EG: Standard Chartered, Barclay ect. And also games that use SafetyNet like Pokemon GO

This will also remove Root Apps but Root ADB will be available from Developer Options.

To root again simply reflash the OS on top of your current unrooted OS, or try to flash Chainfires SU
[Sony Xperia M2] Manolovini2000:
I can't record in 1080p, I am using Google camera...
[Sony Xperia M2] ska7en:
I try it and success for installing, but i have trouble, simcard not detect in my M2 Dual D2302, can someone help me? please :crying:

---------- Post added at 03:42 AM ---------- Previous post was at 03:36 AM ----------

i have trouble like you, sim card is not detect , i'm newbe can you help me to solve my Xperia M2 Dual please
[Sony Xperia M2] Boltxerker:
Add below line to your /system/build.prop

ro.telephony.ril.config=simactivation,simactivation
[Sony Xperia M2] eldrenemsr:
can I downgrade to beta 1 rom from this without factory reset? thanks
[Sony Xperia M2] Nitin69:
Error while opening link
[Sony Xperia M2] Th3 Ant:
One question - did you guys changed something regarding RAM/power management? I can't play music in background (with screen turned off) because apps are closing themselves. Also everything is opening again when moved to background - like there was no more free RAM. I flashed latest update on top of old - should I flash it clean?

Thanks
[Sony Xperia M2] FULLSHEETS:
I've flashed the BETA 1, and the result was unstable gameplay and i think more RAM consumption..

Is the BETA 2 solve it up?

Thanks.
[Sony Xperia M2] Lojzo_11:
I flashed clean but have same problem, very bad multitasking and same with Music.
[Sony Xperia M2] Konstantinosj77:
Yes,trees were rebased so we forgot to remove/add some things

Will be fixed (or at least try) in next update. :)
[Sony Xperia M2] tquin:
Every sound is very low, Cant barely hear notifications in noisy place... but the rest is amazing, loving it <3

Another doubt, what kernels can I use?
[Sony Xperia M2] galaxyfreak:
I think

ro.telephony.ril.config=simactivation

is enough, other one is unused. Can you confirm?
[Sony Xperia M2] Boltxerker:
Yeah looks like

ro.telephony.ril.config=simactivation

is enough, don't need to add the second simactivation.
[Sony Xperia M2] anayeem92:
Hello dev can you please tell me .... Which theme maneger supports in this rom? Like cm13/12 theme maneger.....

I used substratum but it not completly supports! and also give me bootloop...!

And one more....... Which version of xposed is support for this awesome rom...?

And thanks to you for your hard work.............:good:
[Sony Xperia M2] Th3 Ant:
There is no Xposed for 7.1 yet and none of the themes app is supported yet (AFAIK).

BTW: If anyone wants to use USB tethering, try using PDANet+ or similar app as temporary solution - it works for me :P
[Sony Xperia M2] marco2tiger8:
Any solution or recommendation for wifi tethering?
[Sony Xperia M2] Hellkid0:
First Of All... This is an awesome Rom..... Thank u guys.........But When i try to install facebook app or messenger app the device reboots..... idk what to do........ I Flashed the rom again but it didn't help...... and also most of the apps give fc after some time
[Sony Xperia M2] anayeem92:
when we get the next built of this rom?

This rom does not have ota update......
[Sony Xperia M2] Walkman8196:
Sorry for offtop ,somebody developers is porting miui .???

it would be great.
[Sony Xperia M2] Konstantinosj77:
Modern MIUI on a 1GB RAM device...A big nope from me!
[Sony Xperia M2] ARandomIndian:
[MENTION=4635923]galaxyfreak[/MENTION] [MENTION=4550509]Konstantinosj77[/MENTION] Are you sure wifi tethering is broken? I just tried it works fine, it's connecting zero problems, D2305.

Only major thing i probably added is Gapps stock, nothing much other then small tweaks.

I can upload proof later in the evening.

Just tried again, bluetooth tethering works too and so does USB (When connected to a cable of course)
[Sony Xperia M2] Hellkid0:
Will there be a new build ??? :laugh:.
[Sony Xperia M2] galaxyfreak:
That would be great but I have a screenshot from [MENTION=4550509]Konstantinosj77[/MENTION] that shows it fail.

There should be new one soon, we'll see.
[Sony Xperia M2] ARandomIndian:
[MENTION=4635923]galaxyfreak[/MENTION] [MENTION=4550509]Konstantinosj77[/MENTION]
[Sony Xperia M2] Otaku-San:
Yes it works but only if Mobile Data are Off. Once you Turn them

On it Shows Error.
[Sony Xperia M2] anayeem92:
On this rom every thing is fine...

But just one problem appears... I can't inter recovery....

.

.

How can i fix this? Can i install twrp recovery via fastboot again?
[Sony Xperia M2] iHusky:
You must flash recovery again, I don`t know why recovery will be removed when someone made a factory reset or install new ROM
[Sony Xperia M2] Konstantinosj77:
Seriously, I flash about 4 ROMs/day...my recovery is there every time....

I really think you are doing something wrong...
[Sony Xperia M2] anayeem92:
Aftar flash this rom, on 5th reboot recovery just disappear.
[Sony Xperia M2] Konstantinosj77:
I guess you are using updated bootloader...

Which recovery did you flash?

Tell me exactly the steps you followed..
[Sony Xperia M2] iFlashed:
4 Roms a day?! Lol!

Enviado desde mi Xperia M2 Aqua mediante Tapatalk
[Sony Xperia M2] anayeem92:
Twrp with custom kernel which is in the cm13 forum.....

I m trying to unlolock bootloader official way and flashtool way both it says bootloader is already rooted.... Then flash the twrp 3.0 and it succed. But can't enter recovery .... So i flash the multi recovery..... and download the flashfire from playstore.... And flah the kernel of cm13 rom using flash fire. And boot into recovery... But it booted on twrp 3.0..! Then flash about 4 roms all fine no problem. After flashed this rom it causes twrp disappeared....! :(

Sorry for my bad english...
[Sony Xperia M2] iHusky:
I don`t upgrade bootloader :(
[Sony Xperia M2] ARandomIndian:
If you don't unlock your bootloader you can't write to the recovery partition, use the official method or use Flashtools and unlock your bootloader.

If you've a locked bootloader and It's not possible, try this maybe? https://xdaforums.com/xperia-m2/development/d2303-philz-touch-recovery-6-t3047492 and flash LOS
[Sony Xperia M2] iHusky:
I have unlocked bootloader, but don`t upgraded via emma and I don`t know why I always loose recovery when I install ROM or make factory reset
[Sony Xperia M2] ismael030885:
The camera quality decrease on this rom how in cyanogenmod 13??
[Sony Xperia M2] ARandomIndian:
Here flash this https://www.androidfilehost.com/?fid=24352994023708089
[Sony Xperia M2] iHusky:
But I will be must flash recovery and ROM again?
[Sony Xperia M2] Konstantinosj77:
LOS can't be flash on locked bootloader!!

This is not a proper recovery image!! It's a ramdisk hack into the boot.img

If you flash another boot.img you lose recovery!

You must use the updated bootloader and flash recovery with fastboot.

If you dont know how to do that, look around other threads....there are many guides.
[Sony Xperia M2] iHusky:
What do you mean says ramdisk hack?
[Sony Xperia M2] Princerapopo4:
Compare by your self please
[Sony Xperia M2] Minaromaney:
Thanks for this awesome ROM but when I trying to install Facebook or messenger or any app more than 50 MB the mobile restart ..why?
[Sony Xperia M2] MARIAN82:
me to i have the same problem phone restart
[Sony Xperia M2] marco2tiger8:
There are threads about unlocking bootloader, upgrading bootloader, etc. I suggest you to read some more to understand things.

Edit: maybe I don't get your problem. So, your phone is already unlocked and updated the bootloader? If you don't, then you should update it (there is thread about it, I recommend the ftf way), because old bootloader doesn't has recovery partition. And if I'm not wrong, boot.img is the ramdisk, so the ramdisk hack means that the twrp is inside the ramdisk instead having its own partition.That is why you lose twrp if the boot.img doesn't has twrp.
[Sony Xperia M2] iHusky:
But when I flash this, I will be must install recovery and CM again?
[Sony Xperia M2] Hellkid0:
I just re- flashed the rom... then firstly i installed FB app n messenger app..... then everything installed perfectly...... i think the problem is when the device gets overheated it restarts when it is in heavy load.....
[Sony Xperia M2] galaxyfreak:
Rebulit boot.img with few derps fixed.

Hopefully will fix lag & reboots.

http://www119.zippyshare.com/v/T2rmQvP6/file.html
[Sony Xperia M2] iFlashed:
Thanks for your work! Also I have never had a random reboot maybe a bit laggy [emoji14]

So there are new kernel sources now?

Enviado desde mi Xperia M2 Aqua mediante Tapatalk
[Sony Xperia M2] ARandomIndian:
Thanks It's snappy now :good:
[Sony Xperia M2] gairola.gg@gmail.com:
Plz help me dual sim ds Is not working for me.

I try ur recovery from link.I try to edit built.prop.but this method is not working.Give me its patch......

THX...... For ur this Greatest Rom...

PLZ HELP ME.
[Sony Xperia M2] Hellkid0:
Which file explorer are you using ??? use ES File Explorer... It's easy to use....
[Sony Xperia M2] tquin:
Guys Anyone from Brazil to help?

My carries charges me per day (Tim) and it's charging me for mobile data usage but phone isnt connecting anything. For e.g. today

At 1:22 Am 0,000 MB

At 1:24 0,01 MB

At 07:17 0,01 MB

Turned off data, turned on Data Saver, Turned Off GPS Battery saving. What else can I turn on so it doesnt try to connect?
[Sony Xperia M2] ARandomIndian:
First install a network monitor so we can diagnose where the data consumption happens please,

Really weird for a carrier charging per day, meanwhile I've been using free 4G from Reliance Jio for the last 3 months and It's going to be free till June i think.
[Sony Xperia M2] boyrock:
Hi, i'm from Brazil (Votorantim/SP) too and i has had the same problem, with the carrier Vivo (the worst , but with better signal).

As you, i was charged per day, and i realize that changing the network mode from 4G to 3G, (just when i don't using, for example in home) the connection is not charged. Since i've do this way, i'm not have more charges wrongly.
[Sony Xperia M2] 3rr0r-3y3-(KuTtY):
How to Dual Sim patch in Beta 2 ??
[Sony Xperia M2] tquin:
Where are you from? Here in Brazil it's terrible! we pay very expensive fee for a not so good job :crying: Just installed data monitor, going to check this, thanks for the tip :good:

I've tried this and didn't work :sad:
[Sony Xperia M2] Nitin69:
In ES FILE Explorer open build prop and add below line

ro.telephony.ril.config=simactivation

Once done with reboot the device and enjoy
[Sony Xperia M2] 3rr0r-3y3-(KuTtY):
Tq itz working .................:good::good::good:
[Sony Xperia M2] gairola.gg@gmail.com:
Ur all built are great.Please make OxygenOS 3.5 ROM.this is good rom. Thx.........
[Sony Xperia M2] iHusky:
Can someone tell me, which If I`m on CM 13 I will can upgrade my bootloader?
[Sony Xperia M2] ARandomIndian:
India but any ways since you have root it will be simple to restrict access, please post the details so we can restrict that certain process.
[Sony Xperia M2] f2065:
+1

D2403.

Tetering only works if turn off mobile data. But without mobile data - it is not needed!

If the first switch on tetering, connect the notebook, and then turn on mobile data - the tetering not work.
[Sony Xperia M2] jobinrjohnson:
It seems like zram is not enabled in this build which causes low memory issues and lags even after flashing the new kernel.

FIX

Just download kernel toolkit from the store (or any other like kernel auditor) and under the IO settings change the zram or swap size to a bigger number (i used 480). also set to apply this configuration on boot.

this is working fine for me.
[Sony Xperia M2] Otaku-San:
Installed it now.

It runs very smooth also with the Aroma Gapps Package installed (Aroma Gapps zip File has about 900MB :eek: ) and also after installing about 25+ Apps it's still very fast without any lag. :D:good:
[Sony Xperia M2] iFlashed:
For me is working better than Omni
[Sony Xperia M2] mantazzo:
Should I flash thos over CM13? (More like I'd like a changelog between versions. Is it worth updating already or should I wait a bit more...)
[Sony Xperia M2] leho6694:
Live display not working,can't change performance profile in battery settings
[Sony Xperia M2] LilBlinx:
Definitely there is something going on with different Xperia M2 models/revisions. I have 2 M2's, same D2303, one is lagging the other is not.
[Sony Xperia M2] Raphsodyz:
Sweet and smooth, nice rom!
[Sony Xperia M2] Nitin69:
Man just got up in India, downloading now. Will report once installed. Thanks galaxyfreak and kjj for all your hard work also let me apologize to you both for pestering you for getting 7 on the DS varient.
[Sony Xperia M2] xavinux:
Have just flashed the CyanogenMod 14.1 with Gapps on my M2 D2303 Eagle single sim without any problem.

Was running OmniROM 7.1 before flashing this one. Everything works wonderful !
[Sony Xperia M2] buzzywaw:
Run smooth on D2305 single sim

no more slow charging issue. :laugh:

Trouble when installing apk from file manager(outside the google play)

Even I've activated the root access and unknown sources on the setting
[Sony Xperia M2] Raphsodyz:
In my d2403 the camera button dont open the camera lol
[Sony Xperia M2] jobinrjohnson:
There are some issues with the DS variants (In my case). Only one sim card is detected and both the RIL showing the properties of same slot and also it is taking more time for sim activation.

but when i replaced

rild.libargs=-d
/dev/smd0

with

rild.libargs=-d[SPACE]/dev/smd0

in system/build.prop

and removed

ro.telephony.sim.count=2

in system/vendor/build.prop

the problem has been fixed

The ROM was awesome with less lags and working perfectly.

there is no ambient display and live display not working.
[Sony Xperia M2] Lojzo_11:
Everything seems to work except WiFi hotspot, even without password my fridend cannot connect
[Sony Xperia M2] vijaykmr:
D2302

I tried the Rom, but it didn't detect any SIM.

I tried flashing two times.

And when I tried to access the SD card and open build.prop, I got following errors respectively -

(I activated root and granted full access to file manager)
[Sony Xperia M2] jobinrjohnson:
For me it is detecting sim card(took up to 5 minutes) but both showing the same. I am getting similar error on cm file manager. I used mixplorer.
[Sony Xperia M2] vijaykmr:
Ok, then I'll flash again and report.

Thanks
[Sony Xperia M2] galaxyfreak:
Doesnt make much sense, other guys reported its working ok.

SIM count prop is useless, will remove

RIL args isnt DS-specific prop, how it works for everyone else? But okay, will apply that change.

Will look into it.

Will look into it.
[Sony Xperia M2] MARIAN82:
Same issues to me i have one sim insert and show slot 1 slot 2 same sim
[Sony Xperia M2] jobinrjohnson:
Did anybody tried viper4audio with this. I think it supports only up to 6.0 officially.
[Sony Xperia M2] karlmorgan92:
I tried the asure mod sound and it works perfectly.
[Sony Xperia M2] vijaykmr:
[MENTION=4635923]galaxyfreak[/MENTION] [MENTION=7309485]jobinrjohnson[/MENTION]

One Sim recognised after waiting sometime. Then by making those changes, both sims are working fine now.
[Sony Xperia M2] galaxyfreak:
Enabling ZRAM is exactly what I did with new kernel
[Sony Xperia M2] iHusky:
Can anybody anserw for my question?
[Sony Xperia M2] jobinrjohnson:
But not working [for me]. I'm getting 0 swap on running "free -m"
[Sony Xperia M2] ARandomIndian:
No you just need to flash the updated bootloader once. Unless of course you flashed the stock ftf again i believe.

You might want to clean flash though, dirty flash might cause problems.

Regardless if you dirty flash wipe ART/Dalvik and cache prior to flashing LOS
[Sony Xperia M2] iHusky:
It`s funny I want flash CM 14.1 but I have problem it will show message error 7 that CM 14.1 it`s for eagle device and I have D2303 and I can`t install this ROM

It`s very strange because I can install OmniROM and CM 13.1 without any problem.

WTF O_O
[Sony Xperia M2] f2065:
Not updated bootloader and (or) the old version of TWRP ?
[Sony Xperia M2] iHusky:
Bootloader is updated, and I have a 3.0.3 version twrp.
[Sony Xperia M2] tquin:
Everytime you flash the stock rom, you have to upload the bootloader again.

When I flash a new rom, I follow these steps:

1. Backup all your data

2. Flash stock rom

3. Flash bootloader update

4. Flash Recovery

5. Flash new Rom

6. Flash gapps and other flashable apps
[Sony Xperia M2] iHusky:
I know this ;)
[Sony Xperia M2] Nitin69:
Hi I have tried to search ambient display but I could not find in settings, is it working if yes can anyone guide me.
[Sony Xperia M2] tquin:
Try using the TWRP from this post. It's written in Omni Rom post that TWRP 3.03 is not working with Lineage

-With new TWRP I can't flash LineageOS

-Fstab was updated,this change will be included in next LineageOS update
[Sony Xperia M2] luigioctaviano:
Should I flash this?

Or just replace the old boot.img with this via root explorer or replace the old in the zip with this one?
[Sony Xperia M2] Hellkid0:
Flash it with adb
[Sony Xperia M2] luigioctaviano:
Will this remove my saved apps? or not? Last question.
[Sony Xperia M2] Hellkid0:
No bro.... Just open adb and type fastboot flash boot (the file name.img) without brackets...:)
[Sony Xperia M2] luigioctaviano:
Thanks men!
[Sony Xperia M2] jerry89:
d2303's wifi does not work in this and omnirom. (MAC 02:00:00:00:00:00)

(seems this is true for all custom roms, there may be some hardware differences)
[Sony Xperia M2] JackErskine:
When the power button is held, the camera opens. Is there any way to turn this off? It's really annoying me.
[Sony Xperia M2] 3rr0r-3y3-(KuTtY):
go setting >> Buttons >> Power button >> off cam :good::good::good::good:
[Sony Xperia M2] Salvatore_kler:
Sim problem

Hey. I'm getting No Sim problem...please help me ...I don't know what to do although sims are already inserted in..the ROM is fails to detect them
[Sony Xperia M2] Nitin69:
You have to add following line in build.prop and start your device.

ro.telephony.ril.config=simactivation
[Sony Xperia M2] Salvatore_kler:
Thank you...It worked?:fingers-crossed:
[Sony Xperia M2] Umesh1041:
Any new builds coming?
[Sony Xperia M2] ricramires:
Bugs

Boa Tarde!

Percebi que as notificações na tela de bloqueio não estão funcionando no meu xperia m2 aqua D2403, as mensagens chegam mas não acende a tela , está com lentidão ao abrir os aplicativos e fica aparecendo uma mensagem pedindo para fechar os apps.
[Sony Xperia M2] xazakasrizava:
So I flashed this ROM today and all is well. It's quite stable but RAM usage is quite high. But I have no doubt that this ROM will achieve stability as great as CM13 Keep up the good work guys!!
[Sony Xperia M2] mrllokman:
I have locked boatloader but i have rooted my phone and installed twrp recovery. Can i install this rom or not ?
[Sony Xperia M2] karlmorgan92:
No man, you can't, it is only for unlocked bootloader, there are a lot of post saying that.

Another thing, any news about nightlies?
[Sony Xperia M2] jerry89:
but with the built sony aosp 6.0 it has wifi and bluetooth working.
[Sony Xperia M2] Salvatore_kler:
USB Connectivity

Any way to select 'USB mass Storage' option on connection on pc or laptop :confused:
[Sony Xperia M2] xazakasrizava:
All tethers are broken that means you can't transfer data between your PC and phone. I tried t

It this morning.
[Sony Xperia M2] galaxyfreak:
What? No. File transfer has nothing to do with tethers.

USB Mass Storage has been killed back in 4.4 in favor of MTP.
[Sony Xperia M2] jerry89:
del...
[Sony Xperia M2] Salvatore_kler:
So that means no mass storage?