yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tonsofquestions:
Sorry, what? Can you please be more specific?

First you said it was _not_ whitelisted on T-Mobile (so presumably doesn't work) and now you say it _does_ work on T-Mobile.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] android666:
kind question: anyone tested if tmobile works with 1.1 without flapping ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
The custom build is now built, seems to be working: file `lineage-20.0-20230117-4microg-CUSTOM-PLUS-E-lilac.zip` can be downloaded for AndroidFileHost

The ROM no longer contains Fennec browser, because of problems with apk signing that I was unable to solve. If you are clean flashing the ROM, and you want to use Fennec, you will need to install it from F-Droid.

However, I dirty flashed the ROM on my daily driver (after testing on my test phone - I'm not that confident :) ) and Fennec was still present. I have no idea how that worked, I'm just happy it did :)

As always, any feedback is welcome. Good luck!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] maarek7:
Hi,

What was the solution? Just SafetyNet Fix (2.4.0?) or did You use MagiskHidePropsConf as well?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] LoisSherman13:
At the time I was missing safetynet fix. Once I got safetynet fix and magiskhide, everything passes.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] maarek7:
And what version of SafetyNet?

Did You changed Your fingerprint using MagiskHide?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] LoisSherman13:
I have version 2.3.1. And I honestly don’t really remember. I’m pretty sure I did change the fingerprint at first and still couldn’t get anything to pass but it’s because I was missing safetynet
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
Release v2.4.0 (early access) · kdrag0n/safetynet-fix

Highlights Play Integrity bypass without breaking device checks or causing other issues Disabled use of hardware attestation on Pixel 7 and newer (@anirudhgupta109) Other changes Updated instruc...

github.com
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] maarek7:
I've tried newest and 2.3.1 and still failed. I also tried few MHPCs but issue was lack of clearing Google Framework data at first place (I just cleaned Play Store and Services).

Currently 2.4.0 and MHPC 7.0.1 works like a charm.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
Same here. I'm thinking kernel related because it's not working on any custom rom for our device for some time now and they all use the same kernel. I created an issue on the github page for the kernel and am in contact with derfalot to see if I can help him fix this. I might ask to share logs later.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] maarek7:
There is a tutorial in previous page.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
I noticed that. But did anyone here get it working with those steps? There was a supposed fix with micro g in LOS 19 as well. Which soft bricked my phone (several attempts) . Anyway an "out of the box" fix is always better. But I'll relay the post to derfelot. Maybe it'll help him fix it.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cailloup:
I installed magisk, activated zygisk in settings

Then installed safetynet fix from magisk, reboot

Select my problematic app in DenyList and select enforce DenyList

My app still didn't work so I kept going

Some tutorial suggests to install shamiko, it asks to disable "enforce denylist"

Releases · LSPosed/LSPosed.github.io

Contribute to LSPosed/LSPosed.github.io development by creating an account on GitHub.

github.com

Tutorial also suggest to select some stuff in google play service, in deny list

Then hide magisk app and also deleted /twrp folder as advised here

Fix: root magisk detected bank banking app

Hello together, if you start e.g. your banking app and you run into problems like "cant start, your devices may be rooted" Be sure the device is certified and safetynet is ok -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Here is the solution if you have installed magisk v23 or smaller...

xiaomi.eu

Probably some of those steps were useless, but I can finally open the problematic app :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
@derf elot did it again. He checked over some of my logs and provided a fix for android auto on our device. Audio playback over USB C works too. The fix will be implemented in the next release.

Don't forget to donate to the legend himself.

derf elot's Developer Profile | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

Anyway, if you don't wanna wait AND have ROOT access, follow below steps. It works for me (1.1, not sure if it'll work on 1.0)

1. Download a root file explorer (like solid explorer), doing this through twrp causes permission issues.

2. Download attached file

3. Rename the downloaded file to init.yoshino.usb.rc

4. Rename /vendor/etc/init/hw/init.yoshino.usb.rc to init.yoshino.usb.rc.old

5. Move the renamed file from step 2 to /vendor/etc/init/hw/

6. Reboot

7. Enjoy AA

Issues?

a. Booting system, but having issues after changes? Undo above steps.

b. Not booting system after changes? Boot into twrp, mount system & vendor, undo above steps.

Again, don't forget to donate. @derf elot deserves all the credit for this.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gladykov:
For those having problem with MagiskHide and SafetyNet - Magisk Delta could be your solution. Just remember to always grab it from GitHub
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cailloup:
I don't have this folder 🤔

I have

vendor/etc

system/etc/init/hw/init.rc

/init.recovery.usb.rc

should I create vendor/etc/init/hw/copy your file here?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
If you do this in TWRP and not in the ROM itself, you need to manually mount vendor partition first ("MOUNT" -> select vendor).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cailloup:
all right so vendor mounted from twrp

old file renamed

new file copyed

reboot without problem

But nothing happens when plugging the phone to the car :cry:

I probably missed some newbie step

According to wilcosnel, root is needed

before installed magisk, I wasn't rooted (I only installed LOS)

Now that I have magisk, some apps refused to run saying I'm root (so I added them to magisk deny list...)

Installing magisk "activates" root?

What am I missing for android auto?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
did you rename the file you copied over before or after copying? When you download it, it will be called init.yoshino.usb.rc.txt due to forum restrictions.

edit: root is only needed if you do it within rom itself, and not from within twrp
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cailloup:
Yes .txt was removed (I have .rc.old and .rc in vendor/etc/init/hw, I just double checked :))

android auto app is uptodate

could there be some usb settings to put on or off in developer settings ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
strange. no, nothing special needs to be done.

are you on the latest MindTheGapps official version? I only tested it using an android auto emulator with those gapps
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
Are you on 1.1 or 1.0? And using mind the gapps? USB debugging in developer options is set to off? And was your latest flash a dirty flash or clean flash? Now that you have root, download solid explorer, enable root folder directory and go to vendor/etc/init/hw. Make a screenshot of the folder contents please.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cailloup:
I'm on the OP Gapps

Codefire - Downloading /jdcteam/javelinanddart/gapps/MindTheGapps-13.0.0-arm64-20221025_100653.zip

1.0 was clean flash

I'm on 1.1 without wipe

I tried both USB debugging on and off

I hope clean flash of 1.1 is not mandatory 🥺
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
yes, maybe copying it with twrp messed up the file permissions. it needs 644 afair (rw,r,r)

So checking with a root file explorer would be a good idea.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cailloup:
installed solid explorer

checked the .rc file, was rw-rw-r

delete file

copy paste the same file I copied on TWRP

check the file, is now rw-r-r

reboot

plug to the car

and....

dam' you're good :cowboy: AA works now, it was the last not working thing for me compared to stock ROM

thanks a lot, sorry I didn't strictly follow tutorial with root file explorer!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] knutlegrand:
Hi,

Have just tried to find VoLTE/VoWifi options but didn't find them. Where are they located ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] an-ca:
Hello,

I would like to try the build.

However, when trying to flash the provided TWRP, this happens:

fastboot flash recovery twrp.img
Sending 'recovery' (39360 KB) OKAY [ 1.270s]
Writing 'recovery' FAILED (remote: 'size too large')
fastboot: error: Command failed

I just bought the phone and the previous owner installed LOS 18.

I don't quite understand why the provided recovery wouldn't fit.

Is the size of the recovery partition — if that's the correct term — variable?

If so, how to resize it so that the provided TWRP fits?

Anthony.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] __raptor__:
Don't know if useful: I had similar problems with with my phone when flashing something. The problems only occurred on USB3 ports. Try a USB 2 port or use an old USB 2 hub.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] decsimon:
Hi, if i Press rec call button, It Say that recording Is not ok.....i give all permission possible.....but nothing....
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] decsimon:
Hi, if i Press rec call button, It Say that recording Is not ok.....i give all permission possible.....but nothing....i use last version of rom and Nikgapps full
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] an-ca:
I have tried: it didn't work either.

New tip: when trying to install the image from within TWRP, the message "Size of image is larger than target device".

So it seems it is a matter of partition size.

@No1Alien is it necessary to use the provided TWRP?

Anyone: any way to resize the space for recovery? any idea on why it could have been changed — because it seems to work on many other phones?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] an-ca:
Well, I found the issue: I confused XZ1 with Z1. Very sorry.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Just figured out how to activate VoLTE if your carrier doesn't officially support you'r device.

Turns out the right modem for my network (Yettel Bulgaria, formerly Telenor Bulgaria) was the Telenor Denmark one. I also made sure that VoLTE was active for me on the operator's side. It still didn't work though, the device showed that it's not registered for VoLTE in the service menu and the 4G Calling options were missing in Sim settings.

Yesterday I found a Magisk module called "VoEnabler" which edits build.prop to add these options. Well that did the trick for me - options are there and service menu shows "registered for VoLTE".
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jfora:
Same problem here, same version 1.1, same MtG, TWRP 3.6.2_12-0. Offline message.

Thus I can't update apps. Android also asks to connect to the a network, but I'm already connected to my Wifi. Can't continue in the dialog windows.

Otherwise, everythings works fine.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Not a fix, but you could work around it by installing Aurora Store. I gets its apps from the Play store, so you should be able to get app updates, though they won't be automatic
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Brickt0p:
Oh, yeah, thats a very good suggestion, will try this out, thanks a lot!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] P*SERUM:
Just flashed Lineage OS, so far everything is working fine except 2 problems:

1. For most of the wifi I'm connecting it shows that it's "limited connection", the network itself is working fine despite that so really not a huge problem, but it's just annoying to see it.

2. I'm currently living in China right now and the two SIM cards I have can't be detected by the phone, I was fiddling around with the modem (Which I'm not sure if it does anything) but so far haven't made it work.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] surdnum:
I flashed "lineage-20.0-20230108-UNOFFICIAL-1.1-lilac" on SO-02K.

most features is working fine, but have one probrem.

sim card is detected and display carrier name, but not connection.

I tried change apn setting and change modem switcher activity in "xperia parts".

they didn't improve.

Since this OS is mainly applied to G8441, some drivers seem to be different from SO-02K. Is there a solution?

os lineage-20.0-20230108-UNOFFICIAL-1.1-lilac

gapps MindTheGapps-13.0.0-arm64-20221025_100653

magisk v25.2

device SO-02K

carrier docomo(Japanese) data only.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] maarek7:
Try to wipe cache of PlayStore and Google Services Framework.

You might also try to change Play Store settings to update via WiFi only and then back through all networks.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jfora:
Thanks for the suggestions, but it didn't work unfortunately.

Since I upgraded to so many lineage versions after another, I'm considering a full clean install...

Does anyone know a 20.0 opengapps is available?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Hey guys, I have a question about the "IMS features" option in Xperia Parts.

Changing the modem part is clear to me, but is this designed to also enable toggling IMS/Volte/VoWifi options in Sim settings as well?

I struggled to enable Volte until I found a magisk module, which edits build.prop to make the options appear in settings.

Can someone confirm if this is how it works on their phone too?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I have never needed to do this. VoLTE has always "just worked" for me, though after a clean flash the phone will reboot "to be optimised for your network provider". My provider is "Your Co-op", a UK MVNO on the EE network
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
I think i understand now. My operator (Telenor Bulgaria) doesn't "officially" support XZ1c for Volte, but many users report that Telenor Denmark/Norway modems activates it (Since the operator has the Volte service in general). And it does along with the Magisk module.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] fox31212:
hi, i flashed this firmware. I'm having trouble. The first time the phone started up well, but a message appeared that you need to restart the device to apply the mobile network settings. After that, the firmware does not start, it is constantly rebooting.

I used lineage 19, then dirty upgraded and used 20 1.0, but then upgraded to 20 1.1 and had a problem.

I should have made a backup...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I'm trying to make a build using the `lineage-20` branch, and I'm geting the following error

FAILED:
build/make/core/main.mk:1308: warning: device/sony/lilac/lineage_lilac.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
ih8sn.conf
build/make/core/main.mk:1308: error: Build failed.

I guess something has changed since my last build, and I'll go looking for any recent relevant commits, but if anyone has any shrotcuts or tips... :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Put this on top of lilac/device.mk:

TARGET_DISABLE_EPPE := true

EPPE enforcement is a LineageOS-side change. Been a while though (October?), so I guess your old build or last full sync is quite old.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Thanks. I'll do that. But this is on a clound instance with a fresh sync. Last commit in `device/sony/lilac/` was

commit dca9c5f6f7d7aadc1d02f8be50d34364b69e4253 (HEAD, m/v4.0, github/lineage-20)
Author: derfelot <derfelot.git@gmail.com>
Date: Sun Jan 22 01:49:08 2023 +0100

lilac: proprietary: Remove duplicate blobs
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rsk_kelkar:
Is this fix applicable to older LOS versions too? I'm specifically looking at the last LOS with official Sony cam which is 18.1 I think
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
yes, i think this should fix it all the way back to los 15.1.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rsk_kelkar:
Sorry I wasn't clear earlier. I mean to ask if the same file shared here can be used with the older LOS builds or it needs to be built again respectively
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arnaupacheco5:
Hi, is upgrading from LineageOS 18.1 (Android 11) possible? How would I go about it? Kinda new to this
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
Had two successful dirty flashes from 18.1 to 20: On one device, I wiped /system at first, while keeping my data. On the second device, I just flashed it without wiping anything. Both working fine.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arnaupacheco5:
Oh great, I'll give it a shot. Do I need to install updated GApps or do I use the ones I already have?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Yes, I think I understood what you meant. And yes, you should be able to use that file at least down to los 17.1

You should flash the appropriate GApps (for android 13) after the rom before booting.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
Hello

Any idea how to remove Google Search Bar widget from the main screen?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I just clean installed the latest build (`lineage-20.0-20230108-UNOFFICIAL-1.1-lilac.zip`), with no GApps, and I have no Search widget on any of the Trebuchet home screens.

The usual way to remove a widget in Trebuchet is hold the widget, then move it over the 'Remove' button thatappears at the top of the screen. Does that not work for you?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
If you don't have a solution yet: I assume you're building with the docker-lineage-cicd environment, if so take a look at src/build.sh, around line 269:

echo ">> [$(date)] Adding custom packages ($CUSTOM_PACKAGES)"
sed -i "1s;^;PRODUCT_PACKAGES += $CUSTOM_PACKAGES\n\n;" "vendor/$vendor/config/common.mk"

The problem might be an error in the packages listed in CUSTOM_PACKAGES.

I've done several successful builds in jan/feb, I don't think it's a problem in one of the repo's. (Note I don't include custom packages at all in the build).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Thanks, but @derf elot provided a workaround in this post

And I've found a possible fix, which involves creating a `ih8sn.conf` file for lilac, which may or may not help with passing Safety Net. I'll report back :)

BUILD_SECURITY_PATCH_DATE=2019-09-01
BUILD_FINGERPRINT=Sony/G8441/G8441:9/47.2.A.11.228/3311891731:user/release-keys
BUILD_TAGS=release-keys
BUILD_TYPE=user
BUILD_VERSION_RELEASE=9
DEBUGGABLE=0
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
Hello everyone,

Not seeing too much news from Havoc OS, I'm going to upgrade to LineageOS 20.0. Is the latter expected to be followed or will it end up as Havoc OS? ^^'

Otherwise, do we agree that it is best to start on a healthy basis by returning my phone to the stock version?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
There shouldn't be any need for that. I'm pretty sure I had no problems flashing a LineageOS-based custom ROM (/e/OS) over HavocOS back in the day.

And I do a lot of swapping between different custom ROMs (Lineage4Migrog, "vanilla" LineaegeOS, /e/OS, IodéOS) and different Android versions, with no problems. I usually format data partitions when swapping between Android versions, unless it is a "dirty flash" of the same OS (e.g. Lineage4MicroG 19 to Lineage4MicroG, IodéOS 3 -> IdoéOS 4)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
That worked for me when building IodéOS 4.0 (which is android 13 / LOS 20). The content of the file was

BUILD_SECURITY_PATCH_DATE=2019-09-01
#BUILD_FINGERPRINT=Sony/G8441/G8441:9/47.2.A.11.228/3311891731:user/release-keys
BUILD_TAGS=release-keys
BUILD_TYPE=user-debug
BUILD_VERSION_RELEASE=9
DEBUGGABLE=1

**But**, I belive that Iodé do some "special magic" using ih8sn to pass SafetyNet. I haven't worked out how to achieve the same result in LOS / Lineage4microG 20 builds. I pan to experiment with @Flamefire's patches for his LOS 19.1 builds - specifically this patch, to see if it will work with LOS20 builds
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] maarek7:
Hi,

From my perspective it does not matter on a long term. I've tried it all. To give You a picture - I just upgraded from Havoc 3.11 recently (downgraded from 5.7 after a while just to play with Android Auto), got all Lineages as well then and now. At the end - You might find specific features which You'll like and appreciate - this should be important for You. But You need to try it all.

As far as You get security upgrades it's all good and safe. Neither Havoc and Lineage are dead. Folks are spending their private time on it, do not expect to have upgrades each month (like in the past). Sometimes there is nothing to upgrade and bugs are so minor that it's better to wait for new stuff coming. Or the bugs are so major that they won't release new version since all scenarios will be tested by community.

Like I said - just migrate and check it. You might like that Lineage 19 is smooth, but 20 has some new Google sh*t. On the other hand Havoc allows You to adjust battery icon in 14 different ways but it might drain more battery and after a wipe You need to spend 2 hours adjusting it again since backup might now work as expected. And this and that and dozens other examples. Or Sony camera patch, or Lineage's stock one or the one Havoc have, etc. etc.

As a summary - just try it. You can use Migrate app / TWRP to backup current system and use new one for a week. You'll notice which features are important and handy, which are meaningless after few days. You don't like it - backup, root, set up wallet again and You already know one firmware. 6 more to go:P

Since You're considering stock one, why You asked this question at first place? Isn't Your current firmware better than stock one?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
Thanks, I always tend to go back to stock for more stability but I'll try flashing and booting directly into the TWRP provided in this thread, format data, reboot to recovery and wipe all internal partitions

Sorry, I don't speak English very well and use Google translation (I'm French).

Thank you for the reminder to make a backup via TWRP under Havoc OS to come back to it in case I actually miss certain features compared to LineageOS.

I was just asking the question because my only motivation, besides the curiosity of this A13 version, is to have the most recent security upgrade. I am on July 05, 2022 currently under HavocOS.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
HavocOS is dead as far as I'm aware.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
Concretely, the options that I appreciate on HavocOS are:

1) the button dedicated to the camera which works correctly

2) Network traffic in the status bar

3) To display the seconds in the status bar

Are these options available on LineageOS 20.0?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] maarek7:
Anushek says opposite on Telegram (https://t.me/s/Havoc_OS):