yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Ummmbra:
When I try to record video using the built-in camera app, it crashes as soon as I press the record button. Tried messing around with codec settings to no avail. Before it crashed it used to show a message saying "error camera id 0 open". I upgraded to RC3 thinking it may be fixed in the newer version, but it still crashes, no more messages though. Is anyone else having the same problem?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mrsha:
Thanks this fixed it.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Kalimohan:
Unfortunately there is a problem with RC3 on my XZ1C.

On calls, often after about 30 seconds an automatic tape announcement "The number you dialed does not exist" happens and then the connection is interrupted.

This is of course especially annoying when you have been in a waiting loop for a long time.

On a second call, the problem is less common.

Bummer! Does anyone else have that?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Lemmiwinks86:
I actually had this problem with RC1. It got fixed when I upgraded to RC3. But I think it has rather something to do with the modem firmware. So try reflashing this.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Quick question regarding audio jack volume: Can anyone confirm that maximum volume with LOS is lower than OFW? I had my phone plugged into an audio system and my colleague also has an XZ1C, but his output was much louder. Both used Spotify.

I usually use my Bluetooth headset and it is loud enough for me with half the volume, but I found that it was quite a difference with the audio jack. Any way to increase the volume, firmware-wise?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] beggar23:
Audio jack volume level is okay for me, but inbuilt (as in "no headset or headphones") caller audio is far too low.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Kalimohan:
Thanks for the tip. I have now tried the firmware from different countries. Unfortunately without success. Again and again calls interrupted with the announcement "The number you have dialed is not assigned". Are there differences in the firmware of different countries? The file size is after all very different. :confused:

What if I take an older firmware version (before .107)? Maybe just the modem file from an older version and the rest from the current .107?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
Sometimes I see hat, too. For me it affects bot the stock and the sony camera app. I can record a video for two or three times, then the app will start crashing. Sometimes even gallery and trebuchet would become unstable. A reboot fixes this.

As long as I do not record any video, the camera apps work as expected and the device runs stable for days.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
That, on the other side, works fine for me.

Regarding another topic mentioned earlier regarding call drop, I had that today, too! I was outside and received a call, spoke for about a minute and then the connection was interrupted with an automatic voice saying "bla bla number not available bla bla" something like that. :confused: I was on LTE at that time but with no signal strength.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
Great! Thank you for sharing! This is definitely the first time I used vi on my phone!

By the way, what keyboard do you use?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nussbaum:
"Hacker's Keyboard" from Fdroid.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PerthTotty:
Sorry, if I didn't get it, but was there (or will there be) a solution for the problems with the external sd card? (OSMand, Google Maps, Camera) .

I'ld really like to use this rom, but I need the OSMand data on the external sd card ...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nussbaum:
Since RC3 I formatted my 200 GB Sd card as internal/adopted storage. It shows wrongly as 256 GB in Settings / Storage, but works as expected with lots of OSMand maps, german and english wikipedia (w/o images) and other stuff. OSMand's Data storage folder is "Shared memory" (/storage/emulated/0/OSMand). And it is encrypted like the internal storage, so no more worries if your phone gets lost or stolen. Only downside: you can't put the sd card in a computer to fill or read it.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PerthTotty:
Hmmmm, formatting the sd card as internal storage is really not an option for me ...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nussbaum:
Why?

Well, before RC3 I used "ExSDCard Access Enabler" Magisk module with the same dataset on a removable storage mounted sd.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PerthTotty:
Thanks a lot [MENTION=3683123]nussbaum[/MENTION],

this is working for OSMand! GREAT!!!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
RC4 is out.

Thanks to [MENTION=4063475]derf elot[/MENTION] who did all the work while I was on vacation!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] .:B:.:
Hear hear! Hope you enjoyed your holiday :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Just installed the new version, super snappy and smooth! Thank you so much!

One question: Android security patch level shows November 2018 and vendor security patch level July 2019, is that intended?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
as I recently found out (by someome else) that's magisk playing tricks on you apparently
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Hm maybe because of the props setting to get cts profile working.. Okay, fair enough as long as everything is up to date and working. Thanks mate!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wirdSchoon:
In this case the firmware (47.2.A.10.107) has not changed. Is it possible to install the RC4 this time without Newflasher if I have already done this with the installation of RC3?

Thank you so much for your work!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] sieghartRM:
I do not see why you would have to flash firmware 47.2.A.10.107 again if you already flashed it with RC3, since RC4 is stilled based on 47.2.A.10.107 firmware.

If any issues arise after flashing RC4 just flash firmware 47.2.A.10.107 with Newflasher as instructed in the post on how to upgrade you firmware.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
You don't have to run newflasher as you already have the correct firmware :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
Hi, thank you modpunk!

Question: what will happen if I install RC4 on 47.2.A.10.80 stock?

I've been waiting, reading posts, but have not tried this ROM yet.

Just wondering if I can avoid the download of 47.2.A.10.107 ROM from Xperiafirm and then use of Xperiafirm.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Try it, I guess it should work. But some firmwares had updates to the camera firmware so if you didn't flash the right firmware the camera didn't work. Also the modem gets updates from time to time. So normally it is better to update.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wirdSchoon:
I suspected that I didn't need the Newflasher this time, but I wanted to be sure. :)

I didn't have the sim card in my phone for the last time during the update process (newflasher and then RC3). After the restart no more phone calls were possible. Unfortunately, it took a little longer until I came to the conclusion to have the sim card in the xz1c while update. Only with the sim on the phone i could reach a modem update.

Together with the sim card it was a piece of cake... :D
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] duckysmokton:
Just installed the RC4 over RC3, everything went smoothly, thanks for the update.

With LineageOS 9 when I boot the phone it needs a few moments after PIN and unlock before being ready, there's even a message saying that it's still starting. I suspect that it's because of SD card, since at the same time there's a notification about its checking. Is there a way to disable this ? I only store music and ROM on it, maybe its size (256 GB) and the multiple files are the cause of this delay.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Hi, I had the same message after reboot, but I don't use a SD card. I remember having that message after reboot with other roms, but only after initial boot. I admit I haven't restarted the phone yet, it just works great as it is :D
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
afaik, this is indeed the case. you get this usually after flashing a new build, but upon subsequent reboots it's a lot faster and the message shouldn't pop up.

edit: actually, I was taking about the updating message, not the phone starting. for the latter, I thought that was normal (and wouldn't show if you wait a bit before entering pin code because everything is started then already)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] .:B:.:
Yeah. I ended up disabling the Props extension, seems I don't need it per se. You can also override the ro.build.version.security_patch setting manually yourself, if you like to keep it enabled.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dean F:
Can anyone comment if Google Pay works with this Rom?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Cool, thanks mate! I leave it as it is, I guess, as long as the files are up to date. :good:

Yes, it does. I use it occasionally.

[MENTION=7927349].:B:.[/MENTION] Google Pay is the one reason I have tweaked the fingerprint with props.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GT500s:
Just flashed rom and as always works great. Battery drains a little faster i think than stock one but root access and other features are just amazing. The only problem i noticed on my XZ1C is when i take some pictures with camera and then just delete them they are always back when phone is rebooted. Tried many times but deleted pictures are always back in gallery when i reboot phone. Don't know if i'm only one with this problem but anyway MANY THANKS FOR GREAT ROM.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tinypc:
Good ROM! But I don't know why Volte can't be used. China Telecom
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Wyzco:
I flashed the rom after a clean install of 47.2.A.10.107 using Emma.

I flashed the zip with Twrp. after booting up. I cant connect to WIFI, I get the error

"failed to connect to network".

repeated the whole process a couple of times.

Any one have any idea why this happens?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
did you format data and wipe the rest before flashing the ROM?

---------- Post added at 01:43 PM ---------- Previous post was at 01:35 PM ----------

are you using the OEM.sin from your carrier/region?

a way to get it to work:

- flash stock rom from your region

- let it boot and go through setup until you reach the "phone will be rebooted to optimize for your carrier" message

- reboot into stock ROM

- flash twrp and boot into it

- format data (not just wipe) and reboot to recovery

- wipe system, cache and internal data

- flash Los and anything else you need

- boot to los

should work.

edit: ims will only work if its working for you on stock as well of course
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wyt18:
can anyone comment on camera quality in this rom? both sony and snap/los? how does it compare to sony stock rom?

thanks to the devs for their work!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Well, if you are using this ROM on the device from your banner, that might be the reason..
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
Hi modpunk.

I tried installing stock 47.2.A.10.107 using Newflasher, followed instructions to the letter, deleting the required *sin and *ta files. It would go all OK but when I'd reboot, the software version would still be 47.2.A.10.80. Tried twice. Same result.

So I installed 47.2.A.10.107 (Customized DE, stock was something else) using Flashtool, booted to stock, all good, and when I try to install your Lineage:

* using adb sideload for the zip

* the progress bar goes till end once

* then another progress bar starts -- goes till 33% may be

* and I get two error lines, the white one starts with E2001, and

* the next, red one end with error code 7

I tried twice.

Bootloader was already unlocked for this device when I bought.

Any suggestion, advice?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
TWRP writes a /tmp/recovery.log with details. It should tell you what went wrong ...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
Alright, let me try one more time. I had already installed stock... so logs lost.

---------- Post added at 10:52 AM ---------- Previous post was at 10:43 AM ----------

Enabled zip signature verification this time. It failed. I guess I download lineage again.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
It worked! Thank you modpunk.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
Is there any hope to apply these carrier optimizations without a clean flash of stock?

There seem to be some things that are not available in LOS, like these carrier optimizations, or receiving configuration SMS for APN settings. Not sure if this is a general limitation of LOS or of this ROM, though.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Wyzco:
I found the issue, it has to do with which Region .107 rom I Flashed.. Generic LAM worked fine.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
Regarding the battery drain:

Disabling the Google services increased the battery life of my device a great deal. Namely,

Google Backup Transport

Google Calendar Sync

Google Contacts Sync

Google One Time Init

Google Partner Setup

Google Play Services

Google Play Store

Google Services Framework

After installing OpenGAPPS pico, the device would loose 10-20% of battery charge while just laying idle for the night. After disabling the Google services, I can easily use my device for four days before recharging. I enabled the services again for testing and Privacy Guard log read 3900 location queries by Google Play Store within one hour. The device felt quite warm and lose another 10% during that time. I find Aurora Store a good alternative to Play Store, anyway.

Then, why install Google services after all? I really like the app Splid which usually crashes, if the is no GAPPS installed (doesn't even matter if the services are running).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nussbaum:
You could try MoneyBuster from Fdroid: https://f-droid.org/app/net.eneiluj.moneybuster
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] drissie:
Firstly, thanks again to modpunk and derf elot, RC4 is great!

Secondly,

I was wondering the same. I'll be moving country soon, so will need the local version of stock for when I get a local SIM. Is it possible to flash only the bit of stock that's responsible for the "carrier optimisations" or would I need a full flash of stock and then LOS on top again? Also, does stock always need to be "customised" for LOS installation?

Thanks!

EDIT: I just had a look through the thread - would I just need to follow derf elot's instructions in post #148 in the above situation?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
I already tried that but to no avail.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
we should have everything on board to get this to work from scratch. however, there is one thing I haven't gotten around to looking at. I explained it a few pages back but can't find it right now (I'm on my phone). in essence, the name of the modem customization is also written to a miscta unit. unless we set it back to default, the CustomizationSelector won't decide that a new modification should be applied. this happens when you flash a new modem from a newer fw, for example, which sets it back to the default state but according to the miscta unit, the CS thinks that a modification was already applied. my plan is to read out the unit, check its size and write a little .ta file that can be flashed to reset it to the default. this, together with the above steps should solve it once and for all (I hope).

edit: Sorry, missed the question about always using "customized" version. No, definitely not necessary. As a matter of fact, there are some cusomized fw's where support for some carriers is not included, in which case an operator-specific one should be used (an example would be O2 in the UK). I you want, you can let me know which country you are moving to and I can look up which operators support ims for the xz1c (if any) and which oem.sin you should flash. You can also send me a pm if you refer.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] drissie:
Hahaha, well, this is hilarious - I'm now in the UK and on o2 and I used customized UK :laugh: It's actually worked fine, I only had an issue after my last flight when the phone took over an hour to find the network after coming out of airplane mode.

I'll be going to the Netherlands and from what I can see in Xperia, there is only a t-mobile version (no clue yet which operator I'd go with) and then a customized benelux. Great to hear you might have a solution for the carrier optimisations soon, otherwise I was hoping for an RC5 around then, so that I can use it as an opportunity to switch firmware as well ;)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
yeah, I'm pretty sure kpn will also also work via the benelux but I'll check.

since you've used the UK customized so far, there's a chance that ims will work once you flash the o2 oem and follow the steps from above.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
Hi [MENTION=4297219]modpunk[/MENTION]

I don't have GAPPS installed, Any advice on how to get GPS working on my phone?

Attaching screenshots and logs for your kind reference. I've tried restarting.

In the UnifiedNlp settings screen, none of the options are clickable now.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
[MENTION=8796989]arslanon.e[/MENTION] please

1) open an app that wants to access your location (i.e. OsmAnd or SatStat)

2) have a look at Settings / Security / Trust / Privacy Guard / Advanced

In the location tab, you should see "OsmAnd 0 min. ago" or "SatStat 1 min. ago). What last time of use does it show for UnifiedNlp and Mozilla UnifiedNlp Backend?

My network location does not work very often, but when it does, both UnifiedNlp and Mozilla's Backend are on top of the list (0 min. ago). Currently, I am inside a building, having no GPS signal, but network location should work. But for me, both services show a last time of use as "4 days ago". That makes me think of a permission issue, here. (sometimes I dis- and enabled Privacy Guard and I would just get a GPS fix).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
Hi [MENTION=10051313]anarki@butterblume[/MENTION] thank you! Please have a look at the screenshots.

Location is "Allowed" for the backends I installed. The UnifiedNlp being a system app is allowed location access by default I think... Privacy Guard should not be an issue.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] fandi ary:
Thank you very much sir I use this ROM very soft there are no obstacles at all I use Sony XZ1 Softbank for now, there are no problems can i request embed - tap twice to wake up
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] drissie:
Oh, yes, it would be good if kpn works with benelux as I think most carriers in the Netherlands actually use kpn's network.

I can try o2 oem and the instructions from above, but how will I know if ims works (remember, complete noob here)? As I said, I've had no issues whatsoever with customised UK so far, so don't know what isn't working at the moment...

---------- Post added at 05:01 PM ---------- Previous post was at 04:51 PM ----------

By the way, I have the same issue, so when I'm in a building or connected to a WiFi or whatever the reason is, my GPS never seems to work, OsmAnd says "position not yet known", I hardly ever get a fix on SatStat despite it finding 30+ satellites and as you say, UnifiedNlp and Mozilla UnifiedNlp Backend seem to have requested my location 4 days ago. But when I've actually needed it, e.g. sharing a live location on Whatsapp when out and about, it worked perfectly and SatStat had a fix with like 15 satellites and even OsmAnd finally knew where I was. I haven't tested anything in detail, but because it worked when I needed it to, I've not paid too much attention to it.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] skisbit:
Problems with audio during calls

Hey!

New to this forum, since I usually never post. Everything is working wonderful with this rom, but I have one problem. I can't hear anything during phone calls, not through earphone, speaker, audio jack or via bluetooth. The recipient cannot hear me either. Everything looks like it's working, but the audio just isn't going through. Same thing both ways. No sound during calls in discord, snapchat or steam either, but my sound records fine in camera apps and sound recorders.

Has anyone experienced this?

I have tried to mess around in build.prop and change the squelch(?) sensitivity but it didn't work.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
Calls work fine for me.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Did you by any chance previously flash a Sony open devices (SODP) based rom which requires you to flash their SW binaries to oem? In that case, you first need to flash a complete stock rom again before flashing this one. At least back on O/15.1 this would cause the audio issues you describe.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Tonux:
Hopefully a small question. Any chance of getting the office album app on this ROM? Mainly because I like to take a photo then be able to immediately tap on it in the bottom right to view it. I know I can quickly change to a gallery app with the bottom right button but I often have to close the app and re open it anyway for it to refresh new photos. Thanks for the work your doing!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] duckysmokton:
The included camera app (not the official one but the Lineage version, I think) works like this, the last picture taken appears as a preview in the bottom left and you can click on it.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Tonux:
Cool thanks duckysmokton I noticed this applies to both cameras when "Auto photo preview" is 'on' in the settings and it is really helpful. However I would still like to know if I can get the official album app anyway. I'm pretty sure the last photo in the camera roll persistently appears at the bottom right. Thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
This is the case with me in RC4, and even without the headset. Very well put.

And this happens for in call volume only. Not for music or web radio.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
Did you go ahead and uninstall

UnifiedNlp (no gapps)

?

I too get the same error about already a permission defined by existing package.

I still have no GPS working.