yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gladykov:
@wall33 Ah, interesting. I learnt lately that some GPS chips communicate directly with AGPS provider using mobile phone cellular antenna directly, bypassing Android system completly. So your finding could be indirect proof of such behaviour.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] android666:
Alternative explanation:

https://xdaforums.com/t/rom-unoffic...1-for-xperia-z1-compact.4199113/post-87505197
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
Hello!

There's a way to relock the bootloader??

I tried to downgrade to stock firmware (9.0) and entered this command:

fastboot oem lock

FAILED (remote: unknown command)

finished. total time: 0.016s
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PhobiaSoft:
Yes, I'm having the same experience. Phone is always hot in my pocket, battery draining much faster than normal, and even randomly rebooting in the middle of me using it. 1.6 definitely has problems, I'm thinking of going back to 1.3, which I had no issues with... 🫤
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gladykov:
I noticed some overheating after installing, but restart and charging overnight solved issue. Someone was complaining about overheating related to APN settings. At the same time I turn off whatever I can, so maybe this is why I didn't encounter it
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PhobiaSoft:
Found the cause of the battery drain. Both Wi-fi and Mobile Data are continuously losing connection and reconnecting every 10-20 seconds. You can pull down the notification shade and watch it happen in realtime. Tried to dirty-flash 1.3 to see if the problems were resolved, but the device wouldn't boot afterward, so I was forced to flash 1.6 again. Issues returned immediately, high battery drain and constant network disconnections/reconnections. I suppose I could factory reset to re-flash 1.3, and I may have to soon if I can't find a solution, but I would very much prefer to avoid that 😔

UPDATE: Mobile Data isn't working at all, and when the phone tries and fails to connect to my carrier (T-Mobile) it fails, briefly says "No Service" and then tries again, which also is interrupting the Wi-fi. The only way to save the battery and have a stable connection for me is either to remove the SIM card altogether or to keep Mobile Data permanently disabled in the settings. Obviously, calls and texts are also failing. Once again, these problems are all exclusive to 1.6 for me, connectivity was fine on 1.3
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PhobiaSoft:
We are both having the same issue it sounds like. Which version of LineageOS 19.1 did you flash and have these issues on? Was it 1.6 perhaps? Have you tried an earlier build, or did you find any potential solutions?

I can't imagine why a bug would be carrier specific, but regardless, for anyone else that might be in the thread, if you are on T-Mobile, do not upgrade to 19.1 v1.6...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] thekr1s:
I have installled a lot of romm on my xz1 compact, but none functions acceptable. I'm tending to give up, what I do not often. I tried Lineageos 18 and 19. 19 gets quite far but:

- sensors ar not working: no proximity, light, accellero, etc.....

- T-Mobile data is not working. Yes, I tried LineageOs 19.1, version 1.5 and 1.6, but both no mobile data

Can anyone please help me! I love my good old XZ1, but it needs to get up to date.....

Thanks in advance,

TheKr1S
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Both of those things are working fine on my XZ1C, so I don't think it's a problem with the ROM.

The sensor problem sounds like there may be an issue with your hardware, but maybe a factory reset might cure the problem.

As for the mobile data problem, a few suggestions:

- Reset the networking: Settings | System | Advanced |reset options | Reset Wi-Fi, mobile & Bluetooth

- Try changing things in Settings | Xperia Parts, may switching carrier specific modem or other modem settings

- Check that your APN settings are correct for your operator - Settings | Network | Mobile data | Advanced | Access Points Names
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PhobiaSoft:
Good suggestions @petefoth I tried resetting "Wifi, mobile & Bluetooth" in Reset Options, resetting T-Mobile modem settings, and resetting T-Mobile APN settings, but all did nothing. The fact is, the phone is in a loop of connecting/disconnecting from mobile data over and over. I don't think its a configuration problem, I think its a driver problem related to the mobile radio that is present only in LOS 19.1 v1.5 and v1.6, which is why mobile data works fine for me in v1.4 and earlier. I would love for the solution to this to be an easy settings change, but unfortunately I think this is going to require the issue to be identified and patched within the ROM itself.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] exh333:
check your APN settings for your mobile operator!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PhobiaSoft:
Did that, they are correct
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gladykov:
Are you using NetworkSwitcher service? This service helped me whe I couldn't connect
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] thekr1s:
- The sensors are working in the stock android image so it is not an hardware issue

- APN settings are okee. I'm on T-Mobile NL

- Reset networking does not change a thing

- I tried se;ecting a differnet modem in XPeria parts, but there is no tmobile-netherlands modem selectable.

I also tried version 1.4 but still no mobile data, sadly....
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PhobiaSoft:
Yes, the Network Switcher service hasn't helped. I also tried toggling IMS Features off and on again in Xperia Parts hoping that it might reset something, but still no connection. I don't think there are any remaining software settings to try :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
I can't find my service provider in the NetworkSwitcher list... It's "Partner" in Israel.

Does anyone know how to add it? It's possible?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jekennedy:
I also have the same problem with the network disconnect/reconnect loop. I'm in Europe, so it's not specific to T-Mobile. I tried all of the above suggestions. Can I simply dirty flash an older version to go back to something that works?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jekennedy:
It seems I can't even get into the TWRP recovery mode any more. I tried rebooting into recovery but it keeps taking me to this new screen I haven't seen before. I tried reflashing twrp but same result. How can I get to TWRP to flash an older version?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Press power + vol up and as soon as the sony logo appears press power + vol down for a few secs. If it doesn't boot then flash twrp again in fastboot, then boot in recovery.

Also, I don't have issues with the mobile data. Sometimes after a reboot i have to switch manually to 2g in sim settings until the data connection appears (small H symbol next to the signal bar) and then swith to LTE. Then its all fine. I'm in Europe btw.

Most times though i don't have to do it and it reconnects to LTE even after full signal drops (I work on a ship so we lose signal often during sailing times).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jekennedy:
I tried all of that but I keep getting booted into the Lineage recovery (v19.1 20220918). It seems I can no longer get into TWRP.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
If you have lineage recovery then you probably checked the option to switch to it during phone setup. I didn't know this option is working btw.

So you tried flashing TWRP again, right? If you have Lineage recovery you can't boot in TWRP because you don't have TWRP but Lineage recovery instead.

Fixing that should be as easy as flashing TWRP again.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jekennedy:
I tried flashing TWRP multiple times and still the same thing. I don't remember selecting that option since I did a dirty flash and didn't have to go through phone set up.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jekennedy:
I was able to get back into TWRP, thanks to this video that pointed me to the option you are referring to:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jekennedy:
Looks like I've royally screwed this up. I wasn't aware that after flashing 1.6 my screen lock protection got disabled. So now when I go into TWRP, I think it's unable to read the system partition. I tried to mount it, but when I browse files, I can't seem to access the root partition. I tried flashing anyway (because I'm dumb), but saw an error during install. Now it boot loops to TWRP upon every restart. Is there any way out of this nightmare?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I think there is. In TWRP, before installing the ROM, **format** (not just wipe) the data partition. Then install the ROM. You should then be able to boot properly.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jekennedy:
Thank you petefoth for getting me back up and running. Just to follow up on the original problem: For me, I experienced the network disconnect/reconnect loop issue on 1.4, 1.5, and 1.6. 1.3 works fine though, so I'm sticking with that. Now I begin the arduous work of resetting all of my 2FA logins to all of my online accounts :/
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] TheArt.:
Why aren't you making backups of them? Use Aegis (fdroid) or Authenticator Pro (Izzy repo on froid) to create an encrypted backup so you just import the file and you have your 2FA codes back!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] fruomy:
Very late, but yea I tried like all versions of LineageOS 19.1 and none of them ever ended up working. The only thing that worked was just using LineageOS 18. I don't know why T-Mobile just doesn't work past 18. I didn't even know LineageOS 20 for the XZ1c came out either but I assume that T-Mobile still doesn't work.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PhobiaSoft:
I tried flashing LOS 20, and yeah, same issue. I ended up Formatting everything today and re-flashing LOS 19.1 v1.3 specifically (the only version T-Mobile has worked on for me in the past) and it connected instantly. Its a problem that started with LOS 19.1 v1.4 and has been carried up uncorrected all throughout LOS 20 for this device.

I would be interested in hearing if LOS 19.1 v1.3 would work for you as it did for me, but I also understand if you're tired of experimenting with broken ROMs at this point lol
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
Any method to add more options in Modem Switcher Activity?

For example, I need support for "Partner" carrier in Israel with VoLTE/VoWIFI support.

Something like: amss_fsg_liliac_Partner_Israel_volte_vowifi_tar.mbn
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] thekr1s:
Yess, I have installed 19.1, v 1.3, and all is working. In version 1.4 and up, sensors are not working and my T-Mobile data is not working. Now I have installed 1.3, and all look great!. I'm happy for now, but I don't understand....
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] fruomy:
Well okay, I'm dumb because I tried like LOS 17, 18 and LOS 19 but only the versions after 1.4 lol. I flashed 1.3 and T-Mobile works fine, but still, I guess we can't use LOS 20 :-(

Thanks for letting me know though because now I can use Android 12 lol.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PhobiaSoft:
No problem mate. And I definitely don't blame you for not trying a version three updates behind. I can't believe this bug still hasn't been addressed or even documented. Its not just us.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
After installing MindTheGapps, most of my applications are running fine. But few of them show an error when I try to open it. "won't run without Google Play services, which are not supported by your device
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
Hello. Where can I find Dolby Atmos module?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Guntram:
Anybody else having problems with GoogleMaps? I'm not able to see my planned (?) route, because the last suggested last destinations won't close up :-(. Deleting them isn't possible either (under options), as the corresponding button is not visible...

Tried vers. 1.3 and 1.6, using MindTheGApps as recommended. Did also full wipe (including internal storage) and reinstall...

Any ideas?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rez78:
Sound Enhancement Sony Xperia 10 Magisk Module

Described here: https://github.com/reiryuki/Sound-Enhancement-Sony-Xperia-10-Magisk-Module

www.pling.com
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
Thanks!

I've installed it but I don't see anywhere enabling Dolby Atmos...

Any thoughts?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Guntram:
Solved the issue. Seems to be related to bad gps fix at the beginning. Sorry for bothering you...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] android666:
thanks for finding workaround with 1.3, my network also flapping with 1.6

Unfortunatelly 1.3 does not support ext4 on externalSD (my is 512GB - for better space management ext4)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] android666:
I'm confused a bit. Any idea how to decrypt android ? I'm on 19.1 and I have no idea why it's encrypted. TWRP decrypt it without problem, but I do not want have phone encrypted (maybe I clicked somewhere, overlooked something). Maybe I save some battery/cpu without crypto,

Update: I decrypted phone by using (it does not mean it's the best way, I believe there is far simpler and better way...):

- installed TWRP

- full TWRP backup (+ also backup internal data to SD - done when phone is on)

- wipe all (including internal); Format data ("fastboot format userdata"; or TWRP change to ext2; then back to ext4 in Wipe Advanced)

- install desired ROM;

- restore DATA from previous TWRP backup; restore internal SD (could be after phone start);

- install MagiSK'

- install https://xdaforums.com/t/deprecated-...ncrypt-disk-quota-disabler-11-2-2020.3817389/

- reboot

I'm not happy I had to use Verity module (disabling Android verified boot) , but without it I have bootloop - no idea why, but would like to live without it. Maybe one day ... :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gladykov:
This is so strange. I'm on Lineage 20, and just encountered issue, with not being able to connect to GSM network which was also distrupting WiFi. Had to restart few times, and last restart I just waited little bit longer. What is funny, I'm on Claro network in Brasil.

Also I noticed strange hangs from time to time, when screen does not want to turn on.

Is it slowly dying, and previous version can handle it better?

Out of curiosity - is it possible to downgrade painlessly from 20 to 19.1 (1.3) if this will occur again?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gladykov:
Saw the same in one app I could really use, but on Lineage 20 with even more fresh version of MindTheGapps. I miss Open Gapps which were not refreshed since February
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] adiela27:
There is some bug with adoptable storage, When I set it up, it reboot and crash
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] knutlegrand:
Hello,

Since update from LOS 18, everything seems to be OK, except the screen which is always ON when the phone is charging. Dev option "Leave screen on when charging" is disabled.

I'd like the screen to be switched off when charging.

It worked on LOS 18. Is this a bug of Android 12 ? or LOS 19 ?

So, what's the way to get the screen switched off after a specified delay when charging ?

Thx
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rainer.zugang:
Hi,

I successfully installed LOS 19.1.

But I still have issues with my LTE 4G. My vodafone sim-card is all the time connecting, disconnecting, connecting, disconnecting....

Does somebody know how to fix?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I have been able to fix problems like this - sometimes temporarily - by enabling and / or disablling IMS Features in Setting | Xperia parts. See this post in the LineageOS 20 threadfor more details.

Sometimes the problems come back, and I have to go through the process again.

As stated in that post
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rainer.zugang:
Thanks for this tipp!

I did also some research and found out:

MiscTA says modem fsg should be set to: amss_fsg_lilac_vodafone_germany_volte_vowifi_tar.mbn

The files I can get here:

47.2.A.10.28 & older] Reliance JIO VoLTE: OEM.sin from XZ1 Dual for Indian XZ1c users

47.2.A.10.28 & older] Reliance JIO VoLTE: OEM.sin from XZ1 Dual for Indian XZ1c users Download appropriate XZ1 dual Indian OEM.sin file for your firmware version from below links G8342_Customized...

xdaforums.com

But dont know how to find out which one I have to choose?

Can you help me?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Sorry - no. That's outside my knowledge & experience.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] NeoSeven:
Is it possible to upgrade from LineageOS 18.1 UNOFFICIAL - 2.0 without loosing the app-data? Maybe there is a way to do a full backup first? Any Tips?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] .:B:.:
@derf elot I found out in the meantime it somehow only seems to break when the keyboard is set to Dutch. Switching to English / French / Italian, swiping works...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
should be possible, though I can't verify. I would first update twrp to the latest version (if applicable). then flash the rom together with the 12.1 gapps. maybe clear cache for good measure an reboot. no guarantees though.

stop using meme languages then 😎
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Sometimes the camera app says there is no connection to camera when trying to record a video. Open camera also doesnt work and says "Failed to save video file". Photos dont seem to have this problem.

Anyone else have this?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] NeoSeven:
Which partitions do you suggest I should wipe before flashing? Obvously not "data", because that is what I intend to keep but any other? Wiping the cache is done after the flashing is done, so yeah, that is clear as well. TWRP already is in the latest version available for this model.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
It shouldn't be necessary to wipe anything else.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
I think I figured out what the problem is - the microphone randomly stops working with apps. It works with dolby record but doesnt get detected by recorder, telegram, messenger, camera etc until it randomly works again.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] .:B:.:
Language imperialism! Been a while since I saw that one :p

* refrains from making tasteless WW II jokes 😇
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] NeoSeven:
If such problems can occur, then I think it is better to wait a little longer before upgrading.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
what exactly is dolby record?

are you using some kind of meme magisk audio modifications? these have caused issues before. a bug caused by such a modification I won't consider to be a bug.

if not, please provide some logs to check out the issue. I haven't faced any issues with camera connection myself.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Im not using any sound mods. I did a clean i reinstall of the rom, same problem happens.

Here is a log where it crashes with Camera2, voice recorder (stock Los one) and Open Camera. I think the problem is the microphone, not the camera. Video recording crashes cause of the mic.

To reproduce the issue reboot your device, unlock it and then then turn the display off. After a few secs turn it on again and now the mic wont be registered at all.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
Does this mean this rom is compatible with microg? Isn't signature spoofing missing on this rom?

btw: Many thanks @derf elot for bring up this still unique compact device to A12. :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
no, I meant gapps. must have gotten confused when I typed it. ;)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] MarkMRL:
Posting just to let you know I'm going to try the rom soon and that I'm grateful that someone is keeping this great little phone alive. This looks pretty great, hopefully it works just fine for someone with basic needs.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
thanks. from the logs it seems to me like the SoundHound app (com.melodis.midomiMusicIdentifier) you have installed might be causing issues.

To see if thats the case, do the mic problems happen if you remove that app?

edit: btw if that does fix the issue, the next step would be to check the permissions you granted to the app. looks like it doesn't like the fact that something isn't being granted (likely the microphone one, but I can't check this right now)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Wow, youre right! I tried literally everything, but it seems soundhound was the issue after all. Not sure why, it never caused me such troubles before. The good news is that the xperia sound mod wasnt faulty hehe. Thanks for the help!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rez78:
Hi, i'm using latest sony album app,but this rom don't let me delete or manage photos saved on micro sd card. Any solution?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] MarkMRL:
This rom is amazing, I only have one issue with it, pic related.

Yes, I'm one of those people 😅

Any way to center the status bar properly?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] .:B:.:
Has anyone tried USB tethering? I can enable it, the phone shows in lspci (Linux) as 'Tethered' but no network device appears on my laptop.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Haven't even noticed this myself. likely something has changed for the status bar overlays to have rounded corners by default. should be fixable, I'll look into this.

I booted into windows right now, and there it works fine at least. I think @No1Alien should have experience with it on Linux also.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] No1Alien:
It works pretty fine here, both on raspberry pi and normal Linux Desktop. Can you find the phone with `ip link` on your Linux?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] .:B:.:
Well... Nevermind me. Not sure what happened - I had just replaced my laptop's WiFi card, so no network (because Bullseye kernel is too old for Intel AX210 :cool:), which is why I hooked up the XZ1C for connectivity and Debian couldn't be bothered. Dmesg was spewing a lot of USB bus errors, guess Bluetooth was part of that as well.

Tried tethering again this morning, worked without a hitch. Thank you both.

@derf elot Happy to test or check anything you'd like concerning the swipe issue, I can perfectly imagine you can't be bothered, but for me it's between RSI (or using my phone less 😇) or back to 18.1.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] No1Alien:
Meme kernel (<5.10) won't work for AX210 😹 I have also upgraded to AX210 in the beginning of this year and it just works out of box 😛
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
swiping is based on a library provided by gapps. but have you actually also added it to the languages (not just keyboard)? settings -> system -> language & input -> languages
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GT500s:
ROM works great and even fbind Magisk module is binding without problems like on Android 11.