yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M2] xLobito:
It's alpha so, no. The camera isn't fixed yet. Everything is done, but the camera and sensors from it aren't. When that is done (and I don't think that's gonna be so soon), it'll be a Full ROM.
[Sony Xperia M2] dantchk:
Alpha 4 xperia m2 D2306

[MENTION=4635923]galaxyfreak[/MENTION]

one error is view in the percentage of the battery, 1/4 hour in 1%.

is not the smartphone, with another rom gives me normal. i did the test
[Sony Xperia M2] ceciladams85:
Concerning Xperia M2 Dual

what about xperia m2 dual? If it doesn't support two SIM cards then it's okay because I use only one. Please tell me if it works or not..... :crying:

Sorry if my question is annoying but it's seriously bugging me. And THANKS FOR YOUR WORK
[Sony Xperia M2] vusun123:
It is clearly his intention to focus on the LTE variant first. Then he will consider supporting other variant later
[Sony Xperia M2] Supercharlie25:
Yes, its true
[Sony Xperia M2] dantchk:
i forgot to say

I turn off the phone, and the date is damaged did reset.
[Sony Xperia M2] Lojzo_11:
Is the rom fast or slow? .. And is rom have any reboots or anything similarly problem ?
[Sony Xperia M2] pawcioo132:
For me alpha 4 isnt workin, it dont want even boot, just vibration and red led blink once
[Sony Xperia M2] proadi96:
Search before u post lel
[Sony Xperia M2] ceciladams85:
Aw man.... thanks anyways

---------- Post added at 07:00 PM ---------- Previous post was at 06:58 PM ----------

Aww man... thanks anyways
[Sony Xperia M2] pawcioo132:
Alpha 4 build have root already ?
[Sony Xperia M2] vusun123:
CM is pre-rooted
[Sony Xperia M2] galaxyfreak:
yes, but you have to enable it manually from developer options.
[Sony Xperia M2] Lojzo_11:
So i installed alpha4 .. Good speed but some bugs, and [MENTION=4635923]galaxyfreak[/MENTION] i can watch youtube videos only in 360p, not 480p .. Why? Is any solution for this problem? :rolleyes:
[Sony Xperia M2] DanielFlorin:
Install app settings module and Xposed and set this settings from screenshot :)

Screenshot Settings!

Now you have 720p on Youtube ;)
[Sony Xperia M2] Lojzo_11:
Link please..
[Sony Xperia M2] DanielFlorin:
App settings = > http://repo.xposed.info/module/de.robv.android.xposed.mods.appsettings

Xposed = > http://repo.xposed.info/module/de.robv.android.xposed.installer

Install Xposed, open and install framework, reboot. Install app settings, activate module in Xposed , reboot and enjoy :)
[Sony Xperia M2] ^^Robi:
ART cant run xposed framework if am right...
[Sony Xperia M2] Lojzo_11:
But my Android or processor isn´t compable with Xposed. [MENTION=5524051]DanielFlorin[/MENTION]
[Sony Xperia M2] Lidane:
hi, i have a locked bootloader but my device (d2303) are rooted and it have cwm recovery.

i can instal this rom?
[Sony Xperia M2] ^^Robi:
Like i said ART runtime doesnt support xposed... Xposed runs on dalvik only. Lollipops default compiler is art...
[Sony Xperia M2] dantchk:
D2306 Alpha 4

not leave install or copy applications on sd card

View attachment 3146604

View attachment 3146605

View attachment 3146606

View attachment 3146607
[Sony Xperia M2] Lojzo_11:
Any info or date about new build [MENTION=4635923]galaxyfreak[/MENTION]? :cool:
[Sony Xperia M2] lozohcum:
have you ever heard about "no ETA"?

People... for God's sake stop spamming
[Sony Xperia M2] Gaurav007:
Only D2303 or Other models also?
[Sony Xperia M2] linuxct:
Soooooooo, can we install this OVER alpha 4 from Galaxyfreak? :good:
[Sony Xperia M2] linuxct:
Better not try. Keeps in a blank dark screen after the Cid logo in the bootanimation. :crying:

At least I made a backup before :victory:
[Sony Xperia M2] linuxct:
I left the phone some minutes, just like I did when installing the Alpha 4... But after 15 minutes I turned it off and tried again. And nothing. The phone was getting warmer, so I decided to go back to my backup lol
[Sony Xperia M2] linuxct:
Right now, I'm giving it a second chance... BTW tomorrow afternoon I have an exam, so after this last try, I'll left this until Thursday, haha

---------- Post added at 06:23 PM ---------- Previous post was at 06:22 PM ----------

Ok, this will sound weird but IT HAS BOOTED lol

So it's not necesary to install from scratch!
[Sony Xperia M2] linuxct:
No graphic glitch or whatsoever. Perfectly working! Good work! :good:
[Sony Xperia M2] galaxyfreak:
Thought to release new build then go work on camera. Now as somebody already did it, I'll try to fix camera somehow.... Don't ask anything. :P
[Sony Xperia M2] Konstantinosj77:
Any idea on D2403 Screen? Its working with omni kernel....
[Sony Xperia M2] ismithx:
I'd like to help, but i cannot do it on my phone as it is my daily driver. is it possible to get a dualboot system working for the M2? or possibly we could communicate and i could help you debug etc.
[Sony Xperia M2] Lojzo_11:
Yes! vinniciusx´s build is working! And i was installed them from Alpha 4 .. great work [MENTION=5061635]vinniciusx[/MENTION] :D
[Sony Xperia M2] Konstantinosj77:
According to white paper released by Sony

1,2) YES

3)I found the code name from xperifirm and yes is seahawk

The only difference between them is some LTE bands

Output of the command on stock is

hwid=5 projectid=2 multisim=0 bandid=0 customer=1
[Sony Xperia M2] galaxyfreak:
Thanks!

Now, I need someone with D2406 to give me his output of the command. You know any to mention them?

I assume the difference is gonna be the "bandid= 0" -> "bandid=1"
[Sony Xperia M2] Konstantinosj77:
Nope sorry...:/ Well i guess that too,its clearly the only difference in white papers plus if you check xperifirm all firmwares are for American devices..
[Sony Xperia M2] galaxyfreak:
And difference between D2303 and D2306 is also like that in bandid, so I'll put it.
[Sony Xperia M2] deivisdavid:
Good afternoon.

Did this rom works on the D2305 model?
[Sony Xperia M2] ^EVILL^:
Everythink works OK, One thing What You need to do is find a Gapps For Lollipop in Google, and flash it from CWM in the same session when You flashing ROM.:laugh:
[Sony Xperia M2] Puneetsaini:
bootloader

how to unlock the bootloader of M2 dual???

can its is? unlocked or not?

i have unlock the M2 dual bootloader of 1st IMEI number mt 1 sim slot cnt be detected by phone :( any body help me to relock the bootloader??????
[Sony Xperia M2] towg2000:
Is there anyone I can PM to make an enquiry about unlocking my bootloader? I have a specific question and I dont want to spoil this thread.
[Sony Xperia M2] umeshxda:
Ask your queries here

http://xdaforums.com/showthread.php?t=2971767
[Sony Xperia M2] linuxct:
Take into account that using this GAPPS will reduce the performance, and increase the LAG. If you want to have a less laggy, but with gapps rom, install this ones instead: https://s.basketbuild.com/devs/TKruzze/Android%205.0%20GApps/Micro-Modular%20GApps/ (BETA).
[Sony Xperia M2] Supercharlie25:
Thank you, i´ll test them :).
[Sony Xperia M2] linuxct:
Logcats for data disconnections

Here you have alba46d's logcat. http://pastebin.com/4k9hMi5m. The original file is also in the attachments.

Hope you can see the error... Also, the 3G APN is correctly configured, so that's not actually the problem :confused:
[Sony Xperia M2] :
Guys, bad news...After installing this rom, Setup WIzard has stopped.
[Sony Xperia M2] linuxct:
That happens mainly when you install incorrect GAPPS, e.g. Kitkat gapps.. Look some post ago, I posted some lollipop gapps, download and flash the PA ones and test if setupwizard works now :)
[Sony Xperia M2] :
Aha, currently i'm downloading lollipop gapps, and i'll see results...
[Sony Xperia M2] Supercharlie25:
Gracias Linux!! ¡Ahora funciona de puta madre!/ Thanks Linux, now it works great!!
[Sony Xperia M2] Natan Mac:
Optimization Needed!

Hello atm i am using CM 12 as my daily driver i love this rom and good job but the rom needs optimization atm flowing through multitasking and basic flowing in the system gets smiple slowdowns good job but in alpha 2 plz focuse on optimization

Thanks

Natan. M
[Sony Xperia M2] zodex:
I built AOSPA 5.0 from android-legacy sources and it stay on Sony logo. Can you update source on github?
[Sony Xperia M2] galaxyfreak:
I'm aware of this, but my priority is first to iron out the bugs.
[Sony Xperia M2] :
Lolipop rom is laggy man...
[Sony Xperia M2] Supercharlie25:
Tested and works properly. I love the bootanimation! :highfive::highfive::highfive::highfive: But the only disturbing bug apart from camera is video playback, which still doesn´t work. (Youtube works, but, for example, not Vine).
[Sony Xperia M2] Raphale:
Error after installation

I try to install the alpha version 4 on a D2306, but after installation, was left with a black screen and not returned to start, need to reinstall the original firmware, can anyone describe me the appropriate steps for the installation, I have the phone unlocked. sorry google translation.

____ESPAÑOL

yo Intente instalar la versión alpha 4 en un D2306, pero posteriormente de la instalacion, se quedo con la pantalla negra y no volvio a iniciar, necesite reinstalar el firmware original, pueden describirme los pasos adecuados para la instalacion, tengo el telefono desbloqueado. lo siento google traduccion.
[Sony Xperia M2] Elygor77:
Is it possible to flash the latest version (12-20150202-UNOFFICIAL-eagle) over the last one (12-20150126-UNOFFICIAL-eagle) without issues?
[Sony Xperia M2] linuxct:
Yeah, I got that working. Just charge your battery, flash the zip without any wipes, reboot and leave the phone for 15-20 minutes (it depends on how many apps you have installed). After that you'll see the lockscreen without any issue :victory:
[Sony Xperia M2] qurtisalive:
I'm using d2305. Is it ok if I install it on my device? And what's the difference between installing Gapps and not installing Gapps? Would it affect my device?
[Sony Xperia M2] Elygor77:
If you want to use the Playstore for example you have to install gapps.
[Sony Xperia M2] vusun123:
You clearly didn't look at the title
[Sony Xperia M2] qurtisalive:
Is it possible if I flash it?
[Sony Xperia M2] vusun123:
Could boot but no RIL, or worse, black screen and vibrate
[Sony Xperia M2] loloardex:
could someone make a video for me on how to enter in fast boot mode and how to install the ROM because i am a beginner and dont want do brake my phone. Thank you.
[Sony Xperia M2] xLobito:
No RIL is the most possible assumption xD. 'Cause the processor is a little bit different. Other things are the same. So, the RIL, which is something very important in a smartphone, won't work if anyone flash it into a 05 model device.
[Sony Xperia M2] galaxyfreak:
No I won't. You have to take risks :) Ones like you are usually ones who expect stock-like stable custom ROM.
[Sony Xperia M2] RatchetHacked:
Probably camera will be fully functional till summer. idk really why
[Sony Xperia M2] Konstantinosj77:
[MENTION=4635923]galaxyfreak[/MENTION]

I think i found what's wrong with D2403 Screen...

Screen was working fine with [MENTION=985241]erikcas[/MENTION] kernel in every LP rom i used so i was sure that was a kernel problem

I compared his source ( https://github.com/android-legacy/android_kernel_caf_msm8x26/tree/al-5.0 ) with sony sources

Panel drivers (innolux_qhd and truly_qhd) was 99% the same but unified,no problem here

I checked msm8226-yukon_eagle-720p-mtp.dtsi and i found something strange

In sony sources there is

&mdss_dsi0 {
qcom,dsi-pref-prim-pan = <&dsi_innolux_qhd_vid>;

But in erikcas

&mdss_dsi0 {
qcom,dsi-pref-prim-pan1 = <&dsi_innolux_qhd_vid>;
qcom,dsi-pref-prim-pan2 = <&dsi_truly_qhd_vid>;

I checked my panel type using "dmesg|grep -i panel" and found that i have a truly_qhd

Sadly i can't compile the kernel to test...
[Sony Xperia M2] galaxyfreak:
Nice, do you know how to pack/boot zImage? I'm lazy to pack one :P
[Sony Xperia M2] Konstantinosj77:
I know but i have a compile error.... I'll try again later... :P
[Sony Xperia M2] galaxyfreak:
It's not exactly only dts, I'll port it and give you the zImage, can you pack it yourself?
[Sony Xperia M2] Konstantinosj77:
Sure i can...Thanks...

What else is different?
[Sony Xperia M2] gustavo4520:
Camera works now?
[Sony Xperia M2] Konstantinosj77:
No
[Sony Xperia M2] loloardex:
sorry [MENTION=4635923]galaxyfreak[/MENTION] but im only a beginner :) but where do i have to Type in 'fastboot flash boot boot-recovery.img'? in the flastool or in the terminal?
[Sony Xperia M2] ^^Robi:
ADB cmd... google how to adb :D

open cmd and

cd "locate abd/fastboot folder"

fastboot flash boot boot.img

fastboot restart
[Sony Xperia M2] quake73:
Short illustrated tutorial :)
[Sony Xperia M2] erikcas:
my tree that you are comparing is based on 3.5.1 kerneltree from sonyxperiadev and not on the 3.5.2.2 so you are comparing two different trees.

Besides that, it should not give problems
[Sony Xperia M2] vusun123:
I see you are back in the game. Big thumbs up
[Sony Xperia M2] digiscales:
My Xperia GO just died thinking of buying M2

However i see camera is not supported sony has realeased asop source code for lots of devices

http://developer.sonymobile.com/knowledge-base/open-source/open-devices/latest-updates/

Will buy when im happy there will be custom roms with camera support is this article any help or not? shall i wait or take leap

Need waterproof phone ive found from past soggy mistakes
[Sony Xperia M2] Elygor77:
Navigation apps (TomTom in my case) are not working :(

After I start navigation the app crashes.
[Sony Xperia M2] ^^Robi:
Thats because GPS is not working... I can get location only over internet services...
[Sony Xperia M2] loloardex:
thank you very much! but the problem is that i am on a lac and not on a pc... :( can you still help me?
[Sony Xperia M2] erikcas:
what is a lac? And I read you want to flash recovery.img

Why would you want to flash recovery.img?
[Sony Xperia M2] linuxct:
I think he tried to say that he is using Mac OSX. This might be useful for you: http://htc-one.wonderhowto.com/how-to/install-adb-fastboot-mac-os-x-send-commands-your-htc-one-0151178/ :)
[Sony Xperia M2] Bryandu13:
I try to install alpha 4 form 4.3, 4.4.2, 4.4.4 and from alpha 2 but when i flash the rom in CWM they say me my phone is D2305 and i have to flash this with D2303

BUT MY PHONE IS THE D2303 !

Anyone have a solution ?
[Sony Xperia M2] loloardex:
please come on i've been looking for days now and i still d'ont understand who do flash this ROM and i would love to have this ROM on my phone so could someone be nice and make a video? :confused: :o
[Sony Xperia M2] galaxyfreak:
Sure I could take camera and spend 30 minutes explaining what you need to do from stock, to flashing this, but there are other references for that, just google it.

Threads in "(Original) Android Development" are "final step", and we assume you already have some knowledge about how stuff works before coming here.

In alpha 4 post there's 15 step tutorial. Only thing to do before is unlock the bootloader, there's an official method for that on Sony's site. If instructions on alpha 4 post are not clear enough, please do some research on prerequisites of flashing custom ROMs. Thank you.
[Sony Xperia M2] ceciladams85:
Seriously?!

You know, if you just gte angry and don't answer the question I will just ask again.... :D
[Sony Xperia M2] galaxyfreak:
[MENTION=985241]erikcas[/MENTION]

New build is ready...almost. Deepsleep seem to have an issue, draining 50% overnight.

Nothing from userspace holds a wakelock but kernel is...

adb shell getevent

And we should really fix that thermanager, batterystats report "overheat", even if doing nothing.

Erik, any tips?
[Sony Xperia M2] erikcas:
Find out why it does not suspend.

Will join on that later this week
[Sony Xperia M2] Supercharlie25:
Cheer up!!
[Sony Xperia M2] galaxyfreak:
Batterystats give details on userspace, but not kernel.

BTW, some good news, in next blob update, eagle will get new sensor blob, so it'll work w/ current stk3x1x kernel driver.
[Sony Xperia M2] erikcas:
I know. I was the one who found out we needed a new sensor lib :)
[Sony Xperia M2] galaxyfreak:
J didn't know it himself? :Again nobody cares about msm8226...?
[Sony Xperia M2] Bryandu13:
How install this ROM ?

Beacause when i am in the recovery and i flash the ROM they say me "this device is D2305, this ROM is for D2303 only" but my device is D2303, the problem come from my device ?

What i have to do ?
[Sony Xperia M2] linuxct:
First you need a shotgun.

Place your M2 in the floor carefully and then shot at it for 3 times. After that you'll have a fully working Cm12 rom. :victory:

Come on guys!! Galaxyfreak made a 15 step post some pages ago, and he explained we needed to use a specific CWM recovery so that it detected our device as the D2303!!
[Sony Xperia M2] Bryandu13:
Thank you ! I :good:
[Sony Xperia M2] erikcas:
Blobs are there, v8

and poximity and light sensor are oke now
[Sony Xperia M2] lozohcum:
God bless blobs c:
[Sony Xperia M2] erikcas:
In my kernelbranch android-5.0, device is on deepsleep 82% last 10 hours w/o issues.

Draining 50% you say... In which exact timeframe?
[Sony Xperia M2] erikcas:
Dunno if that is the case. When you checkout kernel, you see that first commit for camera came in. It is for tianchi. Which is a 8226 device....

Yesterday, I also opened a pull request for eagles camera. Not to be merged, more like to show it might be pretty tricky to implement stuff.

On plain, current sources, the eeprom reading leads to errors and there are issues with power settings and sequences for sensors. I ported over sony's stock solution for that on 3.5.1 branch to 3.5.2.2 branch (there are lots of diffs for camerasource between 3.5.1 and 3.5.2.2 branch). Now it reads eeprom and powers on and off the sensors. It is not complete (issue regarding a gpio being busy).

See also dmesg snippets before and after applying

So I, or someone else, have to rewrite and/or simplify that, if it is even possible.

So, regarding "care about msm8226"... Yes, I think there is, but for myself I came to the conclusion, if we want to have it, we have to participate.
[Sony Xperia M2] galaxyfreak:
Seen that last night. Great progress :)
[Sony Xperia M2] galaxyfreak:
about 12hours, CM kernel (I know it sucks but.. if we fix it, maybe it'll suck less ;) )
[Sony Xperia M2] erikcas:
21 hrs. 78% left

But that is with broken bluetooth and GPS on omni. Currently fixing that
[Sony Xperia M2] galaxyfreak:
CM kernel?
[Sony Xperia M2] galaxyfreak:
[MENTION=985241]erikcas[/MENTION], enabled some more logging

https://gist.github.com/galaxyfreak/4d835a14553235fecd84

I think count shows how many stuff is (trying to) connect. it could be 0, or 1, see, error is coming as soon as it ups to 2 (2 things trying to access)

Looks like IMX doesn't complete the init, so it never comes to free up of gpio ("disable clks")... could you compare w/ stock behaviour?
[Sony Xperia M2] erikcas:
https://github.com/android-legacy/android_kernel_caf_msm8x26/tree/android-5.0

both sensors try to connect to gpio 69. So probably gc0339 powerdown is not good. Or in time.

The check for 69 is, as far as I understand, both sensors are using it at same time.

Anyway, some stuff is changed in 3.5.2.2 kernel. Especially a few commits starting here make it not compareable.

Maybe it is not even nessecary at all to have the gpio 69 stuff in. I remember having tested without it succesfully.

Anyway, will not check it against stock kernel, as I want to drop kernel as a reference. I rather start from here, and eliminate / cleanup stuff.
[Sony Xperia M2] galaxyfreak:
Anyway, will not check it against stock kernel, as I want to drop kernel as a reference. I rather start from here"

What you mean? I wanted to see if IMX should do disable clk like eeprom does or...

"So probably gc0339 powerdown is not good."

IMX134 power down is not good, gc0339 doesn't get a chance.
[Sony Xperia M2] erikcas:
yep, that is what I meant :S

Anyway, build stock kernel and test? you know how to do it...
[Sony Xperia M2] galaxyfreak:
Considering already mentioned battery drain, I'll have to wait for tomorrow ;)

But as you pointed out those multimodule not being in 3.5.1 (and kk-sb-3.5.1 omni I was about to test), power sequence will probably be different..

Success without 69? Maybe this https://github.com/android-legacy/a...mmit/6d3124557165768aada668dbcba84aefada0d536 ?

But 69 is set for VIO in dtsi, and vio is in imx134 power sequence....
[Sony Xperia M2] erikcas:
dtsi in unified kernel matches stock. and already triplechecked imx134 hundreds of times I guess :)

must be something else.

The commit is from a while a go, the one I told you earlier I lost, found it back on my server.

I haven' t checked it since short before last Christmas so maybe review it upcoming weekend

edit: without debugging, I saw that the workaround does not complain about MVDD / gpio69. Maybe later turn on some debugging in that one and check
[Sony Xperia M2] getasgula:
Black Screen

i was flash this rom on my D2403 and my screen just black screen and tremble.

can you all to explain to me if this rom not for D2403 ?

thank you.

sorry for bad english
[Sony Xperia M2] xLobito:
Someone said in some point that CyanogenMod 12 can't be installed onto D2403 'cause some difference in the screen between D2303 and D2403, which causes some crashes (Black screen and other things). But, it'll be better if [MENTION=4635923]galaxyfreak[/MENTION] replies with more accuracy than me
[Sony Xperia M2] linuxct:
A quite simple question (but not related to the rom developing): Is it possible to activate the bootanimation sound in CM12? I placed a bootanimation with sound I created for stock Sony 18.3.1.C.0.39 rom in /system/media, but no sound is played. Any ideas?
[Sony Xperia M2] :
this **** does not working **** this!!!!!!!!!!!!!!!!!!!!!!!!!
[Sony Xperia M2] quake73:
true, it doesn't...
[Sony Xperia M2] ^^Robi:
It works if you are not jerk! [MENTION=4635923]galaxyfreak[/MENTION] wrote a nice guide how to install this ROM properly, you need to go a few pages back and do those steps! And your device should be D2303 or D2306! I hate fuc*ing noobs like that...
[Sony Xperia M2] Supercharlie25:
Completely agree!!!
[Sony Xperia M2] quake73:
wow! i dont know what happened with my phone with this ROM :)

p.s. just ignore that MihailoZoric user, he is just a clueless troll that has never installed a custom rom, dont waste your time explaining anything to him
[Sony Xperia M2] galaxyfreak:
Some news about camera.

Don't hold your breath. ETA is still the same - not in forseeable future.

I've asked jerpelea about camera a week ago, and I was told that we have to get camera sensor in kernel working properly, without copying the full thing. So me and Erik went back and forth for about 2 evenings, and thanks to HTC Desire 510 kernel, Erik got updated front camera driver, so it works without destroying a **** out of it. Amazing. So I went back to jerpelea, saying that we got what he asked, he said something like: "great, we can merge, but I cannot give you the full fix, because per "plan" we have to got all devices' sensors working".

This is time consuming itself. additional block is that Z series guys managed to get camera working unofficially based on some older (8974-specific) driver that Sony pushed then reverted, and considering they got it working someway, nobody there (from community) gives a **** to get it working properly. We kinda hit the wall here, that's all we can do.
[Sony Xperia M2] AssoDiPicche:
[MENTION=4635923]galaxyfreak[/MENTION] [MENTION=985241]erikcas[/MENTION]

You are awesome !!

Is already good start no !?

Thanks so much, we can wait .
[Sony Xperia M2] vusun123:
So in short, camera works but the guys at FXP didn't accept it ?
[Sony Xperia M2] galaxyfreak:
No, but they wont give us proprietary parts to fix before all 14 devices work on Kernel 3.10.
[Sony Xperia M2] Supercharlie25:
Why?? that is stupid
[Sony Xperia M2] :
I can't get in recovery mode with that recovery.

---------- Post added at 08:13 PM ---------- Previous post was at 08:07 PM ----------

My phone just vibrate, and i can't turn it on...

---------- Post added at 08:41 PM ---------- Previous post was at 08:13 PM ----------

Where to download sony m2 d2303 stock 4.2.2 rom?