yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] .:B:.:
Looks like Sony has a full-time job keeping those blobs up to date lol. Thank you!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cvam1985:
Bootlooping radio log

[MENTION=4297219]modpunk[/MENTION] …

the last post where I included text was a radio log when my sim was not inserted.

With the SIM inserted:

Please see these photos attached, I took pictures of the red text in the radio log, I had to do it quickly before the phone started rebooting again.

Also, I should note that it was working just fine after I first upgraded from 15.1. For about 12 hours I was connected to mobile network with my phone and everything was fine. Then suddenly it froze and bootlooped. The only way to stop it since then is to remove the sim.

In the log I see things like "radio is on but not active" but I don't know anything about these logs. Thanks again

[IMG="log1"]https://i.postimg.cc/c4jgb70y/log1.jpg[/IMG]

[IMG="log2"]https://i.postimg.cc/Z5dBt959/log2.jpg[/IMG]

[IMG="log3"]https://i.postimg.cc/W4cD22d5/log3.jpg[/IMG]
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I saw those but I have no idea what it means, we are dealing with blackboxes. We don't have the source code for the blackboxes. I have no idea what went wrong. What you can try is to flash the stock firmware (modem) again. That often resets things and it starts working again. At least that fixed things a few times for me.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cvam1985:
OK I'll flash a stock ROM and cross my fingers. I'll try this ROM again when RC1 releases. Thanks for the work you do.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nouatik:
Small problem: Phone discharged during the night. Now i cant charge it, it just reboots after the offlinecharging-icon shows... Any suggestions on how i can fix it without reflashing stock.. :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nakopa:
Had an almost full discharge this night and the phone was steaming hot to touch, idk where to get logs or anything as logcat only goes to the last startup.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nouatik:
Found workaround:

Plug into pc,

Boot into fastboot

Boot into recovery

Phone charging in twrp :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] teguwecali:
Hi guys, is it worth upgrading to RC0? Or it is better to wait for RC1?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] danish0175:
Wait for RC1
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] j4nn:
Just tried a build from recent testing.

It seems to me camera stopped working either with upgrade to 10.62 blobs or with those opengl libs?

Just an impression, did not try to debug. Hopefully not a build issue on my site (did just incremental build without clean up, but with re-extract of the blobs).

Sony camera app hangs on take of a picture, the other camera app (los one?) is taking solid green pictures (surprisingly). Having drm keys lost or restored seems to have no influence on it.

Both camera apps worked ok on earlier build (with 10.45 blobs).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I'm pretty sure that the kernel interface changed from what I'm seeing in the logs. However there is no kernel source code drop for 10.62 yet.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] j4nn:
[MENTION=4297219]modpunk[/MENTION], I've repacked a xz1 kernel built from 10.45 fw sources for 10.62 firmware (posted here) and camera seems to work with stock fw as reported here - not tested myself, but confirmed via pm:

So I wonder if the problem with camera can really be caused by some kernel interface change?

And checking the firmware, even bootloader stayed the same (LA2_0_P_110) comparing 10.45 vs 10.62 (I've experienced camera hanging in past when running incompatible bootloader as it contains camera related drm blobs).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Yes, this problem tends to pop up sometimes if the BL/FW version doesn't match the FW used to extract the ROM blobs. This time around, it seems like I didn't test the adreno update well enough (I was sure I did :(). Reverting that, everything works fine again. Looks like our camera stack doesn't play nice with this new adreno version.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] j4nn:
[MENTION=4063475]derf elot[/MENTION], glad to hear the problem is solved.

I sometimes wonder where do you and modpunk come with some commits adding strange binaries or what ever.

In my opinion some commits could use more details in commit message to explain reasoning and sources/links the stuff comes from...

Not complaining though, I really appreciate the work you guys do.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Well, this specific one is pretty self-explanatory, in that it's an update for the GPU from CAF. In those cases, we try to keep the original commit history to show where something is coming from (e.g. this one specifically in this case: https://github.com/cryptomilk/android_device_sony_lilac/commit/06ac41240cdecba635dbdfcba7dfb8235b0facc2), which a lot of msm8998 devices in LOS have applied. Besides the SDM update (which was required for the new LOS livedisplay hal), everything else comes from stock IIRC. I agree, it would be nice to have a place to document what all these proprietary blobs actually do (and we have thought about that before), but that's also a lot of work (and sometimes an educated guess). In terms of why we add them, often libraries are just a dependency of other binaries, for some it's a bit more of a detective work trying to piece them together based on the strings contained in these binaries, or even stracing to see what they do. But I'll try to be a bit more descriptive in my commit messages ;)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] piola:
Unfortunately I cannot confirm that. I have random reboots and NFC not working - both haven't been the case with v15.

I updated just because it had been announced somewhere in the v15 thread that the problems with apps accessing MicroSD card were to be resolved with Pie, but they ain't (same problem as described in post 79485133)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Haverping:
Hi there,

I flashed my wifes phone and actually it works quite well while I installed apps, configured it and so on.

Now we put the sim card in everything works fine again but the voice communication is very bad.

For test we recorded our voices via " record app " and it sounds great.

What could such behaviour cause ?

Microphone works actually but not over mobile network ?

Did I miss something ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
I don't have that problem with RC0. Did you flash the required firmware properly (47.2.A.10.45)?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Haverping:
stupid question, but how will I get to known which on I already run on that device.

*#*#7378423#*#*

doesn't work and shows nothing
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] blazm:
Microphone issue in Duolingo

Hi,

seems like Microphone works fine in other apps (like Skype) but not in the Duolingo. Whenever I am presented with an exercise that requires speaking a sentence in the microphone, the exercise will quit after ~2 sec before I even start speaking in the same manner as if I did not even speak. I saw that somebody already had similar problem with LineageOS - No microphone support in Duolingo[Reddit, not allowed to post links yet...]. I checked permissions and the app has mic permissions. I cleaned data and cache, re-logged in to the app. First time there was a speaking exercise I was prompted to allow audio, however same problem - app complains "Hm - that does not sound right. Try again" after I click on the mic icon.

Thanks for your help.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Kalimohan:
Write permission to sdcard

It is not only OSMand with this weird behavior. Since I updated to LOS 16.0 (Pie) also Google Maps refuses to save to a external sdcard. Are there some hidden permissions to set for Google Maps? :confused:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] blazm:
I am facing the same problem, and it is really weird. Tried reformatting, ejecting SD card, using hacks to set SD card RW permissions, nothing really helped. However, there are some weird things like:

- I cannot select to what type of storage do I wish to format my SD card.

Reading some articles describing Android Pie adoptable storage, they say:

...

- Next, you need to choose how your phone should use the card. Select Phone Storage on Android 9, or Use as Internal Storage on older versions. Alternatively, go to Settings > Storage, tap the card, tap the menu button, and select Storage Settings. Tap Format as internal.

- In the next screen tap Format SD Card, or Erase & Format. This will wipe your card.

- On Android 9 you’re offered the chance to move your content—including apps—onto the card. It also shows you how much space you’ll save. Hit Move Content to complete.

...

Nothing like that on my phone.
​

- In the storage, when I click on my SD card under Portable Storage, I can see folders Android and LOST.DIR just after the card has been formatted and phone rebooted. There are sub-folders in Android folder, corresponding to apps on my phone. An if I select option "Hide internal storage" in the menu, nothing happens (I would expect Android folder would be hidden).

- Ejected and removed SD card, installed an app (Instead) via the F-Droid. When I run the app, it says "Cannot create directory /storage/emulated/0/Android/data/org.emunix.insteadlauncher/files/themes (same error as when SD card was inserted). The application root folder is there and according to the app developer, the app should not have any special permissions to write under its own root folder (makes sense to me).

- Also found this on Google (not yet allowed to post links): How to move apps to SD card with Android 8.0, on andoridcentral, Sony Xperia XZ1 & XZ1 Compact. Something special about this phone?

It seems like for some reason, the system is configured to think that adoptable storage is in place even if the SD card is not present, sounds kinda silly, but hm Why would it automatically create Android and subfolders on newly formatted SD card?

Kind regards,

Blaz
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Kalimohan:
Hi Blaz,

Soon my cellphone will run out of space on internal storage. On my phone it is the same issue and no help within internet to find yet. Some apps dumps their offline maps (OSMand, Google Maps) and other stuff on internal storage. Even the Camera app stores videos only on internal storage. Guess what, pictures can be stored on external sdcard too. Weird.

My file manager Amaze has only read permissions on my sdcard, despite it has full root rights. Some say it's always the fault of the app. But since years the don't get it to change a few lines of code? I don't believe that. I am thinking to downgrade, because I would not miss anything from Android itself and all my apps I can take with me.

Funny enough 2 years ago I had adoptable storage and a automatically encrypted sdcard. Actually, it is not even possible to encrypt the separated sdcard.

Does anyone know if there is a plan to fix this writeable-sdcard-issues? Or do you have a workaround?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
RC1 is out ...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] blazm:
Hi, required firmware is probably 47.2.A.10.62?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Awesome! Thank you all. :good: I will give it a try.

PS: Any chance of getting a version without F-Droid being pre-installed? Asking for a friend ... :D
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Yup, check post #3 (2019-06-11 | RC1 | 47.2.A.10.62) :)

can't answer the question, but you can probably just uninstall/disable them, no?

not if you follow the instructions in post #2. that being said, it never hurts to have a backup.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
RC1 - first impressions

First thanks to modpunk and derf elot for working hard on fixing bugs and adding features.

Notable changes for now:

- live display bug is fixed

- airplane mode is fixed (can be removed from first post I think)

- no random reboot(s) so far, needs more testing

- fast and smooth

Only one issue I have for now. I tested saving to sd card with stock sony camera app but I have same behavior like with los camera (only blank pictures). Is it still working on your side? I also got the pop up for granting permissions but no success.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
No you are right, it doesn't work for me anymore either. Need to have a look at that, maybe sth. changed on los side.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Kalimohan:
With RC1 I can't configure the color temperature any more. I can switch on the "Night Light", but it is still very blue ('Intensity').

Is it possible to downgrade to Oreo, without loosing all apps?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wirdSchoon:
My XZ1 compact has firmware 47.2.A.10.62. Can I unlock the bootloader, install twrp via adb and then install LOS 16.0 RC1? I don't understand what is going on in post #2 - what is done there and does this also apply to my installation?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
First you should backup (and restore) your drm keys before unlocking the bootloader.

https://xdaforums.com/xperia-xz1-compact/development/devonly-exploits-temp-root-to-backup-t3795510

After unlock just install TWRP and flash RC1. Since your firmware version is already matching the requirement you don't need to flash it this time.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nouatik:
problems 06/11 wifi/cellular

Having a bit of a problem with wifi and cellular. i flashed .62 with no problem, followed instructions.

Wifi seems to connect for a few seconds (icon shows ok) then disconnect, repeat.

Cellular doesnt work. No signal, have added apn manually but no success.

Reflashed only modem but no success there either.

Is there something left behind in datapartition that would interfere?

Best regards
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
To rule out that this is sth. IMS related (there is experimental support for it now), please try the following:

Make sure your have flashed the oem.sin from your region/carrier

in los, stop the "CustomizationSelector" app and delete its cache/data from settings

don't reboot los at this point anymore, always follow the next step

reboot to recovery and delete the /cache/modem folder

turn off the phone and flash the modem.sin as well as the cust-reset.ta

reboot los, it should now tell you that it will reboot the phone to optimize for your carrier (if applicable)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wirdSchoon:
upps - that's a lot to read! :confused:

Many thanks for the link to the instructions on how to save the drm keys.

Does this procedure have to be used to use the camera? So far my Xperia (z1c, z5c) have taken usable pictures with LOS - doesn't that work anymore?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
Camera in LOS is working with and without restored drm keys. I'm not sure if there is maybe still a difference though. But they are needed for stock rom to get camera working correctly there and once you've unlocked your bootloader you can't get your drm keys back without a backup done before.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nouatik:
thanks for your reply, but did a fresh install. Flashed all .sins and .tas then reflash twrp and los.

everything works now.

Problably something with what u said, cust-reset.ta etc.

anyways thanks again :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslancn:
[MENTION=4063475]derf elot[/MENTION] can u release a build for poplar (XZ1) too?

thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Yes i will, just sorting out some IMS related things. It will happen this weekend.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arnaubvendrell:
A lot of bugs!!!

Great, so I just have install RC1 in my XZ1C with 47.2.A. 10.62 RC3 frimware version and the first I notice is that I can't connect to any wifi. It says something like "error trying to save the network".

Also, after testing some apps, I have realized that some of them chrash on start, like Instagram, Samsung Internet...

The "beta" version of AOSP AEX is way more reliable than the "stable" version of LineageOS!!!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
I'm using RC1 for days now and it's completely stable for me. Also seems like nobody else encountered the bugs you mentionened. So if you want that anyone believe you create some logs and post them here. Otherwise go back to AOSP if it's so much more "stable".
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arnaubvendrell:
I have no intentions of denigrate this ROM, I have wait for a month to RC1 to roll out, and AOSP has issues to (for example, Antutu give me a score of 210.000 on stock ROM (and yours, LOS) but a 140.000 on AOSP (and that's a big problem!!!)).

I would want this to work on my phone, but I cant go anywere without wifi!!!

Unfortunately, I don't know how to create "logs", but I have record the screen trying to connect to a wifi and I can show you the two messages I get.

Also, the crashing apps have been solved to reinstalling them, I suppose they didn't like to come from another ROM XD.

PD: the little white messages from the screen shots says: "Fail saving this network" and then "Fail connecting this network", and in the video you can see the wifi doesn't connect to anything.

Thanks for your attention !:good:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Just out of curiosity, why is that benchmark score so important to you? I have never used one on any of my phones and I was always wondering why people would care about it so much? :)

For me, RC1 works flawlessly so far. I flashed [MENTION=4297219]modpunk[/MENTION]'s new TWRP yesterday, wiped dalvik/data/cache/system, flashed LOS, Gapps and Magisk. After first boot and initial setup, I flashed the new firmware files (I simply forgot this step before flashing LOS, but it did not seem to be an issue.)

Maybe give it another try with a clean installation. :good:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arnaubvendrell:
Well, the score represents the capacity of calculations that my H/W can do, no? So, as you say, in the normal use (WhatsApp, Feedly, Instagram, Browser...) it isn't very important, but when you use some big games (I have been playing a little with The Elders Scroll: Blades, or PUBG) it can make a strong difference. Idk why AEX have nearly 60.000 points less than stock or LOS, but I suppose it is noticeable!:confused:

Yeah, I will try some day, right now I'm pretty busy :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mp107:
As far as I know AEX is based on Sony AOSP blobs which are worse optimized than stock blobs. That may affect the performance.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Hey guys, for some reason my phone wouldn't connect to LTE anymore. Seems to only get H+ since this afternoon, nothing higher. I did not change anything in the settings. I deleted the APN, added it manually, same result. Reset APN to default, same result. Would you mind checking the log if there are any hints, please? :angel:

EDIT: Well, never mind, it just went back to LTE+. Maybe clouds over Frankfurt are o2's Armageddon. :confused:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
:) I was about to say, maybe it's just o2 being o2. could always check here: https://www.o2online.de/service/netz-verfuegbarkeit/netzstoerung/
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] andifor:
What's the benefit, if I backup the DRM keys? Where can I use them afterward?

---------- Post added at 02:46 PM ---------- Previous post was at 02:42 PM ----------

Does somebody have NetGuard running?

NetGuard does not work on my tablet, running LOS16. Is this an issue of my tablet or does the app has issues with LOS16? I have no issue with LOS15.1 and I wonder if it runs on my XZ1 compact.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
weak GPS signal

I'm using Sygic GPS for navigation since LOS 15.1 and it was working fine there. Since RC0 from LOS 16 the app takes very long to find a GPS signal. When the app finally recognizes my position the navigation works flawlessly. Today I tested it again with RC1 and it's still the same issue. So I downloaded GPStest on my XZ1 Compact and on my girlfriends phone to test this further. Seems like my XZ1 Compact takes very long to take a connection while my girlfriends phone immediately gets a connection (see attachment).

Any help or advice is welcome. :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
I don't have any issues with GPS signal on my phone. I downloaded the GPStest app and it immediately picked up several satellites. I am running RC1 on latest firmware, as well as Gapps from RC1 release date.

Hope there is a solution for you Danko. :fingers-crossed:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tassee:
First of all big thanks for RC1!

I have the same issue as Danko with GPS - do *not* have gapps installed. Might this be the problem?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] andifor:
Yes, thanks. I know, that the camera works fine, even without the DRM keys. That's one of the reasons I ask: what benefit do I have with the DRM keys backed up?

I have two XZ1 compact, one with LOS15.1 (old, 2018 version) and one with Sony Android (untouched). Before I update / move to LOS16, I'd like two know why the key backup and if NetGuard works.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] neutrinobox:
Hi ....

How about wlan-call and Vo-lte in t-mobile.de?

Thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] wirdSchoon:
I use the RC1 without gaaps and for the gps I install from f-droid "NominatimNlpBackend" and "MozillaNlpBackend".

After the configuration and a restart as well as the first search the location is found relatively fast.

Good luck...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] XDA-shark:
I am still on LOS 15.1 Beta 8 and hesitant to upgrade. The only reason is Xposed. I get it from some replies in this thread that Xposed is working with this ROM, correct? If so, which version of Xposed are you using since there has not been a release by [MENTION=4419114]rovo89[/MENTION] for Pie?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Support for IMS has now been added and if you come straight from stock it _should_ work, at least both do for me on O2.

I still need to test it more thoroughly if a new modem is flashed again, like during fw updates. the reason being that for ims to work then, the modem has to be modified again and there are a lot of ins and outs for that to happen.

the prerequisite here, like on stock, is that you have the right oem.sin flashed - I use customized de.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Kalimohan:
It's a bummer to miss a real night light, where I can configure the color temperature, and no possibility to write on sdcard with apps like OSMand, Maps etc. NFC was also nice to have with Oreo. Downgrade to Oreo and keeping all data & apps did not work. I can start all over and format everything, of course. But this is a lot of work, though. I have heard about a Magisk module, which would allow write access to sdcards. Does anyone know about that module and tried it successfully?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
That some Apps can't write to the SDcard is not the fault of the ROM, it is the apps fault, as they don't use the correct API to write to the sdcard. Vendors do hacks to allow this however they have all been rejected by the LineageOS project. The reason is that apps should fix their code.