yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] doeternietoe:
https://blogs.sonymobile.com/2019/11/15/which-sony-products-will-receive-android-10-upgrades/

We kind of knew, but Sony confirmed Xperia XZ1 Compact will not get update to Android 10.0. Personally, I'm mostly concerned that this ROM will get updates into the future. Derf Elot has already told us that he plans to update it to LineageOS 17, so that's good enough for me. Actually, staying at LineageOS 16 would be fine too, as long as there are security updates and bugs get squashed.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
We are on a good track. I sent a preview 17.0 build to a couple of testers in the XZ1 thread. There are bugs of course, but a lot of things are already working. It will come ;)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Zelmor:
Same here, all I care about are the security patches.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
can you send me a log for this (preferably pm)?

1) clear logcat by 'logcat -c'

2) plug in headphones

3) output of 'logcat -b all'
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nouatik:
Away over the weekend but ill send you the lc on sunday. Thanks for your time!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wgg71:
Hi,

Real Racing 3 is crashing on start since the first Lineage 16.0 RC I tried (may be RC2, not sure).

My Sony XZ1C is currently running RC5 with last firmware and TWRP, without root or modified kernel.

Here is a logcat of its start:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] lentinj:
This looks similar to my problems with uk.co.ordnancesurvey.osmaps in #678 -- in your log there's:

11-16 22:54:24.348 3797 3797 E libRealRacing3: Error 13 (Permission denied) when making directory '/storage/emulated/0/Android/data/com.ea.games.r3_row/files/.depot'
11-16 22:54:24.348 3797 3797 E libRealRacing3: Failed creating cache directory!
11-16 22:54:24.348 3797 3797 E libRealRacing3: Error 13 (Permission denied) when making directory '/storage/emulated/0/Android/data/com.ea.games.r3_row/files/doc'
11-16 22:54:24.348 3797 3797 E libRealRacing3: Failed creating doc directory!
11-16 22:54:24.349 3797 3797 E libRealRacing3: Error 13 (Permission denied) when making directory '/storage/emulated/0/Android/data/com.ea.games.r3_row/files/apk'
11-16 22:54:24.349 3797 3797 E libRealRacing3: Failed creating res directory!

Try going to App info, permissions and turning storage on *before* you launch the app.

There's still something suspect with storage-writing and this ROM, but it seems work-roundable for the internal storage.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] j4nn:
my still locked bootloader XZ1c is now running LineageOS 16.0

Please see my post in the Security Discussion forum subsection:

Android PIE VerifiedBoot Bypass: sony xperia XZ1 locked bootloader permanently rooted

Showing video recordings of xz1c still locked bootloader rooting, getting permanent twrp recovery and permanent magisk and installing Lineage OS 16.0 as a secondary OS to SD card with dual-boot option via recovery boot or just replacing sony stock fw fully with LOS16, having bootloader still locked (as shown, no bootloader unlocked warning screen) keeping Android Key and ID Attestation still working (the android attest key).

Big thanks to you [MENTION=4297219]modpunk[/MENTION] and [MENTION=4063475]derf elot[/MENTION] for your work on LOS and TWRP for xz1c - my builds for still locked bootloader are based on your codebase obviously.

Once again, thank you both.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Hi there, does the vendor image in this ROM has VNDK enabled ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] YamiYukiSenpai:
How do we know what to flash when the versions in have different RC values (i.e. R7C for US & R3C for Singapore)? Does the country matter?

Also, do we flash the firmware before installing a new version of LineageOS or after?

I've also heard about backing up the TA partition for Sony devices. Is that necessary? I never did that before on my Z5 Compact before so I'm not sure why people say we should back that up. Is it only necessary if we wanna stick to stock Xperia Android?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Meth0d:
See changelog (3rd post) for info about the required Firmware.

I dont see why backing up TA would be necessary.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
yes, vndk is set to current

the rc of the stock fw doesn't matter. just use the right version and (at least the OEM.sin) from your region.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] YamiYukiSenpai:
So if we already have the latest firmware before we install LineageOS, we don't need to flash it again?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
no, no need to do that. it's only necessary (even then not always, but it has broken camera before if not done) if we change the fw base. As [MENTION=766199]Meth0d[/MENTION] said, you can see which version is required in the third post.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] YamiYukiSenpai:
Sorry. Just saw your post. My bad

Thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] sylphio:
Does anyone know if this ROM is deodexed? If not, has anyone successfully deodexed it?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] YamiYukiSenpai:
One thing I have to know before I install this ROM

Does Pokémon GO work with this ROM?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
Pokemon Go is a hoax of the Google Maps team to predict and eventually manipulate where you're going and sell that information. Don't use it.

For reference: The goal is to automate us
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nouatik:
Hey, sent u a logcat. Any help is appreciated. Thanks for your time
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] doeternietoe:
Sounds impressive. Would that mean that we could re-lock our bootloaders, run LineageOS and be fine? Could that be done without loss of data?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] BigBrother84:
Hello,

It's great rom! :good: I have questions:

-Is there any option, mod, to enable full gesture navigation like in Samsung on Android 9 or any Android 10 device? (I use classic ported xperia launcher and don't want to change it)

-Is there any option to run 3d creator?

-Did anyone try to Install any soundmod with selinux enforcing? (I'm interested in Dolby Atmos not digital plus)

I have Xperia z3c with LineageOS and there is option to set how many steps your device has in music, alarms etc.

How about add this useful option?

Thank you for supporting Xperia XZ1 compact. :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] drissie:
I used the benelux version and am on kpn and it works (or, again, I don't know what wouldn't be working if there was an issue) - thank you!

And in general, thanks again to you and [MENTION=4297219]modpunk[/MENTION] for the ROM, RC5 works great and the battery life has improved, I'm loving it all!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] j4nn:
No, re-lock is not possible. Getting this type of permanent root is possible without loss of data as there is no unlock involved.

Switching from stock to LOS16 needs data erase.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] doeternietoe:
I'm already running LineageOS, but I'd like to get ride of the annoying message at boot. :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Finally the upload for RC6 succeeded.

Have fun!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Zelmor:
Cheers.

Do you have a list of outstanding bugs that people could look into, when time allows?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dean F:
Guys, sorry for stupid question, but here it goes. According to the instructions on the original post. and first comment: Why is the installation of this ROM so simple, but the upgrading so difficult. Installation instructions is simply say put Lingeage 16 onto device and flash with TWRP. But for upgrading, you need to download Sony firmware with a matching version, use new flasher, etc, etc. Yet, the upgrade instructions only mention the Sony firmware from Xperifirm, and make no mention of the Lingeage OS 16 rom? Are these instructions written correct? If not, can we update the wording?

Orignally I had RC1 from a few months back.... i tried flashing RC6 with TWRP to update. now device just keeps booting into recovery.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] duckysmokton:
When installing or upgrading the ROM your firmware version should always match the one recommended. Usually when you're installing for the first time the Sony upgrader has already brought you to the latest firmware, so you don't have to take care of this. When upgrading you could have missed a few official updates, that's why you may have first to upgrade firmware via newsflasher, since it's the only way to do this when you're not using official ROM.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] techno-viking:
Thank you modpunk for another update and for the work on this.

Question - in RC6 it is listed "Fixed tethering issues". Does this mean you can connect to 5Ghz wifi networks now? (I know it's wishful thinking on my part and Lineage has this issue on many EU Roms :mad:)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] zzxx233333:
After a normal day of use, the system's possession will become very high, and the phone will become particularly stuttered. I have been unable to find what it is. This will be the case with the previous version.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
RC6 runs flawless so far. Thank you [MENTION=4297219]modpunk[/MENTION]
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Alekim91:
there are some screen shot of toggle notification? thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] StepoXX:
Anyone sucessfully tested RC6 with Google Pay?

For me it refuse to set card as device is rooted / modified.

Did I missed some setting ?

In trust I've disabled root, so I've all green in there....
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] sylphio:
I am not familiar with Google Pay. However, the error message you give suggests that it may detects that your bootloader is unlocked (‘modified’ device). If that is the case, Google Pay won't work with a custom ROM.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] diemadedrei:
I haven't tested on this device, but usually you will need magisk to get Google Pay to work on custom Roms.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Have you altered the fingerprint in the Magisk Props module? If not, you might want to do that and try again. That should to the trick. Let me know if you need assistance. :good:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dean F:
Dude, I'm needing assistance here. Any link to the instructions on how to do this?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dean F:
Google Pay working on Lineage 16 RC6

Hello everyone,

I would like to confirm that Google Pay is working on RC6. And Magisk Safety net, ctsProfile and basicintegrity Pass.

To get that working. You need follow this post:

https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228

But if that seems too complicated, here are the actually steps.

1. Install Magisk

2. Install BusyBox

3. Install MagiskHidePropsConf-v5.1.0.zip by going into Magisk and flashing it as a module. ( Download it from the linked post)

4. Enable the terminal application from inside developer options.

5. Run the terminal app, ensuring it has root access, and run the command "props"

6. Choose the first option that appears onscreen in the terminal, and follow the further prompts from there.

7. Clear storage and cache of Google Pay

8. REBOOT.

9. Open google play and set up your credit card!

10. Working!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
deleted
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] StepoXX:
Tried procedure written by Dean F....still same issue. Safety net I'm passing OK with fake sony xz1c identity. Google pay storage/cache deleted,phone restarted. Do I need to lock the bootloader ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] diemadedrei:
Have you hidden magisk for Google Pay?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] StepoXX:
Yep,it's hidden. But seems that my magisk is crashing right after boot, so probably not really masking it.

Would check further on that later....anyway...thanks for hint !:)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dean F:
[/COLOR]

No. Bootloader stays unlocked.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Ruttix:
What happens if I flash this via TWRP but on version 47.1.A.12.179 and not the latest?

Will it work?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Ummmbra:
Is it possible to make Night Light even more intensive than the slider allows? I feel like the screen was warmer with Night Light on LineageOS on my previous phone. I use the color calibration menu and reduce blue and green to make the screen warmer, but then I have to reset screen color calibration every time Night Light turns off. So it would be nice to just be able to use the Night Light slider to make the screen even warmer than it is currently at the lowest value.

Just a small suggestion. Love this ROM!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] elChorche:
problems extracting files

Hello there! With RC3, maybe even RC4, I was able to compile LOS16 myself, following the instructions in Readme.md on the github repo. Since RC5, a lot of files are missing when trying to run extract-files.sh. Therefore, compiling fails.

I flashed the newest firmware and installed RC6 on my device. Repo is updated with "repo sync --force-sync". The device is connected via ADB over network when extracting. A log of the extract can be found here: pastebin (dot) com/1zfM5AuG

Any kind of hints or help? Would be appreciated very much :)

Btw: "./extract-files.sh" exits with:

sed: can't read ./../../../vendor/sony/lilac/proprietary/recovery/root/sbin/qseecomd: No such file or directory
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dean F:
Yo - question. Is this Lineage ROM available for the XZ Premium? I see modpunk and derf elot maintain the compact and the normal XZ1 .... but the XZ Premium? Is that somebody else? Just thinking to purchase an XZ Premium, and I'm wondering if the Lineage ROM would be of the same quality as it is here on the compact?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
I would recommend to use an unpacked stock to run extract-files on. you need the ramdisk (in kernel .img), system and vendor.

the xz premium is the ugly duckling of yoshino, since it was released with N. because of that, it doesn't have a vendor partition and full treble won't work. myself5 however has a maple and used these sources as a base to build carbon rom for it. it should be very easy to build lineage with them.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] OGSwank:
When there are new FW updates can i upgrade through my phone with no issues to the rom and Is it working on EE?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] elChorche:
Yeah, that did the job. I was able to unpack, extract all files and do a successful build. Thanks a lot :good:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dean F:
Regarding Micro G

I think this can be removed from the first pinned post. I grabbed the latest Micro G and Vanced, and it works fine. No issues logging into vanced with my Google account.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Thought I'd give a quick update: I finally followed darf erlot's advice and did a clean install of stock. After that IMS worked. Then back to RC6, IMS still working. :)

However, the whole exercise broke a number of other things. Google Camera (installed via opengapps immediately after flashing RC6) is constantly crashing, and I cannot install some apps like Netflix any more. Play store claims my device was "incompatible". That didn't happen before. Hope to get that sorted out over the weekend. Thanks to darf erlot again for the clear guidance.

In any case: Looking forward to RC7 with the latest security fixes!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
I don't know about Google camera, but Netflix never worked for me. AFAIK, you need to pass safetynet attestation and/or have widevine level 1 support. I don't think there is much we can do about the DRM on our unlocked bootloaders, but safetynet is passable apparently with the appropriate Magisk module(s) (not tried this myself, but has been mentioned in this thread before).

good to hear IMS works though.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
The strange thing is: Netflix worked fine before. No idea why it even rejects to install the app now.

I am using Xposed, so I will fail SafetyNet in any case.

Google Camera is really weird. Tried different apks, and reinstalled OpenGapps, but to no avail. Crashes every time. I only ever used it to shoot panoramics, but that's something I will miss dearly if it stays that way.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
have you tried the panorama mode in the Sony camera? works quite OK.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Doesn't come close to gcam. Sony uses kind of a line scan function with a relatively low resolution. Gcam does real stitching at full sensor resolution with nice blending. The panos I got out of gcam are close to what you can get with an SLR, a focus point adapter, and decent software on a computer.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
For what it's worth, I just installed the Google camera from play store and it works fine for me. But I am not running RC6 but a build from today. So either it was fixed upstream, or there is something wonky going on on your phone.

edit: Maybe make sure that all permissions are given in the app settings. It did ask for them in my case, but maybe something is missing for you.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wyt18:
Were you able to take portrait and pano nice photos in gcam? Have been looking for a rom that does that for some time now ...

---------- Post added at 10:04 AM ---------- Previous post was at 10:03 AM ----------

Were you able to take portrait and pano mode photos on gcam? Have been looking for a rom that does that for some time now ...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Well, I was able to take normal panorama, fish-eye, photosphere type stuff. Didn't see no option for "portrait". Does that refer to bokeh type pictures? I was under the impression that you need two cameras for that to work anyway.

It is possible though that it doesn't work in RC6 right now, as it works for me but not for [MENTION=8981421]XDA-shark[/MENTION]

edit: It does have something called "lens blur" that appears to do some kind of bokeh effect actually. But video recording doesn't work for whatever reason.

edit2: It might actually be a CAF kernel commit that is causing the video recording issues. I'll try reverting it when i get the chance.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wyt18:
Thanks. Yes lens blur or bokeh or portrait is what I'm referring to. Gcam is able to do it with one camera due to it's advanced algorithms

If lens blur worked for you, that's great. Will try rc7 when it is ready
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Must be an issue with my device/installation then. :crying: Another clean install will cost me 4-6 hours again to get everything up and running. Really frustrating.

Theories:

It was a mistake to replace stock (lineage) camera during opengapps installation.

Something is missing in opengapps, as I installed only Play service, package installer, calendar sync, and camera using aroma installer.

The clean install of stock changed the camera fw somehow. Strange thing was that I did not get any green images on stock either, Sony camera just worked fine as it does now on LOS.

In the meantime, I also sideloaded all sorts of gcam apks with different versions. They all crash immediately on startup. Will keep on trying a little longer, then it is time to start from scratch again.

EDIT 1: OK, now it gets really weird. What I did:

Dirty flash RC6 again.

Dirty flash Opengapps again, but without Google camera.

Clear Cache/Dalvik.

Then I was able to uninstall Google camera after rebooting.

Install Google camera from Play store.

Granted all permissions.

It no longer crashes, but tells there was not enough memory available to store images. Well, just got more than 17 GB free space on internal, and another 48 on SD card.

EDIT 2: Deleted data and cache in settings, now it works. :confused: Let's hope it stays that way, and I am happy. :D
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wyt18:
glad to hear it's working for you. were you able to get bokeh/portrait/lens blur mode working as well? what is the apk version that was downloaded from the play store, if I may ask?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Apk version is 4.4.020.163412804. It does have the "focus effect" feature, but this is not the bokeh/lens blur you have in later versions. It requires you to move the camera, so it is not well suitable for portraits. Nice for things like food, though. I believe the "real" bokeh mode requires RAW support, which is why it will not work on our XZ1C: Sony simply does not offer RAW support.

Like I said before, for me it is about panoramas, which are way better in Gcam.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
good to hear it's working now. just to confirm, does video recording also not work for you? I've tried reverting those CAF kernel commits, but that didn't help. would have to investigate further.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Just tried that, and I can confirm that video recording does not work for me either. When trying to switch to video mode, I get an error message. Not sure if that worked prior to the clean install. I hardly ever use video, and if I did, I used the stock app.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] techno-viking:
You are not the only one. Same thing occurs to me. It started on RC5 and now on RC6. No GPS fix unless I put the phone in airplane mode and then GPS lock occurs as per normal. I tried to figure out what was going on - tried a fresh install with no gapps, tried a fresh install with microg , tried it with pico gapps - same thing each time - I needed airplane mode for any GPS or any GPS setting/type to work.

Even tried re-flashing the 47.2.A.11.228 firmware with news flasher and then installing RC6 afterwards - still does it.

I'm surprised nobody else has the same issue.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
There are two ways to get a location fix - by GPS and by network location. GPS usually works, if there is enough signal strength, e.g. when you're outside. Network location usually works if there are known wifi networks around.

However, regarding cell networks, there is a bug in MicroG / IchnaeaNlpBackend that makes UnifiedNlp (the network location provider service) not see any cell tower information and thus, not providing a network location fix. See Github.

This is related to 4G and 3G, only. If you set your preferred network type to 2G in Settings, you'll get a location fix immediately.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] techno-viking:
Thank you anarki@butterblume for the quick reply. I set the preferred network type as 2G and just like you said, I got a GPS fix almost immediately without having to put on airplane mode. :highfive:

I'm guessing now the downside of setting the preferred network to 2G is reduced data speeds.