yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Tiago Costa:
Did you try this?

https://sx.ix5.org/files/builds/sony/sony-dualsim-patcher-v4.zip
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Sekhen:
I suppose it will be considered as a noob question but flashing pure AOSP on xperia XZ is working properly or is there some identified bugs? For example, Ldac still working? :)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ahmadrexxxa:
Hi,

I have installed treble rom and then installed pixel experience but my phone doesn't recognize my sim cards. i have f8332 but it doesn't even recognize the first sim.

it was the same with andorid 9. i have flashed dual sim patcher , dual sim treble ,dsp fix but none of them seems to work out.

can anybody help me?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] J.M.Siyath:
Deleted
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] MiguelMcCloud:
The repair DPS is mandatory ?, I did all the steps but I think I skipped that one, now the phone works correctly but when starting it marks an error warning. (Android system An internal problem has occurred in the device. Contact the manufacturer for more information. To accept) ;I would miss doing that?:silly:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] hihiman1:
bootloop after edxposed

Hi,

is there a way to install riru core & edxposed framework ??

I always end up in a bootloop - no chance :(

HiHiMan
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] hihiman1:
What are you trying to tell me by posting this link?

I tried the latest versions of magisk-riru-core (19.6) and magisk-Edxposed-YAHFA (0.4.6.0b)

The thread you are refering to is about gravitybox and not xposed framework...

Anyway

This procedure assumes you have working Magisk installation.

1) Install Riru and EdXposed modules using Magisk Manager

2) Install EdXposed Manager app

3) Reboot and open EdXposed Manager app to check if EdXposed works and is active

-> bootloop
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
Riru core doesn't want to work on XperiaZ, maybe it is something in FW binaries.

Tried it hard many times on Android 8, the same issue with bootloops.

(However in Android 7 normal XposedFramework works well)

So far there is ThaiChi on my Android8 and it works perfectly, supporting most of Xposed modules.

You may try it too in Android 10.

I know, ThaiChi is closed source so the Community doesen't recommend it, but after over a year of regular using it I can honestly say it has provided the full enjoyment of modules most people like most: GravityBox, XposeEdge, Amplify, Greenify, lataclysm, CorePatch and so on

XperiaXZ F8331, newest stock Oreo (unlockedBL), TaiChi modules like Xedge

---------- Post added at 05:29 PM ---------- Previous post was at 05:24 PM ----------

Anyway, where is dev? ;) The last update has been uploaded here in October.

Probabely the ROM still needs refinement, how do think? ;)

XperiaXZ F8331, newest stock Oreo (unlockedBL), TaiChi modules like Xedge
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Klaus N.:
I guess this might help getting EdXposed working :D

Only tested on my XZ2, but it should also work with the XZ running AOSP10 - please let me know! :fingers-crossed:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] hihiman1:
Great - yes it works! :D
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
So if it is working well it is great news indeed! :)

So how do you find this ROM, is it mature enough to switch to it (from little tuned stock) as a daily driver?

How about overall stability, may I rely on it in professional situations?

And also camera quality etc?

XperiaXZ F8331, newest stock Oreo (unlockedBL), TaiChi modules like Xedge
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] jayloofah:
Hi, just curious if anyone has tried MicroG with Android 10? And also if they find 10 to be more stable over Pie (or other custom roms?)

I'm thinking of buying a used XZ.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Rush:
Yeah. Same here, I really hope the Xperia xz is good value for the money. Also, she question, suitable as a daily?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Tonsak5343:
Deleted
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] petterros:
Hi, is there any working solution for getting the dual sim to work? What do you mean by "Reflash stock & try again"? Can repeating the same operations bring the different results?

I have also tried the dual sim patcher v4, but it causes my phone to bootloop.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] J.M.Siyath:
V4patch works only on regular TWRP!

1. Flash twrp (regular not vendor version)

2. Flash v4Patch.zip

TWRP : Link

Dual Sim Patch : Link
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] drater2:
I think you are better off buying the successor XZ1 as it'll propably not be that much more on places like ebay

I made the mistake of buying the XZ and as you can see it doesn't have official treble support and there's not much development going on anymore altough I'm very thankful to OP of course for providing us with these awesome tools otherwise the device wouldn't be usable for me at all

grüße
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Rush:
So xperia XZ1 has official treble? I will look into it, As it makes custom Roms so much More compatible
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] drater2:
you might also wanna look into the xz2 but it has round edges, no beautiful bezels and it also doesn't have a front speaker as far as I'm concerned

other than that it still has a headphone jack and micro sd slot

---------- Post added at 08:01 PM ---------- Previous post was at 07:30 PM ----------

I installed the rom with the provided recovery but unfortunately it prompts me to type in an encryption password

when giving a wrong one it says I have to reset my phone

I didn't flash gapps and I think it may be related to that :confused:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] elm_bacchus:
0. Backup all your stuff.

1. in the twrp ---> wipe-->format (yes).

2. Copy zip rom in sd and flash.

3. Restart phone after that power off ---> get in twrp and flash gapps--> pico or etc..

4. Restart phone.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] drater2:
well, thanks for the reply

problem is I don't want to use gapps... is there a way to remove all google elements afterwards?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] elm_bacchus:
when you install zip rom that is plain vanilla AOSP! you wont see even googleplay to install apps. that is why you will have to install pico gapps to able to install apps.!

if you dont want to install gapps it is ok. You can still use your phone.

Maybe I miss something :) .
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] drater2:
you should look into aurora for downloading from the playstore without account (it uses a dummy account) or apkpure which mirrors the apks from the playstore

there are alternatives for pretty much every google app

---------- Post added at 03:44 PM ---------- Previous post was at 03:26 PM ----------

ok I got it working after all

I formatted data by overwriting it with the userdata.img via fastboot sx.ix5.org/files/builds/kagura/misc/userdata.img and flashed the rom first, rebooted, flashed twrp again due to aosp overwriting it with its own recovery, and flashed magisk

flashing magisk and aosp simultaniously gave a bootloop

---------- Post added at 03:48 PM ---------- Previous post was at 03:44 PM ----------

the camera seems to kinda work but where can I find the proper google camera builds?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] drater2:
somehow mtp doen't work

when I connect the device the menu won't show up and it isn't visible also forcing it doen't do anything, it just acts like it isn't connected to any computer :eek:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Tonsak5343:
How to reduce device heat on this rom

The phone always overheating
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Rush:
Please ,please take Into consideration to read issues and else, this is probably being worked on, or is caused by an app which you have installed
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Suminda:
cannot go to the recovery mode. "No Command" shown in Recovery mode. please help i need to flash magisk
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Rush:
Aosp oberweites TWRP by Default, just flash TWRP Using a PC again

;)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] rEDdEVIL:
This rom is the best Xperia XZ AOSP rom I have used so far. Thank you maintainers for this amazing rom. It is smooth and can use as a daily driver but still I couldn't find suitable Dual Sim Patcher. With 2020-05-17 build, NFC is back but I couldn't search and connect 5Ghz Wifi networks.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] mirhl:
Q brought some changes to (A)GPS.

https://github.com/rINanDO/android_device_samsung_galaxys2-common/commits/lineage-17.1

Is their unacknowledging why position fix takes forever?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Suminda:
thanks dude
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Chris Kam:
Bootloop

I have tried to install the ROM on Dual-SIM model. All steps are being followed exactly with combinations of optional steps taken including formatting /data through fastboot. Everything could be finished without issues including use flashtool to flash latest stock ROM, or use Sony's Emma to restore the latest GENERIC stock ROM.

However I got into bootloop, and it would only be resolved by putting stock ROM back. Any clue?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Kryshoft:
you need to

wait about 20-30 sec on sony white logo it can bootloop once or twice and also dont forget to patch dual sim patcher and dualsim vendor here are the links

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

https://sx.ix5.org/files/builds/kagura/misc/F8332_dualsim-vendor-v2.zip
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Chris Kam:
Hi

First time to hear dual-sim-vendor, patched and also without luck.

The white logo is gone after 15 seconds each time during the bootloop, nothing more was being loaded except for the white logo before boot up again. Is there any other potential reason?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] NextGeneration9501:
Hi everyone! Does anyone know how to build Android 10 AOSP based on 4.14 kernel? I tried following Sony's guide but there's no XZ variant in "lunch" list. I tried using aosp-arm64 but ended up with missing dependencies, build failed. I've only managed to build true XZ one based on latest 4.9 kernel with some tricks. July 5 patch.

4.9 kernel is problematic for my phone. Random reboots (as soon as I turned on my phone sometimes, heat problem 24/7 resulting in battery drain (already feel like using iphone battery already), chaotic auto-brightness control....

If there's no other way, can anyone recommended me which gsi's that are comfortable to use. I want the ones with close to or completely no random reboots. Thank you
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Kryshoft:
here's the kernel for xz

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

also i think sony unoficaily dropped support for xz series devices

so there will be no bug fixes anymore

for the building idk im not a rom dev

hope that somehow you will make it work :good:

you might need to search for guides that are from 2-3 month before

---------- Post added at 10:49 PM ---------- Previous post was at 10:24 PM ----------

so i can only tell you what i did maybe that ill help

so download all these:

https://sx.ix5.org/files/builds/kagura/testing/aosp_f8331_10.0_2020-06-13-NIGHTLY.zip

https://sx.ix5.org/files/builds/kagura/misc/F8332_dualsim-vendor-v2.zip

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

https://sx.ix5.org/files/builds/kagura/misc/twrp-3.2.1-0-kagura-ab-x.img

https://developer.sony.com/file/download/software-binaries-for-aosp-pie-android-9-0-kernel-4-9-tone/

https://sx.ix5.org/files/builds/kagura/misc/dsp-label-fixer.zip

https://sx.ix5.org/info/post/dualsim-patcher/

So first you 'ill need to wipe data cache and dalvik cache - you can do that thru your old recovery

now reboot to fastboot mode and flash oem and twrp listed above

reboot to recovery and flash the aosp, dsp label fixer (gapps and magisk - optional)

now try the dualsim patcher if after two self reboots doesnt work then try flashing dualsim patcher and dualsim vendor

let me know if that worked...
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] nhicko95:
is 4.14 kernel supported june 13 testing build?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] NextGeneration9501:
you know how to build aosp for xz with kernel 4.14? i've only managed to build aosp 10r40 kernel 4.9 based. but not the 4.14
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Chris Kam:
Hello and thanks but didn't work. This is what I have done:

1. Used Sony's Emma to refresh the stock image to .192 version (just flashed, did not boot into the OS)

2. Flashed TWRP and wipe data cache and dalvik cache

3. Rebooted to recovery and flashed aosp and label fixer only

4. Disconnected USB and rebooted - got into bootloop for more than 10 times before given up

5. Rebooted to recovery and flashed dual-sim-patcher v3 and dual-sim-vendor v2

6. Disconnected USB and rebooted again - got into bootloop again for more than 10 times before given up

7. Rebooted to recovery and flashed dual-sim-pathcer v4

8. Disconnected USB and rebooted again - got into bootloop again for more than 10 times before given up

9. Repeated step 2-8 again

Is there anything wrong? Mine is a 64GB dual-sim version...
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Kryshoft:
try flashing with flashtool... i could see that as a problem...

---------- Post added at 01:56 AM ---------- Previous post was at 01:55 AM ----------

also try the latest build 08.08(testing)

---------- Post added at 02:15 AM ---------- Previous post was at 01:56 AM ----------

ok so you need to reedoo the installation steps from 1 to 3 after that flash this https://sx.ix5.org/files/builds/sony/sony-dualsim-patcher-v4.zip and it ahould work
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] elm_bacchus:
sensors issues!

Except fingerprint sensor, rest of sensors are not working "accelerometer, gyro, proximity, barometer, compass,".

aosp_f8331_10.0_2020-08-09-NIGHTLY.zip !
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Chris Kam:
Do you mean flash everything with flashtool including the stock rom, aosp and dual sim patcher?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Kryshoft:
yes

do it. let me know if that will work

---------- Post added at 09:58 PM ---------- Previous post was at 09:56 PM ----------

i dunno maybe try fresh flashing... cuz on my phone everything is fine.

:good:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] caqo71:
Just the main ROM (.192) must to be flashed with flashtool. AOSP and dual sim patcher must to be flashed with TWRP Recovery.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Chris Kam:
To be exact, I tried to use flashtool to flash the stock rom too..... through using flashtool (with UI, not command mode) and xperifirm to download and package the latest stock rom of my region and install it. Also without luck to boot the machine in aosp version... that's why i used EMMA to do it again and try.

Any other clue?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] elm_bacchus:
Problem solved. I have reflashed stock rom.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] caqo71:
mmmmm may be I'll give it a try. just for fun of course.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Chris Kam:
Hi guys

I turned out using another XZ to install AOSP and this time is a successful. I have followed all identical steps but still don't know why I could not install on the previous device.

I am now on the latest AOSP Aug 9 version. One weird thing is I cannot turn off the device but it will reboot. Known bug?

Chris

---------- Post added at 08:23 AM ---------- Previous post was at 08:21 AM ----------

And is that possible to relock the bootloader if I want to get rid of the security message? what would happen if i relock it using flashtool? Will i be able to unlock it again by using the same unlock code generated by Sony?

---------- Post added at 08:23 AM ---------- Previous post was at 08:23 AM ----------

And is that possible to relock the bootloader if I want to get rid of the security message? what would happen if i relock it using flashtool? Will i be able to unlock it again by using the same unlock code generated by Sony?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] NextGeneration9501:
1. Hmmm....I've never experienced that but I've installed AOSP 10 GSI on all of Tone members (X Performance, XZ, XZs). So far, we could only use treble 4.9 kernel made by Sjil, local_hero.....but there are major problems I've experienced on those. Same thing.

i- WiFi couldn't scan and connect anymore after few hours of use or even after few minutes lol. This is really annoying for me that I have to restart phone every time it happens.

ii- Random reboots. To prevent this from happening too often, turn off fingerprint.

iii- Call microphone problem. The person on the other side couldn't properly hear me talking unless I use speakerphone. Tested it, earpiece mic found to be too soft

I wished I could stay on 10 or 9. They smooth af and even more faster and responsive than stock rom lol. But with those problems exists, I downgraded to AOSP 8.1.0. 9 also behaves like 10 unfortunately. :(

imo, 4.9 kernel is problematic for tone phones. i even checked the kernel version of Tone's master and q-mr1 branch at sonyxperiadev's github. they have 4.9 kernel at best. i don't know why sony would bother releasing 4.14 binaries for Tone. i hope sjil releases 4.14 treble......

2. and 3. I think flashing the TA partition you've backed up before unlocking is the best way to lock bootloader and get rid of that warning message. This method will prevent you 99.99% from bricking your phone forever. You will lose access to recovery mode and probably root privileges too. Yes you can unlock again if your phone allowed you to unlock bootloader before you backed up your TA partition.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Chris Kam:
Now stuck at the AOSP setup screen... after connecting to data network, wifi, selected defauly call./data/sms source (i am with dual sim), then got black screen in the "Checking Info" step. No way to proceed...

---------- Post added at 02:00 PM ---------- Previous post was at 01:53 PM ----------

Seems like the black screen is the step to add Google account... the reason why I suspect it because when I want to manually add Google account in Setting, it brings me back to the just a sec screen, checking info then black screen...
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] daonlyleroyjenkins:
I want to +1 this build and the excellent documentation. Straight forward (if a little laborious to set up). The phone crashed and rebooted once today. Will keep an eye out for stability. Otherwise, the many other features I've used so far work perfectly. Thank you for your work on this!

*Update later that day* The app Hinge showed some weird behaviour. It wasn't rendering/was scrambling all text on members' profiles and didn't have the number of unread messages in the little purple dot. A reboot resolved this.

[IMG="Hinge"]https://cdn1.bbcode0.com/uploads/2020/8/14/e31bc3470adbf3e5758d4cd6533e5e4a-full.jpg[/IMG]
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] NextGeneration9501:
install gapps pico version. works for me
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] daonlyleroyjenkins:
Having had a couple of days to play with this, issues I've found are:

Hinge app text gets scrambled sometimes when clicking the Like button

GPS seems to hang. I made a long car journey and noticed my location would sometimes hang, not moving. The app wasn't frozen, my location simply hung. Then it would un-hang and my location would get tracked in real time. This kept happening on and off during the journey. I noticed that ending the journey then starting it again would kick start it into updating my current location, then it would hang again for a while.

Netflix app isn't available for download from Google Play (or it that an Android 10 general issue?)

Instagram will not login - although I got an email alert to say I'm logged in, when I enter my Facebook security code, the app itself says "Error - Please check the security code and try again".
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Rush:
The last 2 issues are safety net issues, make sure to use Magisk hide
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] daonlyleroyjenkins:
I tried enabling Magisk Hide on Google Play, Google Services Framework and Instagram. This didn't fix either the Netflix or Instagram problems. I'm not familiar with Magisk so any tips would be great. Also, I notice that my Magisk ctsProfile is false, if that has any bearing on this at all.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Kryshoft:
i dont know but maybe safety net patch didnt work for me.

couldnt get netflix to work in any way.

also random reboots started occuring iil try live without lockscreen for a while and test out if it truely random reboots are assocciated with fingerprint iil let you know after a week.

also latest kernel combined with l speed is qite fast but apps launch much slower than on stock.

sad that there are non roms based on this aosp lik lineage os...

good rom but still needs alot of work to become stable and fast not from rom maker but from sonys side

thats all i can say about this rom
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] NextGeneration9501:
yeah, 10 being faster than stock rom is no kidding but someone needs to update this phone to 4.14 (true sodp kernel for android 10) to get rid of annoying problems. 4.9 is very problematic. i stay on 8.1 oreo for now though.

last resort, if i never saw any new treble or kernel updates in this phone's rom development forum for several months, i just might trade this phone with xz1 instead. i just have it for several months though

i don't know why our tone family as well as loire surprisingly didn't get official sony's prebuilt kernel from source code (not talking about the sw binaries) but they still enlisted in sony's "Maintained Devices" list
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Rush:
CTS profile need to be true for Netflix to work

For faking this behaviour, you can use a Magisk module called

Magisk hide props

Install it, reboot, then Install any terminal emulator app

Open that app and type "su" hit enter, then type "props" and hit enter

Press 1

Press F (pun not intended)

Select some manufacturer you wanna see if it works or not

Select a device

Select an android version from that device

Hit Y

Hit Y again

It will then reboot

Test multiple devices/fingerprints to see which ones set CTS to True

Reminder:

For CTS to be true, Basic Integrity also needs to be true
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] daonlyleroyjenkins:
Thanks for your advice. I followed it and set it to use the profile of the Xperia XZ (Android 8.0.0). It worked and ctsProfile is now true! However, the two problems aren't gone: Instagram doesn't login and Netflix doesn't show up in the Play Store :eek:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Rush:
Clear Instagram and Google play data once

Also I didn't know you could just set it to stock fingerprint