yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] swayamprakash2001:
Could it be kernel related, i can see tons of changes merged after 26th, including ones for sound like playback etc ?

Is there a way maybe any of us i can help, i know that 3rd works for me and the problem will recur if i flash 4th or later, can i look into some logs or something just to compare the differences between the two.
[Xperia Z2 Android Development] deepongi:
official builds also have the same bug ...
[Xperia Z2 Android Development] Prograss:
Flashing 03 ontop of 26 Did not work for me.

When I made calls, the persons on the other end complained they had echos on their as well as on my voice. On my end, it sounded perfectly well.
[Xperia Z2 Android Development] Hayeni:
Guys has anyone tried flashing multirom with this build? If yes how, cause I keep on getting boot loops?

---------- Post added at 11:58 AM ---------- Previous post was at 11:39 AM ----------

I have noticed something and I'm not sure if it might be the cause of the sound bug. After updating I noticed that on the screen Android is starting... Optimising app has the same number of apps when updating back to 2604 or to 0305, but there's an extra app when updating to 0405 & 0505. What is that extra app?
[Xperia Z2 Android Development] homer667:
First of all, great ROM and thanks for the hard work.

I have also a Nexus 7, Xoom and 2 Motorola Moto G and all are running with the "keep wifi enabled only when charging" and they reconnect very fast to my wlan after turning the display on.

The Z2 therefore is realy slow on finding and connecting to my wifi network and after a day or so it doesn't work at all and only a reboot helps.

All devices exept the Xoom are running with CM12.1 and I don't have this issue with original sony firmware so I think it's a bug in your build.

I'm using the 20150505 build right now.
[Xperia Z2 Android Development] twistedddx:
Just set WiFi to keep wifi on always, you won't notice the battery difference.

Z2 has massive battery and WiFi doesn't use much(it is likely constantly turning on for location scans also).

I found the WiFi reconnecting after display turning on pointless, so just changed the setting.
[Xperia Z2 Android Development] VinBenzin810:
I hear the Team have fix the Sound Problem is that right
[Xperia Z2 Android Development] swayamprakash2001:
[MENTION=5527263]VinBenzin810[/MENTION] not yet, I'm on the 7th May nightly and problem still persists
[Xperia Z2 Android Development] VinBenzin810:
And how? Which issus
[Xperia Z2 Android Development] Mikey94:
Sound is totally broken for most users.

Sometimes it's loud, but most of the time, it get very quiet or sound mutes.

Telephony sound is broken too, the called person hears themselve and so on.
[Xperia Z2 Android Development] PureMAD4:
Installed cm12.1 from the 8th and it seems to work for me so far. Downloaded it from cyanogenmod website
[Xperia Z2 Android Development] deepongi:
wait a bit longer... the bug will appear.

afaik, the issue persists, and like i said before, its very hard to reproduce....

per example; i thought i had a PA build working ok (CM sources), no sound bug, all working awesome. i was happy.

until i decided to test another build, then i was sad. the only thing i did was make nandroid backup of the PA build, and then restore it, and the bug showed up.
[Xperia Z2 Android Development] PureMAD4:
You are correct it worked for a day and then today I woke up and asked my phone for a weather update and it shouted at me and then whispered the rest. Sound issue is back for me
[Xperia Z2 Android Development] yot2703:
Ok people.... If the sound bug annoy you (which i think it is)

Just flash the 26th April zip , and stay on it...

No other choice if you want CM12.1 that kinda works perfect
[Xperia Z2 Android Development] Cocolopes:
Is OTG working in this rom? Thanks in advance
[Xperia Z2 Android Development] tomgus1:
Audio Issue

I'm the official maintainer of Z2 for AOSPA-L and I'm kinda confused with the full extent of the issue that people are facing with Z2 and audio as I've tried many ways to try and replicate the error but haven't been able to do so. As [MENTION=1077833]infected_[/MENTION] mentioned earlier about building then restoring no issues have cropped up on my device.

Any further info to myself would be awesome as I'd love to:

Know how to replicate the error

Help fix for other users

Fix for AOSPA-L

Many thanks

tomgus1
[Xperia Z2 Android Development] twistedddx:
I find the easiest way for myself to replicate the issue is:

1)call voicemail (just need someone to constantly talk to me)

2)I often go in to my carriers voicemail help guide to keep it talking. Alternatively you could call automated services such as weather or time or even just a friend, just keep them talking.

3)press speaker phone icon, often I might be 5-10 seconds in to call by now.

note the phone switches to bottom speaker with high volume, but within seconds the volume fades down.

4)press speaker phone icon again to switch back to earpiece.

Note the phone switches to top speaker but volume increases to extremely loud volume which then fades out. The top speaker will never sound the same as it did at step 1-2 prior to pressing speaker phone.

Repeat step 3 and 4 for the exact same fault over and over during the call.

I can get the fault 100% of the time.

At the same time as this is happening the person on the other end of the call will complain about them getting loud echo of themselves. But I find it easier to prove this fault with local volume issue. I assume once that is resolved the echo issue may be also resolved as both seem linked. I imagine the mic volume increases up just like the speaker volume.
[Xperia Z2 Android Development] Mikey94:
I think they fixed it:

f**ked up the sound.

Should fix it, i think? :D

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

EDIT: oh yeah, i think it does:

xD
[Xperia Z2 Android Development] icegustpl:
Unfortunately no, and no one is trying to get it working.
[Xperia Z2 Android Development] Reb0rn:
Oh common [MENTION=1077833]infected_[/MENTION] why did you make the download page not work with mobile chrome/browser?

Edit: Flash... Well of course. Works with flashenabled browser.
[Xperia Z2 Android Development] deepongi:
im trying to solve the file indexer issue on the website....

anyway, building 20150512 with the audio fix [MENTION=3506409]cdesai[/MENTION] pushed.

edit: website is up and builds are downloadable, but layout needs a little fix.
[Xperia Z2 Android Development] Mikey94:
No problem here:

See Attachment, picture is a bit toooo big for thread xD
[Xperia Z2 Android Development] deepongi:
can someone check the website? i am getting "mixed results" in 4 different browsers....

edit: 20150512 is up. everybody please check the sound for issues.

edit2: if someone is having issues with infectedbuilds.net, please temporarily use my account at mediafire:

https://www.mediafire.com/folder/k9rm4h8q77h0s/infected_sabermod_sirius_CM12_builds
[Xperia Z2 Android Development] Mikey94:
Flashing right now, will report back in half an hour, after the phone has settled :)
[Xperia Z2 Android Development] Reb0rn:
Homepage works again ?
[Xperia Z2 Android Development] Mikey94:
Sound working very good now :))) Back to CM12.1 again :D

Other question:

Important commits?
[Xperia Z2 Android Development] twistedddx:
Sound is now working great on my phone also!
[Xperia Z2 Android Development] swayamprakash2001:
Confirmed, sound issues are resolved finally, great work by [MENTION=3506409]cdesai[/MENTION]
[Xperia Z2 Android Development] Cocolopes:
Oh....thats a shame...the only cm12.1 rom that I see is working is in the xperia SP rom....hope someone can fix it...I use OTG a lot. Thanks for the answer.
[Xperia Z2 Android Development] Mikey94:
Can someone confirm, that the devices shuts down instead of restarting, BUT when you flash the BOOT.IMG via FASTBOOT everytime after you flashed an update or after coming from stock rom, its restarting O_O (for example: you flash cm12.1, let it boot, do all your configurations, download "rashr" from playstore and flash the kernel from your zip you just flashed)

I think it has something to do with this:

http://www.cyanogenmod.org/blog/public-service-announcement-sony-cm12-users

But they say it's a one time procresss... for me its a "flash-it-everytime-you-flash-or-update-your-cm12"-process...
[Xperia Z2 Android Development] deepongi:
"normal" reboot and soft reboot working fine here.

[MENTION=614742]Reb0rn[/MENTION] you've tried the website on a PC or mobile device?
[Xperia Z2 Android Development] blackhawk_LA:
For me this is a key point. Does anybody know if it will be fixed in the future?
[Xperia Z2 Android Development] Cocolopes:
Same here...I look for devs from other devices and they want to help...but they dont have time. So...we have to wait.
[Xperia Z2 Android Development] icegustpl:
I read that OTG is working on other devices on CM 12.1 so I don't know why we don't have that feature.
[Xperia Z2 Android Development] Cocolopes:
Its working on xperia SP....but not here or in my case in z2 tablet....
[Xperia Z2 Android Development] swayamprakash2001:
[MENTION=1077833]infected_[/MENTION] website issues still persists, I just fired up the link from mobile chrome and can see a blank page, page loading is complete. Same problem from the laptop as well using Chrome, Firefox and IE.. I have a friend who is a Web developer, let me know if I can connect you guys which might help you in solving this.
[Xperia Z2 Android Development] deepongi:
*clapping sounds*

working on it ATM. if i cant make it work, please introduce me to your friend then.

edit:

i think it fixed..! updated the indexer to version 0.27, and changed some configs.

http://www.infectedbuilds.net/downloads/sirius/

everybody available test it (mobile, tablet and PC), and report please, so it doesn't happens the same than yesterday.

thank you for your understanding and collaboration. have a nice day! :D:p:o

regards,

infected_

ps: i also made "clickanddrag" available, if you want to download several files/build at once, and removed the "checkbox's" that did the same thing.
[Xperia Z2 Android Development] icegustpl:
Working excellent on all my mobile web browsers (Firefox, chrome, opera, dolphin, cm browser).
[Xperia Z2 Android Development] deepongi:
ok, thanks. mobile is confirmed ok. can someone test it on a PC?
[Xperia Z2 Android Development] icegustpl:
Win 7/Firefox working :)
[Xperia Z2 Android Development] Reb0rn:
Working fine ??
[Xperia Z2 Android Development] sbreit:
I think that this is a kernel/driver issue. The point that I don't get however is that I thought the kernel sources were available from Sony, so that shouldn't be the issue. Maybe it's a legal issue.
[Xperia Z2 Android Development] Reb0rn:
How come that on today's build the volume on stock cm music player can get loud as fuxxor and Spotify volume is much more normal?
[Xperia Z2 Android Development] plagu:
Just installed todays build and sound issue is fixed thank god.
[Xperia Z2 Android Development] twistedddx:
infected and well other users play attention to the system UI bustage (Trebutchet will force close).

Broken here: http://review.cyanogenmod.org/#/c/97546/

Fixed here: http://review.cyanogenmod.org/#/c/98212/

This "broke" the official 130515 build for most(all?) devices.
[Xperia Z2 Android Development] raolleel:
Did I read it correctly ? OTG not working ? Why isn't it mentiond as a bug ?

Which other roms support OTG ?
[Xperia Z2 Android Development] deepongi:
yeah, they got both merged so next nightly will be ok.
[Xperia Z2 Android Development] icegustpl:
I mentioned that few times in this topic and few people also. No one is trying to get it working. I don't remember that resurrection remix have working OTG, last time I tested it few months ago. For sure on stock it's working flawlessly. I'm really missing that feature...
[Xperia Z2 Android Development] margee82:
after update 13.5.2105

Hi, i had an update ready to install. I've install it. after reboot SYSTEM UI HAS STOPPED:confused:
[Xperia Z2 Android Development] PureMAD4:
Sound is fixed which is awesome thank you. But since the update on the 12th I'm unable to save anything to my sd card.
[Xperia Z2 Android Development] deepongi:
yeah, you just flashed official CM12, and not infected's .. my builds doesn't support OTA for now.
[Xperia Z2 Android Development] deepongi:
i am having strange issues with my sdcard also, my case TB says my SDCard is full, when its not.
[Xperia Z2 Android Development] margee82:
So,what i supposed to do now? Whats the right rom ?

---------- Post added at 11:46 PM ---------- Previous post was at 11:46 PM ----------

what i supposed to do now?
[Xperia Z2 Android Development] ugumba:
That's the new KitKat feature of protecting your sdcard from yourself.

In TB, go to the configuration screen for the backup folder, and at the top you will see that TB supports several workarounds.

They seem to require you to create a new backup folder, though, which I didn't want to.

Instead, I found a suggestion to use SDFix (from NextApp on Play), which worked great for me. The app also explains the issue very well.

I suspect SDFix will need to be reapplied after flashing, however.

---------- Post added at 12:57 AM ---------- Previous post was at 12:50 AM ----------

Careful with the tone. You've moved outside the safe enclosure of Disney Land, voided your warranty, and assumed full responsibility for bricking your phone.

If you're able to boot to recovery, just download infected's ROM again and flash. Maybe wipe first, but that may need be necessary. Avoid OTA updates in the future.

Otherwise I'm sure you'll find great instructions for getting back to stock by searching this forum, reading stickies or googling.
[Xperia Z2 Android Development] margee82:
I've just done it about an hour ago. Thanx anyway. ( i didnt mean it bad ) thanx for reply :)
[Xperia Z2 Android Development] RyTekk:
I have a question, have any different between come to CM12.1 on stock LP and stock KitKat?
[Xperia Z2 Android Development] naitik2012:
found one bug .

Turn off MP_decesion (make sure all cores are online)

Stress CPU so it get throttle (run antutu benchmark 2-3 times)

make sure that cpu1 throttle and go offline (keep observing it on trickster mod or any other apps)

now cool down your phone and check if cpu1 is online or not ... for me its offline and also cpufreq folder not found on cpu1, i have to manually online it by Kernel auditor every time (or by turning mp_decesion on and off again) ......

this doesn't happen if mp_decesion is on so u have to turn it off to check..

[MENTION=1077833]infected_[/MENTION] [MENTION=3506409]cdesai[/MENTION] kindly have a look at my issue

Thanks :)

EDIT - i was on CM12.1 (08-05-2015) fresh installed
[Xperia Z2 Android Development] deepongi:
yeah...

CM fixed it on KitKat .. everybody had/got sdcard rw permission using it on their phones since then.

regards.
[Xperia Z2 Android Development] yot2703:
I cannot boot on the 14.5.15 ver when i'm flashing M5 kernel, it always says SYSTEM UI in crashed.

I dunno what the hell..

(Used official)
[Xperia Z2 Android Development] swayamprakash2001:
[MENTION=5234727]yot2703[/MENTION] OT, this is the not the right thread for your problem, OP clearly says that reports bugs and issues only when you are on the kernel which comes with the ROM, post ur problem in the M5 kernel thread and I'm sure you will get better help.

Btw M5 kernel has not been updated in sometime, 100+ upstream changes have been made during this time, so wait for a new version.

Please do not report issues here after flashing custom kernels, report them on their respective forums, always test with stock.
[Xperia Z2 Android Development] DNAxDREAMS:
With the latest 2 builds 3rd party apps no longer have permission to write to sd-card. Needed to use an app to regain this permission. Worked fine in previous versions.
[Xperia Z2 Android Development] PureMAD4:
I'm having that same issue with my sd card
[Xperia Z2 Android Development] BossStang:
Can copy to ext sd with es file explorer, but cannot transfer a file there using ssh-droid.
[Xperia Z2 Android Development] deepongi:
yes, the external sdcard rw bug/issue is known and will be fixed.
[Xperia Z2 Android Development] yot2703:
New bug...

When i'm having a call , light sensor not responding... screen doesn't go off :\
[Xperia Z2 Android Development] BossStang:
Works just fine here.
[Xperia Z2 Android Development] sbreit:
Where would you mention this?

---------- Post added at 08:19 PM ---------- Previous post was at 08:08 PM ----------

Have a look at http://xdaforums.com/showpost.php?p=60766646&postcount=642
[Xperia Z2 Android Development] RyTekk:
Is this ROM updated kernel 3.10?
[Xperia Z2 Android Development] Brontok:
how can install nut`s dual recovery ? stock cm recovery gives me no options.. i cant even backup/restore my current rom
[Xperia Z2 Android Development] Myself5:
No, 3.10 Kernel is not ready for daily usage yet, hence CM stays on 3.4 for now. 3.10 has some issues with bluetooth, screen flickering (not on Z2 but Z3) and it has no working camera yet. This is the same reason why Omni is not official yet BTW ;)
[Xperia Z2 Android Development] BossStang:
Think its only for stock rom?

Flash recovery to fota partition.

Easiest way i believe is using the rashr app found in google playstore.
[Xperia Z2 Android Development] RyTekk:
But I see in OmniROM topic, loudspeaker is the only one issue that is mentioned, I think camera is not work in that too, and some issues that you said.
[Xperia Z2 Android Development] Myself5:
[MENTION=1077833]infected_[/MENTION] needs to update the OP. However I recommend him closing the thread till these problems are solved (which will be the point when Omni goes official too).

I run Omni on my Z2 here, thats why I know the issues. In addition to that I am the Z2 maintainer, so I should know about what works and what doesn't [emoji14]
[Xperia Z2 Android Development] Brontok:
thanks a lot. it worked.. are u maybe familiar with m5 kernel..i tried to install it several times but it either gives me bootloop or am able to boot the system ending up with systemui has stopped working ? i really want to use kcal settings :)
[Xperia Z2 Android Development] RyTekk:
Somethings are wrong on 3.10 kernel and is this related? http://fxpblog.co/2015/05/01/finally-boot-to-recovery-enabled-in-special-bootloaders-from-sony.html
[Xperia Z2 Android Development] BossStang:
No sorry, havnt used it recently.
[Xperia Z2 Android Development] brightssingh:
hi infected ,in asop and cm roms wifi signal is too weak when compared to stock roms,what would be the problem for this?the place where i get three wifi signal bars with stock rom,i can only get one signal bar or no signal,why is this happened......is there any chance to boost wifi as stock xperia z2 rom? ....thanks
[Xperia Z2 Android Development] deepongi:
some may noticed today's build is a bit bigger in size. some new optimizations were introduced, so sirius is smoother, snappier and battery should last longer.

current optimizations, combined with sabermod toolchain, on both ROM and kernel code:

-O3 optimized (arm and thumb)

strict-aliasing

frame pointers

graphite flags

LinkTimeOptimizations (-flto) flags

cpu arch specific flags (armv7-a-neon)

other flags to optimize even more the code.

regards.
[Xperia Z2 Android Development] Reb0rn:
First thing to hit me ? 6mb more? Must be some cool ****.

Confirmed. Wow really a noticeable difference.
[Xperia Z2 Android Development] blackhawk_LA:
And is the otg fix included? Sorry for being a bit insistent [emoji14]
[Xperia Z2 Android Development] Myself5:
Yes, the fix got merged some days ago. It should defenetly be included in todays build.
[Xperia Z2 Android Development] icegustpl:
I have to check OTG :) I'll test it tomorrow

Wysłane z mojego Xperia Z2 przy użyciu Tapatalka
[Xperia Z2 Android Development] ugumba:
Anyone else getting reboots a short time after connecting to charger?

In earlier builds I've also seen reboots when Tasker rules turn wifi on/off, but I'm running without these rules now.

On the May 18 build, the speaker emits a barely audible "click" 3 seconds after opening the task switcher, and after switching to an app.

Edit : the sound disappeared after turning off "touch sounds".
[Xperia Z2 Android Development] draltus:
Hi.

How can i change selinux status from enforcing to permissive.

İ need it. Because some programs ( example: root call blocker ) are not working properly.
[Xperia Z2 Android Development] deepongi:
AFAIK, i need to set before building. dont know if it can be made after.

anyway, CM12 already has option to block calls and sms's ... check screens in attachment.
[Xperia Z2 Android Development] draltus:
thank you for reply

yes i know cm12.1 already has this option.

but root call blocker is more options for call and message block
[Xperia Z2 Android Development] LAKAME_MAN:
Some apps can change it. Like SELinuxModeChanger. But Google has been deleting apps that change SELinux mode from the Play Store. So you might have to look elsewhere to find such apps.
[Xperia Z2 Android Development] deepongi:
i removed some optimizations on today's build... seems to me, on the previous set i had better results.

anyways, if someone wants to keep testing yesterday's build a couple days more and report, please do so.

regards.
[Xperia Z2 Android Development] blackhawk_LA:
What do you mean? Better results in terms of general performance, battery life, stability...?

I will try when I have time, but if more people notice the same as you, I'll go for latest builds.
[Xperia Z2 Android Development] deepongi:
I came to the conclusion that 24h isn't enough to try out the new optimizations and see how the phone behave.

I'll build with them for a week, and i will need feedback from you guys regarding it.

I've removed 20150520 from this morning and uploaded a "v2", with the new optimizations.

More battery life, responsiveness, speed and smoothness are the goals i'm aiming.

regards.
[Xperia Z2 Android Development] Myself5:
Flash a custom kernel with SELinux mode set to permissive ;) There is a huuuuuuge selection of CM custom kernels you can choose from *cough* not*cough*.
[Xperia Z2 Android Development] draltus:
i am using your M5-Kernel-V5.1-Permissive-L-Z2 kernel before 12 may for permissive selinux.

but now when i using your M5-Kernel-V5.1-Permissive kernel my z2 is bootloop. i cant use your kernel.
[Xperia Z2 Android Development] Myself5:
Yeah I know, sorry for that. I am busy as hell with school stuff ATM, so I can't update the Kernel. I'll move my server to a different one soon, then I'll setup jenkins again in combinition with my PC and my friends server I could automate the update of the kernel and the build process of a new one then I guess. This will simplify a lot of things. (Guess I'll only automate test builds tho, Releases will remain "handcrafted" in order to guarantee that everything is working).
[Xperia Z2 Android Development] twistedddx:
I just use selinuxmodechanger on the standard infected build.

Works fine, and survives across update flashes without needing to do anything extra.
[Xperia Z2 Android Development] Cocolopes:
Can you share the link for that fix? Gerrit or git hub....thanks
[Xperia Z2 Android Development] XMoDuLeSx:
i'll wait for today's build to test the battery life and report with screens in 2 days :D
[Xperia Z2 Android Development] Myself5:
Should be these 2:

https://github.com/CyanogenMod/andr...mmit/6f57dec421088723ef3ad262363550cc6c11d20a

https://github.com/CyanogenMod/andr...mmit/91e96c71c44e27b0d250555731730a8af89e0299

They actually are supposed to fix MHL (HDMI using USB), but MHL is dependant from MHL -> OTG is fixed too.
[Xperia Z2 Android Development] DNAxDREAMS:
It seems that I can't boot up using the 21 build. It won't even go up to the sony logo, it just vibrates once and then does nothing. Flashing the 20 kernel via flashtool fixes this and it will boot that way. Is something broken in the 21 build?
[Xperia Z2 Android Development] deepongi:
nope, nothing broken.. 21st is fine.
[Xperia Z2 Android Development] twistedddx:
Yea 21 works fine for me.