yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] pawloland:
Is gps working fine for you guys? Mine can hardly get signal from 1 satellite, and never connects to any of them. I am sure my gps is hardware damadge free, because gps is working super fast on android MM. I was testing pure gps , none of the following: wifi/ bt/ google services/ mobile data was involved.
[Xperia Z3 Compact Original Android Development] NeoArian:
Yes, gps works like on stock for me. I tested it without gapps etc before my holidays.
[Xperia Z3 Compact Original Android Development] pawloland:
I did clean flash yesterday + gapps + magisk. It's strange because in the 2nd build with gps fixes, gps was working just fine:confused:

Can magisk (v20)or gapps be an issue?
[Xperia Z3 Compact Original Android Development] Hackmann:
i have flashed the latest rom and after a short test everything seems to be fine, but when i flash the microG.zip i've used before i'm in a boot-loop: after the Lineage animation (which takes quite long) it reboots into recovery. I've tried a newer version of microG, also the .01 and .03 version of the latest TWRP version: no change. I've wiped everything but data.

Does anybody else having problems with microG?
[Xperia Z3 Compact Original Android Development] pawloland:
I have a problem. I replaced the battery (to original one) and now ,system tells me that i have 1%, but in reality i have much more, because i can use my phone with this one % for the next 30min! Even now i am writing it with 1% displayed. What can i do to fix it (except clan flash, because i don't have time to set up phone from scratch)?
[Xperia Z3 Compact Original Android Development] casouzaj:
Starting with your phone powered off, hold both the power and the volume down buttons. When your phone vibrates (as if it was being turned on), release the power button. Some 5 seconds later, release the volume down button. TWRP should come up.
[Xperia Z3 Compact Original Android Development] dhacke:
I can't confirm that. I use the last build (6.10.19) and the microg installation worked without problems after i patches the rom via nanodroid patcher.

Mayby your microg zip is to old. Did you try latest nanodroid zip already?
[Xperia Z3 Compact Original Android Development] Bore1:
Found a problem- soemtimes when making or recieveing a call my mike stays mute , meaning other side cant hear me , after restart all is back to normal mike works fine tested it with sound recorder and decibel meter app , this has happened to me 3 times now , no idea whats causing it .
[Xperia Z3 Compact Original Android Development] jacfry:
Make sure "OK google" detection is not turned on. It's a very common problem across custom roms and was mentioned earlier in this thread.
[Xperia Z3 Compact Original Android Development] Bore1:
THANX alot that solved it , man this ok google is well hidden
[Xperia Z3 Compact Original Android Development] casouzaj:
Pixel launcher

Thanks for your hard work in bringing Android 9 (and keeping it updated) to this old, but still powerful, device of ours.

You see, I prefer Pixel Launcher over the embedded Trebuchet home app, but it keeps crashing all the time upon being selected as the default home app. For those who also wish to use Pixel Launcher, edit /data/system/packages.xml, and add 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" />

and reboot. Hope it works for whoever tries these changes.
[Xperia Z3 Compact Original Android Development] monophon:
Try to drain the battery as long as it's shuts down (in you case it will suddenly turn of).

Then charge it, but don't switch the phone on. Wait until 100%, unplug and then boot into system.

Check the battery voltage with an app like Kernel Auditor?! or something else ... it should have 4,2v (+/- 0.1v)
[Xperia Z3 Compact Original Android Development] pawloland:
I did that, kernel auditor says i have 4159mV, so it's near 4,2V. I will see later today if it helped. Thanks:)
[Xperia Z3 Compact Original Android Development] minixperia:
Hi [MENTION=8746471]NeoArian[/MENTION] some one ask me if is it possible do a build for the d5833, it is possible or not?

---------- Post added at 08:33 AM ---------- Previous post was at 08:18 AM ----------

It is normal the battery should last at 1%, do a calibration of the type, discharges completely until the phone is turned off and loads it to the maximum with the phone switched off, if it continues you make better to get used to it, it is the battery card that reads badly the percentage is not the fault of the software, each battery has a card that can work well or badly
[Xperia Z3 Compact Original Android Development] Hackmann:
Thanks, for whatever reason i was looking at the archive!! the 26.01.2019 version worked with the 08/05 rom, but not with the new one. I've now found the latest stable version (11.08.2019), that works, didn't try the beta version.

Sorry for the silly question, but sometimes you need somebody to point you to the very obvious :silly: Thank you!

What do i need the Patcher (signature spoofing?) for or why is that important? (if a short answer is possible, otherwise i need to read up on this by myself). I have only used LOS15.1 with a pre-installed microG on the z1c before.
[Xperia Z3 Compact Original Android Development] dhacke:
I'm glad that i could help.

The patcher is needed when the rom doesn't support signature spoofing out of the box. Without signature spoofing microG doesn't work.

Normally LOS doesn't have the mentioned support so you must patch it in the rom.

I know there are LOS builds with signature spoofing here on xda but this support doesn't come from the LOS devs.
[Xperia Z3 Compact Original Android Development] monophon:
The ROM is absolutely stable on my phone! Big thanks for this great work!!

There's only one problem - the random mac address for wifi at every reboot. Is there a setting or a patch out there, that I missed out?
[Xperia Z3 Compact Original Android Development] NeoArian:
You probably missed my post from a few days ago, I have fixed it before my holidays already. After them I will upload it.
[Xperia Z3 Compact Original Android Development] DinikS:
Hi, thanks for this beautiful firmware. It works like a charm but unfortunately 5ggz wifi doesn't work on my phone. Could you please advice how to fix that?
[Xperia Z3 Compact Original Android Development] casouzaj:
No problems with my local 5GHz WiFi network.
[Xperia Z3 Compact Original Android Development] BenEl:
Hello,

also thanks for this beautiful firmware. Have same problem with Wi-Fi. 5Ghz doesn't work on D5803, but on stock firmware worked fine.

I checked Wi-Fi hotspot on 5Ghz mode. Same promlem - it does not work.

I hope it will be fix.

- Sony Xperia Z3 Compact D5803

- unlocked bootloader

- TWRP 3.3.1-0.4-z3c

- lineage-16.0-20191007-UNOFFICIAL-z3c.zip

- 9.0 Gapps NANO for ARM

- Magisk v20.0
[Xperia Z3 Compact Original Android Development] DinikS:
You're lucky ))) During initial settings my phone found my local 5ggz network, I tried to connect but it disappeared suddenly and from that moment the phone can't find any 5ggz access points. And I can connect only to 2,4ggz APs.

Returning to "aospextended rom" 5ggz wifi works well.
[Xperia Z3 Compact Original Android Development] BenEl:
Just tested v1.11. Does not work...

"- Installation FAILED. Your device didn't support WCNSS_qcom_cfg.ini."

Also reinstall "lineage-16.0-20191007-UNOFFICIAL-z3c.zip" without any Gapps and Magisk but with Wipe Data, Cash, System. No result. WiFi 5ghz does not work...
[Xperia Z3 Compact Original Android Development] NeoArian:
I can't reproduce it, 5GHz is and always was working on my device. Same for hotspot.

Same. As long as I neither get logs or a way to reproduce I can't do anything on this anyway.
[Xperia Z3 Compact Original Android Development] BenEl:
what kind of logs you need?

This firmware is odex... check this:

https://github.com/Raschad/platform...mmit/087750301a18e9df6e1da16da4b38a43ab01a66a

Maybe you rebuild the firmware with this information in mind. I will test
[Xperia Z3 Compact Original Android Development] koron393:
Yes, our shinano platform device has 5GHz Wi-Fi problem. Some countrycode is wrong.

It's broadcom firmware related maybe.

But!

"Unset ccode" or "Fix to US" in the framework are too bad method.

We should look for other ways, like kernel CRDA etc.
[Xperia Z3 Compact Original Android Development] casouzaj:
I wonder whether the issue of not being able to connect to 5GHz WiFi hotspots might be associated with the D5803 variant or not? Mine is the D5833 model, and I don't face that problem. Anyone could either confirm or reject such scenario?
[Xperia Z3 Compact Original Android Development] NeoArian:
I doubt this. I think that it is related to the country where the z3c is used. I see that CarbonROM applied this: https://github.com/CarbonROM/android_device_sony_z3c/commit/c3b51f51f8715c4214bd6ef3af35c8791336ac33

Since I am in Germany anyway it didn't matter for me so I didn't pick this. Can someone with the problem please try to apply the change on his device manually? The file is available in /system/vendor/firmware/bcmdhd.cal
[Xperia Z3 Compact Original Android Development] rasoooli:
HI!

Thanks for you're Great rom

I Have WIFI Problem Too

yesterday I Unlocked my phone and flash the last version Of TWRP & Rom

Rom Boots & everything worked Like Charm .

But I can't see any of my around

WIFI

signals
[Xperia Z3 Compact Original Android Development] Bore1:
Off topic many of u have changed lcd so what u used to glue it back ? the adhesive that came with cd or b-7000 glue or maybe something else?and how well it stays glued?
[Xperia Z3 Compact Original Android Development] BenEl:
It work but just with open SSID network. If wifi 5ghz network have Hide SSID, phone does not see net (of course, network was added before).
[Xperia Z3 Compact Original Android Development] shaiya87:
this is super method!!!
[Xperia Z3 Compact Original Android Development] pawloland:
I just want to state that the sound volume is good now (or at least with an effort can now be adjusted to be good). When I have a volume at the max while calling and then change it to minimum it will in fact be at minimal level, which doesn't make my ears blood. The problem steps in when i change to loud speaker mode, an then set the volume to the max. When i quit loudspeaker mode volume at minimal level is sooooooo loud, and can't be turned down. I have to set it to the max and only then i can start turning it down to minimum which make it quiet again. Sometimes I have to go back and forth from normal mode to loudspeaker mode adjusting volume levels in both to minimum, so at the end the normal mode is quiet.
[Xperia Z3 Compact Original Android Development] NeoArian:
Wait what, I had some success yesterday evening with this, now the volume in the top speaker changes significant more but I didn't push the build yet XD

I will upload it in a few hours (1-3 probably). Please test this build again :)

Delayed to tomorrow, my upload speed went close to zero... Sorry :rolleyes:
[Xperia Z3 Compact Original Android Development] liberteus:
Coming from CarbonROM, I can't install the latest LOS16:

- got twrp 3.2.3 installed, as I get remote dtb errors when using higher versions (3.3. etc)

- able to install LOS16 from february or CR7.0

twrp 3.2.3 gives me error 7 when trying to install latest. fastboot boot latest twrp doesn't work, flashing it and it's not working either (for the reasons explained in post 2 of this thread), but no path to upgrade is given.

So what should I do to upgrade the twrp and move to newer versions? Do I have to install all LOS16 old versions until one of them solves the issue and I can install the new twrp? Should I flash a specific kernel (FOTA?) or something? Honestly I'm at a loss...

Edit 1: added more info, clarified the above.

Edit 2: wanted to dig the thread to find solutions. Here's what I tried (and failed):

- edited install script from within total commander on the phone to remove error 7. successfully installed an april version that gave error 7.

- flashed recommended TWRP to FOTA, using fastboot flash FOTAKernel A9_twrp.img (renamed the twrp obviously first). Recovery still doesn't work.

I think I tried every idea I had in mind and I'm still stuck. What can I do?
[Xperia Z3 Compact Original Android Development] NeoArian:
You should just flash my twrp-3.3.1-0.4 from post #2 as described there (fastboot flash recovery twrp.img). You just have to be in fastboot mode, it doesn't matter on which ROM you were previously. After you flashed it you can hold power and volume down button from powered off device to boot into twrp. If you can't flash it with fastboot somehow I would need the output from your Terminal if possible.

Good luck!
[Xperia Z3 Compact Original Android Development] sugarbrie:
The latest TWRPs by NeoArian are here:

https://sourceforge.net/projects/ephedraceae/files/z3c/twrp/

.
[Xperia Z3 Compact Original Android Development] caley13:
Wifi problem too with both 2.4 and 5 GHz, flashing "lineage-16.0-20191007-UNOFFICIAL-z3c.zip"

Error Message: NETWORK SELECTION DISABLED ASSOCIATION REJECTION

I have MAC filtering enabled on router. With CarbonROM 6.1 Wifi was working fine.
[Xperia Z3 Compact Original Android Development] Mr.Tom_Tom:
[MENTION=8746471]NeoArian[/MENTION] did you find a general solution for that? So far I looked at the mixer_paths config files (found no issue there) and started to look at the msm8974 kernel audio driver. Now I wanted to dig into that a bit deeper but then saw your post here. I can also do some A/B tests today if you like.
[Xperia Z3 Compact Original Android Development] NeoArian:
I have upload a new build.

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

Please test call volume and FM Radio because my headphone jack is broken. Thank you
[Xperia Z3 Compact Original Android Development] dhemker:
I tested the new build. When starting a call, call volume can indeed be adjusted from low to max. When turning loudspeaker on and then off again, call volume stays at maximum and can't be adjusted anymore. Furthermore, the sound is still kind of crackling. In contrast, in call sound quality from early August build was crystal clear. Is it possible to record call logs or stuff to isolate the bug/misconfiguration?

Dennis
[Xperia Z3 Compact Original Android Development] NeoArian:
Can someone please confirm that FMRadio does NOT work/does work on the latest build?

I can't test it myself because my headphone jack died recently.
[Xperia Z3 Compact Original Android Development] liberteus:
I understand the procedure, and that's what I tried to do to not avail. I always received "remote dtb" error message using fastboot, and in the end I somehow managed to softbrick the z3c (I pushed latest LOS16 removing the 1st line checking for the phone version using total commander on the phone, flashing with 3.2.3).

I found a ftf that worked (tried 4 different ones), and then flashed 3.3.1-0.4 and LOS16. Everything works but coming from CR6.1 it's not a trivial issue, searching the forum I found out I'm not the only one. Not saying you're to blame, just saying that it's not just "flash and move on".

tl;dr

flash an old ftf version that works (boot to android, enable adbm reboot to bootloader), then flash twrp using fastboot, install LOS16 at the same time and phew you're done.

THANKS EVERYBODY :D
[Xperia Z3 Compact Original Android Development] sabotage154:
hi neo. i see a new version was released for this on 102619. i just wanted to followup with you on the block vnp feature and see if you were able to recreate the issue on your z3c. if you recall i mentioned that the android block vpn wasnt killing the connection when the vpn dropped or was closed. i experienced the same issue on los16 and los17. thank you for this.
[Xperia Z3 Compact Original Android Development] dhemker:
FM radio does not work for me.
[Xperia Z3 Compact Original Android Development] NeoArian:
Thanks [MENTION=838709]Mr.Tom_Tom[/MENTION] for the log, the problem should be fixed now. Please test the updated build here: https://sourceforge.net/projects/ep...age-16.0-20191028-UNOFFICIAL-z3c.zip/download

I opened my z3c and just noticed that the cable from the headphone jack to the mainboard is cutted of somehow so i will need to get a replacement which will take a while so i can't test it myself. Sorry to annoy you with nearly daily FM tests :d
[Xperia Z3 Compact Original Android Development] hchauvet:
I have the same bug, the call volume is very loud and the sound is crackling (the bug is still present with the last build of 20191028). I forgot to test the radio on the last build sorry but it was not working on the previous one.

I've try with the CarbonROM CR-7.0 and I have the same bug.

Thanks for developing this ROM :good:
[Xperia Z3 Compact Original Android Development] Mr.Tom_Tom:
Just tested this build (lineage-16.0-20191028-UNOFFICIAL-z3c.zip) but still FM not working for me (same error message), and earpiece volume in calls is still quite high.

Anything I could help with?

That simple workaround was what I used together with your ArianK16a/android_hardware_broadcom_fm repo to enable the FMRadio in LOS17 for the Z3.
[Xperia Z3 Compact Original Android Development] NeoArian:
Yeah the fix wasn't included yet. GPS works fine.
[Xperia Z3 Compact Original Android Development] NeoArian:
Am I god? Honestly what do people imagine what projects like this are... If something in this completely free open source project does not work for you go fix it and push it to the Gerrit server or keep it for yourself, you are not forced to publish your code, like we do, of course. If you are not able to do this on your own you could friendly ask for help and provide as much information as possible about your problem and steps to reproduce. And if you did this still noone is forced to fix it for you. So please keep this in mind and rather create a proper report so that people can help you IF THEY ARE IN THE MOOD TO DO SO.

Edit: thanks for adding information to your post. How have you tested GPS? I tried SatStat from FDroid and it connects to GPS satellites fine, also gets a fix.
[Xperia Z3 Compact Original Android Development] NeoArian:
Well no. I was in a pretty good mood, i just returned from sports after i received the mail from xda with your "friendly" question (go read it again, if that's friendly in your opinion i can't help you). Apart from that i don't understand why you recommend me to calm down. I don't see how i was not calm in my reply. I'd still recommend you to rethink the way you talk to me currently but in general people doing something volunteer.

Well that still doesn't help as you can probably imagine. As i said it works for me. You could get a logcat and share it so we can find out if something crashes.
[Xperia Z3 Compact Original Android Development] tomKater:
Once again, thank you for spending time and providing us with these rom's.

Everyone knows (or should know) that adapting a custom rom is not easy and obviously we can not expect everything to work perfectly as on an (old) stock rom.

It's already a feat to be able to have this stability with one of the latest version of android on our Z3C...
[Xperia Z3 Compact Original Android Development] sabotage154:
Hi Neo,

sorry to bug you again about this. i was wondering if you had a chance to confirm the block vpn function on lineage 16 and lineage 17 on the z3c is not working. is there anything you need from me to look into this? thank you for this
[Xperia Z3 Compact Original Android Development] NeoArian:
I tested it myself and it is indeed not working. I will look into it when I find some time probably.
[Xperia Z3 Compact Original Android Development] Bore1:
GPS atleast for me worked fine with and without gaps also had no simcard so no mobile data just pure GPS.All in all am really happy with this ROM only thing is that my banking app for security reasons doesent work with custom rom , but theres nothing that can be done with that . THNX again for great port ;)

---------- Post added at 09:58 AM ---------- Previous post was at 09:08 AM ----------

OOk sms seems not to work for me cant send or recieve , was wondering why its soo quiet these last few weeks so trid to send and also tried to get one and no dice ;( no iodea why
[Xperia Z3 Compact Original Android Development] NeoArian:
Thanks for the appreciation. I have just tested SMS on my device and it works fine, i can receive SMS messages and send them without problems. Make sure that you have the SMS app of your choice set as default app for SMS and also check if it has the correct permissions to send and receive SMS.

#####################################################################

You might have noticed that the Official LineageOS 16.0 for Xperia Z3 Compact has started today and i have created a new XDA-Thread therefore. Note that the new Official builds are signed and you can't flash them over the current unofficial builds.

If you want to migrate but can't format data you can flash this migration zip over your current unofficial LineageOS 16.0 installation and flash the Official signed build. Note that this could cause some unexpected issues and it is recommended to wipe your data before migrating to the signed builds.

If you want to contribute to the development of LineageOS for this platform you can submit patches through the LineageOS gerrit for the device specific repositories now. How to

I will close this thread and migrate to the new thread available here.

Have a nice day everyone!
[Xperia Z3 Compact Original Android Development] azkay:
I'm just getting a reboot loop after a clean flash.

Gets to the "Hi there" screen, touch isn't responsive then reboots after about 5 seconds.
[Xperia Z3 Compact Original Android Development] kamilchno:
The same problem.
[Xperia Z3 Compact Original Android Development] jacfry:
Try with sdcard removed. If it will help you may need to backup the contents and format it. This helped in my case.
[Xperia Z3 Compact Original Android Development] azkay:
Cheers' I'll try that tomorrow
[Xperia Z3 Compact Original Android Development] NeoArian:
There is another build uploading to the usual folder, it has sdFat driver and uses it also for exFat, i hope it can solve the problems with sdcard's. Please report back if there is any luck :)
[Xperia Z3 Compact Original Android Development] azkay:
Tried with an exfat sd, still crash/reboot. Fine without the sd though :)
[Xperia Z3 Compact Original Android Development] NeoArian:
Have you formatted the sdcard while it was in your phone?
[Xperia Z3 Compact Original Android Development] azkay:
I think I had it formatted in Oreo before wiping and reinstalling. Working fine now anyway after formatting it inphone after booting successfully

---------- Post added at 10:14 AM ---------- Previous post was at 09:42 AM ----------

Though I did just make a call, I could hear them but they couldn't hear me. Not sure if that's just a problem for me though or anyone else has it.
[Xperia Z3 Compact Original Android Development] jacfry:
Turn off google assistant voice recognition. This problem has a long history.. Settings -> google -> Search, Assistan & Voice -> Voice -> Voice Match -> Access with Voice Match (switch off)
[Xperia Z3 Compact Original Android Development] azkay:
Thanks :) Seems to work a bit better

EDIT::

So now people can hear me, but it's really muffled and they can't hear me properly.

Back to the drawing board