yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
From what i know, modpunk wanted to do at least one more release for 16.0. I wouldn't hold my breath for continued builds once 17.1 is released through :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Thanks, that's fantastic!

I am not concerned for after 17.1 is released. Just worried about the time till it is.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] diemadedrei:
Known bug for current opengapps build. Search for the thread. I think a version from around January 15 will work
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] echo124:
[MENTION=4297219]modpunk[/MENTION]

Hi great work :) does this rom support mms without data always on like stock?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] claudiobar:
Hi there people. Could anyone make cLock app to work? If I try to run it with lineage page's OpenWeatherProvider it just either force closes or doesn't show weather info at all.

Also, I'm still trying to determine whether to choose stock or Google's cameras and phone app, if anyone is so kind to share his or her insight in this regard, I'll be more than thankful :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
I had the same issue a few month ago, but I gave it up eventually. Would be nice to have that fixed.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] albenex:
flashed this ROM couple weeks ago..

had to install Magisk & buildprop hack in order to let Netflix work.

then had also to hide magisk to some other apps but i managed to pass SafetyNet and obtain all apps working.

after a week system became laggy with apps crashing and many freezes but a cache/dalvik wipe solved issue.

now i'm working in order to let 3d stuff work again (like 3d creator app - which is the only thing i miss from stock rom)

last but not least, with stock rom i had several GPS weak signal issues like many other user reported.. with this rom GPS is rock solid... don't know if is there any real difference managing it but i fix satellites way faster and signal is strong and precise as first days
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] slajurk:
hi @ all,

i have also the issue that something about 3% of the touch on the screen are not recognized.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I've uploaded v1.1 which is likely the last 16.0 release. I will move to 17.1 soon and provide a ROM :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rsk_kelkar:
Since changelog isn't published yet, wondering any fixes to IMS? No VoLTE is only thing stopping me from using this wonderful rom for daily driver. I'm actually using oem.sin from larger dual sim XZ1 for India on stock ROM. Can I do something similar with LOS?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
I forgot about this tbh. My guess is, that the lilac tree is lacking the overlay for carrierconfig for your provider. We only implemented those which are supported in stock lilac oem.sin. The reason why this works for you using the XZ1 oem.sin from stock is probably because you can make use of the overlays in there as well. On LOS we can't do that (thanks to the signatures) and have to manually provide the overlays. That's why it's lacking here.

E.g. compare the lilac overlay:

https://github.com/cryptomilk/andro...ackages/apps/CarrierConfig/res/xml/vendor.xml

with the one form poplar:

https://github.com/derfelot/android...ackages/apps/CarrierConfig/res/xml/vendor.xml

or from poplar_dsds (depending on which oem.sin you use):

https://github.com/derfelot/android...ackages/apps/CarrierConfig/res/xml/vendor.xml

you'll probably see that the one you need is missing from lilac.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rsk_kelkar:
Thank you so much for your quick reponse. I'm no developer though so didn't quite understand what you're saying. Just FYI I'm using oem.sin from poplar_dsds on stock ROM.

What does it take to manually provide the overlays like you've mentioned? I've always used all my phones for years on CM/LOS (Moto Defy, Moto Droid Razr M, Xperia SP, Xperia Z3 Compact, Moto G, Moto X) since day zero, and on this one just have to stay on stock due to no VoLTE. This carrier "Reliance Jio" MCC 405 MNC 861 supports voice calls only on VoLTE and don't have 2g or 3g infrastructure at all. I could use their calling app JioCall over LTE but don't want to miss any calls just coz the app got killed or something. Any help greatly appreciated.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] alximiktik:
are there information about changelogs?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Meth0d:
A changelog is always nice. I can confirm though, it still runs without issues :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] lemassykoi:
root ?

Hi,

can you please add the files needed for bright flashlight ? ==> topic

thanks

edit : was asking for root, but needed to enable it in developper mode.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] neurer:
can't toucht this

Same here. Others (see #650 & #651) have reported this as well.

:fingers-crossed: that a 17.1 release addresses this highly irritating issue.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Works for me. At least, I don't notice any dropped touch events. Did not analyze a log, though.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] OmNomCiruitsesNomNom:
Had a touch issue with the previousversion, not with the newest one (: Many thx for the hard work! <3
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] diemadedrei:
Stupid question but this is my girlfriend's phone and I have been on an A/B device for some time now. Ich I update from 1.0 to 1.1 do I only have to flash the ROM or do I need to flash gapps and magisk thereafter (as is the case with my phone)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Magisk will modify the boot image automatically, so no need to flash this again. Gapps, I am not sure if it is necessary, but I always flash gapps Pico right after any update.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Meth0d:
Somehow my phone does not feel as snappy AS before.

Even had some weird app lags here and there.

Did anything major change on the kernel side?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
I don't, but I was under the impression that they update automatically when an update is available through the play store. :confused: Am I mistaken?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
That's right. I am just worried the ROM update might overwrite/replace some of the files which belong to Gapps, so the installation is in limbo afterwards.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mp107:
The gapps (and other system apps) do not get overrided when updated via Google Play (or installed from APK file) but they are being installed on a writeable (from Android's perspective) /data partition, as opposite to read only (from Android's perspective) /system partition instead.

In other words after updating the app instead of "constant" pointing to APK file located on /system Android switches to other (newer) APK file located on /data partition keeping those located on /system intact. The same mechanism works also for other applications that are built in the system image. That is also the reason why after cleaning up the /data partition you would be left with "old" versions of (g)apps.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] flameseewa:
Alright. So for me to update all I have to do (after flashing new firmware) is flashing the latest ROM, and not have to worry about the Magisk or GApps that I currently have.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Thanks for your input [MENTION=8981421]XDA-shark[/MENTION] and [MENTION=5772310]mp107[/MENTION], much appreciated.

---------- Post added at 11:50 PM ---------- Previous post was at 11:50 PM ----------

Thanks for your input [MENTION=8981421]XDA-shark[/MENTION] and [MENTION=5772310]mp107[/MENTION], much appreciated.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] YamiYukiSenpai:
Is it just me or is Privacy Guard hidden? I tried long for it and the only way I did was by searching for it.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Namnodorel:
It's not hidden, it's just in a new section under security called "Trust".
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] uhmnothanksgoogle:
Wanted to update to LineageOS 16.0 today, but ran in to several issues - mainly because it has been a year since I last installed/updated LineageOS 15. So for any others in a similar situation:

#1: Obviously follow the instruction in the original post and first few replies: https://xdaforums.com/xperia-xz1-compact/development/rom-lineageos-16-0-unofficial-todo-t3925675

#2: I could not download the required firmware using xperifirm 5.3.7 from here https://xperifirm.com/, got "Firmware is unavailable" for all firmwares. Problem fixed by updating to 5.4.0 from e.g. here https://xdaforums.com/crossdevice-dev/sony/pc-xperifirm-xperia-firmware-downloader-t2834142

#3: TWRP needs to be version 3.3.x to flash the Android v. 9 zip-files (i.e. the LineageOS 16 zip-files): https://xdaforums.com/xperia-xz1-compact/development/recovery-twrp-3-1-1-stock-security-t3706704

#4.1 TWRP 3.3.x seems unable to decrypt data/sdcard created by android 8 (LineageOS 15), maybe the problem persists after updating to Android 9 (LineageOs 16): https://forum.fairphone.com/t/custom-twrp-3-2-3-to-decrypt-android-8-9-encryption/50192/9

#4.2: So I ended up flashing the lineageos 16 zip-file using adb sideload which bypasses the need to decrypt the data/sdcard (where I had placed my zip-file, but was unable to read it from in twrp).

Hopefully this will help someone else. Quite possibly I've just misunderstood something, if so feel free to clear things up.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] uhmnothanksgoogle:
After flashing the LOS 16 zip via adb sideload and rebooting, TWRP 3.3 starrted to ask my password for decryption and was able to decrypt data/sdcard (showing files previously there). I don't know w hy, maybe some driver/firmware/kernel differences between android 8/9 and TWRP...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] master.yodo:
Hi, All

Has anyone managed to get NFC payments working on LOS by modpunk?

Any luck with Magisk + SafetyNet ?

On 1.0 I had a bootloop after gapps install, and I didn't manage to get Magisk + SafetyNet working.

Outside of that stock recorder app never worked for me on 1.0 as well as on RCs.

Thank you in forward for any advises ;)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] lentinj:
Right, I've got somewhere with the sdcard permission problems.

sdcardfs isn't doing the app -> userid mapping on app directories, so everything is owned by root. Playing through termux, you can see that root owns the data directories, and so I can't modify anything (this is a problem with internal storage too, just you don't notice it because you can group-write everywhere).

u0_a251@xz1:~$ ls -ld /storage/6058-473E/Android/data/com.termux
drwxr-x--- 3 root everybody 32768 Feb 9 11:22 /storage/6058-473E/Android/data/com.termux
u0_a251@xz1:~$ touch /storage/6058-473E/Android/data/com.termux/files/woo
touch: cannot touch '/storage/6058-473E/Android/data/com.termux/files/woo': Permission denied

But I can configure sdcardfs manually though with an adb root shell:

# mkdir /config/sdcardfs/com.termux/
# echo 10251 > /config/sdcardfs/com.termux/appid

...and now termux can use the SD card:

u0_a251@xz1:~$ ls -ld /storage/6058-473E/Android/data/com.termux
drwxr-x--- 3 u0_a251 everybody 32768 Feb 9 11:22 /storage/6058-473E/Android/data/com.termux
u0_a251@xz1:~$ touch /storage/6058-473E/Android/data/com.termux/files/woo

Looks like the Android PackageManagerService should be doing this configuration on bootup: https://android.googlesource.com/pl...java/com/android/server/pm/Settings.java#2539 but I can't find any logcat lines that suggest that this code is being run. Maybe the package manager compiled into the image is too old to support it? Or it's disabled somehow? selinux would be another obvious answer, but given I can do it manually at the commandline this seems unlikely.

If I find out any more will report back.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
thanks, that's interesting and gave me an idea. let's see if that helps
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] echo124:
Does this rom support sending mms with data off like stock? :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Found the issue, thanks a lot again for the tip. This seems to solve a lot of issues with storage. Also tested saving maps to external sdcard with osmand now (which a lot of people wanted and had issues with) and that now works, too.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] janflapjes:
Is there any chance that this will become part of official lineage OS, so it will be provided with OTA updates?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Tonux:
Does this affect adoptable storage too? For me any apps on the external storage cannot write to their own data directory, which cases apps to essentially "Clear Data" each time they are closed. At the moment adoptable storage is only useful for encrypted file storage. I would be interested if your solution rectifys this.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
No idea, I haven't tried that. However, adoptable storage is not really meant to be working with 4.4 kernels and FBE unfortunately (I think 4.9 is the minimum). Even if you do get it to work somehow, there will be a huge performance drop because all files will get doubly encrypted.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Tonux:
Ah interesting, I hadn't considered that file based encryption would encrypting individual files on a encrypted block device. To that point, what is the best way to encrypt data on an SD card? Stock has the option to enable FBE on the SD card in portable storage however I could never find this option in LOS.

---------- Post added at 07:34 PM ---------- Previous post was at 07:26 PM ----------

Or was it eCryptFS on the SD card, I can't really remember.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Yeah, the problem with FBE and adoptable storage is that adoptable storage generates FDE for the whole sdcard and then adds another FBE layer on top (iirc).

I think the best way to go about it, if you definitely want to have adoptable storage with encryption, would be to convert encryption to FDE. With that you obviously loose some of the advantages of FBE as well (e.g. the system still boots without entering the key/pin - useful if your device reboots at night and you set an alarm for example). IIRC, this would involve changing to

encryptable=footer

from the current

fileencryption=ice

in the /vendor/etc/fstab.lilac . Then you would need to format the whole data partition again in TWRP and install from scratch. But this is speaking from my shady memory, haven't used FDE in a long while.

edit: Our TWRP should already contain

/data ext4 /dev/block/bootdevice/by-name/userdata length=-16384

, which basically leaves enough free space after the data partition to place the FDE encryption key in the footer.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Tonux:
Ah cool, I didn't even realise that FDE was still an option nowadays. This might be preferable to me anyways as I'm generally cautious of FBE as it doesn't conceal metadata. Will give this a go tonight, thanks derf!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] uhmnothanksgoogle:
Would someone kindly explain about non-gps location providers and UnifiedNlp?

This ROM comes with UnifiedNlp preinstalled - does UnifiedNlp work without the rest of microG, if not, does this ROM come with more microG / patches for signature spoofing (I think not)?

Is location just working out of the box for people, i.e. can they get a usable location in say OsmAnd within 1 minute?

After a day of testing it seems I can only get a location fast when switching to "Preferred networktype: 3g" or "2g". When switched to 3g or 2g I get a location within 1min, otherwise I have to wait 30min if I get a location at all (pure GPS is slow and likely not to work indoors). I've read of this issue (needing to switch to 2g or 3g) somewhere else, but I can't find the reference at the moment...

One thing seems certain to me: people are reporting Android 9 issues of one kind or the other, e.g. https://github.com/microg/android_packages_apps_UnifiedNlp/issues/181

Edit: here is the mention of the 2g/3g bug: https://xdaforums.com/showpost.php?p=81142999&postcount=751

Edit2: A possible fix to the issue: https://xdaforums.com/showpost.php?p=81427023&postcount=817
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] lentinj:
Yup, me too :) What was the problem? If I can fix it by tinkering through adb that would be useful, before it's time to move to LineageOS 17.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
To fix the issue directly on your phone, you can remove the lines indicated here: https://github.com/cryptomilk/andro...mmit/d77eaf53dce1e26958f6bd2d033036dbfc008869

from /vendor/etc/init/hw/init.yoshino.usb.rc

save, reboot, profit
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] lentinj:
I installed MicroG using NanoDroid, and OsmAnd is very quick getting a location on my phone. I can't remember if I tried OsmAnd without MicroG, but some certainly had problems earlier in this thread.

---------- Post added at 01:15 AM ---------- Previous post was at 01:00 AM ----------

Excellent! Thanks. Things are looking much happier now.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] uhmnothanksgoogle:
Could you elaborate on that method/process (maybe a single link hinting at NanoDroid installation/use itself)? Did you somehow remove the UnifiedNlp already shipped with this ROM?

When I read about NanoDroid and microG installation it seems like they come with the possibility to make signature spoofing work, even though your ROM/kernel was not originally patched. Do you have signature spoofing enabled now after installing microG?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Version 1.2 with a fix to allow apps to store data on the sdcard.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] lentinj:
I went here https://downloads.nanolx.org/NanoDroid/Stable/ and grabbed NanoDroid-MicroG and NanoDroid-Patcher zips, and installed both via. TWRP. There's mentions of having to patch DeodexServices, but the classes.dex file is there so didn't have to do anything. I didn't remove the UnifiedNlp which comes in the ROM, but I guess the MicroG.zip replaced it at some point in this process.

Then went to MicroG settings and poked around giving permissions until I passed the self-test---including signature spoofing.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] uhmnothanksgoogle:
I'm quite interested in this. Your solution, does it include the whole microG framework, the signature spoofing patches etc.? Or are you essentially just using another build of the UnifiedNlp app/package?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
Instead of UnifiedNlp I used microG Service Core, which latest build is quite newer than the lastest build of UnifiedNlp. I also removed UnifiedNlp. microG Service Core seems to bring it's own build of UnifiedNlp, although I cannot see the latter as a separate package. I did not test signature spoofing, just desperate to get my network location to work.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] CherAlban:
I can confirm that the latest version of HERE navigation now works flawlessly, thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] uhmnothanksgoogle:
Could you elaborate? You mean the LOS 16 zip version 1.2 (recently published by modpunk)?

I've jus tried that version and I can't say network-based location is working flawlessly / out of the box. I can't get a location if I'm indoors - no matter if I choose 2G network or not. The UnifiedNlp self-check also shows no checkmark for "UnifiedNlp is registered in system".
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] CherAlban:
Up to modpunk's LOS16 v1.1 to my knowledge only a very outdated version of HERE navigation worked (due to the missing write permission). I just updated to v1.2 and also updated HERE to the latest version, which now works. I never had any problems in getting a GPS fix, neither outdoor nor indoors.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] uhmnothanksgoogle:
I flashed just https://downloads.nanolx.org/NanoDroid/Stable/NanoDroid-microG-22.6.20200208.zip via TWRP. This adds the MicroG Service Core component to the system. After granting it all permissions its self-check shows that UnifiedNlp is working and indeed it is - instant location fix indoors. See these screenshots for self-check status etc. : https://imgur.com/a/NOPHIAx

I'm not sure I like it, I think I'll go back to LOS 15.1, but now I know it works without the signature spoofing part. Cheers.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] echo124:
Why this lineage has no mms send feature send with data off like stock? :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Meth0d:
[MENTION=4297219]modpunk[/MENTION] my battery drains like mad after upgrading to 1.2 also i had to re-pair my smartwatch.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Had that too, it was an app that was stuck. If you have root available, just install a terminal app, call "su" to get root, and then "top". In my case it was Firefox. Happened with other apps in the past as well, so I don't think this is related to 1.2.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Meth0d:
They should not be "stuck" across reboots. After my bat was gone yesterday i rebooted before charging last night. Now im almost at 60% again, that is double my usage i had with previous versions.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Install BetterBatteryStats to find out what is going wrong.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] JimKatsanos:
Quick question.. what exactly is IMS ? like, only wifi calling or wifi media sending like sending/uploading photos/videos on social media/chatting apps?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
You're right. I had a similar issue when my APN settings were off. Was wondering why the battery would drain, but only fixed it by coincidence when I noticed it was using the APN of another provider.

---------- Post added at 06:21 PM ---------- Previous post was at 06:19 PM ----------

IMS enables VoLTE and VoWiFi, if your provider supports it. See https://en.m.wikipedia.org/wiki/IP_Multimedia_Subsystem.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] moist_line:
I really want to try LOS on my xz1c but I'm kind of scared with the process involved in unlocking BL based on brief reading. Is the process of backing up DRM keys and unlocking bl, and then rooting more complicated than Oneplus? Could someone point me to the right process? Thank you.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wgg71:
This bug is now fixed with version 1.2.

Thanks !
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mollusko:
HUGE thanks, & question re: Work Profiles (Shelter)

reposted below with mention, apologies for double-posting!

First of all, thanks so much for an excellent ROM! Working flawlessly, all the hard work is massively appreciated.

I'm interested in using Shelter [f-droid app that leverages the Work Profile to provide app sandboxing] to sandbox/run multiple copies of a few apps, however the app warns that Work Profiles must be properly implemented in the ROM otherwise potential bricking can occur. Seeing as I don't exactly want to brick my device (oddly enough), can the devs or anyone else confirm whether Work Profiles are properly implemented in this ROM?

Many thanks, and please excuse if this is something I could verify myself - if there is a way to do so that I am unaware of please let me know!