yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] TrulloF:
I think v1 it just used default values, which work without problems (at least concerning headphones). Changing the mixer_paths.xml in v2 to stock LOS fixes the noise issue for me (as in all other versions of your ROM with modded audio config). Can't we just modify the mic and speaker volume, leaving headphones as is? I'm not familiar with the structure of the mixer_paths.xml, else I'd try on my own.
[Xperia Z5 Compact Android Development] Berni-0815:
No! Both are using exactly the same mixer_paths.xml!

I'll have a look at it. Thank you for your feedback! :good:
[Xperia Z5 Compact Android Development] Berni-0815:
A loud and clear NO! I can say this because I build both versions... :D
[Xperia Z5 Compact Android Development] Berni-0815:
Here you can download an installable zip-file with a modified file mixer_paths.xml. I've reduced the headphone volume from 84 to 76 (original-los and -stock rom value!)

Flash it via TWRP.

Please test this version and report.
[Xperia Z5 Compact Android Development] Berni-0815:
My V1 experimental has a changed audio calibration configuration.

It's better to flash this zip over latest release or V2 experimental to get a better result for comparing...

As I said, I'm using V2... ;)
[Xperia Z5 Compact Android Development] TrulloF:
Works good for me (with v2). I think version 1 probably didn't use the configfiles at all and loaded default values. Ok, just a wild guess from my side.
[Xperia Z5 Compact Android Development] TrulloF:
Battery drain in flight mode is really low in v2 and on a similar level compared to the normal builds (~0.3 % per hour). I'm quite satisfied with this. But of course I'm using Amplify to achieve this.

Anyway, compared to the last stock ROM I used (.54) battery performance is far better with your ROMs and I never had problems with overheating like I did with stock.

Performance is really good and stability is great (no random reboots, freezes or anything).

Only things I'm missing from stock is MTP, the ability to use USB sticks and high end audio rendering (96 kHz).

Camera is also quite good, but not great (for pictures and audio capturing I use my old Nokia 808, nothing comes close to this devices color accuracy, low JPG artifacts, great audio quality, Xenon flash, zooming quality etc., but heck even my old N86 8mp takes better pictures in good light conditions compared to current mid level phones).
[Xperia Z5 Compact Android Development] Berni-0815:
Same here!

That's exactly what I'm thinking about it....
[Xperia Z5 Compact Android Development] Berni-0815:
Does anyone gets FM-Radio to work in V2? :confused:
[Xperia Z5 Compact Android Development] TrulloF:
FM Radio works without problems for me in v2. Just tested it.
[Xperia Z5 Compact Android Development] Berni-0815:
Weird! Yesterday there has been no sound at all; not even interferences... Today it's working. But I can't search for stations; I have to adjust them manually...
[Xperia Z5 Compact Android Development] neutrinobox:
Hey Berni

tested "V2" on girlfriends Z5c

Audio in Camcorder now works like a charm. Perfekt, no distortion.

In Call Sounds good, no echo with more "loudness"

Only Whatsapp Voice iss terrible, but i think Whatsapp use the wrong source on asop and los
[Xperia Z5 Compact Android Development] torben5247:
Hi Bernhard

Maybe you know a bit about this? I know that it is the official rom and not your, but i think it is worth asking you.

I have compared stock version .154 and Lineage-14.1-20180119-nightly-suzuran-signed.zip

And there is significant difference in the speed when downloading on wifi.

When I update maps in osmand, stock is 1 minute downloading 220mb. Los is using10 minuttes and getting warm….

Is it a bug, or do anyone know how to fix it
[Xperia Z5 Compact Android Development] Berni-0815:
Just downloaded "Tschechien" for MapFactor GPS Navigator. Around 160MB in about one minute using 4 peers. :angel:
[Xperia Z5 Compact Android Development] TrulloF:
The new build (22.01.2018) works well for me in terms of audio quality (headphones). The hiss noise is gone. No need to replace mixer_paths.xml anymore. Thanks.

Is there any way to mount usb sticks with lineageos? There's a usb otg switch system app integrated, but how does work? Thanks in advance for any assistance.
[Xperia Z5 Compact Android Development] IGNNE:
Well... press the button and connect your USB device?

Works as expected for me.
[Xperia Z5 Compact Android Development] TrulloF:
Ok, stupid me, I never really looked in the drop down menu of the quick settings panel, because I use Power Toggles for most settings. Thanks for pointing that out.

What about MTP, does that work too in LOS?
[Xperia Z5 Compact Android Development] Berni-0815:
Hmmmm, this button is not accessible on my device... It appears at the very bottom of the drop down menu of the quick settings panel, but it remains there; no matter, what I'm trying...
[Xperia Z5 Compact Android Development] eng3:
Anyone notice a delay when making a call? from pressing the button to hearing it ringing might be 5-10 seconds sometimes. I've had this occur for a while now
[Xperia Z5 Compact Android Development] TrulloF:
That's most probably depending on the provider. Because when I call home it's taking also several seconds until it rings, but calling other people on different networks it's near instant, so I think it's not related to the ROM.
[Xperia Z5 Compact Android Development] THIETm:
Il have also some problems With dialer. I use drupe, and it's better.
[Xperia Z5 Compact Android Development] Berni-0815:
Had this yesterday. After a reboot this has been gone. Don't know what's been wrong...

But I heared no ringing tone at all, not even after many seconds.
[Xperia Z5 Compact Android Development] Berni-0815:
I'm using true phone since a few years and don't have any problems...
[Xperia Z5 Compact Android Development] eng3:
Yep but if I wait long enough it does start to ring

I assume the delay is my call routing to the FBI and CIA first
[Xperia Z5 Compact Android Development] trax7:
I wanna know where they sold the tin foil hat to you, man. Must be such high quality, I want one too...

Delay before call is a common issue, clean flash to test whether it's gone, if not, it's a bug with the current build.
[Xperia Z5 Compact Android Development] Berni-0815:
FYI:

My build computer is broken and I don't know what he has and how long it will take to get this fixed.

...sorry... :eek:
[Xperia Z5 Compact Android Development] eng3:
Sorry to hear, hope you had a backup

---------- Post added at 05:51 PM ---------- Previous post was at 05:49 PM ----------

When you guys do a "clean install", how do you restore your data?

I use titanium backup for apps plus data and google also restores some things.

However, doesn't this defeat the purpose of the clean install if you then go and restore all the data back?
[Xperia Z5 Compact Android Development] Berni-0815:
The hdd seems to be ok. And, sure (!), I have several backups of my changes made within the sourcecode. Everything else can be fetched from the github repo's. No problem...

At first step I've determined a broken power supply. A new one is on his way... :angel:

Then I'll see...

I don't restore any data except contacts, dates, sms' and so on using "My phone explorer"

The only app where I have to backup and restore data manually is Threema (the only messenger I'm using!!). But Threema can handle this itself.
[Xperia Z5 Compact Android Development] eng3:
Good luck. Power supplies have gotten so cheap, I just always have a backup just in case. It's when you can't tell if its your motherboard or CPU when it really sucks.

So every time you do a clean install you lose all the settings/preferences, etc for all of your apps? That must be really annoying to setup everything again.
[Xperia Z5 Compact Android Development] Berni-0815:
:good:

Yes! A clean install is never nice to do. I'm normally doing a full backup of /boot, /data and /system with TWRP when I'm testing a new version. If this version is working, I'm doing a dirty flash over my existing and working system (after a full restore with TWRP).

AFAICR I did a clean install only once because I mentioned some weird behaviours...
[Xperia Z5 Compact Android Development] eng3:
Well, I guess titanium backup only does the non-system apps. so clearing data on the app is probably equivalent. The only system stuff that gets restored would be whatever google restores.

I have had some weird things fixed by doing a "clean" install as well.
[Xperia Z5 Compact Android Development] skysurfer1111:
Well, I use ROM Settings Backup Pro from Playstore for several phones

It restores all the settings/preferences of your apps and accounts as well. So, after a clean install it takes you around 10 min to have your phone set up as before.

That's a lot of time saving for a couple of bucks.
[Xperia Z5 Compact Android Development] eng3:
I'll take a look, Titanium is very slow.

It has a feature where it creates a zip that you can flash in TWRP but unfortunately the features doesnt work. Otherwise, I could just flash all my apps and data in TWRP
[Xperia Z5 Compact Android Development] Berni-0815:
Sure! But there are rom's that are refusing their installation over an existing /data partition *) and for that you have to save/backup your data in an other way... ;)

*) For example the so called "official" LIneageOS 14.1 or my self built AOSP 7.1.2.
[Xperia Z5 Compact Android Development] skysurfer1111:
Try to restore only the user apps without data with titanium, that's faster. For the app data you use ROM Setting Backup. Titanium zip is crap btw.

---------- Post added at 09:41 PM ---------- Previous post was at 09:23 PM ----------

The first day on Z5c, comming from Z3c and installed the Rom yesterday. I made a clean install with TWRP 3.1.1, migrated all my apps with titanium, tested everything the whole day, but couldn't find any issues so far.

Okay, the battery drain is a bit more, but how can i tell this after one day.

Wow, this is a really nice work, Bernhard, I'm impressed. I think I'll keep this phone for a while, thank you, thumbs up.
[Xperia Z5 Compact Android Development] giosal:
Hi Berni,

After update to build of January 8 root disappeared and is available for ADB only (in developer settings). How do I bring it back?

Thanks

---------- Post added at 01:52 ---------- Previous post was at 01:49 ----------

Hi Berni,

I have a quick question about root - it disappeared after update to January 8 build (I am now running build of January 22) and is available for ADB only (in developer settings, Manage root accesses is grayed out). How can I re-enable it?

Thanks
[Xperia Z5 Compact Android Development] trax7:
You can try flashing supersu.
[Xperia Z5 Compact Android Development] Berni-0815:
I've removed root because with a prerooted rom the installation of magisk is not possible! Now you can install magisk. That's the only reason...

You can bring back root by flashing the file "addonsu-14.1-arm64-signed.zip" from this website...

Or, for sure, you can install supersu (not recommended due to unsure ownership of supersu!), superuser.zip (and afterwards install phh's superuser app) or magisk.
[Xperia Z5 Compact Android Development] eng3:
10min is pretty good. It usually takes a while to get all of my apps reinstalled. Restoring of the data is a bit faster. I only restore user app/data not system. I think some system data gets restored via google's built in restore. I assume user app data would only affect the behavior of each specific app. My guess is sometimes dirty flashing updates the system apps but the old data for those system apps may not be fully compatible, thus a clean install wipes that data. Or if it is something else that is getting cleaned out.

I know I'm the one that complained about this but Magisk actually still worked when you had root. I noticed that when I dirty flashed, after the flashing completed, I'd see magisk automatically re install. It must have something that knows. Perhaps it automatically removes root in the installer now. Either way, it is probably still good to leave root out since it is easy enough to reflash (just like gapps).
[Xperia Z5 Compact Android Development] Pelepako:
Hi!

Does this rom include Sim Toolkit (stk.apk). This is a deal breaker for me because I don't know how to install it afterwards and I need this to use several services to identify myself.
[Xperia Z5 Compact Android Development] Berni-0815:
On my device there is a SIM-Toolkit, yes. It's from my provider, but it's not installed seperately, so I think, it should be there for you too.
[Xperia Z5 Compact Android Development] Pelepako:
BRILLIANT! Thanks for this information. It is time for backups and fresh rom :good:
[Xperia Z5 Compact Android Development] Berni-0815:
You're welcome!
[Xperia Z5 Compact Android Development] Berni-0815:
I'm back! New version available! (see 1st post)
[Xperia Z5 Compact Android Development] eng3:
What's the Sim toolkit?

I have a tablet running lineage and as I go in and out of airplane mode it will say my sim card has been removed and force me to reboot. I've been looking for a way to debug this.
[Xperia Z5 Compact Android Development] Berni-0815:
I don't know! Never used it...
[Xperia Z5 Compact Android Development] rommo_911:
Nice job !!

Question : what about camera ? Why it's only 8mp ? We got sony's blobs for expecting a 23mp camera ... Any idea ?

Also I have another z3 , I installed LOS from official website and it have already 20mp default .
[Xperia Z5 Compact Android Development] Berni-0815:
8MP is the maximum; that seems to be fact!
[Xperia Z5 Compact Android Development] blue-spiderfire:
I've 23mp. You have to change the resolution in camera settings

Edit 11.02.18

Ok, due to later comments to this question. I've checked again. With open Camera I get max 8 MP, too. Looks like stock-LOS camera is lying. And yes, I'm not satisfied with picture quality.
[Xperia Z5 Compact Android Development] TrulloF:
I've got problems in the last build with FM radio. The automatic search for radio stations doesn't work at all. Manual search and saved stations work. I don't know which build was last working, but I don't remember having such issues before. Anybody else with the same problem?

Clearing data of the FM app didn't help by the way.

Thanks in advance for looking into it.
[Xperia Z5 Compact Android Development] eng3:
The way I understand it is that Sony doesnt provide camera2 drivers so 23MP isnt officially supported. However, some apps have found "unofficial" ways to get 23MP to work though sometimes that breaks other camera features. So basically, it depends on the app.

Regardless, I havent noticed any improvement in quality using 23MP so all my photos are 8MP. Infact, my 8MP photos tend to look better.

This seems to be the same case with 4K video recording. Using stock camera, I can record 4K smoothly but the video is zoomed/cropped. In the same environment, if I use a third party app, it will record real 4K resolution but the camera overheats much faster and the video frame rate drops.

Whether its purely due to software or it a mix of SW and HW, unfortunately, our camera sucks.
[Xperia Z5 Compact Android Development] Berni-0815:
That's right! Since I never use the included camera app (I'm only using open camera!) I've not noticed that 23MP are working...
[Xperia Z5 Compact Android Development] Berni-0815:
See my post 252 ...
[Xperia Z5 Compact Android Development] Berni-0815:
Same here :good:
[Xperia Z5 Compact Android Development] gavranpero:
Slow motion recording ? 720p, 120fps.
[Xperia Z5 Compact Android Development] mastermkl:
Hello ,

I've a big problem with this rom i flash the zip file downloaded from mega then i let my phone 10-15 minute maybe i don't know , and it don't start. I can't start the system bootloop at the begning logo. I read somewhere that i need to flash gapps before install lineage os but it's stupid i read on this thread that the rom's creator don't install gapps in the rom because he don't want so it's supposed to work without gapps. I already wipe cache and davilk cache and format my data. What can i do ?

I'm sorry if you don't understand my english if you don't understand my problem please tell me.
[Xperia Z5 Compact Android Development] Chronic2k13:
You need to flash the Rom BEFORE you flash Gapps!!!
[Xperia Z5 Compact Android Development] mastermkl:
I already do this , i flash the rom before gapps but it still bootloop...
[Xperia Z5 Compact Android Development] TrulloF:
Really strange behavior here. Now I'm in a different area and scanning radio stations works as intended. Hmm...
[Xperia Z5 Compact Android Development] rommo_911:
How and where exactly ?!
[Xperia Z5 Compact Android Development] mastermkl:
Hello guys recently i had a big problem with my phone : I can't flash any rom and my phone bootloop for every rom.

My solution : I flash the original rom from here : https://xdaforums.com/z5-compact/general/ftf-android-7-1-1-xperia-z5c-e5823-32-4-t3628734

I use flashtool (sony mobile flasher by androxyde) and i flash the stock rom then i boot into system for check if it work and then i flash the twrp 3.1.1 with fastboot and flash again the lineage OS rom and it work !

I guess something happen on my phone and flashing the stock rom repair my system.

I hope it could help some pepole with this annoying problem.
[Xperia Z5 Compact Android Development] eng3:
You technically don't need to flash gapps at all.

Certainly you don't need to if you are dirty flashing from an older version.

When I do a clean install, I flash the rom the gapps directly after and have no issues.

It takes slightly longer on the logo for the first system boot that that is the same with all roms.

I don't have to wait 10-15min and I dont get a bootloop.

If I did get a bootloop, I would either revert back or just do a clean install.
[Xperia Z5 Compact Android Development] Berni-0815:
[...]deleted[...]
[Xperia Z5 Compact Android Development] Berni-0815:
Maybe it depends on the signal strength?
[Xperia Z5 Compact Android Development] Berni-0815:
Sorry, I don't understand your question...
[Xperia Z5 Compact Android Development] Berni-0815:
This is exactly what I've expected! LineageOS 14.1 is only installable if you have an actual nougat version installed before. I came from E5823_32.4.A.0.160 ...

I think, this is due to partition sizes. :confused:
[Xperia Z5 Compact Android Development] mastermkl:
Yes it's really probable.

There is something i noticed in all the custom rom. The battery is charging really slowly , do you know why ? I know in the stock rom there was an option for charging called "charging optimization"

Do you guys feel the same thing battery is charging slowly.
[Xperia Z5 Compact Android Development] drrogern:
Thank you for updating linage for us! Flashed the main version this weekend, as my first root and flash since 2013ish. Downloading now!
[Xperia Z5 Compact Android Development] TrulloF:
Maybe, but saved stations work very well and manual scanning too. Seems that after restarting the app automatic scanning works, but I still need to verify that.
[Xperia Z5 Compact Android Development] eng3:
I don't notice it charging slowly. If your battery is at zero, it will charge fast. If your battery is at 90%, it will charge really slow. That is because fast charging a battery when it is close to full can reduce the life of the battery. I use GSAM which will give me a graph of charging rate and it looks about the same as when I was using stock.

The setting you refer to doesn't affect charging rate technically. It is well known that two things can reduce your battery life. Keeping it at 100% charge and letting it get very low. That setting basically reduces both ends by some unknown amount giving you less capacity. I dont know the number exactly but maybe it only really charges you up to "90%" and turns off the phone at "10%". So technically you only have 80% capacity so since you are only charging up to "90%" and you are starting from "10%", it will finish charging faster but the rate isnt faster. If you want to accomplish this on a custom ROM, there are apps out there that will do this. Personally, I set my phone to only charge to 70% and usually in daily use, it doesnt go below 30%. If I know I have a big day ahead of me, I turn it off and let it goto 100%.
[Xperia Z5 Compact Android Development] alexlalejandro:
Hi! I need your help. But first, i'm sorry for my bad english, my natural language is spanish.

Well, the problem is: The microphone volume is very low, nothing else happens in applications where you record sound, WhatsApp, Telegram, Audio Recorder, etc.

Although the video recording the volume is adequate, at least in the camera and instagram is heard well. But when recording only sound, it is heard very low or far away.

I would be very grateful for your help.
[Xperia Z5 Compact Android Development] Berni-0815:
Here you can see my changes ("<" is stock, ">" is mine)

1518c1518

< <ctl name="DEC7 Volume" value="84" />

---

> <ctl name="DEC7 Volume" value="90" />

1523c1523

< <ctl name="DEC9 Volume" value="84" />

---

> <ctl name="DEC9 Volume" value="70" />

1990c1990

< <ctl name="RX1 Digital Volume" value="79" />

---

> <ctl name="RX1 Digital Volume" value="85" />

2503,2504c2503,2504

< <ctl name="DEC7 Volume" value="84" />

< <ctl name="DEC9 Volume" value="84" />

---

> <ctl name="DEC7 Volume" value="124" />

> <ctl name="DEC9 Volume" value="124" />

2509,2510c2509,2510

< <ctl name="DEC7 Volume" value="84" />

< <ctl name="DEC9 Volume" value="84" />

---

> <ctl name="DEC7 Volume" value="124" />

> <ctl name="DEC9 Volume" value="124" />

2515,2516c2515,2516

< <ctl name="DEC7 Volume" value="97" />

< <ctl name="DEC9 Volume" value="97" />

---

> <ctl name="DEC7 Volume" value="137" />

> <ctl name="DEC9 Volume" value="137" />

2521,2522c2521,2522

< <ctl name="DEC7 Volume" value="106" />

< <ctl name="DEC9 Volume" value="106" />

---

> <ctl name="DEC7 Volume" value="146" />

> <ctl name="DEC9 Volume" value="146" />

2735c2735

< <ctl name="RX1 Digital Volume" value="75" />

---

> <ctl name="RX1 Digital Volume" value="82" />

2737c2737

< <ctl name="RX2 Digital Volume" value="75" />

---

> <ctl name="RX2 Digital Volume" value="82" />

2758,2759c2758,2759

< <ctl name="IIR1 INP1 Volume" value="79" />

< <ctl name="IIR2 INP1 Volume" value="79" />

---

> <ctl name="IIR1 INP1 Volume" value="87" />

> <ctl name="IIR2 INP1 Volume" value="87" />

LineageOS can't use sony stuff for camera.

Both mic's are used. But one is set to a lower value to avoid echo's.

I don't know if other framerates are possible.

Minimum screen brightness should be nearly the same as in stock. In the so called "official" this is much brighter! I've changed the setting steps to 15, so you should adjust it better.
[Xperia Z5 Compact Android Development] rommo_911:
On my z3 official Los charging is locked at 1 ampere I think , really painstaking ! Very slowly .

But on my z5 , Los latest version of Berny ( February) I am using QC 2.0 and I think it's charging perfectly 1.5%/m

Maybe 1h10 full charge
[Xperia Z5 Compact Android Development] Berni-0815:
Is there a need for weekly updates? There are not so much changes to put an update to public every week (see changelog in 1st post)!

I would like to switch to monthly updates. Let's say, every 15th of a month? (If I'm not on vacation) Then latest android security patches are out and will be included in my build.

If something unexpected happens, I will build a rom asap.

What do you mean? ;)
[Xperia Z5 Compact Android Development] skysurfer1111:
Hi Bernhard, monthly updates would be perfect for me. My device runs stable, without issues and the security patches are enough.
[Xperia Z5 Compact Android Development] eng3:
I think whenever there is a "significant update" (ie. security update, new feature, big fix)
[Xperia Z5 Compact Android Development] faol92:
stock camera

Hi Berni and thank you for your great work!

Do you think it's possible installing stock camera app from apkmirror.com and could it work properly?

P.S: i'm new on this thread but I agree with montly releases!:good:
[Xperia Z5 Compact Android Development] Berni-0815:
I never tried it. For me, open camera works perfect!

:good: