yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Nice to hear that even Google Pay appears to work. Like I said before, my test cases for NFC are very limited. I'll have a closer look at the log these coming days, at first glance I didn't notice anything unusual.

No idea how this app does what it is meant to do, but I can read in the reviews that a lot of people claim it's not working anymore (on P anyway). If you just want to set custom colors for seperate apps, you can do that directly from the settings ("Apps & Notifications" -> "Notifications" -> "Notification Light", select "Use Custom values" and add apps using the "+" on the top right).

Thanks for the kind words, always nice to hear :) I don't know if there are any specific etiquettes for this. But as you may notice, I haven't set up a donation button/e-mail. If there is anything you would like to donate on my behalf, please choose a good cause of your choice (there are more than enough these days unfortunately).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] flameseewa:
I use that app because of extensive customization regarding LED notification. Also, it works properly on another phone I have running LOS16 so I think issue is related to this device.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cabroncitos:
I consider donating 10 EUR to each of you modpunk and derf elot, too. I would prefer bank transfer to do so. Will you accept?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 西瓜:
I found some problem about SD card. SD card write access is broken. Spotify can't detect the SD card. And DocumentUI of SD card sometimes crash. In Storage menu lack of the option called transfer files to SD card. Other than that, everything is very good. Smooth. Nice animation.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] lordnils:
I'm not sure if this is the way to go but I'm using the following Magisk Module for about a year now and Spotify works as well: https://xdaforums.com/apps/magisk/module-exsdcard-write-access-enabler-t3670428
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Since the update to RC3, I noticed some issues with GPS.

For instance, after using GPS for a couple of hours (outdoor tracking) I switch GPS back off, but the notification icon in the menu bar does not disappear. The only way to get rid of it is a reboot.

Also, I am having a strange issue with GPS and Google camera. I flashed Google camera from OpengApps. Sometimes, the app hangs and breaks GPS for all other apps. The only way to fix this is again a reboot. This may not be a ROM issue as it is caused by Google Camera and does not happen with any other app.

Anyone else experiencing the same behaviour?

Apart from that I am very happy with RC3.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] duckysmokton:
Updated my phone to RC3, the process went smoothly, alas now I can't connect to 4G (LTE), I have to force 3G as the preferred network, otherwise it doesn't even recognize my operator (Bouygues in France). Not sure if it's ROM related or because of the latest firmware version.

EDIT : in fact it only happens at home, when I'm in another location it works correctly. Something may have changed in the firmware, which have degraded the reception of LTE under certain circumstances..
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] flameseewa:
Adding to my previous comment about LightFlow problems, it seems the native LED notification setting has issues too. I changed notifications so that the light is Always On. But, most notifications still blink instead.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 西瓜:
Thank you. It did help. But I think it could do better. In Spotify there are two SD card options although it doesn't make any influence on the proper working of the app. Screenshot is below ?.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] lordnils:
Edit: ah I didn't read properly. It worked apparently. Disregard the rest of the answer then.. :D

I've seen this also and I'm not sure why it went away. I think I removed the module, rebooted and added it again but I'm not sure why this should change anything.

Also note that Spotify takes some time seemingly idling after you select the other storage option but sometimes half an hour later restarts the app and then everything is moved already.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mcgi5sr2:
[MENTION=4063475]derf elot[/MENTION] can confirm audio routing did my head right in, so fell back on the less intense day job of nuclear manufacturing :| sorry guys will try and pick this up again soon
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] alpha_developer:
Hi there, I have a question here,

In this thread, the post #2, there are steps for upgrading the firmware. By doing these steps, will my user data and all won't be erased? Is it like flashing OTA in hardcore way ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
No, these steps only flash a new modem firmware. They will not erase your data.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mrsha:
is there someone with working google assistant or the problem is just with my phone/config
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] drissie:
Keyboard disappears after full screen mode

I had an issue today where I put a youtube video on full screen in the browser and afterwards when I wanted to search for another one the keyboard wouldn't show up. I checked and the exact same thing happens on vimeo and other sites after viewing something in full screen. The keyboard then works in other apps, and to bring it back in the text field of the browser I had to either restart the browser or (as I later found out) go to the address bar where the keyboard does work and then return to the text field.

I am using the AOSP keyboard and DuckDuckGo browser and am running pure LOS without gapps, microg, magisk, etc. I wanted to check if the same thing happened in the LOS stock browser but couldn't find it, I might have uninstalled it in the beginning when I was faffing about with the phone.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] pattriccio:
You can turn on assistance in settings just search "assistant" on settings. But ok google is not working. Google app settings voice is greyed out you cant switch it on.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mrsha:
Yup exactly voice match is my problem, it always show as language not supported, if switch between English US and English UK it shows up as not grayed out for 1-2 sec, and then again the same you language is not supported, i tried everything on the net but nothing is working so i asked here is someone got it working somehow.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] hlx:
Definitely not, I run into the same problem. Coming from the last modpunk's Oreo release (2018/10), followed yesterday the upgrade instructions as of:

Flashed recovery to TWRP twrp-3.3.1-0-lilac-pie-4.img,

booted to TWRP,

flashed lineage-16.0-20190812-UNOFFICIAL-RC3-lilac.zip, open_gapps-arm64-9.0-nano-20190819.zip, addonsu-16.0-arm64-signed.zip

and finally flashed "FW_G8441_Customized DE_1310-4373_47.2.A.10.107_R3C" provided by Danko.

Everything went flawless except the mentioned GPS fix.

I got up to 30 satellites from GPS and Glonass within a few seconds, but without a fix. The other noteable thing in opposite to Oreo's behaviour was the disappeared Beidou system.

After my first nandroid backup I re-flashed the firmware .107 again and it works. Now I got a GPS fix within a few seconds.

So far, the problem is gone at least for me.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] flameseewa:
I put a new SD card in my XZ1C as an extension of internal memory, after which the stock Sony camera app stopped working with the "Memory error - Memory unavailable" error. I read that Sony's camera has problems with cards formatted as extended, but I didn't want to make my card fully portable storage either.

So using ADB I partitioned the SD card in half, formatted 8GB as extended internal storage and 8GB as portable storage. I can confirm this is effective from looking at Settings > Storage. However the Sony camera still gives that error. How can this be fixed?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] pattriccio:
If you find a way to make it work can you share it? My OCD is killing me since i flash lineageos16 because of that greyed switch :laugh:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] IngolfN:
I was running LOS 15.1 on my XZ1Compact. Now I wanted to upgrade to LOS16 and therefore I created a backup of all

- Boot

- System

- System Image

- Vendor

- Vendor Image

- OEM

But something must go wrong, because my Phone didn't booted into system - only TWRP. And as far as I remember, I didn't do anything else than create a backup (but restoring this didn't help):crying:

So I flashed the newest TWRP. After that I flashed the newest Firmware 47.2.A.10.107 with newflasher as described in the Thread (removed all the unnecessary files before...).

Then I have flashed the newest LOS16 image, but the Phone is still not starting into system. It restarts and TWRP is coming up.

What can I do? It would be fine to get my Data back, because there are some important files on it.:rolleyes:

Edit: I have also used this Firmware in this thread https://xdaforums.com/xperia-xz1-co...icial-todo-t3925675/post80064135#post80064135 and flashed without problems. But after installing LOS16 RC3 the system presents the already known Screen "Your system can't be checked for corruption. Please lock the bootloader!" - then the white Sony-Screen, then reboot and "Your system can't be checked for corruption. Please lock the bootloader!" - white Sony-Screen and then it starts into TWRP.

Does anyone know what to do? Thanx.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mrsha:
Issues so far with RC3

- battery decrease - with rc3 battery is drained nearly 2 times faster - even after clean install.

- GPS signal lost - after one hour of usage GPS signal is lost and i need to restart the phone.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] duckysmokton:
Notifications are driving me crazy, even with RC3 release. The only app that seems to work correctly is WhatsApp, when there's a message the LED is blinking, there is an entry in notification zone, and the icon shows a little dot. E-mail seems to work sometimes, but not all the time. Facebook Lite and Messenger Lite never bring up the LED (but there's sometime a dot on their icon). Worst of all is the Messaging application, when on buzzer it just vibrates once but never uses the LED or show anything in notification zone (nor shows up a dot on the icon, same problem with QKSMS). I've tried to deactivate battery optimization for it, as well as messaging service and something called smspush, but it doesn't change anything. Lately I've activated the parameter's widget to access notification log, and there I see that the notifications are indeed showing up, but I don't understand why they can't access LED (I've also configured custom colors in parameters, but it doesn't change anything). I suspect that some service has a problem, but I can't find which one :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
very odd. I haven't had any issues at all, except for two instances. one was the messaging app and that I could fix manually (and is also fixed by los upstream now). the other app was the wire messaging client. my suspicion is that they haven't implemented the notification channels properly yet. but I since then switched to telegram and don't have issues there. everything else is working fine, including my irc app and other random notifications I get. I have however disabled the heads up notifications, but that shouldn't be the issue here if they don't even pop up in notification area. have you tried a clean install? are you using gapps? are there any other modifications you flashed?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] CherAlban:
I have the same misbehavior for the messaging app, it always vibrates for new messages, but never blinks. In Settings/Apps & notifications/, notifications are greyed out for messaging.

On the other hand, AquaMail seems to ignore if I disable vibrations in notifications, it always vibrates for new email.

CherAlban
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
I have the same for k9 as well, but that's because I set the phone to vibration mode. in that case any notification will make the phone vibrate. however, i just disallow "haptic feedback" for that app in privacy guard and problem solved.

for messaging app, yes the settings are greyed out. but "Messages" itself shouldn't be. when you tap that (the actual text) a new menu should open up.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] CherAlban:
Both tips work perfectly, thanks!

CherAlban
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] systemdev:
RC3 Network Connection issue (US GSM)

.107 US Customized appeared a few days ago, so I upgraded from RC2, which was working fine. Wifi works fine, but the cellular (GSM) connection is not stable. At first it wouldn't connect at all until I did a 'Network' reset. It would then only connect intermittently. To make sure the sim/service is ok I put the sim into a different stock unit, and received an interesting text from what I believe is the cellular service provider (the cellular connection on this other unit was ok).

The message is:

"Configuration Notification: Open configuration message to save new Service Settings."

I was able to repeat receiving the message by performing the network reset with the SIM in XZ1C then waiting for (no) service, then walking the sim to the other unit.

So.. I believe the problem with US network connectivity is probably caused by not being able to receive/apply "carrier" updates ??

I'm guessing reflashing full stock 107 and booting to let carrier updates apply before reinstalling RC3 LOS will work around the problem. But is there a way to debug this to assist in developing a proper fix?

Hope this info helps.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] duckysmokton:
Yes, this is a clean install, I've done a format before installing the ROM. I've also installed GApps, via the MindTheGapps package (read somewhere that it was less buggy than OpenGapps, not sure of this). The only other modification was the installation of Magisk.

EDIT : I've just tried to install OpenGapps nano package, still the same problem. I've activated an option in developer menu to show warnings related to notifications, it displayed a couple of "failed to post notification" with a channel when opening Facebook Lite, don't know what's going on here (said notifications don't appear in the log).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] flameseewa:
Does anyone know how to fix the "Memory error - Memory unavailable" error on the stock Sony camera app? I have an SD card partitioned with both extended internal storage and portable storage.

EDIT: fixed by telling app to save pics to SD card instead of internal.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] duckysmokton:
I've finally found the culprit for my notification problem, and I feel quite stupid : CM Security has a notification cleaner which somehow has been enabled when I installed it (but not for WhatsApp, don't know why), so it was silently killing nearly every one of them :-/ Now that I've deactivated it everything seems to work correctly.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Good thing that you finally figured it out mate :highfive:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wyt18:
What is the best camera app to use with this rom? Is it possible to get proper bokeh/portrait mode? (Not the sony stock app which is awful as it requires two shots)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] CherAlban:
Did you check your APNs? I had the same problem with rc3 using wrong APN settings.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nussbaum:
I just made a clean install of RC3, starting from full stock .107 Customized_DE, and everything is working at last:

Volte, VoWifi (O2 Germany), NFC, Panorama (OpenCamera), encrypted microSD, and for the very first time i saw a Galileo satellite in GpsTest! :victory:

Many thanks to all contributors, derfalot, modpunk, lineage team and even Sony:laugh:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
[MENTION=3836672]auz_mo[/MENTION] [MENTION=3683123]nussbaum[/MENTION]

Since I assume, both of you do not use microG nor gapps:

In Settings/Location/UnifiedNlp Settings/Self-Check, what does System supports location provider read?

For me, the check failes with Your System does not support this UnifiedNlp package. Usually I get a GPS location quite fast, but seemingly not by the UnifiedNlp provider.

[MENTION=246182]Derf[/MENTION] erlot

When trying to install UnifiedNlp (no gapps) in F-Droid, it says that there already is a permission defined by some existing package. On the other hand, UnifiedNlp (gapps) lacks the install button. Does that mean the latter is already installed as a system app? Since I do not use any gapps package, should I remove it?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wirdSchoon:
You are on the right track...

You don't need microG or gapps for the gps.

Under settings / security and location, then tap on location and on expanded (search, location services).

Then select UnifiedNLP Settings and configure network based Geolocation and address lookup.

Restart and finished... :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Did you backup/restore your data or did you need to start from scratch once you are back to LOS? I am hesitant to do a clean install because I don't want to reconfigure everything.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nussbaum:
I did a factory reset after flashing LOS, restored only user apps and their data from oandbackup i made before. Was a time consuming process, but worth it for me. I hope, next firmware update goes without losing volte again though...

---------- Post added at 10:50 AM ---------- Previous post was at 10:29 AM ----------

RC3 has everything onboard to use UnifiedNlp. Check that Mozilla UnifiedNlp Backend has Location permission, see 'Settings / Security & location / Location / App-level permissions'. Then you can activate it as a backend in UnifiedNlp Settings. The Self-Check still shows 'System supports location provider' unchecked, but SatStat app from Fdroid shows a correct network location circle on its map, next to the smaller gps circle.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] xmanfit0:
After installing either US or UK customized 47.2.A.10.107, I install this rom. Mobile radio doesn't work though, always shows no service even when I manually edit / enable APN options. Anything I'm missing here?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nussbaum:
Lower backlight brightness

The lowest screen brightness is still way too bright for me when reading at night. After long searching I found a possibility to lower it and safe some battery too. You need to be rooted to use it.

Backlight intensity is managed by two variables:

'brightness' ranging from 0-4095, which is what you change with the settings' brightness slider. But that won't let you lower it than to 34. You can set it to 1 by executing

su -c "echo 1 > /sys/class/leds/lcd-backlight/brightness"

in a terminal (I recommend 'Terminal Emulator' from Fdroid), but it will reset to 34 whenever switching screen off/on.

The second variable is 'fs_curr_ua', which is the current that drives the backlight LED, changing that is persistant until reboot. Stock value is 17500, lowest safe value is 2500 for me. Setting it below 2500 lets the brightness slider behave weird and can switch off the backlight at all. In case you lock yourself out, remember you can always reboot by pressing power, volume(+) and volume(-) together for a few seconds.

A convenient way to switch fs_curr_ua is to create a widget/shortcut in your laucher, select "Term shortcut", give it a nice Shortcut label e.g. "Dark", and copy the following code into the 'Arguments' field:

su -c "echo 2500 > /sys/devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi:qcom,pmi8998@3:qcom,leds@d800/leds/wled/fs_curr_ua && exit" && exit

Create a second shortcut "Bright" for outdoor use at sunny days with

su -c "echo 17500 > /sys/devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi:qcom,pmi8998@3:qcom,leds@d800/leds/wled/fs_curr_ua && exit" && exit

To do:

- Does this work on stock/AOSP roms too?

- Create a Magisk module

- Add a switch to LOS settings?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] sylphio:
Hi !

I see that no wipe is needed to upgrade from LineageOS 15.1. However, I am currently using the build lineage-15.1-20190407-UNOFFICIAL-lilac provided there by [MENTION=4063475]derf elot[/MENTION]. Does that still apply, or is a clean install necessary?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
in that case you probably need a clean flash, since this build is signed with different keys.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Im_Just_A_Pasta:
Loses connection, won't come back automatically

I've had this rom installed for about a month now, RC2 and then upgraded to RC3 when it came out. Love the rom, love the phone, but the whole time I've had it it's had an issue that makes the phone nearly unusable. Any time the phone loses its cell and/or data connection, it absolutely will not reconnect until I manually go and switch the phone to gsm only, wait to get an edge connection, and then switch back to lte. It'll happen several times in one day, and sometimes it takes minutes to get connection back. It happens on RC2 and 3.

Edit: I reflashed the oreo firmware and original rom and it worked, so then I flashed the pie firmware sans the modem, then reflashed lineage and it works now
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] flameseewa:
Thanks for that, I do agree that the lowest brightness setting is still too bright for me at night.

Also the Night Light in this rom doesn't go as red as it probably can (compared to my previous phone at least).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Kalimohan:
Mobile Data No Service

Unfortunately, I have the same problem on my XZ1C since RC3. :confused:

* I am no longer reachable and have no connection by telephone.

* Mobile data can not be turned on.

* It is very slow when you go into the settings.

* The WiFi turns off and on every few minutes and only works until you are in flight mode. After that, only a reboot will help to start WiFi again

* NFC is working.

Should I flash something again? Obviously, others do not have these issues with RC3.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Kalimohan:
Now, I flashed the firmware again to no avail. But, when I am change the Preferred network type from LTE to 3G Mobile Data comes back and telephone is working again.

After that I found the culprit setting! It is "Carrier video calling". "Carrier video calling" is on per default, but needs to be switched off for a proper mobile network connection. Also WiFi is stable and I can access the settings normally.

Great, thank you for RC3!

For this I use an additional app - Red Moon.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
Just a huge thanks!

Just want to say thanks again to [MENTION=4063475]derf elot[/MENTION] and [MENTION=4297219]modpunk[/MENTION] for this great rom. I didn't run a that bugfree and smooth LOS version like the current RC3 release on any other phone. I hope you'll continue your work and can use the current base for a possible release of LOS 17 in future. :)

[MENTION=4063475]derf elot[/MENTION]: Modpunk has a donation e-mail. Is there a way to send you a donation too? I'm sure you also deserve it. Not just because of your active development, also because of your activity and support in this thread.