yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] NeoArian:
I have looked into the camera button settings and recognized that the overlay wasn't set. The next build will include settings for the Camerabutton.

Commit: https://github.com/z3c-pie/device_sony_z3c/commit/a72c927587f70f9c1de78735c0cbe21363275d53

I have attached a screenshot of the settings.

BTW: I have succesfully replaced the screen. Sadly the screen is pretty much worse then the original: floating touch doesn't work, it takes about a second to turn on, the touch is inaccurate and it needs some seconds after a cold boot to be responsible at all (for example when booting to TWRP which is pretty fast it doesn't work for the first seconds). None of these errors have been there before :(

Also i broke my bottom speaker, so i can't test the volume decreasing for now. My camera button problem was sadly not related to the button at the frame, it still doesn't work.

But anyway my phone mostly works again but i can't recommend to get this screen: https://www.ebay.de/itm/Sony-Xperia...204707?hash=item3629d73923:g:1FYAAOSwPkBaWzkF
[Xperia Z3 Compact Original Android Development] shgth:
Thank you so much! It was just a sweet button when it worked <3 :D
[Xperia Z3 Compact Original Android Development] NeoArian:
Good evening

I have had a free day today and spent it on TWRP with decryption. (what a waste of time, no?)

In the end i have had success and basically finished the TWRP tree that i have been working on.

I don't use system vold (the decryption method used, it uses the libraries from the system partition), i have shipped the needed blobs so we don't need a working system image in order to decrypt our data.

The tree can be found here: https://github.com/z3c-pie/twrp_device_sony_z3c/tree/bringup if you want to compile it on your own ( [MENTION=5688409]koron393[/MENTION] ) you have to run the extract-files.sh script and replace vendor/omni/build/tools/extract_utils.sh with the lineage one (if you use minimal manifest). While running the script your device has to be connected to your computer via adb and should be running a recent ROM. I will attach a recovery.img to this post and post #2.

Note that the red "unable to mount storage" message is a known bug, but doesn't seem to break stuff. I will try to get rid of this message.

Have a nice day!
[Xperia Z3 Compact Original Android Development] NeoArian:
I have uploaded a lineage build which includes the camera button settings and an attempt to fix ANT, could someone confirm ANT support please? I don't have a device with ANT+ available right now.

Happy flashing.
[Xperia Z3 Compact Original Android Development] Spaceoid:
Are there any other changes apart from decryption? :)
[Xperia Z3 Compact Original Android Development] lord0815:
Hi,

thanks for the new build - does it include sound/audio fix again?

Best regards
[Xperia Z3 Compact Original Android Development] NeoArian:
Do you refer to TWRP? Then yes, it is completely reworked and updated from android-6.0 to android-9.0. There are no big changes that you directly notice though. Just some small stuff, for example I have added Trim Area to fstab.

As I have said, my speaker broke while replacing the screen and I haven't got a new one (yet?). It should be hard to test for everyone with a working speaker but it should work.
[Xperia Z3 Compact Original Android Development] Spaceoid:
This is insane, thank you so much! TWRP is working super fine, the new ROM build is already downloading. Greetings from Dortmund ;)
[Xperia Z3 Compact Original Android Development] lord0815:
I can confirm that the sound is now (20190805-ROM) nearly crystal clear :) Thanks!!
[Xperia Z3 Compact Original Android Development] StarGeneral:
Is the call-distortion problem fixed as well? Can you provide OTA? Thank you in advance :)
[Xperia Z3 Compact Original Android Development] lord0815:
In my case it is fixed as well. OTA was already present yesterday - for me.
[Xperia Z3 Compact Original Android Development] StarGeneral:
Yes, OTA is present - didn't check before, sorry. Thank you!
[Xperia Z3 Compact Original Android Development] shgth:
Can I update from the second latest Lineage straight from a system update prompt while it's just running or do this need to be done like the first install? This is second LineageOS version for me. This has probably been answered many times before but so many pages! :P Would be glad if I just got a fast reply on this.
[Xperia Z3 Compact Original Android Development] Dabronik:
How do I turn off the sound when I send someone an SMS? My point is that I have the same as when the text message arrives.
[Xperia Z3 Compact Original Android Development] dplasa:
sdcard Issue

Hi everybody!

Thanks for the wondeful rom. I just installed it on my z3c. So far so good. After I moved all of my files I noticed some weird behaviour: when making calls, I cannot be heard. I understand and receive perfectly but my voice somehow doesn't get through.

The microphone cannot be dead since voice recognition "Ok, google..." and speech to text works.

Edit: Sending voice messages via Whatsapp show: the microphone is very very quiet - almost unhearable.

Any ideas?

Edit2: Restart fixed it.... ?/?!
[Xperia Z3 Compact Original Android Development] Spaceoid:
If you are already on a previous version of THIS LineageOS 16, then yes, you can just update it! You will keep your apps and other data.

You can deactivate the sound for outgoing SMS via the settings of the SMS app. :)

I have the same issue on my Z3C and I also had it on my OLD Z3C that i accidently destroyed. I never tried sending voice messages on the stock rom though, so I am not sure wether this is a generel problem of the phone. Somewhere I read that the microphone for voice messages is really hidden under some plastic of the phone case (to provide water proofness, i guess) and the sound therefor isnt as good. Maybe somebody else here can test and also has sent voice messages on stock, so can compare the sound quality?
[Xperia Z3 Compact Original Android Development] dplasa:
As edited above: a simple device restart fixed the problem:) not sure why it didn't work in the first place:confused:
[Xperia Z3 Compact Original Android Development] shgth:
Thanks for the reply.

Update went awesomely smooth and also camera button now works from the off screen even with the screenlock on(without opening it which is good). Also the setting in the camera app can be adjusted to take the picture right away after the app opens or record a video instead of just opening it like before but now even from the offscreen. It starts a bit slow though but the problem could be anything as the app itself from menus opens up fast. Perhaps it shutters first with the button before showing the app so you can take the picture right away. Originally(stock) pressing the shutter for a second just did focus and took a picture when kept pressed. Now it takes it kind of right away. Perhaps I need to adjust some settings more but awesome the button works! :P Thanks for the fix.
[Xperia Z3 Compact Original Android Development] stefan_z3c:
Ant+ Test

Thank you for the release.

Unfortunately, ANT + does not work yet, but I can now grant the permission for the ANT hardware. What did not work before.

Ant-Tester reports "Built-in chip firmware: no service"

despite activated authorization.

Stefan
[Xperia Z3 Compact Original Android Development] lord0815:
Someone tested videorecording on latest rom?

I tried with snap camera app (LOS) and open camera, both stuck at the first frame. Timer count elapsed time but thats all it does.

Tried store to device and store to sd card - same same.

And for me, battery drain is higher as in older builds.

Thanks in advance

-------

Update: Delete Settings in Camera Apps solve the recording issue. for now.
[Xperia Z3 Compact Original Android Development] Dabronik:
[MENTION=5196625]Spaceoid[/MENTION] This sound is when I send a response from the pop up sms application window, when I enter the application, then this sound when sending I do not have
[Xperia Z3 Compact Original Android Development] BandyBandy:
Last build:

Sound problems, solved. Problems with the call sound, solved. Unfortunately, huge battery consumption! (Sorry, translator)

Edit:I have detected a spontaneous illumination of the ambient display. After turning off the ambient display, the battery is normal
[Xperia Z3 Compact Original Android Development] NeoArian:
Good evening,

Which bugs do we have remaining in the current state?

ANT doesn't work - just had a short look at it, probably can't hold it

Battery problems on latest build should be related to broken ant

* Offmode charging displays a bright, black screen

Do we have something else? - sorry, i'm really forgetful when it comes to bugs :P

Otherwise i would start to rebase and clean the trees & kernel within the upcoming days as good as i can and MAYBE get up for a official release of LineageOS for this device. It is not really likely that i even find the motivation to finish a rebase of all stuff so don't get hopes up(my Mi 6 wants Q maybe, who knows) but everything is possible :D
[Xperia Z3 Compact Original Android Development] Bore1:
fm radio - search is broken also audiofx when playng music from sd card and pluging headphones screrws sound i uninstalled audio fx and problem went away , but those 2 are just minor unimportant bugs ;)
[Xperia Z3 Compact Original Android Development] Spaceoid:
Phone is still forgetting date and time after a reboot! :) No problem if you switch of the PIN for your SIM and you are in an area with good network, but e.g. at my university after an exam where I shut my phone off the phone will think for the next 20 minutes it is still in June :D
[Xperia Z3 Compact Original Android Development] Dabronik:
I still have a problem that SMS notifications only come when I turn on the screen
[Xperia Z3 Compact Original Android Development] NeoArian:
FM Radio works as good as possible :P our HAL is so old, it's magical that it even compiles on pie with just some hacks. What is the problem with audiofx? I have just copied some mp3's to my phone and audio FX works okay (it says bass and virtualiser are not available for speaker mode, should be okay.) Reverb works fine as long as I can tell it with my broken speaker :D
[Xperia Z3 Compact Original Android Development] tblr0ne:
There's a constant BTLowPower wakelock even after disabling Bluetooth. You have to reboot and must not activate Bluetooth to get rid of it.

Standby in general seems a little worse since your kernel rebase; but that might be just my ageing battery.

Thanks again for your continuing effort!
[Xperia Z3 Compact Original Android Development] Spaceoid:
Might it be that the phone is allowed to search for bluetooth devices in the background in the "location" settings (under "Search")? :)
[Xperia Z3 Compact Original Android Development] tblr0ne:
No.
[Xperia Z3 Compact Original Android Development] josip-k:
i just picked one z3c up with non working touch screen, when i swap out the display i'll help you as much as i can with the device , even tho i haven't done anything android in like, two years lol but i'm sure i haven't forgot everything :P
[Xperia Z3 Compact Original Android Development] Bore1:
on sd card? or internal? i have only problem when playing from sd card. hapens when playing song and pluging headphones while song plays
[Xperia Z3 Compact Original Android Development] wtor68:
I installed your last version from august (first install after unlock and twrp on my z3c). As you said FM radio works, it may be i have another problem.

If i start FM radio it says: connect headset. If i do that, it's accepted but radio says: currently not available. So radio use it not possible at all. Is there anything open which can lead to this problem? Playing music by another player in general works over the headset.
[Xperia Z3 Compact Original Android Development] dhemker:
I also noticed that the front camera does not work occasionally. Screen stays black.

Dennis
[Xperia Z3 Compact Original Android Development] jesusrah:
Thanks again for this great ROM. I'm having a weird one which not particularly bad but a bit annoying: After a few days my screen takes about 2 seconds to unlock when I press the power button.

If I reboot everything is fine so it might another app causing the issue but I really don't have much installed (and I have no clue how find which one could cause this). Just mentioning here cause I never had this with any other ROM and the same apps (although it could just be one particular app and Android 9)
[Xperia Z3 Compact Original Android Development] Spaceoid:
Do we already know wether the microphone issue with WhatsApp voice messages/calls is a phone problem or a ROM problem? :)
[Xperia Z3 Compact Original Android Development] shgth:
Just tried that new gesture thing in Pie "Swipe up on Home button". It just doesn't work(can't get previous apps or app drawer). I have checked many tutorial videos and checked few other instructions and it just doesn't work. Perhaps it's a problem with a Nova Launcher or whatever but just figured to report I can't get it to work like it should(haven't used before but tutorials don't work for it).
[Xperia Z3 Compact Original Android Development] dimenfer:
The ROM is smooth and works nicely, but sadly there's no "support" for Dualshock 3.
[Xperia Z3 Compact Original Android Development] StarGeneral:
Call quality is good with latest build, but i am experiencing a strange behaviour: When i am calling someone, the display turns black and stays black until the call ends. There is no way to activate the display again (pressing power on, ...) - that worked in the last build?

Battery drain is quite high as stated by the other members above.
[Xperia Z3 Compact Original Android Development] Spaceoid:
Hi [MENTION=8746471]NeoArian[/MENTION], I found a very specific, yet for me pretty huge problem with the latest build:

Alongside to going to university I also work at the football stadium of my town. For planning our work schedule, the stadium uses the "PLAN|NET|APP 2" from Google Play Store.

ONLY in the latest build of the ROM, i cannot log in to that app anymore. I see the log in window with server, mail adress and password entering fields, but the app keeps responding "Wrong password" DESPITE i am 100% sure its the right one (I checked it via login on a computer, but that is super uncomfortable and like that I miss all the short announcement and a lot of possibilities to work).

Ofc I first thought it was something I installed on the ROM afterwards, and ad blocker or something, so I wiped everything and even reflashed the ROM without Gapps - it would not work. When I did the same thing with the build of July (again clean flash with full wipe and no Gapps) the app would log me in without problem. I have no idea what might have happened there from one build to another, but probably you can help me? I already mailed the developer of the app who told me that the app uses "Android System WebView" in the background, so maybe it has sth to do with that, but otherwise I have no idea what could prevent the app from logging me in...
[Xperia Z3 Compact Original Android Development] hrsh45:
i used to have the same call issue (black screen) with another rom, found out that i deleted "Call File" (or something like that) by mistake.

not sure if ur situation is the same?
[Xperia Z3 Compact Original Android Development] Mr. BumbLebee:
Hi [MENTION=8746471]NeoArian[/MENTION],

what is difference between "fastboot flash recovery twrp-3.3.1-0-z3c.img" and "fastboot flash FOTAKernel twrp-3.3.1-0-z3c.img". Please simply answer that. Thanks.
[Xperia Z3 Compact Original Android Development] Spaceoid:
I think PRIOR to the latest recovery version we needed to flash the recovery as FOTAKernel, so thats why we had to use that command, but since the new one (3.3.1) there is no need for that anymore, so just flash it as recovery.
[Xperia Z3 Compact Original Android Development] NeoArian:
Simple answer: there is no difference.

Since we don't have a "real" recovery partition (which is also called recovery at least) the FOTAKernel partition is our recovery partition and our bootloader flashes to FOTAKernel when using the fastboot flash recovery command.

Crazy error. Could you record a logcat?
[Xperia Z3 Compact Original Android Development] Spaceoid:
Sure. I hope I did it right, never recorded a log before. I did it with alogcat from the play store. I deleted the app data beforehand, then started the log recording, opened the app, tried to log in (ofc it failed), closed the app and stopped the recording. Hope I did everything right, if not, just tell me what you need.
[Xperia Z3 Compact Original Android Development] NeoArian:
FM still works same as in the first fixed build: the scan doesn't really work, it just shows 1-2 stations, apart from this it works.

I would count that as missing feature.

unlikely to be ROM related, definitely not device side.

LineageOS bug iirc, not device side.

I have disabled wfd for now, since it's brokem it's useless to show them. It just shows the working ones with Google cast now.

Not device related, can't do much on this right now.

Will keep an eye on this. Idle is okay without GApps on my phone though.

I will also test this. I haven't had problems with AudioFX last time I tried it.

I am not happy with the current implementation either. Will get my hands on it soon.

Uh, interesting :D

Probably fixed in upcoming builds, a reboot in airplane mode won't make the phone to forget time anymore.

Gonna look into TWRP #soon.

I will test it myself, probably not too hard to fix.

Thanks for the whole list!

After I am done with cleaning the list of proprietary files I will look further into the mentioned stuff :)
[Xperia Z3 Compact Original Android Development] StarGeneral:
I did not change / delte any of the files. Could you please specify which file you mean so that [MENTION=8746471]NeoArian[/MENTION] can probably take a look?

As I did not change anything, i thought this would be rom-related. Maybe the problem is dirty-flash related?
[Xperia Z3 Compact Original Android Development] hrsh45:
back then i was with existenz rom, the deleted/ affected app was called "Call File" (i am not with that rom anymore and can't find the same thing in my z3c now)
[Xperia Z3 Compact Original Android Development] NeoArian:
Good evening,

i am uploading a new build!

GPS should work way better now, i have stepped away from the SODP implementation. I can't test GLONASS because GPS is strong enough here, GLONASS is only used when GPS is too weak. (Which is intended behaviour: "The Snapdragon processor automatically knows when to power on the GLONASS service, and when to leave it off. GLONASS will only engage when an adequate GPS signal can’t be found. This extends battery life while providing the best navigation experience possible." - The Snapdragon processor automatically knows when to power on the GLONASS service, and when to leave it off. GLONASS will only engage when an adequate GPS signal can’t be found. This extends battery life while providing the best navigation experience possible.") But i can see the GLONASS sattelites so it should be fine, someone could confirm maybe :)

Apart from this i have worked on a script generated vendor/sony repo, therfore i had to create a full list of the proprietary-files used on this device, therefore i have cleaned many blobs and moved some.

Download: https://sourceforge.net/projects/ep...age-16.0-20190814-UNOFFICIAL-z3c.zip/download

OTA is pushed as usual.

Have a nice day!

UPDATE: I BROKE ENCRYPTION MOST LIKELY, DON'T UPDATE IF YOU ARE ENCRYPTED FOR NOW.
[Xperia Z3 Compact Original Android Development] Spaceoid:
You are the best developer I met in my long years of Android usage now, thank you! :D Did by chance my log regarding the strange Pers|Plan|App2-Problem help you finding the problem that might cause my failed log in tries? If you did not find the time to look at it yet, I am very sorry, I just feared my post got overlooked, because immediatlely afterwards the long list of bugs was written xD
[Xperia Z3 Compact Original Android Development] NeoArian:
I just have too much time in my holidays (actually too less, I'm wasting much time on z3c :P) but thanks.

I had no time yet, but since I'm forgetful feel free to keep reminding me :D
[Xperia Z3 Compact Original Android Development] Spaceoid:
Will do! And thank you for wasting your time on that old device and us, the community :D The new build didnt change my problem, sadly, but thats to be expected I guess xD
[Xperia Z3 Compact Original Android Development] NeoArian:
Another update!

I have added twrp-3.3.1-0.1-z3c.img to Post #2 .

Changelog:

* Fixed time

* Further cleaning

BTW: Encryption is fixed, i will upload a build after sleeping a while :)
[Xperia Z3 Compact Original Android Development] casouzaj:
Pixel Launcher

Hey, [MENTION=8746471]NeoArian[/MENTION]!

Thanks a lot for your hard work on this old but powerful device of ours. You see, I prefer Pixel Launcher over Trebuchet, but it keeps crashing all the time upon being selected as the default home app. I've successfully tested this fix for that issue, by editing /data/system/packages.xml, and adding up the following entries, under <package name="com.google.android.apps.nexuslauncher" and <perms>:

<item name="android.permission.STATUS_BAR" granted="true" flags="0" />
<item name="android.permission.MANAGE_ACTIVITY_STACKS" granted="true" flags="0" />

Could you make these changes in your next build?

Thanks again, anyway.
[Xperia Z3 Compact Original Android Development] hrsh45:
thanks very much for your hard work & updates :)
[Xperia Z3 Compact Original Android Development] dhemker:
Major bug in latest release: loudspeaker is always on during call regardless loudspeaker icon indicator.

Dennis
[Xperia Z3 Compact Original Android Development] tblr0ne:
To me it seems that switching works, but both, earpiece and loudspeaker are very loud and changing volume does not work.
[Xperia Z3 Compact Original Android Development] lord0815:
Is this the same bug as with the some other builds? Maybe [MENTION=8746471]NeoArian[/MENTION] can easily fix this in the next build.
[Xperia Z3 Compact Original Android Development] Spaceoid:
Arian, did you already find the time to take a look at my log? :) (Dont want to annoy you, you told me to remind you xD)
[Xperia Z3 Compact Original Android Development] NeoArian:
Good evening,

I'm uploading an update!

Changelog:

* fixed volume during calls

* many under the hood cleaning

Happy flashing! [MENTION=5196625]Spaceoid[/MENTION] not yet :D
[Xperia Z3 Compact Original Android Development] casouzaj:
Camera app force closes right after launched in the latest (0818) build. I tried Cameringo+ as well. It complains that the rear camera is not available. Anyone else facing this issue?
[Xperia Z3 Compact Original Android Development] Bore1:
yup camera is deffo not working just blank screen for me
[Xperia Z3 Compact Original Android Development] :
Yes, the camera stopped working here as well since the build from 14/08. It doesn't seem to recognise the torch either (which I guess is related since it uses the camera flash).

Another thing I have found is that the service menu doesn't seem to work?

Whenever I enter *#*#7378423#*#* in the phone dialler, it won't load up the service menu.

I did spot the following error in the ADB logs whenever I enter the code: "SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length"
[Xperia Z3 Compact Original Android Development] tblr0ne:
My camera (and torch) are still working on the latest build 1808. (I'm dirty flashing updates, if this matters.)

Incall-volume is fixed but it's still rather loud. Is there any chance to lower the quiet end?

And GPS is so much better, thanks again for your work!
[Xperia Z3 Compact Original Android Development] Bore1:
if i remember it correctly service menues work only on stock roms. Did clean install of 14 august build and yea camera does not work there eather. And yea camera worked on 14 august build when dirty flash but not withh full wipe clean install
[Xperia Z3 Compact Original Android Development] dhemker:
Camara works with dirty flash, can confirm.

Dennis