yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] kokesh:
I'm getting error while flashing:

I:Script file found: '/cache/recovery/openrecoveryscript'

I:Copying file /cache/recovery/openrecoveryscript to /tmp/openrecoveryscript

Processing OpenRecoveryScript file...

I:command is: 'install'

I:value is: '/Download/libOmxVdec.zip'

I:Unable to mount '/usb-otg'

I:Actual block device: '', current file system: 'vfat'

I:Unable to mount '/usb-otg'

I:Actual block device: '', current file system: 'vfat'

Installing zip file '/data/media/0//Download/libOmxVdec.zip'

Installing '/data/media/0//Download/libOmxVdec.zip'...

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

sysutil: file is empty

sysutil: Map of '/data/media/0//Download/libOmxVdec.zip' failed

E:Failed to sysMapFile '/data/media/0//Download/libOmxVdec.zip'

E:Error installing zip file '/data/media/0//Download/libOmxVdec.zip'

Done processing script file

I:operation_end - status=1
[Xperia Z2 Android Development] deepongi:
which recovery are you using? ive tried on MR TWRP 2.8.7

try download the file again, and flash.

edit: by chance you are not using flashify or rashr to flash the zip or are you?
[Xperia Z2 Android Development] kokesh:
I was on TWRP 2.8.5, I've flashed 2.8.7.0 via TWRP app, it didn't end well :)

It is there, but can't see any storage.

I've tried fastboot flash recovery twrp...2.8.7.0.img, still the same. Any idea what to do? System boots fine, it is just the recovery, Actually when rebooting from TWRP, it warns me of no OS installed... really weird.

I also did flash via adb shell / su /dd .... nothing changed

EDIT: dd twrp openrecovery 2.8.5.0 makes it work again. Strange.

---------- Post added at 10:53 PM ---------- Previous post was at 10:38 PM ----------

it works now, the downloaded ZIP had 0byte size for some reason. My bad :)
[Xperia Z2 Android Development] peddarson:
twrp 2.8.7 has aa bug (at least for sirius) where you are not able to see the storage. 2.8.6 works fine though...
[Xperia Z2 Android Development] deepongi:
added a new mirror for the builds, courtesy of [MENTION=6766105]CubeDev[/MENTION].

http://cubeserver.eu/infectedbuilds/ROMs/sirius/cm-12.1/

regards.
[Xperia Z2 Android Development] deepongi:
i talked to [MENTION=912474]Dees_Troy[/MENTION] on IRC about the twrp 2.8.7.0 not seeing internal memory and external memory on our device.

he promptly compiled a new fixed build, after i gave him the recovery.log

many thanks to him for fixing it!

heres an early link, before its published on official TWRP page.

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

regards.
[Xperia Z2 Android Development] RedSkyRoad:
My Camera does NOT work... Any ideas?

The phone is freezing up and stuttering after launching any type of camera app... (it's like I'm using Gingerbread all over again)

Each time i select REBOOT, the phone turns off instead of rebooting...
[Xperia Z2 Android Development] BossStang:
Try full wipe (/system /data / cache)and reflash again. Working flawless here.

Aosp and google camera. Reboot works fine to.
[Xperia Z2 Android Development] RedSkyRoad:
01] I did a complete /system, /data, /data/media, /cache before installing...

02] A reboot (even clearing cache/dalvik) does not help...

This device is absolutely unusable after trying the camera
[Xperia Z2 Android Development] sbreit:
How about a bit more details? What device and which build exactly are we talking about? Please also provide a logcat excerpt (e.g. in pastebin).
[Xperia Z2 Android Development] RedSkyRoad:
Z2, latest build
[Xperia Z2 Android Development] sbreit:
Which Z2 exactly are we talking about? There are at least three variants.

What Build exactly is the "latest build"? cm-12.1-20150331-INFECTED-sirius.zip?

Where's the log excerpt?
[Xperia Z2 Android Development] RedSkyRoad:
01] D6503

02] Yes

03] Don't stress - back on stock 5.0.2
[Xperia Z2 Android Development] twistedddx:
Camera works flawlessly for me on both builds.

The reboot issue is known and has existed since forever on Sony Z2's running Cm12/12.1
[Xperia Z2 Android Development] sbreit:
Offtopic, but I really liked the april fools joke :D
[Xperia Z2 Android Development] munte89:
Hi!

Is it possible to update build without clean install, and if so, would anyone care to jot down instructions?

Edit: or is it just to flash build and clear cache?
[Xperia Z2 Android Development] VinBenzin810:
Hey its possible to get xposed work on LP 5.1 ?
[Xperia Z2 Android Development] kokesh:
I flash over last build, I don't clear anything. Works all the time.
[Xperia Z2 Android Development] earthtk:
Don't think so. Check out the xposed thread. Development has not started yet. But I guess if they can do something about SELinux, 5.1 will followsuit
[Xperia Z2 Android Development] naitik2012:
is there any one who have some knowledge on building kernel can please add KCAL and sound control on CM12.1 kernel .....
[Xperia Z2 Android Development] MattJaO3D:
Awesome ROM, smooth and fast , Coming from Sony's 5.0 I miss stanima mode, is there an app or mod that's similar for cm ROMs?
[Xperia Z2 Android Development] Advali:
I'm getting an incredible standby time with the first and the latest build. Will definitely stick with this one for a while.
[Xperia Z2 Android Development] earthtk:
Just wondering.. Are those cm12 bugs still present? Like loudspeaker and Bluetooth audio
[Xperia Z2 Android Development] adyscorpius:
Loudspeaker was fixed a month back, and the merge on official CM was made recently. infected has included that fix since a long time now..

Bluetooth audio works on 1st April onward builds. I personally had issues on 31st March build though...
[Xperia Z2 Android Development] earthtk:
Oh I see. Thanks! Camera quality still the same right?
[Xperia Z2 Android Development] rampage101:
Anyone got working nfc?
[Xperia Z2 Android Development] epypro:
[MENTION=1077833]infected_[/MENTION] can u please tell me the difference between your rom and the original cm 12.1?
[Xperia Z2 Android Development] Myself5:
to Quote the OP

infected_ uses the plain CM Source Code, changes a variety of compiler flags/uses different Toolchains. This should result in a better overall performance compared to the plain CM builds.
[Xperia Z2 Android Development] deepongi:
Exactly what [MENTION=3816568]Myself5[/MENTION] said, plus you can inform yourself better on third post.

regards.
[Xperia Z2 Android Development] epypro:
okay, thank you both..

another question. what happen if i install your (infected) rom first, and then after a few days i do a dirty flash over it with a stock cm 12.1? (or viceversa)

can i do it? the codes and optimizations just overwrite or i will get a brick?
[Xperia Z2 Android Development] deepongi:
builds are retro-compatible .. you obviously will loose the optimizations to the code, if you flash a "normal" CM build.

regards.
[Xperia Z2 Android Development] RyTekk:
I wondered for a long time, it should have reasons that CM (and others ROM makers) does not use optimizations like you, I don't mean your builds are bad, just to be curious :)
[Xperia Z2 Android Development] deepongi:
you got ask that to them. maybe they think will mess with the integrity of the build, making it less stable, dunno.. i know why i use them :)

and theres plenty of optimized ROM's nowadays. blisspop, candy5, liquid smooth, validus, etc..

its not the "top ROM makers", like CM, PA, Omni, Slim, but you get the point.

regards.
[Xperia Z2 Android Development] Myself5:
the "top" ROM Makers want to stay as close to AOSP as possible and the optimizations they use are proven to be compatible with every device they support as they are the same once as AOSP. Custom Optimizations might cause some stability issues on certain devices (e.g. if I'd use [MENTION=1077833]infected_[/MENTION]s Optimizations for sirius on a i9100 build, the i9100 won't like it).
[Xperia Z2 Android Development] vavill:
If enable vibrate on touch in sounds settings , sometimes speaker play breaking sound. When vibrator intensity adjusted, it sounds better.
[Xperia Z2 Android Development] twistedddx:
Loving that new mirror.

Haven't tested at home but before downloading on LTE would always timeout half way through the download previously. While chugging along at 180kb/s.

Now on lte I get 4mb/s plus.
[Xperia Z2 Android Development] deepongi:
compiled fresh sabermod toolchains yesterday.

todays build is already updated with them.

regards.
[Xperia Z2 Android Development] _heisenberg:
Nice. But one question. How do you get Sony keyboard on Cyanogenmod?
[Xperia Z2 Android Development] KrisPerry:
Which xposed version should I be using
[Xperia Z2 Android Development] deepongi:
http://xdaforums.com/android/apps-games/sony-z3-keyboard-lollipop-update-t3056448

you just needed to search and flash...

regards.
[Xperia Z2 Android Development] deepongi:
Why you want use Xposed on a CyanogenMod 12.1 build?
[Xperia Z2 Android Development] KrisPerry:
Why not?
[Xperia Z2 Android Development] deepongi:
not very common, thats all. most of the Xposed users are stock ROM users.

anyway, cant help with that. maybe try searching on the xposed thread.
[Xperia Z2 Android Development] diabole:
Anybody else stuck in bootloop with 0719 nightly?
[Xperia Z2 Android Development] Private Snowball:
Yep

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

already removed it, and i am compiling a new one. i know whats the issue.

regards.
[Xperia Z2 Android Development] tr0llica:
What changed in latest build, it is 2MB smaller than previous builds.

edit: nvm, it is normal size again
[Xperia Z2 Android Development] KrisPerry:
Where has the default mail app with exchange service disappeared to
[Xperia Z2 Android Development] Myself5:
Space aka /dev/null.

[MENTION=1077833]infected_[/MENTION], you might want to revert that ;)

https://github.com/infected-lp/andr...21b6#diff-655f52828887366a7cf448dff83d25bcL35
[Xperia Z2 Android Development] KrisPerry:
Can I sideload it
[Xperia Z2 Android Development] twistedddx:
I have been finding for the past month or so that this ROM causes the bluetooth during a call to drop out randomly.

Previously I had never experienced the problem on the same headunit.

-My phone is connected to my stock Mitsubishi Motors Outlander 2014 headunit.

-This happens maybe 1 in 10 calls.

-The call can be inbound or outbound.

-The drop out almost always happens within the first few seconds of the call but has happened several minutes in to the conversation also.

-The drop out causes the headunit to say the bluetooth device has disconnected, then immediately it reconnects.

-The bluetooth mic and speaker audio on the headunit disconnect and briefly the call is via the handset earpeice before switching back to the headunit again. The audio disconnect lasts for about 3 seconds in total

-Very rarely the reconnect to the headunit fails and the audio path to the headunit can not be re-initiated regardless of forced manual audio path swaps from handset or headunit. The call needs to be abandoned then a new call audio will route via bluetooth fine.

Of course I say it happens 1 in 10 calls but I can not get this bug to reproduce when I try to make it do it. But I bet at least 2 times tomorrow while driving at 60km/h it will happen again :).

Attached is a logcat of a call on bluetooth that did NOT drop out. I will attempt to get a logcat of the fault.

Any ideas?
[Xperia Z2 Android Development] twistedddx:
Get "XposedInstaller_3.0_alpha4.apk" from:

http://xdaforums.com/showthread.php?t=3034811

Then get "xposed-sdk22-5.1.1-arm-20150514.zip" from:

http://xdaforums.com/xposed/super-alpha-posted-permission-xposed-t3072979/post60731405#post60731405

I found that "xposed-v67-sdk22-arm-by-romracer-20150716.zip" from:

http://xdaforums.com/xposed/super-alpha-posted-permission-xposed-t3072979

Does not work, it hangs when you click "Framework" to check installation, lists that it is not installed and of course does simply fail to work :p
[Xperia Z2 Android Development] KrisPerry:
Thanks, I ended up trying the "xposed-v67-sdk22-arm-by-romracer-20150716.zip" and found no issues.

On a separate though, I have noticed a bug on this rom. When I have an alarm set, I am unable to use the reboot command, either from the power menu or from a terminal. The phone will simply power off, no matter if I select normal reboot, recovery or safe mode reboot. If I switch the alarm-clock off, then the reboot function works as normal. I have tried a factory reset and reinstalled the latest nightly, but the problem has re-appeared, even without xposed installed.

Can anyone else replicate this bug?
[Xperia Z2 Android Development] twistedddx:
This "can not reboot" bug has been known for months on this device.

I dont think anyone picked up on the alarm vs no alarm issue which likely actually helps a bunch to pin point what the problem is.

I too can vouch that turning off all alarms will allow the phone to reset.
[Xperia Z2 Android Development] KrisPerry:
I'd be lying if I said this find was anything other than chance.
[Xperia Z2 Android Development] kokesh:
I reboot without any problems all the time.
[Xperia Z2 Android Development] twistedddx:
Do you have alarm(s) set?
[Xperia Z2 Android Development] RedSkyRoad:
The first thing that I noticed after I came back to CM was the reboot bug is STILL here after MONTHS!! My blood boiled!

Turning off my set alarms WORKED LIKE A CHARM. Enabling them again makes the phone turn off.

THANKS FOR THIS HELP - Really appreciated :)
[Xperia Z2 Android Development] kokesh:
I use Timely for alarms. Is it related to built-in Clock app?
[Xperia Z2 Android Development] KrisPerry:
Yes it appears to be
[Xperia Z2 Android Development] twistedddx:
I am told from Myself5(with different words) that we are guilty of crimes against Android and our problem is Xposed.

Any users without Xposed able to say they can't reboot their device if an alarm is set?
[Xperia Z2 Android Development] deepongi:
+1 on Timely.. It even syncs the alarms through all your devices, once the app is installed.
[Xperia Z2 Android Development] KrisPerry:
As stated in my post I have the same problem both with and without xposed
[Xperia Z2 Android Development] ChuckMcB:
Yup, just replicated that. My phone always just powered off when you selected reboot. But if I disable all my (stock) alarms, it actually does restart. :good: Turn the alarms back on again and the reboot option just powers down the phone. I do not have xposed installed. (v 12.1-20150720)
[Xperia Z2 Android Development] twistedddx:
Maybe myself5 was stretching when he stated the bug is known to be caused by xposed....
[Xperia Z2 Android Development] KrisPerry:
I am getting bluesleep Wakelock keeping my device awake 100 percent of the time while Bluetooth is switched on but disconnected. I see there are fixes for other devices. Any for this?
[Xperia Z2 Android Development] deepongi:
i've uploaded a testbuild .. its compiled fully with sabermod 4.9, and uses [MENTION=5161352]JustArchi[/MENTION] optimizations.

you can have a look at those here: https://github.com/ArchiDroid/android_build/commit/a062cc61184950df02c39a038c5bfaef5a8b268c

i'll ask the users who will test this build to do a clean install, so we can compare it with current sabermod optimizations.

many thanks.

ps: already talked to [MENTION=3506409]cdesai[/MENTION] about the alarm/reboot/shutdown bug, and told him how to replicate..
[Xperia Z2 Android Development] deepongi:
http://review.cyanogenmod.org/#/c/103731/

it was merged the BT driver from 23.1.A.1.28 .. its on latest build. give it a go and report please.

regards.
[Xperia Z2 Android Development] KrisPerry:
Unable to switch bluetooth on at all now, didnt wipe first though.
[Xperia Z2 Android Development] RedSkyRoad:
I just flashed he latest 23rd build ,clean install (/data wiped), with NO xposed and I can confirm that the reboot bug is Alarm app related.
[Xperia Z2 Android Development] Private Snowball:
Okay, i found 3 bugs on the 25.07 build that are all really annoying. 1. My display turns suddenly and randomly off while writing, or something else. This happens a few times a day. 2. When Google music App is playing music in background and i am in whatsapp, i am unable to change the volume for the music app. When switching to gmusic back, it works. 3. The menu option is gone here in XDA app. I had do manually add the menu button in the system settings. Any suggestions? Is it reproducible for anyone?

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] deepongi:
none of that for 1 and 3, and i think 2 its supposed to work that way?

see if other users suffer from the same.
[Xperia Z2 Android Development] Private Snowball:
Hi. To 2. I think i could change the media volume out of any app before. Maybe it's a new "feature" from whatsapp, that prevents, changing any volume inside the application

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] deepongi:
check the options on settings - buttons: "playback control" and "volume keys control ringtone volume"
[Xperia Z2 Android Development] Private Snowball:
Ok, thank you. All problems fixed for now. The whatsapp problem, was pretty easy to solve, cause, i set the volume buttons to cursor scrolling. How dumb i am :P I found another prob, but maybe it's related to other things. The equalizer settings only work for me, when i turn the display to standby and then tip the standby button again so I can see the Lockscreen music widget for gplay music.

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] Private Snowball:
With build. 31.07 my CM Design Thema totally crashed. Anyone having same issue?

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] deepongi:
theme engine is working fine ;)
[Xperia Z2 Android Development] Smedslund:
On 0731 build bluetooth gets disable after a few hours and I cant enable it. I have to softreboot. Any ideas how to get around this?
[Xperia Z2 Android Development] deepongi:
elaborate your issue better with more details and see if other users have the same issue.
[Xperia Z2 Android Development] toffee^god:
Mobile data automatically turns off

Just want to ask if anyone else is experiencing this problem. I switch off mobile data, when I switch it on it stays on for about 1 min before automatically switching itself off again. The same thing happens no matter how many times I switch it on again. The only solution is to reboot the phone while mobile data is on, after the reboot mobile data would stay on, but the same thing would happen again if I switched it off/on.
[Xperia Z2 Android Development] BossStang:
cm profiles swither is gone from the power menu. Also disable pin/pattern in profiles doesnt work anymore. Anyone else?
[Xperia Z2 Android Development] twistedddx:
I think related to these:

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

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

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

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

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

Basically global profile actions are removed at least for the time being, I assume this is related to some security issue.
[Xperia Z2 Android Development] Private Snowball:
Since the latest 3 builds my Xperia turns off instead of rebooting. If I am correct, we had this problem already on older builds. Anyone experiencing same probs?

Ok, found the thread a few days ago...

Maybe I didn't use the alarm for longer

Is there a workaround?

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] ChuckMcB:
[MENTION=3580880]toffee^god[/MENTION] not getting that here with 8AUG build. Is there perhaps a data limit in place that's turning it off?
[Xperia Z2 Android Development] deepongi:
a few users were able to reproduce the shutdown bug, a few pages back. did you disabled all the alarms?
[Xperia Z2 Android Development] Private Snowball:
Yes, and it did work for me too. Is there a chance this bug will be fixed in near future?

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] deepongi:
i've talked to [MENTION=3506409]cdesai[/MENTION] about the two remaining bugs (that i am aware), shutdown bug and the r/w issue on the sdcard.

he's in college now, and wont have many time for Android as before, but soon he gets a break/free time, he'll look into it.

regards.
[Xperia Z2 Android Development] PaY87:
It seems like this fix was sadly never published by TWRP. Thanks for this fix! :good:
[Xperia Z2 Android Development] _heisenberg:
Okay, I think the media playback is worse than ever. I cant play music files in poweramp, it just doesnt play. The default player does not detect any music. When I try to play Videos via Google photos there is an error that the Video cant be played. Build from 11.08
[Xperia Z2 Android Development] deepongi:
the issue must be on your end.

music plays fine and also video.

regards.

ps: build 20150813
[Xperia Z2 Android Development] Private Snowball:
I'm having this problem only with spotify. As I mentioned before, I can reproduce the ui crash meanwhile. This happens when whatsapp updates. Every time i get a system message that the ui has crashed.

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] deepongi:
try latest spotify beta.
[Xperia Z2 Android Development] Private Snowball:
Seems to work... Thx

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] sagarabhiwant:
Can any budy tell me how get recoveries working on this rom.

I have tried below options:

1) I have used RASHR app to flash Fotakernel recovery but still at time of boot it shows defualt recovery.

2)I have flashed M5 kernel and tried same thing still not able get custom recoveries.

Please tell me is there anything which i need to do at time of Flashing ROM. I flashed clean rom anf gapps.
[Xperia Z2 Android Development] Private Snowball:
I use twrp manager from playstore to flash twrp 2.8.6.0 and it works fine.

Gesendet von meinem Xperia Z2
[Xperia Z2 Android Development] twistedddx:
I had mentioned earlier in this thread that I have issues with recent CM 12.1 and my Bluetooth car head unit.

Car headunit is Mitsuibishi Outlander 2014 stock radio.

I believe this started about 2 months ago now. Prior to this the Bluetooth between Sony Z2 Cm12.1 and Mitsubishi Outlander 2014 had been working fine.

The fault is that randomly the phone/headunit will disconnect then immediately reconnect.

This can happen during a call or when the bluetooth connection is idle(connected but not in use).

During a call the fault causes audio in both direction to briefly switch back to the Sony Z2. On the car headunit you can observe a disconnect message followed by a connect message. Typically 9 out of 10 times, the audio will automatically switch back to the headunit via bluetooth on reconnect.

When not on a call and listening to FM radio I often observe disconnect/reconnect messages during my drive.

I have not been able to reproduce the fault on demand. The timing of the disconnect seems random. Sometimes it can happen every 30 seconds, other times it appears to be fine for 5-10 minutes plus at a time.

Due to this fault happening during driving it is proving hard to capture logs.

Attached is several logcats.

drop.zip is from a slightly older CM12.1 build and contains some noise from other apps.

This shows several disconnects/reconnects.

I believe the disconnects start at: W/bt-l2cap(2529): L2CA_DisconnectReq()

drop2.zip as above, more examples.

Fault appears to start at W/bt-l2cap(2529): L2CA_DisconnectReq()

incall.zip is just 30 seconds during a phone call via bluetooth.

It shows a lot of what appears to be log spam from bt-btif, this log spam is constant during all calls via bluetooth. I am unsure if this is of much help.

incall_and_callconnect.zip is similar as incall.zip but includes most the setup of the outbound call via bluetooth.

Both incall logs had the following disabled: data(wifi and gsm), sync, location, nfc and all user apps killed. Hopefully this has keep the logs a bit cleaner than the drop.zip.
[Xperia Z2 Android Development] kokesh:
I am having really strange Bluetooth issue:

from time to time bluetooth turns off by itself and I can't get it back to On, until reboot.

I listen to my SBH20 BT headset, than stop the playback, connect to WiFi and from time to time find out, that the BT icon has disappeared.

Anyone else?