yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Boy, I thought it was just me who had this issue, or there was a problem in general with Fitbit. Can anyone else confirm that the pairing process takes for ages after failing a lot of times at first? Also, I realized that, after switching bluetooth off and on again, it stops synchronizing at all and I have to pair it again. :confused:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mollusko:
HUGE thanks, & question re: Work Profiles (Shelter)

[MENTION=4297219]modpunk[/MENTION] et al:

First of all, thanks so much for an excellent ROM! Working flawlessly, all the hard work is massively appreciated.

I'm interested in using Shelter [f-droid app that leverages the Work Profile to provide app sandboxing] to sandbox/run multiple copies of a few apps, however the app warns that Work Profiles must be properly implemented in the ROM otherwise potential bricking can occur. Seeing as I don't exactly want to brick my device (oddly enough), can the devs or anyone else confirm whether Work Profiles are properly implemented in this ROM?

Many thanks, and please excuse if this is something I could verify myself - if there is a way to do so that I am unaware of please let me know!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
I tried it on a fresh upgraded install (RC5 to 1.2)

This did not work for me. I created the privapp-permissions-microg.xml file and ensured it's contents before rebooting.

But after rebooting, my phone went into a bootloop.

Can you please check if you skipped any 'obvious' / noob steps perhaps; and add them too.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anarki@butterblume:
Sorry, I don't see any missing steps.

Have a look at your device's logcat via ADB. You'll see the log rotating again and again. Stop it with Ctrl-C and look for error messages.

Edit:

First hint

Look for messages like

PackageManager: Privileged permission android.permission.<PNAME> for package com.google.android.gms - not in privapp-permissions whitelist

where <PNAME> is a permission needed for microg. Put that permission into your xml file.

Second hint

Remove erroneously white spaces in your privapp-permissions-microg.xml - by just copying code from xda, I have one in line 3: "W HITELIST" (that is'n actually there in my text)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] OldAresius:
Hey guys, does it work for you to adjust the brightness of the notification LED in DND mode?

I can kind of dim the LED in general by choosing a darker color, but the brightness percentage seems to have no effect.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
You are right. In (Do not disturb) DND mode, adjusting brightness percentage has no effect (on 1.2, never checked in past versions).

Also, I was in RC5 until few days ago; and it feels the touch was nicer and less error prone in RC5. In 1.2 it feels bit weird.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
Has call recording been removed from 1.2? The option no longer appears during a call.

Edit:

Ah, so there is a change. Now there is a new file call_record_states.xml inside the Dialer.apk (decoded app). That file does not have entry for my country. The entries are like this:

<country allowed="true" iso="de" />

I entered a new line and my country's ISO code. Re-built the Dialer.apk but the new apk does not work. It's size is way smaller as well by the way compared to 1.2's stock Dialer.apk.

Turned out, we need to sign the new apk. I tried self-signing and it does not work either. The two errors for signed / non-signed are:

adb: failed to install ./Dialer.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.android.dialer signatures do not match previously installed version; ignoring!]

Signed using:

keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore ./Dialer.apk alias_name

And then when I try to install the self-signed Dialer.apk:

adb: failed to install ./Dialer.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1578295175.tmp/base.apk: File res/drawable-xhdpi-v4/quantum_ic_videocam_white_36.png in manifest does not exist]

What to do here [MENTION=4297219]modpunk[/MENTION] ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
FYI: [MENTION=4063475]derf elot[/MENTION] and I have ordered the Samsung Galaxy S10e and we will build a LineageOS ROM for it.

>>> I plan to support LineageOS 17.1 for the XZ1c till the end of the year. <<<
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslanon.e:
Oh no. Hope it gets lost in the mail? Is that the right response?

Oh yes.

---------- Post added at 06:03 PM ---------- Previous post was at 05:43 PM ----------

Jokes aside, would you be kind enough to share the reasons,or the thoughts behind the decision? It would help a lot (some).

Are newer Sony phones having too many quirks when it comes to custom ROM dev, for example?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
For me, let me start off by saying that I personally really like Sony phones. I've had an Xperia T, Z1C, Z3C and XZ1C. The XZ2C in my point of view was a bit of a disaster (no headphone jack, no side-mounted FP scanner, etc.) and Sony seems to have completely abandoned compact phones now. That's why I think the XZ1C is still the best (and probably last) "real" compact phone around. That's also why I am keeping mine and will also continue to work on it (and the XZ1) to get an as stable as possible 17.1 available. It will also probably take us a bit of time to get the ROM for the S10e in a state where it is ready to be used as a daily device, so in the meantime the XZ1C will stay my main device for now. I also won't get rid of it afterwards and likely keep it as a secondary device.

As for developing custom ROMs for recent Xperias, there are some annoying issues with Sony phones, such as the way IMS support is handled and using a heavily modified/Sony-specific camera stack and audio hal. Also, the lack of a 10 stock FW doesn't help either of course. But none of them are biggies and showstoppers (not yet anyway). A lot of msm8998 devices will continue to thrive and I am sure so will yoshino devices. But you have to keep in mind that Xperia devices have dramatically dropped in popularity over time so there are also fewer people owning these devices and even fewer that are able to develop for them.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Strigae:
Snapdragon (unlockable Chinese version) or Exynos (unlockable International version)? Just curious
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Exynos
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Lukapetr:
is it normal that camera in my case is kinda "reddish" ?Is there a better camera app to replace ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Sony stopped developing compact high end phones. It also doesn't look like there will be a compact phone by Sony anymore the Xperia 1 II and Xperia 10 II has been anounced without a word about compact phones.

The S10e is the only compact phone with great hardware right now. Also I worked on the Samsung Galaxy Alpha and reverse engineered a lot of stuff for it. So I know Exynos very well too. If Sony would have released a compact new phone, I would have bought that one.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dean F:
Can anyone confirm if this ROM works with the Japanese XZ1 Compact SO-02K? It's the only brand new version of the phone I can find.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I don't think we have a version for this device.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] :
Possible to undervolt CPU and GPU in kernel? Would be great addition to this rom. Otherwise, really stable rom.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] dhchris:
solved
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] dhchris:
double post
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Did you flash twrp to recovery and didn't just boot it? To flash it, use

fastboot flash recovery [.img name]

Once flashed it shouldn't get lost.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] dhchris:
Thanks, i´ve forgot this step.

Now its working.

But Miracast / ScreenMirror is not fully working on my phone.

I can connect to my MiracastDongle in the settings menu, and everytime i go back to homescreen the connection is lost.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Are you using Magisk and its hide module? IIRC, this caused some issues, so it would be worth it to try to disable that module.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] dhchris:
Yes I´m using Magisk and Hide.

I´ll try it without magisk but for some apps I need the hide function....

---------- Post added at 02:09 PM ---------- Previous post was at 02:05 PM ----------

@derf elot

did you know if this is fixed in the LOS17.0?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
I can't remember, I will have to try it.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] dhchris:
Thanks, thats great.

I'm excited about it, but these things are very important to me.

If an option doesn't work, I can't use the system.

Kind Regards,

Chris
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
I understand, but I also don't have a lot of motivation to go hunting for bugs caused by a 3rd party modification (which is what Magisk is). If there is an easy fix, fine. Please let me know if it works for you without Magisk and then I can have a look.

If it solved your issue, you can try to enable it again and manually set this prop (as root):

setprop persist.debug.wfd.appmonitoring 1
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] dhchris:
I tried this setting before. But the same problem.

Now I´m reflashing LOS and try it first complete without magisk.

If magisk is the problem, do you know a workaround to hide root for my banking apps?

---------- Post added at 03:03 PM ---------- Previous post was at 02:26 PM ----------

Oh yes, without magisk, it´s working without closing at homescreen.

With Magisk not. Not installed Magisk and not Magisk Hide.

Hmmm, I hope it works with my banking software.

Thank you [MENTION=4063475]derf elot[/MENTION].

maybe you can try the new version(17.0) if you have time

Kind regards,

Chris

---------- Post added at 03:03 PM ---------- Previous post was at 03:03 PM ----------

Oh yes, without magisk, it´s working without closing at homescreen.

With Magisk not. Not installed Magisk and not Magisk Hide.

Hmmm, I hope it works with my banking software.

Thank you [MENTION=4063475]derf elot[/MENTION].

maybe you can try the new version(17.0) if you have time

Kind regards,

Chris
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
So when you say you tried it without Magisk, I assume that means Magisk wasn't installed at all? IIRC, there is an option in the Magisk manager app to only use the core module and also to disable the hide option, after which a reboot is needed. That's probably a more convenient way to make WFD work, though it would still require reboots in between enabling and disabling hide again.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] p@to:
I do not recommend you. In that model you cannot unlock bootloader
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cheapster8:
I just installed the rom after getting really frustrated on havung full storage on the Sony rom and I've got to say that this is way smoother than I ever expected. The only issues I came up with were that:

- ROM didn't pass safetynet so banking apps didn't work at all. Is there a workaround for this other than flash Magisk?

- Sony Camera doesn't show the image after taking a picture in lower right corner of the screen. Is this due to not having the Sony Album app installed? I wouldn't classify this as a dealbreaker though.

Thank you for the developers for making this rom possible :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] alximiktik:
Anybody know how to open debug port on Lineageos 16? I want to change something in efs, for Volte. Thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] :
For the picture preview: There's a setting in the cam app which says "automatic preview" you have to switch to "on" (not only frontcam). Working for me without using Sony gallery...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cheapster8:
Yeah sorry I forgot to mention that in the post I made. I am aware of this option. However it does not offer the same functionality for videos. :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] BigBrother84:
If you care about original Sony apps installed form play store or apkmirror, not modified for other phones, check this out:

https://xdaforums.com/android/software-hacking/mod-sony-apps-enabler-install-sony-apps-t3590477

With it you will be able to install Sony gallery and systemize it maybe.

[MODULE][Terminal] App Systemizer v17.3.1

https://xdaforums.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851

Without systemizing it, deleting pictures from external storage doesn't work, with internal it works.

Edit: little preview doesn't appear with album installed... Apart from that this app has other advantages.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cheapster8:
I will take a look at this, thank you :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] BigBrother84:
(Sony apps) BTW,

Did anyone tried successful usage of 3d scan app from Sony. I tried with instructions from this thread:

https://xdaforums.com/android/apps-games/app-sony-3d-creator-t3669576

I know this is mostly useless function, but I really like to have 100% performance and functionality (or more :p) from my device.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
I've tried before and got segfaults. haven't looked into it any further, but let us know if you manage to ;)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] dhchris:
Hello there,

Ive a new Problem in this rom.

Every call is canceled after few seconds, sometime after 1-2 minutes.

What could that be?

Kind regards

Chris

Edit #1

I think that I solved this.

If I deactivate extended 4G in settings it seems to be working without problems.

But my other problem

"No Streaming (miracast/wfd) with Magisk"

Is actually present.

Tried so much different combinations in build.prop and magisk modules.

Nothing works.

Only a stable connection on miracast without magisk.

What changes made magisk that crashes the wfd connection?

I'm confused and helpless...

Hope it can fixed soon...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Time to move to lineage-17.1 :)

It is marked as RC0 (RC = Release Candidate), however it runs really stable and the known issues aren't a show stopper. So update and have fun.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] dhchris:
You're the best :good: :highfive:

Will try it soon...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rodongo:
Everything works great with this ROM, thanks for all your efforts! I hope you will keep this device supported for a long time! :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mulcahey:
If I backup my phone in LOS 16 and then install LOS 17, can I load the backup? Or does updating to LOS17 require a fresh set up?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Namnodorel:
What kind of backup?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mulcahey:
I'd use the backup/restore tool in TWRP, unless there's a better way.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Namnodorel:
TWRP backups that include your system data won't do what you want since they would restore your old OS too. I'm not sure whether it would work with just the data partition, but I personally wouldn't rely on it. What should work pretty well are "higher level" backups, like the individual app backups that Titanium Backup creates.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Aaq7for:
Some touches on the screen are not recognized

Updated from 1.0 to 1.2. It seems that the problem with touches has not been resolved. It is very annoying to open apps with two or even three clicks. Should I open the issue on github?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wirdSchoon:
I also have the problem with the screen - sometimes I need 2 -3 touches to start an app.

I would be happy if you make a request.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] FasterPhoneMaster:
Is it possible that you could upload latest firmware somewhere else also? I have been trying to download it from AndroidFileHost but I keep getting "OOPS! no mirrors found." error. The download started once but failed before the end.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Meth0d:
Why not grab them with xperifirm?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] FasterPhoneMaster:
It it easier to just download firmware already in right format. Last time I used XperiaFirm with X Compact on my previous laptop so I would have to set up once again. Also, do I need to convert firmware to different format? For flastool that was necessary but I don't know what is the case with newflasher.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
The main advantage of using Xperifirm is that you get all of the vendor optimizations for your carrier/region. I wouldn't want to use a stock FW other than from my region because IMS and other things may not work correctly. Mind you, those things stick even after flashing LOS on top.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Aaq7for:
Are you sure the problem is gone for u? Did you upgrade cleanly from stock or from the previous version of LOS?

I discovered in which case there might be the most unrecognized touches. I opened the issue on github
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] hgfelger:
WLAN Issue

I unlocked my bootloader, installed twrp-3.3.1-0-lilac-android10-1.img and then flashed lineage-16.0-20200211-UNOFFICIAL-v1.2-lilac.zip with addonsu-16.0-arm64-signed.zip and open_gapps-arm64-9.0-pico-20200311.zip.

Now I see my WLAN-SID. When I enter my WLAN key, it says "Netzwerk konnte nicht gespeichert werden" - which means, that the "network could not be saved".

I started a quick search with google. So some other people hat this issue too, but no straight solution.

Can someone point my a direction, what would be the most promising way, to get WLAN to work again?

Help is very much aprecheated!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] hraisins:
I had the same issue a couple of days ago, and the following steps (from memory, taken from a post I didn't care to bookmark) solved it for me:

1. boot into TWRP recovery (you might need to flash the pie-compatible one, to decrypt /data)

2. go to Advanced > File Manager

3. delete /data/misc/wifi/WifiConfigStore.xml

4. reboot
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] hgfelger:
Thank you very much for you fast reply! I was impatient and moved on to LinageOS 17. Till now, everything seems fine.

Cheers Hartwig
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] BigBrother84:
5ghz hotspot doesn't work. Is it only my device?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] i.j:
I have two XZ1C one still with stock version (original android 8.0) and the other with Lineage 16. Hotspot has no option for stock version (only works by default with 2.4Ghz) and with Lineage 16, is impossible to turn on the Wifi-hotspot when 5Ghz is selected :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DocMAX:
It has an ugly default vibration (1 short and 1 long). Anyone else?

How can i change it?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] betacrypt:
This is a fantastic rom. Very fast smooth and stable. Agreed on the vibration, it's really intense, wish there was a way to change the strength.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] drspinderwalf:
Yes, this ROM is perfect and has all the right components pre-installed. Thanks so much to the maintainers!

(thirded about the vibration)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] BigBrother84:
Hi,

I tried to install this magisk module:

https://xdaforums.com/redmi-note-5-pro/themes/magisk-long-screenshot-mod-android-9-t3956797

Unfortunately nothing happened... Module just doesn't show in magisk app and is missing in apps like nothing happened.

Maybe you know why :confused:

Edit: v2.0 shows in magisk settings but app doesn't show as app. I checked /system/app and /system/priv-app/ for needed files and everything is good.

I really miss long screenshot in LOS.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cvam1985:
Bootloop

What could be causing my phone to bootloop but only when a SIM is inserted? It begins to reboot about a minute after the UI loads.

I upgraded from Lineage 15 and also upgraded to the correct firmware version. Originally I did not wipe but then I did wipe and it's still bootlooping.

If I don't insert a SIM it doesn't give me issue.

Thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Can you try to get a log with

adb logcat -b radio | tee radio.log

?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nakopa:
onfused by the name! Especially the Calendar and Gallery app are really good! If you

Hey, if anyone could help me out with this: I've switched today on this RC and realized (I do play a fair amount of psp games on my phone) that my ps4 controller still connects and gets recognized as an input device, but doesn't do anything.

I've tried implementing legacy keylayouts under /system/usr/keylayout with rw r r but that didn't do any difference (I think we already have the mapping hidden under one of those vendor names). Some other thread mentioned something about the kernel?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
most things in stock kernel are also enabled here, but it's still possible that sth is missing. I've never tried to pair our ps4 controllers with the phone. so I can test this, do you just do it via BT or is a specific app needed?

edit: Ive just tested this with a different BT based joypad and there it's working fine. so either we have fixed the issue in the meantime (there have been quite some changes since rc0 which will be in the next release), or maybe something specific for the ps4 controller is missing
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nakopa:
I've tried connecting over Bluetooth via standard system method. My log cat is quite interesting, it's spamming thisbta_hh_co_data: Error: fd = 231, ready 0, len = 10. Maybe yes, it's fixed after the new release. I'll make an update if it works when the new RC is out. Never tried usb otg, if I get my hands on, I'll try that as well
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
We have serveral bluetooth fixes since RC0. I'm waiting for a new stock release to do RC1. I don't want to upload twice. The ROM is quite big in the meantime.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
APPS and SDcard access

I've looked again into some apps where I would like to put data on the sdcard, one of them is OSMand the other dict.cc. A quick check of the OSMand source doe shows that they request the obsolete permission: android.permission.WRITE_EXTERNAL_STORAGE

This has been deprecated in Android 5.0. The permissions is still there for apps to not break, but it is not how storage should be accessed. They need to use the Intent ACTION_OPEN_DOCUMENT_TREE and ACTION_OPEN_DOCUMENT.

https://stackoverflow.com/questions...access-api-presented-for-android-5-0-lollipop

To get this fixed we need to open bugs for those app that they fix there code!

Here is a bug report for OSMand but nobody reacts:

https://github.com/osmandapp/Osmand/issues/3105
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] marios199546:
[MENTION=4297219]modpunk[/MENTION] will you release a XZ1 (G8341) build ?