yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] H4NNE5:
UPDATE: The problem disappeared after I installed an older version of the TWRP 3.1.1-z3 recoveries(The one from the OP of this thread). Any idea why the newer on was causing this problem???

Hi, I already successfully installed LOS 17.1 on my device but had problems in that way that all my call partners were hearing their own echo :(

So I wanted to try LOS 16. But upon installing the latest available zip file I get an ERROR 7 exit with following content:

I wiped all relevant data before.

A difference I noticed in the installation log was this:

For LOS17:

For LOS16:

So apparently the successful installation skipped the file system mount or what does that mean?

Can anybody give me a hint what I could do?

Thank you.
[Xperia Z3 Compact Original Android Development] blokva:
Hi, I have flashed recovery in the firs post was recommended. The file version looks as 3.3.1, but when I loaded to TWRP on the top I see:

Team Win Recovery Project

3.0.2.0

What this means?

Thanks
[Xperia Z3 Compact Original Android Development] hchauvet:
Thanks !!! I just install this version and for me it fix the too loud volume :good::good::good: !
[Xperia Z3 Compact Original Android Development] blokva:
BTW anybody can explain this inconsistency?
[Xperia Z3 Compact Original Android Development] NeoArian:
This means that you did not flash the new twrp in the end.
[Xperia Z3 Compact Original Android Development] blokva:
What can I do in this situation?

All my attempts are finished with OKAY message, but after rebooting in recovery mode, I see title:

"Team Win Recovery Project

3.0.2.0"
[Xperia Z3 Compact Original Android Development] NeoArian:
From where did you download the twrp?

Have you flashed the latest stock firmware before?
[Xperia Z3 Compact Original Android Development] blokva:
Thanks a lot for care about my problem!

In this time I have customized "Pre-root MOD 291 RU" from 4pda.ru (by russel5 user)

And TWRP from this thread in post #2

May be I need clear stock ROM to be installed? But now I have open boot loader!
[Xperia Z3 Compact Original Android Development] steve8x8:
Am I supposed to perform a manual upgrade when a new nightly ROM has been detected?

Rebooting into TWRP 3.3.1-0 from 20200325 didn't do anything, I had to pickup the zip from /data/lineageos_updates and install it manually. What did I miss?

Addition: After successfully upgrading, now even coupling the MiBand4 (with the xDrip app) works flawlessly - this failed before when one of the display details were activated (while the seranoltexx build didn't show this issue). I probably will never find out what exactly has been changed between 0325 and 0421 ...
[Xperia Z3 Compact Original Android Development] nezlek:
The magic question .....

No action on the LOS downloads page since the 21 April 2020 update. Is 16 dead, or is the dev just taking a (well-earned) break ?
[Xperia Z3 Compact Original Android Development] NeoArian:
Builds are currently paused due to infrastructure work and will be continued as soon as possible.

OTA updates downloaded through the updater should be installed automatically in twrp.
[Xperia Z3 Compact Original Android Development] dplasa:
Still no new builds

Other devices have recent (today!) builds... the z3c seems to be forgotten. :(
[Xperia Z3 Compact Original Android Development] 0LDST4R:
Very often a little patience is the key... ;)

https://mirrorbits.lineageos.org/full/z3c/20200603/lineage-16.0-20200603-nightly-z3c-signed.zip

_-_-_-_-_-_
[Xperia Z3 Compact Original Android Development] dplasa:
Well, I was... for 43 days. And I almost cannot believe that exactly 43 days later -- as I've had checked and posted -- it came to life! Coincidence? Or did someone just turn a knob :) Whatever, will download and update!
[Xperia Z3 Compact Original Android Development] 0LDST4R:
:D :D :D

Coincidence... Who knows...

:D :D :D
[Xperia Z3 Compact Original Android Development] pawloland:
I also asked about it yesterday on Lineage subreddit, because I was inpatient at that point. Someone surprised me with the info, that just 2 days ago they relaunched building servers. :p
[Xperia Z3 Compact Original Android Development] steve8x8:
Indeed - although the order of new builds seems to be random (z3c and bacon already covered; one -but not the 2nd- of the s3ve3g* ones, ...). In the end, all will sort out - and if it doesn't, it's not the end yet.
[Xperia Z3 Compact Original Android Development] Radiolaria:
[MENTION=8746471]NeoArian[/MENTION] and all belonged developers:

A really big thank you and your really important work. Perhaps the most important work in the smartphone space.

For everyone who is searching for a small smartphone and for me without google, there are no other possibility then stepping back to the z3c.

Do you have a crypto wallet for donation? Because i have no paypal.

Kind regards

Marco
[Xperia Z3 Compact Original Android Development] NeoArian:
Great to hear and thank you. I don't have a crypto wallet, only PayPal. But no worries, I don't depend on donations. Rather take that money and get an ice or something to support the local economy :fingers-crossed:
[Xperia Z3 Compact Original Android Development] Radiolaria:
:highfive: like your attitude! greetings from rostock!
[Xperia Z3 Compact Original Android Development] Jonathan_B:
I have been using the 16.0 LinageOS for quite some tme now and it worked like charm. Recently i noticed the display remaining black when making a phone call. While im able to use the buttons to pick up and end a call i cant see who's calling.

Did a clean reinstall a few times to see if its my configuration but still it remains. Got any ideas?

Im on twrp-3.3.1-z3c-20191107 and the bug has been from the versions since april as far i know.
[Xperia Z3 Compact Original Android Development] steve8x8:
[MENTION=10897753]Jonathan_B[/MENTION] can you make sure that it's not the proximity sensor that's misbehaving?
[Xperia Z3 Compact Original Android Development] Jonathan_B:
How would i do that?

I have tried linage 16, 17.1 and the carbon 8.0 and its the same on there. I tried to put the z3 flat on some surface top down to darken the proximity sensor as a test, when picking it up the display switches on and shows the phone app as i call.
[Xperia Z3 Compact Original Android Development] steve8x8:
[MENTION=10897753]Jonathan_B[/MENTION] Zausan DeviceTest (Z-DeviceTest in short) used to work for me and older phones. Btw the prox sensor is not a light sensor but (I suppose) a capacitive one, it gets easily disturbed by dust that somehow entered the phone.
[Xperia Z3 Compact Original Android Development] Jonathan_B:
Yes thanks for the hint, it was the proximity sensor acting weird. I cleaned it with alcohol and a qtip then ran an app to calibrate the sensor (proximity sensor fix..) and deleted it after confiming that it works again. Problem solved!

Update:

So a day later the problem with the proximity sensor returned and i found out that the display glass on the Z3C separatates from the sensor for just a millimeter or so. This results in the sensor beeing in the state of always ON and the display stays dark when using a app that checks for proximity. This seems to be a common problem for the Z3c. Luckily its fixed with just a drop of super glue.
[Xperia Z3 Compact Original Android Development] Code_Anaconda:
Thanks for maintaining this great ROM. Really appreciate it. It has given new life to my favorite phone of all time.

I have just updated to the recent ROM (2020-06-16) and it appears to be quite laggy when opening apps I.e. Gmail / Chrome etc. Anyone else having this problem?
[Xperia Z3 Compact Original Android Development] Code_Anaconda:
Nvm. Issue solved. After restarting, I had the "PIN screen loop" problem, however after this was resolved, all was normal again.
[Xperia Z3 Compact Original Android Development] steve8x8:
Thanks for your investigation. Indeed I've seen the same - always on due to display coming off - with bad adhesives (although I'd hesitate to "solve" it with superglue). I didn't pursue this further as the phone isn't used for making calls anymore, and the on-body detection isn't active.
[Xperia Z3 Compact Original Android Development] kororoso:
hei, i'm new here. i reactive my z3compact. is this rom have a problem with NFC?like for payment or checking balance on prepaid card, is it compatible?
[Xperia Z3 Compact Original Android Development] pawloland:
It should be able to do all of those things.
[Xperia Z3 Compact Original Android Development] xkym:
Struggling with a fresh install here.

Bootloader unlock was yes, got it unlocked okay. TWRP installed and running.

Firmware was already 23.5.A.1.291 as mentioned here https://wiki.lineageos.org/devices/z3c/install

Flashed lineage-16.0-20200714-nightly-z3c-signed.zip and also tried the oldest one on lineage site lineage-16.0-20200325-nightly-z3c-signed.zip

At first I tried with gapps/su but additional attempts were all tested without.

There is no error during flashing, when rebooting lineageos boot logo runs for a few minutes then it reboots back to recovery.

Done the cache/system wipe as mentioned. I've never had a flash that failed at the boot logo and return to recovery/twrp itself before.
[Xperia Z3 Compact Original Android Development] pawloland:
What twrp did you flash? You should use the one linked in wiki or the one attached in the first post of XDA thread. If it won't help use Emma (flashtool from sony) and then start over again from here https://wiki.lineageos.org/devices/z3c/install#installing-a-custom-recovery-using-fastboot.

Btw, if you want root and gapps, flash zips in following order: rom -> gapps -> magisk / addon su but I would recommend magisk over addon su.
[Xperia Z3 Compact Original Android Development] ekaasoe:
GPS no fix

Hi there,

the GPS wont fix and I can't get my location. The GPS worked in the past about a few months ago on LOS. Now "GPS Test" shows about 8-15 satellites "in view" but GNSS Status keeps reporting "No Fix". I only get a location when using WiFi, which is pretty useless.

Is this a software related bug or is my device somehow damaged? Anybody else can report on this problem? I'm running the current build (19, July) from microG.
[Xperia Z3 Compact Original Android Development] xkym:
Thanks. I had to restore with Emma (FlashTool didn't work for me) which took a while, then started again the flash process and it was fine first time.

I had used a slightly newer twrp than at the top here, from the lineageos install instructions, but used what was linked.

I notice that the stock "bloatware" apps (playstation, navigation, avg etc) were under lineage - not sure how?
[Xperia Z3 Compact Original Android Development] pawloland:
Maybe you didn't wipe data. Another possiblity is that you flashed twrp or magisk zip with stock sony apps. They could be also restored by gaaps, while setting up the phone.
[Xperia Z3 Compact Original Android Development] hubert-bangol:
Hello,

I've got exactly the same problem since few days, but running under Carbon Rom.

I've another Z3c with stock Sony ROM, and he can fix a point. I really don't understand what happened suddenly?
[Xperia Z3 Compact Original Android Development] 0LDST4R:
CarbonROM is based on LOS.

Have the same issue atm in my Z3C and Z3, both with LOS 17.1 10/08/2020, unofficial.
[Xperia Z3 Compact Original Android Development] Spaceoid:
Hi guys,

I am on the X Compact at the moment, but the GPS problem seems to be an universal LineageOS problem. For us, GPS stopped working in mid-July, too. Same problem, lots of satillites in view, but none gets locked. In the GitLab of LineageOS there are many issues of different phone users experiencing the same problem on LineageOS 16 and LineageOS 17.
[Xperia Z3 Compact Original Android Development] hubert-bangol:
Thanks for the answer.

So my tests are "localization with GPS only". Outdoor a TTF is made but after few minutes, and then without disconnection. So it is working, but not as fast as it should do at first. Strange.
[Xperia Z3 Compact Original Android Development] stefan_z3c:
Hi,

Today i tested a newly flashed z3c with LOS16-25.8., GPS works but it only locks on Navstar-sats.

Other-sats with good signal are listed but no lock on them.

Another z3c with 23.5.A.1.291 use other Sats beside Navstar...
[Xperia Z3 Compact Original Android Development] NeoArian:
Official LineageOS 16.0 for Xperia Z3 Compact has come to an end today.

LineageOS 17.1 is official now instead: https://xdaforums.com/z3-compact/orig-development/official-lineageos-17-1-z3c-t4160347

You can upgrade from Official 16.0 to Official 17.1 by following these instructions: https://wiki.lineageos.org/devices/z3c/upgrade
[Xperia Z3 Compact Original Android Development] NeoArian:
I haven't seen the signature verification failed error myself but could you try to disable the signature verification within TWRP settings (default is not activated by the way)?

Anyway Good evening everyone, since i am a little bit sick today i have had some time to look into the mystery call volume problem :D I have experimented really much and got a probably pretty good solution.

The first change is https://review.lineageos.org/c/LineageOS/android_device_sony_z3c/+/264153 where i have updated the mixer_paths from the latest stock ROM and dropped all modifcations we previously had on top of the stock one except the one linked in the commit message. https://review.lineageos.org/c/LineageOS/android_device_sony_shinano-common/+/264152 This commit drops custom acdb id's for dual microphone configurations we previously had. I don't understand why we had these changes but when falling back to the default acdb id's (43 for speaker dmic and 41 for handset dmic) The volume is not that crazy loud anymore and similar to stock i think. I have also enabled Fluence here: https://review.lineageos.org/c/LineageOS/android_device_sony_shinano-common/+/264150 That should enable Qualcomm’s dual-mic echo cancellation technology and seems to work good so far.

One problem is left, you might now that my bottom speaker is broken so i can't test the speaker mode output myself, so i have not merged the changes yet. Would someone be so kind and test the build i compiled? download: https://drive.google.com/open?id=1r2ipI5gfZpxPTxCSYpyIBEse2Hsr3FF7 Note that you can not flash this build over the official nightly because of the different signing of the official build. Please wipe data. If you are still on my latest unofficial build you can just flash it as always.

In order to get some impressions how the experience should be i flashed the stock OS today morning myself, i think the calls should be on a similar level now, assumed that the speaker works as intended.

I have also tested GPS on stock and found out that it can connect to GLONASS and Beidou sattelites, i think on Lineage we are not able to do so currently. I will look into this within the next days and keep you updated on this.
[Xperia Z3 Compact Original Android Development] pawloland:
I was able to dirty flash build with signature verification disabled. The twrp you shared isn't fully working:

- reports errors with signature verification

- date in logs is wrong

- can't be accessed from advanced reboot / OTA because when i select one of those options phone hangs at Sony logo and led flashes blue.

-after flashing zip logs say that twrp is unable to mount storage

Taking advantage of the opportunity, I would also like to state that MHL IS STILL WORKING, if anyone but me is also interested! Phone sometimes reboots itself after unplugging from MHL adapter, but hey it's better than nothing.

I would also like to ask you about ASP from November, will you include them in the next patch?

In Trust I see that Platform is up to date but Vendor is OUT of date.

I am not sure but IIRC some time ago Qualcomm SoCs were discovered to be exploitable in some way . Is this why vendor is out of date - because we don't have patch applied to eliminate this exploit? Can vendor be updated then?

Regarding your test build- if no one is going to help sooner, I could test it tomorrow;)
[Xperia Z3 Compact Original Android Development] Bore1:
Wow ure fast will try it asap thnx
[Xperia Z3 Compact Original Android Development] pawloland:
I tried to make nandroid backup (using twrp from 10.11.2019) before flashing your test build but i encountered error

createtarfork() process ended with error 255

I attach full logs.

I would like to add that I was trying to do nandroid backup of build from 10.11.2019 which was dirtyflashed on top of build from 8.11.2019 using twrp from 10.11.2019 with signature verification disabled. Do you know how to fix it?
[Xperia Z3 Compact Original Android Development] Hackmann:
Could you please give some more detailed info about how we should go about it? (and edit that post).

I'm assuming it means to do a full wipe, but user casouzaj reports that a dirty flash works as well. :confused:

Some clarity on this would be very much appreciated.

Btw, as this rom is now "official" there's also a microG version available:

https://download.lineage.microg.org/z3c/

Please follow the installation instructures there, you probably need a migration.zip.

---------- Post added at 04:25 PM ---------- Previous post was at 04:10 PM ----------

Does that mean you've flashed the latest TWRP, then cache/system wipe, that's it?
[Xperia Z3 Compact Original Android Development] casouzaj:
I used the 1106 TWRP when I flashed the ROM, then the 1110 one to update the ROM. II haven't even explicitly wiped the cache partitions, but it ends up happening when you flash a ROM, I guess
[Xperia Z3 Compact Original Android Development] NeoArian:
I already wrote more about the migration from unofficial to official in the final post in the unofficial thread. https://xdaforums.com/showpost.php?p=80821191&postcount=924

I won't add it here because the unofficial variant is "dead" and you don't need the migration zip when updating from official to official.

I don't know this error. A quick google search for your error brought me to this: https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1373 Do you have multiple users or something similar?
[Xperia Z3 Compact Original Android Development] pawloland:
No I don't. I deleted the problematic file and now nandroid backup is being done. Right now so far so good. Also twrp from 07.11 doesn't support usb sticks formatted in NTFS, only FAT32 is recognised. I had got a lot of error saying that storage can't be mounted. What "storage" is? I can browse internal storage under /sdcard so what is the said "storage"?

---------- Post added at 05:58 PM ---------- Previous post was at 05:17 PM ----------

Sorry to bug you but could you [MENTION=8746471]NeoArian[/MENTION] dispel my doubts?

Also could you answer my doubts written above :)

So I tested build you shared yesterday. For me the volume in the "normal" (not loudspeaker mode) is perfect now. Not to high and can be lowered much more than it was previously. Loudspeaker mode isn't working. Only speaker at the bottom is activated, upper one is quiet (stereo isn't working). Volume in loudspeaker mode is at the same level as it is in normal mode, can't be adjusted to be any louder from the maximum of the loudness in the normal mode.
[Xperia Z3 Compact Original Android Development] NeoArian:
Are you encrypted? Iirc the red Unable to mount storage is a common twrp "problem". It gets written before encryption is done.

November patches will be there with the next build. Vendor patch can't be updated because this is the patchlevel of the proprietary (not open source) blobs from the stock ROM.

About the audio: it is inteded that the upper speaker is disabled during speaker mode, that's how stock handles it. (the change is here) I even flashed stock to confirm this, since my bottom speaker is broken i had no output in speaker at stock at all. Do you mean that the bottom speaker is too silent? Are you able to modify the volume or is the volume fixed to one level? Also please share a log while activating speaker if possible. Thank you.
[Xperia Z3 Compact Original Android Development] pawloland:
I am not encrypted. Strange thing is that after couple of those storage errors, when I connected phone to PC, it showed two folders called Internal storage and both of them were working:p Regarding loud speaker- yes, it is very silent. I can change the volume, it isn't fixed at specific level. It can be as loud as in normal mode. I personally would like to keep the loudspeaker mode as it was previously (if possible), so both of the speakers work (the louder the better I think:D). I think that the perfect setup is to keep loudspeaker mode as it was and add changes to make normal mode like it is in your test build. I attach logs, hope they are what you were asking for;)
[Xperia Z3 Compact Original Android Development] NeoArian:
Thank you. It would probably be really easy to make use of both speakers during speaker mode but i usually prefer to stay with the way how stock handles it or at least as close as possible. I will hold this change at the LineageOS gerrit for a while until i can test it myself. How have you recorded the log? XD Could you just get a *.txt file with the output of adb logcat? I somehow can't open the log1.log file in your zip.

By the way I finally ordered a new speaker, a new camera button and a new headphone jack for my z3c so that i can test it myself in a few days. I just noticed that i was able to pay these three things 100% from donations so i would like to thank everyone who donated to me. :):fingers-crossed:
[Xperia Z3 Compact Original Android Development] Hackmann:
But a lot of people will come here from older or other ROMs, who will find this info valuable (as well as a link to the migration.zip).

I wish more people would use open Androids, but this is not exactly a noob-friendly affair and collecting all the relevant infos over several pages and threads is quite time-consuming. Therefore i would appreciate that the instructions on page 1 are as easy, clear and noob-friendly as possible.

Another question: i'm assuming that the migration.zip is specific to the ROM (signature) i want to upgrade to, so if i want to flash the microG version, then i need to use their migration.zip. Is that correct?
[Xperia Z3 Compact Original Android Development] johnny0815:
For me everything is perfect now when using normal / earpiece mode. Even the echos on the other side are gone. But when activating the loudspeaker for handsfree mode nothing changes. The upper earpiece speaker stays activated at its earpiece volume, which is of course to silent to use it as handsfree.The bottom speaker is not activated at all.

--------

Need to correct myself: Both Speakers are activated all the time, regardless of using earpiece or handsfree mode and volume doesn´t increase when activating handsfree mode.
[Xperia Z3 Compact Original Android Development] Hackmann:
You can get a working z3c for 20-30€ in the bay. I just got one on the weekend, with a slightly loose display, for 20,01€ (will probably give it to my brother) ;) That's probably cheaper than a repair :p
[Xperia Z3 Compact Original Android Development] pawloland:
I used

adb logcat > log1.log

to record logs. I must admit that I didn't know how to stop recording logcat so I have just unplugged phone from PC xD. I zipped output using winrar on windows machine. I downloaded the zip from xda and I can normally open log. If you still have an issue I can send it to you in PM. Because it's getting a little spammy here.