yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] ChuckMcB:
I Just downloaded and played the flac files without problem. Used the default cm player on 28th build.
[Xperia Z2 Android Development] kcajjones:
I've tried builds between 27th and 30th and the music player seems to crash when trying to play music on the stock player or Google music app.

I've formatted the sdcard and verified the music works on my pc but it still seemingly randomly won't play moat of the songs on my phone.
[Xperia Z2 Android Development] jackq:
Optimizations are back? Asking because of zip size +20MB
[Xperia Z2 Android Development] kokesh:
They should be there all the time.
[Xperia Z2 Android Development] XMoDuLeSx:
I am having the weirdest problem, i was on 5/22 then i updated to 5/29 and noticed that my WiFi keeps turning on/off constantly, first of all i got an failed to connect to network error then if device would connect at all, it only stays connected for less than 15 seconds. i tried using 3rd party apps to fix this issue, did a full wipe and updated to 5/30 and then since the problem still existed, i switched back to stock D6502_23.1.A.1.28 [my device variant is 6502]. not to mention the problem is still there. Can anyone help me?

[MENTION=5093444]Aeonxul[/MENTION] Flash .28 ftf uncheck data,cache,applogs also exclude partition,ta,system :good:
[Xperia Z2 Android Development] Luc.Nex:
[MENTION=1077833]infected_[/MENTION] anything concerning the iso bug in the camera?(Camera lags when trying to control the iso)

I remember couple of months ago you or [MENTION=3506409]cdesai[/MENTION] said there was a breakthrough in the camera..so how is that going?
[Xperia Z2 Android Development] Mikey94:
Will this commit fix the issue, that the device is shutting down instead of rebooting?
[Xperia Z2 Android Development] Aeonxul:
[MENTION=6527580]XMoDuLeSx[/MENTION] Thanks, i really appreciate it. I can not flash right now but will do asap. I really hope this would fix it, though i flashed .726 yesterday and nothing changed. I am out of ideas and options about what to do, kinda makes me think it's a hardware defect. Anyways, will report back here, thanks again.
[Xperia Z2 Android Development] deepongi:
i think its only applicable when you use the in-built CM Updater, to update to next nightly.
[Xperia Z2 Android Development] peddarson:
Found two little bugs for me: changing eq does not work nor connecting bluetooth to a bluetoothdevice.

Edith: got it to work. Needed sereval times to connect. With bluetooth also eq works...
[Xperia Z2 Android Development] poncho18:
Hi!

Bug with writing to sdcard for apps fix?

Or maybe need clean install new version?
[Xperia Z2 Android Development] deepongi:
known issue.

NextApp SD Card fix apk - Play Store.
[Xperia Z2 Android Development] kokesh:
Get this: https://play.google.com/store/apps/details?id=nextapp.sdfix&hl=en (and use it!)
[Xperia Z2 Android Development] poncho18:
Thanks, I know this method, but
[Xperia Z2 Android Development] deepongi:
uninstall it, remove its entry from the superuser, reboot, install, apply.
[Xperia Z2 Android Development] Aeonxul:
Dear [MENTION=1077833]infected_[/MENTION], i am facing a really disturbing wifi connectivity issue on my phone (d6502), which i tried to explain in this topic:

http://xdaforums.com/xperia-z2/help/weird-wifi-connectivity-problem-t3126106

Long story short, i can only connect to wifi normally only one official .314 firmware (4.4.2), and your customized CM12.1 build 05/22 and previous build (even older CM12 build working flawlessly) and probably kitkat too. But when i flash official 5.0.2 .726 or .28 or newer CM12.1 releases such as 05/25 or later releases, wifi signal is constantly searching for networks and if it would connect after some time, it only stays connected for 10-15 secs maximum. Also name of networks or SSID's keep appearing and suddenly disappearing in the wifi section and it shows that wifi is searching..... thus, it's impossible to stay connected to a network.

So i am deeply confused on what is causing the problem and how can i fix it. I just wanted to ask if it's possible for your to see if wifi/baseband driver has been changed from build 05/22 to something else in newer builds (such as 06/2) and if you could provide me with a flashable zip for patching build 05/22 wifi driver on the newer builds so i could at least stay updated with latest CM 12.1 releases.

Also if you have any suggestions on how to fix this issue i'd really appreciate it. Thanks in advance.
[Xperia Z2 Android Development] XMoDuLeSx:
[MENTION=5093444]Aeonxul[/MENTION] u flashed the baseband modem from the stock ftf with flashtool?
[Xperia Z2 Android Development] Aeonxul:
No, i did not flash any base-bands separately from the ftf package. But i did manage to overcome my problem by flashing a d6502 baseband patch. When i flashed existence y patch for d6502 (6502_Baseband_V2) on cyanogen or stock 5.0.2 i still had problem with wifi connectivity. but i found a d6502 patch by Envious and for Envious roms (D6502 Patch, which seems to be older), and i flashed it over the previous baseband patch and voila, it is solved. I have wifi working again.

----

Now i have another issue with music play back, i have tried different music players and non of them can play my mp3's (google play music, CM music, music player folder,...). i dunno if it is related to Cm or my device. (oddly enough, mx player can play all of my files in audio mode without any problem).
[Xperia Z2 Android Development] deepongi:
optimizations, optimizations..! :cool:

https://github.com/infected-lp/android_build/commits/saber

https://github.com/infected-lp/android_kernel_sony_msm8974/commits/saber

https://github.com/infected-lp/vendor_sm/commits/saber

the builds grew 20MB since my last set of optimizations (20150518) .. :D

screens in attachment. full stock "speeds" (governor, cpu speed, i/o sched)..

damn, those 45k are close...
[Xperia Z2 Android Development] beinartas:
45k here :) Latest build.
[Xperia Z2 Android Development] deepongi:
nice! :cool:
[Xperia Z2 Android Development] RyTekk:
Sky A910 which is owned by my friend must be OC to 2.5GHz to it can gets this score LOL
[Xperia Z2 Android Development] Private Snowball:
Hi. After flashing yesterday's build, my twrp is gone and replaced by the Cyanogen recovery. Reinstalling the twrp recovery with the app from playstore, does not replaced the Cyanogen one. Any suggestions?

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] Borz93:
Flash recovery.img via fastboot, or download the twrp.img and using KernelAdiutor app>backup>flash img, and select img. This form works for me (using M5 kernel)

EDIT: When selections twrp.img, select fota.

Enviado desde mi Xperia Z2 usando XDA Forums
[Xperia Z2 Android Development] Private Snowball:
Before tried your hint, I flashed 06.05 build and twrp was back... Weird XD

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] Myself5:
Do you use MultiROM TWRP recovery by any chance? If so, [MENTION=1077833]infected_[/MENTION] most likely fogot to pick the LZMA compression compatibility commit in the latest build.
[Xperia Z2 Android Development] deepongi:
nop. i am using MR, and its working fine.
[Xperia Z2 Android Development] Private Snowball:
I'm using the twrp provided by the twrp app from playstore. I don't think it's a multirom version

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] foten21:
UB or LB?

thanks
[Xperia Z2 Android Development] deepongi:
ub.

regards.
[Xperia Z2 Android Development] Destroyedbeauty:
UB
[Xperia Z2 Android Development] Private Snowball:
UB

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] _heisenberg:
Hey guys, I can't get a good battery life on this ROM. If there is anyone who is willingly to help me, here a some screens from better battery stats.
[Xperia Z2 Android Development] Bn Waheed:
to update the rom i need to redo the process "Wipe and re install with gapps" or just install the new zip?
[Xperia Z2 Android Development] Private Snowball:
Install rom, wipe cache and dalvik. No additional gapps flashing needed. If you use xposed u have to reflash the xposed zip

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] ChuckMcB:
Anyone else notice that that last couple of builds are missing the email app?
[Xperia Z2 Android Development] Private Snowball:
Yep, it's gone. But i don't miss it. There are way better email apps out there

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] peddarson:
If i remember right,cyanogen mod stated this months ago. They wanted to switch to boxer.
[Xperia Z2 Android Development] ChuckMcB:
Cheers for the info guys. Losing exchange support is a deal breaker for me. I'll sit tight on my 0806 build until Boxer gets integrated (or drop 9.99 to buy the pro version).
[Xperia Z2 Android Development] t-r-e:
is the camera key still doesn't work properly in cm ( hold to start camera , half press to focus , full to capture) ?
[Xperia Z2 Android Development] _heisenberg:
Full to capture works. The others dont.
[Xperia Z2 Android Development] icegustpl:
in camera fv-5 half press for focus is working

Wysłane z mojego Xperia Z2 przy użyciu Tapatalka
[Xperia Z2 Android Development] Private Snowball:
Tested it and i can confirm, this App works like a charm! The camere button in app works perfect. Anyone an idea how to bind the button outside the app to start an application?

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] LAKAME_MAN:
Tasker could work. I've managed to get it to work on stock (had to disable disable the stock camera using the app Autostarts) but I couldn't get it to work when the screen is off. You might get better results, tho :)
[Xperia Z2 Android Development] swayamprakash2001:
Exchange support is there on Gmail by default, as such i am sure many of us have shifted to using the Gmail app for all email needs rather than using 2 separate apps. I mean unless support is lost completely i don't see this as an issue.
[Xperia Z2 Android Development] ChuckMcB:
[MENTION=6016906]swayamprakash2001[/MENTION]: Cheers, I'll look at GMail app again. Last time I did it supported IMAP but not Exchange. While I like keeping my two sets of email accounts separate (separate sync settings at the weekends) if they have to live in the same account for a while so be it.
[Xperia Z2 Android Development] swayamprakash2001:
If your Gmail app is not showing the exchange option, it means the exchange services service/apk is missing, both the email app and gmail require the exchange services to be present, the just install this(http://www.apkmirror.com/apk/google...ge-services-6-5-1791555-android-apk-download/) and the option will show up(if it isnt already), ensure you have the latest gmail app.
[Xperia Z2 Android Development] beinartas:
Anyone else have noticed strange bug on latest nightly? - notification drawer always shows "Emergency calls only". However it looks like calls are actually working, all OK with SMS and internet.
[Xperia Z2 Android Development] _heisenberg:
Ive got strange issues: After 7 Seconds the Music APP stops playing and closes. In gplay Music it says that there was a "Error during playback". How to fix this?
[Xperia Z2 Android Development] Private Snowball:
Don't know why, but today's build, won't let my Phone go to deep sleep. Battery was empty after 7 hours.. Reflashed yesterday's build and everything is good

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] ChuckMcB:
Guys, can you please use the exact built dates when reporting issues. 'Latest' or 'today's' causes problems since we are all in different time zones.
[Xperia Z2 Android Development] Private Snowball:
Sorry, i was talking about the build from 19.06

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] ChuckMcB:
[MENTION=5417430]_heisenberg[/MENTION] Not happening to me in 12.1-20150620 build. Upgrade and if it still happens time to hit google and see if others are having the same issue.

[MENTION=4935765]Private Snowball[/MENTION] 12.1-20150620 seems ok, my phone is deep sleeping fine.

20150621 - seems like a bad build. I was getting black screen when hitting the apps, recent button, phone dialer. Had to reboot to get the phone usable again. Dirty flash of 20150620 had the same. Roll back to my last backup.

20150623 - seems stable again.
[Xperia Z2 Android Development] deepongi:
edit:

infected server is online and updated with latest build.
[Xperia Z2 Android Development] Private Snowball:
Why is 29. Build so small?

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] deepongi:
.

incomplete upload. im reuploading it.
[Xperia Z2 Android Development] dkionline:
Jump to 5.1.1r5 maybe?
[Xperia Z2 Android Development] kokesh:
I guess we are already using it?
[Xperia Z2 Android Development] swayamprakash2001:
If I am not wrong, we are still on 5.1.1_r4,remember reading the announcement from cm team last week saying they will soon merge the r5 changes. [MENTION=1077833]infected_[/MENTION] can confirm what I'm saying..
[Xperia Z2 Android Development] deepongi:
yes, we are on android 5.1.1_r5 already.
[Xperia Z2 Android Development] swayamprakash2001:
[MENTION=1077833]infected_[/MENTION] the ROM title still says 5.1.1_r4,maybe if you could update that, these doubts will be cleared..Nvertheless thanks for clearing the air.

Edit: Title updated, that was quick.
[Xperia Z2 Android Development] deepongi:
and i will have to update again on next build (20150701).

im syncing AOSP with the tag 5.1.1_r6 already.

* [new tag] android-5.1.1_r6 -> android-5.1.1_r6
[Xperia Z2 Android Development] Ninelpienel:
How can I update from an older version (12.1-20150520 to 12.1-20150701)?

When I use the updater in the android settings, it doesn't install.
[Xperia Z2 Android Development] kokesh:
That would install other, the official version.

Download from infected's server (in OP), save somewhere in the phone and flash the zip.
[Xperia Z2 Android Development] kokesh:
Have you wiped your device before flashing? I didn't when moving to 12.1 and had the same. It worked after reboot, but stopped working after some account if disconnecting and reconnecting. Didn't happen since I did full wipe. I've got also D6503.
[Xperia Z2 Android Development] skuko:
searched the thread, nothing came up, so....

the camera up is unable to save photos on SD card, only internal storage. what gives?

thanks
[Xperia Z2 Android Development] deepongi:
use a third party camera. try "camera fv-5", you might like it.

regards.
[Xperia Z2 Android Development] RAM GUY23:
Can i get ios Emoji with CM rom?
[Xperia Z2 Android Development] deepongi:
find a keyboard that has them, and install it. dont ask me how they will show (design/graphics wise) on the receivers phone.

regards.
[Xperia Z2 Android Development] _heisenberg:
If you want to use the default Camera use folder Mount. It mounts an SD folder to the internal storage.

This is my setup:
[Xperia Z2 Android Development] _heisenberg:
There is an APP called emoji changer vor sth. like that. You can change it system wide with it.
[Xperia Z2 Android Development] kokesh:
Decided to take a peek on stock 5.0.2. Of course I'm back, but I have a problem: no APNs. I did full wipe. I had to add the APN manually. Anyone had the same problem?
[Xperia Z2 Android Development] bluheart:
Or flash the sd-card update by Androplus which will allow you to save on sd

Sent from my Xperia Z2
[Xperia Z2 Android Development] kokesh:
[MENTION=1077833]infected_[/MENTION] incomplete upload for 0704.
[Xperia Z2 Android Development] deepongi:
thanks, its fully uploaded now.
[Xperia Z2 Android Development] RAM GUY23:
Flashed the rom but forgot to flash gapps. How can i flash it afterwards please?

The built in recovery gives me error and fastboot not working for me, says waiting for device...
[Xperia Z2 Android Development] _heisenberg:
Install drivers for xperia z2 via Sony's official site. Then flash twrp via fastboot.
[Xperia Z2 Android Development] RAM GUY23:
Will try! thanks, i will tell how it goes! :)
[Xperia Z2 Android Development] RAM GUY23:
Installed drivers but still same problem?

edit: FIXED it thanks!
[Xperia Z2 Android Development] _heisenberg:
I still have massive audio playback issues with the 3.06.15 build. Sometimes audio playback Stopps when I unlock the screen or some songs even won't play. I did not install any root apps except titanium backup and greenify. (No Xposed) On stock rom everything plays fine, even the songs where the player in CM crashes. I tried the default music app, gplay music and rocket player. Same issues everywhere.
[Xperia Z2 Android Development] diabole:
I also have audio problems. Specially with CloudPlayer an tunein radio
[Xperia Z2 Android Development] _heisenberg:
Sometimes, for me, also the Music app crashes and after that every other app doesn't detect any music anymore. I have to reboot the phone until I can hear music again. I don't know by what this is caused.
[Xperia Z2 Android Development] diabole:
Same here. Audio playback seems to work in poweramp, but i play my music mostly from cloud storage so have no use for poweramp any more.
[Xperia Z2 Android Development] deepongi:
why are you using a build that is more than a month old?
[Xperia Z2 Android Development] kokesh:
Eating popcorn, waiting for the answer :)
[Xperia Z2 Android Development] diabole:
My audio problems appear in 0107 till today's build
[Xperia Z2 Android Development] deepongi:
seems ok to me.

how can i replicate the sound issue?
[Xperia Z2 Android Development] diabole:
Very good question, try to play a audio file in Stock player or CloudPlayer ☺
[Xperia Z2 Android Development] deepongi:
already answered on my previous post. audio is normal to me, including mp3 playback on Eleven and streaming on Spotify.
[Xperia Z2 Android Development] diabole:
Sry missed that. I'm not sure how to make a logcat but here is one. Hope you find out something https://www.dropbox.com/s/66h9rhcbi5bf3n1/logcat_and_device_info.zip?dl=0
[Xperia Z2 Android Development] _heisenberg:
Typo. Meant 3/07/15
[Xperia Z2 Android Development] deepongi:
http://pastebin.com/bEyLDfZU

^^ seems theres something fishy there... ill talk to [MENTION=3506409]cdesai[/MENTION] and show him this.
[Xperia Z2 Android Development] _heisenberg:
Hey, I've got another strange problem. I can't select any alarm tones or notification tones. They just don't show up on the selection menu. (See attached picture). The weird thing is that the /system/media/audio/alarms/ folder is full of ringtones. I didn't do any upgrade at all, just installed the "old" 3.07.15 version again. Before the reinstall everything worked fine. Did a full wipe.
[Xperia Z2 Android Development] _heisenberg:
Edit: Picture added
[Xperia Z2 Android Development] deepongi:
its fine here...
[Xperia Z2 Android Development] RAM GUY23:
[MENTION=1077833]infected_[/MENTION] whick theme u use?
[Xperia Z2 Android Development] vavill:
I figure out why mx player can't use HW+ decoder. Because of libomxvdec.so. I try to build a libOmxVdec.so use cm11 source. And HW+ works. I think it is something wrong with vidc/vdec/ .
[Xperia Z2 Android Development] deepongi:
lst time i used mx player on cm12.1 it had h/w+ support. let me check on my phone, with latest mx player.
[Xperia Z2 Android Development] deepongi:
normally i am on stock theme, but when i come across one that i like, ill test it.

Flat Colors theme, Saturn theme and dark stock

edit: just noticed now testing that the Saturn theme, the sound settings icon is not themed.
[Xperia Z2 Android Development] deepongi:
mx player pro 1.7.41 has h/w decoder support.

screen in attachment..
[Xperia Z2 Android Development] kokesh:
He wrote about HW+, that's different from HW.
[Xperia Z2 Android Development] deepongi:
elaborate please then about the differences.
[Xperia Z2 Android Development] kokesh:
From MXPlayer's FAQ:

What are the differences between HW and HW+?

HW decoder plays video(s) using stock media framework whereas HW+ decoder plays video using MX Player's own media framework. In general, HW+ decoder can play more videos than HW decoder. However, some devices may not support HW+ yet and some videos may not be played properly.Volume can be increased up to 200% and background playback feature can be utilized with HW+ decoder.HW+ decoder is disabled by default but can be activated on Settings > Decoder screen. This activation menu will not show up on unsupported devices.

Why my device cannot use HW+ decoder?

HW+ decoder requires Android 2.2 (Froyo) and newer version.Most HW+ decoder related failures are due to the customization of Android media framework by device manufacturer(s) or chipset manufacturer(s).Sometimes hardware decoder needs to read system file (i.e. /system/build.prop) to check device configuration. If you changed mounting permission of system partition, return its default condition.*
[Xperia Z2 Android Development] deepongi:
Thanks for the fast reply telling the differences.

yeah, i had the option deactivated, thats why i couldn't choose it while testing.

after enabling on decoder settings, its clear the h/w+ decoding its not possible (screen in attch), without the "hack" posted previously.
[Xperia Z2 Android Development] kokesh:
[MENTION=1077833]infected_[/MENTION] - is this commit included in todays build? The Camera button support http://review.cyanogenmod.org/#/c/100377/
[Xperia Z2 Android Development] deepongi:
yes.

commit was merged at Jul 9, 2015 12:46 AM

and todays build was compiled at 07:11 AM
[Xperia Z2 Android Development] vavill:
Here is my libOmxVdec.so http://pan.baidu.com/s/1o6BWkOi
[Xperia Z2 Android Development] RAM GUY23:
for update need download last build and flash or ota works?
[Xperia Z2 Android Development] deepongi:
to keep up to date, you need to download always the latest build from the server.

if you use the in-built OTA, you'll end up with "normal" CM12.1

regards.
[Xperia Z2 Android Development] deepongi:
give me the full path of the file please. ill make a flashable zip.
[Xperia Z2 Android Development] RAM GUY23:
oky thank you man. :D

great rom
[Xperia Z2 Android Development] kokesh:
The camera button works like a charm. Enable it in Button Settings. It wakes up the phone, firm press afterwards launches the Camera app of choice. This was the last thing I've missed from the Stock days.
[Xperia Z2 Android Development] _heisenberg:
Working fine now. Changed nothing. Not even a reboot. But now it works and thats all that counts!
[Xperia Z2 Android Development] Private Snowball:
Wow, pretty cool and flawless working new feature! Finally the button works again. :) but while we are at the Camera function now, I got a question to all the pros here. Is there any way to disable the stock camera app, cause i use the fv-5 camera. With the new button functionality this problem is gone at this point, but starting the Camera inside other apps, it always gives me the choice between the stock and the fv-5 app...

Especially this sucks hard from inside whatsapp!

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] _heisenberg:
U can use Titanium Backup and freeze the Camera APP you dont want to use anymore.
[Xperia Z2 Android Development] vavill:
Do you mean /system/lib ?

source code is : hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/vdec.

I think it will work on other msm8974 phone, such as oppo find 7 and oneplus.
[Xperia Z2 Android Development] deepongi:
flashable zip with libOmxVdec.so to use h/w+ decoding on MX Player

https://www.dropbox.com/s/f3v62yrdc753zow/libOmxVdec.zip?dl=0

working like a charm.