yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] Oijkn:
Here is the changelog from your first port :

====================
03-15-2018
====================

====================
03-14-2018
====================

====================
03-13-2018
====================

====================
03-12-2018
====================

====================
03-11-2018
====================

So there is no details from your last ROM update...
[Xperia Z5 Compact Android Development] Berni-0815:
My last update is dated 2018-02-19, as you can see in my 1st post. And since then there are a lot of changes... Or do you mean something different?
[Xperia Z5 Compact Android Development] rommo_911:
hey berni , I am having trouble with wifi hotspot, when i connect my laptop, wifi keep dropping regularly, in steady time, i think the phone is changing frequency of the wifi in steady intervals or something, in addition, the 5GHz hotspot cannot be seen , probably not working (or country frequency doesn't match , unlikely)

i dont have logs, please redirect me to a post of how-to capture the proper logs .

thanks mate !
[Xperia Z5 Compact Android Development] Berni-0815:
Post 376...
[Xperia Z5 Compact Android Development] trax7:
That seems like an issue which can be fixed by a clean install. Anyway, dmesg logs can be grabbed by going to /sys/fs/pstore and logcat can be grabbed via one logcat app from the many from the Playstore or via terminal.
[Xperia Z5 Compact Android Development] Berni-0815:
Magisk can cause problems, because I've never heard such strange things like frequent reboots...

Simply remove magisk and try again!
[Xperia Z5 Compact Android Development] Berni-0815:
If you want to use SafetyNet, you have to use magisk! Which version of magisk are you using? I've tested version 14.0 and the universal-safetynet-fix-v1.10.1

This combination has worked without problems (AFAICR)

My own experiments to get SafetyNet pass working without magisk has not been successful... :angel:
[Xperia Z5 Compact Android Development] oneofthekaramosowbrothers:
Made a phone call today and the one on the other end told me he heard an echo during the call. Don't know. Was my first call with this ROM. Anyone else having this issue?
[Xperia Z5 Compact Android Development] Berni-0815:
An echo on the other side is a well known issue...
[Xperia Z5 Compact Android Development] oneofthekaramosowbrothers:
Ah, thanks! I had that on another device with LOS as well. It was solved later on.
[Xperia Z5 Compact Android Development] Berni-0815:
What device? Maybe I can "steal" some code? :p
[Xperia Z5 Compact Android Development] oneofthekaramosowbrothers:
Must have been the Samsung S4 Mini. The Dev is hier on XDA as well, of course. :)
[Xperia Z5 Compact Android Development] up2dateneurosis:
Hi Bernie and greetings from Germany, I know that you are German too, but to be fair for other readers, I guess that we stay in English :) I am thankful that you are making Lineage OS possible for us Z5c users.

After some days of testing, I have only to report problems with the microphone. Can you add for the next release a gain slider please? My recordings are very quiet.

And it would be nice if there would be an option (maybe in the dev settings) to select the phone as "mtp device for data transfer" as standard for pc connections. Actually only "charging the battery" is the standard..... even if you select another one... so there must be a bug to fix.
[Xperia Z5 Compact Android Development] Berni-0815:
What kind of recordings do you mean? Video? The microphone gain is already set much higher than before. The main problem is that I'm not able to make such changes from now to then. If I have enough time I'll have a look at this. Please remember, I'm not a developer! I'm only building this rom and I've added some (little) changes...

If I set "mtp" to standard (in the developer options), the next connection is mtp. After that the connection is reset to charging. Maybe it's not a bug but a feature?
[Xperia Z5 Compact Android Development] rommo_911:
hey berni, regarding the microphone gain, my video recordings are really really noisy, like sometimes we cant understand what i was saying i video i recorded, maybe you consider just slightly reduce the gain ? its quit annoying to get nice footage and disturbed sound.

thanks very much mate,,,,

regarding the hotspot problem, when i just strated to collect the logs, the hotspot never cut since an hour ! that's amazing, it was approx each 5m there is a cut-off ... maybe it felt fear from you adjusting more stuff :D

any idea about the 5GHz band ? should i send logs if i dont see the 5ghz hotspot ?
[Xperia Z5 Compact Android Development] rommo_911:
here is the logs , thanks mate !
[Xperia Z5 Compact Android Development] Berni-0815:
I'm a little but confused! One says, it's too low, you are saying, it's too loud. What shall I do?

Increase mic gain? Decrease it?

Or are you talking about different things? :confused:

I've recorded a video yesterday, and, yes, it's too loud! So, I'll decrease mic gain a little bit for videos asap.

And thx for the logs; I'll take a look at them later...

Oh, one question left:

Are all of you talking about my version? The so called "official" uses another file mixer_paths.xml!!!! There some values are different to my version!!!!
[Xperia Z5 Compact Android Development] rommo_911:
I do want to decrease the gain ( just for the video ) ... It's logical because you know it's already in high gain level ,

But I don't know why our friend find it low , maybe it's dirt at the mic hole or other thing ..

Yes I am on your version not the other ones . ...

Thanks mate
[Xperia Z5 Compact Android Development] Berni-0815:
And here you can download an installable zip-file (use TWRP to flash it!), where I've decreased the video mic gain value by ten...

A quick test (recording music one meter off my speakers) shows that's working quite good.

Please give me feedback, if it's ok now or if I have to change it again... ;)
[Xperia Z5 Compact Android Development] echo124:
Bernie, last build has official brightness fix which is very bad, last build from february doesnt have it. You should remove brightness fix from that date
[Xperia Z5 Compact Android Development] up2dateneurosis:
Checked it, my mic is clean ;)

But as I said, the recordings are quietly and sometimes I have to reboot because the mic doesnt works at all. I got empty voicemessages than. With the latest stock rom, which I had before, I never had recording problems. So I think it's not my hardware. I will try the hotfix from Berni ... maybe as a sideeffect it solves my bug.

By the way yesterday I found another bug, but I guess it's a Lineage bug and not adressed to Berni. I got Philips Hue in my home connected with an offline router. With the Stock ROM I could connect with the wifi of the offline router and then change my hue LEDs. But now if I connect with network, my Hue Apps don't find the Hue bridge anymore. It works if I set the phone into flight mode and then reactivate the wifi. When I connect to a wifi network which is offline, I get a message from the OS with the question if I would like to stay connected with it. And I tap on stay connected and don't ask me anymore. And it seems to be connected but as I said, not really.
[Xperia Z5 Compact Android Development] Triflot:
What's "very bad" about it?
[Xperia Z5 Compact Android Development] Berni-0815:
I took a look into the logs, and, for comparison, I created logs from my own device.

The only difference I can see is that your device often looses and reestablishes wlan0. But, unfortunalety, I can't see, why! So I think, I can't help you in this case.

Maybe an official bug report at lineageos.org will help? :confused:
[Xperia Z5 Compact Android Development] Berni-0815:
Exactly what I wanted to ask... :angel:
[Xperia Z5 Compact Android Development] Berni-0815:
What kind of recordings? Video? Which app?

Have you installed this version clean oder dirty?

Dirty flashes may cause weird problems!!
[Xperia Z5 Compact Android Development] up2dateneurosis:
It was a clean installation. Before I installed your ROM I flashed the latest stock ROM again and ticked every option under the wipe categorie in the flashtool. And then in twrp I did mostly the same, so it should be as clean as possible done.
[Xperia Z5 Compact Android Development] echo124:
Adaptive brightness sets brightness too low, screen is very dim, not like stock at all.
[Xperia Z5 Compact Android Development] mickael91210:
Hello and thanks for your work.

TitaniumBackup doesn't access to my SDCard... Is it a known bug? Is there a trick to use my backup on SD with titanium?

I can access to the Card with the file explorer and in TWRP but not with titanium...

Thanks for your help...
[Xperia Z5 Compact Android Development] up2dateneurosis:
I found an other tiny bug. If you are in the LED settings and trying to change the colours of the notification LED, then the slider doesn't work until you tap on a color to change the hex color code :D you have the same layout to adjust the colour for the battery LED, but there the slider directly works.
[Xperia Z5 Compact Android Development] skysurfer1111:
Yes, it's a bit tricky, but it works.

- You should visit the Titanium Backup -> Preferences -> Backup Folder Location and set the folder for your backup.

- Select the 2. one: "Storage of the DocumentProvider" (sorry, I only have a german screenshot)

- On the next screen, you have to select your ext. sdcard - that's the access permission for TB to write on your ext. sdcard.

- When selecting the backup folder location, you must be *inside* the target folder, before tapping on “Use the current folder”.

- If you have to navigate to the parent folder, just use the “back” hardware key on your device.

I was running mad, as I did that the first time. Good luck:cowboy:

Last advice: NEVER ever restore system apps from another ROM!
[Xperia Z5 Compact Android Development] mickael91210:
Thanks it's working for me too...

I know that the echo in call is a known bug but is there something to improve it?

Thanks.
[Xperia Z5 Compact Android Development] Berni-0815:
Then I can't help you. I don't have such weird behaviour....
[Xperia Z5 Compact Android Development] Berni-0815:
I really don't know. Please ask the dev's at lineageos.org...
[Xperia Z5 Compact Android Development] Berni-0815:
I'm sorry, but I don't know what you are talking about... :angel:
[Xperia Z5 Compact Android Development] Berni-0815:
Tried to reach the dev but he refused to receive pm's or emails; sorry!
[Xperia Z5 Compact Android Development] up2dateneurosis:
I will just wait for your next release and maybe my phone will magically be ok then :)
[Xperia Z5 Compact Android Development] Berni-0815:
Maybe someone of you is thinking now, that's not good that I'm only saying "I don't know", but, I can't say it often enough: I'm not an android developer, I'm only building a rom and adding some stuff.

So, that's the reason why I'm not able to answer some questions.... Please be patient with me... :angel:
[Xperia Z5 Compact Android Development] skysurfer1111:
I can't say it often enough: Thank's Berni, for your work and your engagement!

Don't mind the colour of led's, too loud / quiet recording or the need to reboot causing by a mic failure twice a month, so what? A reboot takes 20 sec..

If we can't live with some compromises, then we should stay on stock, as our device is unfortunately one those less considered in the modding side.

I still use a Z3c as spare phone and several devs need

years

of developing to get lineage 14.1 nearly stable, but Omni 8.1 is still very buggy and without a noticeable advantage at the Z3c.

Anyway, Berni take your time, we're happy with the progress of this rom.

Happy Easter
[Xperia Z5 Compact Android Development] rommo_911:
Increase the brightness slider and it's ok ...I was like you in the beginning but now I see it does make sense little more

---------- Post added at 07:36 PM ---------- Previous post was at 07:26 PM ----------

Hey Bernie !

Awesome job , the sound is just perfect !

Thanks mate ....

Can I push a push you another log to look into , it should have couple times hard reboot, and dozen of times hotspot cut off , although the headset was recognized as headphones lot of time , and finally the audio fx , is very moody :D it just work when it wants , and doesn't most of times.
[Xperia Z5 Compact Android Development] Berni-0815:
:good:

Sure...

I've removed audio fx due to several problems. Without audio fx the sound using headphones is better in my eyes.
[Xperia Z5 Compact Android Development] beflythis:
thank you for the build!! really great work. is SDcard working? doesn't seem to be functional at first flash. thoughts?
[Xperia Z5 Compact Android Development] Berni-0815:
SD card is working! If not, try a clean install ...
[Xperia Z5 Compact Android Development] beflythis:
is there a size capacity? I have a 256 card in (that i believe is clean), and can't detect. In TWRP, it sees the card but shows as 0 and can't access.

also - using TWRP, when i mount to phone, the drive size shows up as 12gig (versus the phones ~32g IIRC) - is this because either TWRP or the flashable .zip are installing to a partition?
[Xperia Z5 Compact Android Development] trax7:
Looks like partition misalignment. Flash the latest firmware using Flashtool and then flash TWRP. Issue should go away. :)
[Xperia Z5 Compact Android Development] Berni-0815:
I've read that the maximum is about 200GB...
[Xperia Z5 Compact Android Development] beflythis:
ahh good to know. thanks. so is the solution then to partition the SDcard (can i do that??) or simply replace?

edit: forget it, i bought a 128 evo samsung card!
[Xperia Z5 Compact Android Development] beflythis:
follow-up...is there an easy way to get the camera auto-saving photos/vids to the SDcard? poked through camera app settings... can't seem to find it.

so apparently the option to save to SDcard is right in the camera settings (about halfway down). which might not have been enabled when i didn't have the card in. found it.
[Xperia Z5 Compact Android Development] beflythis:
legit question this time... has anyone else reported phone radio issues? I am getting people telling me that they are dialling me and it's going straight to VM while the phone is showing no missed calls. I've also had issues dialling out (no ringtone then call ends abruptly). And when first loaded, phone network defaults to 3g and has zero signal. I didn't get signal until I manually switched to LTE (preferred). (ANd now having the above issues).

Is this isolated or known? Beautiful ROM but would have to switch if this can't be fixed.

edit: does the base .ftf file flashed decide the phone radio that gets used, or is that over-written by the rom flashable .zip? Noticing the .ftf i found/used was file named: E5823_32.4.A.1.54_R3E_Customized_CH-1298-7257 (CH could mean euro bands?)

just a thought...
[Xperia Z5 Compact Android Development] oneofthekaramosowbrothers:
CH is Switzerland. Don't know which kind of bands they use there.
[Xperia Z5 Compact Android Development] Berni-0815:
Some other people reports same problem. I have no problems like that.

Seems to be a basic problem, please report it at lineageos.org...
[Xperia Z5 Compact Android Development] mlleemiles:
Hisses are still present when I watch videos with headphones..
[Xperia Z5 Compact Android Development] mlleemiles:
I would if it wasn't buried so deeply in the comments lul.

Lineage official build is okay but the camera isn't..
[Xperia Z5 Compact Android Development] Berni-0815:
Here you can download a flashable zip with the "official" file mixer_paths.xml...

With this file the audio should be exactly the same as in the "official" build! ;)
[Xperia Z5 Compact Android Development] mlleemiles:
Thank you! This will be great.
[Xperia Z5 Compact Android Development] Alvian_P:
How to install Viper4A?

Viper can't detect my root, I use "addonsu-14.1-arm64-signed.zip" from firts post. Another apps need root work well except Viper.
[Xperia Z5 Compact Android Development] Berni-0815:
I don't know an app like this. The app store shows several similiar apps. Which of then are you meaning?
[Xperia Z5 Compact Android Development] TrulloF:
Vipers Audio can be a real pain in the a.. to set up. First, try a different su app (e.g. phh's). Then you need to set SELINUX to permissive or driver install won't work. Good luck.

I don't use it anymore, because it zapps your battery in no time.
[Xperia Z5 Compact Android Development] Alvian_P:
I found Viper4A in XDA labs, now its working. First install driver take long loading, if loading more than 2 minute restart phone and driver installed.

https://xdaforums.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651
[Xperia Z5 Compact Android Development] Schwinni:
Hi Berni,

could you please explain what you did to enable MHL?

I'm really interested to try the same for LOS 14.1 for a Sony Tablet Z.

Best regards

Chris
[Xperia Z5 Compact Android Development] Alvian_P:
I didn't have issue about maps, my maps working normal, waze also.
[Xperia Z5 Compact Android Development] Berni-0815:
Sure!

Simply edit the file

device/sony/android_device_sony_fusion3-common/rootdir/init.qcom.rc

(I think, android_device_sony_fusion3-common is the used common device?) and insert in the "on boot" section a line like this:

chown system graphics /sys/devices/virtual/graphics/fb1/res_info

This simply changes the owner of the named file.

Build the rom.

Good luck!
[Xperia Z5 Compact Android Development] Berni-0815:
Maybe maps needs the location service from gapps? Try to use unifiedNLP instead...
[Xperia Z5 Compact Android Development] Marmalux:
Hello,

Flashing your rom fails with error 7. I have downgraded TWRP to 3.1.1 (the one mentioned in the first post) and i still get error 7. I have checked the assert section of updater script and it is okay. What could be the problem.

BTW : i tried even flashing the kernel (from zip) before accesing the TWRP and still same error 7.

Please help, is driving me crazyyyyyyyy
[Xperia Z5 Compact Android Development] Berni-0815:
Depending on the actually used rom there are two things to try:

Make a clean install (in TWRP tick wipe and confirm). Flash LineageOS 14.1 again. If there is still an error 7, try this:

Flash latest stock rom with flashtool. Set up the device completely! Shut it down. Then flash again LineageOS 14.1 via TWRP.

The first suggestion is solving most problems due to incompatible /data !! :good:

The second one is necessary when not coming from latest stock rom! There have been changes in partition structure that can't be done by flashing LineagOS 14.1!
[Xperia Z5 Compact Android Development] Marmalux:
Thanks, i will try this (although i was having the latest oficial rom it, never flashed anything else, i just unlocked bootloader 2 days ago).

But i have question : Does this Rom has the capability of restoring data from a google account? (Like in settings to have "backup and restore" instead of "backup and reset"). I flashed yesterday a customized stock (by Altvolt74) and i have this issue (also a year old security patch)

EDIT : i switched to Resurection. I`m realy sorry i did not get the chance to test this AOSP build. Maybe i will give it try later
[Xperia Z5 Compact Android Development] beflythis:
Bern, is there any way to re-compile the ROM using a US based .ftf? Another user Xoxo helped me find the network settings hidden behind *#*#INFO#*#* but they reset after a reboot.
[Xperia Z5 Compact Android Development] Berni-0815:
I don't use an .ftf, so... No
[Xperia Z5 Compact Android Development] beflythis:
so next question... the settings that are hidden in *#*#INFO#*#* (phone settings-> network type) which part of the ROM directs what the default setting is in that field?

How can I possibly alter the ROM before flashing so that I'm not going into INFO and re-setting the network type (to US/LTE only) after each reboot? Surely this is a config file or radio file somewhere within the ROM that dictates this?

thanks in advance for your replies - appreciate it!
[Xperia Z5 Compact Android Development] Berni-0815:
I can't set this because there is no such entry. Maybe it depends on your sim-card? I'm German and my default is LTE/UMTS auto (PRL).

And I really don't know where to set this default value. Maybe the developers at lineageos.org can help you?

I'm sorry, but I can't... :crying:
[Xperia Z5 Compact Android Development] Berni-0815:
New version; see 1st post
[Xperia Z5 Compact Android Development] Marmalux:
Hello,

I have finally flashed your rom. And it is brilliant, the best one available now for Z5c. Camera great, battery great, everything very nice.

I have installed the micro version of GAPPS (it is a x64 version) and with Apex launcher is just great. Magisk working fine also.

The only issue i have is that somehow it is not capable to connect to LTE. it only got H+ and is not just a symbol issue, it realy do not connect to LTE. If have any ideea why, please do tell me how to fix. Although is not a really big issue (i can live very well with H+) i will do some diggin to see why is not joining LTE relays.

EDIT :

Found the cause and could not fixed it. *#*#INFO#*#*, it was set to WCDMA only... Set as LTE/WCDMA and it goes automatically to LTE+, but after a reset setting reverts to WCDMA prefered. Service menu does not work.

Later EDIT : found in setting/celular networks option : preferred network type set to 3G. Changed to LTE and now problem solved. Now settings persist to LTE/UMTS auto (PRL).

Edit : If i understand correctly, the only change to the yesterday update is in kernel. So if i extract the boot.img and flash it in adb it is enough to make the update?
[Xperia Z5 Compact Android Development] Berni-0815:
Thank you for this report! :good:

No, there are a lot of changes. Not only the kernel...
[Xperia Z5 Compact Android Development] sto0kaa:
Hi,

Is here a way to make auto usb otg mount working

It works only if i reboot phone with usb pluged in.

Thanks
[Xperia Z5 Compact Android Development] Alvian_P:
press USB OTG button in quick settings to mount USB without restart.
[Xperia Z5 Compact Android Development] Berni-0815:
AFAICR yes!
[Xperia Z5 Compact Android Development] Berni-0815:
I'd a look into these file but unfortunalety I can't find any interesting thing. Maybe I'm not able to read a logcat in the right way? :confused:
[Xperia Z5 Compact Android Development] sto0kaa:
Oh god :D

I would never look my self there.

I tried different apps , some console commands , even editing system files haha.

Thank you.

Anyway did a clean install , flashed magisk and systemless xposed.

Fast ,responsive ,good battery.

Was a bit worried about Bluetooth and music crash thing i saw in few posts... But today streaming music from Spotify to hifi for a whole dat and no reboots or any crashes.

Thanks Berni for awesome Rom
[Xperia Z5 Compact Android Development] Alvian_P:
I follow this tutor can fix sdcard access. https://xdaforums.com/android/software/guide-allow-sdcard-write-access-switch-t3593021/amp/

Now open camera can save pict in sdcard.

In attachment is framework has been patched. This is not flashable, extract and overwrite to your framework system. Make backup first
[Xperia Z5 Compact Android Development] MarcSN311:
How much space is left on internal SD after install? I just installed the offical build and it uses 20GB..
[Xperia Z5 Compact Android Development] MarcSN311:
Thanks that did the trick! i did not know about that.
[Xperia Z5 Compact Android Development] Alvian_P:
my is internal storage is 22gigs. if you got problem, just flash "partition" from stock .ftf firmware using flashtool
[Xperia Z5 Compact Android Development] Berni-0815:
My version uses about 22gb, the system itself about 6gb.

Included in the 22gb are two backups of a whole installation and a huge offline map for navi app.
[Xperia Z5 Compact Android Development] Alvian_P:
I'm edited mixer_path.xml from this post for stereo speaker when call if use loudspeaker.

Downlod in attach.