yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M2] ^^Robi:
I would need atleast torch did u find any app that would work on that rom? all what i found needs camera and probably there is no way to turn torch on without camera.
[Sony Xperia M2] scaschera:
Not work for me, black screen and vibrate all the time, I'm on D2303.

I'm also flash stock rom and after, i flash cm12 and nothing, black screen and vibrate !!!

:(
[Sony Xperia M2] quake73:
This may sound stupid but, have you tried 'wipe data' FIRST and then install the .zip (dont wipe data again), it worked for me, the standard procedure for installing roms.
[Sony Xperia M2] linuxct:
You're not the unique with that problem check some posts ago, number 433 :(
[Sony Xperia M2] icke91:
@all "vibrate phones" :D

I had the same problem first. The reason is, that the phone was without the original kernel etc.

I flashed original FTF to 4.4.2, than flashed recovery, than ZIP and GAPPS and reboot -- voilà, Lollipop CM12 on D2303.

Hope it works for you guys ;)
[Sony Xperia M2] linuxct:
Also tried that. First I tried like normal, wipe data, then install zip, then GAPPS. Nothing happened, second, the same but without gapps. The same. The third I followed the guide galaxyfreak gave us. The same again. Some D2303 seem to be affected.

---------- Post added at 09:29 PM ---------- Previous post was at 09:28 PM ----------

Will try that, thanks
[Sony Xperia M2] scaschera:
I also test that !!
[Sony Xperia M2] ishakcez:
[MENTION=4635923]galaxyfreak[/MENTION] bro

Write unlock bootloader [bu] and locked bootloader[lb] will be useful
[Sony Xperia M2] kazekage07:
[MENTION=5710558]icke91[/MENTION]

thank you very much your method worked
[Sony Xperia M2] linuxct:
Yeah, it worked! Thank you sooo much! :D :good:

[MENTION=4635923]galaxyfreak[/MENTION], please add to the guide that you must be on stock before flashing this! Cheers!
[Sony Xperia M2] galaxyfreak:
Heh. I'm not sure what exactly happend over there, you can't wipe boot partition "just like that". Nevermind, Added it to the instructions! Glad it's working for you all now :) Enjoy!
[Sony Xperia M2] Supercharlie25:
I did it from 4.3 and it worked too, even from AOSP. I flashed it twice because i forgot to put more things con the sd card.

Me alegro de que ya te funcione linuxct, a disfrutar de lollipop!!
[Sony Xperia M2] scaschera:
I did it from stocked 4.4.4 and it didn't worked, so i download 4.4.2 ftf for test tomorow and i will say you if that work, i cross my fingers ...
[Sony Xperia M2] Supercharlie25:
Ok, good luck!
[Sony Xperia M2] SherlockDk:
Managed to install alpha 4 in d2306

First forgiveness by the English evil, google translator: D.

I installed starting from stock rom 4.4.2, after alpha 1 and 2:03 to 4. anything but running the camera as expected, a single discomfort was the speaker be a little low. More in the end, I'm from Brazil, and baseband this all okay. Thank U:laugh::laugh::laugh::laugh:
[Sony Xperia M2] KekaM2:
I can confirm that flashing over AOSP is as good as flashing over stock (4.3).

Everything works perfectly except calculator (doesn't work at all) and keyboard in landscape mode (glitchy).

Battery stuck on 8% for almost 4h, but I think it's gonna be fine after next full charge.
[Sony Xperia M2] linuxct:
Actually I was in 4.4.4 when I the vibrates happened to me, but I can confirm that from 4.4.2 it worked :D, good luck

---------- Post added at 11:49 PM ---------- Previous post was at 11:45 PM ----------

Yes, it was really hard to get it working, but at least, bluetooth is working, so I can connect my SW2, and I can also confirm that Sony Smartwatch 2 is perfectly working in CyanogenMod 12 :D

Sin duda, ha merecido la pena la espera, al fin hay una buena custom rom, basada en lollipop y con bluetooth, necesario para mi SW2, solo falta la cámara, pero ya caerá... No la echo en falta }:)
[Sony Xperia M2] scaschera:
Download finished but so tired to test now loool :D,

i'll test when my Brain no more dead looooool

good night all and thanx a lot for your work
[Sony Xperia M2] RatchetHacked:
For first, sony have published this beta kernel to share it and get more help whit developers from all over the world, and , if we'll finally get that kinky camera to work, probably sony will release it publicly when all will be done.
[Sony Xperia M2] android sup:
all logs scores thermanager (ALPHA 4)
[Sony Xperia M2] vusun123:
Upload your logcat to help [MENTION=4635923]galaxyfreak[/MENTION] fix those problems, don't just test and say about it
[Sony Xperia M2] galaxyfreak:
I'm aware of thermanager issue, and we don't know proper fix for it yet. It's not hitting enduser so it's okay for now. But I'll have to fix that for nightlies.
[Sony Xperia M2] Supercharlie25:
Smartwatch 2!! Que morro!!!! Pedí uno por reyes pero no me lo dieron...:(
[Sony Xperia M2] scaschera:
Same problem with 4.4.2 stock rom, i don't know why not work for me sniffff :( .

Wait and see when there are another build :confused:
[Sony Xperia M2] linuxct:
Yo lo pedí a una tienda de alicante com regalo de reyes, 119€ y en dos dias en casa XD

At least, it's working, but I can say that bluetooth drains the battery... Let's see how I can use the watch :p

---------- Post added at 10:16 AM ---------- Previous post was at 10:09 AM ----------

Also, themes for Cm12 are working. i've tried with this one http://xdaforums.com/android/themes/theme-minimal-cm-12-dark-theme-t3014501, and it's working like a charm :D
[Sony Xperia M2] MusTerX:
I cant install this rom i flashed stock 4.4.2 and than cm12 and i have black screen and phone vibrate pls help me can u give me a link to a stock(that one you used) and other trick i must now pls
[Sony Xperia M2] icke91:
Hey.

You must flash Stock 4.4. FTF then the bott_recovery.img and in recovery you can flash the alpha3.zip. Dont forget to wipe date before flashing.

For me that was the solution....

PS: And ofcourse your phone must be the D2303
[Sony Xperia M2] MusTerX:
I flashed stock 4.4.2 with flashtool then shut down my phone and boot it to fastboot and on computer type fastboot flash boot boot-recovery.img and fastboot reboot and then i installed the alpha4.zip and that black screen and vibrates
[Sony Xperia M2] scaschera:
Same step and same bugs ....
[Sony Xperia M2] MusTerX:
pls can someone give my a link to a working stock rom pls
[Sony Xperia M2] zodex:
[MENTION=4635923]galaxyfreak[/MENTION] what kernel did you use?
[Sony Xperia M2] Konstantinosj77:
Obviously CM kernel...
[Sony Xperia M2] MusTerX:
Guys what am i doing wrong i want to have this rom gaddamit i am so angry right now :(
[Sony Xperia M2] Konstantinosj77:
I flashed stock 4.3 and it worked!

Don't ask for link i dont remember :/
[Sony Xperia M2] icke91:
When Stock 4.4 not working, try 4.3. Download-Links are for example here in XDA ;)

[MENTION=4635923]galaxyfreak[/MENTION]:

Good ROM, I testing it the whole day in daily use. There are only two things i noticed: standard calculator is not working and battery drain is much higher than in Stock 4.4. But no bootloops, no 3G issues, no freezes.
[Sony Xperia M2] dantchk:
Alpha 4

proven m2 d2306

everything perfect, is fast.

fails the calculator , recovery and data needed to Latin America
[Sony Xperia M2] scaschera:
I was tested with 4.3 stock and worked, thx men you saved my life :) ;)
[Sony Xperia M2] MusTerX:
OOOOOo MAAANNN Thank you with 4.3 works I was 2 days at home insted of being in school just becouse i was working to get this cm12 to work thank you all for help and thanks to [MENTION=4635923]galaxyfreak[/MENTION] for this amaizng rom hope you will get the camera to work. :D
[Sony Xperia M2] android sup:
graphics looked batteries, the device does not fall asleep

this implies high energy consumption

sorry for the English:)
[Sony Xperia M2] Supercharlie25:
You didnt go to school just for a ROM?:eek:

What does your parents say?:eek::eek::eek:
[Sony Xperia M2] icke91:
Camera is not a bug in this ROM - its a general issue in all ROMs ( so far I knew)

Why you didn't go to school just because of customize your phone? WTF?!? :confused:
[Sony Xperia M2] galaxyfreak:
https://github.com/CyanogenMod/andr...mmit/69d885eb0bb6546c724c72abbd4a844f2a99c99d this fixes Calculator crash. You can just put the image in APK yourself if you know how, if not, wait, I'll release a fixed APK soon.
[Sony Xperia M2] galaxyfreak:
CALCULATOR FIX

Crash is caused by one missing png image, and it's been fixed in CM upstream now. Not my fault.

All you need to do is replace Calculator APK with file manager.

As I don't wanna hear complains again, I'll take a few minutes to type out instructions.

here's baby-detalied tutorial on enabling root access and replacing the system apps in CM file manager.

If you ever replaced an system app with filemanager, there should be no problem, skip to download, just don't forget to set permissions.

if not, read super-detailed tutorial for a super-simple thing.

- Download Calculator.apk from link below (and copy it to your sdcard/internal storage if you didn't download from phone)

- Go to Settings -> About phone -> tap build number 7 times to enable developer options.

- Go to Settings -> Developer Options -> Root Access -> Select "Apps only"

- Go to CM file manager, swipe on the left to open left pane. In corner you got "gear icon" for settings. Click on it.

- Go to general settings, scroll down to "Access mode" and select Root Access mode

- Allow it

- Navigate to sdcard/Download or whatever you've put downloaded APK, select it by clicking on checkbox next to it.

- Now, after you've selected, navigate to /system/app/Calculator/

- Click on 3 dots on bottom of the screen, and click "copy selection here"

- Confirm overwrite.

- Now hold the Calculator.apk file, go to properties - > permissions tab

- Make group and owner 0000 - root

- Enable all 3 checks in R column, and only first checkbox in W column. Uncheck rest of boxes

- Click Ok.

- Reboot your system.

Now say I'm not awesome LOL.

Download
[Sony Xperia M2] zodex:
CM kernel isnt booting.
[Sony Xperia M2] galaxyfreak:
What ROM have you built? ;)
[Sony Xperia M2] zodex:
CPA2 based on AOSPA-legacy. Kernel booting, i sew bootanimation and phone turned off. When I used other kernel its working.
[Sony Xperia M2] galaxyfreak:
Use system/etc/thermanager.xml from Alpha 4
[Sony Xperia M2] icke91:
Very LOL.:cyclops::D:laugh:

I just installed another calculator from the play store, but thanks ;)
[Sony Xperia M2] ^^Robi:
Why are you guys not working on the same rom? :D It would be faster?
[Sony Xperia M2] galaxyfreak:
Actually we do. Fixes from erikcas can be easily picked up by me, vice versa. We both share our work on gerrit/github.
[Sony Xperia M2] RatchetHacked:
Must admit it, this is going way better rather than the fxp's one ;)
[Sony Xperia M2] xLobito:
I realized that since a few weeks ago xDDD. Just left Camera, which is horrible to fix it and other bugs. But, quite frankly. The progress they've made has been awesome *-*.
[Sony Xperia M2] vusun123:
But still they have to figure how to make camera work on their own, or wait for Sony to make a miracle and release camera source
[Sony Xperia M2] xLobito:
Coming from Sony... I'd call it another way, miracle isn't even achievable. But, practically the 90% of the Android System/Kernel has been developed. Different from FreeXperia which are still developing some things.
[Sony Xperia M2] scaschera:
This morning boot loop after tactil freeze, must wipe cache/data-factory reset for force boot cm12, I think it was caused by install a theme or/and fix calculator. I have not succedded to export logcat sorry !! :(
[Sony Xperia M2] vusun123:
Try to do it again one by one, you will see the outcome
[Sony Xperia M2] scaschera:
I was tested and wall worked, i don't know why it's was failed before :confused:.... I will see if rebug... I was backup my rom with CWM if rebug again :D
[Sony Xperia M2] lozohcum:
It's becasue fxp base their builds on sonyxperiedev sources (AOSP device tree, blobs and kernel)
[Sony Xperia M2] RatchetHacked:
You guys are doing it better afterall
[Sony Xperia M2] ^^Robi:
Am trying to switch to alpha 4 (currently I was in alpha 1). So I flashed stock ftf (4.4.4) file with Xperia flashtool first. And then I did all, what's in the instruction post from galaxy freak. Flashed recovery with fastboot (recovery linked from galaxyfreak) and then flash CM12 zip in recovery, and wipe data/factory reset and reboot system. I get a black screen like it should be but it's been for more than 20 min and phone didn't boot, so I repeat the whole process and still no boot after 15 mins. Anyone know what's the problem? My model is D2303 with unlocked bootloader ofc.
[Sony Xperia M2] scaschera:
Re flash stock 4.3 and reinstall cm12 step by step, i had same issue as you and with that it worked
[Sony Xperia M2] ^^Robi:
I will try thanks!

/EDIT

It worked thanks! So everyone who will go flash stock you need 4.3 not 4.4.4.!
[Sony Xperia M2] galaxyfreak:
FLASHLIGHT FIX

Flashlight is not working because the toggle, and all apps that I've seen start camera session, and then enable flashlight via camera properties.

I've came up with pretty simple solution - writing directly to torch's sysfs file.

To save time of writing Flashlight app from stratch I did a quick search on Google and found very simple (therefore easy to modifcate) app that I've modified so you can use your flashlight while camera is fixed. Sure I could do better UI, but this serves a purpose of a temporary workaround just fine.

Just download and install APK normally and make sure you have root enabled in Developer settings.

Download APK

Source
[Sony Xperia M2] ^^Robi:
Man you are great thanks!!!!!

---------- Post added at 16:32 ---------- Previous post was at 16:28 ----------

Another question [MENTION=4635923]galaxyfreak[/MENTION] Which is probably stupid because of AOSP system. Is there any chance of moving apps on SD? when I try in settings I get message "Couldn't move up. Not enough storage space." I have a 32GB (17GB free...). For Sygic and other big programs I use a folder to mount, but that's just for app data not for apps.

---------- Post added at 16:40 ---------- Previous post was at 16:32 ----------

Torch app is working nice! Its responsive more than stock sony from 4.4.4! Is possible to make tile in quick setting in next rom? But for now its awesome thats even working :D
[Sony Xperia M2] scaschera:
I just discover now of the GPS not work, did you have the same issue ?? :confused:
[Sony Xperia M2] ^^Robi:
Yop same problem gps is on. high accuracy but not working. Tried sygic, google maps and its not working it worked in alpha 1.
[Sony Xperia M2] Supercharlie25:
Mine works.
[Sony Xperia M2] ^^Robi:
turn internet off and refresh try apps wich use only gps for location...
[Sony Xperia M2] scaschera:
Localisation work but step by step itinerary in real time not work causes by GPS bug
[Sony Xperia M2] erikcas:
[MENTION=4635923]galaxyfreak[/MENTION]

display glitching fixed

this should also be applied on cm kernel
[Sony Xperia M2] scaschera:
Yeeaahhh good fix , ;)
[Sony Xperia M2] galaxyfreak:
Great! How did you came to this...?
[Sony Xperia M2] erikcas:
just compare it to "working" kernels ;)

another question: proximity sensor and lightsensor are working for you?
[Sony Xperia M2] android sup:
proximity sensor not working.

lightsensor does not work properly
[Sony Xperia M2] erikcas:
Can you post a dmesg on boot? I need a dmesg on first 15 seconds on boot.

Myself I use an adapted kernel (all specific sony stuff as in cm-12.0 kernel but applied to caf lollipoptree). I want to compare to mine. I am almost sure it is the same as mine but want to be sure to fix it for both kernels first time right.

Verstuurd vanaf mijn Xperia M2 met Tapatalk
[Sony Xperia M2] android sup:
I do not know
[Sony Xperia M2] erikcas:
Fixed here. [MENTION=4635923]galaxyfreak[/MENTION] will upload a fix for light and proximity sensors in half an hour to my review

Verstuurd vanaf mijn Xperia M2 met Tapatalk
[Sony Xperia M2] galaxyfreak:
Thanks! Sorry I couldn't deliver you kmsg, I'm at school in the morning. Just came now.
[Sony Xperia M2] erikcas:
Here you go

never mind about that.

The input part was earlier rejected by kholk on sonyxperiadev kernel as he could not live with it ("totally unacceptable").

Which I donot completely understand as the code is taken from sony opensource release. So to me it is clear, sony had to fix that for eagle as standard driver is not functioning.

I have tested without it, but proximity sensor does not work then.
[Sony Xperia M2] galaxyfreak:
Input part? Why so?

I can understand not accepting stk3x1x part as eagle driver is just imported instead of merged on top of the current one.
[Sony Xperia M2] erikcas:
inputpart: edited my post

stk3x1x: I am not sure if it would break seagulls driver, it seems to be taken from seagull (T3) so I imported it as a seperate driverssource for eagle.

The inputpart back then was part of a different commit, I just reintroduced it here
[Sony Xperia M2] galaxyfreak:
[MENTION=985241]erikcas[/MENTION] ok I'll not submit it to CM as they'll probably deny it too.

Wanna talk again about camera, you worked alot on kernel before, maybe some of those will work w/ prebuilt libcameraservice now. Do you remember what branch worked "best"? I was said no camera - no nightlies from CM.
[Sony Xperia M2] erikcas:
I will submit it to cm myself. If someone has a better option, let them show. We are talking about functionality here. It does not break other devices, it does not screw up code. Code can be niced up later.

About camera: now all is working properly for eagle, I will get back to camera. I will start on it tomorrow and will do it from scratch. I need to understand the exact changes that were done around last februari when there were some changes for multimodule. I think I can work around that.
[Sony Xperia M2] erikcas:
http://review.cyanogenmod.org/#/c/87301/
[Sony Xperia M2] galaxyfreak:
[MENTION=985241]erikcas[/MENTION], for animation glitch patch, I'm sure there are proper panel height and width vars somewhere, look if you want, I cba atm.
[Sony Xperia M2] erikcas:
Oh they probably are but I see no reason to make them variable as eagle seems to be the only device with this problem and does not need variable values

Verstuurd vanaf mijn Xperia M2 met Tapatalk
[Sony Xperia M2] JuniorCaesar:
[MENTION=4635923]galaxyfreak[/MENTION]

I've installed Alpha 4 on my phone.

But my phone vibrates after and after and doesn't booting.

What should I do?

Thanks
[Sony Xperia M2] ^^Robi:
Hi, I installed alpha 4 yesterday and here are bugs in my case:

-GPS not working

-1 random shut down (phone was very hot screen was off)

-2 random reboot (phone hot screen off again)

-battery drain (half day over 50% without doing anything (consumers: Android system, Android OS, google play services.) I use greenify so no needed apps didn't run...

-while watching full screen video status bar jumped up and down and while adjusting volume in the video sound panel was jumping up and down.

otherwise rom runs smooth without any lag!
[Sony Xperia M2] galaxyfreak:
I know this is ported from stock kernel, but

http://review.cyanogenmod.org/#/c/87284/4/drivers/video/msm/mdss/mdss_mdp_pipe.c now it's nice :) Tested and works.
[Sony Xperia M2] erikcas:
development stopped from my side. So no more fixes from my side, including camera. I donot like politics and "be the best" games in development.
[Sony Xperia M2] linuxct:
+1! Hope we could install this over Alpha 4, just like we did with Calculator :D
[Sony Xperia M2] ^^Robi:
Woow. What happend ? In short, for dummies like me please:confused: :/
[Sony Xperia M2] lozohcum:
to delete
[Sony Xperia M2] erikcas:
well, I see competition and politics

And some total disrespect from kholk in a discussion about a pullrequest I made.

When I have a bad feeling, I quit, because my feeling is always 100% right. And I have bad feelings about this.

But hey, this is offtopic, and readers here want a good rom and should not be confronted with my frustrations. Discussing that here should be disrespectfull to galaxyfreak.

So please ontopic and discuss development here. There is work to be done to get this device to cm nightlies, as I understand it will not be nightly without working camera. So get to work :)
[Sony Xperia M2] quake73:
i've experienced a similar situation before. i had an xperia P before, the best developer for it got angry and even left xda. there are always a**holes that just dont have the slightest idea what kind of gold the few developers are giving us. i'm an IT guy (not android :) ), i understand the erikcas' anger, i understand his decision
[Sony Xperia M2] galaxyfreak:
[MENTION=985241]erikcas[/MENTION] I didn't want to take your credit in any way. I left you as an author of that commit, because I'm aware you found the place where the bug occurs. Only thing I did was make that piece of code a more like the "generic" piece that's used by other devices (aka. when eagle is not defined). I don't consider any kind of competition. Just a big contributor over here, and thank you for the work you done till now, and may do in future.

I think kholk didn't mean any disrespect towards you, calling me to do a PR is for same reason he didn't see that bug - not really caring about eagle.

And I agree CM's behaviour sucks. I also had a legacy HTC Explorer before M2, and many fixes I wanted in didn't make it because they were "dirty hacks" or "not required by an officially supported device". Before Explorer went legacy, we had a stable CM10. But still instead of accepting it, CyanogenMod's Ricardo Cerqueira gave a pretty large list, like 10 points, how tree should be organized etc, before it gets accepted. So I'm totally with you on this one. It's just that I've past trough that rage-stage of them denying stuff, especially if they're done by community, and they act even more strict since becoming a company. How about working on stuff as-is, just don't push back to review/send a PR? CyanogenMod or Sony won't give a **** about you leaving, so only who takes here is a community. Therefore, I don't see point of your leaving, however, I cannot make you stay or drag it in any way.
[Sony Xperia M2] lozohcum:
May I add few words?

I know how it feels when someone reject your work. I fixed some basic things on 4.4.4 AOSP like RIL, lights, audio and made pull request, sonyxperiadevs didn't even look at those fixes. Same happened with my previous device and FXP.
[Sony Xperia M2] vusun123:
This thread is turning into a warzone here ==. What happened at the backstage ?
[Sony Xperia M2] galaxyfreak:
a) kholk of FreeXperia told me to send a pull request instead of original author, erikcas. I'd still keep Erik as commit author, doesn't matter who sends a PR.

b) CM merges only clean fixes (exception when there's no other way of doing it), and that's pretty annoying, but I got used to it till now.

TBH, Erik is frustrated for nothing here.
[Sony Xperia M2] zodex:
[MENTION=4635923]galaxyfreak[/MENTION] have you bug with power menu? On CPA2 when I was trying to enter power menu rom crashed. [MENTION=985241]erikcas[/MENTION] Don't do it! You are very good developer, you fixed a lot of bugs on this phone!
[Sony Xperia M2] galaxyfreak:
No, that's your ROMs problem.
[Sony Xperia M2] zodex:
Have you any solution for this:

http://pastebin.com/Psg9gZtv?
[Sony Xperia M2] galaxyfreak:
Delete this https://github.com/CRXTeam/android_device_sony_msm8226-common/blob/lollipop/device.mk#L156
[Sony Xperia M2] zodex:
Thanks bro :)
[Sony Xperia M2] vusun123:
Well let him get some time off from developing. I'm sure he will get over it soon.
[Sony Xperia M2] MusTerX:
Hey [MENTION=4635923]galaxyfreak[/MENTION] can you fix the camera alone without Erik's help?
[Sony Xperia M2] Supercharlie25:
Oh god.... Stupid people....
[Sony Xperia M2] MusTerX:
Whats so stupid about my comment?
[Sony Xperia M2] Supercharlie25:
Dont worry. Leave it.....
[Sony Xperia M2] MusTerX:
I just wanna know if i can espect the camera fix this week, month or year.... if he is working on it
[Sony Xperia M2] galaxyfreak:
Explains alot.
[Sony Xperia M2] lozohcum:
[IMG="a"]http://i.imgur.com/t5IFidL.jpg[/IMG]
[Sony Xperia M2] Supercharlie25:
Link isnt working
[Sony Xperia M2] :
Alpha 4 is full rom? :)