yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] NeoArian:
Ooops, sorry for the camera. It was working for me with a dirty flash. It's fixed an i will upload a build later on.

For now i have updated twrp to twrp-3.3.1-0.2-z3c and uploaded to Post #2. The only big change is the increased battery life gained by disabling 3 out of our 4 cores in normal usage and not using the one at performance mode but in interactive governor instead.

By the way: Thanks for 50 times thanks on the main post :laugh:
[Xperia Z3 Compact Original Android Development] johnny0815:
Exchange account

Hi,

the last two OTAs broke my exchange sync, resulting in not having any contacts (I dont use Google for contacts).

Deleting and reconnecting my exchange account fixed it. But considering the frequency you release new updates this may get annoying. :)

Thanks for your effort anyway.
[Xperia Z3 Compact Original Android Development] dhemker:
Latest release reintroduced better, but still uncomfortably loud in call voices. Sound quality was really nice two builds ago.

Dennis
[Xperia Z3 Compact Original Android Development] StarGeneral:
Can the TWRP be dirty-flashed over the existing one? E: Yes, works.

Does the battery-fix only affect the lifetime while being inside TWRP or in general use as well?
[Xperia Z3 Compact Original Android Development] Bore1:
TWRP can be dirty flashed, atleast i did that and no probs
[Xperia Z3 Compact Original Android Development] NeoArian:
Yes, twrp can be just flashed of course. The battery improvement is in twrp only. I added a script to not enable all CPUs in performance mode while doing nothing. But it's still not too good in idle, I wouldn't recommend to let the phone lay around in TWRP.
[Xperia Z3 Compact Original Android Development] wtor68:
As i'm not get it working i tried CarbonRom 6.1 to verify the reason of the problem. With this rom the fm radio works like expected. So no hardware problem exists. Is there anything known in the current lineageos build that leads to that problem (even if it's stated as working on first page)?
[Xperia Z3 Compact Original Android Development] NeoArian:
No, FM Radio works okay since some months now. Since our HAL is really old and noone else uses it it is not really updated and needs a small 'hack' to get it to compile in android 9.0 and the FM scan doesn't correctly work, apart from this it works, you can manually scroll through the frequencies.
[Xperia Z3 Compact Original Android Development] wtor68:
Hmm, thats really interesting. As said, if i plug in the headset it said "currently not available" and the radio app cannot be used (also no manual scrolling is possible). So i have no idea why it worked with CarbonRom 6.1 and not with lineage...
[Xperia Z3 Compact Original Android Development] lord0815:
Is this and the camera still an issue? Or is the current 14.08. release stable and will not get an update soon?

Thanks
[Xperia Z3 Compact Original Android Development] NeoArian:
Good News: i have just tested WFD again and it seems to work with the topic from LineageOS Gerrit now, but for me it wasn't that stable. I will include it within the next build anyway and look further into it.

Edit: it works pretty good as long as I don't connect to a WiFi network while connected to the TV. Could be fixable.
[Xperia Z3 Compact Original Android Development] shgth:
So got a notify from the updater and this is the second Lineage release since I updated TWRP to latest(following instructions from the post 2# so with adb, it also reports the TWRP version right so it's updated) that just doesn't install like it should. It downloads, reboots to TWRP and does nothing. I don't even know where the file is downloaded so can't just install from there manually. I need to actually move the image to a phone and then go to TWRP doing manual update..

Oh btw changelog in the original post isn't updated since 14.8..

Thanks for the release though! <3
[Xperia Z3 Compact Original Android Development] Natsu2000:
Today, I've installed this rom and it's a great rom, everything works fine by now :) Unfortunately, there are still some issues for me.

On WhatsApp, the video preview is very buggy (not a big deal, but maybe there's a way to fix it?)

I was on CarbonRom 6.1 before, facing the same problem but there, Whatsapp freezes by trying to send a video. So this works much better on Lineage :)

I've attached an image, how it looks like on whatsapp.

The next problem is, that the sound on audio recording is very buggy. But this is just by recording music or other sounds from devices. The normal voice works perfect. Weird is, when I take a video the sound works perfect. I had this problem on other custom roms too, so I'm not sure if it's a hardware problem, but just want to mention it.

The last issue I have is, that my back buttons/home button not working anymore which appeard on stock rom too.

Now I noticed, the buttons work partially on this rom. It only works when I drop down the status bar.

When I try to use them without using the status bar they light up, but nothing more.

Is there maybe a solution for these issues, especially for the last two?

Thanks in advance :)
[Xperia Z3 Compact Original Android Development] Spaceoid:
Hi Arian,

it's me again. On the latest ROM, as others already said, the in-call sound is again very loud and not changable. I do not know if that was fixed before, as I do not use the phone call function that much.

Do you by chance know wether the very silent voice recording in Whatsapp is a ROM or a device issue? I never tried the Z3C on stock with Whatsapp, so I do not know if that would happen on stock, too.

Also, last thing, did you find the time to take a look at my .log regarding the Plan|Net|2 app? I am just asking as you said I shall remind you, and the app is very important for my working schedule. Without the app working I often miss chances to earn money, thus leading to me beeing poor xD

Thank you so much for your work. I hope I do not bother! Greetings from Dortmund.
[Xperia Z3 Compact Original Android Development] NeoArian:
twrp-3.3.1-0.3-z3c.img added to post #2!

Changelog:

* fixed encryption if security patchlevel doesn't match.

I was stuck with encryption and my life a bit, had no time for your log.

What is meaned with incall volume?

Calling works okay for me and i can decrease the volume with the volume buttons a bit.
[Xperia Z3 Compact Original Android Development] pawloland:
I have the same problem wihile calling. Audio slider doesn't work
[Xperia Z3 Compact Original Android Development] Spaceoid:
I just tested it again, and you are right in a way. I CAN adjust the in-call volume a little via the volume buttons, but even the lowest setting seems to be very loud. I have the feeling that this was better one or two builds ago. Might be mistaken, though. But even the lowest volume setting is like a pain in the ear most of the time xD

And sure, take your time, I know it's just a hobby. :)
[Xperia Z3 Compact Original Android Development] Hackmann:
i recently got a z3c in a good condition, but apparrently the usb port is not working.

is there any way to unlock the bootloader without usb? or to root it? tia
[Xperia Z3 Compact Original Android Development] m0d:
You can connect to adb via wifi.'

But, this is wrong place to ask. There is section for questions & answers
[Xperia Z3 Compact Original Android Development] :
I flashed the latest 23/08 release and my camera is still not working.

I think I'll try going back to an older release for now.

[Edit] I went back to the 08/07 release (wiped data and system as well in this case) and the camera now seems to work fine.
[Xperia Z3 Compact Original Android Development] NeoArian:
That should be your personal problem. The camera works fine on my clean flashed installation.
[Xperia Z3 Compact Original Android Development] minixperia:
Hi friends, this rom work on d5803 only? Or work also on d5833? [MENTION=8746471]NeoArian[/MENTION]
[Xperia Z3 Compact Original Android Development] hrsh45:
do anyone know if ant has been fixed yet? i don't see it in the changelog and i don't have confidence with my testing :confused:
[Xperia Z3 Compact Original Android Development] Bore1:
nop, celan install and camera not working for me eather

works fine on ( lineage-16.0-20190805-UNOFFICIAL-z3c ) and thats ther last one where camera works for me
[Xperia Z3 Compact Original Android Development] haonan12300:
i tried builds of 0805-0823 finally find....

0805 call volume normal,and camera works(4k video still crash)

0814-0823 these camera all cant work ...and call volume cant volume down

so im using 0805 ,hope you can fix it thx;)

btw ,how i can enable mirrorcast ? i edited bulid.prop ,z3c can search my sony bravia TV,but cant connect successfully,then phone got black ,,maybe systemui restarted

and ....lineageos with no screen record?
[Xperia Z3 Compact Original Android Development] haonan12300:
same to you:):):o
[Xperia Z3 Compact Original Android Development] Tomek0000:
I installed latest August version of this LOS and the newest magisk. The magisk's test reports ctsProfile: false and basicIntegrity: true . Is this ok for current version of LOS for z3c ? Or should I pay more attention for configure something more ? I have to add , I installed Edxposed , but the same LOS 16 on galaxy a5 2016 with Edexposed shows ctsProfile: true and basicIntegrity: true .
[Xperia Z3 Compact Original Android Development] haonan12300:
it works well

[IMG="riru"]http://o23549m271.iask.in:8181/xda/Screenshot_20190828-171250_Riru.png[/IMG][IMG="magisk"]http://o23549m271.iask.in:8181/xda/Screenshot_20190828-171258_Magisk_Manager.png[/IMG][IMG="xposed"]http://o23549m271.iask.in:8181/xda/Screenshot_20190828-171308_Xposed_Installer.png[/IMG]

at this rom ,0805version,i installed magisk 19.3 and riru's exposed ,both of them work well and xposed moudle work normally too
[Xperia Z3 Compact Original Android Development] casouzaj:
I pass both Safetynet tests with the stable v19.3 Magisk build, along with the MagiskHide Props Config module (which, by its turn, requires the Busybox module). After installation, reboot your phone, launch a terminal emulator app and enter command props. Select options 1, f, 20, 22, y, y.
[Xperia Z3 Compact Original Android Development] Tomek0000:
Thank you casouzaj. It works. If I correct understand, this fixes a mistake in rom configuration...
[Xperia Z3 Compact Original Android Development] casouzaj:
Glad that you've managed to get it fixed!
[Xperia Z3 Compact Original Android Development] dhacke:
Hey can make the twrp with the fixed encryption for the z3, too?

I'm asking because i use a CR 6.1 build where the sec patch is on june 2019 and i guess that's the reason why the twrp fails to decrypt the data.

The custom rom itself hasn't any problems with the encryption so i think the not matching sec patch is the problem by me.

Thanks in advance.
[Xperia Z3 Compact Original Android Development] NeoArian:
That's partially correct, we set the original Sony fingerprint from 6.0 for safetynet cts check which worked fine until some days ago. Somehow this one doesn't seem to work anymore so changing it fixes the cts check in this case. I will try to find a working stock fingerprint.

Yes, i will also update the z3 variant within some days,
[Xperia Z3 Compact Original Android Development] dhacke:
Thank you very much.
[Xperia Z3 Compact Original Android Development] NeoArian:
I have uploaded an update, the SafetyNet is fixed.

Changelog 2019-08-28

* Rolled fingerprint back to Sony's 5.1.1 fingerprint

-> safetynet CTS check works again

* Set original shipping API level to KitKat

* Minor cleaning

Happy flashing and have a nice day
[Xperia Z3 Compact Original Android Development] pawloland:
I am currently on build from 14.08 (dirtyflashed) and i don't have any issue with cts while using fingerprint from android 6.0.1. Something else must cause this issue:confused:
[Xperia Z3 Compact Original Android Development] oxycommail:
Hey,

First of all, thanks a lot for your work NeoArian! I use my phone with this ROM as my daily driver for a long time already.

I just wanted to note (in case it happens to anyone else) that there is something weird with `boot.img` from the Aug 28 update, tried OTA update today and the phone couldn't boot anymore. I tried to re-flash `boot.img` from Aug 28 via fastboot, nothing has changed. Tried `boot.img` from Aug 23, got `fastboot: core/libsparse/sparse.cpp:131: int write_all_blocks(struct sparse_file *, struct output_file *): Assertion `pad >= 0' failed.` and only after flashing `boot.img` from Aug 14 (the one I had before the update) everything returned back to normal. Not sure what happened.

Thanks
[Xperia Z3 Compact Original Android Development] haonan12300:
camera still crashing

hope fix soon , thanks very much:)
[Xperia Z3 Compact Original Android Development] Spaceoid:
In the newest build, the LED, while charging, glows orange-whitish instead of red. :D
[Xperia Z3 Compact Original Android Development] pawloland:
Probably lineage's devs changed default led behavior. You can change it in settings under battery light option ;)
[Xperia Z3 Compact Original Android Development] Spaceoid:
Yeah, it was that. Sorry xD
[Xperia Z3 Compact Original Android Development] Bore1:
This lastr one wony install at all for me , tried clean install and dirty (flashed over lineage-16.0-20190805-UNOFFICIAL-z3c) and after install it shows me that lineage arc and then goes back to TWRP.
[Xperia Z3 Compact Original Android Development] casouzaj:
In TWRP, mount system. Then, launch its terminal emulator (under the Advanced menu) and enter this command:

dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc

And reboot your phone.

Hope it works for you!
[Xperia Z3 Compact Original Android Development] Bore1:
oooh will try that Thanx
[Xperia Z3 Compact Original Android Development] NeoArian:
You know that we don't have a native misc partition? :confused:

/dev/bootdevice/by-name/apps_log would be misc.
[Xperia Z3 Compact Original Android Development] hrsh45:
thanks for the update NeoArian :)

btw is there anyway to show the battery percentage on homescreen?

(percentage shows up only when charging or when scroll down the home screen?).
[Xperia Z3 Compact Original Android Development] NeoArian:
Of course, in settings -> system -> status bar -> battery percent. Not too hard to find actually :silly:
[Xperia Z3 Compact Original Android Development] casouzaj:
Oops, my bad. You are right! I had posted from my Z5C, running LineageOS 14.1, where I have both apps_log and misc, each one in a different partition.
[Xperia Z3 Compact Original Android Development] Bore1:
geting no such file or directroy

---------- Post added at 04:42 PM ---------- Previous post was at 04:16 PM ----------

soo for me august 5 release is the last one that works more or less perfect after that on other builds camera crashes and last build installs but after install goes to TWRP after a while , so atm am staing on 5 august release

managed to install latest release - earlyer did that directly from twrp and it didnt work so thought i install via built in updater from 05 august build and voila that worked , but camera still force closes no matter what ,but it works fine on 05 august build
[Xperia Z3 Compact Original Android Development] casouzaj:
/dev.block/bootdevice/by-name/apps_log
[Xperia Z3 Compact Original Android Development] NeoArian:
Haven't I released a builds 2-3 days ago? If so this one definitely works stable with camera working.
[Xperia Z3 Compact Original Android Development] Bore1:
like i said managed to install latest 29 august build via updater, if try clean install from twrp it goes to twrp loop and camera force closes , it works fine on 05 august build so it cant be hardware problem
[Xperia Z3 Compact Original Android Development] zexcster:
First of all thank you for your work.

I want to try this Rom especially for getting raw support in GCam, etc...

Can you tell me if this is possible with this rom to get the Camera 2 Api Level 3 ?

thank you
[Xperia Z3 Compact Original Android Development] johnny0815:
Same for me.

Except I was on 20190818 build before OTA and reflashing boot.img from 20190818 also fixed it. Thanks to your investigation I was able to get my phone up again without hassle.

Tried again several times with manually downloaded zip vs OTA and updating TWRP, every time the phone won´t power on at all after reboot from TWRP.
[Xperia Z3 Compact Original Android Development] alexx910:
Hey guys, wanted to upgrade my z3c as soon as I replace the display (due to dead touch) and wanted to know, if it is necessary to backup the drm keys or if they play a role at all anytime soon?
[Xperia Z3 Compact Original Android Development] Bore1:
its always good idea to back em up , its not that hard to do
[Xperia Z3 Compact Original Android Development] alexx910:
What I read in the last hours here on the z3c forums is that I have to downgrade to be able to root the phone and backup the keys. After the backup process, can I go straight to unlock my phone and install LOS or do I have to upgrade to the latest Android (6.0.1) on the z3c?

Didnt have the pleasure to change anything on that little phone therefore I got to apologize for the additional question :)
[Xperia Z3 Compact Original Android Development] pawloland:
When you are done with DRM keys backup you don't have to update to android 6. Just unlock bootloader and flash twrp. Updating to android 6 isn't necessary, because you have (or i would strongly recomend you to) to wipe data&system&cache partition;)
[Xperia Z3 Compact Original Android Development] alexx910:
Thanks a lot! gonna do my work as soon the new screen will arrive :)
[Xperia Z3 Compact Original Android Development] eXecu7or:
Hello,

First, please excuse me if it's not the proper thread where to post this.

I'm using a Z3C with August 5th build with TWRP 3.0.2-1 and SU addon. Works pretty well but with one glaring issue:

- coming from a long standby / idle, the mic doesn't work for any kind of ecall, being it either GSM or WiFi (eg: Whatsapp). It is resolved via reboot but it's pretty annoying.

Additionally:

- I am unable to install the August 28th it as the script returns an error 7 and says it cannot identify the filesystem from /dev/system. Which is a bit weird since the device is working quite well as it is. I'm not in a hurry to update so I can skip this one, but if there's a simple fix please let me know.

Some other minor issues:

- I am unable to install without editing the script and removing the "device not supported" assert, as the script cannot properly identify the device (it returns an empty string). What I'm doing is I edit the archive and that script by removing the first line and then it works.

- I'm unable to use the auto updater from inside the OS as while it downloads it and reboots to TWRP, it doesn't start the update process by itself.

- Sometimes the trebuchet launcher crashes / freezes to a black screen if I unlock the device via pattern very fast after the boot logo animation finishes. It recovers some moments later.

I'm very grateful for your support of this device as it brings new life to otherwise one of the last decent sub 5inch devices out there.
[Xperia Z3 Compact Original Android Development] NeoArian:
About the OTA and error 7 is because of your TWRP, you should use the one from post #2.

I will look into the other stuff after my school and edit this message.
[Xperia Z3 Compact Original Android Development] eXecu7or:
Updated to the TWRP in the 2nd post, it throws the following error:

"Running Recovery Commnads

Error installing zip file '@/cache/recovery/block.map"

Done processing script file"

And then proceeds to install the update and then returns "script succeed".

Upon reboot, the phone appears to be functioning as expected. Will update if anything pops up.

I've flashed directly on the previous build and then wiped cache and dalvik via twrp.
[Xperia Z3 Compact Original Android Development] NeoArian:
That's probably because you had some old commands to the recovery stored at the misc partition (which is used to store that kind of stuff) which wasn't mounted by your old recovery. If the problem doesn't go away after simple rebooting you could try to wipe the misc partition.
[Xperia Z3 Compact Original Android Development] eXecu7or:
Works as expected after reboot, even with the error mentioned above.
[Xperia Z3 Compact Original Android Development] Spaceoid:
Hi Arian,

its me again, I hope you do not ban me soon for asking so frequently. Just wanted to ask if you by chance now found the time to log into my look regarding my login-issue with the Plan|Net|2 App I need for my working schedule.

I took a closer look into the log file myself (never seen one before, though) and found this very curious line which might already help you out:

"D/SystemWebChromeClient(14113): file:///android_asset/www/index.html#/app/login: Line 0 : Access to XMLHttpRequest at 'https://0622-aramark.persplan.net/webapi/index.php?r=auth%2Ftoken' from origin 'file://' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'null' that is not equal to the supplied origin."

I'll attach the logfile again to this post, if you want to have a look into it yourself.

As I already mentioned, since mid-august (guess it was the 20190805 build) I am not able to log into the app anymore, even on a clean install without anything, even without gapps. On all previous builds, also the clean ones, login worked flawlessly.

Thank you in advance for your awesome work on our phone!

Spaceoid

Edit: I did a quick research via Google, and there are lots of people having the same CORS error with different applications, all caused by an update to Google Chrome / the underlying Android system WebView (which seems to be basically the same apk), so the problem should be coming from there. Have not found a solution, though..

Edit2: So, it is definitly a WebView bug in the WebView version 76.0.3809.89, which is the version we currently have in our builds since mid-August. On WebView 76.0.3809.111, the problem seems to be fixed (at least thats what ppl on the internet write, regarding the same CORS error ON OTHER APPs though). Have not tested it yet, do not even know if I can update WebView like any other app. Will try that out now. xD

Edit3: So, I installed the latest stable WebView APK from apkmirror. As my phone wouldn't recognize the apk as an update, I then froze our original WebView app via Titanium BackUp. And voilà, my Plan|Net|2 app works again! Maybe in the next build you can implement an updated version of WebView? Or is this a Gapps/Google thing you have no influence on?
[Xperia Z3 Compact Original Android Development] eXecu7or:
- I've managed to install the update after upgrade TWRP to the one mentioned in the 2nd post.

- I still needed to edit the script, but no biggie there.

- [very important] after the last update, seems like the mic standby issue has went away.

All in all, very good experience here.
[Xperia Z3 Compact Original Android Development] Bore1:
lil help , am on august 5 -th release trying to do update - it downloads starts to install goes to TWRP and nothing. After reboot i go back to updater

and it starts download again after that its same thing again
[Xperia Z3 Compact Original Android Development] hapmpt:
I had the same problem. In the end I downloaded the file myself and installed it manually. Unfortunately the camera no longer works for me after the upgrade though.
[Xperia Z3 Compact Original Android Development] Bore1:
Yup same thing with manual d/l Camera fc-s thats why i wanted to try thru updater
[Xperia Z3 Compact Original Android Development] dhemker:
Is the incall voice issue still alive?

Dennis
[Xperia Z3 Compact Original Android Development] Alizad00:
hello

i know i already mentioned this before but i thought i should tell this

i have wifi problems and its not showing any ssid

but if i put phone in airplane mod and restart the phone , it works

then if i turn airplane mod off and on/off wifi it wont show anything

can you guys please help me fix this

thanks a lot