yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
Assuming can handle linux commands well, please suggest what to alter in /data partition from previous installation, in TWRP's text console, to make booting possible?

Especially, where are the settings responsible for frozen applications? Want to unfreeze apps previously frozen, eg Google stuff and DeviceHealth (which complained the most about GoogleServices frozen) "manually". Maybe this'd help.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
Just reporting here, doing these commands has not allowed the system update accept previously done /data partition:

rm -rf /data/data/*
rm -rf /data/system/*
rm -rf /data/etc/*

just rm -rf /data/* does

So there must be something behind these 3 folders what making boot stuck.

This info hopefully is helpul to improve the ROM so automatic updates would succeed in the future versions.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
If someone else has this issue (after system update boot stuck) and still wants to preserve previous configurations, customizations, applications etc. - there is some tweak to preserve at least bigger part of these:

- reboot into TWRP,

- mount /system,

- come to the commandline text console,

- type

mkdir /system/eee

(creating buffer folder in system partition),

- type

cp -ac /data/app* /data/data /data/system /system/eee/

,

- wipe data and caches,

- reboot to system, do initial configuration with Welcome wizard (just the basics),

- reboot to TWRP,

- again mount /system,

- come to commandline text console,

- type

cd /system/eee
cp -a app* data system /data/
rm -f *sett*

,

- reboot to system and do configuration other than regained.

It worked :)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
Does the latest weekly need v7 or v6 oem?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
It is a system ui bug and has nothing to do with OEM version. You must clean flash the latest version (wipe system, data, cache, dalvik). If you want to backup your data flash back the version which you were able to get pass the lockscreen and backup your data. After that wipe as I told before and flash the latest version. It should work after that.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] thienbau:
and "smart call handling" ?? i dont see where it is
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
Any chance to improve the camera? Google, Open Camera work but extremally laggy, it seems they emulate with software what hardware should do.

However, if in AOSP from this forum [ROM] [XZ] [F8331] [F8332] [Pie] [STABLE] | AOSP 9.0 Pie builds for F8331/F8332 camera works smoothly so is it possible somehow transferring libraries and drivers from there? (Yes stock camera works pretty well in this project, but instead automatic screen rotation does not, and this disqualies it as daily driver for people who used typing with 2 hands keeping device in horizontal position.)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
I cant even get my sim card to work on that rom. Also you can try to allocate more ram to Google camera in the settings. That may eliminate some of the lag.

Working with the camera is the most complicated part of the build and it can be left out to be the last thing to fix in most roms. So be patient but imo this is the best pie rom for xperia xz since everything works with very small bugs.

Also the camera isn't that bad either you get hdr +, portrait mode and also other cool google camera features. If you really want the best camera quality use eXistenZ since it has drm fix and other Sony features. It is basicly stock rom with root + extra features.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
But eXistenz is Oreo. And edXposed refuses cooperating with Oreo on XperiaXZ, while on Pie succeeds.

Yes, agree, Omni is the best Android9 for XperiaXZ so far in the market :)

And I tried many other ROMs already to have comparison.

It has a good battery drain as I can see.

Hope, automatic update proces will get fixed, so it will work transparently to user (and need of "clean install" will stay as nigntmare from the past ;) )

IMO it is key feature to get most of frequent WEEKLY updates, so waiting for a good camera gets nicer.

BTW. How to allocate extra RAM to camera?

---------- Post added at 09:32 PM ---------- Previous post was at 08:39 PM ----------

And yet about importance of camera. Please note, in XperiaXZ camera has the biggest definition of the whole "XZ" series (Xperia XZ, XZ1, XZ2 and even XZ3). This has been main factor which has decided to buy this device.

XperiaXZ, F833, unlocked BL, newest stock Oreo 8.0
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Max allowed memory it fixes some of the lag. If yout camera freezes while using app just switch to a diffrent mode like video then come back to camera then it should just work fine.

It is in Fix section btw.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
It is a Sony feature and this rom has nothing to do with Sony features. Unless somehow you manage to port them.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
Any chance to get the fingerprint sensor work for the purpose of screen navigation?

Fingerprint sensor in XperiaXZ seems ideally situated for this purpose, so it should be actively utilized while screen is ON.

Just tried to apply this system patch [Magisk] [OOS Pie] Fingerprint Swipe (Left,Right,Up for Back,Home,Recents/Sleep)

However it doesn't want to cooperate with OmniROM. Anybody knows why?

XperiaXZ/KAGURA/F8331, [ROM][XZ][P][9.0][WEEKLY]OmniROM
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Mods may not be compatible even some can break the rom. Like the safety patch fix (it causes boot loop). So there is nothing we can do if it doesn't work.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
However already there is the mod in OMNI ROM: OmniSwitch!

And taking care of XperiaXZ fingerprint sensor seems far bigger thing!

It's a shame, such nicely situated fps stays neglected and useless during normal device operation.

XperiaXZ, F833, unlocked BL, newest stock Oreo 8.0
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
I said may not be compatible some of them may work some of them may not. It is at your own risk tp try them out. But I said before you can break the rom with incompatible mods.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
Waitn for a good camera, temporary returned to eXistenz and the stock camera works incompareably better than Google camera in Omni (which has quite big problem even with getting focus).

I like the Omni ROM much but camera is important to me.

XperiaXZ F8331 Oreo eXistenz debloated
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
how do u return from omni to eXisten?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
Flashing anew stock ROM first, with FlashTool.

(And data partition backed up from TWRP)

Previously tried to restore boot & system simply from TWRP but boot process is stuck or reset continously into bootloop, something else is missing

However, if from eXistenz into OMNI it is simpler, just flash OEM through fastboot, OMNI.zip in TWRP, restore data from TWRP backup and gets back :)

XperiaXZ F8331 Oreo eXistenz debloated
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
dam. i dont have a twrp backup from android 8 or eXisten. hopefully i can just clear the data and start a new and i wont get a bootloop
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
You can also tar /data/data & /data/app to the SDcard and after installing different ROM, making its fresh initial Welcome Wizard configuration, return to TWRP and copy it back.

Thus you preserve your apps and their settings.

(You must copy with tar, cp -a doesn't preserve files permissions as SD filesystem is fat.

May try these commands from TWRP:

tar -cvzf /sdcard1/mydata.tgz /data/data /data/app

and after flashing different ROM, untar it:

tar -xvzf /sdcard1/mydata.tgz -C /

)

---------- Post added at 11:37 AM ---------- Previous post was at 11:31 AM ----------

[/COLOR]BTW, why tne installation procedure of a custom Pie requires to have "newest stock" Oreo installed first? Which elements from this stock Oreo are reused by a Pie zip patch?

And also, what is in OEM binaries? Hardware drivers?

XperiaXZ F8331 Oreo eXistenz debloated
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Kernel is used as I know.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
Just kernel? And kernel from Oreo is used in Pie, is it possible?

And what is OEM binaries?

Asking because these things abovementioned are necessary for switching between Pie and Oreo custom ROMs, maybe it is better and quicker way than necessity of flashing anew stock Oreo every time when want to return to eg. eXistenz?

In fact, there is the option in TWRP to backup OEM partition. However it's size is displayed as 0MB (even after explicitly mounting it), strange.

XperiaXZ F8331 Oreo eXistenz debloated
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
So, attentionally watching new updates. Please, where will be the camera fix, in a new OEM binaries or WEEKLY software zip? Where is the root of the problem?

The camera issue is the only one, except it OMNI ROM is cute! :)

XperiaXZ F8331 Oreo eXistenz debloated
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
Latest weekly, 04/21, still not compatible with oem v8 or v7 :(
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
Does it mean it's about just the camere issue, or also anything else?

And in general , is there any improvement? (And what specifically?)

BTW, where do you read about this compatibility?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
i cant see any improvements anywhere sadly. i test the compatibility with the v8 and v7 oem images myself just by flashing it manually. on both, the sim cards arent recognised.

It'd be cool if OP gave us a changelog or something, but hes probably busy or something :P
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] :
there's a changelog app just for that :)

but concerning the changes between odm versions, i don't have the ability to know what changes there beyond what Sony publishes on their page.

so now, just updated the trees to the latest from upstream.

starting from next weekly, you all MUST flash v8 odm.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
So does it improve anything, does it mean any progress? One might think it is art for the sake of art. As XperiaX says new updates just have broken the already working compatibility.

E2303 Concept-ify - the AOSP-ed MM ROM
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
So therefore sim card must be working on the next weekly right? Because it doesn't work on v7 I will try v8 also and see how that goes.

Nope sim card is not working on v8. Do you know what is the cause of this [MENTION=4819888]oshmoun[/MENTION] ?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] :
up till the latest weekly, v6 should be the odm version to use. i believe this has been mentioned in this thread already.

starting from the next weekly, v8 is to be flashed, and yes that should get your sim card to work.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] bobladure:
hi,

where is the changelog file for last update ?

i like this rom but there are little bug like simcard with odm version 8. In another way, camera2 api is enable and Gcam give beautiful pictures !

thanks for that
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] XxperexX:
op addressed this above
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] donedos:
Can you please provide the link for the v6 odm? sony has v8 on its site.

Thanks.

edit: found it on sony's website... :)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
Yes, this request is especially well founded as the previous OEM was v7.

BTW. Will be any improvement, especially for camera, in the next WEEKLY (or this is playing with release numbers solely: new OEM -> new WEEKLY, art for art's sake)?

And also, please, say, where is the camera problem root situated: in OEM or WEEKLY itself?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] SoulJahN2:
Hope i can find a fix for it, if not can someone tell me how to full wipe i mean everything till now even the files ive uploaded on phone.

When the phone rings if im on headphone listening music voice just stops working, no incoming or outgoing voice.

Even playing music if a notification comes up it just fades away and then stops giving out music too. It keeps playing but no sound.

Tried several mp3 players including musicolet, blackplayerex with premium, phonograph as on omnirom.

Tried giving notifications dont play just come up on musicolet settings too.

Lavya >3
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
https://developer.sony.com/develop/open-devices/latest-updates

On this web site there are update notes for Xperia OEM versions. And for some models it does say that the update improved the camera but not for the XZ. So OEM updates can improve camera and looks like they are important updates for other sensors.

---------- Post added at 05:41 PM ---------- Previous post was at 05:39 PM ----------

Try installing Viper4Android if you dont have it but if you have it try uninstalling it. If you need help while installing just let me know.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] SoulJahN2:
I have it installed [MENTION=7039965]oguzbatu[/MENTION] , allah belasını versin :)

Anything i need to do make it work? Options? Or it just works if installed?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
So we wait for right OEM ;)

However it looks like is strange. Why does Manufacturer provide just with some of the right drivers? And why does it at all? Does it mean it prepares Android9 release of stock ROM for the device?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Xperia XZ is not gonna get android 9 from Sony. This is just the developper community on the Sony web site which help to develop these AOSP based roms.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Use the the version on the screen shot.

1.While installing use the volume key method.

2.Select the new version (volume +)

3.Select original (volume -)

4.Install it as system app (volume +)

5.Say no to lib workaround (volume -)

6.Say yes to audioserver (volume +)

After all of these steps it will ask you to reboot. So do so. After that you can configure your settings. I have no problems with the audio.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] pawwaap:
Some questions of installation/updatipg procedure, please.

1) When new WEEKLY arives then it's necessary to install it together witn OEM v8, right?

2) And if there is already installation of WEEKLY_20190415 and OEM_v7 on a device, is it enough to simply flash these OEM_v8 and WEEKLY_new over the existing ones? (So called "dirty" flashing?)

3) And, because OEM flashing needs fastboot on PC, and WEEKLY zip is flashed via TWRP, so, to coalesce the proces of installation/updating may OEM flashing proceed with such a TWRP text console command:

dd if=/sdcard/OEMbinary.img of=/dev/_path2OEM ?

dd if=/sdcard/OEMbinary.img of=/dev/block/mmcblk0p53
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
1) Yes as the op said

2) Dirty flashing is ok but not recommended it won't cause a problem on most situations but if you experince any problems you should clean flash it.

3) I don't know that one.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ugosanchez:
What magisk version which can be installed on the latest nightly?

P.s already worked with the magisk v19.0
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Latest one.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ugosanchez:
Almost a perfect ROM

Everything goes pretty well, runs so smooth and battery drain is ok a little tweak can help it better, except the mic seems not functioning especially when taking calls and the minor bug on the screen brightness, looking forward for the next weekly update
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ugosanchez:
Just updated to the new weekly version and still testing, now using oem v8, don't know what the effect of the oem update, mic still not working, not sure what else fixed
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] :
you need to flash stock before flashing omni.

it's mentioned in OP as part of the requirements.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] bobladure:
hi, i flash weekly 20190427 with oem V8 and now camera don't start. just black screen. Have you an idea what's happened ? thanks
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ouiski:
Same for me. initially flashed with last ftf, only done updates via OTA and flashed OEM V8 over V6 which was working fine for me. Tried to wipe cache and datas for the app and it remains the same.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] bobladure:
i tried clean install with flash last ftf, odm v8 but it's the same with many bugs.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Yeap I can confirm that camera doesn't work and also apps like snapchat wont even login because of broken camera I downgraded and will update when the camera fix is live.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ugosanchez:
The camera works once and takes a long time to open until permission pops up
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] silveraero:
Which is the recommended ODM version? I saw there are bugs with ODMv8, people is using ODMv6. How about ODMv7?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ouiski:
Same here, but lazy to downgrade, waiting for this to be fixed.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
You can't use v6 in the latest version (but I haven't tried it maybe it works?). So your best bet is to downgrade to the 21042019 build and use v6 OEM. By the way I noticed that this is isn't a bug about the build. Becuase if you install v8 while using 2104 build the camera apps like snapchat won't launch at all. So maybe it is a problem with the OEM. Has anyone tried using AOSP with v8 OEM?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
I have tried it on the AOSP same result. So the latets builds for both roms are not suitiable for daily use. Guess we will have to wait for an update. Until then previous versions work fine.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Opal21:
Troubles

i am unable to get into recovery. I did everything as i should. After presing both buttons Sony logo appears, screen turns black, another sony logo appears and system boots into android. Stock software, Adrians TWRP, i flashed oem. Help me please! :eek:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Reflash twrp with fastboot seems to be a bug.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Botchcamp:
Samme problem here.

Logs has messages that:

05-04 14:26:46.129 W/ServiceManager(1763): Service media.camera didn't start. Returning NULL

05-04 14:27:08.156 W/CameraBase(1763): CameraService not published, waiting...

05-04 14:27:31.988 W/ServiceManagement(599): Waited one second for android.hardware.camera.provider@2.4::ICameraProvider/legacy/0. Waiting another...
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Opal21:
Problems still present? Especially this waking up. Is this gonna recieve future updates?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ugosanchez:
Just updated, camera still not working
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Grefon45:
https://talk.sonymobile.com/t5/Andr...-Pie-Android-9-0-Tone-don-t-work/td-p/1373072

I asked a question about the broken camera on the Sony forum.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Stronger1101:
I do not understand what it is that Sony gives us direct support, if in any case our team is the most backward in development. There are teams of the same brand that have more stable versions, with better features than those that have been achieved in our team, I do not want to undermine the effort put by developers who bring new versions to F8331 but I must emphasize that the support that says give Sony, I do not feel it serves much.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] bobladure:
is camera work well with last update from 05052019 and odm v8 ?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Grefon45:
No, the camera is not working. Problem in odm v8
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] bobladure:
it is useless to make updates if it is for it to be less good. Since the April 21 update with odm V6, the rom is no longer working properly. In fact, since odm V7 and V8 it's complicated. Currently either we pass on the update of May 5 with odm V8 because the V6 does not recognize the sim card but the camera does not work either we stay on the update April 21 with odm V6 and all seems ok, just little bug
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] ouiski:
Same here, finally downgraded because it was a pain, 21042019 + v6 still really great
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
There is code shared on AOSP update section try to use it in twrp kernel with omni rom and see if it works with v8 oem. Also you need to send logs so developers can look into the problem. Without logs your complains are useless.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Yurashina:
SD card still not work? look no on my side

Also, bluetooth & and other apps keep to crash repetitively .
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Sd card was always working and ignore the crashes it is just a bug on every xperia xz pie build.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] bobladure:
hi, the camera doesn't work with last update 20190512. is there a fix ?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] oguzbatu:
Currently talking about it in AOSP. You can help by sending logs so devs can find and fix the problem.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] drater2:
Great work! I would really like to use this rom as camera also seems to be working fine -with v6 odm blobs at least.

Apparently my data partition isn't accessable through twrp and there is no password promt either.

The only thing to access the data partition is to format it.

Sorry if this question is completely out of place here. Just got the phone new and bought it mainly because of this rom (and treble) available, thus if it is a hardware issue I may be able to refund it.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
Seems you somehow managed to encrypt the data partition - that's no big deal, you can use a TWRP build with encryption support and you should be fine (the standard password on android is "default_password" iirc, but TWRP should attempt to unlock it for you automatically.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] J.M.Siyath:
[MENTION=9500530]local__hero[/MENTION] Omni 20190510

Rom very smooth! and Cool!

Dual sim works perfect! Calls working with both sim.

Camera button sometimes hangs and takes wrong photos (shooting time very slow i think). log attached.

some WiFi related and other bugs are there on log.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] drater2:
That's odd... I had this encryption issue right from the beginning with the stock firmware as well. Reflashing the stock tft -no matter which version- didn't help either.

But I will try the twrp image right away.

Thanks!
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] drater2:
Unfortunately the phone gets stuck in a bootloop when using this recovery :confused:

I really don't know what to do. I never had this problem before and don't want to use the stock rom
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] local__hero:
Can you simply format the userdata partition in twrp? If you have any important files on there, please hop into the telegram chat linked here: Xperia XZ Pie ROMs Questions and Answers Thread