yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] eparr:
Is there a way with havoc to force the use of the Stock US Pie modem /system/etc/customization/modem/amss_fsg_lilac_tmobile_us_ims_tar.mbn?

I have a stock Pie rom phone on metro that won't pickup the correct modem. Even though the correct files are on the device. And the lack of VoLTE because of it is driving me crazy(er).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jassi07:
Hi guys!

Anyone can report on the battery life? I.e. how many hours of screen time do you get on average?

I'm wondering if that's better then stock Oreo rooted and with some underclocking going on and smart greenify actions...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] maarek7:
I also have issue with Settings crashing while trying to change ringtone etc. (but I can change alarm tone via Clock app).

Reinstalled OS twice, always following the steps and no luck. Solution is to install Google Sounds (com.google.android.soundpicker).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] drkshdwprophet:
Hello and thank you very much for this rom! I wanna install it on my phone, I just got today a brand new Xperia XZ1 Compact (in 2022? I know right?) however, it's the Docomo version SO-02K, just wandering if this rom is also compatible with this version or not. Anybody else with a docomo version who has installed this successfully?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Prass93:
I've tried it but it keeps rebooting every few times and battery drain 😭 xz1c docomo ubl yes
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] drkshdwprophet:
I'm gonna try to go for v 4.6 of this rom and see if that goes better with our SO-02K, thanks @Prass93 for replying! Best of luck
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jassi07:
I'll reply to myself here. After testing it for 5 months, I can confirm that the battery life is much worse than stock Oreo or Pie. I've now decided to go back to stock-rooted-Pie as it allows me to have double the battery life (using kernel adiutor and others). It also fixed the weird issue i had on this Havoc rom where the gps took forever to lock and it would rarely work when using gps-only. I also noticed that Havoc had stupid power consumption when turning on the sim-radio. I obviously lost the nice features of Android 10, but personally I care about battery-life and reliability when it comes to GPS.

I hope this helps somebody out there. Bye bye!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Vencator:
What happened with Havoc? Download still doesn't work.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Purplearyes:
Battery drain 15% on stand by over night. Have naptime and greenify on...

Is this normal for this rom? I always run into battery issues...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Purplearyes:
20% battery drain in one night on sleep, everything turned off, what is happening?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] MASS.DROID:
In response to #478 & #479, I have a XZ1C docomo SO-02k variant, before Havoc 3.11, i had installed Lineage 20 - this ROM had good battery life, but does not have stock camera, I really love the auto macro mode in the stock camera app, so i decided to give Havoc 3.11 a try, after installation my phone was facing crazy battery drain, just lying there without even the WIFI or 4G/LTE connection ON and without any background apps running. the solution mentioned in the below post did the trick for me.

https://xdaforums.com/t/solved-batt...ning-on-so-02k-japanese-docomo-model.4345281/

After getting the fix done, overnight in a period of approx 7 hrs, the battery drain was only 2%, the non functional NFC chip driver was really the culprit, overall this 3.11 version of Havoc is very stable/snappy and I am pretty sure the battery life is going to get better over a period of time, any person having this variant of XZ1C and cares about stock camera/ stability & battery life more over the latest version of Android and other features, should give Havoc 3.11 a try, its really a great ROM. My special gratitude to the TEAM members of HAVOC..Cheers.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
Hi. I'm having the same issue... Did you find a solution?

On LineageOS, there's an option in Xperia Parts which switch automatically to 3G on reboot and then switch back to LTE
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
I've noticed that the VoWifi icon is not showing. Instead, VoLTE is shown for both services... I'm positive it's using VoWifi on current calls... Bug in current ROM?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
Can the Weather be removed from the Lock Screen?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
I don't think I ever did, sorry. I've been on a different phone for a few years but I think I had moved to Bliss after this, maybe
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
Does anyone experience low microphone volume during calls? The other side hears me fine when switching to Speaker...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DulacLancelot:
Everything seems to go well and work fine upon initial setup but after the setup completes it says it needs to reboot to optimize the network and after reboot the cellular signal doesn't work anymore. Can I stop this "network optimization" thing from happening?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DulacLancelot:
Have you been able to find any APK or script or something that will automatically start your phone in 3G mode and then switch to 4G after a delay?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DulacLancelot:
Can I take the keyboard from the Stock ROM and use it in this one?

I've tried copying these two over:

- com.swiftkey.swiftkeyconfigurator - com.touchtype.swiftkey

But there is an error when I try to select a language:

"Unable to save language pack to storage."

Can I make this work somehow?

Did I miss some more things that I need to copy?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DulacLancelot:
I don't really have any understanding of Android development.

Basically, I looks at file/folder contents and played a game of One-of-these-things-is-not-like-the-other like I learned on Sesame Street, so maybe there is some bad side effects of what worked for me that I'm clueless about, so I'll include a short summary of said game so you might be able to replay it less haphazardly.

By "works" I'll be referring to the issue at hand, the connecting to mobile network while starting up in LTE-enabled mode.

You noticed that v3.11 does not work. Me, too.

For me:

No workie: v3.11 w/Gapps
No workie: v3.9 noGapps
Works!: v3.9 w/Gapps

So the game is "What's different in v3.9 w/Gapps from both 3.11 w/Gapps and 3.9 noGapps?"

I think the key differences are the following files/folders:

Exists in v3.9 w/Gapps but not the others:

/system/etc/permissions/privapp-permissions_com.yoshino.networkswitcher.xml
/system/priv-app/NetworkSwitcher/

Is different in v3.9 w/Gapps:

/system/etc/sysconfig/qti_whitelist.xml
( Has two extra lines in there but all else is the same:
<allow-in-power-save package="com.yoshino.networkswitcher" />
...
<hidden-api-whitelisted-app package="com.yoshino.networkswitcher" />
)

So if you just copy the above two xml files and the whole NetworkSwitcher directory to your v3.11 filesystem at the same locations and make sure the file/folder permissions match the other items in the directory you are copying to it worked for me.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
I'm sorry, I'm not a dev. I've learned a lot by trial and error and a lot here on xda. What's more, I haven't had this phone for over two years and when I did, I used Bliss as my daily driver. I hope you're able to solve things on your end but I'm unable to help.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DulacLancelot:
The setting to set the camera button to do custom actions (open an app) is not working for me.

I could have sworn I'd seen it work in the past, perhaps on past flashings.

Any ideas?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] kevneh:
Hello everyone. Will there be an official build of Havoc OS 6 for Sony XZ1 compact (lilac). Thanks and best wishes
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] brunobcm:
Hey everybody!

I'm using Havoc 3.11 for Zenfone Max Pro M1 and can't find any option to show the battery percentage at the status bar.

Does anyone knows how to do this?

Thanks a lot!!!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] q4q9x:
Seems unlikely, since the device has been removed from their list of supported devices. Sony’s no longer represented there at all.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] q4q9x:
This is a device-specific topic for the Sony Xperia XZ1 Compact, so you should probably ask over in the area for your device or with the HavocOS people themselves.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] brodo:
Would it be possible to make a new build from the source with recent security patches? I prefer 3.11 because of the original sony camera.

I tried to follow this howto https://github.com/Havoc-Devices/android_device_sony_lilac/tree/havoc-10 but 'git clone' fails after a while to fetch some elements, probably due to some outdated sources. Could there be a chance to tweak the repo to make it work again or is this version simply too old?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] KytaPro:
Hi all! I have a question, Havoc OS 3.11 based on the stock camera app, right? Now i use lineage OS 19.1 and it have really terrible camera app...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Alekim91:
There is a way to install all apk on sd card or increse the internal storage? Thanks you.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Random Android User:
Anyone know where I can download Havoc OS 5 for this device? Also, does anyone know how to turn off the screen unlock sound? Cant find the option anywhere.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Random Android User:
This rom has insane battery life. Hows this for battery life?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] holden69:
Same problem here, did you find a solution? Services menu is not included, so I can't check the sim lock status via dialpad, but doesn't work with a o2 Germany sim card. It's recognized as o2 card, but doesn't connect to mobile network. Adding APN manually and installing Google Carrier Services from Aurora Store also does not help. Try to flash again, this time with Gapps...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DulacLancelot:
I did find a "solution" that worked for me, but I'm not knowledgeable enough to understand exactly why and if it should work in general for others. It was posted here: https://xdaforums.com/t/rom-havoc-os-v3-11-official-stock-based.4113345/page-25#post-88713969

For convenience I'll just copy/paste the "solution" here:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Oh yeah I forgot one more thing..

Here's working Sony album ...

Problem:

- can't access SD card

Thanks to [MENTION=1879618]IgorEisberg[/MENTION]

https://drive.google.com/file/d/10qAiMq5OkI1vbcFJ8lKg2aXJK4QRGTCj/view?usp=drivesdk
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
No worries, you're already doing remarkable work (especially on Pixel Experience, I don't use Havoc OS). Good luck with your exams

So that, on the other hand, is more than a good surprise! Me who has been waiting for a while !!

And it works on your Pixel Experience version (I'm on the April version).

A big thank you to you and [MENTION=1879618]IgorEisberg[/MENTION] :) :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
You guys might get this on latest havoc 3.7...

(Google Play System Update to July)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Ann Xkai:
I found a black screen when logging in to Google account. Solution: After installing the titanium backup, unfreeze the Android System WebView
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Cadabena:
Further to this, I had to restore a previous backup of Android System WebView to get certain apps to display correctly. Everything seems perfect after this.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
I have the same issue. Maybe a bad update of Android System WebView
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Actually android web view was removed and deprecated since android 9.. like it had no use.. not sure why they added it back to 10.. or it's just the custom ROMs
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
July Update again:

I finally took a day off and made the below changes... more like providing a better monthly update

Changelog :

- July Security patch and ROM patch

- Safetynet is back ! It passes out of the box. No need of magisk to pass safetynet

- Uniform thermals for charging

- Upgrade display.config to 1.9 (thanks to [MENTION=6427265]Shujath[/MENTION])

- Fix overlay Reducing the notification led blinking speed

- Kernel updated to 4.4.230

NOTE : Build name of zip has been changed from JULY to 0721

Links on #2 post

If you like my work, don't forget to buy me a juice ;)

My Paypal

Have a great day ! :D
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
Thank you for your work and this update :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AREALE:
fix camera button pls
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Still trying to fix it..

We have only 3 issues left here

- Camera button

- Camera mem leak

- Stable IMS
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jaykay1984:
hi rooted, i really like your roms, especially the havoc, i currently use the pixel experience for the IMS problem, which is very much present with my operator, while with the pixel it is much better. why is this difference being the same version of android?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
It's operating system thing.. can't do much with that :(

But definitely.. performance and battery life wise.. havoc is better than pe
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jaykay1984:
if you could at least fix the activation of mobile data without activating the hotspot as well it would be fantastic !!!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
All you need is wifi.. not hotspot
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
I'll switch to Havoc in this case
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
You do known camera button is not working right ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
This is true, I have to think about it
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rsk_kelkar:
There seems to be a fix for Camera mem leak

https://xdaforums.com/showpost.php?p=83077223&postcount=313
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
I was there where all of us devs discussed this fix

Yeah... I have already applied it .. just testing it properly..

Also the no mobile data on reboot is fixed as well
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
Interesting ;)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] T_Tank:
Working so far so good. Do I still have to install magisk to try and get volte on tmo USA?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
I have no idea. .. :( my carrier don't provide volte so I don't know.... One of the user shared me that magisk module showing that it worked..

So you could try either way. Whichever way it works ;)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Ephesus:
With magisk and the magisk module installed it works for me on US T-Mobile.

Just had to make sure that I set "preferred network type" under mobile data settings to "GSM/WCDMA/LTE"
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Okay...

Here's the new release with fixes:

07-28:

- Links : GApps-0728 | No-GApps-0728

- Fixed camera memory leak (thanks to [MENTION=7932843]vince31fr[/MENTION] )

- Fixed no mobile data on reboot (thanks to [MENTION=6427265]Shujath[/MENTION])

- Internal updates for RAM optimization

Build Zip date: 0728

NOTE: A clean flash is required for the camera memory leak fix to work. Which mean, you have to come from stock again.

Enjoy ! and have a great day...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
Thank you. I am thinking of trying it tomorrow.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] brodo:
Hey. Thank you! What do you mean by "com frome stock"? Do I really need to flash stock rom first or is it enough to format data and wipe system and cache? What's the reason behind flashing stock rom?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Flash stock ROM using newflasher, set it up partially as much as you can skip. Then flash this ROM

The reason is to make the memory leak fix work
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] brodo:
Ok, THIS reason was obvious. :D

But how can flashing a different rom influence this rom when everything has to be wiped before anyway. I was hoping for more technical details ;)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Oh.. okay..

If you factory reset and wipe everything, the libs is still the same the system will be patched in a way that it's the same operating system.

But when coming from stock, it will be treated as a whole system upgrade and hence upgrading everything .

Now this 'upgrading everything' will also replace the libs with the new fixed ones for camera leak..

Hence the reason to come from stock
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Steps :

Remove your screen lock (set it to swipe up or none) and remove all your

fingerprints registered.

Download the zip above and extract the boot, system and vendor images

Make sure you have Android 10 TWRP as mentioned above with link

Go to recovery > wipe and wipe system, cache and data nothing else.

Then go to install and flash boot.img as boot image, system.img as system image and vendor.img as vendor image.

Reboot and profit !!

Here's the "come from stock" steps in case
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
Same issue with v84.0.4147.111, v84.0.4147.105 and v84.0.4147.89 (on Pixel Experience vApril); some applications display a black screen instead of ads or bugs with the black theme (the text displays a white screen). Version 83.0.4103.106 works without these errors
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Come on.. it's Android webview problem.. google messed it up.. just uninstall it's updates and you'll be back to normal
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Cadabena:
Leave it on the old version and disable auto-update for Android System WebView in the Play Store. It's been fine for me since doing this a few weeks ago and still auto updates all other apps.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
I was just giving a tip for those who would encounter this problem
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] brodo:
That is a bit of a hassle for an update but finally it went alright :)

After the upgrade I restored the data partition from a backup in order to get back all my apps and settings. Is this advisable to mix a data partition from an earlier version with system, vendor and boot from a newer version? At a first glance it looks good but can there be problems that occur later?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
I would like to know this too. My gut tells me it's a no but if there's no worries then it would certainly cut down on a few steps.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] brodo:
Until now it seems to be alright. I did the following:

- did a complete backup via TWRP

- flashed stock ROM via newflasher (without persist_X-FLASH-ALL-C93B.sin)

- installed TWRP

- wiped system, data, cache

- flashed the new HavocOS version via TWRP

- restored only the data partition from the backup

- optional: testing, flashing Magisk... everything alright?

- optional (but maybe not neccesary): flashing the new HavocOS version via TWRP without wiping anything before

This way the system libs are being upgraded but you also do a "normal" upgrade over your existing data partition.

Camera leak seems to be fixed. Before I had to reboot everytime after I took a photosphere picture with google camera, but also the normal camera function and stock camera caused leaks. Now it's fine.

BUT: GPS still doesn't work properly which is a special annoyance in my case. I think I have to move to another ROM which is a bummer...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
Tested tonight at work and I'm having very poor GPS performance as well, which is also a deal breaker for me. The latest AEX10 update has the same issue. It was near flawless until last update.

With both ROMs having the same issue, could it be related to the memory leak fix? I don't know but it looks like maybe I'll look to a Pie ROM next.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Ephesus:
Try the "global optimised gps file replacer" Magisk module.

It seems to have helped get faster GPS position locking for me. But it could just be a placebo.

Link to the module source:

https://github.com/Magisk-Modules-Repo/optmizedgpsconf
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
Thanks for the suggestion but it doesn't help. I tried the same thing on AEX10 with the same result. The issue isn't positioning, it's tracking. Every time I open maps, it locates where I am but my position stays stuck, no matter how long I leave it open.

I'm an EMT so for the long inter-facility transports to unfamiliar hospitals, requires a good GPS. So no matter how much I love these 10 ROMs, I'll probably have to switch.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Can you please test the Los 17.1 (1.3) and check if that also has GPS problem ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Can you please take some time to check if Los 17.1 (1.3) also has the same GPS problem ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
Okay, so I was doing all of that while in the back of an ambulance on a three hour transport at 1am. On the way back, however, GPS worked. So it must be that particular ambulance and it's patient compartment(it is ex military) has a shielded roof. On AEX10, I can say I tested extensively and could never get GPS to work on the latest update.

One thing, though, is that YAATA doesn't show sent messages until the app is closed and restarted. This doesn't happen with any other sms app. Any idea what could cause that issue?

Thanks and sorry for the confusion
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
That is OS problem.. if you have set the app to battery restricted.. it won't show notification unless opened again..

Not sure how to fix it
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
Flashing LOS 17.1 to my spare/tester today. I'll let you know what I find:good:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arnhag:
First let me say thanks for this ROM, it has really given my x1c a new lease of life.

Having problems with the upgrade to newest version though, after flashing stock and then flashing the ROM, I get to the android greeting page, but then I get the just a sec text for a while, before black screen and white ring spinning and reboot. This becomes a loop, where every reboot takes me to just a sec blue spinning wheel after Havoc OS logo, then black screen and spinning white and reboot.

Have flashed stock from different locales, and tried with and without booting into stock before flashing etc.

Any tips? I tried going back to the previous July version and that one works, but would love the 4g getting lost bug to be gone.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Can you flash the non-gapps one and see if that works ?.. because it seems like the Google setup problem
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Any update ?