yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] gangbgr:
Got a random systematically restarts and not simple restarts but restarts-loop, OS fully booted and in few seconds phone got a new restart. Its like a paroxysm, phone works normally several hours and later got this restart collusion. One this thing I got then installed LineAGE first time after finishing installation my all using apps and I got rebooting device just after fully set up. Next phone set up on new lineage installation I done more carefully and installed app one by one, not two or 4 together and finally it got restart collusion next days. I dont know what a APP can influence such bug, they are simple and popular such as messengers and other life helpers. What you can advise me? I use last official build of ROM and worked for me GAPPS 09.09.

ps: my phone very old (its can not see sim-card sometimes after restart whatever OS installed), I bought this for $400 several years ago and I very like this phone device. now I see ALI and EBAY sales this phone like new for $80, may be it will be good deal who knowns?
[Xperia Z3 Compact Original Android Development] KoMaSo:
Hello, my device restarts, if I insert an sim card. Can be that the device has it looses the sim and reboot?
[Xperia Z3 Compact Original Android Development] gangbgr:
hm, its a simple and good idea. think need to hard test LineAge without sim card to try get restarts.
[Xperia Z3 Compact Original Android Development] DC-TeaAge:
Hi,

I installed 17.1 just yesterday (coming from stock) with gapps nano.

Unfortunatly i still have problems with the GPS: It only finds satellites in airplane-mode (checking with GPS-Status app). Any fix or settings for this that i can try?

TYVM!

Edit: I may have spoken to soon: Apparently i didn't download the latest nightly build but just the first one where it was supposed to be fixed. With the latest nightly it seems to work for at the moment (only 5min into testing).

Edit 2: After a weekend of using it i can say: GPS works as intended with build-number "lineage_z3c-userdebug 10 QQ3A.200805.001" (this is what is says in the settings, but i used the nightly version from 2020-09-22 .
[Xperia Z3 Compact Original Android Development] petefoth:
That's a feature :(

That is a feature of the device. See Page 9 of the Sony User Manual (sorry I can't post a direct link, but it's on the Sony Support web site)
[Xperia Z3 Compact Original Android Development] belrik:
Is there any way to use the z3c ROM to help get the z3c tab supported? Z3C tab is also Snapdragon 801 and the same Sony generation as these phones. Model is Sgp611 / sgp621 and codename Scorpion.
[Xperia Z3 Compact Original Android Development] nuess0r:
I was using TWRP on several devices and now came to this device where I had the first chance to try Lineage recovery.

From what I saw TWRP has more features than Lineage recovery. That's why I switched back to TWRP. Either I didn't find the backup function in Lineage or it is missing (or Lineage has another approach for backups).

I just flashed TWRP over Lineage recovery without touching the main Android OS.

---------- Post added at 01:40 PM ---------- Previous post was at 01:25 PM ----------

Thanks a lot for this work!

I was searching for a new phone to replace my aging Z1C (battery...) but all the new phones are sooo big. So the Z3C was my choice in the end :D

Mine has the same issue. Everything works fine except the rear camera (It is still useful as daily driver for my use cases).

Is it known if there are different hardware variants of the camera built into the Z3C?

I bought my Z3C from Aliexpress as refurbished. Seems more that it is new-old-stock. Came with original box, accessories and on all of them where still the protection plastic foils like it was never touched. Also first Android 4.4 was installed and I followed the official installation guide (well written, I found everything I needed to know in there, thx!) to flash the latest stock and after that the Lineage OS installation incl. bootloader unlock.

After a fresh boot I can use the flashlight. When I use FreeDcam I can use the front camera and afterwards the flashlight still works. When I use the Android Camera app sometime the app crashes, sometimes it remains black but afterwards always the flashlight also stops working (Button is greyed out. Hardware disappears? Driver crash?).

What kind of logs would be helpful for you to dig into this?
[Xperia Z3 Compact Original Android Development] wtor68:
Same problem here (with gapps and Magisk). I updated also my LOS 16 to 17.1 and the MAC changes at every reboot. But i have another device which was newly installed from scratch which doesn't have that problem. The MAC keeps the same. May be some kind of update problem?
[Xperia Z3 Compact Original Android Development] wtor68:
I have done some tests. It looks like expected. If i update from LOS 16 to 17.1 the MAC always changes. If i wipe /data before the MAC keeps the same. But with wiping data an update makes no sense.... So something on data results in that problem, but i don't know what. Any ideas?
[Xperia Z3 Compact Original Android Development] wtor68:
Solution found. I removed the folder /data/vendor (after backup) within twrp. While rebooting this folder is automatically recreated. Now the MAC keeps the same.
[Xperia Z3 Compact Original Android Development] DC-TeaAge:
So ... how to install LOS updates? It made a note that an update is avaiable. I download it (around 480MB), select install and it informs me it will reboot into Recovery to install it. So it reboots, does some stuff and then i'm, in TWRP ... and now what? What does it expect me to do? Reboot to system just brings me back to TWRP. Fo i have to do a Factory Reset?

Sorry if these questions are stupid, but it really isn't straight forward for some people (stupid ones like me).

And now the Google Apps are gone :-/
[Xperia Z3 Compact Original Android Development] pawloland:
It should boot to TWRP, automatically flash update zip and boot to system, all without any user input. If it didn't, then you most probably have wrong twrp flashed. Please flash the one in the first post and try again. This updater process is just automated dirty flashing of downloaded zip, so gapps and data won't be removed.
[Xperia Z3 Compact Original Android Development] DC-TeaAge:
But i did: I have TWRP 3.3.1-0 from the link in this sentence: "If you prefer TWRP over Lineage recovery, you can get it here."
[Xperia Z3 Compact Original Android Development] pawloland:
Then maybe you have initially flashed the zip incorrectly (didn't fully wipe partitions and/or didn't format them before flashing)? I don't really know what could be the issue here other than the things I already mentioned. Last possible but very unlikely couse of the problem could be corrupted zip after downloading or this particular build is just faulty, after merging some changes done to lineage's sources. To confirm or bust this hypothesis you would need to start over from flashing twrp from first post, wipe all partitions and format them accordingly, flash last working for you los, and then install update through updater in setting app. If it fails again and you stay in twrp, please copy the twrp logs, so I (if the problem is some step you overlooked) or most likely [MENTION=8746471]NeoArian[/MENTION] (if it is broken build) can help you.
[Xperia Z3 Compact Original Android Development] kayak1987:
Hi all

I'm currently on the concept software I think is MM 6.0

Im trying to figure out if switching to this new OS worth the effort or not.

I'm looking for a reliable and fast os, actually mine is getting slower, probably because of the three years without a factory reset.

I really need an advice, I'm still using my z3c as main smartphone because of his compact dimensions and I'm trying to give him a second chance with this os.
[Xperia Z3 Compact Original Android Development] tomKater:
Hi Everybody,

Big problems of sound in the last build flashed today (lineage-17.1-20201013-nightly-z3c-signed.zip). No notification, no music, no ringing. No sound too when I plugged an earphone.

When a call comes in, micro is on mute and unable to unmute. Not possible to hear the caller too.

Seems to be related with the last build because I flashed the 3 october build again. With this build I have sound (but phone is not usable unfortunately).

Is there anyone else in the same situation ?
[Xperia Z3 Compact Original Android Development] xfranky81:
Same here. I don't really use the z3c as a daily driver, but I don't remember this issue in previous builds.
[Xperia Z3 Compact Original Android Development] wtor68:
Same here. Reverted back to the version from 06.10. which is working without any problems.
[Xperia Z3 Compact Original Android Development] tomKater:
Interesting. Can you tell me what you did exactly? I flashed 0610 with twrp too but after reboot I couldn't unlock my phone...
[Xperia Z3 Compact Original Android Development] wtor68:
I also flashed 0610 with twrp over 1310 and wiped cache/ dalvik. Nothing more. And it worked afterwards.
[Xperia Z3 Compact Original Android Development] Zwulfulfsn:
Unable to unlock phone

Hello,

I have the same problems like tomKater. After flashing to 1310 build there where sound issues (no sound at all during phone call and playing music etc.). After flashing back to 0610 with TWRP and wiping cache/dalvik I was able to unlock my phone with SIM-Pin but not with number-based unlock code. Screen went black after correct PIN-input and shows the Dial-Pad again. Any Ideas to break this unlock-Pin loop?! Nevertheless this is a great ROM - thanks to NeoArian.
[Xperia Z3 Compact Original Android Development] wtor68:
May be thats the difference. I use only sim code, no additional screen lock. This worked with 0610 after rollback.
[Xperia Z3 Compact Original Android Development] ctznbck:
Sound problem after flashing the 10th October build

Exactly the same problem of sound for me after flashing the 10th October build.

Any idea of what we can do to ? Just come back to the 3rd October build ?

Thank you for you help :)
[Xperia Z3 Compact Original Android Development] Zwulfulfsn:
I´ve updated again to 1310 build from 0610 build. Afterwards unlocking with unlock-code works again but the sound issues occured again. Trying to remove unlock screen-code and than flash back to 0610.
[Xperia Z3 Compact Original Android Development] tomKater:
I tried too this steps :

- Flash in 1310 build

- disable lock screen

- Flash in 0610

=> still doesn't work. I swipe to unlock the phone and black screen. So at this moment I'm back in 1310 build and use a bluetooth headset for calls (this is the only way to communicate). I hope that there will be a fix very soon because it's my daily driver ...
[Xperia Z3 Compact Original Android Development] eXecu7or:
Same problem, after upgrading to the latest build no sound at all.

Downgrading to the October 6th build fixed all issues.
[Xperia Z3 Compact Original Android Development] Zwulfulfsn:
Same behaviour with disabled lock-screen after downgrad like tomKater described in his post. But also bluetooth headset is not working in 1310 build after reflash.
[Xperia Z3 Compact Original Android Development] tomKater:
You are right. On my side, music is ok with bluetooth headset. I thought that calls would work too but they don't.

Very annoying.
[Xperia Z3 Compact Original Android Development] hojnikb:
same here, no sound.
[Xperia Z3 Compact Original Android Development] pawloland:
[MENTION=8746471]NeoArian[/MENTION] are you aware of the sound issues with latest build :confused: Cheers
[Xperia Z3 Compact Original Android Development] NeoArian:
Yes, i'm aware of it.

I have had much stuff to do, hence i couldn't reply earlier.

tl;dr: There was an issue with the build server, which somehow synced an old state of the vendor/sony repository and hence the audio HAL was completely missing. The broken build will be deleted as soon as possible and we are working on a solution.

Sorry for the inconvenience! :(
[Xperia Z3 Compact Original Android Development] tomKater:
[MENTION=8746471]NeoArian[/MENTION] thank you for your feedback. For my information, do you think there will be a new build today or tomorrow? I hesitate to flash 0610 from scratch so I could decide to wait for or not.
[Xperia Z3 Compact Original Android Development] NeoArian:
No, the build won't be rebuilt. The next build will be there 7 days after the latest build.

Best would be to go with the older build for now.

However, if I find some time for it, I will provide a hotfix zip for the users who already updated to the new build.

Greeting, Arian.
[Xperia Z3 Compact Original Android Development] NeoArian:
Quick update: I have created a flashable hotfix!

It is attached to this post.

This can be used on Xperia Z3 and Z3 Compact.

It is only tested in lineagerecovery so far, TWRP mounts system at a different point. I didn't confirm that also works.

EDIT:// I have added hotfix3, it fixes the file path for one lib. In the first version I accidentally derped this.

You don't have to flash the first two hotfixes for hotfix3 to work
[Xperia Z3 Compact Original Android Development] Zwulfulfsn:
I can confirm that with installed hotfixes #1 - #3 via TWRP sound came back on my device (calls, music, headset, bluetooth). Big thank to NeoArian for his immeadiate help.
[Xperia Z3 Compact Original Android Development] xfranky81:
Yay, thanks! Hotfix3 confirmed working \o/ :good:
[Xperia Z3 Compact Original Android Development] Serf95:
Thank you [MENTION=8746471]NeoArian[/MENTION].

1) Is the encryption working correctly?

2) The delay time when you lock the screen, works incorrectly. The time you have not set before locking the screen is immediately locked after you turn off the screen. Could you fix this bug? I would like to set the time before auto-locking.
[Xperia Z3 Compact Original Android Development] YukiS:
I also bought my Z3 Compact from AliExpress and was having the same issue until I restored the stock 23.5.A.1.291 firmware with the official flashing tool Emma (instead of Flashtool as the installation guide suggests) then did a clean flash back to LOS 17.1 afterwards.
[Xperia Z3 Compact Original Android Development] tblr0ne:
Audio again isn't working in the 1027 update. At least hotfix3 from some posts above can still repair it. The calendar widget is missing as well.
[Xperia Z3 Compact Original Android Development] L.Lmar:
lineage-17.1-20201027 no sound :crying:
[Xperia Z3 Compact Original Android Development] shadowCOD:
2 annoying but manageable issues found

Hello NeoArian,

I have used your LOS 17 build for a while now on my z3c and it has been a treat and I could not thank you enough already for bringing android 10 to our precious (small formfactor) devices, however I have 2 annoying issues.

The touchscreen bottom and upper part of the screen are not responsive unless I am in the in the initial set-up screen, the next and back button work responsively and they are at the exact same place as where the navigation buttons are placed, it seems to be triggered when the navigation bar comes up (after the intial android set-up screen) I have this on video. I am using the simulate screen cutout option in the developer menu as a workaround atm, but maybe you could look into this?

The second issue I have encountered is with Bluetooth. When trying to use the sixaxis controller app.

The app can establish a bluetooth network on a rooted version of the .291 os However, it does not work on your rom.

I have made a adb logcat but since I'm a junior member here on XDA I'm not able to post with an attachment.

If you have any questions I am happy to help/answer and try to fix these issues.

is there time for you to look into these issues, If not I totally understand that there is more to life than these kind of minor bugs.

Greatz,

ShadowCOD
[Xperia Z3 Compact Original Android Development] NeoArian:
The broken build server got in again :/

It will be fixed again with the next build, sorry for the inconvenience.

You can flash the hotfix I have provided here a few posts ago for now. You can find it here: https://xdaforums.com/z3-compact/orig-development/official-lineageos-17-1-z3c-t4160347/post83713969

Is anyone else here affected form the first issue?

I will look into the controller support when I find some time.
[Xperia Z3 Compact Original Android Development] pawloland:
I would normally say that the first issue you mentioned is caused by damaged digitizer (common point of failture on z3c, I was also affected by this). After some time it stops recognizing touches in some areas of the screen, even if the phone was never dropped and glass on display isn't cracked. You say that it is sometimes working, sometimes not, so given that, it is possible that your digitizer is slowly dying.

Speaking of sixaxsis controller app. If I am not mistaken it wasn't updated for ages and it isn't even available for download from play store. The last android version that is supported by the app is IIRC android 6 or 7. You can easly find people complaining about it online, from back the android 7/8 era.
[Xperia Z3 Compact Original Android Development] eXecu7or:
2020-10-20 - same sound issue for me.

I'm sticking to 2020-10-06 since it's the most stable.

I do have a slight inconvenience whereas after a reboot, the SD card takes some time to activate the apps on it. It generally requires a reinsertion, even thought the storage applet reads it properly and all.

Thank you for your continued effort.
[Xperia Z3 Compact Original Android Development] crott:
I can confirm encryption issue same as here

I set password before encrypting phone. After encrypting, during boot I'm asked for password, after I enter the password I stuck at LOS loading screen. I hope donating will help solve this problem :)

Thank you!
[Xperia Z3 Compact Original Android Development] NeoArian:
A common issue with encryption would be that you formatted data with an old recovery. Have you definitely used lineage recovery or the latest TWRP which can be found in the main post in this thread? If not, please use one of these recommended recoveries and format data again in order to get encryption working.
[Xperia Z3 Compact Original Android Development] crott:
I used both Recovery and Lineage with same version 20201103. But now I tried as you suggested: with TWRP from main post in this thread. Exactly same result LOS loading screen.

This time I tried with pin instead of password.

I'm doing something wrong or there is some issue indeed.
[Xperia Z3 Compact Original Android Development] xfranky81:
Just to confirm, sound works again out of the box in 20201103 :)
[Xperia Z3 Compact Original Android Development] Serf95:
Encryption works by the described scheme. You may have made a mistake somewhere. Install the official sony firmware and then try again.

[MENTION=8746471]NeoArian[/MENTION] The screen is immediately locked after the screen is automatically turned off. The set delays do not work, which should wait a few minutes after the screen is turned off, before blocking. Will it be fixed in future firmware?

Gps does not work in Compass applications.
[Xperia Z3 Compact Original Android Development] NeoArian:
I have just tried to encrypt my device with a pin and it worked as expected.

Could you maybe try again or get some logs so that we can look further into it?

Also, as Serf95 told you, it's worth a try to flash the latest stock firmware again before trying it.

We are looking into the screen lock issue. Was the GPS behaviour better from builds which are older then a week? We have merged some GPS patches.
[Xperia Z3 Compact Original Android Development] Serf95:
The last update was installed on November 3. Gps is not working, maybe due to lack of google service.
[Xperia Z3 Compact Original Android Development] Zwulfulfsn:
The known sound issues where resolved in last build (lineage-17.1-20201103-nightly-z3c-signed.zip).

From my point of view there was an improvement in GPS accuracy after merging the GPS-patches. Now I see some active SBAS-satellites again in the app "GPSTest" . I have no google services installed on my device.

I also have no touch sensitivity issues at my device. Thank you [MENTION=8746471]NeoArian[/MENTION] for your support - everything is working fine on my z3c.
[Xperia Z3 Compact Original Android Development] MaximusDM91:
Hi NeoArian

I have an issue with wifi connecting with my z3c since October update, wifi sometimes freezing and i cant open settings, digging around and find a ticket bug on lineage page about this and a reddit topic with similar issue:

reddit com/r/LineageOS/comments/fh1zqg/lineageos_wifi_broken/

gitlab com/LineageOS/issues/android/-/issues/2347

If you have the time can you look into it ?Just try the new 1103 update and still got that error. Currently stay in 0922 update
[Xperia Z3 Compact Original Android Development] wtor68:
I can confirm this problem, but i have this problem also before october on two devices. It happens sometimes in different intervals. At the point where i cannot change the wifi settings also a system reboot or power off doesn't work, the device stays in an endless loop showing the shutdown logo. Only hard power off helps in that case.
[Xperia Z3 Compact Original Android Development] ussser:
Regarding GPS:

The only build it worked flawlessly was the lineage-17.1-20201020-nightly-z3c-signed.zip

Unfortunately it doesn't work on the current build.
[Xperia Z3 Compact Original Android Development] wtor68:
No problem here, GPS works without problems (also without google services).
[Xperia Z3 Compact Original Android Development] hubert-bangol:
No problem too with the last update. Wifi and bluetooth are ok, and GPS is working, fix in few seconds only, also without google services.
[Xperia Z3 Compact Original Android Development] ussser:
GPS fixes rapidly, but when in a car using Waze or other GPS dependent software it looses signal sometimes. This was not the case on october 20 build.
[Xperia Z3 Compact Original Android Development] crott:
I have no Windows, so as far as I understand, I can't flash to latest stock firmware without Windows.

So I've made few more other attempts, including:

- older version LOS 17 with older recovery

- with TWRP or with LOS recovery

- alternative system - Carbon

All above had exactly same issue: can't start LOS with encryption enabled. Now I suspect I must have done something wrong ;)

But I found one instance where encryption is working

: that is when I install

LOS without gapps

. That's fine by me, I'm happy to live without gapps.

But now GPS is not working :) Which it did before with gapps and no encrypton. But it is not as a deal-breaker as no-ecryption was :) I'm almost happy now using lineage-17.1-20201103-nightly-z3c-signed.

Cheers
[Xperia Z3 Compact Original Android Development] pawloland:
You can try to flash latest firmware on windows vm. I know that virtual box has option to forward host's OS usb to virtual mashine, so in theory it would make you able to flash latest version of firmware without windows installed on physical drive, but through vm.
[Xperia Z3 Compact Original Android Development] t.Lancer:
I'm using the latest nightly build,	lineage-17.1-20201103, and I'm using a 128GB sandisk microSD card as internal storage. but every time I restart the phone, I have to reinsert the card because it thinks it's missing. When I look under storage, it is still listed, but as unknown or corrupted. reinserting makes it work again, but some app already get messed up by then and switch to the 16GB internal storage of the phone. That really messes things up for things like Spotifiy, as my entire downloaded files are lost and I have to clear all data for some apps for them to use the sd card again.

is this issues known, and is there a work around to get the SD card to work after a reboot? No amount of waiting after a reboot makes any difference.

also my phone does not seem to be doing into deep sleep. the process msm_serial_hs_dma is always at 100%, as well as BTLowPower.