yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] nhicko95:
[MENTION=6004616]MotexT[/MENTION] is battery and cpu heating issue is not fix yet ? l left my phone 30% at night with an alarm then when i wake up my phone is drain to 5%
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pickle_rick:
Iam also having this issue, both with 24/09 and 06/10 :confused:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] GRGC25:
does substratum work now?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] macaulay mcculkin:
Yes. And it worked before.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Marco20:
I've tried it in meanwhile with several builds and downloaded everything new. All lead to the same problem, although i'm following ervery step in the op. I don't know what i could try do anymore.

Can anybody help us?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
Battery usage is a bit higher in AOSP, that's true, but not too much compared to stock, heating is even less, never got my phone got since running Pie. Maybe u use some Magisk modules such as Pixify and etc? They cause heating and battery draining for me, try to disable Magisk modules or don't use heavy ones.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ilininja:
The heating is not an issue on this rom ? I used 8.1 stock for a while and for example a Google duo call or gaming was impossible, aftee 1 minute the phone was lagging like crazy and unusable until it got cooler. If this is not a problem this is my next daily driver ! (The camera was the most laggy thing)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] EDGN:
Like the XZ Always did, it gets a little hot when under heavy usage. But it usable for sure f.e. i can Play PUBG Mobile without problems

I have had the Same Problems with Stock Oreo, Phone was super laggy. I Planned to buy a new Phone, but now i will stay with the xz a little longer
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ulysse132:
Has someone managed to make dual sim work ? I tried but it didn't work. I had a message "internal problem, contact your manufacturer"
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Proliferant:
Great work! I've been using this since Saturday, working well except for the speaker issue when on calls(!). No other time except when on a traditional phone call, I can hear the dial tone/dialling, then when it connects.... nothing. Any suggestions? I tried adjusting all four volume levels but nothing works.

I also sometimes get a "Your phone has failed verification and will be powered down" when I turn it on, though it seems only to happen when I'm slow entering my pattern after my sim pin... No biggie for the moment (unlike the speaker issue).
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] agentsandy007:
I've looked all over but can't find system app for update.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Marco20:
You're sure you activated the show system apps option? Because i can see it with this option.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Papanik:
I have exactly the same problem, BUT only when connected to my car's Bluetooth in handsfree mode. Regular calls from speaker work perfectly (F8331 - stable V2).
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Tonsak5343:
Is maximum microSD card size is 32GB?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Papanik:
Nope, I'm using 64gb right now. Problem is, as someone posted before, SD Card not formatted may cause random reboot or verification issues. Since I formatted mine, everything works as it should. I guess it's an Android 9 "problem", not an issue with the ROM.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
This thread is not for stock
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] danielaniq28:
Hows the gcam perform with the latest stable and also games like pubg mobile?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] EDGN:
I did not found a working gcam, so idk maybe there is a Version that works. Pubg mobile performance is good in medium graphic
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
GCam and Night Light will be fixed at next stable build. Cheers
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] danielaniq28:
Great to hear that, thank you for developing this rom for the xz :D
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] DarkPrinciple:
It's working well!!

Here is the link to the CGamera, haven't tested out PUBG

https://www.google.co.nz/amp/s/www....era-mod-portrait-mode-lens-blur-4k-video/amp/
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] petterros:
It looks like not fixed yet.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] piotr7543:
It is fixed random reboots ?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] bruno$0:
I give up. Couple tries and only get stuck at Sony logo. Flash adriandc twrp, oem over Last Google tools, wipe all partition, flash Last rom, f3882 patch, magisk 17.1 (17.2 also), flash gapss 9.0 nano and device Don't boot up. I think that somethinh is very wrong.... Better stay at stock unfortunetly....
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Cryingwithmyxz:
Help

Help me!! I forgot to install Gapps, Magisk and I can not go to Twrp, how can I get back to Twrp. I'm crying
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] HopelessRecluse:
Hold down power button and volume up till your phone vibrates 3 times you phone will be off from there power button and volume down to get back into twrp
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] shidoro:
Hey guys, Google Play Services keeps crashing everytime I try to add my Google Account - any clue of what might be happening? Thanks!
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Cryingwithmyxz:
I tried it but it's on Anroid Recovery mode, it's not on twrp, Please help me :( (
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] HopelessRecluse:
Reflash twrp through fastboot, better to follow the instructions again
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Cryingwithmyxz:
Did you mean on the computer? Can you tell me the details? A thousand times thank you ?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] HopelessRecluse:
Shut you phone down (power + vol up - 3 vibrates). From there hold vol up while plugging in the USB to your pc (blue led lights up), open CMD and type: fastboot devices your phone should show up then follow the instructions on page one.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Cryingwithmyxz:
Does it take away what I have backed up from Twrp before? Before Flash ROM, I had backup in Twrp. Thank you for taking the time for me.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] HopelessRecluse:
Was the backup saved to your sd card, what was the backup of?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Cryingwithmyxz:
I have backed up straight on the phone memory, not on the memory card because my memory card only has 2G. Thank you for spending time with me, I think I will use Fast boot to recover Twrp and then wait for the miracle to happen.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] HopelessRecluse:
It may still be there if the data partition hasn't been formatted and no problem your welcome, l be awake for another 15 mins need anything else feel free to PM me, good luck
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ov2rey:
Next update will fix dual speaker? now only one speaker working.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] nhicko95:
deleted
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] enraghmeel:
I flashed this rom yesterday and things are working fine for me on my f8332 i fail to understand why some people get stuck on sony logo because its this simple,

-Flash latest stock oreo ftf via flash tool

-Flash adrian twrp via fastboot(for those who couldn't download it just head to adrian's page and there you will find all his developments and under a topic called "Kagura" you will find the twrp and download it)

-flash the oem(note that you must download the oem as a zip file and then extract it to find an image file)

-flash the rom

-flash magisk manager

-flash gapps(nano package)

Then reboot your phone(it may loop once)

Anyway im having a few issues on stable build.

The dual sim patcher doesn't work at all,

Since i have to switch simcards when i change them the phone reboots on the next power on (i figured a work around on this. You go to twrp and clear cache everything you change simcards)

USB OTG works fine but the phone reboots once the otg has been ejected.

The headphone music volume is low even at maximum though i saw a temporary fix somewhere in the thread.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Tonsak5343:
If I want to revert from this AOSP rom back to the stock rom. What should I do?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] enraghmeel:
I guess you reflash the ftf then twrp
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Marco20:
Wipe everything with twrp, except sd card and internal storage. Then flash stock firmware (you can download as a ftf file or via firmwire in flashtool). Then flash stock with flashtool (and maybe twrp with fastboot)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Cryingwithmyxz:
Which App Camera works on this Rom? My camera stopped working and I do not know which App Camera is right for this ROM?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] HopelessRecluse:
Ha you again jks use open camera works great for me
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Cryingwithmyxz:
Thank you again: 3
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ov2rey:
Anyone can confirm Quick Charge 3 is working? mine show charging slowly.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] uglavnom_bezopasni:
I confirm :)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] rheckr:
Anyone else having problems with recording videos through stock camera and opencamera?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] gregbradley:
Non English posts have been deleted

XDA RULES https://xdaforums.com/announcement.php?a=81

4. Use the English language.

We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature).

4. используйте английский язык.

Мы понимаем, что со всеми разными национальностей, не все говорят по-английски хорошо, но, пожалуйста, попробуйте. Если вы действительно не в состоянии размещать на английском языке, использовать онлайн-переводчик. Вы можете включить исходное сообщение на своем родном языке, под английским переводом. (Это правило распространяется на ваши посты, записи профиля и подпись).
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] alex00085:
Well, thank you moder. deleted everything. Just for the future you can not warn, you need to get it right away?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] enraghmeel:
Anybody else experiencing overheating while camera is in use?

And sometimes during LTE?

Stable build
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] enraghmeel:
Is it just pixify v6 or ??

I tried v12 but i didnt get the night light.

Can you post the link to haub's pixify v6?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
I`m looking at it now, thx for feedback
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
So, new build will come in few hours. What`s new: possibly fixed autobrightness - need to test; now it should mount /storage both to pc and in twrp; patched webviews so now you can flash OpenGapps higher than just nano; possibly fixed notification lights; possibly fixed that FP bug which cause device to reboot.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
Also starting from today i will make separate build for F8331 and F8332 which are single and dual sim variants respectively. As i have F8331 - builds for it will come faster cuz i need to test them. After some internal tests i will provide F8332 builds too. Cheers!

May the force be with you.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
After 12/09 build comes, plz make a full wipe before installing it.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] enraghmeel:
waiting for the bug less f8332 build otherwise great work!
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] EDGN:
1 Bug more: Automatic Screen Orientation not working
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
Thx for report, should be fixed in next build. 12/09 will come in few hours, stay tuned.

Edit: If all fixes work - will be marked as stable untill PPR3.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] EDGN:
And 1 more (sorry Dude) fast Charge Not working
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] LeonardoJS11:
just wait the 2 first fp animation finish, and then you register it , (tested)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
12/09 build is up!

F8332 build is added.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] jjdavis699:
Just FYI, the 12/09 build did not fix the notification light, still on red no matter what
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
Then idk how to fix it now. Will add it to buglist.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Soheil_rf:
This version cant boot on my F8332 , i tested with Fully wipes , reboot on boot logo one time. after that Stuck on boot logo

for testing flash previous version and its boot
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
Wipe /system /data /cache /dalvik /internal, flash ROM.zip, flash magisk, flash NANO GApps, reboot to system. Wait around 5-10, it's slow first time, should appear. If not - flash F8331 build and lemme know when it's ready.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] J.M.Siyath:
On 12/09 build :

1. AOSP Camera is Working now :good:

2. USB File Transfer Working now :good:

3. TWRP Recovery replaced by AOSP Recovery after boot

4. F8332 build is not boot, stuck on SONY logo.:( , F8331 build Works:fingers-crossed:

3. fingerprint registration cause of force shut down

4. Nightlight and color corrections Not working

5. Dark Theme Works after restart.

Screenshots:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] quwara:
Same, with error message saying something about verification, also after booting it says "internal problem with device" flashed everything as instructed
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
Read changelog on first page, I've described how to use FP sensor. Autobrightness, autorotation works, flash latest OEM from OP. Night light and color corrections are not working and probably won't due qcom: libsdm is missing for them, but if libsdm is present your device won't boot at all.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] EDGN:
12/09 build with full wipe. Camera works now, fp works, Auto orientation works. Sadly autobrightness and Fastcharge dont work.Notification LED still Red. Thank you for the Rom and Work!!!
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
Which OEM you are using? I suggest you to reflash OEM from new link in OP. On my phone autobrightness works, notification led will be fixed soon. Fastcharge should work by default, it's not shown but it works. BTW thx for your feedback
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] EDGN:
I was using the latest. But i did a OEM reflash and now autobrightness and Fastcharge work now!

The Red notification Led is gone. But still without function as you already know. Again, thank you so much. I was able to improve battery with App called naptime with enabled aggressive doze
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
Install guide / Sources (Important!!!) / Bugs

Hey everyone, thank you for all the work so far, especially [MENTION=6004616]MotexT[/MENTION]!

I have a couple of points I would like to make:

Install guide

There could be a better install guide, as posted by enraghmeel (I've modified it a bit)

The current guide has the wrong link to AdrianDC's files and I think we should warn newcomers more gravely about the risks of unlocking their bootloaders.

Publish sources

I would really like to help out with creating this ROM, but I cannot due to the fact that MotexT has not published their sources. As they say, many eyes make all bugs shallow :)

I would also like to remind everyone of the official xda policy on the GPL (emphasis mine):

More info here.

If you need help with this, you can shoot me a PM and I will help you set up your repos. We would all really benefit from this!

Bugs

Wrong dpi setting for statusbar/QS: The default dpi setting of 480 makes the 6 icons of the quicksettings tiles in not-pulled-down mode have too much spacing between them. Someone suggested installing VolumePie and tweaking dpi down to 370, but I think we should fix this in the ROM itself.

Dialer codes not working: The service menu does not work for me. Try typing in *#*#7378423#*#* (SERVICE). Normal *#*#4636#*#* (INFO) works so it can't be the dialer, I am using the default one. FYI, the service menu is needed to check extended attributes like widevine level etc.

Camera button does nothing

Wake-up from sleep can be slow

Wishlist

Someone has made an Oreo stock kernel with the TA PoC by munjeni, I wonder if we could port this to Pie as well? This sadly would mean everyone would have to repack their own images(everyone's TA partition is unique), unless we could make a re-packagable and flashable zip out of this.

If we got this to work, we could then go on and try to port all the Sony camera and audio stuff like ClearAudio and BionZ.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ryandxter:
You're quoting too much mate but at some point I couldn't agree more about source code which I'm sure [MENTION=6004616]MotexT[/MENTION] forgot to publish (don't know if he really won't to publish) as it part of xda & gpl rules

Then, *#*#SERVICES#*#*? Ohh comeon, really? it's exist on stock as SERVICE TEST.APK as system tho, however *#*#TEST#*#* is a universal dial phone code which is even at AOSP it exist... again I don't know if it's ported to AOSP or not

and for TA-PoC? *sigh* hmmm as person which already tried as kernel cooker it's not EZ AF man, I'm pretty sure you'll understand how far it's difference between stock kernel vs aosp kernel on some software binaries and TA PoC works as patcher on some part of it's stock kernel, it's whole new wider project development man... you can read also OP build this rom cz he just want it
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Cryingwithmyxz:
Here are the errors that I found: Camera is too bad, the phone temperature is heating up very fast, the button to open the screen for a long time. When 120Ghz turned on, YouTube crashed the video frame.Thank you for giving me the Android P experience and hope you can fix the above errors.

Can you add double tap to turn off the screen and double tap to open the screen? Thank you ?*??*?

********

Wifi transmission error, video recording error. Can not increase volume when wearing headset.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] enraghmeel:
Guys i found a quick fix for night light from joey haubs pixify Unity thread.

Its a pixify magisk module that has only the night light option without all the other pixel overlays.

Just flash the zip file via twrp.

Heres the link

https://drive.google.com/file/d/14O6ZbK_q7KlKo4tj_FDpX-z6ElQSztmA/view
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] HopelessRecluse:
Go back a few pages I posted a temp fix there

Edit: page 31
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Cryingwithmyxz:
I did not see ID139 on it and my eyes wanted to burst

error takes a lot of time to open the screen ??
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] EDGN:
Does it break the Wifi Tethering / Hotspot like the module? Thx
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] HopelessRecluse:
Try to find audio_safe_volume_state the ID may differ for you I stated the I'd to give a rough location of the setting
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Fablos:
Delete pls
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] enraghmeel:
Im not sure since i cannot seem to find hotspot settings.

But ill test the hotspot with the module installed/uninstalled then post the feedback.

I dont really need the hotspot for now so to me its not a deal breaker
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] EDGN:
Would be great. I use it everyday for connecting my Android Car Radio
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] enraghmeel:
Just confirmed. The module interferes with tethering and hotspot
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] rheckr:
Video recording doesnt work. Camera button also.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] enraghmeel:
Alot of heating also while using the camera
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Amosha97:
I need help, i want to go back to stock so i wiped everything system,data,cache,dalvik and internal storage then i flashed the stock firmware but I'm stuck at the xperia logo ,i did this yesterday,i left it for like 3h and it never booted ,i tried again now still the same.

Anyone knows what should i do?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] prgrmr:
problem flashing!!!

what does oem.img mean? i am new to flashing.

i got all other files but not the oem.img for my xperia xz dual.

i have tried it without oem file and phone stuck on logo.

please someone help me to find the oem.img?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] DarkPrinciple:
So you have to flash the OEM with Flash tools

Command: fastboot flash oem yourandroidoem.img

---------- Post added at 07:32 PM ---------- Previous post was at 07:31 PM ----------

Without the OEM you will bootloop, as it is the android framework that the ROM sits over ( when flashed)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] HopelessRecluse:
SW_BINARIES_FOR_XPERIA_ANDROID_9.0.6.3_R1_V1_TONE_BETA.IMG is the OEM.img
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] DarkPrinciple:
And make sure you flash the OEM first
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] HopelessRecluse:
Yes what he said
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Amosha97:
Delete
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] danielaniq28:
Please use your brain and there's actually a link for the oem img at the 1st page of this post, OEM
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ov2rey:
When new build coming?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] federicolarocca2:
I'm having the same problem, anyone solved?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] bruno$0:
Hello guys,

I tried to flash the rom many times without success. I'm on last stock rom. I need to flash AdrianDC's, then oem from google fastboot. Then i go to twrp and go to option to power off. After that i enter twrp again, format data, and wipe everything excecpt external sdcard. Then i flash everthing from external sdcard: rom, dual mod, magisk 17.2 and gapps. Then install magisk app no system. When i reboot the phone and get stucked at Sony logo.

Everybody seems to able to get boot fine except i. i can't imagine what i'm doing wrong. Flashing from external sdcard? This is enough to get wrong?

Thx
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Marco20:
Did you format data like said in the op the encrypt your data?

After that you have to flash from internal storage. You can copy your things after wiping and formating.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Amosha97:
Still stuck at xperia logo,i flashed the oem then the stock firmware :(
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] HopelessRecluse:
You shouldn't need to flash the OEM if you going back to stock, are you using flashtools (http://www.flashtool.net/index.php) to revert to stock?

Edit: did you backup your TA partition?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] enraghmeel:
Bluetooth keeps crashing when sending files on latest stable