yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rocciamax:
MacroDroid claims it might be able to switch on and off mobile data on non-rooted phones via some "ADB Hack", but I haven't tried nor I have read anything about this "ADB hack".
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Hornelen:
I got a complete screen touch freeze today, after alarm clock.

Do not know if its something random or not.

Anybody gets touch freezes with this ROM?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Aaq7for:
yes, i had. Since then I haven't caught it
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jaxwithanx:
Banging my head against the wall here. I took this phone from factory Android 9 to Havoc 4.12 without issue but the camera didn't work. So I downgraded to clean flashed 4.8 then OTA'ed to 4.12 and still....no camera. Just freezes for a few seconds the reboots. Looks like no one else is having this problem on 4.12 did I miss something?

Haven't installed Magisk or any other potential issues. Tried clearing camera cache and storage. Nothing helps. Any advice?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mstrnemo:
Annoyingly i have it all the time
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PentaParadox:
During my OTA I pressed skip in twrp instead of inputting my password. (Stupid, I know.)

Now my UI style colors do not function anymore, which could be related to the above.

Anyone have any idea if this is fixable without performing a clean flash? I already tried a dirty flash of the latest update and that didn't help.

I attached a screenshot of the color picker. As you can see all the colors are white.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Aaq7for:
logcat can help u determine the problem

Don't wait for me and send the logcat yourself. I haven't had this bug in a month.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Gh61:
This is not any flash problem. You just need to turn off Settings => Display => Wallpaper based theming.

If you turn this off, you can use colorst as usual.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PentaParadox:
Thank you very much! That solved the issue.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rocciamax:
Bluetooth shenanigans.

I usually pair my phone to the car stereo via bluetooth, and I have an annoying problem: album names are not sent correctly over BT, and all songs are displayed as "[Song name] - Unknown album".

I had the same problem with LineageOS and with my old car.

What bugs me is that sometimes the thing works flawlessly - for instance, I noticed that if I make a phone call on the BT, when I hang up and the music player resumes, album data gets through with no issues.

I tried changing AVRCP protocols 1.3 thru 1.6, with or without gaberdorsche stack enabled, but to no avail.

Anyone else with this problem?

EDIT: I think I came to something like a solution.

AVRCP set to v. 1.3 and (this did the trick) battery saving disabled for the bluetooth system app.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
Is there anyone who did a clean flash recently? If so, does Android Auto work? Still doesn't work for me, but I'm on an OTA updated device back from 4.6. Tried reflashing Gapps yesterday, but still broken. Wanted to know if clean flashing worked for anyone.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rocciamax:
Did a clean install not more than a week ago, android auto not working.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] misterbirra:
Touch freeze issue happened now and I have the logcat!

It happened around the last 5 minutes of the log. Before seeing it, I just did a Google search, then I locked the phone. Hope my log will be useful!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] D4rxXx:
Do you still have the 4.6 Version? I would Like to downgrade to the last Version with working android auto but you cannot Download the 4.6 file anymore.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
Nope sorry. Deleted it from my phone already 🙈
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Zackrand:
Hello, is Now Playing supposed to work? I am running 4.12, I can see the setting when searching for it but not under Sound. Is there some additional extension that needs to be used or is it just not supposed to work?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] D4rxXx:
Too bad. Thanks anyway!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Hornelen:
Help. I have problem with GPS.

I tested with OsmAnd and GPS test app, it is recognizing (seeing) 7-13 satellites within one minute,however it does not lock on.

I mean there is no coordinates lock,and OSM does not show position.

After about 15 minutes once or twice, it managed to lock on position, although its not consistent.

AGPS data was updated.

Latest Havoc vers,with MicroG.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
Do you try this?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Hornelen:
Nothing.

The phone sees 16 or more satellites rather fast, but does not fix on them (lock on).

I checked microG settings, under location modules.

It says 0 backends configured,no module installed.

I had installed the microG relived module through Magisk.

All self-check microG fields are enabled.

I also i think i had added install this also :

UnifiedNlp/README.md at 38a857f034d688fe19bcf41030d31478d90668a0 · microg/UnifiedNlp

Alternative network location provider for Android, with plugin interface to easily integrate third-party location providers. - microg/UnifiedNlp

github.com

Maybe i should not had?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] liose1:
Hello, I also had a GPS problem.

My XZ1c found 32 satellites but did not get a fix.

So I unscrewed the phone and discovered a loose screw. The threaded holder had broken out of the plastic.

I glued it back in place and cleaned all the antenna connectors.

After that, my GPS worked perfectly again. 3 metres accurately and after a few seconds directly a fix.

In the picture you can see the screw in pink and the connections I cleaned in green.

Excuse my bad English, I hope I was able to help.

View attachment 5535233
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Hornelen:
Thanks for your knowledge, but for now it is not worth for me to open the phone.

First i need to know what the problem could be.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] q4q9x:
Is there a good, thorough guide to migrating to this OS from completely stock Android 9 47.2.A.11.228 (as originally updated OTA from Sony, never rooted, never bootloader-unlocked, never anything)?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rataplan626:
I have two XZ1 compacts. One is running Havoc 4.13, one is running Lineage 18.something, both Android 11. On both I have the same issue; when I make a backup with TWRP (I use twrp-3.6.0_9-0-lilac.img), and I restore it after doing some testing, I can't get my phone to boot again. It just hangs at 'Starting phone...'. So it's actually booted into Android at that point, but then it's done. I can use the power button and the shutdown menu appears, but can't get anything else to work.

I backupped system and data, but even if I only restore data this happens. I tried deleting the locksettings.db, in case the pin would be scrambled but that doesn't help.

I assume restoring a backup should be possible right? Any help on this?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rataplan626:
Another thing I noted I can't find something on in this thread is the smartcovers. I have the original Sony smart covers (with the magnets in the flip cover). With Havoc the screen automatically turns on when opening the cover, but it does not turn off when closing, leading to unwanted touches.

Anyone else with this issue?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] ben_2777:
Havoc 4.11: I had 2x freezes touch sreen, in 3x months. It was in the morning few minutes after power up the phone. I restarted in "safe mode", then return to normal.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] ben_2777:
I have Havoc 4.11 , it's good: only real problem to me is the 4g is not working good as for stock ROM, it needs very good reception to work, or you have no DATA and it doesn't switch to 3G automatically. I run in 3G and I have to switch manually to 4G to try if good network).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] hoblerone:
Are you sure about that?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] ben_2777:
You right sorry for my mistake. I read wrongly to fast on Telegram. Android 11 4.14
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] misterbirra:
Just wondering if someone from the team has analyzed the touch-freeze issue, thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] bneeman:
I'm still running lineage 15.1 (Oreo 8.1) from like 5 years ago. Thinking maybe it's time for a new OS. Would have to clean flash, obviously, and I'm okay with that. As it relates to firmware, what exactly do I need to do before flashing havoc?

From reading around I gather it's something flash to 2019 stock then flash havoc over that? Does it matter which tools I use to flash stock? EMMA sounds easier but I see a lot of people preferring newflash and I'd like to know why.

TIA
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] kdolum:
I installed official Havoc 4.14 (with GApps) on my SO-02K, but now my battery lasts only about seven hours. Using "top" , I see that my total CPU usage is around 160% (out of 800%), which explains the battery drain. But what's running? The worst single process is system_server, using 14%. Adding up the CPU of of all the processes gives about 50%. This alone is unfortunate, but where's the other 110%?

I'd appreciate any help, because this phone is not much use at the moment.

In case it is useful, here is my installation procedure. I generally followed the instructions of mortalgen here. First I backed up (but did not restore) my drm keys following the procedure of j4nn. Then I paid for and used S1 unlock tool to set bootloader unlock allowed, unlocked by usual Sony procedure, installed TWRP and used that to install Havoc. Now my phone says it is a G8441. Both Havoc and TWRP were for "XZ1 compact" with no distinction between SO-02K and G8441. Everything appears to work properly except for the battery drain.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Hornelen:
An update on the problems since the newer version:

No touch freeze yet. (y)

Still problem with GPS ,although an improvement. :unsure:

The problem now is: it does not lock onto the satellites if A-GPS data is out of date.

Behavior with A-GPS data (satellite position schedule) up to date: Recognizes and sees about 30 satellites within 30 seconds. Locks on to about 10-17 satellites within less than a minute. So normal.

Behavior with A-GPS data more than couple days out of date:

Recognizes and sees about 25 satellites within a minute , but unable to lock unto any satellite for many minutes.

What could be causing this?

My previous phone could lock to at least 6-10 satellites with A-GPS data long out of date.

I want to use the phone in the wilderness out of signal for many days. I need to be able to have reliabe GPS without using internet.

I will test everyday the GPS to see how many days it takes without updating the A-GPS data to be unable to lock to even one satellite...

Keep the good work developers,thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] MilesBHuff:
Having major GPS issues with this ROM (GPS worked fine on stock ROM).

Also unable to adopt my SD card as internal storage.

How much do I need to donate to get either of these fixed?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] MilesBHuff:
Wtf. My unlock code stopped working. I didn't change a thing -- I just restarted, and now I can't unlock my device -- even with TWRP.

Not sure if a bug in Havoc OS or just a random bit flip, but I am very unhappy at how much time this is going to cost me. Reporting it here in case it is a bug.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rataplan626:
If you can still enter TWRP, you can try deleting some files in /data/system in the file manager:

Gatekeeper.password.key

gatekeeper.pattern.key

locksettings.db

locksettings.db-shm

locksettings.db-wal

Basically all gatekeper and locksettings files. Reboot and your pin / pattern should be gone.

And that's why the data partition is erased when unlocking your bootloader :-)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] MilesBHuff:
Ah, thank you!! You've answered what lots of Google searching could not. I could, indeed, still enter TWRP.

Unfortunately, I've already reflashed to LineageOS. The bright side is my GPS works now, at least.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
Updated to 4.14. Android auto still not working. GPS seems to be working a bit better for me funnily enough. Did have a glitch on first boot where my homepages were reset to default. But after a second reboot this was resolved.

@Rooted_Ansh, any view on fixing Android auto?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Hornelen:
Update on my March 22 post:

It has been about 10 days since i last updated A-Gps data.

Up to 3 days ago GPS signal still locked on.

Today phone sees about 11 of 32 satellites, but cannot lock on.

At least for 5 minutes that i tried it.

Also Magisk got lost? When i open Magisk manager, it tells me it is not installed? Maybe with every version update you must reflash it?

And also the module that i had installed through Magisk, microG.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Sexy scientist:
It says that. VoLTE is not working. It was working in the (almost) stock ROM I flashed just before Havoc-OS 4.6.

I'm on Reliance Jio btw.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Sexy scientist:
I found the Modem Switcher Activity and switched to Jio. VoLTE working fine. Thanks a million @Rooted_Ansh for including this option in the UI itself for dummies like me.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GT500s:
Is there a way to install GCam and use on Havoc? I've tried almost all versions but only Gcam-8.1.101.build-V6.1.211009.2048 by Arnova8G2 starts without problem but there is no picture when taking photo or record videos. I have Camera2API Enabler magisk module.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petrokr122:
say thanks for this to Sony engineers, for blocking the receipt of a picture in RAW format.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GT500s:
Are there better camera apps for Havoc ? I'm using Open Camera but want to know if there is any better app. Maybe Magisk module?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] kdolum:
I tried running Havoc 4.14 on a SO-02K. There is a problem with power consumption, as I reported above, but maybe there is a fix for that. Worse, though, is that I cannot get it working with T-mobile (actually MVNO Tello) in the US. If I turn on IMS, it cannot read my SIM at all. It acts just like there is no SIM installed. If I turn off IMS, it can read the SIM, but cannot connect to the network. I tried going down to 3G and then back to LTE. As recommended in another forum I tried *#*#4636#*#*, setting my radio band to Automatic (there is no "United States" among the choices -- perhaps this is the problem) and radio power off and rebooting. None of these things made any difference.

I guess it is time to spend some money on an actual G8441.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 4qx:
Try this: https://gitlab.com/xperiance/camera
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GT500s:
Working great. Slow motion crashes the app but all other features works. Is there a way to select sd card for storage cause i can only select internal memory?View attachment 5601281
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Sexy scientist:
Bugs after 3 weeks as a daily driver

1. While using double click on Power button for camera on lock screen, UI doesn't work half of the time.

2. Adaptive battery based on battery percentage is faulty. It is stopping the charging at the percentage of resumption.

3. Fingerprint is too sensitive compared to stock increasing the accidental wakes multifold. It makes unlocking snappy at a much larger cost.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
Just tried to update to 4.16 through ota. Bricked my phone. Even after wiping art/dalvik cache and regular cache. Factory reset also not working. Anyone else that had this issue on updating? Will have to start from scratch now :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
@Rooted_Ansh There's definitely something wrong with 4.16. did a full format and clean flashed again but still hanging on boot. Can you check it out please?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] hoblerone:
Had zero problems with OTA-Update. What you described I've had with earlier versions. What helped in my case was going back to a working stock image and after that installing Havoc.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
Clean flashing 4.15 didn't work either so figured the same. Moved to lineage os now as Android 12 was already working there. But I'll definitely keep an eye out for Havoc in the meantime.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Sexy scientist:
Are IMS features working on LOS19?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
For me they're turned on and don't get errors or anything. But not sure if my provider has those features enabled.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] ru_snake_jp:
Please help! Camera is not working

--------------SLOVED----------------
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] FlashDude:
I found a solution, for me it was a simple hardware thing. Here's my post: https://xdaforums.com/t/gps-problem.3864011/post-86927445
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Brickt0p:
Hi, Same issue here, could you please explain your solution.

The only solution I know so far is to wipe and perform a clean reflash of Havoc.

Did you found a simpler Solution to this?

Issue appeared after 3 months usage of Havoc.

My brother had the same issue on his XZ1c after one month of using HavocOS.

Screenshot of the error message is in German language:

In English it seems to be "Can’t connect to the camera"

View attachment 5628541

I already tried all troubleshooting steps, except factory reset, listed here without a solution:

[10 Best Tricks] How To Fix Can't Connect To Camera Error On Android?

Are you geting can't connect to camera error on android device? Follow these tricks to fix this camera error on android phone/tablet.

www.androiddata-recovery.com

Also when trying to use another camera app like OpenCamera, the issue is still there.

I performed a logcat wich shows the following lines with camera related events:

08-02 19:12:08.225 0 0 E qcom,sony_camera_0 ca0c000.qcom,cci: qcom,camera@0: sony_sensor_power_up: sony_sensor_power_up: id = 0, sof_gpio 96 ffffffc2b7389980

08-02 19:12:08.259 0 0 E init : Control message: Could not find 'android.hardware.camera.provider@2.4::ICameraProvider/internal/0' for ctl.interface_start from pid: 612 (/system/bin/hwservicemanager)

08-02 19:12:08.336 0 0 E qcom,sony_camera_0 ca0c000.qcom,cci: qcom,camera@0: sony_sensor_power_down: sony_sensor_power_down: sof_gpio 96

08-02 19:12:08.374 0 0 E qcom,sony_camera_1 ca0c000.qcom,cci: qcom,camera@1: sony_sensor_power_up: sony_sensor_power_up: id = 1, sof_gpio -1 ffffffc2b7389880

08-02 19:12:08.431 0 0 E qcom,sony_camera_1 ca0c000.qcom,cci: qcom,camera@1: sony_sensor_power_down: sony_sensor_power_down: sof_gpio -1

06-04 17:49:04.912 971 2995 W ServiceManager: Permission failure: android.permission.SYSTEM_CAMERA from uid=10293 pid=13762

06-04 17:49:04.914 971 2771 W ServiceManager: Permission failure: android.permission.SYSTEM_CAMERA from uid=10293 pid=13762

06-04 17:49:04.914 971 2771 W ServiceManager: Permission failure: android.permission.SYSTEM_CAMERA from uid=10293 pid=13762

06-04 17:49:04.916 2366 2374 I chatty : uid=10184(com.google.android.gsf) HeapTaskDaemon expire 1 line

06-04 17:49:04.917 971 2771 W ServiceManager: Permission failure: android.permission.SYSTEM_CAMERA from uid=10293 pid=13762

06-04 17:49:04.921 971 2771 I chatty : uid=1047(cameraserver) Binder:971_3 identical 2 lines

06-04 17:49:04.921 971 2771 W ServiceManager: Permission failure: android.permission.SYSTEM_CAMERA from uid=10293 pid=13762

Any help would be highly appreciated, Thank You!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] ru_snake_jp:
Download and update Google Photos.

It helped me. As well as an additional installation of the gallery
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Brickt0p:
@ru_snake_jp Thank you! but unfortunately this does not fix the issue for me.

I deactivated "Google Photos" and cleared Cache and Memory as well as for the "Camera" App and "Google Services Framework" --> Reboot of the phone --> Still the same error message when opening the "Camera" App
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] neutrinobox:
Sensor failure ....

You must change camera hardware then it comes back to life
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
Hello numa_aqours

Did you do that and solve the battery consumption problem?

Regards.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] numa_aqours:
Hi norabitox.

It helps for battery consumption well than not delete them but it's not better than stock.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
Thanks for your answer.

My SO-02K consumes battery at 10% / H.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] misterbirra:
Is there a GCam port for Xperia XZ1?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 4qx:
Don't know about GCam but there's a port of native Xperia cam app (as a Magisk module): https://gitlab.com/xperiance/camera/-/releases
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Tim700_0:
Hello Rooted_Ansh, hello to you fellow users.

I lost track a bit of updates because my Havoc 4.1 still runs so stable until now!

I just updated the monthly security patches until they stopped with the June version 2022.

Is the old 4.1 discontinued now? Shall I update to version 4.6 or will there be an upgrade to Havoc 5 / Android 12 of the fantastic ROM in the future?

Best regards
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] hoblerone:
How??

My last patch level is Apr. 5th 2022. I always received them via the usual OTA-Update since version 4.x.

I donated Rooted_Ansh a couple of bucks after every update but it got quite silent with that :(. Does anybody know why or is Havoc for Lilac dead?!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 4qx:
@Tim700_0 @hoblerone

Havoc-OS Announcements

Official Announcements Channel Official Support Group: @havocofficial If you like our work then you can support us by contributing towards this project: https://paypal.me/ANUSHEK

t.me
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] hoblerone:
Thanks a lot @4qx, I don't use TG and see that site for the first time ;).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] maarek7:
Hello,

I do not have TG so asking here:

Is 4.6 the latest version with working Android Auto? Anyone knows if this will work on 5?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Tim700_0:
Thanks for your quick replies!

@hoblerone: You're right with the last security patch I'm on the same version (just installed it in June).

I'm looking forward to the release of Havoc 5, then, thanks for the link 4qx!

I only saw Sony's XZ2 Compact in all the device lists for Android 12 up to now. But I still hope for our great XZ1 :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Tim700_0:
I don't know anything about Havoc 5. Havoc 4.6 seems to be the latest build for the lilac, at least. Auto update is still working, even in 4.1 but the patches have been discontinued- due to all efforts being shifted to developing Havoc 5?