yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] crott:
Thanks, yes I know that, but I'm not willing to use Windows in any capacity. That's against my beliefs :angel: So will stay as is - without GPS and GAPPS :highfive:

I'm sooo happy at this moment with phone this small, it's awesome! Thanks!
[Xperia Z3 Compact Original Android Development] dolons:
Latest LOS without gapps. but GPS works really well. Fast fix and no problems.

-->Anybody know, how deactivate Emergerncy Call Button on Hardware Start Button??

And i can´t find Restart to Recovery Button similar to the old LOS Versions?

Thx for the Support for Z3c - LOS 17.1!!
[Xperia Z3 Compact Original Android Development] nuess0r:
No, Flashtool is available also for Linux and OSX (I flashed mine with Linux):

http://www.flashtool.net/index.php

If your camera does not work after using Flashtool and Lineage OS 17.1 then you still need Windows and Emma to flash the stock ROM.
[Xperia Z3 Compact Original Android Development] t.Lancer:
So after a fresh reinstall of lineage-17.1-20201103, the wake lock persists. only thing installed was gapps micro, magisk and better battery stats. This version is obviously bugged.

msm_serial_hs_dma and BTLowPower continue to prevent the phone from sleeping.
[Xperia Z3 Compact Original Android Development] crott:
I didn't know about flashtool for Linux. Thanks! I'll try that in few days.

Cheers mate!:fingers-crossed:
[Xperia Z3 Compact Original Android Development] john_matrix:
Camera on my Z3C never work on LOS17.1.

On LOS16 no issues so I will try to flash the stock ROM and after LOS17.1 to try if camera will work again as advised.

Thanks for the tips.
[Xperia Z3 Compact Original Android Development] KoMaSo:
What version You run before?
[Xperia Z3 Compact Original Android Development] schnuff*1:
I'm coming from carbon rom 8.1.0, flashed this clean with gapps nano, but back camera is not working. Also from time to time the device freezes and no messages coming in anymore. Only a hardreset helps.

The version is the latest from november. Is it a buggy version or is it my only error?

Thanks for the help!
[Xperia Z3 Compact Original Android Development] crott:
NeoArian I've bought second Z3C because I use first as daily driver without GAPPS. But apparently I need apps that requires GAPPS.

Second z3c I installed exactly same, exactly same issue: after encrypting indefinite LOS animation at boot.

Without GAPPS it works fine, but with GAPPS it's not working.

This time I used current versions: lineage-17.1-20201110-nightly-z3c-signed, lineage-17.1-20201110-recovery-z3c and open_gapps-arm-10.0-nano-20201111.

Any suggestions what logs (and how please any/tutorials links) could I get to shed some light on this issue?

I went also this road but I'm stuck another errors I can't resolve:

Thanks.
[Xperia Z3 Compact Original Android Development] pawloland:
Hi everyone!

About back camera problem - from my experience if is not working, in order to fix it you have to flash latest firmware using Emma and then flash recovery + rom.

And going to the main point of this post - MMSes are not working.

I tested latest build of LOS 17.1 (lineage-17.1-20201110-nightly-z3c-signed.zip) to check if it will resolve the issue (it didn't).

I decided to do the whole procedure from the grounds up, to make sure MMSes aren't working not because of my fault.

- I flashed latest firmware using emma.

- I tried sending and receiving MMSes on stock MM (success).

- I flashed twrp-3.3.1-z3c-20200212.img recovery.

- I flashed just lineage-17.1-20201110-nightly-z3c-signed.zip, without magisk and without gapps.

- I booted to system, turned on mobile data and tried to send MMS (failed to do so).

- I tried to receive MMS (also failed to do so, I only get message, that there is MMS available for download but it can't be downloaded. I is downloading forever until it stops and says that the message can't be downloaded.)

At this point I was sure it isn't my fault. I checked APN settings and took screenshots of the configuration (didn't change anything, just took ss).

I remembered that MMSes had been working before, with custom ROM on my device. I checked older versions of LOS 17.1 but they have the same issue.

I have one of an old UNOFFICIAL 16.0 build from you [MENTION=8746471]NeoArian[/MENTION], saved on my computer. I gave it a try.

- wiped system, data, cache

- flashed twrp recommended for LOS 16.0 - twrp-3.3.1-z3c-20200212.img

- flashed lineage-16.0-20190510-UNOFFICIAL-z3c.zip, without magisk and without gapps

- booted to system, turned on mobile data

- tried sending and receiving MMSes and ........... IT WORKED ON A FIRST TRY

I checked APN setting on LOS 16 to compare them with configuration from 17.1 and they were exactly the same.

Now I am sure that MMSes are broken on LOS 17.1. Could you [MENTION=8746471]NeoArian[/MENTION] give it a look?

They were working on your unofficial builds of LOS 16, so you may know or remember how to fix it :fingers-crossed:.

Thanks in advanced.
[Xperia Z3 Compact Original Android Development] tomKater:
If I can help too : about the camera stock issue : I encountered this problem too when I flashed my Z3C from scratch (while previously I have used this build with no problem). I had to flash several times (and immediately testing the camera) before stock camera works again. No idea why.

Maybe this can help.
[Xperia Z3 Compact Original Android Development] schnuff*1:
O.K., thanks. I've done now a new installation with Emma and then Lineage OS. Now camera is O.K.
[Xperia Z3 Compact Original Android Development] pawloland:
Ok, so I did more tests on latest LOS 17.1. What I discovered is that MMSes are working but only when mobile data is DISabled, which is super weird.

- just wifi enabled - receiving/sending MMSes works (at first time I tried it with just wifi, the notification came up, that asked to grant permission for downloading MMSes via wifi. I granted it and MMS was downloaded successfully).

-just mobile data enabled - receiving/sending MMSes doesn't work at all. It is sending/receiving them until error, just how I described it in previous post.

-mobile data and wifi is enabled - receiving/sending MMSes doesn't work at all. It seams that mobile data has higher priority, so even though that wifi is working, it tries to use mobile data and fails to do so and when it fails it doesn't fall back to wifi.

-mobile data and wifi is DISabled -receiving/sending MMSes works :silly:. It is extremely weird, since it wasn't working last time i tried it with this configuration. It may be that since last time I have tried, I have given default messaging app every possible permission, disabled battery optimization, enabled unlimited data usage of mobile data and wifi and in roaming etc. After that when I try to send or receive MMS and have wifi and mobile data disabled it works. While sending/receiving MMS I can see data transfer indicator in the middle of status bar. I think that the messaging app sees, that there is no internet and since I've gave it every possible permission, it uses mobile data to send/receive MMS, even thought it wasn't enabled by hand, by me. In this scenario, mobile data must be used for sending/receiving MMSes, because there is no other option for messaging app to fall back.

So here is my thesis describing the MMS bug:

When mobile data is enabled by hand by a user, messaging app can't send/receive MMSes, even thought the internet is available. When none internet is available, messaging app enables mobile data automatically, just to receive/send MMS and then it works (mobile data isn't "turned on", it doesn't show any sign of it being enabled in QS and status bar. I know it is used only from data transfer indicator, that shows for a few seconds while MMS is being sent/downloaded). It seams that the app mistakenly tries to enable mobile data automatically, even thought it is already enabled, so it fails and stops, so at this point it never reaches the part of actual sending/receiving MMS.

With this information it should be easier to fix the issue, because now we know, how the environment must be configured for it to fail.

I would like to know if it happens to anyone else on the latest LOS 17.1 - and if it happens - I would like to know if edge cases I described in this post, check out to your situation.

Cheers
[Xperia Z3 Compact Original Android Development] schastang:
Hi pawloland,

Same issue on my unit with this firmware.

But even with mobile data turned ON or OFF and Wifi turned ON or OFF, I have still no luck in sending or receiving MMS :(

I live in France and my provider is SFR (I have double checked APS configuration, it's OK)

During my tests, after enabling Wifi (while mobile data was disabled), I had a notification to tell me I have an incoming MMS and that I have to enable an option to receive MMS with mobile data disabled (see attachment). But MMS still cannot be downloaded :(

I'm currently trying to find the right configuration / combination to be able to send and receive MMS!

Any help would be appreciated.

[MENTION=8746471]NeoArian[/MENTION]: Thanks a lot for this firmware :good:
[Xperia Z3 Compact Original Android Development] schastang:
Hello,

I have done few more tests, and after restoring default APN, I can now receive and send MMS with WiFi ON or OFF and mobile data ON or OFF :)
[Xperia Z3 Compact Original Android Development] pawloland:
So you are saying that you can have wifi turned off and mobile data turned on, at the same time and after that you can successfully receive and send MMSes - am I getting it right? I would be very glad if you could try this exact scenario for me just one more time, to make sure every possible scenario is working for you. If that's the case then good for you. I still can't receive MMSes while having mobile data turned on manually :(
[Xperia Z3 Compact Original Android Development] schastang:
Here are the last tests I have done (Airplane mode OFF, 4G/LTE):

- WIFI OFF / mobile data OFF : OK (sending and receiving)

- WIFI ON / mobile data OFF : OK (sending and receiving)

- WIFI OFF / mobile data ON : KO (sending and receiving) with 4G/LTE network at first time, BUT if I switch to 3G/H, it works! Could you please check by yourself with this test (1st attempt in 4G/LTE failed, then switch to 3G/H as "preferred network" and see what happen) ? try to"force stop" the SMS/MMS app before switching from 4G to 3G. Not sure if it still works after switching back to 4G (one of my attempt was OK, one other failed so I don't know what to think :confused:, I don't remember if I "forced stop" the SMS/MMS app before switching back to 4G)

- WIFI ON / mobile data ON : I don't know. Behaviour is really strange. Sometimes it works, sometimes it doesn't. I think it depends on what is the first network enabled (Wifi or Mobile data) after disabling "airplane mode".

Hope it helps.

Regards,
[Xperia Z3 Compact Original Android Development] NeoArian:
Good evening.

I'm sorry that I'm not really active here currently, I'm having much to do with university.

I appreciate your detailed testing. Could you also try to use a different SMS app and set it as default in settings? I will test it myself too whenever I get some time for it.

Greetings, arian.
[Xperia Z3 Compact Original Android Development] pawloland:
Hi, I tested this quickly without success. I tried 3G, it didn't help, so I went back to 4G, enabled wifi and mobile data. Then I disabled "Mobile data always active" in dev setting (I had it enabled in previous tests). After I disabled it, I could send and receive MMSes on wifi+mobile data or just mobile data, untill I've disabled wifi and mobile data. After reenabling mobile data, I again couldn't send nor receive MMSes. I think that this option in dev settings is causing problems with MMS that won't send nor receive using mobile data enabled by hand.
[Xperia Z3 Compact Original Android Development] nuess0r:
Yesterday I was reading what the other folks of the Z3C Carbon ROM are discussing and found a solution, at least for mine back camera problem:

Source: https://xdaforums.com/showpost.php?p=81904527&postcount=14

This worked for me the first time I tried. Some others in the Carbon ROM thread where not successful. As TomKater wrote, he had to flash several times to get the camera working, I suggest that when the camera does not work after deleting /data/credmgr to try it several times and to see if this makes a difference. Good luck!
[Xperia Z3 Compact Original Android Development] john_matrix:
Hello,

Camera wasn't working since the beginning and as advised, I have flashed the stock ROM and now camera is working again on LOS 17.1.

Only my digitizer is broken (at the bottom) and I have to replace it.
[Xperia Z3 Compact Original Android Development] bigandyb:
Hello.

I just installed 17th Nov, version and all seems okay. Installed via TWRP 3.3.1-0.

Thanks for keeping this alive.
[Xperia Z3 Compact Original Android Development] TolokOFF:
Hello! I am using the latest official version of LineageOS 17.1, and I noticed that the minimum screen brightness is much higher than the minimum brightness on the stock firmware. What could this be related to and will it be fixed? The same problem was on LineageOS 16 (also official builds)
[Xperia Z3 Compact Original Android Development] TolokOFF:
I also noticed that the Assertive Display function, which worked on the stock firmware, does not work on LineageOS 17.1. Regarding brightness, I noticed that the firmware only has 255 brightness levels, while the stock firmware has 4096 levels.

See file "max_brightness" - /sys/devices/leds-qpnp-24/leds/wled:backlight. Maybe this information will help to fix this problem. Sorry for my English, I used a Google Translator
[Xperia Z3 Compact Original Android Development] TolokOFF:
Sorry for the many posts, but I found another problem in the latest official build of LineageOS 17.1 (from 11/17/2020)

Wi-Fi works only in b/g modes, if in the router settings you set the network to work only in n mode, then the phone cannot connect to the network - it sees it, but nothing happens when you try to connect. Reboot doesn't help. What could be the problem?
[Xperia Z3 Compact Original Android Development] rm43115:
After my Z3 compact "died" in November, I had to buy a new device.

Due to the excellent LineageOS (LOS) from NeoArian - THANK YOU VERY MUCH - there was no question ... I bought another Z3 compact, again.

Fortunately, I had a actual BACKUP of my defective device.

When trying to restore the BACKUP, I had two effects / problems that I had already noticed earlier with this LOS on the Z3 compact:

1. A complete restore using TWRP cannot run after the import - it gets stuck in a LOS boot loop.

2. The main camera does not work after a mixed reinstallation / restore - the front camera does ... more on that later.

Details to 1. TWRP backup / restore does not work:

I made a full BACKUP (with all seven partitions including EFS and trim area) on the old device.

I restored four partitions (Boot + Cache + Data + System) of that BACKUP.

This restore does not work - it gets stuck in a boot loop on the LOS start screen.

my solution:

- Reinstall an new LOS ... that works.

- Advanced wipe of the partitions "Cache, Dalvik, Data and Internal Storage"

- Restore the "Data" partition (from the BACKUP of the old device)

Then the device started perfectly - everything was back and worked perfectly ...

... almost everything: except the main camera!

In the camera app, the picture simply remains black.

Anyone from you has an idea how to bring the camera back to life without a complete reinstallation?
[Xperia Z3 Compact Original Android Development] nuess0r:
Did you already try the suggestion in post 115?

okij said:

You could try if the camera starts working after deleting the folder /data/credmgr with a root file explorer and then rebooting. By doing this, the credmgr folder with the credmanager files are rebuilt by the system, which can help fixing camera issues.
[Xperia Z3 Compact Original Android Development] rm43115:
That's it! That's the trick!

THANK YOU SO MUCH!

You saved me from having to reinstall my device for several hours.
[Xperia Z3 Compact Original Android Development] JustCallMeCrash:
Have you had any luck getting this going? I have a pair of MDR-NC31E sitting in a drawer now because ANC isn't kicking off on my Z3 Compact with Lineage.

Thanks!
[Xperia Z3 Compact Original Android Development] hubert-bangol:
No sorry, nothing is working. TIme to buy a new ANC headset.
[Xperia Z3 Compact Original Android Development] hrsh45:
thanks very much NeoArian for keeping our z3c updated :D

by the way, i do face a similar problem with the sd card.

seems some image apps & music apps can't read my sd cards content properly.

images don't load,

music album jacket images don't load,

mp3 stops after 20 seconds.

(tried with 2 128gb sd cards,

sandisk extreme pro/ toshiba exceria)

many thanks
[Xperia Z3 Compact Original Android Development] t00ls:
Audio completely broken after upgrade to 17.1-20210108.

Hi everybody. Just updated to lineage-17.1-20210108-microG-z3c (from lineage-17.1-20201207-microG-z3c) and now I don't have any sound on my mobile any more (signal crashes when trying to record a voicemessage and doesn't playback voicemessages, no sound when making calls (the speaker gets turned on automatically when I place the call, and I can't switch it off) or in youtube in the browser, etc.). Using the headphones does not make a difference. I found a few other people having the same problem with sound on lineageos (on other devices) within the last few days. What to do? Downgrade to lineage-17.1-20201207-microG-z3c - does this work? Where to report the issue - Is this the right place? Is more information needed? Thanks fo the good work!
[Xperia Z3 Compact Original Android Development] t00ls:
Bug seems to have been reported here: https://gitlab.com/LineageOS/issues/android/-/issues/2926

I'm still wondering if downgrading is possible.
[Xperia Z3 Compact Original Android Development] Wade23:
Hello, thanks for good work! Yeasterday I decide to try LineageOS 17.1 on my lovly 5y old dayly used Z3C. Its nice how smooth it works and how much space left on internal storage. For now it looks like everything I use is working. Keep up good job.

One question, is it posible to somehow extract ringtones from original ROM and import them to now one? Im Kinda miss them. :)
[Xperia Z3 Compact Original Android Development] t00ls:
FWIW: I downgraded to lineage-17.1-20201207-microG-z3c (after wiping Dalvaik & Cache) and the system did not boot anymore. I had the internal disk encrypted. After the downgrade I rebooted, entered my lock-pattern and got the message that the decryption succeeded, but that it would not be possible to boot the system and I was told to wipe everything and install new. There are a couple of useres experiencing the same issue with the broken audio from 08.01.2021 onwards. Be carefull when upgrading...
[Xperia Z3 Compact Original Android Development] 0LDST4R:
Here you go...

Z3 stock audio

Extract, copy the content from " alarms " to internal " alarms " and so on. Now you can select your favorite oldschool sounds in sound picker.
[Xperia Z3 Compact Original Android Development] NeoArian:
We are sorry for the issues in the last build. Due to a soong bug a bad merge in the oneplus vendor repository was able to break audio on many builds. This should be fixed now, thanks for you patience!

Regarding roll-back, you are usually able to roll back, also on encrypted devices except in the case of a security patch level upgrade, so you can not downgrade the security patch.
[Xperia Z3 Compact Original Android Development] Andron18:
I'm sorry I'm here for the first time, that's why I'm asking in which version of the firmware GPS works
[Xperia Z3 Compact Original Android Development] luk2009:
I used the lineage recovery and adb sideload installation. Everything working perfect.

I had problems with fastboot drivers on windows 10, this link help me:

Windows 10 Fastboot Driver

My Sony Z3 Compact is currently unusable and I would like to flash the Marshmallow version of FXP. Unfortunately it seems like I can't find any fastboot (or as device manager calls it: S1Boot Fast...

android.stackexchange.com

thanks for a great job.
[Xperia Z3 Compact Original Android Development] nokian95ita:
Good afternoon

with this rom my z3 compact reborn to new life. I have also a great SOT but i cannot find where a can disable the screen on function when a new notification income. Another question: i whant to use android auto but after download of google play it say that google play services need of other services that are not installed on my device.

Please help me
[Xperia Z3 Compact Original Android Development] hrsh45:
thanks NeoArian :D
[Xperia Z3 Compact Original Android Development] NeoArian:
In settings -> display -> lock screen should be a toggle to control wether the screen pulses when a notification arrives or not. Regarding android auto, have you installed an opengapps package? You can find a link to opengapps in the first post here.

Greetings, arian.
[Xperia Z3 Compact Original Android Development] mrmartischmi:
Can I flash the official nightly over the previous "unofficial" 17.1 without losing anything?

BTW: many thanks to NeoArian for building this great ROM !!! I am using the unofficial 17.1 since May 2020.
[Xperia Z3 Compact Original Android Development] nokian95ita:
many tahnks for the reply; yes i installed the opengapps nano, i think that it will be the problem
[Xperia Z3 Compact Original Android Development] NeoArian:
You can't directly flash to the official build because of the keys it was signed with, but there is a script to migrate the keys.

Here is how to use it: https://wiki.lineageos.org/signing_builds.html#using-a-script

And you can find the script here: https://raw.githubusercontent.com/LineageOS/scripts/master/key-migration/migration.sh
[Xperia Z3 Compact Original Android Development] nokian95ita:
Good Morning, i switched to open gapps aroma and installed android auto and what i need but when i link to my car it say that there is no compatible app installed
[Xperia Z3 Compact Original Android Development] tomKater:
Hi,

I faced the same problem. You have to come back to the opengapps version 1/12 (https://sourceforge.net/projects/op...en_gapps-arm-10.0-aroma-20201201.zip/download). Don't know why.

Link your car with this version, and after you can update Android auto and other apps.
[Xperia Z3 Compact Original Android Development] tomKater:
Hello,

I'm facing another problem : unable to use the magisk version 21.4. I have to come back to version 20.4. I think it's only with this rom. Can anyone confirm this ?
[Xperia Z3 Compact Original Android Development] L.Lmar:
Yes, have to install 20.4 first, then direct install upgrade from the app
[Xperia Z3 Compact Original Android Development] nokian95ita:
i switched to BitGapps only core package and after i installed mannually all that i need and it worked but the very problem is that is very very laggi and in unsuefull. do you use with z3 compact? how do it work?
[Xperia Z3 Compact Original Android Development] tomKater:
It works, thanks.
[Xperia Z3 Compact Original Android Development] tomKater:
I use with Z3 compact and since the flash, I've only used it once, but I haven't noticed anything unusual. For my part, I flashed the opengapps stock version (1/12).
[Xperia Z3 Compact Original Android Development] nokian95ita:
sorry i think that my words was bad.... the smartphone work good but with android auto is very laggi, i want to use the sony beacause my mi9t is very big for me
[Xperia Z3 Compact Original Android Development] tomKater:
Yes, it's was well like that I had understood : since the flash, I connected only once my phone to my car and used android auto. But for my part, I haven't noticed anything unusual, Android auto was usable as usually...

But if you never used Android auto with the sony z3c before, you have to know that it's still a little bit slow to start each time you connect your phone, but after that it's usable.