yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M2] galaxyfreak:
I think it was refering to camera kang i mentioned page back: "stock lollipop is released with 3.4 kernel, and this uses 3.10, what now?"

If that's it - Nothing, we now have to see if blobs are clean enough to play with AOSP ROMs. If yes, then I can confirm camera-working builds in the future.
[Sony Xperia M2] TrickiePad:
Hello,

not CM related perhaps, but I noticed this:

http://developer.sonymobile.com/dow...archives/open-source-archive-for-18-6-a-0-175

I even succeeded in building that kernel for the eagle, and tried to insert it in AOSP (so kernel file + device tree blob).

But booting doesn't work. Can somebody explain me the basic requirements for booting android?

I mean: I know a working kernel would eventually mount system (and other partitions, and probably needs crucial files from those), but I really would like to know if the boot.img itself would already show something on the screen if working correctly.

If that's the case, I know I have to search in the boot.img file, and not in the interaction with other files/partitions....

Thanks in advance for some badly needed explanations :)
[Sony Xperia M2] erikcas:
the kernel is by far more caf based then 3.10 kernel is.

For example: if I build omni with 3.10 kernel I will use AOSP google source hardware_qcom hals. The stock 3.4 kernel needs pure caf source for those hals, and also corresponding caf patches to the frameworks.

I will test to build a 3.4 omni with 5.1.1 blobs later this week if I have time. It will be just for fun, I have no further intentions to put more work and time in it.
[Sony Xperia M2] TrickiePad:
OK, thanks.

So if I read correct: the boot.img cannot work correctly without changes/files in the system partition.

What is the primary requirement in some other partition for getting something on the screen? (blobs/hal files/other files).

It would be fun just to get something on the screen with a simple change (with a generic hal if that's required), just for finally understanding the boot sequence a little more (and I really emphasize "a little")

I also noticed an entire "external/kernel-headers" directory in the 18.6.A.0.175 tar file. I don't know if they need to be merged with AOSP?

br
[Sony Xperia M2] erikcas:
I think getting aosp to work with stock kernel is a time-consuming and hacky exercition. You will need the caf qcom hals. That will need you to tweak tons of stuff in other repos.

It would be easier to compile aosp from entire LA.BF.1.1.1_Rb24 caf branch worktree instead of googles tree

Also. I always dump the external dir from zip in trash immediately

Verstuurd vanaf mijn D5503 met Tapatalk
[Sony Xperia M2] TrickiePad:
OK! I had forgotten about the difference between caf & aosp. :eek:

What are the main parts modified in caf branch compared to AOSP? (quick answer here: don't spend too much time in it)

Is there a caf worktree somewhere that I can try to use with this 3.4 kernel? (again: just for fun).

br
[Sony Xperia M2] marco2tiger8:
I'm sorry for my rudeness, but would you post your questions in Q&A section, please?
[Sony Xperia M2] galaxyfreak:
[MENTION=6490569]TrickiePad[/MENTION] [MENTION=985241]erikcas[/MENTION] CM to the rescue! LOL. CM is CAF-oriented, and it's outdated official device tree came in handy, so I have already booted new stock kernel on it without any modifications (1 line addition), straight outta roomservice. :)

Now a "problem": Which of camera blobs are actually needed in, and which ones are Sony's stock stuff.
[Sony Xperia M2] erikcas:
Omni is caf oriented too if one wants to. To be more specific. When setting qcom hardware in boardconfig it will build with pure caf av framework, media, audio and display hals to name some.

So with some minor changes I will have that booted later today on stock lp kernel. If so next step will be adding blobs and check what is missing.

I cannot tell which blobs are needed before I have extracted the system.sin from ftf

Verstuurd vanaf mijn D5503 met Tapatalk
[Sony Xperia M2] erikcas:
omni: camera working

got to fix some things but shooting picz
[Sony Xperia M2] molnartibor:
f*ck yea man :victory: i assume it still has the quality bug from official lollipop, or?
[Sony Xperia M2] erikcas:
well... same kerneldriver, same libs as stock = same quality

not much I can change about that.

I cannot compare to stock as I have not been on any stockrom past 10 months
[Sony Xperia M2] aidy.lucas:
It seems to be hit and miss with the camera. So far mine seems ok now I finally managed to get it to work

D2303 customised NCB 5.1 full root with nuts t2u dual recovery
[Sony Xperia M2] galaxyfreak:
Got the camera working here too :)

F*cking CyanogenMod and it's outdated HALs. Had to use bunch of Omni stuff to get the complete package working but there it is.

Camera quality, before you ask, is same as stock. I've opened a picture on a computer, and they look just fine until you zoom them. Then they get "mozaic-ish". Just don't zoom it. Phones are not for that, especially not midrange ones.

Thanks [MENTION=985241]erikcas[/MENTION] for confirming stock camera stuff actually works over here, and providing me a build server, as XDAs crashed, and it's uber slow anyway

--

Off topic: It's funny tho, when you are ROM developer/maintainer, you usually get to taste new Android candy and get "x" working among first, but then comes something like a ****ed up camera libs, and throws you back in line of waiting for stock update like everybody else.
[Sony Xperia M2] AssoDiPicche:
We have collect a Cyano 12.1 fully working? Yeah, battery draining and youtube?

Inviato dal mio Xperia M2 con XDA
[Sony Xperia M2] micheal10198:
So will the new build be up tonight? [MENTION=4635923]galaxyfreak[/MENTION] ive been waiting so long to run cm as a daily rom on this device
[Sony Xperia M2] lozohcum:
One of the reasons I stopped working on android ROMs development. Maybe I will do it again in future.

Going back to the topic. Good job guys u and erickas! I'm really happy so see u making some progress with that device.

I realy want to build Ubunut Phone for M2 but my university doesn't left me much free time. Not for developing.
[Sony Xperia M2] galaxyfreak:
Yes youtube is working nicely in both browser and app. Battery not sure how is it yet.

Not tonight, but in a day or two...
[Sony Xperia M2] micheal10198:
Alright [MENTION=4635923]galaxyfreak[/MENTION] thanks for letting me know I hope battery is as good as stock. How's the theme engine ? Is it all working ?
[Sony Xperia M2] erikcas:
good job Marin!
[Sony Xperia M2] krule031:
Great job [MENTION=4635923]galaxyfreak[/MENTION]!

And one off topic, tell me guys, if my bootloader unlockable allowed is : no, there is no apsolute way of unlocking it right?

I just contacted my carrier and they say they dont provide support for that. :confused:
[Sony Xperia M2] panhavad:
Hello there, I got Sony m2 D2305 in my hand and i want to flash this rom is it okay ?? Actually the title writen that for D2303/D2306. And if it suitable forD2305, by now dose the camera work fine after flashing or i have to do something when the flash process is done.. Thank you guys and sorry for my bad english
[Sony Xperia M2] galaxyfreak:
Yes, next build (BETA#1) will support D2305.

Poslano s D6603 putem XDA Forums
[Sony Xperia M2] panhavad:
Thank guy^^ So its mean that i should wait for the next update ?? Anyway do you know when is the next update held?
[Sony Xperia M2] galaxyfreak:
Sometime this week.

Poslano s D6603 putem XDA Forums
[Sony Xperia M2] Matze6989:
Is this Rom working on D2403?
[Sony Xperia M2] siretnicu:
Hello! I just love the cm, but i don't see a link to download the fully working rom, with camera fix. Where can i get it?
[Sony Xperia M2] zodex:
Is BETA#1 on 3.4 kernel?

Wysłane z mojego D2303 przy użyciu Tapatalka
[Sony Xperia M2] galaxyfreak:
Read 2 posts above yours.

Yes.

Poslano s D6603 putem XDA Forums
[Sony Xperia M2] erikcas:
first impression for performance is that powermanagement seems to be way better. In terms of other things we would have to benchmark I guess.

As I said, for camera I will need someone with the eureka view
[Sony Xperia M2] erikcas:
[MENTION=4635923]galaxyfreak[/MENTION], did you already test the lp blobs that were released today?
[Sony Xperia M2] galaxyfreak:
Got a build with them ready, but will test later tonight.

Looks like Adreno and firmware update.

BTW, Is camera issue hitting only 5.0 or 4.4.4 too?
[Sony Xperia M2] erikcas:
4.4.4 too. It is a kernel issue.
[Sony Xperia M2] galaxyfreak:
Keymaster image cannot load causing SystemUI to FC. Reverting.
[Sony Xperia M2] ReznorNInchNails:
Here are my logs from D2303.

I had one reboot for unknown reason (clicked to update 4 apps in notification bar and then it just rebooted).

Collection of logs since this reboot: http://www25.zippyshare.com/v/79872853/file.html

More logs with camera: https://bpaste.net/show/f045b630c61e

And one more with FM Radio: https://bpaste.net/show/92c243b53886

Also it seems that audio is a little quiet, or those are just my ears.

Hope this can be helpful :)

Btw, for gapps I used these, they are working great on my phone.

https://www.androidfilehost.com/?fid=95857557620393720
[Sony Xperia M2] RatchetHacked:
I'll remind to evryone, if your so afraid to tweak something (ex: omm), this is the list of flashable (also tested and fully working for lollipop) tweaks:

1 SuperCharger (latest only) [bug on the beta version]

2ThunderBolt

3LoopySmoothness [beta only]

3zRam

4Entrophy

Hope it'll be helpful, do not flash anything else or you might have annoing bootloops!

No refunds :D

One little thingy, are there any big updates awaiting on camera logcat? :/

galaxyfreak, you're the real bugfixer man! ;)
[Sony Xperia M2] tfwboredom:
NFC

Just checked the OP, suddenly doesn't mention NFC at all, it isn't in the working nor not working section, is it being worked on or was it just mistakenly deleted from the OP? Thanks :)
[Sony Xperia M2] DoobyDroid:
Data wasn't working for me nor is that in working not working list looking forward to bug free version [emoji2]
[Sony Xperia M2] vusun123:
Not working, he said in a post that NFC spam is causing him annoyance
[Sony Xperia M2] Bryandu13:
Thank you !

Where found them ?
[Sony Xperia M2] Linq'z QIrls'z Chinese:
NEW UPDATE ... work for D2302?
[Sony Xperia M2] ReznorNInchNails:
One more thing I found today on my D2303, forgot to take log:

When typing a SMS, backspace (delete) button is grayed out, it doesn't delete old text. I can continue typing, so it is not frozen. After restart it works ok, and it is good thing that it is saved as draft so I can continue typing from that point.

Another thing about keyboard is that it is buggy. Sometimes it will pop out, sometimes it won't. Again, reboot solves the problem.
[Sony Xperia M2] RatchetHacked:
NFC working preety well!! gosh ,wonder if you ll finish up those bugfixes before Christmas! :D

Cheers sisters XD
[Sony Xperia M2] freack_v:
no, kernel build is not support uim2 (2 sim card).
[Sony Xperia M2] galaxyfreak:
As of general news - performance issues are fixed, shutdown bug is fixed, NFC is working, but bit buggy (same as current build), FM Radio and camera are still not working.

And this is how you, ladies and gentlemen, should report a bug.

I removed it, as I think it's working actually, just on/off is a bit buggy. Will try to fix that.

No logcat.

Seems like upstream bug.

"After restart it works ok" There have to be a cetrtain circumstances when the bug occurs. Try to reproduce it.
[Sony Xperia M2] Supercharlie25:
Wtf?! Is there an update? Where? How can i download it and install it? Im confused cause i ve seen all the posts of this forum but i dont understand that now the Nfc works and the performance is better and shutdown bug is fixed. It still says Alpha 1 in the first post for me.

Can someone explain me this please? I would apreciate it.
[Sony Xperia M2] galaxyfreak:
NFC is actually working so I've removed it from 1st post.

Shutdown is minor and kinda confusing bug, that'll be fixed in next build
[Sony Xperia M2] umeshxda:
No still he didn't upload new build. He meant it is fixed in new build, he may upload it soon!
[Sony Xperia M2] Supercharlie25:
Oh, nice. Thanks Rootlord and GalaxyFreak. Now i understand it. Cheer up galaxyfreak!
[Sony Xperia M2] iFlashed:
Is there anything new with the sensor issue in some devices?
[Sony Xperia M2] Lojzo_11:
Will be the camera quality better than on stock 5.1.1?
[Sony Xperia M2] Th3 Ant:
I guess they are using stock blobs so not really.
[Sony Xperia M2] ~Patryk:
Galaxyfreak said "Camera quality, before you ask, is same as stock. I've opened a picture on a computer, and they look just fine until you zoom them. Then they get "mozaic-ish". Just don't zoom it. Phones are not for that, especially not midrange ones." . Read before ask...
[Sony Xperia M2] galaxyfreak:
New build! BETA#1!

Traditional changelog in 5 months timespan is nonsense but:

- Camera is working

- Video playback is working

- Aqua display is working

- Phones with sensors issue are NOT working

- D2302 is NOT working

- D2305 SHOULD be working

- CWM flash will fail - TWRP works fine.

- To be used with new bootloader.

- Only known bug is brightness adjustment not working.

ROM: Download

"Minimal" GAPPS I'm using: Download

TWRP: Download
[Sony Xperia M2] Matze6989:
Is it working on the old D2403? What is with the battery drain. Is it better then stock?
[Sony Xperia M2] galaxyfreak:
Yes, it's working on "old" D2403 :D

I can't compare battery with stock as I didn't use stock. But I know overnight percentage stays the same. :)
[Sony Xperia M2] AssoDiPicche:
Brightness change is easly for fix?
[Sony Xperia M2] :
Did you fix lags and random reboots?

P.S. Great work!
[Sony Xperia M2] galaxyfreak:
As I've told you before, I never had lags/random reboots.

But yes, random reboots if you had one should be gone. This is having stock kernel underneath.
[Sony Xperia M2] :
Great! Thanks for the information :)
[Sony Xperia M2] Lovenish Singh Panwar:
Any scope for d2302..
[Sony Xperia M2] vittal:
How about D2306?
[Sony Xperia M2] Gaurav007:
It may boot on D2302 but RIL will not work

It will work
[Sony Xperia M2] Matze6989:
How can i delet the su icon in the top?

The ring tone is very quiet as you get the louder?
[Sony Xperia M2] 31fahmi:
Is it possible to flash stock D2302 modem to make it work?
[Sony Xperia M2] NieeLz:
almost fully working, thank you CM team, wait for xm2Aqua stable :D
[Sony Xperia M2] panhavad:
Report:

Tested the CM12.1 Beta1 on Sony m2 D2305 had some problem such as:

- Hang up a call M2 start to reboot device

- when on the app manager tab System said unfortunately stop

- Cannot add a new contact

- Cannot edit profile

Solution to brightness changer i recommend this rom user to use an app called "screen dimmer".
[Sony Xperia M2] galaxyfreak:
[MENTION=5311736]panhavad[/MENTION]

- Hang up a call M2 start to reboot device - cant reproduce, works fine

- when on the app manager tab System said unfortunately stop - i dont understand where exactly

- Cannot add a new contact - cannot reproduce, works fine

- Cannot edit profile - i dont understand, where,what
[Sony Xperia M2] vampirian:
im trying to install google apps but all i get is :

E:cannot load volume /misc

Finding update package

Opening update package

Verifying update package

E:footer is wrong

E:signature verification failed

Installation aborted

any help dear devs ? :P
[Sony Xperia M2] Th3 Ant:
Are you using CMRecovery? I don't know if there is an option to disable package signature. CMRecovery has a problem with it. In TWRP everything should work.
[Sony Xperia M2] Matze6989:
When i scroll in Facebook app is it jerky.
[Sony Xperia M2] vampirian:
yeah actually i used boot from 4.4 to install the firmware. the main issue now is that after i installed the firmware i dont have TWRP.

is there any way to give me a link please from the correct one so i can load it through adb ?:)

thanx in advance :)
[Sony Xperia M2] Th3 Ant:
Do you have updated bootloader (via emma)? If yes, you can flash 4.4 boot as recovery partition through fastboot. After that, turn your phone by holding vol- and power button. It will use KK boot.img. Then, enter recovery as usual (by pressing corresponding button) and try flashing your zip.
[Sony Xperia M2] vampirian:
emma hits error for me on win 10. So i use flashtools instead to upgrade my firmware. (dont ask why emma doesnt work. i cant find any solutions to fix it :P )

Anyway i tried to install gapps through this method ( through 4.4) but the boot.img i got have CWM on it. is there any alternative i could load? and there comes the problem i mentioned earlier.

So far i have CM firmware but i dont have the damn recovery xD

i tried after installing CM to load ericsas TWRP recovery from adb but still i dont know why i can not boot on recovery :p

Edited:

Ok i managed to fix it now and seems that works so far :p
[Sony Xperia M2] iFlashed:
And what about "new" D2403?
[Sony Xperia M2] galaxyfreak:
Nope. Sensors death.
[Sony Xperia M2] AssoDiPicche:
Super battery draining!!
[Sony Xperia M2] iFlashed:
:(

Enviado desde ni Sony Xperia M2 Aqua (D2403) usando Tapatalk
[Sony Xperia M2] Sharpirate:
Hi! I have Xperia M2 D2303. Many times i tried to install this rom i i failed. So my BL is unlocked. Please can you give detailed instructions how to install this rom? When i try to flash it with CWM it says Status 7. CWM thinks that my device is D2305 and it says "Your device is D2305 and this rom is for D2303".I searched about status 7 and edited the update-script. But this time i get only "Instalation aborted". I think i caused by CWM but is there TWRP for xperia m2 for unlocked bootloader, beacuse i cant find it. So please tell me witch kernel i need to flash etc.
[Sony Xperia M2] galaxyfreak:
You answered yourself: Problem is in CWM. CWM is now depreciated, incompatible with LP.

Here is TWRP you can use. :)
[Sony Xperia M2] Sharpirate:
Thank you for the instant reply! :highfive:

Oh just one more question, on witch firmware should i be to flash this TWRP or doesn't matter?
[Sony Xperia M2] galaxyfreak:
Both KitKat and Lollipop firmware will work.

But you have to flash bootloader via Sony's EMMA tool if you already haven't (Download EMMA, plug in your phone, and you'll see "Open devices bootloader option). :)
[Sony Xperia M2] Sharpirate:
Thanks this is info that i can't get from another place! :)
[Sony Xperia M2] :
Hey Galaxy, thanks for all the hard work, been lurking this thread for quite a few months now.

I'm really sorry for the off topic question, but you're by far the most qualified person to give me an accurate and to the point answer.

I'm also from Croatia, and on your profile I've noticed you're also on T-Mobile. So.... We both have the same phone with the same carrier. I recently updated to the official Lollipop.

I entered the *#*#...#*#* code, and it says "bootloader unlock allowed: No".

Since we have the same phone and the same carrier, did you experience the same thing, and is there a workaround?

Puno hvala i na odgovoru i na trudu glede CM-a :)
[Sony Xperia M2] galaxyfreak:
Sorry, I don't know any workarounds, as my device wasn't locked (off carrier/contract).

:highfive: :)
[Sony Xperia M2] :
Damn you are fast.

I figured there wasn't any, thanks for even replying :)
[Sony Xperia M2] Matze6989:
What are the best gapps for the rom? Because the omnirom running much better but because the GPS does not.
[Sony Xperia M2] galaxyfreak:
Theres a link on first page, and on the post with the build. Which tells me you didn’t look anywhere before asking this.

BTW: running better? Whats measurement unit for that?
[Sony Xperia M2] pawcioo132:
for me CM12.1 latest is so laggy. a have even problem with unlock devices because lockscreen lag, thats why i back to omni rom but its sad for me because i love cm rom much more than other custom rom :(
[Sony Xperia M2] pl@cebo:
When can we expect stable version?

And thnx for all your hard work!
[Sony Xperia M2] Matze6989:
The runs smoother when you have several open apps. When CM12 it then begins with me strongly to stutter and occasionally the phone depends on then.

The is extrem laggy by me.

The omnirom runs quite different with me. Unfortunately, there is not my GPS.
[Sony Xperia M2] zodex:
[MENTION=4635923]galaxyfreak[/MENTION] What sources did you use in BETA#1?

Wysłane z mojego D2303 przy użyciu Tapatalka
[Sony Xperia M2] Mikxx:
Help please

I really want to install this rom i downloaded everything exept the twrp kernel i searched a whole evening but didn't find a link only a cwm with enormous text when i tried to install cm12.1 it said error status 7 i don't know what to do and when i installed the cwm the stock 4.4.4 and stock 5.1.1 firmware it resulted bootloop could anyone post a proper working twrp kernel download link and install instructions please? Ps im on D2303
[Sony Xperia M2] erikcas:
can you try to split up this one sentence into understandable, individual questions? I cannot make anything out of it
[Sony Xperia M2] linuxct:
Why don't you follow the instructions?!

Just:

Upgrade your bootloader with Emma

Flash via fastboot the Cyanogen Recovery (enter pressing and holding Vol- before pressing Power button, then after hitting power button, release it but don't release the Vol- key)

Flash the rom ZIP with that recovery (+gapps if needed)

And enjoy! It's not that hard!

Don't use CWM since it's deprecated, and those recoveries inside a kernel are not a good idea anymore, since we can now use the recovery partition for that.
[Sony Xperia M2] Mikxx:
Thanx for helping i forget about the boot.img was in the zip itself

If i gonna flash the boot.img with fastboot what are the commands?

Sorry for dumb questions i came from Samsung and flashing anything on those devices is way more easy

One more question is an Emma account required and if so is it free to make?
[Sony Xperia M2] quake73:
For Emma to not ask for an account, you need to copy the .ini file in the Emma subfolder in ProgramFiles. (the .ini file that is included in the .zip file you downloaded)

For flashing flashing boot, system or userdata you simply type in a command prompt: fastboot flash boot boot.img (or system/userdata)
[Sony Xperia M2] Mikxx:
I always get error no such file

Or something like that
[Sony Xperia M2] quake73:
Unpack this somewhere: https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!10455&authkey=!AGdT2Jv0C3jGEBY&ithint=file,zip ,

put your boot.img there, open command prompt in THAT folder and you'll be able to flash with fastboot.

(I guess you dont have the fastboot.exe file anywhere)

The easiest way to open a command propmt window in some folder is to locate the folder in windows explorer, pres and hold Shift, right-click in the folder and choose open "cmd window here"

http://www.tech-recipes.com/wp-content/uploads/open-command-window-here.png
[Sony Xperia M2] Mikxx:
Dude ur awesome u helped me so much i wil try this tonight i'll Let you know if it worked
[Sony Xperia M2] quake73:
i'll be glad if I helped but there was no science in what i told you, just elementary instructions :)

and one more thing i forgot...for adb.exe & fastboot.exe to work you must have the drivers for your phone installed correctly, but i guess you know that
[Sony Xperia M2] Mikxx:
I do know this is elementary stuff but im learning every Day i had several phones rooted and custom roms installed but i never bicked a phone, i never had to use cmd window either and yeah i know the D2303 driver is installed and fastboot and adb drivers are installed but do you know the command to navigate to the right folder cuz my notebook is a little messed up(spilled beer on keyboard) :\
[Sony Xperia M2] Th3 Ant:
It works like in DOS

cd "folder name" - moves to calogue (to go one folder up, use "cd .." (cd and 2 dots)

dir - shows everything in current folder

Or you can simply copy files you want to flash to the folder with adb.exe and fastboot.exe. It will be much easier that way.
[Sony Xperia M2] yunior597:
does this rom works on D2305?
[Sony Xperia M2] marco2tiger8:
http://xdaforums.com/showpost.php?p=63199582&postcount=1202

Search before posting, please.
[Sony Xperia M2] sitebaz55:
What about stagefright, can't solve it?
[Sony Xperia M2] ~Patryk:
Can't add widget , "Trebuchet has stopped" :(