yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] rcstar6696:
Sorry i only understand that your device stug at sony logo the rest is not understandable for me

Please do it like i expalined it in the instructions on first post
[Xperia Z2 Android Development] rcstar6696:
V27 is ready

Hey V27 is ready for flashing

Changelog:

- Update GPU blobs (Ardreno Release 22.04.16)

- Update to modem files from 23.5.A.0.570

- NFC improvment (No fix)

- Update Audio Values
[Xperia Z2 Android Development] Austin.gonzo:
V26 doesn't have system.img, the ROM doesn't no longer require it ? Or u forgot to upload it ?
[Xperia Z2 Android Development] rcstar6696:
Should be up now it was currently uploading when you checked it :p
[Xperia Z2 Android Development] timoti123:
I didn't tried this rom for long time. Now it is booting and that bootanimation is EPIC!!! :D I love it!
[Xperia Z2 Android Development] CrazyIt2016:
thanks for you to reply my question.i flashed the v16 version before.your meaning is that i should flashed v21 version before i derectly flashed v27 version.but i can not find the method to flash the v21 rom and can not find the v21 rom img files.is there any method to flash the v27 version.my phone is not any using now.
[Xperia Z2 Android Development] rcstar6696:
You can flash v27 directly please use the images in the mega folder and you need to do a factory reset in recovery before it will not boot
[Xperia Z2 Android Development] balabanos:
Is that bugs corrected ?
[Xperia Z2 Android Development] Kevin.Silbstedt:
Using v27 for about a day now, I didn't have the chance to test longer calls, but HTML5 Videos seem to work now even without full screen and so far the rom seems to work, except for one annoying thing (which probably doesn't have anything to do with your work rcstar6696) and a crash:

1. This time, I only installed the pico gapps. I like my system partition to be slim plus I hate the fact, that updated system apps use the data partition for their updates and the old version stays on the system partition, which results in about double the storage use (and longer backup time in TWRP). So I just install apps like Gmail or the Google app through the Playstore.

But for some reason Gmail crashes, when I try to sync it up with my yahoo account. The Google app won't work at all, quickly after seeing the ui, it just crashes. (TTS and speech packages installed) "Ok google" works, I get the see the outline of the ui and it crashes. The Busybox installer also crashes, which may or may not have a different reason. I also had these problems on my Nexus 5, when Marshmallow came out and I never figured out how to solve them without flashing a bigger gapps package and reflash the rom or flash another custom rom, that for some reason worked. I gave them all the permissions, I installed WebView, they still won't work.

I also flashed a bigger gapps package and even after giving permissions and installing WebView the problems were still there. So if I would want to use these apps, I would have to factory reset and start all over again. What is going on? I didn't have such problems until god damn marshmallow. So if anyone knows something, I'd be glad. (If a certain log helps to solve the problem, I'll gladly provide it)

EDIT: Chronus also crashes when I try to get the weather view for the week, and waze also crashes after trying to start it.

2. I just had to restore a backup (after I tried to fix problem 1 and failed), after the reboot the rom seems to have crashed, I put the console-ramoops in the attachments, but I could not open it with mousepad (I'm currently using Xubuntu) and the file looked like it was corrupted in root explorers text viewer.
[Xperia Z2 Android Development] Austin.gonzo:
I just looked and saw v28, did I see right ? Tell me if I'm mistaking :D
[Xperia Z2 Android Development] rcstar6696:
Yeah it fixes torch and some random reboots due adreno updates in v27
[Xperia Z2 Android Development] rcstar6696:
V29 is on the way

V29 should be up in the next mins

Changelog:

Google release 6.0.1 r42

Security update to May

Audio improvement
[Xperia Z2 Android Development] VinBenzin810:
Noise problem fixed?
[Xperia Z2 Android Development] rcstar6696:
No it can not be fixed on aosp atm we need to wait for mm kernel source
[Xperia Z2 Android Development] VinBenzin810:
If i read it right under android devlopment section that the kernel source been released a few days before
[Xperia Z2 Android Development] rcstar6696:
Nope only open yource archive we need the copyleft kernel from. 570
[Xperia Z2 Android Development] abrahammurciano:
Is this ROM pre rooted?

Is this ROM pre rooted?
[Xperia Z2 Android Development] rcstar6696:
No but you can flash supersu via twrp recovery works on tjis rom too
[Xperia Z2 Android Development] abrahammurciano:
I can't seem to be able to use smart lock trusted face feature. When I go to settings to enable trusted face, right in the screen when your face is meant to be recorded by the device, the frame to show where to put your face is there but my face is not shown. It just says "Starting up..."

Please if anyone has any ideas please post
[Xperia Z2 Android Development] Austin.gonzo:
Well...!!!, The camera is partially working so maybe the reason of not showing anything is bc the camera isn't stable yet
[Xperia Z2 Android Development] abrahammurciano:
Do you (or anyone else) know when a stable version will be released?

Also, my camera works fine from the camera app. After a long time of "starting up..." It loads for a second and the camera freezes showing a frozen image of me looking at the screen.
[Xperia Z2 Android Development] rcstar6696:
A stable version will take time and we doing our best to improve it

Okay i have no problems here with the camera app only sometimes the camera can not initialised but a reboot help then
[Xperia Z2 Android Development] Austin.gonzo:
Does the slow motion work ?
[Xperia Z2 Android Development] kokesh:
WHat is the actual state of the Camera? Does it take fullres pics? How about manual controls? I was away from this thread for some time now.
[Xperia Z2 Android Development] rcstar6696:
Camera is improved but not all things work and its a bit unstable pics in full res should work and manual controls are not stable here
[Xperia Z2 Android Development] Kevin.Silbstedt:
I'm afraid I have to post crash logs again. This time I put all logs from the pstore folder in the zip , since two other logs suddenly appeared after the fourth crash (I'm numbering them now since my first reported crash, so I, and possibly you rcstar6696, can keep track on them).

Don't know, if it is important: I updated from v28 to v29 by flashing the OTA, Gapps and Super SU (2.68). (I couldn't update from v26 to v27 with that method, had to clean flash) I don't know, if the crashes are somehow connected to that, if that's a possibility, I could do a clean flash and test again.

crash number 3:

I'm not sure with this one. I wanted to look at my phone and suddenly saw the pin code screen (which means it restarted, obviously :)). Maybe I restarted the phone before that via the reboot menu app (I still don't use xposed to make sure, that the bugs I report are rom related), but there were two logs in the pstore folder, so I put them in the attachments.

crash number 4 + 5:

Til now I didn't have time to test, if the problem I reported with my first log was fixed since then. Sadly I experienced the same behaviour on v28 (without a crash reboot after the dropped call, but I had no time to get a log back then) last week and now I experienced it again on v29. This time with a crash, that is why there is a log from the pstore folder in the attachments. This call lasted just 56 seconds. Don't know, if it's important, but there was total silcence on that call (no one talked or anything, it was just for testing).

Right after that crash I made another test, this time it lasted 4min 22 seconds and then dropped the call (again with a reboot). In difference to number 4, I made sure, that there was a constant noise coming from both phones. I don't think it has something to to do with how long it lasted, I just wanted to make sure, if it would crash again with audio.
[Xperia Z2 Android Development] rcstar6696:
Crash 3 is a known issue its an immou error and we work on it if the new kernel is finish

Crash 4 and 5 are the same but i can't reproduce it here i tested calling for half an hour and all was okay

But we currently rework complete msm8974 kernel tree which includes audio and update the kernel to the newset version

Btw we found the battery issue and charging problems :) it will be fixed in new kernel but not sure when we are done
[Xperia Z2 Android Development] abrahammurciano:
My camera button doesn't open the camera app. I know that in stock android there may not be this option, but shouldn't this ROM have it in built since all Xperia z2 devices have a camera button?

Does anyone know how I can add this functionality myself?
[Xperia Z2 Android Development] RyTekk:
Try Tasker, I got it work but only when device is activating (screen on).
[Xperia Z2 Android Development] Kevin.Silbstedt:
Well those are some good news.

That's not so good, it means the cause for the problem is unique to my device.

I figured something out (probably, could be a coincidence, but I don't think so):

After a while, when I get a call, the audio I hear gets these pauses in it, pieces of silence and the caller cannot hear me anymore. This time I was quick enough to turn on the display and this problem stopped, I tried this 2 times in one call. Sadly in the end the call still dropped but without a crash reboot.

If I hadn't turn on the display, when the audio pauses occurred, I probably would have gotten the crash reboot again. So maybe, I got two issues instead of one (yeah :() Could Greenify be the cause of this issue? I already uninstalled it, during the call, but the call still got dropped as I already said. I will further test this.

I put the logs I could get in the attachments, but since it didn't crash reboot the pstore folder was empty.

Edit: It's not Greenify.
[Xperia Z2 Android Development] chrisyuhc:
Sorry, I don't know the custom rom too much, wanna ask 2 questions:confused:

1. Does this rom enable the adoptable storage?

2. Do I need to root my device in order to install this rom?

Many thanks,:cool:
[Xperia Z2 Android Development] rcstar6696:
Yes you can use adoptable storage on this rom if you insert the sd the first timecit will ask if not you can do in storage settings

Device must be unlocked (unlocked bootloader is required)

Btw root does mean unlocked bootloader root is possible with locked loader

But all custom roms reflash kernel and this is only possible with unlocked bootloader
[Xperia Z2 Android Development] rcstar6696:
Hey i think we have solved the call issue add this like they did it here (audio policy file should be under system/etc)

https://github.com/omnirom/android_device_sony_leo/commit/0fabfce7980083b024557ffc36902ea228c2ddcb
[Xperia Z2 Android Development] arsenicas:
Hi [MENTION=5621191]rcstar6696[/MENTION] . The option to select preferred mobile network type seems not to be working on v29. can't select 3g/2g from LTE
[Xperia Z2 Android Development] rcstar6696:
Hey i tested it on v30 privat testbuild and it works i can change it but it takes some time to switch between them
[Xperia Z2 Android Development] Austin.gonzo:
Hey what, version of chain fire's su is compatible with this rom
[Xperia Z2 Android Development] fahim siam:
are the bugs fixed now?
[Xperia Z2 Android Development] rcstar6696:
Supersu 2,71 beta here

Changelog will come for v30 but which bugs do you mean
[Xperia Z2 Android Development] fahim siam:
Any type of big issu.....camera,nfc etc......basically i want to know what bugs are there?
[Xperia Z2 Android Development] Austin.gonzo:
Most bugs are solved really, one of the bugs was heavy battery drain from 100 to 85 <<< this bug been solved in v30

camera is fixed but not fully fixed( you can't use all features of ur camera, recording at 1080p for example)

NFC didn't work for me, sadly

There are other bugs that we can't see bc they are under hood but overall it's a good ROM
[Xperia Z2 Android Development] rcstar6696:
V30

Sorry for the long wait for the changelog but i'm currently busy because of my exams :o

Changelog V30

Battery drain is fixed after full charge

Some audio improvement but nothing special

Small kernel fixes

Video compressed offload

We are currently work on a new kernel version it works but i has to much bugs atm such as broken micro if all bugs are okay to give us a good feeling i will update the kernel for this rom :) i think it will not take so long to fix the Problems

And i want to include snapdragon camera but i want to hear your mind about it?
[Xperia Z2 Android Development] Envious_Data:
I wouldent mind as im waiting to replace stock with this when it becomes more daily use ready
[Xperia Z2 Android Development] Austin.gonzo:
I personally never used snapdragon camera but I heard it's good n it has more features than the one included in the ROM & are you gonna use cm kernel bc cm13 only has snapdragon camera
[Xperia Z2 Android Development] rcstar6696:
No its nit correct aosp has it to look on omnirom gerrit
[Xperia Z2 Android Development] Austin.gonzo:
Ok so is it gonna fix any camera bugs ?
[Xperia Z2 Android Development] rcstar6696:
Sorry no idea i have not tested it yet maybe this we
[Xperia Z2 Android Development] Kevin.Silbstedt:
To start with good:

1. The weird battery drain from 100-85% really is gone now. But it didn't have a negative effect on battery life in my experience. Could you explain what the hell was going on there and how you managed to fix it? (you were kind of pessimistic about fixing it)

2. The dropped call issue also seems to be gone. Finally, thought I was going crazy there, since no one reported the issue except me. Just had a call running for half an hour and gave up further testing it. Also the person on the other end didn't hear himself, which several people told me before, started after a while in a call. But here is the catch: I had to keep the display on.

and to the bad:

1. My phone still crashes (kernel panic, logs are in the attachments) in a call, if the screen is off, after about a minute, sometimes longer, but max 5 minutes. So these were 2 separate issues as I guessed in my last post.

2. The weird green purple HTML5 videos, when they are not played fullscreen, are back.

But I guess, you should focus on your exams for now (I wish you much success on those), if you are looking for procrastination, there are better things than developing a custom rom, like silly cat videos.

Great to hear, Kcal support would still be awesome and shouldn't cause any instabilities. (I noticed, that if I set the saturation to 20 and turn down the blue a bit, the screen of the Z2 is pretty colour accurate, only reds are still oversaturated)

Isn't Snapdragon Camera normally capable of controlling the shutter speed? If that would work, it would be awesome.
[Xperia Z2 Android Development] fahim siam:
Ok....thanks...i will try it later
[Xperia Z2 Android Development] Sa_alsheikh:
Is there a cm theme engine in this rom ?

I'm Kinda Noob, Sorry.
[Xperia Z2 Android Development] RyTekk:
No, it's vanilla AOSP.
[Xperia Z2 Android Development] TONYTONYAU:
Found a bug

Camera shows "can't connect to camera" after changing resolution 20.7mp to 8mp(16:9)

This also happens in omni(14/5/16)

sorry that I don't have a computer so I can't give you my log
[Xperia Z2 Android Development] rcstar6696:
Yes i know this its a fault in the blobs and will be fixed later

Alin is working on it but in general to explain it currently only 20.7mp mode matches the camera correctly and the other ones are broken or not implimented at all
[Xperia Z2 Android Development] Dragoss91:
Is there any chance to get fixed also the fisheye bug in the blobs ?
[Xperia Z2 Android Development] rcstar6696:
Sirius has no fisheye bug only z3 has it all what you see is the same as on stock
[Xperia Z2 Android Development] Dragoss91:
Z2 has too , maybe not all phones but there's a certain batch or more of them that have it . I can confirm this .
[Xperia Z2 Android Development] rcstar6696:
Okay but this is not fixable in aosp because of no implimenation of sonys camera Algorithmus which seems solve the problem
[Xperia Z2 Android Development] abrahammurciano:
I recently installed this ROM, but I'm having 3 problems (may or may not have anything to do with each other):

1) my phone overheats all the time. The screen gets really hot whenever the phone is on, mostly on the top 3/4 of the phone

2) My battery now drains really fast. Before this ROM, my battery lasted at least a full day (12-16 hours), but note it only lasts maximum 8 hours. Furthermore, when I'm using my phone for video playback, even if it's plugged and changing the battery label will drop.

3) every so often the phone randomly reboots

If anyone knows why any of these things are happening or know a solution please share. I really don't want to go back to Sony's ROM?
[Xperia Z2 Android Development] rcstar6696:
1) overheats is only at the first time after flashing the rom it should be fix it self

2)battery life is not as good as stock but i think 8 hours are fully okay

Hmm okay video play back and chargeing does not work never tested it here

3)reboots are fixed i the next Version should be come today
[Xperia Z2 Android Development] abrahammurciano:
I've flashed this ROM quite some time ago, but it still overheats a lot
[Xperia Z2 Android Development] RyTekk:
There're some people who reported that CPUQuiet is the reason which make devices to get a poor battery life and random reboot.
[Xperia Z2 Android Development] rcstar6696:
Yes cpuquiet is not the best but the most of reboots are iommu errors but those things are fixed in v31 which should come in the next few hours if the build is tested on my devices
[Xperia Z2 Android Development] rcstar6696:
V31

Hey new update is available

Changelog:

Update to R43

Fix iommu error (reboots while video)

Adjust Powerhal values

Usb and Bluetooth improvement
[Xperia Z2 Android Development] timoti123:
The only thing I am missing from this ROM is fully working camera and exFAT support. It is really smooth - much much smoother then stock mm. [MENTION=5621191]rcstar6696[/MENTION] Do you think camera and exFAT will be fixed?
[Xperia Z2 Android Development] RyTekk:
Camera will be fixed for sure but about exfat I think not, it goes a little far from vanilla aosp, this rom aims to be as close as possible to AOSP.
[Xperia Z2 Android Development] timoti123:
One thing I found and don't know if it was metioned but when I am calling with someone they hear themselves. Is there any fix?
[Xperia Z2 Android Development] RyTekk:
It's a known bug, the team has been working on it.
[Xperia Z2 Android Development] rcstar6696:
We are working on noise cancelling now and exfat will not ported because its useless if you have the other formats

Camera will be better we give our best
[Xperia Z2 Android Development] rcstar6696:
New build is up

Changelog

- gps fix if wifi and dataconnection is off

- add one missing service for modem (reboots should be gone)

- telephony cleanup

- permission Cleanup

New builds does not require img files it can direktly installed with the zip
[Xperia Z2 Android Development] Kevin.Silbstedt:
Man, you're on fire. Couldn't even fully test the last build. :good:

First off, the annoying reboots and crashes, that happend til v30 are gone, I now had multiple calls going over half an hour even with the screen off.

I had no reboots or crashes on v31, since yesterday I'm running v32 (had to clean flash, got into a bootloop when updating from v31). I would call this rom daily driver material now, which is awesome, great job!

I just had one random reboot yesterday on v32. I wanted to turn on the screen, coudn't unlock and got a crash and reboot. But I could not reproduce it and it didn't happen again til now. (pstore folder content zipped in the attachments)

The most annoying bug now, seems to be the fact, that the other caller hears himself (next to no one likes to hear his own voice, also it's quite irritating), which doesn't seem to be caused by the microphone picking up the speaker sound, since it also happens, when I'm using a headset.
[Xperia Z2 Android Development] rcstar6696:
This reboot was caused due audio input service never seen this before i will look but i think this will not happen again

Yes noise cancelling is the biggest Problem and nfc does not work
[Xperia Z2 Android Development] Kevin.Silbstedt:
You sure this is caused by not working noise cancelling? Then why is his issue still present when using a headphone?

Oh and NFC, yeah, I have know of this feature since I got a i9300, I haven't used it even once with any of my phones.

What I forgot to say in my last post is, that the html5 videos are greenish again, when not played in fullscreen. Not really important, but you were able to fix it some time a go, it just came back.
[Xperia Z2 Android Development] rcstar6696:
Yes it is noise cancelling it is Completly broken our sound master is looking on it atm

Same here nfc is one of the useleess things on a phone i never used it on mine

Okay this should be easy let me look if new ardeno blobs are available if yes i think it will be fixed later

Maybe i try n preview blobs from z3 they should work too
[Xperia Z2 Android Development] abrahammurciano:
uh... just tried to update....

TWRP returned "Coud not find 'META-INF/com/gooogle/android/update-binary' in the zip file"
[Xperia Z2 Android Development] rcstar6696:
This is is not possible redownload the rom from mega maybe a broken file
[Xperia Z2 Android Development] Kevin.Silbstedt:
Man, I'm going insane...

I had multiple calls with no problems over long periods of time, but sadly I just had a crash during a call (didn't even last 20 min, the others lasted way longer).

I was using my headset, suddenly the caller on the other end couldn't hear me anymore, so I disconnected the headset and spoke through the mic on the phone for some time (and did some other crap, like using the loud speaker mode), connected and tried the headset again, did work again, then the same crap started again and tried to speak though the normal mic again and hot reboot. I had no crashes since v31, what is going on?

I put the logs in the attachments again. Btw.: If you know of a good tutorial on how to read these logs and figure out things for myself, I would be thankful.

Also I had pretty big battery drain last night because of a wakelock (see attachments), might be rom related??? :confused:
[Xperia Z2 Android Development] rcstar6696:
So the issue in your dmesg was a null poniter iaaue and this means a value was zero but i should never reach zero

The bigger battery drain is audio releated ia it possible that you have a music player or Youtube in recents screen if yes close them and it will work again

To your another question how to read the log is not esay to describe its a bit of experpirence in fixing things up googling and very exact reading
[Xperia Z2 Android Development] AcidFX:
i wouldnt say that NFC is useless. I use it to pay in subway and trains (to charge cards). Its much comfortable that to stay in queue for tickets )) Its the only thing why i dont use aosp. I liked this rom, but waiting for nfc fix. even camera is not so much important for me ))
[Xperia Z2 Android Development] rcstar6696:
ok hmm i will talk with our kernel master :D it is a kernel issue to 100%
[Xperia Z2 Android Development] kapilesh8:
i just updated from v31 to v32 and then i realized that i couldnt see my caller id screen during a call. Is there a fix for this. because i can't cut a call or answer one when i get it. Please help me.

Is there any steps that i missed while updating?:confused: