yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
No. This is a reference AOSP ROM so that the current sonyxperiadev sources can be tested. Read the first post please.

For features install a different ROM or use Magisk. Besides, I am sure that whatever launcher you'd want to have installed by default a) would be copyrighted and b) other people might not like.

If you are coming from stock or another ROM, you most likely need to wipe your data. That is explained already.

Harmless, but should not happen. You sure you flashed v5 oem?

I don't quite understand what you think happened, but please report bugs in the appropriate place, see post #2. And describe in clear and exact terms what happened.

Might be buggy adb drivers, might be an issue on the phone. Hard to tell, so please report a bug with the attached log from both the computer and the phone.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] flylover:
Yes, I wipe data refer to installation procedure, but it can't solve decrypt failure problem, and finally I solve the problem with "Format Data" button in TWRP.

And I flashed oem image: SW_binaries_for_Xperia_Android_9.0_2.3.2_v5_tone.img, is that correct?

Thanks a lot for your quick reply.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Stronger1101:
Hi guys.

I have any question

What GSI is the more stable?

What GSI had the best camera result?

What GSI they do you recomended for daily use?

And now a question wich can bother to some

I'm the only one who has noticed that since the GSIs appeared the develop has been more complex and slow?

I wait dont offend to no one, and that some they can and want to answer my questions.

Regards
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Layns:
Oem v6 is out
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Slawek1995:
I Think, for now there is no chance to good camera result. I've tried so many times and always the same. Perhaps, developers will fix this bugs in next releases and AOSP will be a serious alternative to stock rom. For now, there is problem with brightness on photo, and with flash- when you try to take a photo with flash, it's poorly lighting and there is no effect on pictures and flash ligt too fast and camera will not be able to take a photo. I've tried Open Camera and flash working good when you use HDR option, but it does not make sense to me. But, if you want, try pixelexperience GSI, If it was not a camera problem I will stay on this rom for sure.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
anything new?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] J.M.Siyath:
Reboot issue Fixed!
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] flylover:
No, I try to flash with latest oem v6 with flash procedure, my phone still reboot itself sometimes, and still alert "internal system problem" like oem v5.

Is there any advice for me to solve it?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] J.M.Siyath:
Try on New Build : 2019-03-06

Change Log:

Note: You need oem binaries version 6 to test this and later builds

Update to March security patch(03-05, r34)

Note: If you are using forceencrypt for whatever reason, you need to reboot once after the first boot to have all sensors available, else calling and camera etc. will be broken (see https://github.com/sonyxperiadev/device-sony-common/commit/ef615b69db83f7f4b8a8e8936954e884241a6f7f which doesn't entirely fix the problem). Regular users are unaffected.

Internal: Add vim and zip for debugging from omni

Switch to new power HAL, please report any power-related issues you may find(slowness, excessive battery drain)

Load CASH ToF sensor calibrations from the TA partition
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] flylover:
Thanks to your update, I'll try it today and report issues if I meet.

Does I have to flash with full flash procedure include wipe data/cache/Dalvik, reinstall dual-sim rom, reinstall google apps, or just enter TWRP and install the latest rom?

Thanks.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] J.M.Siyath:
Actually I just inform to you about new update;)

Say Thanks to our real Contributors
[MENTION=9500530]local__hero[/MENTION], [MENTION=6004616]MotexT[/MENTION] and [MENTION=6710662]fastbooking[/MENTION]

full wipe and flash is best for every new update!
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
You should not need to wipe anything if you come from an earlier version of this ROM.

You do need to re-flash GApps and the dual-sim patcher after evey update though.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] flylover:
Thanks for your quick reply, and update issues I meet for your reference.

These issues based on oem v6 with 2019-03-06 Nightly rom + dual-sim rom + Gapps-arm64-9.0-pico:

1. Still alert internal system error at startup

2. Less unexpected reboot appears

3. Speaker frequently failed - video can be played with videoplayer app but no voice output, and alarm clock works (with message appear) without voice output. Sometimes reboot phone solve this problem, but failed to work again after some minutes.

4. Frequently unable to play video in Instagram, sometimes reboot phone solve this problem, but will failed to play again after some minutes.

5. More stable in executing Youtube - Youtube frequently frozen in 2019-02-06 version.

I wipe all and install back to 2019-02-06-stable rom now.

Any way, thanks a lot.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] piotr7543:
flylover u are using this rom as an daily ?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] flylover:
I'm not sure what you mean, but I just hope to find for a stable with less issues rom and flash it, or actually flash phone took me too much time in recovering app configuration and data.

It's not easy to provide latest android rom and keep improving it for everyone without any salary, so I think I shall reply what issues I meet for developer's reference at least, and hope to help for improving the rom.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
He means do you use this ROM everyday as your only/main ROM. also thanks for providing issues, i'd love to see this stable one day :D
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
Don't make me ask you for logs every time!​

You posted the exact configuration you used, thank you. Others, take note.

This is harmless, a small mistake on my part but nothing you should worry about. The message is because I sometimes don't clean my build folder after doing a partial build. It's completely harmless, it only means the boot image was built a few minutes before the system image and the fingerprints are mismatched.

That's quite bad, did you have a lot of these on the February release? Please try to reboot into TWRP immediately and copy /sys/fs/pstore to your sdcard and post the files here.

Please post an adb logcat for that

Please post an adb logcat for that.

First, please don't report issues here. As I've said before, xda is not a good place to collect bug reports. Please report them to the sonyxperiadev bug tracker!!! (And add them to the bug list mentioned in the second post)

Always post logs when you report an issue! Otherwise we cannot help you.

Don't make me ask you for logs every time!​
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] BingoThePyro:
Good Work!

Just installed this on my XZ after the stock ROM just started going REALLY slow for the second time for no reason (disabled/removed unwanted apps, not much running, etc then reset to factory and it happened). This also happened to my wife's phone but I ended up having issues with custom roms and went to a different stock rom and it seems fine.

After getting this going I only had two minor issues that are now resolved:

The initial setup basically froze right at the end and the phone went unresponsive. Left for 5min+ then rebooted with VOL+ and POWER and it finished setup fine.

After installing my main half dozen apps, tested spotify and there was no sound. Tested ringtone and same. After looking through threads about this and related ROMs, I just decided to do a normal reboot and that is fine now too.

I just have to say, after changing GPU rendering setting, this rom is FAST. This is my daily driver so I'll try and keep you posted, but good work and thanks!
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Twin.Twiggs:
I tried lots offl Pie Tom but SIM not recognized. Does this rom have SIM error? Pls reply me, thx
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] fallingandroid:
Sounds like your phone has a error. I can guarantee it's not the ROM
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Twin.Twiggs:
I dont think so. On stock sim is normal. My dev SOV34 up to F8331
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
New build compatible with v7 Software Binaries released.

No logs - no response. Simple as that.

There is something wrong with our audio HAL, some kind of race condition where every second boot or so the audio is not initialized correctly.

I've added a workaround for now (just restarts the audio HAL once boot is completed), but we ought to find the underlying problem.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] BingoThePyro:
Hmmm, good to know as I have experienced this yesterday with no alarm sound. Messenger crashed and rebooted my phone earlier in the day, then set alarm for later in the day and didn't hear it. Tried plugging in headphones and made no difference.

Restarted phone, still no sound. Powered off phone, left for 30sec, powered on and sound fine again.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
Two things here:

First: Your whole phone crashed, caused by Facebook(?) Messenger? Please reboot into TWRP next time that happens (and it really should not happen!) and copy the contents of /sys/fs/pstore to your sdcard and share them here.

Second: Do you still experience audio issues on the 2019-03-26 build? Please also post a logcat of this happening.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ScaryMonsterSC:
So, this is my experience, I jump from OEM v3, to OEM v5 and I can't hear calls, and can't record audio, don't know exactly where I should start searching to be sure It's not something I did wrong, but I tried OEM v6 and now I'm on OEM v7, now I'm using 2019-03-26 and Gapps-arm64-9.0-pico but remaing the same (I always wipe cache dalvik and data)

So here's a logcat after trying to make a call, if I can post something more to help u find out where it can be a problem let me know, pls

https://del.dog/buyexisare.pl

Thnks for ur work, with these <3
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] TalhaGirgen9:
Almost everything seems working on lastest nightly (3/26) with v7 oem including call audio (bt not tested)

Except;

-Auto rotation is broken (not working)

-Camera randomly becomes unavailable (not know the reason, aosp camera app freezes and gcam fc, rebooting usally fixes but sometimes needs couple restarts)(maybe thermal based issue?)

oem v7, Lastest nightly (3/26) Full clean installation (wiped /data and /system aswell) , using lastest MindTheGapps , Magisk 18.1
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ScaryMonsterSC:
I tried /system wype and clean ROM without gapps or magisk

Still not working audio in calls or microphone on apps like telegram or whatsapp

Top speaker working fine

Autorotate seems okay to me

And bt for music, but can't test calls
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
Thanks for the log, we'll look into that. Could you please try again without GApps and report back?

The auto-rotation and camera issues seem like a sensors issue, I though we had fixed it but apparently not fully. We'll take a look, thanks.

Next time, logs.

Call audio should be fine, but as stated before, maybe it's GApps (GMS).
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Layns:
Camera is fixed? Does it work well?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] BingoThePyro:
With these issues generally happening when I was NOT able to do a logcat, I decided to wipe completely and went with aosp_f8331_2019-03-26-NIGHTLY/OEM v7/open_gapps-arm64-9.0-pico-20190409. After testing for a couple of weeks now (school holidays so been busy) here are the results:

Good:

No random reboots

Most audio fixed (incl bluetooth)

Generally still runs fast

Not so good:

Call audio goes to speaker about 80% of the time, rather than top speaker (same results as others with reboots and sometimes fixing it)

Camera does not work, only displays black randomly (same results as others with reboots and sometimes fixing it)

Phone does not charge (or extremely slowly) if fully depleted and not running

Intermittent 'slow spikes' where the phone becomes basically unusable.

- No reason that I can find for this, I close apps frequently to prevent this sort of thing.

- Tried advanced task manager to view processes but that makes the phone REALLY unhappy until it is removed :)

Messaging app keyboard sometime has no enter key but instead has an emoji button so cannot send TXT messages. Also when this happens, it does not (and you cannot) scroll to the most recent message as would normally happen. In this state you get 'Messaging isn't responding' close app/wait message.

After boot, get message' com.android.phone keeps stopping, app info or close' a couple of times.

Other Notes:

I DID restore my previous backup after 1/2 a day to get apps back

Removed magisk so bank app would work

Swapped to using Nova launcher

Between the Camera no go and Messaging app issue I'm happy to wipe if needed.

Logcat here with phone call test (add h t t p s) //1drv.ms/f/s!Aki7Pe33c8VwhfpPD2YJs8417nx0rA

(I'm new to basic debugging android so if you have a link handy with more info that would be awesome)

Anyways, thanks for your time on this and let me know what you want me to try :) I'm guessing a wipe, no gapps and just clean basic testing for a few days and go from there.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] thsnielsen:
One more for the stats ..

Hello

For the stats can second the below but was using :

aosp_f8331_2019-04-28-NIGHTLY/OEM v8/open_gapps-arm64-9.0-mini-20190428 (or 27 don't remember)

Still the main griefs are

Camera not working also tried open camera

not possible to send SMS (see explanation from BingoThePyro below ) - same in "signal" messenger app

Battery drains fast

AND AND AND the odd one : the amazon app is not starting?? it goes go a white screen and stays there..

I tried a lot of different builds, and had various experiences, but this was the best result i could get

BUT to keep a positive note, i am happy being on Pie, and if i can help with logs, please ask away, but i think you already know it all.

Greetings
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
I have found some bugs in the latest build...

1. Camera app just randomly works and and when it works you can't switch to video recording because it will just crash and won't launch again until your fc in the settings.

2. Auto screen rotation doesn't work.

3. Since camera is so buggy apps that use camera like snapchat have ton of problems as expected.

I am using bare AOSP 9.0 latest 28.04.2019 build, no Gapps installed, no magisk installed, no any kind of mods installed, no apps installed (other than snapchat for testing)

LogCat: https://del.dog/asulukitif.coffeescript

I have reproduced all of the errors I have mentioned if I missed any please notify me. Same bugs also apply to Project Treble build.

Also I have tested v8 Oem, v7 Oem and v6 Oem. v8 and v7 results were same. In v6 camera worked fine but no sim card detected.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Layns:
Camera doesn't work for 02.05.2019 build .
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
I agree on that, it is the same with the previous build. Same problems exits with the sensors. But only on OEM v7 and v8. If I install OEM v6 auto rotation and camera work perfectly but no sim card detection.

Note: Since I have attached logs in my previous post and same bugs are accuring I am not attaching a new one on this one but if it is necessary I can attach a new one.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
I literally have no idea how this keeps happening for you guys.

The only idea why sensors keep not working I have is from the logs you give me, and for most it was the SELinux labeling issue in /mnt/vendor/persist/sensors

Most people still somehow had stock labels (

u:object_r:sensors_persist_file:s0

) instead of the correct label (

u:object_r:persist_sensors_file:s0

).

You can check yourself whether you get messages like

"avc: denied { search } for name="sensors" dev="mmcblk0p44" ino=12 scontext=u:r:sensors:s0 tcontext=u:object_r:unlabeled:s0 tclass=dir

"

And also whether you have the correct labels with "

ls -laZ /persist/sensors

" from inside TWRP. To fix the issue, mount /persist inside TWRP and run "

chcon -R u:object_r:persist_sensors_file:s0 /persist/sensors

".

For any other issues with telephony: I have no idea how that can happen. We only changed the prop that sets the dualsim availability from "persist.radio.multisim" to "persist.vendor.radio.multisim" and all else should remain unaffected.

oguzbatu: Your logs show that the issue is indeed wrong labels. Your sensors should be fine, but I have no idea why your SIM detection is broken, nothing changed about that code.

Layns: Please post logs, camera is working fine for me on a fresh install.

thsnielsen and BingoThePro: The camera issues occur because of the unavailability of the sensors service. Please try a clean flash and tell me whether your issues persist.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Layns:
content://com.google.android.apps.docs.storage.legacy/enc%3D7kXEQ2IH3nKesUFfA-ZaCAvrnUACc5boXzHdtPpyOWDa3JYl%0A

This my logcat ?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] caqo71:
Wich oem version are you using?

Enviado desde mi F8331 mediante Tapatalk
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Sim is not broken while using v8 or v7 oem and while I was taking that log sim was working fine since I got in on v8. On v6 sim card doesn't work but all other sensors work fine.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] BingoThePyro:
Hi, I have just done a format data, reflashed oem v7 and [ROM]aosp_f8331_2019-03-26-NIGHTLY and the camera did not work. Ran the chcon from twrp and camera is now working.

I am going to run fairly clean for a week only installing the apks for a few apps I use daily (no gapps) and see how things go :)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
All sensors should be fine on v8 now as well. If not, try running the "chcon" I posted earlier.

Try running the latest build (2019-05-02) with v8 oem, it should be fine now.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Yeap the code worked like a charm. Auto rotation and camera work without a issue.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Layns:
Where exactly are we going to write the code?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] TalhaGirgen9:
Still having broken camera even after clean flashing 5/2 with v8 couple times (with&without executing chmod) and heres the part of logcat that might help:

https://drive.google.com/open?id=1bzvNPrxkJXWS-cVvIHXS7IA1LSCGG7PJ

coming from existenz .192, unless i screw something up while messing around with it ,(i might clean flash stock .192 and try again if its the case but i prefer dont) but i dont really thing thats the issue as i dont really thing i screwd anything important
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] silveraero:
Did you try this?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] TalhaGirgen9:
Yep, already tried clean flashing then running chcon & without chcon and same results, even got same results without gapps and magisk
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
After clean flashing try to boot into the rom once then reboot to the recovery and try again. I recommend you to flash a version of magisk to prevent the rom from overwriting the recovery. If that doesn't work too you have to logcat and send to it here so developper can see whats wrong with it.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
That logcat doesn't show the root cause, however this part is relevant:

Sensors : sns_main.c(447):Timeout waiting for SMGR service. Exit sensors daemon!

Please flash Magisk and give me the full logcat and dmesg.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] TalhaGirgen9:
Heres logcat: https://drive.google.com/file/d/1-c4ECn-SoJfaw4nRBYo8cQzNyu9y2mdN/view?usp=sharing

dmesg:: https://drive.google.com/file/d/1pXocWQkxiocaWF-gqo4bCFCVsOfNtUeU/view?usp=sharing
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] TalhaGirgen9:
Quick edit: Completely wiped and flashed lastest ftf, ran chcon then clean flashed without gapps & magisk and sensors are fine now.

I think flashing bulk with gapps breaks something since it mounts persist while installing.

Also flashed magisk & gapps after that and everything seems fine so far.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Layns:
I ran chcon but I get permission denied error?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Can you send the error code/ error name so we can look into it.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Layns:
/persist/sensors no such file or directory

This
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Did you type mount /persist before all of the text? If you did then you typed it wrong try again carefully.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] BingoThePyro:
Thanks -I checked the changelog and it is worth doing so hopefully get to it in the weekend.

On another note, NOT having gapps my device is consistently more responsive and far far lower battery drain - I am contemplating staying this way (I used apkpure to easily get apps)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
You can use pico gapps it only comes with playstore and google services.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] mtcr11:
I just test the lastest build (10/5/2019) but camera still not working, can chmod solve this problem or i have to wait more build? Thxx
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] LuthfiKun:
Flashing the dual sim patcher (f8332-dualsim.zip) result in immediate shutdown when the phone is trying to recognize the sims (I saw a flash of my carrier name on the lock screen and then the phone powered off). I've searched the thread for similar issues but nothing.

All I did was flash aosp_f8331_2019-05-10-NIGHTLY.zip, boot and enable usb debugging, reboot to recovery and flash the patcher then reboot to system.

I've tried the other, older f8332 patcher on your web but the results are all the same.

Here's some logcat. It's captured the moment my computer recognize the phone until the phone itself powered off.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] J.M.Siyath:
do "chown -R system:system /persist/sensors/" (but not in TWRP, you need to do the chown in a running build). It will Work:fingers-crossed:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
There's an issue with the QcRilAm HIDL service that crashes the whole device. Might be because I have vintf manifest enforcement enabled. Let me see what I can do.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] LuthfiKun:
Great. Nice to see the cause of problem has been found.

I don't know if this relevant or not but I guess additional info won't hurt:

The issue has been persisted since back of mid march (I think) build using the earlier patcher.

And I just tried to flash the latest omni build (omni-9-20190512-kagura-WEEKLY.zip) and with f8332-dualsim.zip and the issues isn't found there.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] J.M.Siyath:
Try this new by [MENTION=9500530]local__hero[/MENTION] today.

https://sx.ix5.org/files/builds/kagura/misc/f8332-dualsim-patcher-v3.zip