yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] Purecut:
Thank you. I will test the image.
[Xperia Z5 Compact Android Development] Purecut:
Hi Berni,

I just want to say "Thank you". Yesterday I installed your version and the phone is running very smooth and I go my SIP accounts back. Why Sony masked them no ones understand this. Now they are working again :)

I'm using TWRP 3.2.1 , Magisk 16.0, Magisk Manager 5.8.3 and GGAPS mini.

Until now I found one bug. Many users are complaining that SafteyNet will not run on this rom. That's right, but this not your fault.

To say it clear: SafetyNet will never pass with installed Xposed. Without installed Xposed we also will get your rom passed after a line of code to be changed. The source of your rom will use a not certified fingerprint by google.

If we change the line of code the SafetyNet check passed. To answer the questions that are coming: No the change will NOT break your fingerprint. The fingerprint will run as smooth as it's running before. The change to be made will only effect the file that SafetyNet will read, if the phone is using a certified fingerprint or not.

We have to use this fingerprint:

Sony Xperia Z5 Compact (7.1.1)=Sony/E5823/E5823:7.1.1/32.4.A.1.54/3761073091:user/release-keys

Within this rom a none certified fingerprint will be used. U can check this in the following way:

Open terminal and hit the following command:

This will show you the used fingerprint for SafteyNet.

Didgeridoohan made a script for changing the fingerprint (you must Use Magisk 16.0) https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228

After the script was installed everything passed through SafetyNet :)

So please can you change the old fingerprint key to the one above, so that we do not have to change it anymore. One more think that differs from the after ROM :). I attached the Script module also here.
[Xperia Z5 Compact Android Development] Berni-0815:
Where does your information comes from?
[Xperia Z5 Compact Android Development] kryosan:
Bernhard, maybe the right way is to make your ROM free of ANY gapps or microG, that can be as additional flashable pakages? Like that:

LineageOS_XXX.zip

Gapps_YYY.zip

microG.ZZZ.zip

:D
[Xperia Z5 Compact Android Development] Purecut:
Within the thread from Didgeridoohan and I can confirm this. Anything is working perfect. The SafetyNet looks to the used hardware and in the Lineage ROM they are using a string for the used fingerprint hardware that is not certified. Before I installed this into your rom I checked the fingerprint string in my original rom for the Z5C from Sony and they are using the same fingerprint string as I written before. The Linegate ROM used a string with the end of dev-keys. That can not work! You can check this with following code in terminal:

getprop ro.build.fingerprint
[Xperia Z5 Compact Android Development] Berni-0815:
Except for f-droid and unified-nlp there is no app included.
[Xperia Z5 Compact Android Development] Berni-0815:
I've changed the fingerprint long time ago and the lineageos-team said to this change:

But, it is my rom, so I can and I will change whatever I want! :p So, I'll have a look at it, ok?
[Xperia Z5 Compact Android Development] kryosan:
That's good to know!

PS: Have you seen this LineageOS 14.1 builds for suzuran by microG project? :D

https://download.lineage.microg.org/suzuran/
[Xperia Z5 Compact Android Development] Purecut:
Of course is this ok and btw. I do want to annoy you in any way. I just want to let you know, that with the changed fingerprint line to a certified one the Z5C will be passed the SafetyNet. You also see that Lineage team changed the original fingerprint line to another not certified one. This is the case why SafetyNet do not pass their version, whatever they are doing. I just installed G-Pay and everything is fine :). So it up to you what you will do. it's your rom :)

Ich wünsche dir noch einen schönen Sonntag Abend :)
[Xperia Z5 Compact Android Development] ouzqan:
hi man can you port for z5 premium ?
[Xperia Z5 Compact Android Development] Berni-0815:
Yes! I know about it... My own code conflicts with gapps, so I removed everything for microG support.

I know! The original fingerprint in the original rom's system.prop is this:

ro.build.fingerprint=Sony/suzuran/suzuran:7.1.1/N-MR1-KITAKAMI-170920-0229/1:user/dev-keys

The lineageos team changed their line to match the one in the original rom. That's the reason.

The original rom must change this line somewhere in the non-public part of the sourcecode... ;)
[Xperia Z5 Compact Android Development] Berni-0815:
No, I'm sorry.
[Xperia Z5 Compact Android Development] Berni-0815:
Hmmmm, then something's not working properly on my device (see screenshot). The fingerprint actually is:

Sony/E5823/E5823:7.1.1/32.4.A.1.54/3761073091:user/release-keys

Maybe because I'm not using magisk?
[Xperia Z5 Compact Android Development] Purecut:
That's right. You need magisk to hide proper root and to fix some other checks for SafetyNet. Without magisk no SafetyNet

Can you explain me how you made the screenshot? Power Button - no extra menu for screenshot like in sony stock
[Xperia Z5 Compact Android Development] Berni-0815:
Power and volume down takes a screenshot.
[Xperia Z5 Compact Android Development] Purecut:
Not in my case. If I do that the phone changed the ring volume. I found it under "Tasten" - "Ein-Aus Menu". There you can add the "Screenshot".
[Xperia Z5 Compact Android Development] Purecut:
Here's the Test Result
[Xperia Z5 Compact Android Development] Berni-0815:
Ok, then it works (see screenshots)! In my next version I'll remove pre-rooting too for those who want ro use magisk. Thank you!
[Xperia Z5 Compact Android Development] Berni-0815:
Strange! It should work....

With that you're adding a screenshot to the shutdown menu. The normal screenshot-function always was and is power + volume down... :confused:
[Xperia Z5 Compact Android Development] Purecut:
You have to ask Berni - He inserted this in his rom :D. I do not installed anything for this. I installed your ROM - GAPPS mini, Magisk and I'm working with Nova Launcher, but this app do not install such extensions.
[Xperia Z5 Compact Android Development] Berni-0815:
I know this menu; but never used it! I've added nothing in my rom to make it possible to take a screenshot ! This is a basic function (AFAIK)...
[Xperia Z5 Compact Android Development] l33boy:
unroot?

Hi Bernie

Is there a quick way to un-root this ROM so I can pass SafetyNet?

Cheers
[Xperia Z5 Compact Android Development] Purecut:
I'm sorry but I must say that I have to switch back to stock root rooted, because with Berni's rom I have issues that I'm loosing Mobil data connections. When I start the phone, everything seems to work fine, but after some minutes the mobile data stops working. When I switch in this state to flight mode and back - nothing happens. I have to reboot the phone to get mobile data working again.
[Xperia Z5 Compact Android Development] -DDD-:
Do you have this also with the official?

https://xdaforums.com/z5-compact/orig-development/lineageos-t3757816
[Xperia Z5 Compact Android Development] Purecut:
When I search for this problem I see a lot of people complaining that they lost the mobile data connection with Z5C and LineageOS 14.1. If tried never the original LineageOS 14.1. Some people told me that I have to flash the LinegateOS over the last sony stock nougart rom (latest 32.4.A.1.54). I can not believe this. Had anyone tried this. I love Bernies version but with the lost of the mobile data connection the rom is useless for me. I checked the Baseband-Version and that is the same on stock and Berni's rom.
[Xperia Z5 Compact Android Development] drrogern:
I'll write back and quote you when I try this in the following days.
[Xperia Z5 Compact Android Development] Mathias Schmidt:
How did you do that? I've been trying for ages without success..
[Xperia Z5 Compact Android Development] Purecut:
Hi

read post #633. Everything is explained there.

---------- Post added at 09:52 PM ---------- Previous post was at 09:50 PM ----------

Is here anyone else with problems of loosing the modem data connection and that the phone stops registering?
[Xperia Z5 Compact Android Development] Mathias Schmidt:
I got as far as installing the package with Magisk, but when I open a terminal emulator and enter props, nothing happens. What am I doing wrong? The detailed descriptions in the other thread are very confusing...
[Xperia Z5 Compact Android Development] Mathias Schmidt:
Worked fine after I finally activated root for the terminal... (Shame on me for not realizing this earlier)

I was able to pass all SafeteyNet checks and add my N26 MasterCard to my Google Pay account. However when trying to pay at Aldi, DM, Edeka, MediaMarkt, H&M etc. nothing happens. Neither with activate screen, nor with Google Pay app running. NFC is activated, Google Pay is the default app for payments and the app tells me my MasterCard is the default payment method but nothing happens. I double checked my NFC antenna by starting a NFC reader app and reading my MasterCard and other NFC tags directly, works perfectly, but no reaction of my phone when trying to pay at a NFC terminal.

Was anyone successful in paying with Google Pay, especially you Purecut? Thanks again for the help.
[Xperia Z5 Compact Android Development] JellyFish3D:
Hi Berni, thanks for the rom. Have been using it for a while now and everything is great but sound. Could you re-upload stock mixer settings or give instructions on what to do to reduce gain? Previous links are dead an the distortion on low volume is killing me, can't watch YouTube, Twitch etc.

Thanks!
[Xperia Z5 Compact Android Development] Purecut:
Hi,

as you know the steps for the speaker/headset and phone volume are not so smooth. You can edit them in a easy way without hacking any files. To edit the values you need a rooted phone :).

Steps:

1. You to system and open the build.prop. For this I use the app BuildProp Editor from the playstore BuildProp Editor, but you also take the internal text editor.

2. Open the file build.prop

3. insert at the end of the file these two entries:

ro.config.vc_call_vol_steps=6
ro.config.media_vol_steps=30

4. save the file and restart your phone.

Bingo - you have now many more steps for vol +/-

The first code line is for call volume

The second code line for media volume

You can use any number of steps that you want.
[Xperia Z5 Compact Android Development] drrogern:
I have now tried this rom after first flashing latest stock with flashtool. So far the issues are the same (data connection drops). Anyone know anything else I should try? This is really annoying!
[Xperia Z5 Compact Android Development] Purecut:
I think the rom is using the wrong modem file.

I had the the same problem with my stock rom from UK/EE. I downloaded this stock rom because they told me that within this stock rom the SIP account function is not disabled. This rom works very fine and also the sip accounts were back, but the modem did not connect like the stock rom of the Customized Version DE version. The reason: the modem configuration was wrong. So I checked it why in this version my sip accounts are coming back adn enabled the function in the german ones that I'm using right now with any problems. In the german stock rom 32.4.A.1.54 I'm using the amss_fsg_suzuran_telefonoca_germany_ims_tar.mbin. In the for testing installed UK/EE version I was using a universal modem driver. That may be the problem in this ROM. Check under Testmenu - Serive Info - Software Info which modem you are using.
[Xperia Z5 Compact Android Development] drrogern:
I actually cant access this information. Whenever I input the code on the dialpad it just goes white and nothing happens...
[Xperia Z5 Compact Android Development] drrogern:
Purecut, as I mentioned above, I am unable to check what modem config I have, but im pretty sure the german one you are using would work better than whatever I am using now. I believe german and norwegian configs are similar.

How can I change to yours?

Also: I suddenly have a new problem that I want to mention in this thread in case someone else has it. My phone is unable to establish secure connections, so my data NEVER works anymore unless im using a vpn. This suddenly started happening with no new apps or settings changed. I have checked my date and time settings which I saw mentioned.

- Roger
[Xperia Z5 Compact Android Development] Purecut:
Hi,

you have to open the dialpad and insert: *#*#7378423#*#*

Than select "Service info" -> "Software Info" -> at he end you will see your used modem. The used modem depends and what kind of SIM card you are using and the provider ID/Service ID.
[Xperia Z5 Compact Android Development] drrogern:
Thanks but I have tried that. My dial pad just goes blank.

But I'd like to try the modem config you tried regardless of what I have noe. How can I change it? Thanks
[Xperia Z5 Compact Android Development] lochstar:
The code doesn't work for me either, just blanks the entry.

I'm having some problems recieving/making calls where the other caller is unable to hear me. Works fine with a Bluetooth headset.
[Xperia Z5 Compact Android Development] iGamer777:
Hi! Installed this ROM a couple of days ago and really enjoyed it. Thanks for your hard work!

I've noticed a couple of issues I'd like to report:

If I activate Do Not Disturb mode for 1 hour (a default value), it will fail to turn itself off. If you open Settings, you'll see that it says that DND is active until the user turns it off manually, even though it was set to 1 hour. If you set it to a value that is different from 1 hour (e.g. 2 hours or 30 mins), it will work correctly. Furthermore, if you set it to some other value, and then back to 1 hour, and only then press OK, it will also work as it should.

I use voice and video messages in an app called Telegram, and with this ROM my voice is very quiet. Almost impossible for the other person to hear me.

Hope you find some time to fix 'em. Cheers!
[Xperia Z5 Compact Android Development] up2dateneurosis:
I reported this some weeks ago. I tried to fix it on my own by editing the mixerpath.xml file, but I was not succuessful :/ Video recording is loud enough, but in the recorder app and the voicemessages I send via messenger apps the voice is very low.
[Xperia Z5 Compact Android Development] Purecut:
Hi,

will be there an update for August or is the development still closed?
[Xperia Z5 Compact Android Development] rommo_911:
hello berny ! hope things are good, i have a very silly quistions and sorry for that ...

i want to clean-flash my phone in this couple days... the rom is dying .... i need to save my phone...

is there any chance you are going to pack new version in the next couple days ? otherwise ill just flash the latest version.

thanks a lot
[Xperia Z5 Compact Android Development] chall3ng3r:
My phone's model is Z5C 5803 (SA region), but after flashing this ROM, it now shows it as 5823 in about. I hope its not big deal?
[Xperia Z5 Compact Android Development] rommo_911:
i did all of this, Magisk always shows ' inavlid response ' when i test safetyNet ,

it did not pass

i did clean install ... flashed magisk and the module and run the sicript changed the fingerprint, still not passing ! what am i missing ?

update : i read some that google blocked the old API and magisk developer have no enough keys , which i totally dont understand .... but the thing is , am i still missing something or its general issues for the moment
[Xperia Z5 Compact Android Development] Purecut:
That's the reason. All the apps calling the SafetyNet status are using the old Goggle api, that was pulled down. The apps have to use the new api call to check the status, but currently no app is using the new api call. Therefore you get the "Invalid response".
[Xperia Z5 Compact Android Development] chall3ng3r:
This is new to to me how battery is now charging. Before I was on stock, there was only one curve to complete charging to full.

This is now my 2nd full charge on this ROM, and charging almost stops at around 90% and then resumes to form 2nd curve to 100%.

It this normal?

How does yours do? Please share screenshot if possible.

- Xperia Z5C : Tapatalk
[Xperia Z5 Compact Android Development] chall3ng3r:
After full charge,

- Xperia Z5C / LineageOS : Tapatalk
[Xperia Z5 Compact Android Development] Berni-0815:
I've been on vacation... :angel:

New version out! (see 1st post)
[Xperia Z5 Compact Android Development] Berni-0815:
Same here. I've no idea how to fix it!
[Xperia Z5 Compact Android Development] skysurfer1111:
I use Safetynet Helper and the result is successful, but I didn't try google pay yet.
[Xperia Z5 Compact Android Development] Berni-0815:
There is no service menu in LineageOS!
[Xperia Z5 Compact Android Development] up2dateneurosis:
Bernie you forgot to pre-root the new release ;)

Here the downloadlink to manually get root via flashing a zip-file with twrp: https://mirrorbits.lineageos.org/su/addonsu-14.1-arm64-signed.zip
[Xperia Z5 Compact Android Development] rommo_911:
I confirm that safetynet helper passes successful ... gPay app passes the error regarding the " your phone might be rooted "

Anyhow France is not really fond of gPay service, so I have error that my back does not support the paying methode ..... YET....
[Xperia Z5 Compact Android Development] Berni-0815:
No! I've removed pre-rooting for those who want to use magisk
[Xperia Z5 Compact Android Development] echo124:
Berni thank you for your work in keep device alive! Are there any fixes available for driver bluetooth audio quality? It seem when I play music with bluetooth in your builds, audio quality worse than on stock or other phone. Will also los 15.1 coming to device? :)
[Xperia Z5 Compact Android Development] skysurfer1111:
Since today, with the new magisk 17.0, everything looks alright.:)
[Xperia Z5 Compact Android Development] Purecut:
I can confirm this. Version 1.71 checks with the new api and SafetyNet passed successfully.

---------- Post added at 10:49 AM ---------- Previous post was at 10:48 AM ----------

Yes the bluetooth in Linegate OS is worse.
[Xperia Z5 Compact Android Development] oneofthekaramosowbrothers:
Hi Berni,

as I once already posted in the other LOS thread I now experience the same problem with your build. As soon as I want to call someone, or I receive a call the screen goes black und unresponsive until the call is ended.

I did a clean install of your build today.

---------- Post added at 05:54 PM ---------- Previous post was at 05:19 PM ----------

It's probably the proximity sensor as I just found out. Strangely I don't experience this on stock.
[Xperia Z5 Compact Android Development] drrogern:
For those that have data connection issues. Using a vpn solves this for me. Weird.
[Xperia Z5 Compact Android Development] Berni-0815:
Yep! :good:
[Xperia Z5 Compact Android Development] Berni-0815:
Is there someone else with this problem?
[Xperia Z5 Compact Android Development] Berni-0815:
Could you please explain this a litte bit more?
[Xperia Z5 Compact Android Development] oneofthekaramosowbrothers:
Sorry, found out that my proximity sensor is broken. I won't repair it and sell my phone.
[Xperia Z5 Compact Android Development] Berni-0815:
:angel:
[Xperia Z5 Compact Android Development] rommo_911:
Hi guys

I noticed Linux device signing in over here when I sign in on my device !

I freaked out !

And before that there was another Google pixel device signed in as well

I secure my account with 2-steps sign in

And I tried to locate the pixle xl phone that is signed in but failed .

Is it something has to do with open g apps package ? Or lineageOS ?

Or I am just so idiot that someone succeeded hacking my Google account !

I have secured and changed my password three times now ! Totally freaking out
[Xperia Z5 Compact Android Development] drrogern:
I think purecut has an idea on what the issue might be caused by, but im having almost zero data connectivity with lineageOS roms. Accidentaly i left my VPN on when disconnecting from wifi, and it proved to be a soloution. I have data connectivity only when using a VPN.

Purecut has mentioned something about the data issue further back in this thread.
[Xperia Z5 Compact Android Development] kony2012:
Would I be able to flash this over the regular Lineage 14.1 build? Thanks!
[Xperia Z5 Compact Android Development] Berni-0815:
I really don't know! Try it. If you see weird things, you should perform a clean install! ;)
[Xperia Z5 Compact Android Development] gothed:
hello, can you please mirror the download link into androidfilehost or gdrive?

thanks in advance :D
[Xperia Z5 Compact Android Development] Berni-0815:
Why should I? Is mega.nz not working for you?

I don't have an account at androidfilehost and I don't see any reason for it. And google drive? Never! :eek:
[Xperia Z5 Compact Android Development] gothed:
noted, thanks
[Xperia Z5 Compact Android Development] up2dateneurosis:
Danke man! :)
[Xperia Z5 Compact Android Development] gothed:
nice man, downloading

and thanks for maintaining this thread and rom ;)
[Xperia Z5 Compact Android Development] Liquidator:
Thank you for this ROM. I migrated to it this weekend (since I had time) and ran into a couple of problems but managed to fix them all as far as I can tell, then updated to this build last night :)

A lot faster than my old .54 install. The only thing I'll keep my eyes on would be the fact that over the night my SD card apparently dismounted. Might've been a one-time glitch though.

Either way though, thank you very much! :D
[Xperia Z5 Compact Android Development] eng3:
Yep, I can also confirm safety net passes.

Mobile payment still does not work. NFC works but not when trying to pay.
[Xperia Z5 Compact Android Development] Berni-0815:
I'm sorry, but that's not in my hands...
[Xperia Z5 Compact Android Development] tryptophan0:
Thanks a lot for your ROM, Bernhard! Is there a github repository for the sources of your rom?
[Xperia Z5 Compact Android Development] Berni-0815:
Not yet. I've implemented a couple of changes in some original repo's that are unwanted or abandoned by lineageos.org, so please use their repo's in the meantime.

If I have more time, I will upload my suzuran-repo (and only this one!!) to github... :angel:
[Xperia Z5 Compact Android Development] alfadyn:
Hallo Berni. Zuerst möchte ich danken für deinen guten Job auf diesem Rom. Ich hab aber eine Frage, darüber ich sehr lange nachgedacht hab': wird VoLTE in der Türkei mit Vodafone funktionieren? wenn es so ist, werde ich nicht official, sondern deinen Rom benutzen. Der wichtigste Grund ist VoLTE, was mir behindern.
[Xperia Z5 Compact Android Development] -DDD-:
you can ask him here in German ;)

https://www.android-hilfe.de/forum/...bernies-unofficial-lineageos-14-1.842722.html
[Xperia Z5 Compact Android Development] Berni-0815:
Das kann ich leider nicht beantworten... Versuche es einfach! ;)

In english: I don't know if volte will work in turkey. Try it...
[Xperia Z5 Compact Android Development] ssdnvv:
First [MENTION=7749536]Berni-0815[/MENTION]: Thank you for devoloping providing this ROM. Is there an option to buy you a beer via paypal or so?

edit: I'm curious how this collaborates with encryption: can you flash a newer build when /data is encrypted?
[Xperia Z5 Compact Android Development] jebo34:
is ANT+ working??
[Xperia Z5 Compact Android Development] trax7:
Our TWRP doesn't have encryption support.

No.
[Xperia Z5 Compact Android Development] ssdnvv:
Thanks for your answer. I thought that means only no backup of encrypted /data.

So flashing of a new version of [MENTION=7749536]Berni-0815[/MENTION]'s builds is not possible, when /data is encrypted?

Is it planned to bring support for encryption?
[Xperia Z5 Compact Android Development] trax7:
Flashing a new version of any build with encryption is not possible if you want to retain your /data partition.

Not a Lineage issue, a recovery issue. There is a possible solution but the guy hasn't released it and will most probably not do so soon.
[Xperia Z5 Compact Android Development] ssdnvv:
It seems my device stays constantly pretty warm, and battery life is only some hours. Is that a known issue?