yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Premium Android Development] Joel16:
You can easily install this with magisk.
[Xperia Z5 Premium Android Development] Berni-0815:
I don't add any apps to my rom's; sorry... :angel:
[Xperia Z5 Premium Android Development] crusader0071:
it does not work when installed with Magisk. the driver says unrecognised and when i change any settings in viper4android they have no effect.
[Xperia Z5 Premium Android Development] Joel16:
Use FX, it works for me.
[Xperia Z5 Premium Android Development] Berni-0815:
New version out; see 1st post!

If you see any errors, please grab log's! Without log's, I can't fix errors! :angel:
[Xperia Z5 Premium Android Development] John Paden:
downloading now....

:)
[Xperia Z5 Premium Android Development] Berni-0815:
If you want to pass SafetyNet successfully, I need the value of fingerprint from a stock rom!

Open terminal and hit the following command:

getprop ro.build.fingerprint
[Xperia Z5 Premium Android Development] Joel16:
No problems so far :) at least general use (no calls/SIM activity)
[Xperia Z5 Premium Android Development] John Paden:
Installing the 30.10 .code right now.

Reboots, WIFi, Cam works.

Preinstall of F-Droid is a nice thing.

Not sure what UnifiedNLP is required for.
[Xperia Z5 Premium Android Development] ouzqan:
And why add me ? :D:D

Idk ı dont use this rom now. I use stock rom now.
[Xperia Z5 Premium Android Development] Berni-0815:
It is a Network Location Provider for those people who don't use Google's stuff...
[Xperia Z5 Premium Android Development] Berni-0815:
Because there are people who don't want to use Google's stuff...

With an outdated Android security patch level... :confused: Why not? :fingers-crossed:
[Xperia Z5 Premium Android Development] John Paden:
Hi [MENTION=7749536]Berni-0815[/MENTION], I have a Sony Z5P with Dual SIM.

Good news: Dual Sim works, you can phone on both SIMs Switching the SIMs etc.

Bad news: Adding a SD-Card does not work. Does this work with your original Z5?
[Xperia Z5 Premium Android Development] Berni-0815:
:good:

I neither have a Z5P nor a Z5! I'm developing "blind" for the Z5P... :angel: I only have a Z5C and that does not have dual SIM. And, yes, SD-Card is working fine!

Could you please fetch log's where the error occurs?

Just guessing:

Maybe this (eventually known error) is the reason why a Z5P is not officially supported by LineageOS? :confused:
[Xperia Z5 Premium Android Development] Berni-0815:
New version out! See 1st post
[Xperia Z5 Premium Android Development] Mike3009:
Thanks. Great work. I tested this on the z5 premium e6853 and haven't experienced any issues. Nice and fast too.

---------- Post added at 02:35 PM ---------- Previous post was at 02:23 PM ----------

Is there any way to get stuff like xreality back or is that gone for good with unofficial builds?
[Xperia Z5 Premium Android Development] Berni-0815:
It seems so...
[Xperia Z5 Premium Android Development] Joel16:
Working fine here. Any news on getting official support?
[Xperia Z5 Premium Android Development] Mike3009:
What is working fine? X-reality? If so, please share how.
[Xperia Z5 Premium Android Development] alisadeghian:
Is there any hope to com costum android 8 to our device??
[Xperia Z5 Premium Android Development] Joel16:
The rom is working fine.

This has absolutely nothing to do with X reality you usually lose your DRM stuff after unlocking bootloader.
[Xperia Z5 Premium Android Development] Mike3009:
Build description says

but I still haven't seen any update for December. Anyone know how to apply the December security patch?
[Xperia Z5 Premium Android Development] Berni-0815:
as soon as the android security patch level is updated

The answer is posted above. I haven't seen an update until now...

Where is that patch? :confused:
[Xperia Z5 Premium Android Development] Mike3009:
https://source.android.com/security/bulletin/2018-12-01

Is it not this?
[Xperia Z5 Premium Android Development] Berni-0815:
That's it; right. But these things have to be included in lineageos.org's build system! And that's what I wanted to say: Until this is not done, it is useless to build a new version.

As soon as it is included and I have enough time, a new version will be built!
[Xperia Z5 Premium Android Development] Berni-0815:
New version out; see 1st post.
[Xperia Z5 Premium Android Development] Mike3009:
Nice work. I'm using the November build. Is there any way to update or do we need to flash over it?
[Xperia Z5 Premium Android Development] Berni-0815:
I'm always flashing over the existing system.
[Xperia Z5 Premium Android Development] alisadeghian:
Is sd card fixed in last version?
[Xperia Z5 Premium Android Development] Mike3009:
Thanks. I'm kind of new to custom roms so I wasn't sure. All of my existing data and apps remained after flashing. So far works great and no issues to report on the z5 premium e6853. Very fast.

Out of curiousity; what are you guys using for a camera? I'm using a modified version of hdr+ google camera with the camera2api mod applied in magisk. 4k video recording is working on that but only 8mp is available for photos and picture quality isn't that great. On par with my xa1 plus which has a poor camera. If anyone has a suggestion for a good functional camera on the z5 premium, I'd really appreciate it.

Overall great work so far. I like having the latest security and it's rediculously fast compared to stock.

---------- Post added at 05:02 AM ---------- Previous post was at 05:01 AM ----------

SD card has been working fine for me.
[Xperia Z5 Premium Android Development] Berni-0815:
I don't have a Z5P, so I can't test it.

If something is not working, please fetch log's; so I can see what's happening and eventually fix it!! Without log's I can't help you!! ;)
[Xperia Z5 Premium Android Development] jairud_garcia:
Z5 premium dual (E6883)

Hi.

I have a Z5 premium dual (E6883).

There is posibility that this LineageOS works on my device?
[Xperia Z5 Premium Android Development] Berni-0815:
I really don't know! You have to try it... ;)
[Xperia Z5 Premium Android Development] xiaoren748:
about latest android version

Is there any chance that Z5p could be suppported by the latest android version(such as Pie)?
[Xperia Z5 Premium Android Development] Joel16:
We haven't even gotten oreo yet, so chances of that happening is low ATM.
[Xperia Z5 Premium Android Development] Berni-0815:
Always the same question, always the same answer... ;)
[Xperia Z5 Premium Android Development] Mike3009:
Lot's of critical security fixes this month.
[Xperia Z5 Premium Android Development] Berni-0815:
As you can read in my 1st post

Switched to monthly updates (as soon as the android security patch level is updated)!

I will update this rom asap... Actually the patch level is december 5th...

So, please, be patient! :angel:
[Xperia Z5 Premium Android Development] Berni-0815:
New version out; see 1st post.

Unfortunately the "Android security patch level" is still of 5th december 2018... :(
[Xperia Z5 Premium Android Development] Mike3009:
That's too bad. Well thank you for your hard work and dedication anyways. You've done a great job so far.

On a sidenote; I am still thinking about moving back to stock and maybe just using my phone as a camera. Every camera I've tried on here is terrible compared to stock. It's a shame Sony had to DRM lock everything to it's stock firmware forcing us to buy a new phone every 2 years. Shouldn't have to be torn between keeping the features I paid for and staying secure.

Also, do you know what was changed in this new build?
[Xperia Z5 Premium Android Development] Berni-0815:
Sure! I've implemented these changes! ;)

I've added bluetooth codecs for aptx
[Xperia Z5 Premium Android Development] Berni-0815:
New version out; see 1st post. Android patch level now 5 January 2019
[Xperia Z5 Premium Android Development] Doomak:
Camera

Hi there, How can I get a stock camera application, someone can make a zip for this? thank_)

---------- Post added at 10:27 PM ---------- Previous post was at 10:10 PM ----------

i need the "timeshift video" addon
[Xperia Z5 Premium Android Development] Berni-0815:
Here you can download a zip-file that contains the camera apk and a directory with two odex files in their own directories.

They are taken from an installed stock rom. The original place is /system/priv-app/CameraCommon (case sensitive!)

The content of the zip file has to be placed in this directory as it is. The result has to be:

/system/priv-app/CameraCommon/CameraCommon.apk

/system/priv-app/CameraCommon/oat/arm/CameraCommon.odex

/system/priv-app/CameraCommon/oat/arm64/CameraCommon.odex

I don't know if this will work; haven't tested it... :angel:
[Xperia Z5 Premium Android Development] Doomak:
I don't know if this will work; haven't tested it... :angel:[/QUOTE]

i rty to find all camera files, from stock rom. pack to zip.

now i need to unzip all files with rights 644, how we do this with using total cmd or root explorer or eny app??

help plz)))
[Xperia Z5 Premium Android Development] Doomak:
or maby i can add files in image zip(lineage-14.1-20190209) and instal rom?? or then be need to crate script for this?
[Xperia Z5 Premium Android Development] Doomak:
i try diferent metods for instal or backup stock camera app... lucky patcher, titanum backup, zip(twrp), copy paste with TC(cameracomon, camera.apk and other where is name camera or his addon)... camera app not worked, just stuck in black skreen, i tsink need some lib but i dont know where is it and how instaled or beckup them.

ok, if i not have try to use stock camera app in linageOS, how i make to work snap camera correktly? video mode do not have fps setting, stabilizer and other, just resolution. i se in you-tube where is snap kamera have its all settings. i wont stabilizer and 60 fps in 720p))) but dont understand why isnt dont work

sry for my english) and TY for answer)
[Xperia Z5 Premium Android Development] Berni-0815:
Same here.

I'm sorry, but I can't answer your questions, because I really don't know how to solve these problems.
[Xperia Z5 Premium Android Development] Doomak:
And you snap camera have stabalizer and fps option?
[Xperia Z5 Premium Android Development] Berni-0815:
No.

But if you tell me en detail which files you took and if you send me a logfile, I will have a look at it..

Logging:

restart the phone

connect usb cable

start these commands

adb root
adb shell logcat > logcat.txt

start the camera app

After that you should stop the logging by pressing ctrl-c
[Xperia Z5 Premium Android Development] Doomak:
Unfortunately, the ruler has problems with the rapid discharge of the battery.

listening to music for 4 hours in the statistics of the battery, the player section, shows only 6% of use, and the battery is discharged to 30%

Now i installed the Mrom, listened to music all day and returned home with 60% of the battery.

The problem with the camera is not relevant (

I will try to test another firmware

TY!)
[Xperia Z5 Premium Android Development] Berni-0815:
The greatest battery killer is searching for networks of any kind.

You can only compate this when you're in exact the same places and the same time to spend there. I want to say, you can't compare it really 1:1... :angel:
[Xperia Z5 Premium Android Development] Doomak:
I tested 3 times, at the same time, in the same mode, without wifi, used the built-in music player.

I had a LinOS before that, the battery just as quickly sat down, but I knew about it until I tried the mrom, then I installed the 2019 lineage, then the mrom again. I mean that I tried different options, without wifi and others. sorry but on my phone the battery sits very quickly. Today, I again worked in the same mode and listened to music on the firmware mrom, from 8 to 12 o'clock the battery rate was 82%, and the lineage would have been less than 50 ... these are my investigations, maybe you are different...
[Xperia Z5 Premium Android Development] Berni-0815:
My problem is, I don't have a Z5P, I only have a Z5C. It seems that they are different, because on my device I can't see such issues...
[Xperia Z5 Premium Android Development] Zaiim:
Doesn't detect SD card on E6883, otherwise great room.
[Xperia Z5 Premium Android Development] Berni-0815:
Yeah, this is possible due to the fact that this device is a dual sim device and uses the sd card slot for second sim card.

This might be the reason why this device has never been officially supported by LineageOS.

I'm sorry, but I can't fix this issue...

Thanks! :angel:
[Xperia Z5 Premium Android Development] Berni-0815:
New version out; see 1st post!
[Xperia Z5 Premium Android Development] P@S@f:
Nah, it uses separate microSD slot for SD card.

And if you check this post https://xdaforums.com/showpost.php?p=71818696&postcount=3 you will find that this issue was resolved by kv123
[Xperia Z5 Premium Android Development] Berni-0815:
Sure? My information is as I said. It uses a hybrid slot for second sim card OR sd-card.

Maybe there are different models out; but I can't believe it...

Quote from sony's doc-site Page 9:

Assembly – Dual SIM

Your device only supports nano SIM cards. Dual SIM devices support the use of either two nano SIM cards or a nano SIM card and a memory card. Dual SIM devices are not available in all markets or from all operators
[Xperia Z5 Premium Android Development] Berni-0815:
I'll have a look at it asap. Please be patient... :angel:
[Xperia Z5 Premium Android Development] P@S@f:
Well, I holding it in my hands right now, so yes, I'm pretty sure.

[IMG="Sony Xperia Z5 Premium Dual SIM/SD card slot"]https://i.imgur.com/pNrSkRg.png[/IMG]

BTW you viewing wrong docs. Its Xperia Z5 Premium Dual, not Xperia XZ.

https://support.sonymobile.com/global-en/xperiaz5premiumdual/supportDocumentation/

https://www-support-downloads.sonymobile.com/e6833/userguide_AE_E6833-E6883_8_Android7.0.pdf
[Xperia Z5 Premium Android Development] Berni-0815:
You're right; my fault. Sorry... :angel:
[Xperia Z5 Premium Android Development] P@S@f:
Here is mokee build for this device https://download.mokeedev.com/?device=satsuki and SD card working there (both as extended and portable storage), has others issues, tho.
[Xperia Z5 Premium Android Development] kv123:
You can :) I've attached file with fixed dst.
[Xperia Z5 Premium Android Development] Berni-0815:
Thank you very much! :good: I'll have a look into it asap. Actually I'm very busy... :angel:
[Xperia Z5 Premium Android Development] P@S@f:
Are that actual sources you are compiling from? Maybe I'll try to build it
[Xperia Z5 Premium Android Development] Berni-0815:
Yes!
[Xperia Z5 Premium Android Development] Berni-0815:
New version out; see 1st post.

If there are any problems, please grab a log!!!
[Xperia Z5 Premium Android Development] alisadeghian:
How to get logs?
[Xperia Z5 Premium Android Development] Berni-0815:
Enter "logcat" into the "Search Thread" field
[Xperia Z5 Premium Android Development] alisadeghian:
Substratum not working!!

Why?
[Xperia Z5 Premium Android Development] Berni-0815:
Because it's not included! ;)

In earlier times there has been a way to include Substratum simply by adding their github repository to my tree. But the dev's have stopped this support in august 2017, so I have to spend a lot of time to include it manually.

And that's not part of my philosophy to keep this rom as clean as possible.
[Xperia Z5 Premium Android Development] alisadeghian:
Ok

Thanks
[Xperia Z5 Premium Android Development] nstream:
hi, any idea if FM radio is working on this rom?
[Xperia Z5 Premium Android Development] Berni-0815:
Since it is the same source-base as for a z5c, it should work.
[Xperia Z5 Premium Android Development] nstream:
hi, just wanted to check, whats the ram useage on a clean boot?

Does this display at 4k or scaled 1080?

do notification/ringing/loud speaker phone use both speakers?
[Xperia Z5 Premium Android Development] Berni-0815:
New version out; see 1st post
[Xperia Z5 Premium Android Development] alisadeghian:
when i want to play a movie or music and sound is low , starting by huge sound ( max sound level ) for a while !!!

mokee is ok

how to fix that ??

please help me
[Xperia Z5 Premium Android Development] John Paden:
Downloaded it. It installs. Will test it. [MENTION=7749536]Berni-0815[/MENTION], please do not stop adding the fixlevels and keep up the good work here. Its hands down the best support this device still has.

Have you thought about taking the Z5 - and the Z5P - to V15 or V16 ?
[Xperia Z5 Premium Android Development] Berni-0815:
Sure (for Z5 compact): 15.1 and 16.0 :angel:

As long as these problems are not solved, I will not try to port it to other devices; sorry. :(
[Xperia Z5 Premium Android Development] John Paden:
So far, only one minor finding: Auto rotation the screen by 90, 180, 270 degrees does not have any effect (yes the icon is showing the right symbol, and Settings / Display / turn screen is active).

Turning the Lockscreen works, though. Anyone else the same experience?
[Xperia Z5 Premium Android Development] MoshVP:
How to connect a USB flash drive, keyboard, mouse to Z5P on Lineage 14.1 (android 7.1.2), on the original (7.1.1) it is clear through the "device connection", and on Lineage 14.1 how?

Thank you all for participating, the problem is solved.

*
[Xperia Z5 Premium Android Development] ouzqan:
Thanks man . Change log?
[Xperia Z5 Premium Android Development] Berni-0815:
See 1st post... :angel:
[Xperia Z5 Premium Android Development] CarlosHdzLa:
the sound of the microphone when I send a voice note for whatsapp or make a call is very low they almost do not listen to me, how can I fix it

I'm sorry my English is not good
[Xperia Z5 Premium Android Development] alisadeghian:
Did you fix this??
[Xperia Z5 Premium Android Development] anno2070:
Is dual sims with SD card in Z5P Dual fixed in the newest build? Thank you.

UPDATE: Tested. It is fixed. The ROM is extremely smooth. Thank you very much!
[Xperia Z5 Premium Android Development] CarlosHdzLa:
I do not have that problem
[Xperia Z5 Premium Android Development] Berni-0815:
New version out! See 1st post...
[Xperia Z5 Premium Android Development] mr. pineapple:
Hi when I try and flash this from it fails, I updater process ended with error 7.

Could you please point me in the right direction to get this installed on my Z5P.

Thanks Mr. Pineapple
[Xperia Z5 Premium Android Development] Berni-0815:
An error 7 is mostly caused by the use of the wrong TWRP! Please take a look at my 1st post what TWRP to use...
[Xperia Z5 Premium Android Development] mr. pineapple:
Thanks :) I tried to side load it as I'm running version 3.0.0 or something but when I tried to boot the phone to fastboot. My laptop just wasn't picking up the device when I tried to flash the image.
[Xperia Z5 Premium Android Development] Joel16:
The TWRP recovery linked in your post won't work for Z5 Premium.
[Xperia Z5 Premium Android Development] Berni-0815:
The used link once pointed to a working version but this must habe been changed! Since I don't have a z5p, I can't test it...

Anyway; used another link; please try that version.
[Xperia Z5 Premium Android Development] Joel16:
The updated one works fine. Can confirm cause I have tested it before on my device and still currently use it. Should have made that clear in my post, but thanks for fixing!
[Xperia Z5 Premium Android Development] ouzqan:
hi man i use e6853 and i porting last twrp look my project. I installing this rom with my twrp project works.
[Xperia Z5 Premium Android Development] MoshVP:
On Your build Always 4K Screen Resolution not working, and to build Resurrection Remix 5.8.X for Xperia Z5P E68XX (Unofficial) working and very good.
[Xperia Z5 Premium Android Development] wicozani:
Just wanted to thank you for maintaining this ROM! Moved over to it on 7/1 from rooted stock 7.1.1. My Z5P had been slowing down, running hot, and with decreasing battery time. However, this build has really perked my phone up, and it is fast, cool, and with excellent battery life. Plus updated security patches. A dirty flash was unsuccessful (stuck on Android); had to perform a full internal wipe to get it to boot. I hope this update goes well dirty.
[Xperia Z5 Premium Android Development] ouzqan:
thanks man for this works.
[Xperia Z5 Premium Android Development] Patrick Morgan:
Hiya a few questions on this build of LOS.

Does it allow safetynet to pass?

I use Banking apps and play games that require play protect to be working. I had tried a few custom roms on my phone before, but eventually went back to stock with a locked bootloader because i needed my banking apps and some games that flagged for rooted devices to work and didn't have time to test all the different configurations.

If anyone can give some insight on if this rom allows apps that check root and other security check to pass. ?

My current stock rom has stopped working correctly, I believe its due to its warranty being long passed, but image and sound enhancements have become disabled. i can change the options in the display and sound options but they do nothing to the effect of the device. .. also the screen brightness has dramatically changed, so I feel its either time ofr a new device, or a new rom. I'd like to try a new rom. but my only need is for secure apps like banking apps and such to continue to work.
[Xperia Z5 Premium Android Development] Berni-0815:
This rom does not pass safetynet per se! You have to uninstall root and install magisk instead. Magisk is able to hide root status. Maybe your apps are working; but there is no guaranty for that!
[Xperia Z5 Premium Android Development] wicozani:
I don't know about the SafetyNet per se, but here in the US all my ebanking, credit account, and brokerage accounts work perfectly. I use SuperUser and don't have Magisk installed.
[Xperia Z5 Premium Android Development] Patrick Morgan:
Thank you both foe your input.

I've installed your latest build, without root. My apps are working. So far im very happy with this build. Old stock caused my fingerprint reader to stop, my headset port and the image enhancement stopped working after a number of years using default stock os.

With your build the hardware all works again. So a huge thank you for making my phone seem like new again.

Shame about the image enhancement, but its something i can live with without.

One thing i've been trying to do though now is find a nice launcher that has folders in the app drawer, but without adds and useage tracking. Literally all the apps on the play store have either or both. If anyone here has any reccomendations please PM them to me to avoid filling this tread with unessassary posts.

Then another request, what camera apps do most of you use? I would like to improve the image quality of night time shot. I cant seem to remove the noise from them on los. Even on 8mp. Im curious to know what everyone else is using.
[Xperia Z5 Premium Android Development] John Paden:
Thanks Bernie, keep up the work!!!
[Xperia Z5 Premium Android Development] alijahanbani1:
Can you post some screenshot of this rom?
[Xperia Z5 Premium Android Development] alijahanbani1:
screenshoots

Can you post some screenshot of this rom?
[Xperia Z5 Premium Android Development] Berni-0815:
If you're asking me; I can't post any screenshot because I don't own such a device! I'm building "blind" without any chance to test my build; as you can read in my 1st post...

Howsoever:

What kind of screenshots do you want to see? This rom looks like any other pure android 7 rom; without these bulkware samsung and co. are shipping with their rom's...

;)
[Xperia Z5 Premium Android Development] Berni-0815:
Please take a look at this post.

...and this post too.

Since I'm using the same basic repo's for suzuran and satsuki, the rom for satsuki is affected too by my mentioned changes.

So, my decision I have to make for the future builds for suzuran will have direct effect for satsuki too!

What do you think of these changes?