yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] shofiulazzamm:
I flashed .618 update. Flashed twrp after it. Sideloaded and flashed(tried both)) the zip file for the rom and gapps. Then went into fastboot and flashed the img file on both partition. Am I doing anything wrong?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Did you fullwipe your phone?

After you got the corrupted message, can you boot the may twrp and after you are stuck in the twrp screen, please use adb shell and give me the files from "/sys/fs/pstore"

Or if it boot loops please use adb shell to give me a "logcat -b all"
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] shofiulazzamm:
after I finished flashing twrp gets replaced by the recovery in your rom. I am not so well versed on how to do the things you asked of me :p
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] shofiulazzamm:
i did data system and cache wipe not full
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I hope you didn't flash the twrp and instead just booted it :P
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] shofiulazzamm:
i used this cmd

fastbooot flash boot twrp
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's wrong and not part of the twrp manual
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] shofiulazzamm:
oh when i tried to use this, fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img, i was getting and error

fastboot.exe: unknown option -- disable-verity"
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
There is a gap between -- and disable-verity
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] shofiulazzamm:
the twrp is unresponsive every time i follow the command from twrp page :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
the stock twrp or the sodp twrp?

And what means unresponsive?

Stuck at the twrp logo?

No touch?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] shofiulazzamm:
its the stock version 3.3.1 and ya its unresponsive
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I will fix it with the next twrp version.

you can use the adb to install stuff instead

https://twrp.me/faq/openrecoveryscript.html

Others say quick pressing the power button many times fixed it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] shofiulazzamm:
ugh I give up I am still getting data corrupt error. Thjanks for the help dude i really appreciate it :) maybe will try again when you release something new
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Vi.sr:
Hi MartinX3,

I appreciate you work. I have little question. What SODP contains? How about Camera? Is it same as in official FW? That is main thing I am interrested :)

Thank you for your answer.

P.S.: I was trying to find out, what is in SODP, but without success.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you :)

SODP is the Sony Open Devices Project by the Sony company and volunteers.

In this thread I just provide the unmodified experience.

Means just AOSP + usage of the camera hardware button (pushed into AOSP by the SODP team) and the added glove mode.

The SODP act as a core to add sony xperia support for every custom ROM / recovery.

Its target is to provide Android support and to mainline the devices into the linux kernel (the later one is a slow process).

The official site by the sony company employees

https://developer.sony.com/develop/open-devices/more-information/contribute-and-support/

And the unofficial site by the volunteer team

https://sx.ix5.org/opendevices/

PS: Volunteers are very well welcomed. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TacoLoco:
I'm trying to boot SODP TWRP (after flashing SODP and OEMv7) and after a long black screen (with blue LED) it shows me TWRP Logo and is stuck there.. Tried to flash OpenGApps from the builtin Recovery via ADB but it doesn't work (tried with OpenGApps and DS Patcher)..

Any idea?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The twrp I uploaded yesterday?

Then I need a "logcat -b all" via adb shell, the /tmp/recovery.log file

And the contents of the terminal command "getprop"

Yeah, the default aosp recovery is limited.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TacoLoco:
[MENTION=6031898]MartinX3[/MENTION]

Nope, will try the new one and report back!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] knightxs:
OEM Binaries V8 released ?

https://developer.sony.com/file/download/software-binaries-for-aosp-android-10-0-kernel-4-14-tama/

V8 is released right ? Does it bring any camera improvements ???
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zhka:
Not sure, still persists focus problem. No manual exposure (minimal 1/15) - means no lowlight photos.

Minimal iso still 100, it's enough noisy.

Tried gcam that worked on omnirom/aosp A9 - no luck.

Seems still no support for it. Or mb I'm wrong ... :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
OEMv8 compatible builds will appear here

https://jenkins.kgv.dgonzo.eu/view/MartinX3/job/AOSP 10.0 SODP Akari ROW/lastSuccessfulBuild/

https://jenkins.kgv.dgonzo.eu/view/MartinX3/job/AOSP 10.0 SODP Apollo ROW/lastSuccessfulBuild/

https://jenkins.kgv.dgonzo.eu/view/MartinX3/job/AOSP 10.0 SODP Akatsuki ROW/lastSuccessfulBuild/
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Sadly the camera resource budget to make gcams work wasn't fixed in OEMv8, too.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
20.06.2020
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] YusukeYuu:
HDR playback fix?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I sadly never had any HDR stuff on my phone to test.

But the bug_tracker status is still the same.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] quadge:
Phone rebooting to error

When I install the rom through TWRP and reboot, it boots to the system, but after a few seconds the "Powering off" popup comes up, and then the phone reboots to the recovery with an error message about corrupt data. How can I fix this?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
If you have a dual SIM device, you need the dual SIM patcher
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] quadge:
How should I go about installing that? Should I flash it right after flashing the ROM, or re-install TWRP after flashing the ROM, boot to system, then flash it?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You can just flash it now in TWRP, it's just the qcrild service crashing due to expecting a single sim device.

The TWRP doesn't need to be persistent installed on the phone.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] quadge:
I installed the ROM and the dual sim patch in TWRP, and then tried to boot to system, but the same issue occurred, where the phone rebooted twice to system, then booted to recovery error screen.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please give me a logcat -b all before the system crashes.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] quadge:
When plugged in, the phone doesn't power off.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Because either you did choose the stock twrp or you didn't reboot into Fastboot with the software and instead used the buttons.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] quadge:
I installed SODP TWRP without issues, and after flashing the sim card zip everything works fine, but after selecting the factory reset option in the ROM, the phone boots to TWRP instead of the system. The "Fix recovery bootloop" option comes up with an error patching kernel.

cd /tmp/repackorig/ && /sbin/magiskboot hexpatch kernel
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Then the kernel is already patched.

Hmm, after the factory reset of twrp.

Please try "fastboot -w" and reboot.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] quadge:
That seems to have fixed it, thank you very much for all the help!

---------- Post added at 12:37 AM ---------- Previous post was at 12:22 AM ----------

Now the fingerprint sensor does not work... What can do to try and fix it?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Nice!

You're welcome!

It doesn't work? O.o

Are you very very sure? O.o

Please give me a

logcat -b all

After the fingerprint sensor didn't react
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] quadge:
It seems me touching the fingerprint sensor is detected by the system, as seen in the last few lines of the log, but when trying to set up fingerprint unlock nothing happens for some reason.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
What you mean with nothing happens on setting the fp unlock?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The next release might get the audio optimizations which are in the works.

It will push the audio quality on the next level and reducing its battery usage system wide.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] quadge:
When I go into settings to set up fingerprint unlock and it asks me to touch the fingerprint sensor, nothing happens when I touch it, and it stays on the "Please touch the fingerprint sensor" screen.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] math_green20:
I'm having issues with gapps, it's updating google apps forever(4hours now, on wifi), and it goes to a black screen when i try to sign in google.

I flashed opengapps 10.0 stock for arm64, did I mess up?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I don't remember this bug.

But about opengapps bugs I would look into the opengapps bug tracker or in the open gapps forum.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Weird, according to the logs everything is okay about the FP.

Does it also happen in the GAPPs introduction dialogue on first system start?

Or in stock?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
A bird did twitter me, that we get another battery optimization after the next OEM + ROM release.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] math_green20:
never mind, i reinstalled gapps from twrp and everything it's fine now

---------- Post added at 10:23 AM ---------- Previous post was at 10:17 AM ----------

same issue here on Xz2 , logcat sees the sensor but it won't scan fingerprints
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's crazy. i use the fingerprint daily on my XZ2.

I added it at the end of the gapps assistant and added only one finger.

Did you try the same way?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] math_green20:
couldn't add fingerprints the the gapps setup part and i couldn't add any from settings-security either
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] quadge:
I had the same problem. Fingerprint sensor worked correctly in the stock ROM though.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
And the 20.06. and 06.06. build had the same problem about fingerprint or did it appear with the 20.06. build?

I am on a 17.06. build with working fingerprint.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] math_green20:
I don't know, I was on stock pie from Bell before
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You didn't update and boot the entire introduction assistant of stock 10 before on both slots, to update the other partitions of the phone, the hardware firmware and the baseband for mobile network access?

This is mandatory.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Aaaand a third battery consumption optimization by SODP should come into the next release.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] math_green20:
I followed instructions in first or 2nd post.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The first post says

:D

(But it is also a must have for any other custom rom since years)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] math_green20:
I did restore everything to Bell's latest firmware from Xperifirm before doing any of this
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
But you said you was on stock PIE of bell and not on stock Q before you did it.

Please boot stock 10 and do the entire first introduction screen to update your baseband.

If Bell doesn't have Q stock, please use a different region.

If you have an H8276 and there is no stock 10, please install the H8216 stock rom.

(I assume it is a single sim device; otherwise the H8266 stock rom)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
An upgrade of the wifi driver should come with the next release.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] math_green20:
Any 10.0 ROM for H8266...I have the weird one ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Here you go :D

https://xdaforums.com/xperia-xz2/development/
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Next release will include a new exfat driver.

4x more performance and no more out of memory errors if you have many many files!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bertus_f:
Hi Martin,

I use the 20.06 build for a couple of days now. Before, I used the 06.06 build. Both your builds (SODP).

The 20.06 build had indeed a fingerprint problem. I did not have this problem on the 06.06 build.

I erased all the user data and did a complete fresh install of the 20.06 build. But that didn't help either.

The battery seems a little bit better now. Sound is still crap when in standby. And camera still needs optimization.

Fingerprint doesn't respond at all. I own the H8324 (XZ2C dual). Maybe the fingerprint issue exists only on specific models?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Hmm, that's weird. I jumped now from 17.06. to a 29.06. build and my fingerprint is still good.

Let's see if the fingerprint is better on the july patch level build. Maybe between the 17.6. and 20.6. there was some trouble with the finger print.

The next build will also contain battery optimizations and a the CAF audio hal.

I run it now on my phone and the quality is better for my ears.

(Also please clean your top speaker, I did it and it reduced the scrrzzz using a high volume)

About the camera, it needs autofocus tuning, at the moment there are no auto focus optimizations, because due of the developer manpower this issue has a low priority.

Ah and about the specific models

It did work on the 6.6. you said, so there is hope it will work again with the next build. :)

I think it would be a good idea anyway to add a "logcat -b all" and a bug ticket there

https://github.com/sonyxperiadev/bug_tracker

since it is a plain AOSP issue.

Maybe it is really something XZ2C specific.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TacoLoco:
Camera is always on low priority at Sony, even on SODP Project :silly:

Just joking, would love to use it but Cam is useless atm imho..
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yeah, what the stock team does is weird to understand. [emoji14]

But at sodp it's just the missing manpower, otherwise it would be quickly done :D

To workaround I use the opencamera app in the "continuous focus" mode. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] math_green20:
I just rechecked today to make sure, I have single sim. Maybe it's me, I used Vodafone global 52.1.A. 2.1 for H8216 from xperifirm this time, used newflasher to flash then went through the first boot process and rebooted to install drivers. After this I flashed Aosp and still no working fingerprint sensor, it works fine with Vodafone though
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's weird

Please make logs.

"logcat -b all"

I am still on the .672 firmware but look to boot the 52.1.A.2.1 after my next exam.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zhka:
Any significant changes with new oem in this direction?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The changelog of v9 is on the OEM download website :P
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zhka:
Ahh I saw, very informative :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
14.07.2020
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bertus_f:
Thank you Martin! The fingerprint sensor is working (again) on my H8324. And even better: the sound is ok now, both on the speaker and on my bluetooth headphone.

Strange thing is, that the sound is still crap when connecting a headphone via usb-c (i use a hi-res sony headphone). The sound still stutters. Even when the screen is on (earlier the sound only stuttered when in standby mode).

But I'm glad the speaker/bluetooth sound and fingerprint sensor are working again!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I'm glad to hear, that the new release fixed your problems :)

My audio jack headphone is connected via the sony usbc aux adapter, there the music is great.

I would open a bug tracker issue and maybe check if your problem only happens with this USBC sony head phone unit. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] 180200:
Hello guys, I've got a problem and I would like to ask you for help.

I've installed this rom with nano gapps (rom via fastboot and gapps via booted twrp from fastboot (NOT FLASHED!) After that I made wipes.

My problem is, I cannot download anything from google play. Its showing "waiting for download". Any fix for that? Tried to clear cache etc, but nothing worked.

Any advice?

Looking forward to get your reply.

Dev, you're doing great job, keep going!

Cheers guys. Any help would be appreciated.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bertus_f:
Headphones

Audio jack+usb aux adapter works for me too! And when I install the Sony Music Center app, my usb headphone (sth 50) is working too, but only within the Sony Music Center app. Not a problem for me.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Weird.

If it is no normal behaviour (on stock) I would open a bug tracker issue with logs.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you

You're welcome

It's probably a gapps issue

The last one I tested it with was

open_gapps-arm64-10.0-pico-20200627.zip
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] 180200:
[MENTION=6031898]MartinX3[/MENTION] Thank you so much for your reply!

I reinstalled everything with nano, pico and micro gapps, the same results. Even downloaded the ROM again. Anyway I found a fix for that. Before when I finished the setup with any of them My google play wasn't working and I'didn't have it even in security section in settings. If you wan't you can add this to the first page if someone will have the same issue. I would be glad I could help.

To fix that just login into your google account and select "restore from cloud" option. Apps started to install immediately ("restoring apps" in notification bar) and after that google play is showing in security settings and I have no problem with downloading anything, so it's working for sure. I hope I could help someone who prefer nano/pico gapps.

About the ROM for now:

Full gesture navigation working

Camera working

Mobile Legends Bang Bang-runing without a single lag, much better than on stock.

PUBG mobile-same as ML, moreover at maxed out setting which I wasn't able to get on stock.

Smoothness is killing, no interface lags or anything

Only bug is big distortion of the top speaker, but I have it not only in AOSP (only stock rom works fine)

Fingerprint working well

Rock stable, ready for daily use, few hours of testing now, gonna be back after couple of days and let you all now how it's going.

Dear dev, I hope some day you will get users support as big as you deserve for it.

Cheers guys and take care guys!

Edit:

NFC not working for paying

Camera quality is back to 2k12

Nothing else so far.

Battery life is unbelievable, 20h for now of normal usage and 24% left.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you for the report :)

This july release brought us the CAF audio hal and in the next release we will have proper audio path mappings, which should give us a stock like audio. (Let's see how far we'll get Dolby as well)

About the GAPPS issue

Probably it's an issue with the current GAPPS

Please report it in the GAPPS bug tracker :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Next release should contain LTE speed fixes.

110mbps down is now the current record.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] jit-010101:
Can you please link to the Bug Tracker for the Hardware Resource Bug in regards to GCams not working on ASOP 10?

I'd guess it concerns all Sony devices (I own pioneer and face the same issues on official PixelExperience ROM using Sony ASOP Blobs) so I'd like to subscribe to get an Status update myself.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yes, of course

https://github.com/sonyxperiadev/bug_tracker/issues/544

But technically thos bug is only connected with the camX camera framework only used in tama, kumano, and probably newer flagships
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] jit-010101:
Weird pioneer shows exactly the same signs as reported there - I've updated the issue with my findings. So maybe there's some relation ...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I doubt but hope

Because this bug has a low priority due to missing manpower
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] jit-010101:
Meh :( ... only thing they need to pull off is proper camera2 API implementation then people can at least use GCam ... their Stock Camera (including framework) is so bad from start to end (and I have used lots and lots of cheaper chinese devices, non being so bad - heck you can even use GCam on cheap ass Xiaomi Phones on their heavily hacked together Stock Roms from the last few years - here nothing, not even the very old/limited GCam builds).

You'd think they'd finally focus on this ...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] tassee:
Hi everyone,

first and foremost: thanks for the ROM, I have the following version installed (on a H8324 - thats the DUAL SIM i guess):

* Android: 9 (Updates from 2019-11-01)

* Baseband: 845-sdm845.gen.prodQ-00007-36,845-sdm845.gen.prodQ-00007-36

* Kernel: 4.9.112-perf+ #1 Tue Oct 15 13.14.412019

* BuildNumber: 52.0.A.11.32

I wanted to update this now and I was wondering whether I can update to the single SIM one (aosp-10.0-20200620_aosp_h8314.zip) as this is the only recent one I can find (on the FTP i cannot find anything for the dual, on AFH I can only see H8324_Customized CE1_1313-3194_52.0.A.3.84_R2B.tar.gz).

This is all a bit confusing regarding what one should pick for what device - thanks for help!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Use newflasher and xperifirm from XDA to flash and boot the newest stock once (including the introduction dialogue), before you proceed