yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] iMezouar:
Great release

Thanks !

I'm really excited about getting Lollipop on my Z2 ! Do you think it will be easily rootable ? If so, will you be releasing a rooted firmware ?

Any screenshots please ? :)

Thanks !
[Xperia Z2 Android Development] adyscorpius:
Hey, I'm working on getting the sound fixed.. Hopefully I should be able to fix the ****ty issues around loudspeaker and stuff.
[Xperia Z2 Android Development] cheep5k8:
OK, cool! I'm making some progress with the camera on 3.10.
[Xperia Z2 Android Development] RyTekk:
I can't wait for it but still need more time for the stabilizer, and for the porting of Sony Feature Apps on LP official.
[Xperia Z2 Android Development] cheep5k8:
I've uploaded a new build (it might still be uploading when you read this).

The builds are now based on 3.10.x kernel. Camera is currently not fully working (it's technically partially working, but it's not possible to use it to take pictures).

Video hardware acceleration works, except in the YouTube app for whatever reason. I'm still looking into it.
[Xperia Z2 Android Development] RyTekk:
Did you try DIsable HW Overlay option in Developer tool?

---------- Post added at 03:32 PM ---------- Previous post was at 03:22 PM ----------

And does battery life improve? I saw this post of jerpelea said that.
[Xperia Z2 Android Development] cheep5k8:
I can't really say it improved per se as in a longer battery life–-but it is more steady.
[Xperia Z2 Android Development] adyscorpius:
W/libjingle( 9879): [000:993] Warning(webrtcvoiceengine.cc:495): Unexpected codec: PCMU/8000/2 (110)

W/libjingle( 9879): [000:993] Warning(webrtcvoiceengine.cc:495): Unexpected codec: PCMA/8000/2 (118)

W/libjingle( 9879): [000:993] Warning(webrtcvoiceengine.cc:495): Unexpected codec: G722/16000/2 (119)

E/libjingle( 9879): [000:994] Error(webrtcvideoengine.cc:1559): webrtc: (voe_audio_processing_impl.cc:1001): SetTypingDetectionStatus: not supported

W/libjingle( 9879): [000:994] Warning(webrtcvoiceengine.cc:874): SetTypingDetectionStatus(0) failed, err=8003

E/libjingle( 9879): [000:994] Error(webrtcvideoengine.cc:1559): webrtc: error code is set to 8026

E/libjingle( 9879): [000:994] Error(webrtcvideoengine.cc:1559): webrtc: error code is set to 8026

Do you know what this could mean? I tried fixing the sound in Hangouts, and even though I think the sound routing is happening fine, libjingle seems to either not exist or have a codec issue.

D/audio_hw_primary( 4726): enable_audio_route: apply and update mixer path: low-latency-playback

E/libjingle( 9879): [002:638] Error(webrtcvideoengine.cc:1559): webrtc: Set codec internal FEC failed.

E/libjingle( 9879): [002:638] Error(webrtcvideoengine.cc:1559): webrtc: SetCodecFECStatus() failed to set FEC state (error=10027)

W/libjingle( 9879): [002:655] Warning(webrtcvideoengine.cc:1559): webrtc: (rtp_packet_history.cc:48): Purging packet history in order to re-set status.

W/libjingle( 9879): [002:658] Warning(p2ptransportchannel.cc:812): SetOption(6, 3) failed: 0

Okay, here's a better sounding audio.. Please test if it works fine for you!
[Xperia Z2 Android Development] twy_2000:
I love this rom.

it is quite fast and cool.

once the camera works, i would make it for daily use.

ps1:the tf card(sdcard1) not mounted. the internal storage (sdcard0) is right.
[Xperia Z2 Android Development] fortez:
I used the Rom with 3.4 kernel this day.

I had often crash and reboot :/ but I think

the gapps are the Problem (Google Play, Browser...). which do you use?
[Xperia Z2 Android Development] cheep5k8:
I used Slim Gapps for 5.0.x
[Xperia Z2 Android Development] sh4d1t0:
Excellent! We have 3.10.xx kernel that is awesome. Can you take pictures in RAW or just Jpeg?
[Xperia Z2 Android Development] fortez:
thanks for your fast reply :)

I use the Slim gapps myself.

i try it again with a new install :)

did you come any further with camera and 3.10? :)

and thanks for the really good work.
[Xperia Z2 Android Development] cheep5k8:
Porting the Sony driver to 3.10 is really a bit problematic. The kernel already sees the cameras and Android too, but there is still one problem when trying to access them. I've really tried for the past 2 days now but I'm giving up for now, so I can start with fresh ideas when I get back to it.
[Xperia Z2 Android Development] cheep5k8:
Can't take any pictures yet because camera is not yet working on 3.10 (but everything else pretty much does now).

I've had a look at Sony's most recent kernel 3.10.x branch, and there is code for RAW images. But it will still depend on Sony providing various blobs (and source code maybe) until we can use that. It will probably even depend on Sony to use the camera on 3.10.x at all, since I was not yet completely successful.
[Xperia Z2 Android Development] jsscx:
Could dt2w be available?
[Xperia Z2 Android Development] cheep5k8:
DT2W works. You only need an app to enable it (e.g. M5-Settings works). I'll look into enabling it by default.
[Xperia Z2 Android Development] cheep5k8:
Battery life is much better. I get close to 8h SoT with browsing and listening to music. Will post screenshots later.
[Xperia Z2 Android Development] twy_2000:
does this rom support exfat?
[Xperia Z2 Android Development] cheep5k8:
I'm not yet at the point where I'm adding custom modifications, but if stock Android 5.1 does then so does this ROM.
[Xperia Z2 Android Development] twy_2000:
well, the aosp does not support exfat, which means it cannot mount my exfat sdcard.
[Xperia Z2 Android Development] adyscorpius:
Can you guys test this commit for fixing sound issues?

http://review.cyanogenmod.org/#/c/88638/

The issue with hangouts is a codec or lib issue. And I ain't so good at that..
[Xperia Z2 Android Development] cheep5k8:
OK I will add it.
[Xperia Z2 Android Development] RedSkyRoad:
What does the 3.10 kernel improve?
[Xperia Z2 Android Development] RyTekk:
At the moment, it just improves the battery life, jerpelea is working on it for more enhancement and bugfixes.
[Xperia Z2 Android Development] cheep5k8:
That is not quite true, it doesn't "just" improve battery life. It has updated kernel-space drivers for everything (think Adreno, etc.), etc.
[Xperia Z2 Android Development] twy_2000:
thanks.
[Xperia Z2 Android Development] RyTekk:
Hmm how about charging time? Does it take longer than usual?
[Xperia Z2 Android Development] RyTekk:
One thing that have not been mentioned is the LED light. Does it work? And if it work, will it work fully or not?
[Xperia Z2 Android Development] cheep5k8:
Charging is at least as good as stock, very fast. Notification LEDs work normally.

At some point you just really need to try it out...

EDIT: This is not CM. It doesn't have the same bugs, so please everyone stop asking about CM bugs.
[Xperia Z2 Android Development] Farooq95:
Currently unhappy with stock lollipop . will be moving to this by the end of the week.
[Xperia Z2 Android Development] benjmiester:
I couldn't get gps to work at all, even in device only setting. Any tricks I should know? (3-21 build) Great rom otherwise, very snappy! I'll keep trying it.
[Xperia Z2 Android Development] cheep5k8:
Strange that it doesn't work at all for you. For me it works only with GPS satellites, and even then it is very slow to get a lock (but it eventually gets it).
[Xperia Z2 Android Development] benjmiester:
I did only try it inside my apartment (on the 1st floor of a 3 story building). I'll give it another try tonight, and go outside and try it. Everything else seemed good.
[Xperia Z2 Android Development] kokesh:
Do you know, if Sony included Camera2 API in 5.1 binaries?
[Xperia Z2 Android Development] twy_2000:
gps won‘t work in doors.

anything like walls will cut the signal off, which is from the satellite in aerospace.
[Xperia Z2 Android Development] benjmiester:
It always has before. I also tried it again tonight though, and it doesn't work outside either.

I also couldn't get data on T-Mobile. (D6503). Back on blisspop for now. GPS and data working no problem. I'll wait for another build.
[Xperia Z2 Android Development] RyTekk:
Latest build is on 21/03, was it included 20/03 binaries from Sony?
[Xperia Z2 Android Development] CrazyGamerGR:
if there was a mirror whould be very helpfull :/ i wanna test this rom so much
[Xperia Z2 Android Development] cheep5k8:
Binaries are L_MR1_v2
[Xperia Z2 Android Development] RyTekk:
How about your processing on the camera? According you, AOSP 5.1 is seem more better in battery life than Official Sony (even with Stamina) but my girlfriend will kill me if my phone doesn't have the camera LOL, and the GPS, I really need it to don't forget the direction to my home. Try your best :)
[Xperia Z2 Android Development] adwinp:
[MENTION=4867279]cheep5k8[/MENTION] - don't know if this was mentioned, but additionally:

- audio calling via BT doesn't work - the call is initiated, but there's a silence on the line. Mixer paths? flags in audio_policy.conf?

- there's a bug with wifi - the MAC address is changed upon each reboot; Alin has a commit which fixes this:

https://github.com/sonyxperiadev/de...d356865#diff-3b27725fa91399ccbb4e4e7a2f8ccff8

Dunno where to get the tool though ;]
[Xperia Z2 Android Development] cheep5k8:
For me calling via BT works -- but it sounds horribly distorted. I hope I can fix it with configuration only, because once you start digging in actual code.. you never get out of it :D

Thanks for both tips.
[Xperia Z2 Android Development] RyTekk:
[MENTION=4867279]cheep5k8[/MENTION] where is changelog?
[Xperia Z2 Android Development] RedSkyRoad:
Is this ROM still being developed?
[Xperia Z2 Android Development] bluheart:
Yes! It was last updated on 26-3!
[Xperia Z2 Android Development] RyTekk:
Try AOSP from FXP, they said that the kernel 3.10 has been stabled.
[Xperia Z2 Android Development] werwortmann:
This rom dead?
[Xperia Z2 Android Development] yot2703:
when update? :(
[Xperia Z2 Android Development] cheep5k8:
You can simply flash SuperSU, it works. I used version 2.45.
[Xperia Z2 Android Development] iMezouar:
That's great news !

Thanks mate :)
[Xperia Z2 Android Development] Ambor:
this is for LB or UB
[Xperia Z2 Android Development] xrenoix:
for unlock bootloader !!!
[Xperia Z2 Android Development] RyTekk:
How? We have no recovery on AOSP.
[Xperia Z2 Android Development] tejaswi.rohit:
I guess you'll have to change a few build flags before you can use 4.3 stack directly. If I'm not wrong from what I've learnt using 4.3 stack before to build 4.4 was they use VECTORIMPL_SYMBOLS which needs to be mentioned in the build flags.

Here is the full build flag: COMMON_GLOGAL_CFLAGS += -DNEEDS_VECTORIMPL_SYMBOLS

Just adding the flag is no good either. You'll have to make changes to the android system core. I used CM11 Android System Core from github and made a build. But had to make certain changes to SELinux that showed up while building. Try your luck using the system core of CM12 to build 5.1, small edits will be required but those are easy to fix the when build crashes :P

P.S. I couldn't make the camera work when I was building, I needed kernel implementation of camera drivers. If there's a way to use cm12 kernel to boot AOSP you'll have a working camera implementation in the kernel itself. Hope this helps. All the best for your build :D
[Xperia Z2 Android Development] lonely2k5:
My test of the build (if compared to cm12/5.0.2):

+

+ super fast (without gapps boot time is about 5 sec, with gapps 8sec)

+ supersu works with no problems

+ no lag when calling

+ no lag when answering

+ wifi, data all works ok

+ led notify all ok

-

- clock, alarm has problems (FC sometimes)

- camera as mentioned before FC
[Xperia Z2 Android Development] dkionline:
No 5.1 Gapps, Need to wait for it.
[Xperia Z2 Android Development] adyscorpius:
In addition, loudspeaker in call doesn't work. Will need to be fixed with the commit in cm12.
[Xperia Z2 Android Development] Mikey94:
I think there was no official commit. infected_ fixed it himself, but not perfect, beacuse the called person can here themselve very loud...
[Xperia Z2 Android Development] Karl-Johan:
Gapps are available here: http://xdaforums.com/paranoid-andro...oogle-apps-t2943900/post59403724#post59403724
[Xperia Z2 Android Development] dkionline:
thanks, thats awsome.

Only Bugs for the Moment: NFC doesnt work and 4G not included. Aha, and camera ^^.
[Xperia Z2 Android Development] cheep5k8:
4G does work, but the setting is missing (I'll include it in the next build).

Try this:

- Go to the dialer

- Dial *#*#4636#*#*

- A menu will automatically open

- choose the first menu item

- Then scroll down for the spinner

- There select "LTE/GSM auto (PRL)"

aaand you're on LTE.

Screenshot: [IMG="Mobile settings"]http://i.imgur.com/Sig0Ipl.png[/IMG]
[Xperia Z2 Android Development] Mikey94:
Are you working on a flashable zip or will we have to flash next build through fastboot? :D
[Xperia Z2 Android Development] Karl-Johan:
Running 5.1 and Gapps now and it's working great, but got a few questions.

How do I update to a newer image once it's out? Keeping all data.

Do I have to reflash Gapps after update or do they stick?
[Xperia Z2 Android Development] dkionline:
With flashable zips they should stick after update. If Titanium Backup is updated the restore of data should work.
[Xperia Z2 Android Development] cheep5k8:
I'm already in the progress of making a new build that is flashable via ZIP.

As for reflashing Gapps, it's going to be like with any other ROM (I think PA has a way to preserve Gapps, I'll look into that at some later point).
[Xperia Z2 Android Development] Mikey94:
Will try it, when zip is available :D
[Xperia Z2 Android Development] ombheembush:
I am on Xperia Z3 and I am jealous. Hope someone ports it to Z3 soon. Great work cheep5k8
[Xperia Z2 Android Development] werwortmann:
Noob question,

I started with a pure unlocked, unrooted Z2.

Unlocked the boot loader

I then installed the img files via fastboot.

All good, aosp runs great.

But how to I install gaps now?

Do I first need to install a custom recovery and if so how?
[Xperia Z2 Android Development] peddarson:
Flash a kernel with a recovery (for example cm12) and then flash gapps. Afterwards you have to flash the aosp kernel again (kernel always with fastboot)
[Xperia Z2 Android Development] Mikey94:
Flash another Boot.img with recovery, Flash gapps and Flash back the Stock Boot.img :)
[Xperia Z2 Android Development] werwortmann:
Any specific boot.img you would suggest?

Thanks for the help
[Xperia Z2 Android Development] Mikey94:
Go to infected_s cm12 thread Go to download, folder "Boot fix" and download the img file. So you dont have to download a full Rom.

---------- Post added at 07:06 PM ---------- Previous post was at 07:05 PM ----------

http://www.infectedbuilds.ne:rolleyes:t/downloads/sirius/cm_12/tmp_boot_fix/

I think it includes a recovery. If Not, Flash twrp to the recovery Partition.
[Xperia Z2 Android Development] cheep5k8:
You might be able to simply boot the recovery from fastboot without needing to flash it by using "fastboot boot openrecovery-....." (for TWRP). Please make sure you use at least 2.8.5.x for Lollipop.
[Xperia Z2 Android Development] cheep5k8:
I can make a build for Z3 easily, but I won't be able to test it... still interested? :P
[Xperia Z2 Android Development] Mikey94:
No he isn't interested, cause we want it for our Z2 :laugh::victory:

How the progress? Need some help? :)
[Xperia Z2 Android Development] ombheembush:
Yes, I can test it. But please don't brick my phone [emoji1]
[Xperia Z2 Android Development] cheep5k8:
Bricking is unlikely, I pretty much know what I'm doing ;)

It might just not boot at all (?) or some stuff might not work. But as long as you're handy with fastboot there's really nothing that can go wrong; I will use the 3.4 kernel so we'll be safe.

I am working on 3.10 kernel for Z2 right now, but once that's done I'll start a 5.1 build for the Z3.
[Xperia Z2 Android Development] AlanDS:
Anybody tested internet calls with this ROM? Whether sound from Viber/Skype can be heard in phone's internal speaker(earpiece)?

This is a well known bug on all Z2 5.0 ROMS including CM12. Still not fixed..
[Xperia Z2 Android Development] ombheembush:
Thank you, let me know how that goes.
[Xperia Z2 Android Development] cheep5k8:
New build will be coming today with following changes:

- LP memory leak fix (thanks to PA developers; my modified android_frameworks_base is here: https://github.com/md5555/android_frameworks_base)

- Uses TeamEOS skia (thanks)

- NFC fixed

- LTE setting available

- Flashable as ZIP
[Xperia Z2 Android Development] xrenoix:
good news

multirom is possible with Flashable as ZIP ??? thank's
[Xperia Z2 Android Development] cheep5k8:
I don't really know, and I don't have MROM installed myself, so I can't really test.
[Xperia Z2 Android Development] xrenoix:
thank's

oki thank's im test for you !!!
[Xperia Z2 Android Development] cheep5k8:
OK new build is uploaded! Please report after testing!

EDIT: It works fine for me but please report as well
[Xperia Z2 Android Development] werwortmann:
Does the new uplaod use the 3.10 kernal yet?

Awesome effort, thanks for it
[Xperia Z2 Android Development] cheep5k8:
Nope, it's still 3.4 kernel. I've tested a build with 3.10 and it wasn't a very pleasant sight, but I'm on it.
[Xperia Z2 Android Development] werwortmann:
Build runs nice and smooth for me,

just get an error timekeepreceiver has stopped occasionally

Thanks again
[Xperia Z2 Android Development] cheep5k8:
Yeah the timekeepreceiver is someting that Sony added, which I didn't really notice. I'm already on its toes...
[Xperia Z2 Android Development] xrenoix:
multirom

not work in multirom with your zip + UPDATE-SuperSU-v2.46.zip + pa_gapps-modular-micro-5.1-BETA2-20150313a-signed.zip !!!
[Xperia Z2 Android Development] cheep5k8:
Oh, I'm sorry. I will occasionally install MultiROM and see if I can fix this.
[Xperia Z2 Android Development] cheep5k8:
BTW if you're having minor issues with audio (notification sounds stuttering etc.), edit build.prop and set fluence for speaker to "false", and reboot.
[Xperia Z2 Android Development] dkionline:
Maybe myself5 can build a first alphakernel with kexec hardboot.

As of my testings, playing videos is halfbroken without right driver support. Tested with mx player.
[Xperia Z2 Android Development] Atntpt:
You said camera fix would be included in New build, is it? Wana test but camera is a must for me
[Xperia Z2 Android Development] cheep5k8:
I never said camera will be fixed in this build (where?). I am able to load the camera HAL but the kernel is still missing some stuff.
[Xperia Z2 Android Development] Atntpt:
Misunderstand sory :( my bad, hope you you can fix it!!! thanks for This Rom,was wating for pure AOSP
[Xperia Z2 Android Development] kumbangdesa:
Testing this rom.

1. Nice simple Bootanimation.

2. Appear Unfortunately, TimeKeepReceiver has stopped. (err..no idea what is this?)

3. When touch music it very lag and then appear "music isn't responding.

4. Ext sd card not appear in file manager.

5. Phone reboot many times.

6. Can't enter the recovery. ( I flash twrp recovery using rashr flashtool )

Can you fix that?.. thanks
[Xperia Z2 Android Development] cheep5k8:
The sound stuff is a bit broken, I have it fixed locally already, will be in next build. I never had it reboot on me yet, so it's a bit hard to fix without it happening here

TimeKeepReceiver is something Sony added to the build, I don't know what it is.
[Xperia Z2 Android Development] cheep5k8:
Making progress on the camera. The camera HAL loads, and cameras get detected, however I can not yet get a picture. But, good progress for a few hours.
[Xperia Z2 Android Development] Isley_:
Thanks for your hard work.
[Xperia Z2 Android Development] hiemar1:
Great job and a wonderfull bootanimation.

Can i have there as ZIP folder for my 5.01.

Thanks
[Xperia Z2 Android Development] cheep5k8:
Sorry but what?

Also, in other news, I've got the flashlight/torch working, which is already something.
[Xperia Z2 Android Development] tOrNadO™:
You mean like a flashable zip?
[Xperia Z2 Android Development] cheep5k8:
No, the flash LED / torch is working.

EDIT: wat
[Xperia Z2 Android Development] hiemar1:
Could I get the boot animation without operating system? Would she like to play on my other phone with android 5.0
[Xperia Z2 Android Development] cheep5k8:
OT
[Xperia Z2 Android Development] maloy0712:
who knows how to put this firmware 5.1 Ruth?
[Xperia Z2 Android Development] cheep5k8:
Just flash SuperSU.
[Xperia Z2 Android Development] maloy0712:
try does not work! writes a mistake!
[Xperia Z2 Android Development] cheep5k8:
What version did you use? I have 2.45 on my phone which is what I use to flash.
[Xperia Z2 Android Development] _delice_doluca_:
If a version with working camera comes, I believe no Z2 owner on this forum will ever use stock Sony nor CM derivatives..
[Xperia Z2 Android Development] _heisenberg:
Has the battery life much improved since 5.0.1? Because it was not that good with 5.0.1 for me.
[Xperia Z2 Android Development] Haldi4803:
Works fine if flashed on its own.

Sadly with stock 4.4.4 main you cannot use it in Multirom :( stuck in boot logo.
[Xperia Z2 Android Development] cheep5k8:
I'm working on it, with already partial success (cameras are recognized, torch/flash is working).
[Xperia Z2 Android Development] cheep5k8:
I have the feeling (but I didn't make exact measurements) that it has improved over 5.0.x, although it wasn't that bad for me on 5.0.x with either AOSPA or SlimLP (might have been worse on CM).

EDIT: Might improve still with 3.10.x kernel but that is not quite ready yet.
[Xperia Z2 Android Development] cheep5k8:
Good news, everyone. The camera is working!

Will release a new build very soon.
[Xperia Z2 Android Development] Mikey94:
Tried latest build and have problems with Wifi. The password is lost after every reboot and i get random reboots and wifi connection loss.

ROM is smooth, but not stable. Also Time ist lost after every reboot (tells whatsapp.) I think its lost while booting, cause after booting up, clock time is correctly synced. Maybe this relates to the timekeep receiver FC?
[Xperia Z2 Android Development] adyscorpius:
Cool.. See if you can include the voip and loudspeaker fix in the latest cm commits. Will make this a complete rom... :)

http://review.cyanogenmod.org/#/c/91312/

http://review.cyanogenmod.org/#/c/88975/
[Xperia Z2 Android Development] werwortmann:
I had the exact same issues.

Glad this hear the camera is going, please keep up the good work and make this an awesome daily driver
[Xperia Z2 Android Development] cheep5k8:
OK... I'm techinically still at work, will have a look this evening.

EDIT: oh, but those look trivial to merge. allright.
[Xperia Z2 Android Development] cheep5k8:
I will revert timekeeper, this is something Sony added which I think belongs into a 5.1/3.10.x kernel build which I've accidentally included.
[Xperia Z2 Android Development] deezid:
Exactly the same bugs earlier cm12 builds for Sirius had in November and December. Don't know exactly when these were fixed. :(
[Xperia Z2 Android Development] cheep5k8:
Well I must say I never had it spontaneously reboot on me yet. It would be great to know how to reproduce that. Also never had WiFi loss.
[Xperia Z2 Android Development] deezid:
That's good news. Will try your build in the evening when I'm at home.

WiFi loss happened quite often in earlier cm12 builds. My phone was permanently switching between WiFi and 3g/LTE.

Don't know when the fix was included and who did it...

WiFi also was the reason for the phone getting incredibly hot and finally reboots if NOT activated at boot as far as I remember.
[Xperia Z2 Android Development] cheep5k8:
Doesn't happen on this ROM. Must be something that was fixed in 5.1 I think.
[Xperia Z2 Android Development] Alhaddad:
it's been pulled from this thread.... any one have it? upload it please

or this might work

https://www.androidfilehost.com/?fid=95916177934542100

https://www.androidfilehost.com/?fid=95916177934542294
[Xperia Z2 Android Development] cheep5k8:
5.0.x gapps work fine though, they will eventually update. EDIT: I use SlimLP Gapps as that was my previous ROM.