yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mp107:
Regarding the calling sound problem - I have no clue as I have not experienced this. It sounds like it is a software bug but I have no way (or I do not know a way) to verify it by myself.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] thessy:
Ok, flashed LOS 16.0 v1.0, installed Magisk and EdXposed successfully.

Do you mean the module "FakeGApps" (https://repo.xposed.info/module/com.thermatk.android.xf.fakegapps) which should enable "signature spoofing"?

Installed that via EdXposed Manager successfully. But after that installing of "microg Services Core" from fdroid microg repository is failing with: "Error -112: The system failed to install the package because it is attempting to define a permission that is already defined by some existing package".

Hmmm, now I'm stuck on this error...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Namnodorel:
Yes, that's the right module. That error sounds like some conflicting installs - make sure you don't have another version of microG/UnifiedNlp or Gapps installed.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] thessy:
Definitively no Gapps installed after flashing LOS 16.0 v.1.0

But you are right, there is a UnifiedNlp already installed. But not installed from me and I can't uninstall that. So it comes with LOS?

Additionally I suppose there is a problem with "FakeGApps" too. Logfile of EdXposed installation looks like...

01-03 17:17:11.414 783 783 I EdXposed-Bridge: Loading modules from /data/app/com.thermatk.android.xf.fakegapps-RRJooXlLH6ficJS2g-xkPQ==/base.apk
01-03 17:17:11.423 783 783 I EdXposed-Bridge: Loading class com.thermatk.android.xf.fakegapps.FakeSignatures
01-03 17:17:11.441 783 783 I EdXposed-Bridge: Loading class com.thermatk.android.xf.fakegapps.PackageNameServiceHook
01-03 17:17:12.188 1385 1385 I EdXposed-Bridge: FakeGApps: caught the NullPointerException
01-03 17:17:12.231 1385 1385 I EdXposed-Bridge: FakeGApps: Adding the package name service failed.
01-03 17:17:12.336 1385 1385 I EdXposed-Bridge: FakeGApps: caught the NullPointerException

Also the App "Signature Spoofing Checker" from fdroid states that spoofing is "disabled".

---------- Post added at 05:48 PM ---------- Previous post was at 05:31 PM ----------

Found a similiar issue and left behind a comment there too: https://github.com/thermatk/FakeGApps/issues/36
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Namnodorel:
The NullPointerException part doesn't have to mean anything - I had those too back when I used microG with that module, but it didn't affect functionality.

The UnifiedNlp install is prepackaged with this ROM, yes. But it won't work together with microG, since microG comes with its own version of UnifiedNlp included. Many root utilities offer letting you uninstall system apps (for example Titanium Backup).

The package name service thingy might be a separate problem, but I can' t say much about that from that error message alone.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cabroncitos:
Hi there,

does USB tethering work for each of you? I found 2 particularities:

1) when activating USB tethering , charging the battery stops.

2) when the phone is connected to the internet via WLAN, USB tethering does not provide any data to the connected computer

Works both very well with my OnePlus One with LOS16.

First noticed this behaviour a couple of weeks ago (may have been around 2019-10-18 | RC5 | 47.2.A.11.228).

I'm now on 2019-12-15 | 1.0 | 47.2.A.11.228 XZ1c, dirty installed every update (except for RC0 and RC1) since LOS15.

Please confirm or deny.

Also, I'm thankful for any advice (noob here writing)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Gewiz:
Wouldn't be sure about that your earpiece is ok. When you put your phone in speaker mode it operates trough both speakers. So maybe it's just the bottom speaker through which you hear the sound. In Earpiece mode sound goes only through the top speaker, so maybe that's the reason you are having problems.

I had also a broken earpiece and a broken screen. Both fixed by changing the screen since i took a spare screen to which a new top speaker was already attached;)

Though you can't be sure about that. Maybe check your speakers first. Good Luck!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mp107:
Regarding the hardware testing, on stock ROM of the Sony Xperia XZ1 Compact and probably all other Android based Xperias (I used it also on Sony Ericsson devices) there is a built-in application allowing one to test it out the hardware (including the sensors, particular speaker) which can be run using the *#*#7378423#*#* aka *#*#SERVICE#*#* code in Telephone application.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] diemadedrei:
Everything seems to be working for me. Does anyone have a working version of gcam for the Rom?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] techno-viking:
Did you get the GPS to work? Picks up satellites okay?

To answer your question, unfortunately there is no gcam that works with this Sony device. If you check this thread, there have been people discussing it.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] diemadedrei:
Yup, it does pick up satellites pretty quickly. It is my girlfriend's phone, so I don't tinker with it often. It was stuck on beta 4 of 15.1 which had pretty bad GPS. Way better now. I just dirty flashed.

Thanks for the info about gcam. I tried to find it in the thread, but it was never too clear. So thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nonononoki:
Any chances to become official?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Gcam from Play Store works mostly fine for me. However, no video recording, and no HDR mode.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] diemadedrei:
That one always reports no storage left, although there is.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Elwood_It:
I still need to install this rom so the question might seem a bit stupid, but is Sony camera still included as stated in the RC1 changelog?

With all the functionalities (hdr, 120fps video, 960fps video, ...)?

Thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Have you tried manually adding storage permission in settings?

---------- Post added at 11:44 AM ---------- Previous post was at 11:43 AM ----------

No 3D creator, no AR effect. Everything else is there.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] metalnumber:
Hello mr. modpunk, I'd like to ask why is CIFS and/or NFS seemingly not enabled? Is there a reason for this? If not, I hope this is not too imposing, but I would be thankful if you could compile me a kernel with these enabled. Thank you.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] klejejs:
Glove mode

Hi. I really appreciate your work on this ROM. It is running perfectly. One question I have: is it possible to somehow enable glove mode?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
Hi [MENTION=4063475]derf elot[/MENTION],

is it possible to track your progress on LOS 17 on github or similar? Thanks in advance. :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
sure:

https://github.com/derfelot/android_kernel_sony_msm8998/tree/lineage-17.1

https://github.com/derfelot/android_device_sony_common-treble/tree/TESTING_17.1

https://github.com/derfelot/android_device_sony_yoshino/tree/TESTING_17.1

https://github.com/derfelot/android_device_sony_lilac/tree/TESTING_17.1

https://github.com/derfelot/android_vendor_sony_lilac/tree/lineage-17.1
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] flameseewa:
Hey, I'm currently running RC2 since August, with OpenGApps (Pico) and Magisk. How can I update to the new version 1.0? AFAIK I should first update the firmware, THEN flash the new rom, right?

I don't want to lose my data and settings, as well as the Google Play Services functionality which I need for some apps.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mulcahey:
Did you find a solution to this? I'm having the same problem. I'm trying to install lineage-16.0-20191215-UNOFFICIAL-v1.0-lilac.zip

I can't find anything wrong with the zip file. Even the md5 is a match.

What am I doing wrong?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] diemadedrei:
Which version of TWRP did you use?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mulcahey:
I'm using TWRP 3.2.3-0-lilac-pie-2

My Xperia firmware is 47.2.A.11.228

I'm trying to install lineage-16.0-20191215-UNOFFICIAL-v1.0-lilac
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] diemadedrei:
May be try 3.3.1. I did it with that one and it worked
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mulcahey:
That did it! Thank you!!!!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GOrMHATRe:
Does this rom have Sony's native theme support?

Also, how is the camera capability compared to original sony camera app?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rsk_kelkar:
Can you please add IMS for MCC 405 MNC 861? I get LTE but not VoLTE
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
No to themes. As for camera, we include both the LOS camera (snap) and stock camera including the add-ons. Quality should be same as on stock unlocked BL.

How do you go about this in stock? There is no modem customization support for this carrier for lilac. Are you flashing the poplar dsds oem and if so, does that actually work?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rsk_kelkar:
You're right. On Stock ROM I flash oem.sim from XZ1 dual sim Indian version. Here's a thread I started but haven't been able to keep upto date.

https://xdaforums.com/xperia-xz1-compact/how-to/reliance-jio-volte-oem-sin-xz1-dual-t3871917

I see you have LOS thread for poplar. Can this support be ported to Lilac?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
On network location

Now after a week of testing, I am sure to say that my network location issues are gone since switching to microG and it's build of UnifiedNlp. Thereby, I get a network location fix instantly and as soon as I enabled the location switch.

Here's what I currently use:

* LineageOS16 1.0, Firmware 47.2.A.11.228 Custom DE

* microG Service Core 0.210.19420 (com.google.android.gms-19420020)

* LocalGsmNlpBackend from f-droid

Steps to reproduce. In a terminal, do

# Put microG Service Core into the file system

$ adb root

$ adb remount

$ adb shell mkdir /system/priv-app/microg

$ adb push /path/to/com.google.android.gms-19420020.apk /system/priv-app/microg/

# Disable UnifiedNlp

$ adb shell pm disable org.microg.nlp

# Optionally: Delete it's apk

$ adb shell rm -rf /system/app/UnifiedNlp

# Give some permissions to microG, which is actually named com.google.android.gms

# Touch the file /system/etc/permissions/privapp-permissions-microg.xml

# and insert the following lines:

<permissions>
<privapp-permissions package="com.google.android.gms">
<permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
<permission name="android.permission.DELETE_PACKAGES"/>
<permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>
<permission name="android.permission.ACCESS_FINE_LOCATION"/>
<permission name="android.permission.ACCESS_COARSE_LOCATION"/>
<permission name="android.permission.RECEIVE"/>
</privapp-permissions>
</permissions>

# Reboot to recovery and delete dalvik / cache

$ adb reboot recovery

Notes

* microG Service Core ships it's own build of UnifiedNlp, which does not appear as a separate package in $ pm list packages

* If org.microg.nlp is not disabled, there will be two UnifiedNlp entries in Settings/Security & Location/Location

* The presence of privapp-permissions-microg.xml is mandatory. Otherwise the system will be stuck in a boot loop

* There is a microG Settings app, which should show all four permissions granted and all five network location properties set. The app also gives access to UnifiedNlp Settings
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] :
Will this enable push notifications out of box when microg is set up properly?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] alximiktik:
can i get access to Efs partition in lineage Os. I want to test Volte....
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] :
Hi guys,

I got on board with LOS.

[MENTION=4063475]derf elot[/MENTION] did you miss me?

Got one issue, though. After installing the pico gapps I can't finish the "setup" of the phone, as it always crashes when I try to add my Google account.

Thanks!

Edit:

Fixed the issue. Wiped everything and flashed LOS/Gapps without booting between them.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Sure, welcome back :cowboy:

Noob, looks like you've been inactive for too long :p
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] :
Yeah, lmao. I've been lurking this thread and the LOS17 for S10 one for some time, and I don't really get some of the stuff so if you know I'd be thankful.

I've wiped everything from recovery before flashing los. Is that fine? It seems people talk differently about format and wipe right now.

What's the point of having the lasted firmware if I wipe system, data and everything else?

Would you guys mind someone helping you with the chores? :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
When coming from stock or different rom, I would always advise to format data to get rid of encryption, then reboot to recovery and wipe system, etc.

The point of having the latest firmware is to have updated BL, modem, etc. These updates also potentially include security updates. Also, some blobs are tied to the BL version - it has happened before that the camera would stop working if firmware and vendor blobs don't match.

Any help is appreciated ;) You can also check a few posts back about repos for 17.1. I will work on it some more this weekend, hopefully fixing IMS for it finally and some other things.

edit: Looks like 47.2.A.11.228 will be the last FW we receive anyway, so I don't think we'll have to bother with updating it anymore.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] :
Thanks derf.

What about the message that the bootloader is unlocked when i start the phone. Any idea how can I get rid of that?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
you can't, burnt into BL. it's already improved to how or was originally (some orange/red warning triangle). it's just how it is since after z5 / starting with x i believe.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] andacro:
Really dig this ROM. Only bug I have found is that I have enable/disable aeroplane mode to make a call, else it disconnects before calling with the message 'call ended'.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Now that I got VoLTE and WiFi Calling working, I ran into another small issue: How do I know before the call whether WiFi Calling will be used or not? I faintly remember there was a different icon in status bar in the past to indicate WiFi would be used for calls. This is no longer the case. However, when I initiate a call, I can see a WiFi symbol on the call screen that WiFi Calling is used. But that is only after I hit dial. I would like to be able to see it before that.

Do I need to enable this in the skin or something like this?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] flameseewa:
Hey guys, I'm currently running the RC2 release from August. To update to version 1.0 do I first need to update 'firmware'? Anything else too to be done first?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GT500s:
Hi.Rom is awesome but i have same problem with gallery app that was in previous releases.Pictures i delete in gallery always are back on phone after reboot.Is there any method for installing original Sony Album on LineageOS ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
Nothing else to do. But updating the firmware is mandatory.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] andacro:
This is the error message when I'm placing a call, which doesn't work.

00.281 789 789 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DaniJaponezu:
freeze after turn on screen

Hello! I flashed lineage-16.0-20191215-UNOFFICIAL-v1.0-lilac.zip. But i have this annoying bug often times. When i turn on screen and try to slide up to reach apps menu, nothing happens. Cant even tap on apps on main screen. Then i have to turn off screen and to turn on again to make it work. How to fix this? Please help! Thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] flameseewa:
OK thanks. No data loss or anything I'll lose during firmware update and new LOS flash?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] diemadedrei:
Firmware update is only necessary if you were on an older version of the firmware.

If you flash it and then los in one go as deacribed, you won't loose any data.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] flameseewa:
Yeah. I downloaded the newest firmware using XperiFirm, and put newflasher.exe in the directory. I removed all the files that shouldn't be flashed like *.ta and others.

Is there anything else that has to be done before I perform the firmware flash? Also, after this can I finally start flashing LOS using TWRP?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] :
Happens to me aswell, its either Pie bug or our touchscreens are bad. I will order one for myself because I got phone from 2nd hand shop.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DaniJaponezu:
I think i fix it. I changed lock screen from none to slide, color profile to sRGB, and in developer options the animators all 3 from off to .5

I dont know right now which of these cause this bug but seem to work now.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DaniJaponezu:
The problem is the wallpaper i use! I must use one that gives white background to the apps menu! If i want to use a wallpaper that gives darker color to apps menu, i also must use swipe lock screen!

Its annoying because i cant have black wallpaper with none screen lock!!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] opncow:
Thanks for writing down these steps, it worked for me! The "privapp-permissions-microg.xml" contents are shown with whitespaces for some reason. Copying it 1:1 prevented my device from booting first until I realized this. Now here in the post editor, the whitespaces are gone. Very strange. Just in case somebody else wonders what might have gone wrong.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] s0801140:
How is the battery life of you guys?

Mine loss nearly 40% over a night from 1 to 10am, is it normal?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mp107:
I have about 9:30-10h of the screen on time (SoT), I charge it every 3 days (+- 2-3 hours).

EDIT: No gapps.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
That doesn't seem normal. Over night my devices discharges by less than 5% when not in flight mode. Look for suspicious processes via top:

$ adb root

$ adb shell top
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] s0801140:
Did you install gapps?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
At the beginning, I did. Play Service queried my coarse and fine location 4600 times within 90 minutes. Now I don't have Gapps installed anymore.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] YamiYukiSenpai:
Anyone here figured out how to install Netflix? Got it installed with Aurora Store.

I use AntennaPod for my podcasts. Anyone unable to select external storage?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] schmolch:
Have you tried the "ExSDCard Write Access Enabler" Magisk module?

It provides you with a path to your sd-card that has full write-permissions.

However it depends on the app allowing you to choose a custom path, not just "sd-card" in general.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] YamiYukiSenpai:
I don't think that's a proper solution, especially if we need a custom path just to make it work.

Will try it, however, but I do hope that it'll be fixed because I need it for pretty much everything (i.e. Kindle books, HERE Maps, Nextcloud, VLC etc.)

Edit: Just tried it, and it VLC doesn't load my videos, Amazon Kindle still won't transfer to it, and I can't download anything from Nextcloud
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Yurienu:
Hi, thank you very much for your work on this ROM.

Seeing that this ROM is now in stable state, would you reconsider looking at the bug I reported more than a year ago? Judging from post #2 of this thread, issue is still there, unless someone confirms this is no longer the case and post lacks an update.

Thank you for your kind consideration!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
I am currently looking into this because it is causing issues even for some system apps on 10 now. Still banging my head on the table though, but trying a few things.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Yurienu:
Good luck!

If you need anything from a running stock ROM, don't hesitate to ask!

I did a few investigations last year but could not find any change between stock permissions and LineageOS permissions unfortunately :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Lemmiwinks86:
Being able to use the SD Card is actually the most annoying issue with this ROM that I still have. OSMand+ is not able to write to the external storage, although it should be possible in its own data folder. The app is able to create the folders, but is unable to write into them. I have not tried "ExSDCard Write Access Enabler" i.e. as it should not be necessary. Anything I can do as a normal user to help with the situation?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Lemmiwinks86:
Formatting it as internal storage is what I had done before, but it made the Sony camera app crash or say there is a problem with the memory and I like to have my photos saved to a separate storage so I can directly access them from my computer.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] paulquappe:
Hi!

Is there any way to reduce the vibration intensity? Or maybe even change the vibrating patterns?

I'm usually using the phone in vibration only-mode and at incomming calls and messages the vibration is simply too loud for me.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Namnodorel:
Well, the device itself is certainly capable of producing vibrations of different patterns and strengths. But this comes down to a software issue - if the software you use just uses hardcoded patterns, you can't really customize that. Something like an Xposed module might be able to inject apps to change the vibration strengths.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] paulquappe:
Thanks, but at the moment I don't have xposed installed.

I thought there could be a way to set a global maximum vibration level through a config file or something like this.

Maybe I just need to get used to it...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] YamiYukiSenpai:
FYI, you should add the microSD card issue as a known issue. Not to sound mean or anything, but it'd be nice for everyone else to be warned until it's fixed.

In addition, installing apps from Play Store (doesn't seem to happen with F-Droid, though it'd be stuck at downloading phase sometimes) would sometimes cause the phone to go through a soft reboot
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Jokelalala:
Hi guys! I just finished flashing LOS: if I restart straightaway, the phone loads . If I install gaps (any version) it does not, rebooting to recovery instead, after Sony logo and LOS animation show up

Anyone experienced something similar? Thanks in advance
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
I know [MENTION=4063475]derf elot[/MENTION] is busy with LOS 17 already, thanks for that! Still, allow me the question: Will there be further security updates for this release?