yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Gameninja:
Hi,

I did all the steps mentioned, unfortunately Zip verification fails every time.

Tried to install w/o verification but the mindthegapps version also fails, as well as Version 13 from the Website.

I tried both ARM-Versions.

These steps work w/o errors:

flash and boot into the TWRP provided in this thread,

format

data, reboot to recovery

when I wipe all internal partitions I assume u mean Wipe>AdvancedWipe>[Select all except Micro SDcard]

I get the error "E:Unable to wipe '/usb-otg' -- unknown file system 'auto'" "Unable to wipe /usb-otg."

Flashing the ROM

with options "Zip SIgnature verification" & "Skip Digest check before installing zip" (tried both with & without this one)

Error here: "Zip signature verification failed! Error installing zip file 'lineage20-1.3lilac.zip'"

So I installed w/o Signature verification. (which I'd preferably avoid)

Flashing MTG (Verification works here)

Error when installing: "Updater process ended with ERROR: 1 Error installing zip file 'MTG-10-arm.zip'"

I haven't really found something useful searching the web.

EDIT: I managed to install MindTheGapps (13) by installing Magisk first. Problem /w verification remains.

Help appreciated.

Regards,

Michael
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] taloytoy2000injapan:
Hi. I have been reading and following this thread as I am interested in flashing this rom on my Docomo version. I have yet to find the step by step instructions.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Gameninja:
By installation instructions I was referring to the main post which has a section called „installation“. It’s the first paragraph if I remember correctly.

Hope this helps
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] decsimon:
Hi, rom Is interesting, but there are not a camera apk with video stability good as original Sony apk.....
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 7alvoo:
I'm not real experience with this pack's: https://gitlab.com/xperiance
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] decsimon:
I Will try It...thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] taloytoy2000injapan:
Thanks very much
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DocMAX:
Is desktop mode working for anyone?

oh, and my playstore got offline too (dirtyflash, deleted playstore and framework data)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] decsimon:
...if i try to install zip file (camera master.zip) with magisk, it say that unzip error...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Help! (Please)

Mobile data is not working in my latest builds. I have made recent builds of /e/OS, los4microg and IodeOS this month using @whatawurst's latest sources, but mobile data isn't working in any of them. I have just tried downloading and flashing the latest 'normal` LOS ROM from the first post (lineage-20.0-20230715-UNOFFICIAL-1.3-lilac.zip) and mobile data isnt working with that ROM either.

I have tried

Different phones - I have a few XZ1Cs, none of them have working mobile data wit recent builds. All have working data with my earlier builds (from around 10 July)

Different SIMs - EE, Vodafone and GiffGaff. All work fine in a different phone model, and with earlier builds.

Several clean rebuilds

Looking in the git repos, the only changes since my last working builds have been in the kernel msm8998 and device yoshino-common repos, but I don't see anything obvious in recent commits that may be causing the problem.

I have run out of ideas as to what the problem might be. Any clues would be very welcome. Thanks

EDIT:

The Status bar shows '4G' but there is an exclamation mark ('!') on the right of the signal strength icon.

Settings | Network and Internet | Internet shows 'Vodafone. Connected/4G'
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Try dialing *#*#4636#*#*, then in "set preffered network type, change it to whatever, then turn it back to the original settings.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Thanks, but that didn't work. I had tried changing preferred network type in Settings to 3G then back, but that doesn;t work either :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
I am using the phone in Japan.

In my case every time I update the rom,

data/user_de/0/com.android.phone/files/carrierconfig-com.android.carrierconfig~xml

I'm replacing this content with the version that the phone works.

Root is required.

Please excuse my weird English.

Best regards.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
Just flashed your latest l4m build over the previous. LTE data seems fine. Successfully tried different settings in *#*#4636#*#* -> phone info like 'LTE only' and 'LTE/WCDMA'. Will look into /data/user_de/0/com.android.phone/files/carrierconfig tomorrow and post its content.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
My problem is that every time I update the ROM, the item "Calls over 4G line" disappears.

The antenna level is fine, but the phone does not work.

After changing the carrierconfig and restarting the phone, "calling over 4G line" is back and the phone works.

Just for your information.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] k_basara:
This rom calls TWRP for a factory reset. After that, I found it leaves user files on the phone untouched (docs, pics, etc.).

If I want to perform a REAL factory reset, i.e., keep those come with the phone and rom, wipe everything else on the phone's storage. How can I do that?

Thanks.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
The problem is only with my IodeOS build. Mobile data was failing in the others because I'd used all my data allowance on the pre-pay SIM I use for testing :(

I'll make a new clean IodeOS build and move on from there. Thanks all for your help
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Oh, the problem then should be in upstream Iode imo.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I don;t think so - an IodéOS build the same day for a different device worked fine. I suspect the problem was something dodgy in my build tree. So a completely clean build will start shortly :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Build 1.4 has been out for some time!

How does the change to the Lineage common kernel affects us exactly?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
@petefoth your latest l4m built is running fine! Also, battery life has improve by a great deal. Thank you!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Flamefire:
I'm also interested in this. Which kernel change exactly are you referring too? I've seen the whatawurst repo introduce a new (likely rebased) lineage-20 branch but not what it is based on.

Also: Which 1.4 build? I.e. where? Can't seem to find it.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Because we were missing a bunch of scheduler/eas updates, and manually cherry-picking the differences resulted in loads of conflicts that I didn't want to bother to resolve, i rebased onto the common lineage msm8998 kernel: https://github.com/LineageOS/android_kernel_qcom_msm8998

I current have not yet inluded the CIP updates, because I want to fix the issues reported with the wired mic's (which i cannot really reproduce myself). I have an idea which commit(s) in st20/st25 are the likely culprits, but need someone to test this.

Releases (and brief changelogs) are always on the sourceforge site: https://sourceforge.net/projects/yoshino/files/
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Flamefire:
Strange as I'd have them too or at least reports of them in my 17-19 builds.

Which issue is this exactly? The feedback-from-headset-mic issue in https://xdaforums.com/t/rom-lineageos-20-0-unofficial-1-2-2023-05-10.4500913/post-88779805 should be fixed by https://github.com/whatawurst/andro...mits/b743b210a83cf1a7c47c07f3ae8d6db65c62eb8b

But this was easy (for me) to reproduce so I guess you are referring to another issue?

If you already suspect a tag or even commits and someone can reliably reproduce this then maybe attach a couple boot.img (`make bootimage` instead of bacon) to try out?

If you need another pair of eyes tag me on Github or link the commits you suspect to be the issue.

Those weren't on my radar O.o Which ones are those/where have you seen them? I see quite some scheduler related changes in https://review.lineageos.org/q/project:LineageOS/android_kernel_qcom_msm8998 but also a lot of other activity as they likely take each commit separately instead of e.g. merging CIP
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tybalt941:
Hi everybody. I've been using this ROM for a few months with no issues whatsoever on my European G8441 model in Germany, but I'm now visiting the US and I got a prepaid SIM from Walmart (Ultra I think) that uses T-Mobile. It was working perfectly for two or three days then suddenly mobile data went out completely (SIM is recognized but no connection) and wifi is on the fritz, disconnecting and reconnecting several times per minute occasionally. I put my German SIM back in and same issue now. Could this be ROM-related or is my phone just dead?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gladykov:
Dirty Flashed. Works well. Small difference with 19.1

- clicking clock in status bar does not open Alarm app anymore

Bugs still existing (comparing to 19.1):

- slide on status bar to adjust screen brightness does not work

-setting saturation to less than 50% causes screen to go BW

- blinking cursor sometimes disappears in address bar of Opera Browser
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] victor126:
no i said t Mobil and its virtual carriers like mint are the only ones this phone is not white listed on so yes it works on t mobile.

white listed meaning it works on att and its virtual carriers but they wont provision the volte because sony didnt give them some paperwork or money i guess.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
My phone is fine even at 20% illumination.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gladykov:
Saturation. Not illumination. 😊
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tonsofquestions:
Perhaps there's a misunderstand of what "white listed" means.

It suggests it's "explicitly allowed".

To say some carries are "the only ones where it's not whitelisted" would suggest that (a) it's whitelisted (and allowed) on other carriers, and (b) not allowed on T-Mobile and MVNOs.

But it is allowed on T-Mobile, and it's not allowed on others like AT&T - which is the opposite of what you said. So you must either mean it's not blacklisted on T-Mobile, or it is whitelisted on it.

Or maybe you mean something else entirely - at which point I'm again confused.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] azndan2:
this is after changing the contents of carrierconfig?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Brickt0p:
just tried to flash it, unfortunately after flashing new twrp version and reboot to recovery I wiped everything:

- system

- cache

- dalvic

- internal memory

After reboot TWRP shows only splashscreen and when restarting it ends in a bootloop. I assume I have to flash twrp via adb via USB connection now, which is currently not possible for me due to no computer available :(

I assume this issue could have been prevented by not wiping cache, right? can someone please confirm.

Also does someon has an idea on how to turn off the phone now? or do I need to run Bootloop until battery is empty?

Thanks and best regards!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Press power + vol up to turn off.

Format data properly - go in the Format data option then type "yes".
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] azndan2:
I tried replacing carrierconfig contents with those taken from the stock US rom. I also turned on IMS features in Xperia parts but still can't get service on T-mobile. Any ideas?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Brickt0p:
yes "Press power + vol up to turn off" did the trick, phone is now turned off :)

I already performed "Format Data" after I flashed new TWRP.

I assume the "TWRP Splash Screen Issue" arised due to wiping "Cache" unnecessarily afterwards.

I am guessing this as the following is stated in the TWRP FAQ therefore:

What should I wipe in TWRP?

If you are switching ROMs (changing from one ROM to a completely different one) then you should perform a factory reset. A factory reset wipes data and cache...

twrp.me

At this point, cache (not dalvik cache) is primarily used for recovery. It's used to store the recovery log and for storing OTA (Over The Air) updates. You probably don't need to wipe cache, and cache is already wiped as part of a factory reset.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
I think it's a completely different matter.

I am not using Xperia parts.

Will 3G calling work?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] azndan2:
I was able to get LTE working on T-Mobile.

Steps:

1. Flash TWRP in OP using fastboot, or existing TWRP.

2. Install LOS 20 zip using TWRP

3. Install Gapps from OP using TWRP

4. (optional) Install magisk

5. In xperiaparts, toggle IMS then auto-reboot

6. Switch to 3G, wait till it obtains EDGE connection (this can take a very long time. 1-5 mins)

7. Switch to LTE, it will eventually obtain LTE connection after 1-2 mins.

Anyone have any idea on how to get around this? Would prefer not to have to do this every time lol.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GT500s:
Great rom ,smooth and very good battery life. Noticed problem with some apps that are closing after open like Xplore or Textra SMS. Also LTE internet speed is very low comparing to Lineage 18 or 19 that i was using previously.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Haven't tried it yet but i'm tempted. I will switch to this rom for sure eventually!

On a side note since it's unofficial, is it possible to add signature spoofing for MicroG?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] decsimon:
Hi, there is Gcam mod apk working with this Rom? Gcam from PlayStore work only for photo, not for video....thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
Thanks a lot for the rom!

I've noticed that Wifi Calling / VoLTE is not working...

Tried several options from Xperia Parts -> Modem Switcher Activity and still calls not showing them...

Any advice?

** My service provider supports both

Another question, any way to revert to stock camera?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
hello everyone

what about the safety net?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Brickt0p:
Paypal app iss not working for me, when I open it the app directly closes. Also clearing app cache didn‘t change anything.

I haven‘t installed Magisk, so not rootet currently.

Are you guys also face this issue?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Senz9090:
Get the one from march 2022 version. ( And update from playstore, not sure its working).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rez78:
Try to uninstall play services update
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] blackspawn:
@tybalt941

Usually that is fixed by downgrading to 3G as the preferred network (network settings), rebooting then wait for signal to be acquired and changing it back to 4G (sometimes the reboot might not be necessary, just wait for signal after the 3G switch then switch back to 4G). Happens to me too every now and then.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] q4q9x:
I originally flashed v1.2 of this ROM along with twrp and MindTheGapps.

When updating to v1.4, is it sufficient to flash lineage-20.0-20230813-UNOFFICIAL-1.4-lilac, and not twrp and MTG?

EDIT: Answered my own question. TWRP hadn't been updated in the interim; I flashed 1.4, then MTG, and all's well.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mulcahey:
Thank you for this ROM! Excited to try it.

One thing that might work well on a compact phone: Smaller quick setting tiles, like the kind that existed before Android 12. I know ASUS phones have brought them back in their version of Android 13. Could be great on this ROM.

Thanks again!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Zayeah:
Hi all, I have just received a second hand XZ1 Compact after meticulously researching suitable compact phones for me after having previously loved the Z5 years ago (I have more recently been using Pixel 4a). I am completely new to this world of ROMs, flashing etc. I am therefore a little uneasy about the process, and I want to make sure I get everything right first time, don't do anything wrong, and e.g. don't break the phone.

If I could please have a little hand holding/guidance through this process for my first time that would be very much appreciated.

It seems the first thing I should do is to to backup the TA partition (DRM keys) according to this Reddit post which contains a link to this XDA post from 2018 titled Tools to backup TA partition (drm keys) of Xperia XZ1 Compact

The XZ1 Compact I have is on firmware 47.2.A.11.228 and unfortunately it looks like this firmware is not included in the XDA post linked above, and the post says it is required to downgrade and flash a supported firmware.

Firstly, before I go any further and downgrade, I want to check whether it is indeed necessary for me to downgrade firmware or, since that post is from 2018, is there a more recent method/guide as to how to backup TA partition on firmware 47.2.A.11.228? One of the main reasons I want to check this is that it looks complicated to downgrade firmware in order to backup TA partition - looking at the linked thread in the Tools to backup TA partition (drm keys) of Xperia XZ1 Compact post (where it says "In order to be able to use the tools, you need to flash one of the supported firmwares (or be lucky to have the phone already running it).

In case you need to downgrade, please check this thread first."). So if there is a more recent/simpler method that would be great.

Thank you!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mulcahey:
This might be possible by booting into TWRP and using the Wipe/Format function
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mulcahey:
If I change my device fingerprint via Termux, will I have to re-register messaging services like Signal? My messaging apps (Signal, Beeper) are linked to several desktops, so I'd hate to have to re-register all of them.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
I don't know what this TA backup should achieve. My xz1c runs Lineage since 2019 and I never needed it. Same for the device of my partner. I think you don't need to bother.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Zayeah:
Ok, I was under the impression from information I read in this forum that it was required to restore the DRM keys to the phone in order that certain features function properly, such as the camera for example.

Have you have had any issues with/required workarounds for the camera for example, or anything else?

Is my assumption correct that it is not possible to restore the original ROM to the original state without a backup and restore of the TA partition/DRM keys? I think not being able to restore the TA partition/DRM keys also voids the warranty if I decide I would like to return the phone to the used market seller I bought it from.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
As far as I know, backing up the TA partition is useful if you use stock rom since some of the in-built sony features break without it.

Now honestly that would've been a problem up until android oreo because the camera wouldn't work. Since Pie though that's not the case at all. Then again you have modofied kernel which restores all functionality.

Some people claim it breaks camera postprocessing, but I've never seen direct comparisons of photos. Also with Los 17.1 you can use the stock camera, but it's unclear whether it uses Drm keys or not at all.

If youre using android 11/12/13, TA won't be needed at all, since the stock camera is gone.

Backing up TA would allow you to relock bootloader on stock. Don't take my word for it though.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
The cameras firmware is incompatible to LineageOS 18 and above. Thus, not only sony camera app does not work anymore with those distributions, also picture quality using other apps like OpenCamera has decreased slightly.

But still, this is independent from DRM keys and TA partition. I used Modpunks and later FlameFires 17.1 with sony camera app without any issues.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tonsofquestions:
Once rooted, you can install a DRM fix patch to correct for the missing TA. Most of the ROMs have this already applied, in case it was not backed up and restored.

It's also the case that Pie did away with that limitation.

That said, it's not terribly hard to back up, and seemed worth it to me, there's little downside. If you can't or don't want to, that's your call, and it isn't the end of the world.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] q4q9x:
Using v1.4 of this ROM (and v1.2 before it), I've experienced "hangs" of a sort while unlocking the phone.

While it's possible to enter the PIN (or apply the fingerprint), doing so has no apparent effect; the phone does not become unlocked.

It's necessary to hard-reboot the phone to regain functionality.

Is this a known issue? What would be the best approach towards gaining information necessary to understand it or report it on (and to whom)?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Zayeah:
Ok, what are Modpunks and FlameFires 17.1? I did some searches but couldn't find anything
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Zayeah:
Ok thank you. Do you know if LineageOS 20 has the TA/DRM fix patch kit (sorry, not sure what you were referring to by this) already applied?

Sorry, what limitation are limitation are you referring to that was done away with?

I'd like to back up, but I can't find out how to downgrade the firmware in order to be able to backup the TA in the guide I found on this forum (I'm not even sure if I'd need to downgrade the firmware still as the guide I came across was from a few years ago and I wonder whether there is a new method of backing up the TA without needing the downgrade?) I am on firmware 47.2.A.11.228, were you able to back up from that firmware?

Thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tonsofquestions:
Sony set their software so that in Oreo, if you lost your TA DRM keys, then the camera would stop working. A patch (for rooted devices) was made to skip this check. I haven't looked at that specific rom, but I imagine it was either applied or not relevant - because it's based on Pie or uses a different camera software. Possibly both.

I do not believe a temp root was ever found for the Pie Sony firmware so yest - you need the Oreo ROM.

As far as downgrading goes, try using the firmware in this thread/guide: https://xdaforums.com/t/xz1-compact...int-wi-fi-calling-step-by-step-guide.4502093/

I believe it's using a Oreo one since it needed a similar setup to start.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Zayeah:
I see. Thank you.

It looks like the firmware which is being upgraded to in that guide is the 47.2.A.11.228 which is the one I am currently on and need to downgrade from. I can't see mention of downgrading in that thread/guide. Am I missing something perhaps, any pointers?