yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
F8331 builds are F8332 compatible, but on second you need a build.prop patch, later I will release additional zip which will patch your build.prop. Stay tuned. Now I'm busy, building BlissROM.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Spacket:
MotexT, if i want to use Oreo back again, what should I do? Format data and reflash?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] fastbooking:
If you want to get back to aosp Oreo, clean flash the Oreo ROM, with the right OEM in fastboot

If you want to go back to stock Oreo, use EMMA or flashtool to roll back
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] nqdan2992:
Does it work on xperia XZs G8332
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
should not, but i can try to build for XZs
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] devileone:
i just assumed if it's encrypted twrp won't flash the rom now that i think about i guess formatting data might fix that ? i will try again as instructed thank u for responding
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] cfoo7one:
Hii..good work motexT..just want ask for the latest update, gcam still cant be use?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] devileone:
hey op i tried again with the instructions flashed twrp oem and proceeded with the steps the data wasn't encrypted anymore after wipe but internal storage didn't show up on my laptop i went on mount storage tapped on disable then enable mtp and it worked just in case anyone had the same problem do this
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] niaboc79:
Let's try this ;)

Thanks to OP for his work :)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] J.M.Siyath:
Is this useful for TWRP encrypt issue?

https://xdaforums.com//android/software/universal-dm-verity-forceencrypt-t3817389/post77572812
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
Oh, sir niaboc personally, you are a legend in Xperia development, remember you since Xperia P times :) Thx for your attention, anday I ask for help? I can't fix notification LED, maybe you have some ideas what I can make bout it :)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
Nope, it won't help, issue is not there, but fortunately I know the solution, working on it.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] GRGC25:
so.. motion eye camera isn´t workig because it´s sony´s and not google´s right?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] fastbooking:
Directly report issues to me, so I can make him learnz more lol

It's a pleasure to see you around !

---------- Post added at 08:50 PM ---------- Previous post was at 08:26 PM ----------

TWRP have to be rebuilt for Tone devices, for Pie support and such, i'll give it a shot one day
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] X_Xanadu:
Thank you for your project

F8332 stays in LOGO but F8331 can
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] piotr7543:
F8331 Lastest build incredible. This is the fastest rom for XZ xD I wait for 4.9 kernel for Omni & Carbon
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ulysse132:
Has someone tried this solution ? Does it work ? I really want to test this rom but I also need dual sim for work.

Thanks a lot for your answer
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Amosha97:
F8332 didn't work for me,F8331 did ,not sure if this has anything to do with this but i'm just putting it here once i flashed the oem the laptop discovered my phone as F8331,problems:

1-upon the 1st bootup magisk wasn't not installed,until i got the apk file and installed it.

2-when i woke up few hours ago i found the phone extremely hot,battery has been drained and it was in twrp mode,last thing i was doing before sleeping was just exploring the settings,didn't change anything but i enabled (Wind down) as a matter of trying it out,you can see the phone's temp and battery in screenshot 1 and 2.

3-charging is so slow,you can compare the time and battery percentage in screenshot 2and 3,however it'll charge normally if powered off.

4-the phone can't be powered off as it always restart by itself,the only way to powerit off is by force going into twrp and power it off from there.

5-twrp is unable to mount storage ,therefore it shows internal storage is empty and so you can't do anything ,can't wipe nor install anything unless you do a data format yet still once you boot the phone then go back to trwp, the problem will be back.

6- the power button is generally buggy,aside from the fingerprint bug that's already addresed,there's a delay between the moment you press the button and the moment the screen light up,also in order to unlock the phone you have to press the button ,remove your finger from it ,wait till screen light up then put you finger on it again.

7-in screenshot 4 you can the see the icons to the edges of the notification panel seems like they're out of the screen's limits when in reality the edges of the white background have been cut.

8-generally the phone is overheating alot.

Aside from all these the rom is fast and smooth.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] lilbrat:
Once I get home and back to my computer I will load it on my F8332 and give it a try, in the mean time this was just posted the other day.. https://xdaforums.com/xperia-xz/how-to/f8332-dualsim-patcher-custom-rom-t3842672 , has anyone looked at it or gave it a try..
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ulysse132:
If I understand right this script (I'm not sure), it just add this to build.prop

it's a bit different than what I wrote 2 posts ago :

---------- Post added at 05:04 PM ---------- Previous post was at 04:40 PM ----------

But I don't know which one should be used...
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] lilbrat:
Do they both work?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ulysse132:
I haven't tried yet. When do you plan to test ?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] lilbrat:
Currently not home.. No computer not for another 2 weeks..
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ulysse132:
OK, I'll try tomorrow. I'll feed back with the results
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Amosha97:
Alright i decided to go back to stock and do a fully clean install, stock refused to boot so after a series of flashing, unlocking and relocking the bootloader, the phone has probably been bricked ? but move on, i flashed the rom again with older version of twrp hoping for it's storage problem to go away but it didn't however, Fingerprint now works even when the screen is off yet still there's a delay and the device now can be powered of it doesn't restart automatically, as for the rest is still the same,i really hope you fix the dual sim version so we can try it because even tho the single sim one is working it doesn't seem to be fully compatible.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ulysse132:
Well, this doen't work. None of the code works and the F8332 version doesn't work. I really need to make the two sims work. What can I do / try to make them work.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] niaboc79:
I don't have any knowledge in java so I can't help in that matter unfortunately.

Your build works great but failed to boot after I've applied substratum theme...
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MotexT:
Disable first all magisk modules first, just build and update overlays, reboot, go to substratum then to overlays manager, goose and activate them all, then go to magisk and enable your modules, reboot again and voilà
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Nitid_boss:
Need unlock bootloadder?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
Hello, can anyone help me? I've followed the instructions, but when I boot up there's no Google chrome or any google apps.

I've tried wiping data, cache, dalivk and all that and instead flashing gapps arm64 android 9 stock, instead of nano, but then it doesn't boot up?

So is there a different gapps version I have to install?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Be_Cruel.:
1. True

2. Its strange but i have been using this since 1st release and something like this never happened

3. My phones charges super fast

4. Dunno

5. Read few posts back, they explain how to fix it. ori twrp is unable to mount storage on newer 8.1 and 9 androids.

6 true

7 dunno

8 for me its overheating only at heavy use
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Amosha97:
Yup 2 was a strange one don't know what happened there, but now that I've flashed the rom again a lot has changed as i said above, phone can be powered off now before it would restart by itself,charging yes i noticed that on the 2nd charge yesterday it's normal now, also yesterday LED light was always red then it was fixed by itself now there are no touch sound pretty sure they'll fix themselves ? idk I'm not doing anything, things are just happening and fixing themselves, overheating is probably because of the weather here then yet other roms weren't like that but fair enough this is still in early stages.

---------- Post added at 12:43 PM ---------- Previous post was at 12:41 PM ----------

Just flash the nano it's recommended then install whatever you want from the store.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
theres no store.

---------- Post added at 02:12 PM ---------- Previous post was at 01:18 PM ----------

nvm guys, i managed to get it working. now i just need to figure out how to get rid of that search widget.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Be_Cruel.:
Weird thing happens i noticed while listening to music the upper speaker is not working, does anyone have the same problem?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
playing a youtube video and there isnt any problem. if anything both speakers seem louder

edit: now it doesnt work ?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] piotr7543:
I have a question it is possible to delete search bar from the home screen? I dont use Gapps, then stock search widget is on the screen.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
just gonna use this to list a few bugs im having so ppl and OP know (i'll edit this as i keep using my phone):

snapchat camera aint working. however, use magisk hide on snapchat to view snaps and stories.

instagram front camera aint working.

pressing the power key and screen turning on can take upwards of 5 seconds at times.

cant record in 60fps.

cant install a launcher without the gesture nav bar looking and acting weird, so im stuck with that search bar on the current launcher.

camera button useless

phone can get really hot just by doing simple tasks like using whatsapp with a video in the background. and hot phones means less battery life (which i have noticed.)

can't change lockscreen clock (ik im getting picky but i might aswell add it here just so ppl know ?)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Amosha97:
Yup, same here just checked, didn't notice that until you mentioned it.

---------- Post added at 07:41 PM ---------- Previous post was at 07:24 PM ----------

Only way i found is to install a launcher, i honestly don't like any of the apps that came installed, their design is ugly and some don't even work, hopefully in future updates they get replaced by more modern apps, as for now I'm happy to have pie on my phone, don't forget this rom is in early stages so fingers crossed ?

True, just checked only black screen, no idea.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] J.M.Siyath:
Currently i'm on stock so i cant test.

try these solutions guys.

found on web:

1. Go to setting then display and then to aspect ration correction and turn it off!.

2. turning off 'adapt display'.

3. Uninstall any apps that use camera e.g. Instagram etc and restart phone.

4. disabled the Filters and Front-Facing Flash.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] piotr7543:
About unlocking device i observed an interesting situation. When music is played, screen turning on correctly. Only when phone is on a idle then screen have a few seconds delay. Im using this rom as a daily. Very good job bro. Keep working. Sry for my english guys.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
cant find that aspect ration correction
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] raz_in92:
Nice Android Pie for XZ

Wow that is so nice..i want to try it if can...huhuh

:good:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] qte71:
I'm using the Evie launcher and the gestures work perfectly, but yeah, the power key thing is bothersome, i've noticed it too, would like the gcam to work too, but whatever.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] jhs990928:
infinite restart loop...

Hello, After I installed this rom my phone keeps restarting again and again...

I followed all steps and used twrp3.2.3

When it's started about 3 seconds later automatically reboot system and goes to android recovery (suddenly twrp changed to andriod recovery). There's an error message in android recovery 'Can't load android system~~~~.' so I selected Factory reset but it's same... keeps restarting system.

Is there any solution to solve this problem? I restored to stock and tried two times..:crying::crying::crying:

I’m F8331

[IMG="error"]https://imgur.com/a/XrtKapU[/IMG]
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] petterros:
Flashing oem problem

Hi guys, I have a little problem.

I have unlocked my bootloader, flashed custom recovery in fastboot mode, but I am unable to process the fastboot flash oem command.

I receive sending file ok and command not allowed response from my phone.

Does somebody know the fix for this?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] StaticGTF:
Thank you for the awesome work you have done with baking this Pie for the F8331 and 32!

I'm just about to get on the bandwagon with this ROM, but I just wanted to know if anyone has tried to restore a nandroid backup after having tried this version?

Since it backs up just about all the existing partitions on the phone, it should represent any problem, but I just want to make sure that a backup restore will work properly.

Cheers!
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] petterros:
I have the same problem. Can you share your solution please? :)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Idol400:
Just flash full stock before..
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] StaticGTF:
I might have jumped on this show a bit prematurely...

I follow all steps in FP to the letter and when rom finally boots it seems that the Bluetooth-stack is crashing, automatically shutting phone down.

When rebooting it automatically reboots into twrp or Google Recovery...

I don't really know what to do next though... I tried to skip Magisk first which just caused phone to boot back into g-recovery. Now I have re-downloaded all packages (rom/magisk/gapps) but no difference... I just about manages to see/enter my SIM PIN-code and then it displays the "Shutting down" box and reboots to twrp...

Any ideas?

//Static
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] petterros:
Thank you, this solution worked for me :)

After unlocking bootloader with this tutorial https://xdaforums.com/xperia-xz/how-to/how-to-unlock-bl-kernel-twrp-root-t3541648 i was on MM 39.0.A.1.250 firmware and that was the problem.

After flashing the newest F8332_41.3.A.2.171_1315-4550_R1E fw it finally succeded :)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] StaticGTF:
Hi again.

Just wanted you all to know that I managed to sort out most of the kinks with installing Pie on my device...

After some testing i figured out that my SD-card was the culprit in the constant rebooting. When I removed it, I managed to get through the setup and most things seemed to work as expected.

After making a backup of all the content on the SD-card I put it back in the phone and re-initialized it for use as expanded storage for apps and files. After te format everything worked properly, and also the red LED which was constantly on when card was inserted, just went out...

Hope this may help if anyone else has any related issues with installing/running this ROM...
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] petterros:
I am on f8332 device and the rom does not boot for me. It stucks on sony logo. The 8331 have booted fine but it does not detect any sim card.

I am looking forward for fixed 8332 rom release :)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Papanik:
Well, that's very good news! Have you tried if maybe the LED works as expected? (I mean e.g. green for Facebook Messenger etc.)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] StaticGTF:
Nope.--

LED notifications seems to be disabled aside from general hardware related issues (i.e. failed SD-card). It does not even come on for charging.

I also had to revert my SD card to portable storage mode in order for Magisk Manager to work(?!?) and to be able to flash files in recovery from the sd-device.

When that was done and I had flashed a few modules (for SafetyNet and such) in Magisk I also managed to get my Play Store app to "Verified" status and I also got Open Camera from Play store to work in G-Camera API v.2 mode! Photo-modes and settings galore in that camera app to be sure! Not entirely sure that HDR+ is working, but RAW seems to be available! I have not tested any other camera-apps such as Snap or Instagram yet though...

//Johan
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] macaulay mcculkin:
What modules did you use to pass SafetyNet?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Amosha97:
I'm just gonna put this here as a final confirmation to one of the problems i mentioned before, because it's there and by far this is the only problem that's bothering me and that is overheating , in the screenshots you can see what temperature I'm getting and this just within 5 minutes of using the phone, it doesn't matter even if i was just staring at the home screen doing nothing it still overheat, my hands are hurting while I'm holding the phone it got to a point where i sometimes put the phone on an ice bag especially while charging which i don't think is a good idea, also in some screenshots you can see I'm losing alot of battery while the phone is not in use even when airplane mode, battery saver are enabled,generally even when the phone is in use my SOT is nearly 2 hours less than what it was on other roms/stock.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] StaticGTF:
It was the Universal SafetyNet Fix in the Magisk modules section..

Regarding battery performance :

It will be fixed in some future update. This ROM is still in its early development stage. Bugs are to be expected.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ulysse132:
When I used this rom, I just had to diable bluetooth to make my phone colder. Maybe it helps to correct the problem.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Amosha97:
Well, i don't use Bluetooth, location, nfc, auto sync or mobile data these things are off all times for me also airplane mode is always on, battery saver normally on at 49% so the only thing i actually turn on and off based on usage is wifi so idk! It's just weird like few minutes ago i lost all sounds, nothing no music no youtube there's no sound, restart the device still nothing, now as I'm typing this it's back by itself!!

---------- Post added at 03:43 PM ---------- Previous post was at 03:34 PM ----------

Regarding battery performance :

It will be fixed in some future update. This ROM is still in its early development stage. Bugs are to be expected.[/QUOTE]

Of course ? just to clarify to everyone especially for the guy that made this, I'm not complaining by any means, i love the work and wish the best for this rom, hence why I'm taking the time to mention problems as i see them, to draw attention to them so they'll be fixed and eventually we'll have an awesome rom to use.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] uglavnom_bezopasni:
Battery and heating related, every morning after charging CPU hang at ~110% need to restart and works all day.

Just disabled Data Transfer Tool, download and Playstore notifications suddenly works.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
anyone have problems when in a phone call? for some reason i cant hear them. had a call with 3 different ppl and this is the case
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Amosha97:
When you say disable, do you mean like go to settings then apps then disable these completely? Or is there a way to turn them off, because I'm not sure about disabling download.

Yes we said that in like page 8 or somewhere, only bottom speaker works so of course you won't hear them since you're using the upper one during a call.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] lilbrat:
Folks, just a question.. What's the difference between this and the Sony Asop in their developer forum? No disrespect to the OP, but wouldn't using Sony files eliminate some of the issues? IE speakers and led notifications..
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
where is this btw?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] jjdavis699:
Here's the guide, you've gotta build it yourself. https://developer.sony.com/develop/...ns/build-aosp-android-p-9-0-0#tutorial-step-1
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] lilbrat:
https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/, points you in the directions given in the above post..
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
doesnt this rom use this anyway?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Magic-Fabi:
it does, at least most parts of it. as op said, they tweaked it a little bit but it's aosp nonetheless. there is a project called sonyaosp though but again you have to build it yourself
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
questions, if i want to flash a rom on 8.1 or oreo, would i just flash the 8.1 odm or whatever is given and then clean data, cache and things and flash the rom?

just asking to make sure if its possible to flash an older odm when on pie.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] StaticGTF:
I would use FlashTool or similar along with the latest Oreo for your region out of Xperifirm. Then you'll be sure to get the right bootloader, OEM-files and other such items. I'm not sure which partitions should be wiped/formatted but maybe someone here can help with that...
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] churchner420:
Is there a reason why NightLight can't be fixed at all? Is this ROM stable enough for daily use? Does offline charging work?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] EDGN:
OP said there are files missing. That's why.

It's mostly stable and I am using it as daily driver since release. Changing, BT, Fingerprint and so on works but you have to deal with a SOT about 2hours. Which is fine for me as I am not a heavy user.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] jjdavis699:
I used this as a daily driver for a few days before I had to go back to stock, and the big issues I ran into was the phone coming out of the bottom speaker and that the Netflix app (when downloaded from the Play Store) would not load, requiring me to download an alternate, older version from Netflix's support pages. (I assume this was because of SafetyNet, but I had no time to test.) Also had issues with overheating, but looking through the thread it seems to be a common issue. Anyway, good work so far, keep it up OP!