yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] IGNNE:
I was going to say "No problem here". But it made me curious, and I did some testing.

First of all, what do you mean by RAM management? Android (like most modern OS) keeps the memory as full as possible (f.e. disc caching). If an app needs memory, some of the cache is dropped. That is intended and perfectly good (take a look at your desktop system after some time if you don't believe me).

Then I took a second look, and found that I have (with lots of active background services and apps running) just enough memory to load 4-5 large pages in Firefox until it starts re-loading the page when I switch to a tab.

This is bad. :(

This means that tabs get killed by the Android memory management (correct me if I am wrong, I am just guessing most of this). Of the ~1,8 GB usable ram there were about 300-500 MB of available RAM (counting cache etc. as available). The Android Low Memory Killer seems to keep those MB free of apps, so I am pretty close to full RAM.

To check this I adjusted the Low Memory Killer settings with Kernel Adiutor (I used the "very light" preset and now I can load about 10-15 big pages (like xda-developers.com, cnn.com, bbc.com... just random pages with lots of pictures and scripts). The free RAM went down to about 240MB. Remember, I had lots of background apps and services running.

After a reboot, I have about 1,1GB of 'free' (used as disc cache) RAM. This seems ok, as there are quite some background apps and services running. :)

Tl;dr: Close some of your apps. ;)
[Xperia Z5 Compact Android Development] Cuculuz:
I tried all of the versions off gapps now with this latest ROM and none work, but when I downgrade to some previous build it work always. Only the latest update won't install it properly.

Here is the picture of youtube.

https://imgur.com/a/jLvQ19l

Here you can see I have gapps installed. (playstore missing again)

https://imgur.com/a/jLvQ19l

logcat 4 you . https://ufile.io/qk095

Just tried again to dirty flash the latest update over the other one, gapps completely disappeared from my device only my apps are left now what I had. But most wont work cuz of playstore is missing. And reflashing Playstore wont bring it back also.
[Xperia Z5 Compact Android Development] kahitano313:
I closed most of my apps, however I don't think that's the problem why there's no enough ram available.
[Xperia Z5 Compact Android Development] TrulloF:
Did you remove or freeze microGDroidGuard previously? I had similar problems with the previous build, but leaving this app untouched solved it (had to start from scratch again unfortunately).
[Xperia Z5 Compact Android Development] Cuculuz:
No I didn't remove freeze anything . now I tried about 10 times to install gapps with the latest ROM .

No luck .....
[Xperia Z5 Compact Android Development] TrulloF:
Okay, I could reproduce your problem. If I flash GApps after I installed the ROM (dirty flash from previous version), Google Play and Services are gone and reflashing GApps doesn't help either. Had to do a system restore to get it back.

Hmm, anyone with an idea to solve this? Seems to be connected to MicroG integration.
[Xperia Z5 Compact Android Development] Cuculuz:
By system restore you mean factory reset or a previous blacked up file ?

Also if I flash the ROM itself first (fresh install) , then setup the device without Gapps and SU .

Then go to trwp again flash Gapps , boot back to system then its show every other google play app a part from play store itself.

---------- Post added at 07:39 PM ---------- Previous post was at 07:34 PM ----------

Any other alternative to Gplay store or Gapps ? What has the same functionality as the original .
[Xperia Z5 Compact Android Development] TrulloF:
Before updating or flashing ROMs I usually do a nandroid backup with twrp.

Yalp store (get it via Fdroid) is a good play store replacement, but several paid apps rely on Google services and won't work properly.
[Xperia Z5 Compact Android Development] IGNNE:
Enough RAM for what? ;)

Android in general does use a lot of memory, I tried a cheap tablet with 1GB once and it was really no fun to use.
[Xperia Z5 Compact Android Development] kahitano313:
More memory for multitasking, I read articles pertaining to the system being hefty, well it is normal.
[Xperia Z5 Compact Android Development] echo124:
Good work, any chance for developers to fix bugs ;) any developers?
[Xperia Z5 Compact Android Development] THIETm:
Dtmf NOT work on m'y Phone...

Someone has the same problem ?

Édit, work With dupe
[Xperia Z5 Compact Android Development] Berni-0815:
No solution in sight! The only thing you can do is flashing an older version (together with gapps), set it up and afterwards dirty flash the actual version! :(
[Xperia Z5 Compact Android Development] Berni-0815:
Maybe this is the reason, yes. I'm trying to solve this...
[Xperia Z5 Compact Android Development] Berni-0815:
General question:

Is anyone here using microG? Or does everyone using play store stuff? Then I'll kick microG.... (Or I have to create two versions of my rom ;) )
[Xperia Z5 Compact Android Development] Mathias Schmidt:
LineageOS official Rom for Suzuran

Hi Berni, looks like LineageOS for the Z5C is now officially supported. Did you give it a try yet or do you still make your monthly inofficial build? Is it possible to flash the official build directly on top to give it a try or is a factory reset required? Anyone tested it yet?
[Xperia Z5 Compact Android Development] sir fg:
Hi Berni,

first, thank you for this great ROM. I am using flashed gapps with Play Store, I don't need microG. And actually, because of this issue reported here, I didn't dare to flash the latest version, I am still on the build from April. So for me it would be great to have again a build without microG.
[Xperia Z5 Compact Android Development] skysurfer1111:
Originally Posted by Berni-0815

General question: Is anyone here using microG? Or does everyone using play store stuff? Then I'll kick microG.... (Or I have to create two versions of my rom )

Same for me. I've three Z5c with equal configuration and I always dirtyflash them. One works fine with the latest version and the other ones have the issue: no playstore.

I would prefer a version without microG.

---------- Post added at 02:34 PM ---------- Previous post was at 02:25 PM ----------

Hi, you definitely need a clean install.

I flashed the latest "official" nightly today on one of my phones and after two hours of playing around I don't see any difference to the april version of Berni.

With the next "non microG" version I come back to this rom.
[Xperia Z5 Compact Android Development] Berni-0815:
Yes, because my version still has some advantages that are not part of the so called "official"... ;)
[Xperia Z5 Compact Android Development] Berni-0815:
The problem is my integration of microG, indeed!

In my next version (coming very soon!) microG will not be included any longer, so that the play store stuff will work again as expected.

Sorry for any inconvenience!! :crying:
[Xperia Z5 Compact Android Development] jkaart:
I do not use it, but I do not have any problem with it. I did last clean flash in april. I use old january (if I remember correct) gapps and with this old gapps I do not have any problem...
[Xperia Z5 Compact Android Development] RaunoT:
Good question, I thought of asking this, but for some reason, VoLTE questions are banned from LineageOS reddit :D

So maybe it's a touchy subject for them

Either way, I don't know.
[Xperia Z5 Compact Android Development] gnaz7:
pressing long enough does restart - I know this, more detailed explained:

pressing PowerButton 1-2sec gives the Power/Restart/(Scrshot) menu:

- without advanced:

pressing Restart gives: Restart popup / Your phone will restart

pressing Power off gives: Restart popup / Your phone will shut down

*** both work as expected (ok)

- with "advanced restart" (2nd developer Option)

Restart offers the Restart/SoftRes/Recovery/Boot choices, but

PowerOff popup's the same menu - and consequently does no Shutdown

I'm using this for easy Recovery access - as there are many helpful updates... :)

best regards

ps: I enabled the Screenshot button some days ago, may have influence
[Xperia Z5 Compact Android Development] Berni-0815:
Ah, now I understand!

But where is the sense of an advanced shutdown? The system should shut down normally... :confused:

I'll review my own code and see, if I can change it.
[Xperia Z5 Compact Android Development] Yverson:
i use it too for the same reason. instead of having to shut the phone down and then perform the key combo u can directly boot into recovery.

(not having the same build so i can't tell u if it works or doesnt)
[Xperia Z5 Compact Android Development] Berni-0815:
Sorry, my fault. I really don't know what you are talking about. After some testing I now really know it. (advanced restart)

That's an error, indeed!
[Xperia Z5 Compact Android Development] Berni-0815:
Fixed in the new version (first post)
[Xperia Z5 Compact Android Development] Blu3ye:
Thanks for this reminder. My wife has the same problem with her LG G3s (I believe) and it´s good to remind that this COULD also happen with this device (her phone shuts down when using Google maps).
[Xperia Z5 Compact Android Development] eng3:
That makes sense, using the phone in the car is probably one of the biggest power drains on the phone. In the past when my chargers were cheaper (on older phones), I'd often have a problem where the charger could not keep up with the power drain while navigating. That was the only time I ever ran into that issue.

1. The screen (the biggest power drain on the phone) is kept on 100%

2. Charging, especially if the current is high will generate heat

3. Maybe you have bluetooth on connected to your car (not the biggest drain, but still)

4. Maybe you're playing music off your phone too

Basically, all the top heat generators are on

The only time I've had the phone get hotter was on a hot summer day trying to record 4K.
[Xperia Z5 Compact Android Development] Tobi@s:
Hi Berni, thanks again for your builds :) Any idea why I can' t add an Exchange account? The option is missing from the account menu?
[Xperia Z5 Compact Android Development] Berni-0815:
I don't know; never used this. Sorry... :(
[Xperia Z5 Compact Android Development] eng3:
I thought there was an email app (not gmail) that supports exchange. Maybe its an option with gapps
[Xperia Z5 Compact Android Development] blue-spiderfire:
There's a solution

In phone menu ( via dialer *#*#4636#*#*) VoLTE isn't grayed out anymore. But I could 't test/verify it for lack of an appropriate calling partner until now.

Maybe [MENTION=7749536]Berni-0815[/MENTION] could add these lines in his next build.
[Xperia Z5 Compact Android Development] Berni-0815:
Done! See first post...
[Xperia Z5 Compact Android Development] Blu3ye:
Update - lose of data?

Maybe a stupid question, but with every update of the rom I loose mods/additional apps that I installed to /system/ right??
[Xperia Z5 Compact Android Development] pep086:
Hi guys, awesome build berni, the only thing a noted is the mic recording volume is to low, when you record any audio, on calls its working fine.

awesome rom very stable, waiting for a few days to check the battery life.

thank you very much,
[Xperia Z5 Compact Android Development] torrentu:
I also confirm the echo problem during incoming and outgoing calls

Problem occurs in all versions lineageos
[Xperia Z5 Compact Android Development] Berni-0815:
Yes! /system is deleted and created new while installing any rom. No matter what rom you're installing...
[Xperia Z5 Compact Android Development] Berni-0815:
Same here. I'll have a look at this...
[Xperia Z5 Compact Android Development] Berni-0815:
That's a well known problem and until now no one knows how to fix it; sorry. :(
[Xperia Z5 Compact Android Development] Berni-0815:
I've compared stock, aosp and lineageos file mixer_paths.xml.

Don't know exactly, but in my eyes the corresponding lineageos values are set much higher than in stock or aosp.

Recorded videos in stock have the best microfone level of all these roms. In aosp and lineageos the sound is very low. Regarding the corresponding values it should be inverse. :D Strange to say that it isn't...

I've set other values and actually I'm building a test version to see if this will fix anything...

...or not... :eek:
[Xperia Z5 Compact Android Development] up2dateneurosis:
For me the latest release works fine, no more mic issues so far. Beside root and kernel adiutor I also started to use this mod https://xdaforums.com/xperia-z5/development/mod-fsc-1-0-dont-sacrifice-performance-t3670586 it is compatible with Berni´s release and changes the thermal behaviour of the Z5. It´s the target of the mod to result in stable and long term performance, instead of rising up and than collapseing cpu throttleing. Seems to work. Maybe Berni should include this as standart.
[Xperia Z5 Compact Android Development] Mathias Schmidt:
Sounds good, even though I did not experience any issues with the May version...

Out of curiosity, do you think about giving LineageOS 15.1 a try for the Z5C or do the Sony blobs not work for tthat?
[Xperia Z5 Compact Android Development] Berni-0815:
Out! See 1st post...
[Xperia Z5 Compact Android Development] Berni-0815:
We're working on it; stay tuned... :angel:
[Xperia Z5 Compact Android Development] echo124:
Please inclue auto data on mms!:good:
[Xperia Z5 Compact Android Development] Berni-0815:
If you want to finish first, first you have ro finish!

That means, first of all the rom has to work *), than we can implement "things"... :angel:
[Xperia Z5 Compact Android Development] skysurfer1111:
It works perfect for me. Thanks a lot!
[Xperia Z5 Compact Android Development] up2dateneurosis:
Will MicroG be removed if I do a dirty flash?
[Xperia Z5 Compact Android Development] Berni-0815:
It seems so. I can't see it on my device any longer...
[Xperia Z5 Compact Android Development] Cuculuz:
Thank you kind sir! The new update works with play store.
[Xperia Z5 Compact Android Development] serialkillazzs:
Do you think you could implement this in your base build permantly

https://pmf.silvrback.com/fixing-tethering-on-android-kitkat

it was a workaround on z3 compact i had but was wondering if you could get it implemented on lineage os for my new z5 compact

---------- Post added at 12:04 PM ---------- Previous post was at 11:49 AM ----------

Bit more detail

https://xdaforums.com/z3/general/lollipop-tethering-t3058923

https://xdaforums.com/showpost.php?p=62315904&postcount=907
[Xperia Z5 Compact Android Development] Berni-0815:
We're on nougat 7.1.2! ;)
[Xperia Z5 Compact Android Development] serialkillazzs:
yeah i now, but this mod seems to be blocked from android 6.0 because of networks requiring permanent block, just wondering if you could get it to work on android 7 without it resetting back:fingers-crossed::fingers-crossed:

---------- Post added at 12:54 PM ---------- Previous post was at 12:52 PM ----------

going to test bat script once ive rooted and installed lineage os on new z5 compact, on 3uk myself with z3 compact at minute just waiting on full charge z5 compact
[Xperia Z5 Compact Android Development] claudiobar:
Hi there :)

I also have a z3c and I'm thinking of getting a z5c as well

Would you consider it to be an upgrade, despite only having Android 7?

Thanks so much for your input!
[Xperia Z5 Compact Android Development] serialkillazzs:
Depends on your use, i like it because its small compact and a bit of an update from z3 compact. Camera better and after a few charges its settling in and just as responsive as z3 compact. Snapdragon chip not as effecient as z3 apparently but this has a plastic back compared to glass. Maybe plastic not dissipating heat as well.

it was either this £107 delivered new or a second hand s7, find compact easier to see outside than s7 oled, just my opinion
[Xperia Z5 Compact Android Development] fregfreg:
VOLTE is not working with telekom/t-mobile provider in Germany.

For t-mobile you need APN "IMS" for volte.

search the net for: "t-mobile wie lauten die apn fuer mobilfunk" (can't post links)

If you add this APN manual, your data-connection will not work, also there is no volte

This is also confirmed by the "Network-Support from t-mobile"

volte on z5c only works with the original telekom firmware, this may change in future, but currently it is like that.

I guess its a problem with the modem binarys from the generic firmware

Berni, thanks for sharing your work, anyhow
[Xperia Z5 Compact Android Development] Berni-0815:
Oops! Never tested it...

Does this feature work in other regions? If not, I'll remove it. Then it has no sense...

Then I can't change it; I'm sorry...
[Xperia Z5 Compact Android Development] fregfreg:
pleas don't remove it, it's not region specific its t-mobile/d1 network, I aspect it will work with vodafon/d2 and o2 Mobil Network. Also I hope t-mobile/d1 will change to standard behaviour.

Of corse, I only won't to share the experience
[Xperia Z5 Compact Android Development] Mathias Schmidt:
Google Pay does not pass SafetyNet check

Has anyone given Google Pay a try on the ROM yet. Thought I give it a try but I failed miserably. Even magisk hide did not do the trick. Tried all the other things they recommend in some threads like disabling USB debugging etc. but still not successfull. Hope someone has a bright idea.
[Xperia Z5 Compact Android Development] Slagathor:
Could anyone tell me how the heating issue with the rom is compared to vanilla Lineage!? I am looking for a nice AOSP rom that will not burn my fingers. Stock rom just does not cut it for me.

Thanks!
[Xperia Z5 Compact Android Development] Slagathor:
To answer my own question: there's no heat like the vanilla Lineage. This ROM keeps nice and cool. Great work!!
[Xperia Z5 Compact Android Development] Berni-0815:
There has been a discussion some time ago; please search yourself! No result AFAICR... :(
[Xperia Z5 Compact Android Development] ponior:
Hi. Everything works fine.

Only no contact on sim card. I can't import contact from sim cart . it,s blocked.

help, please
[Xperia Z5 Compact Android Development] emosis:
Why u dont try offical lineage os ? It must work..
[Xperia Z5 Compact Android Development] ponior:
I try Resurrection Remix v5.8.5, LineageOS [Suzuran], LineageOS 14.1 Berni's alternative. The same problem on everyone.
[Xperia Z5 Compact Android Development] Berni-0815:
Why should the so called "official" work better than mine? We are both using the same sources. My version has some add's that the so called "official" don't have. (see my 1st post)
[Xperia Z5 Compact Android Development] emosis:
Sory brother..I didnt say official is better.. Only said a way maybe helps.
[Xperia Z5 Compact Android Development] Berni-0815:
That's right. My mistake, sorry...
[Xperia Z5 Compact Android Development] lochstar:
I've having a minor problem where my screen brightness resets itself to around 25% when I have it on it's lowest setting (at night). I am not sure what is triggering this change. I have auto-brightness disabled in the display settings. Any ideas?
[Xperia Z5 Compact Android Development] Berni-0815:
I've problems with screen brightness too! It's a general problem which I can't solve! Please report it to the "official" site...
[Xperia Z5 Compact Android Development] rommo_911:
SOLVED

by chance , when I installed lineageOS, somehow I used headset in a critical angle and broke the microphone contact inside the phone's jack ! ( Or maybe it was already in critical condition)

How lame is that ! Just noticed this today with a magnifier..
[Xperia Z5 Compact Android Development] Berni-0815:
Weird things are happening sometimes... ;)
[Xperia Z5 Compact Android Development] rommo_911:
I have two questions for you guys

1- on latest build have anyone noticed weird behavior with screen rotation ? My device can't stand on a side while moving/walking/in a car , at any small movement horizontally, it flips and so on .

2- any chance lineageOS on our device can pass safetynet? I can't get it passed even with magisk and I though I can't use gPay , doesn't work on official builds as well ? Although I remember when I was on stock software with Green kernel+magisk it passes safetynet smoothly.

Thanks all.
[Xperia Z5 Compact Android Development] trax7:
SafetyNet won't pass on non-stock based ROMs by itself. You can search for a Magisk module that spoofs the fingerprint - it should help u pass SafetyNet.
[Xperia Z5 Compact Android Development] rommo_911:
I did installed it , didn't pass as well ?.

Thanks for the info mate .
[Xperia Z5 Compact Android Development] trax7:
Just installing it won't do it. If you read the description it says that you need to set the fingerprint to the one from stock rom.
[Xperia Z5 Compact Android Development] Berni-0815:
Just tested; I've to rotate it more than 60° to let the screen itself rotate; no matter which side (vertical or horizontal) I'm using...
[Xperia Z5 Compact Android Development] Berni-0815:
New version out! (see 1st post)
[Xperia Z5 Compact Android Development] alandw:
I'm using Magisk V14 with the "universal safetynet fix" v2 beta 5 module. Passes safetynet fine.
[Xperia Z5 Compact Android Development] Berni-0815:
Yes, but there are reports that google-pay is still not working...
[Xperia Z5 Compact Android Development] Berni-0815:
New version out (see 1st post)!

New: Android security patch level: 5 July 2018

Edit:

Fixed an error in the postet url; now you should be able to download the rom without any problems... Sorry for any inconvenience... :angel:
[Xperia Z5 Compact Android Development] drrogern:
Radio issues

Hi! I have tried finding posts from people with the same issues as me, but I have been unable to do so.

Ever since flashing lineage roms (I have tried this one and one other unofficial one), I have had problems where my data connection drops and stays off for a random amount of time (all from 1 minute to 3 hours). The issue was less severe, but still happening before I went on holiday to croatia (i live in norway).

Im wondering if there is some important step I have missed when flashing lineage os.. My process is always full wipe, flash, wipe dalvik etc, flash gapps and then wipe dalvik again.

EDIT:

Also, kind of unrelated to topic: Is the flashtool for linux safe to use for our device? Im thinking about trying stock if no one here knows how I might be able to fix my issues with data connection drop.

- Roger
[Xperia Z5 Compact Android Development] Berni-0815:
Does the connection come back when activating the screen? I'm asking because I've see the same behaviour here... My (only wifi) data connection is dropping off too, but comes immediately back when activating the screen!

This seems to be a general issue with LineageOS 14.1 ... :eek:

Yes! I'm only working with linux...
[Xperia Z5 Compact Android Development] drrogern:
Neither my connection or connection issues seem to be affected by my screens status.

I can walk out the door and not have data connection for 3 hours and then it may suddenly work again for 30 minutes. My overall connection (calls) also drop quite frequently.

My wifi is working fine it seems
[Xperia Z5 Compact Android Development] Berni-0815:
Then there is something different going wrong and, sorry, I can't help you then...
[Xperia Z5 Compact Android Development] Berni-0815:
FYI:

My actual version (2018-07-24) is not showing this issue!
[Xperia Z5 Compact Android Development] drrogern:
My plan is to flash your rom as soon as I get home! you seem very dedicated to maintaining your rom :)
[Xperia Z5 Compact Android Development] Purecut:
Hi,

Can someone with installed rom answer me the question, if you are able under the dialer "Settings - extended phone settings - Accounts - SIP accounts" to add SIP accounts and to save them and if they are working? Under 5.1.1. it was possible to add SIP accounts and to use them. After 6.x these settings are gone. Will begreat if someone could check this.
[Xperia Z5 Compact Android Development] Berni-0815:
There is a setting unter Settings/Calls/Calling accounts/SIP accounts (see attached screenshot). Since I don't have such an account I can't test it. Sorry...