yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nussbaum:
You are right, but thanks for pointing me to this, didn't knew it either yet. In the phone app open "Call history" from the menu, then touch "Statistics", then "Adjust time range" from the menu there again. A bit hard to find, but i think there you can adjust when Favorites forgets recent calls...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Huh, a hidden corner of Android that I never visited :o thanks mate! However, I don't think it will change the behavior of the favourite section, but only the call time statistics. I will check. :good:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Lemmiwinks86:
Thanks a lot, it actually worked! Indeed, the reported capacity is wrong.

I just wonder why modpunk says it's unsupported but it works using this trick? [MENTION=4297219]modpunk[/MENTION], do you plan to look into it again for "official" support?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] auz_mo:
Thanks again for such a great ROM!

I'm curious if you have any suggestions for getting the GPS working correctly, or what the problem might be. I've got location services working perfectly, but when I try and switch to "Device Only", I cannot get a lock at all. I've left my phone sitting outside for over an hour with SatStat open and it cannot find anything.

I am not using any google apps at all if that helps. The only things installed on top of stock LOS so far are Maps.Me, SatStat, and Magisk.

Appreciate any help you can provide!

EDIT:

Well, this is strange. I just had the phone sitting outside again, when picking it up I dropped it about 50 cm onto the ground and as soon as it hit the ground it picked up 20 satellites. Clearly a hardware issue that is fixed by being dropped. Nothing wrong with the rom. Cheers guys!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
Look over here:

https://xdaforums.com/showpost.php?p=79737243&postcount=169

Maybe it solves your problem.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] danish0175:
[MENTION=4063475]derf elot[/MENTION] just reminding you :good::svetius:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] beggar23:
Hi there,

has anybody tried to install Google TTS voices? Here installation fails, no matter what voice data/language I choose. Is it just me?

Cheers.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wirdSchoon:
For me the notification light does not work in connection with FairEmail. The dev thinks it is a problem of android. I don't want to exclude this, because other apps can't address the notification light either. The chat app "conversations" can use the LED and i would like to use the LED with my mail program again.

Is there a trick or workaround for this problem?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arnaubvendrell:
Just learn how to use NewFlasher and XperiFirm, and whatever you do with the phone can be fixed??.

Don't worry, install LOS/anything it's not difficult, just take some time to learn how to do it!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] remctrl:
Hi, Thanks for posting this work. I was able to install pie->LineageOS RC1 with no problems using the helpful instructions.

I am experiencing problems connecting the ADB driver on RC1. It was working on pie, and also still works on a different XZ1 with stock Oreo firmware. The Sony driver hasn't changed for pie, so I'm assuming that still should work.

Please let me know if I missed something.

Thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] drissie:
Thanks for the reassurance, I had gathered NewFlasher was the critical bit, so it's good to hear the rest is repairable :) I'm off to read up on it and will then give the whole thing a try.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] j4nn:
[MENTION=10016828]drissie[/MENTION], skip flashing persist.sin - that's not reversible.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I've released RC2.

Have fun!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] scamix:
Is the update procedure the same (from RC1)?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Yes, as always. Flash the new firmwars (modem, bluetooth, etc.) with newflasher and then update LineageOS to RC2.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wyt18:
fantastic, thank you!

does the bokeh mode (in snap) use HDR? how does it compare to gcam mod quality?

the sony bokeh app (used with stock cam) is terrible ... requires taking two photos and only works at close range. have been looking for a rom that takes better bokeh pics for a long time now!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I haven't tested it yet. I have better equipment if I want to have a nice bokeh in the image :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] danish0175:
Can you pls upload a sample pic
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] remctrl:
Hi, I flashed US_Customized version 47.2.A.10.80 (xperifirm / newflasher) then installed the LineageOS zip via TWRP. The installs reported NO errors and the phone booted normally. However there are now some strange problems:

1. WIFI cannot connect to networks.

2. The phone cannot connect to cellular - neither voice nor data.

3. ADB drivers cannot connect.

The phone was upgraded from RC1 - cellular and WIFI were working, but ADB was not (see my earlier post).

Please reply with any advice is possible. Thanks.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] auz_mo:
I think I was wrong about my gps being physically broken. I reverted the phone to latest stock Sony firmware and fired up the gps test from the service menu. The gps got a lock within a few seconds, played around with it a bit and it was solid throughout. Flashed RC1 back and gps is lost. Can't find a lock at all using GPSTest and SatStat from F-Droid. The other thing I've noticed is the G-Droid store appears broken; when I open it I get a message at the bottom of the screen saying "Download Failed". I assumed it was just missing access to the filesystem, but when I open the app settings the "Permissions" menu is disabled, so I can't manually set it.

Also, I'm not seeing the link for RC2; has it been made public yet?

I've gone through every. single. rom. available for this device this evening, A few versions of Lineage, AOSP, Treble, etc.

As well as a number of different stock firmwares, all the way back to what the phone originally shipped with.

gps works without error on ANY of the stock roms, and ANY of the aftermarket roms, gps is not functional.

Surely there must be more out there that have this issue?

Thanks again for everything!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] JDC2389:
I found his RC2 link, it was found checking his uploader name and new uploads on the right. https://androidfilehost.com/?fid=6006931924117912312
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] JDC2389:
So I tried RC2 and I can't get service at all for my carrier, T-mobile USA. I'm going back to stock pie unfortunately.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wirdSchoon:
I have the problem with the LED that doesn't want to blink also with the current LOS 16 (RC2) version.

Does anyone have an idea for a solution?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
The ROM is build on the EU version. Is US_Customized for CDMA or GSM devices?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Please provide a logcat reproducing the issue.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
Is anyone so kind to provide german customized FW files for RC2? I'm currently on vacation and have limited data access so I cannot download the whole firmware.

Many thanks in advance!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] auz_mo:
Sure thing! I will have to flash Lineage back this afternoon and I'll get the info for you!

---------- Post added at 08:11 AM ---------- Previous post was at 08:10 AM ----------

Thanks for that
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Killerkip:
Here you go: https://drive.google.com/file/d/1qVntDxY8OgpTPYca-J8QW1wiC0vIVdGe/view?usp=sharing

newflasher is included.

EDIT: Link updated
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] danish0175:
[MENTION=4297219]modpunk[/MENTION] can you upload ur battery stats on RC2

Thanks

Sorry for the inconvenience
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] kai ming:
miracast Microsoft adaptor

When I try miracast the screen on Microsoft display adapter, it locks the screen and then not connecting the display adapter. I tried edit the build.prop also tried flashed wfd zip file in magisk (link https://xdaforums.com/xperia-xz1-compact/development/oreo-wifidisplay-fix-t3736917/page3).

Have someone solved this?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Thanks for that. I saw that cache_X-FLASH-ALL-C93B.sin is included in your package, whereas in post 2 modpunk suggested to delete the file. I am confused :confused:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Killerkip:
Thanks for spotting that, I missed that one.

I think that only wipes the cache partition though so it should be safe but I updated the link and removed the cache_X-FLASH-ALL-C93B.sin file.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Great, thanks! :)

I just flashed the RC2, it runs smoothly so far but I haven't tested much yet. GPS signal is working fine as it should be (tested with GPSTest and Runtastic Pro), signal picked up immediately after start, even indoor. WiFi works, mobile data is at H+ at the moment (instead of LTE+) but that's probably just "o2 being o2" :D I can also confirm that customized LED working fine, I use different colours for apps like blue for Signal and green for WhatsApp.

Thanks [MENTION=4297219]modpunk[/MENTION] and all other devs! :highfive:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] remctrl:
GSM

My carrier is GSM, so I'm guessing US_Customized is GSM (the other poster observing connectivity issues also specified GSM).

Sony is "generally" regarded as a GSM device in the US - although it does have some CDMA functionality with limited support via "BYOD" carrier plans - I checked with one carrier about this.

RC1 had none of the connectivity problems I listed above - and - the ADB problem was a setup issue (sorry for that noise).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] remctrl:
More info

More info about RC1: Same connectivity problems as RC2 if gTurdWad is present before LOS install... Details:

I had WIFI + cellular connectivity on RC1 - however - I had "expunged" everything google while still on Pie before installing RC1. Getting rid of all things google is my eventual goal, but after going to RC1 I noticed many play store apps stopped working (duh - dev getting (re)started here). I decided I probably flushed too much gTurdWad....

So when RC2 was posted I did a clean reflash of ...80 US_customized Pie then reinstalled a 'wad' of G play store apps - I then left the entire gTurdWad on board before installing RC2. --> Fail! As described in earlier posts.

Ok, So I decided to revert to ...62 US_customized Pie - and again reinstalled a 'wad' of G play store apps - I then again left the entire gTurdWad on board before installing RC1... RC1 began exhibiting the same connectivity issues as RC2. So I suspect the gTurdWad has something to do with the situation.

Other observations:

1. Google play services crashes continuously on both ..62, and ...80 + respective LineageOS RC* versions.

2. I'm not sure what part of the gTurdWad causes the connectivity issues (my bet: GooPlayServices??), but I'll dive in here :) because..

3. My USB/ADB mistake was corrected by turning on USB file transfer in Settings-> connected devices.

Please let me know if you would like more info.. I hope I can help.

Thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] auz_mo:
I've flashed RC2 clean, so far I've seen no issues at all; gps is working; albeit it does take a little longer to get a lock than it does on stock.

Everything else on this ROM is working flawlessly! Fingers crossed we'll get NFC working soon!

On that note; is there a way for me to disable Root Access on this rom? I'm not seeing the option in the "Developer Options". I usually use Magisk for root as I like to keep it hidden for a number of applications.

Cheers!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] beggar23:
Should be there (it is on my phone). You can also use the search function on top of the screen to easily find the root setting.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] auz_mo:
Thanks, yeah very strange indeed. it's definitely not there in my developers settings. When I try the search it just links me to the Trust page where it says "Root Access" and that actually states it's disabled.

BUT when I install something like AdAway, it immediately gets root access (As indicated by a pop up message at the bottom of the screen, AdAway has been granted superuser rights) and is able to modify my host file. Never prompts me and I have no way to block it that I can see.

Interesting that it shows Root as disabled, but every app I install that needs it works, and any app I install that won't run on a rooted phone detects it as rooted.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] beggar23:
Do you have addonsu installed? https://download.lineageos.org/extras
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] auz_mo:
Hmm, I do not. Didn't even realise it was a thing. Thank you; I will start with that.

Cheers.

EDIT:

That did the trick. I installed the su module, rebooted, then the su removal module. the mysterious root access is now gone.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Lemmiwinks86:
Fingerprint to wake

Is it possible to use the fingerprint reader to wake the phone, so without pressing the power button?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] immelman3:
I came back after some time of GSI use to find this rom more amazing than when I left it.

I'd like to thank the developer(s?), the constant job on this and on TWRP is what makes this device usable.

Just, as a microg user I was wondering : why didn't you include the signature spoof patch? Is it because of security reason or, as I understand from the first post, because microg is not released for 9.0? I mean right now microg DO work with android pie. Am I missing something?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wirdSchoon:
[MENTION=4297219]modpunk[/MENTION]

I was able to narrow the problem down.

When FairEmail has received a mail, a sound is played and a notification is displayed. If thereupon another mail is added, then also the notification light flashes (rhythm, color) as set in Android.

I would be happy if you take a look at the problem.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
The last time I looked the project was more or less dead. No development, no new build for newer API levels etc.

I might try it again and then might provide a build with MicroG included.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
RC 2 impressions

First, like always, thanks to the developers [MENTION=4297219]modpunk[/MENTION] and [MENTION=4063475]derf elot[/MENTION] for newest update. I didn't noticed many differences to RC1 so far (and I mean this in a positive way).

I still notice some slightly bugs/odd behavior that were already present in RC1:

1) Some apps didn't wake up properly from sleep or rather doesn't open from RAM. I need to force close these apps completely to get them useable again. The game Kingdom Rush Origins is one example (see log in attachment).

2) Stock camera sometimes crashes and pictures cannot be taken from this moment (also not this LOS camera). I need to restart phone to get it working again. Probably a camera restarter app would also do the trick (see log in attachment, log filtered with camera keyword).

3) Stock and LOS camera cannot save pictures to ext. sd card (already reported).

4) After leaving flight mode it lasts about 20 seconds to get a mobile/data connection. If I remember correctly the phone immediately connected on stock in this case.

Like I said I don't know if these things are rom/app or related to something else. Just want to report.

Thanks for any feedback/investigation in advance!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Sounds like a LineageOS bug which should be reported there. I don't have issues with k-mail9 :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] auz_mo:
[MENTION=4297219]modpunk[/MENTION]

So, those gps issues do still exist. I was incorrect in assuming it was fixed. It can generally find my position, but it doesnt' move. So when I set out on a route the icon just stays at my starting point. This is true for both location services and gps. For the record, I'm in North America (Toronto) and I am using the German Customised stock as a base.

How can I help get this bug solved? Just a logcat?

Thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Yes, we need a logcat when reproducing the issue. I get a GPS fix in less than 10 seconds. Maybe reproduce it with the SatStat app.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] auz_mo:
logcat attached

I cleared my logcat, did a clean restart and opened SatStat right away. I left it sitting outside for about 10 minutes with logcat open and it never got a lock.

I've included my logcat for your review. Please let me know what else I can do to help figure this out!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] auz_mo:
I was reading another forum about gps problems and it was mentioned that turning airplane mode might fix it. Sounded ridiculous to me but I tried it, and it worked.

Airplane mode is like a gps switch, as soon as I turn it on, the gps starts working within 10 seconds, and when I turn it off the signal is lost. I've repeated this process at least 20 times, never fails.

I'll get l logcat for you of this happening.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wirdSchoon:
Can you help me? Where exactly do you report a bug in an unofficial LOS?

Of course - my older apps also use the LED without any problems... last update for K-9 Mail from 11.09.18!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] danish0175:
hello , i need your help, i am trying to upgrade to lineage 16 from aex 8.1. i flashed the frimware files of .80 then wiped cache, data, system flashed lineage 16 zip and gapps 9.0 pico but after flashing it reboots twice and the boot into twrp ,pls help its my main device and i am writing comment with my sisters phone

[MENTION=4063475]derf elot[/MENTION]
[MENTION=4297219]modpunk[/MENTION]
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
Try to boot once after flashing LOS. After that boot again in TWRP and flash GApps.

I had the same problem with my magisk + nanodroid installation. I also need to boot to system after each flash process to avoid bootloops.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nussbaum:
Probably you have to format data, not just wipe it. You will loose all data in internal memory then. Before you can try to restore your aex, to backup those files out of twrp's scope on your sd.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] danish0175:
hey ,i have tried what you guys suggested but no luck , can anyone who upgraded from aex 8.1 to lineage 16 ,tell me his procedure. i really need to boot back into my device

thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
you can try to flash stock and boot that once. should definitely work after that (formatting data)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] danish0175:
I got my way back to aex 5.8
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] _Fetus_:
Sorry about the potentially stupid question, but is everyone doing the DRM key backup as mentioned by Danko Jones in post #146?

Thanks for everything so far.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] vofferz:
You should of course do it before unlocking bootloader. If you don't, you'll lose the keys forever and if you want to go back to official Sony fw, you lose some features.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
It looks like there is no location service running at all. Can you create a logcat from the boot process?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
When you have a network connection, your phone will download AGPS data. This means you can precalculated data about the path of sattelite for the next hour. This means the phone knows where they are and finds them quicker. Without that data, if you're "offline" it has to search for them. This can take 5 min in open areas and up to 15 minutes in the woods or in a city with high buildings or really cloudy skies.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
I haven't, and frankly I have never experienced any problems like others, say green photos or strange behavior. Maybe I was lucky. :fingers-crossed:

Not going back to Stock, and why would one? The only reason I can think of is re-selling.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] auz_mo:
Hmm, I'm not sure that's whats happening. When I disable the network connection, it is literally seconds until is has 20+ satellites located, and has a lock within about 20.

I've attached a logcat of this phenomenon occurring. I followed this process:

-Clear logcat

-Reboot phone

-Ensure location services is enabled and running.

-Open SatStat.

-Wait a few minutes to see if it can find anything( it did not).

-Enable airplane mode.

-Return to SatStat and see that i get a gps connection nearly immediately.

-Let that run for a minute or 2 then disable airplane mode.

It seems that as long as I leave SatStat OPEN it will keep a lock on the satellites it already has, but if I close it and reopen it they're gone.

Please let me know if there is anything I can do to help solve this.

Thanks again!

EDIT:

I've removed the logcat file as it had gps coordinates in it I don't necessarily need to share with everyone. Let me know if you managed to get it while it was available. If not I will send it to you privately.

Cheers.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 7gue8a:
Hello,

I could use some advice...

I've flashed 47.2.A.10.80 (for the sake of installing Lineage 16 RC2) and now my installed TWRP won't ask for a PIN so the sdcard is not decrypted.

When trying to flash the recovery to twrp-3.3.1-0-lilac-pie-2.img the following error is displayed:

FAILED (remote: Command not authenticated)

Anyone have any pointers?

Cheers
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gshegosh81:
I resell unlocked phones with LineageOS without problems. Normal users are glad they get the most recent Android version and power users are glad they don't have to do it themselves.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
So I updated to 16.0 RC2 from 15.1 Beta 8. First installed 47.2.A.80 as per the first posts, then RC2, opengapps Pico, Magisk for root and Magisk module EdXposed to get Xprivacy Lua working. So far so good. A huge thanks to [MENTION=4297219]modpunk[/MENTION] and all the other contributors for making this possible.

Three things I noticed:

1. Battery life seems shorter than on 15.1, I don't know why so far. The phone feels warmer when using it, much like the CPU was clocking higher than before.

2. IMS is not working for me, neither on LTE, nor on WiFi.

3. When charging and switching the phone off, the screen does not turn off any more. It constantly shows a bright white screen with Sony logo. This is pretty annoying as it means I need to keep the phone switched on while charging at night. Note that I kept the Sony bootloader and just booted TWRP using adb/fastboot for flashing the ROM.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] CherAlban:
I updated from 16.0 RC1 to 16.0 RC2 (incl. updates to 47.2.A.80) and my battery life has decreased significantly. On 15.1 Beta8 and also almost as good on 16.0 RC1, the battery would nearly last for two full days, now it hardly lasts one single day. Am I the only one having this problem?