yashsingh1/xdaforums huggingface dataset:
[Xperia Z4/Z3+ Original Android Development] waseemakhtar:
Found this in xperia z5 forum.

"Code:

echo 1 > /sys/module/qpnp_smbcharger_extension/parameters/force_id_polling_on

echo 1 > /sys/module/qpnp_smbcharger_extension/parameters/id_polling_state

Make sure to run the commands above as root and USB OTG should work until the next reboot. "

for using otg on this rom. Got message 'permission denied' in 2nd command.

Support from experts is requested.
[Xperia Z4/Z3+ Original Android Development] Seba500PLK:
i,m actually on LinegueOS 14.1, how boot into custom recovery?

resolved again xD
[Xperia Z4/Z3+ Original Android Development] Sperotto:
This rom will support API Vulkan?

Developers have already looked at this topic https://xdaforums.com/crossdevice-dev/sony/mod-adreno-vulkan-drivers-snapdragon-t3555141 ?

And will activate 8 or 6 nucloes of the processor?
[Xperia Z4/Z3+ Original Android Development] waseemakhtar:
You should flash rom built 5.11 before flashing Lineage.
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Update stoped till 20 march, hope its not the end sir
[Xperia Z4/Z3+ Original Android Development] Seba500PLK:
how increase call volume?

EDIT: ok, i find this in here:

/system/etc/mixer_paths.xml

<path name="handset">

<ctl name="SLIM RX1 MUX" value="AIF1_PB" />

<ctl name="SLIM_0_RX Channels" value="One" />

<ctl name="RX1 MIX1 INP1" value="RX1" />

<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />

<ctl name="DAC1 Switch" value="1" />

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

<ctl name="PM8994_Ear_Enable_States" value="Enable" />

</path>
[Xperia Z4/Z3+ Original Android Development] prosnz:
First, a big thanks! It's working well. In my case, it's stable. I never had any reboots or something like that.

I just have one problem: If i want to play whatsapp audio messages, it's not playing out of the speakers, it's playing to the "ear-speaker". I can move it to my ear and the screen goes black ( as usually).

Does anyone have the same issue?
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Looks mine battery usages
[Xperia Z4/Z3+ Original Android Development] AhmedHussam:
whats your thime
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
I used monoart for setting, swiftblack others app
[Xperia Z4/Z3+ Original Android Development] Sunn76:
Any news regarding Updates?
[Xperia Z4/Z3+ Original Android Development] waseemakhtar:
Thanks.

Zip file added for flashing. It will boost volume of speakers and headset.
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
So this zip works??
[Xperia Z4/Z3+ Original Android Development] prosnz:
i will give it a try in about 10 mins. i will report later.

EDIT:

Just how it sounds, it only boosts one speaker (the top one), since it has 2, its not a complete workaround.
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Its for nexus 5 anyway i flash it, yess 2nd down speaker still low
[Xperia Z4/Z3+ Original Android Development] prosnz:
Try to change the value of RX8 aswell, like I did.

Like this:

<path name="speaker">

<ctl name="AIF4_VI Mixer SPKR_VI_1" value="1" />

<ctl name="AIF4_VI Mixer SPKR_VI_2" value="1" />

<ctl name="SLIM RX1 MUX" value="AIF1_PB" />

<ctl name="SLIM RX2 MUX" value="AIF1_PB" />

<ctl name="SLIM_0_RX Channels" value="Two" />

<ctl name="RX7 MIX1 INP1" value="RX1" />

<ctl name="RX8 MIX1 INP1" value="RX2" />

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

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

<ctl name="COMP0 Switch" value="1" />

<ctl name="VI_FEED_TX Channels" value="Two" />

<ctl name="SLIM0_RX_VI_FB_LCH_MUX" value="SLIM4_TX" />

<ctl name="SLIM0_RX_VI_FB_RCH_MUX" value="SLIM4_TX" />

</path>

I did a v2 of the zip to flash it.

I could post it but I don't know if I am allowed to.
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
It shouls be okay ...come gimme that zip sir.
[Xperia Z4/Z3+ Original Android Development] prosnz:
Here you go :)
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Yaaay his back..another updates, thank you so much [MENTION=4088884]oliev[/MENTION]er
[Xperia Z4/Z3+ Original Android Development] nosiobadx:
Changelog? Android 7 has huge idle battery drain any chance it's fixed in this rom?
[Xperia Z4/Z3+ Original Android Development] Olivier:
Those asking for changelogs: You can either check Gerrit or the LineageOS blog, there are weekly summaries of the most significant changes.

And for the others worried about "the end of support" - the thread title clearly says semi-nightly. This means I may or may not build daily. We haven't enabled the official weeklies yet because there are still some minor issues to be sorted and discussed (like USB OTG).
[Xperia Z4/Z3+ Original Android Development] DiscMan55:
Does enabling encryption on fresh wiped phone with this ROM work ? Does it use the new file-based encryption or still Android M full-disk encryption ?

On official Sony stock Nougat there is no option to convert to file-based encryption when I upgraded from marshmallow and it is still using the old full-disk-encryption (TrustZone implementation doesn't support it on this phone ?).
[Xperia Z4/Z3+ Original Android Development] Ha~Ha~well:
After flashed "lineage-14.1-20170326-UNOFFICIAL-ivy.zip"

I flash the TWRP 3.0.3 and I can't boot into the system.

It keeps booting into TWRP (but without TWRP is normal), anyone got the same situation?

I need some advises, thank you guys.

------------------------

I flash all the things I need and reboot, lost TWRP but got root and everything else.

It's a temporary fix, if someone knows the solution plz let me know.

thx :)
[Xperia Z4/Z3+ Original Android Development] :
Thread cleaned.

Keep the off topic out of this thread please.
[Xperia Z4/Z3+ Original Android Development] rammaggot:
Hi, does anyone know how is battery life in this rom compare to official Nougat? It's frustrating seen that Phone Iddle consumes so much battery.

Enviado desde mi E6553 mediante Tapatalk
[Xperia Z4/Z3+ Original Android Development] prosnz:
Looks a bit better now.
[Xperia Z4/Z3+ Original Android Development] DomusX10:
There is a way to obtain a complete dark UI with this ROM?

I mean phonebook, calendar..settings..all systemUI, darken...someone know this?:confused:
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Mono-Art (google dialler), swiftblack (google contact) i used stock gapps
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Setting app (monoart), Qstiles (subset reborn), navbar style (compactUI)
[Xperia Z4/Z3+ Original Android Development] Olivier:
Yes - my builds fully support Substratum.
[Xperia Z4/Z3+ Original Android Development] ztxgeol:
Why not make it a Lineage offical?
[Xperia Z4/Z3+ Original Android Development] rammaggot:
Thanks!

Enviado desde mi E6553 mediante Tapatalk
[Xperia Z4/Z3+ Original Android Development] DomusX10:
Good news! Thanks!
[Xperia Z4/Z3+ Original Android Development] sfjuocekr:
Found a minor, cosmetic, issue. I haven't gotten around looking in at a logcat to figure out what was going on, but if you try to add a picture to your user profile and press save it just keeps the blank image.
[Xperia Z4/Z3+ Original Android Development] AhmedHussam:
how can i fix battery drain please
[Xperia Z4/Z3+ Original Android Development] prosnz:
I reduced the MHz of CPU and GPU.
[Xperia Z4/Z3+ Original Android Development] AhmedHussam:
by kernel adiutor ?!! or what
[Xperia Z4/Z3+ Original Android Development] prosnz:
Yes. Sry forgot to tell.
[Xperia Z4/Z3+ Original Android Development] AhmedHussam:
this can fix battery drain . if this can .. please tell me all settings
[Xperia Z4/Z3+ Original Android Development] AtlasRedux:
Could not connect to carrier/no SIM on 20170331. Pin-code strangely enough popped up and worked correctly, so SIM-card clearly was detected at first.

Reverted to 20170325 for now, no issues there.
[Xperia Z4/Z3+ Original Android Development] prosnz:
Got the same problem. Back to 20170329 - everything's ok
[Xperia Z4/Z3+ Original Android Development] AtlasRedux:
Yeah, I tried 20170330, that's also borked, so started with that one.
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
30 totally broken RIL, 31 release need Clean install, wipe whole things
[Xperia Z4/Z3+ Original Android Development] AtlasRedux:
Was bored, so thought I'd try a complete clean format (had way to much mess on the phone anyway.)

Even with 100% clean format and installing 0331 via adb, sim card still does not initalize after inserting pin code. Reverting back to 0329, everything is fine.
[Xperia Z4/Z3+ Original Android Development] AtlasRedux:
Heads up, if you're a Magisk user, do NOT update to Magisk 12.0 from 11.6. While 11.6 also claims CTS mismatch, I haven't found a single app that actually fails SafetyNet with 11.6. 12.0 however trips all my pay-apps and, GASP, Pokemon GO and Super Mario Run ;)
[Xperia Z5 Original Android Development] Myself5:
LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1.1 (Nougat), which is designed to increase performance and reliability over stock Android for your device.

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

NOTE

Should you ever face any issues, provide logs (use Google to find out how to gather those). I also need to know what build you're on - hence, you should mention the build number (or at least a date).

Hint: "It doesn't work" is not a bug report and posts like this will be ignored (and eventually removed). To keep the thread clean, try to use DevDB for real bug reports

KNOWN ISSUEs

None

INFO

This ROM does not use the device trees/kernel from sonyxperiadev. The device tree was made from scratch, and the stock kernel (based off 32.2.A.5.11) has been used.

DOWNLOAD

Official builds: Official Lineage 14.1

Unofficial builds based on the official LOS wiki

without adding anything more.

SOURCE

LineageOS

Device: LineageOS/android_device_sony_sumire

Kernel: LineageOS/android_kernel_sony_msm8994

XDA:DevDB Information

LineageOS, ROM for the Sony Xperia Z5

Contributors

Myself5, Eric_Lev, olivier, Quarx,cdesai,kali-,banmeifyouwant

Source Code: https://github.com/LineageOS

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.10.x

Based On: LineageOS

Version Information

Status: Testing

Created 2017-01-12

Last Updated 2020-02-29
[Xperia Z5 Original Android Development] Myself5:
Reserved
[Xperia Z5 Original Android Development] balrajs99:
[MENTION=3816568]Myself5[/MENTION] Its awesome to see lineage OS for Z5.

I'll flash it straight away.

Just wanted to thank you and to know it'll work on E6683 (DSDS) variant?

And finally congrats on 'Camera' success ?

Edit : Just tested on E6683 DSDS, Rom is super smooth, camera was perfect.

The only was problem was it didn't support dual sim and sd card.

Not complaining, just giving feedback. Anyways, great work as always.
[Xperia Z5 Original Android Development] zhangyang_haha:
Thanks a lot! Can I use the device tree to build Mokee Open Source?

---------- Post added at 06:03 PM ---------- Previous post was at 06:01 PM ----------

I will try to help to fix fingerprint as well

---------- Post added at 06:04 PM ---------- Previous post was at 06:03 PM ----------

One more question. did you use the vondor file from the sony official AOSP project?
[Xperia Z5 Original Android Development] Myself5:
1) Sure, not going to stop you.

2) FPC is almost fixed, I just need to do some more tests.

3) vendor blobs can be pulled using the extract-files.sh script.

DSDS requires a different kernel, try this boot.img:

https://dl.myself5.de/sumire/LineageOS/boot_dsds.img
[Xperia Z5 Original Android Development] klemen241:
Omg this is great, love you man, finaly something new for our phone
[Xperia Z5 Original Android Development] ReversedPosix:
i love you. thats amazing. thank you :D
[Xperia Z5 Original Android Development] xaaaj:
[MENTION=3816568]Myself5[/MENTION] how to get a working recovery can't seem to flash a recovery cause of the kernel. Do you have any suggestion how to get a custom kernel working for recovery as well.

Also thanks for this another amazing ROM. All works great the camera, the UI all smooth, except for the mic sensitivity it's a little bit buggy i guess for me. :D
[Xperia Z5 Original Android Development] klemen241:
Can i flash boot.img with flashify?
[Xperia Z5 Original Android Development] L33Tgod:
flash it using twrp
[Xperia Z5 Original Android Development] zhangyang_haha:
Thanks a lot!
[Xperia Z5 Original Android Development] rajdeep312:
Is everything works on this rom with 23mp camera support
[Xperia Z5 Original Android Development] beitaboy:
nice job！looking forward to flashing it with my E6683
[Xperia Z5 Original Android Development] Zaisesl:
I just flash ot, the camera is perfect!! Thank you!
[Xperia Z5 Original Android Development] s.hossein:
In my E6633 with dsds boot just detect sim 1 and my SD card not found. Others, like camera work perfectly.
[Xperia Z5 Original Android Development] Myself5:
And you are sure you flashed the dsds boot.img after flashing the ROM?

The Problems you described are exactly what is happening when you are running the row boot.img on a dsds device.
[Xperia Z5 Original Android Development] sceryavuz:
You are our hero :laugh: keep it up bro :highfive:
[Xperia Z5 Original Android Development] HaoZeke:
So this boots with the sony stock kernel? Or it uses other device trees?
[Xperia Z5 Original Android Development] HaoZeke:
A quick look (very cursory) suggests the device trees aren't really significantly different.... So basically this has something to do with both sony stock and lineage being caf based or..? o.O (sorry just trying to understand what happened :D )

Basically the stock kernel doesn't boot with any other AOSP based rom.. So, there's more to this than just the device trees and the kernel right?
[Xperia Z5 Original Android Development] Myself5:
These are using the stock kernel in combinition with the stock vendor blobs (thats the key thing for the camera) and CAF HALs. It's going to work with every CAF compatible ROM out there (Carbon CAF bringup is in the works for example).
[Xperia Z5 Original Android Development] klemen241:
i said depens on your bootloader version, i dont know it. The cm 13 recovery doesnt work for everyone either
[Xperia Z5 Original Android Development] Berdi86:
I cant get 2g. , Called edge. Is in normally? Has someone an idea? I have flashed the full rom with twrp, full wiped . E6653 named sumire.
[Xperia Z5 Original Android Development] diemadedrei:
I've had it a few times that the signal was not shown correctly. There was nothing written to indicate the kind of signal but still Internet was functioning and in the quick setting it showed H+ in my case.
[Xperia Z5 Original Android Development] enjelpuspa:
[/COLOR]

Then that's means I have to delete all the first line of the script? :)
[Xperia Z5 Original Android Development] klemen241:
MY battery was magicly gone from 50% to 0% in 2 hours while i was sleeping. Unacceptable. It says phone idle. I have nothing special installed and greenfy is putting everything to sleep, so it wasnt apps
[Xperia Z5 Original Android Development] goRt:
The statement - unless you have a very wide display it is on several lines!
[Xperia Z5 Original Android Development] xiheartjtag:
https://drive.google.com/file/d/0B3zBWvBaESTENE8zMTZxRkNtX0U/view?usp=sharing

Here's a link to a modified updater-script. Replace the one in your zip with this one and then flash.

---------- Post added at 06:03 AM ---------- Previous post was at 05:50 AM ----------

Turn off Scanning under location settings. Bluetooth and wifi scanning seems to be draining a lot of battery. After disabling both, as another poster recommended, my battery life has definitely improved. Not as good as carbon rom, but the better camera is worth it.

For people curious about current bugs I will add them to this post as I discover them/notified of them.

*Bugs/Issues*

No fingerprint sensor support (Not really a bug, mentioned in OP)

Microphone when on speakerphone does not work (general call quality issues?)

Dedicated Camera button sometimes doesn't take a picture, weird issues

Phone idle battery drain (Disable both bluetooth and wifi scanning under location settings. Seems to help)

Minimum brightness level too high (Turn off auto brightness)

Speaker quality distorts at higher volumes

No networks found when using search for networks

Some users reporting false signal status being shown in statusbar

Bluetooth call sound quality issues, distortion

LED light not functioning for notifications

Anything else?
[Xperia Z5 Original Android Development] klemen241:
have that disabled since start. I think for now i will go back to slimx, but this rom shows great promise. IDk what is with wifi thou, sometimes shows its connected and internet doesnt work
[Xperia Z5 Original Android Development] goRt:
Bluetooth - total distortion of the incoming call (not sure about the person at the other end)

Bluetooth - I can only add a single device, then unable to find any new device.

Code at https://github.com/LineageOS/androi...mmit/cf7655a9c6c1f3a903f1f9c9a43bc57086a4de31 shows the replacing of sumire with ivy - not sure if this is important???

FM Radio
[Xperia Z5 Original Android Development] HaoZeke:
Well... The sumire device trees are based off ivy. I believe they're being consolidated again.
[Xperia Z5 Original Android Development] goRt:
Good point.
[Xperia Z5 Original Android Development] diemadedrei:
Bluetooth distortion only happens when calling, music is fine.

Also I can add more than one device here. Have my pebble, my car stereo and a Bluetooth dongle connected.

Another bug is LED not working natively for notifications and volume being to high in lowest level.
[Xperia Z5 Original Android Development] JerryLaiHMmmmmm:
After around one week's usage the ROM started to freeze and reboot randomly…

Anyone has the same issue?
[Xperia Z5 Original Android Development] Sovjet:
I didn't notice any of those bugs/errors, maybe you installed some apps or did some tweaks? :)
[Xperia Z5 Original Android Development] sceryavuz:
[MENTION=3816568]Myself5[/MENTION]

Any update, or development? You ended this project?
[Xperia Z5 Original Android Development] zate27:
Just give him time he has a lot of different projects he works on (especially CarbonROM)
[Xperia Z5 Original Android Development] sceryavuz:
I think LineageOS formerly CyanogenOS much more popular than CarbonROM.

I will try CarbonROM these 2 days and I will comment like I have done before for LineageOS.

Here : https://xdaforums.com/showpost.php?p=70581633&postcount=63
[Xperia Z5 Original Android Development] goRt:
I think the difference is CAF - this ROM is built on it, CarbonRom is finding it difficult.

If it comes to a choice, I 'll go for a CAF based ROM as the future, but it needs a team to develop not a singleton.
[Xperia Z5 Original Android Development] Myself5:
Thats why I am currently spending all my effort into getting Carbon to get full CAF support going on in order to provide support for the stock Z5 trees and other devices :)

I promised to keep the Z5 development ongoing, and, unlike others that sold their device to buy a new one I didn't, in order to keep that promise.

All I expect for that is at least some understanding for what I am doing and how I am doing it.

Bringing up CAF support for a ROM is a ton of work though, which is why I barely have time for anything else. I am not sure if I am close to being done or far far away either. The ROM is booting, everything seems to work, exept for RIL and camera. Those two things however turn out to be a nightmare. I spend the whole weekend trying to fix the RIL without any kind of success, sadly.

I'll get it fixed eventually though, there has to be a way to fix it. I just need to find it.

P.S. It should be kept in mind that this is a development thread and it's supposed to stay that way :P
[Xperia Z5 Original Android Development] goRt:
I watch your efforts and understand the complexity, but I'm not one of the people who keep asking for ETAs.

I've working in software development and understand the process needed, so a person working in their spare time gets my admiration.

Thanks for your excellent work [MENTION=3816568]Myself5[/MENTION] (and the others assisting)
[Xperia Z5 Original Android Development] HaoZeke:
Guys. No comparisons allowed here.
[Xperia Z5 Original Android Development] sceryavuz:
Same developer, not a problem.
[Xperia Z5 Original Android Development] adib3000:
my device is E6633

when i try to flash original zip , after "zip signature verifed successfully" it says :

{E3004: This Package is for device: E6633,E6653,sumire,sumir_dsds; this device is .

E: unknown command [log]

Updater process ended with error : 7

Error instaling zip file '/external_sd...........}

and when i do the changes (Edited updater-script, changed boot.img with boot_dsds.img, deleted install/bin/*.sh) after "cheking for MD5 file ..." it says:

{E: Aborting zip install

MD5 does not match

Error installing zip file 'external_sd...........}

what should i do?

i edited the zip file with winrar.

what should i do with updated-script?
[Xperia Z5 Original Android Development] Myself5:
Your post contains the solution. "MD5 does not match". Your edits changed the zips md5sum, however, you seem to have the lineage-14.1-20170112-UNOFFICIAL-sumire.zip.md5sum file on your SDCard, which is (now) containing a different MD5sum. This results into TWRP thinking your zip is broken and throwing that error.

TL;DR: delete the md5sum file :P
[Xperia Z5 Original Android Development] adib3000:
i deleted the md5sum but steel the same error

original file from :dl.myself5.de/sumire/LineageOS/ : this package is for device: e6633,e6653

and modified one : zip signature verification failed!
[Xperia Z5 Original Android Development] sceryavuz:
You followed my orders.

Download lineageos-*.zip

DO NOT EXTRACT ZIP FILE

JUST OPEN WITH WINRAR AND CHANGE ALL THAT

CHANGE : updater-script (attached)

CHANGE : build.prop (attached) /system

CHANGE : boot.img with (rename first boot.img) boot_dsds.img

DELETE : install folder

Put edited lineage-*.zip and opengapps.zip into your SD.

Wipe all except SD card.

Reboot again into TWRP.

Then Flash 2 zips.
[Xperia Z5 Original Android Development] adib3000:
it doesn't work. I did everything still the same error. downloaded carbon too the same error but a bit the model error is different

I'm going to flash official ROM of 7.0 until find solution
[Xperia Z5 Original Android Development] xiheartjtag:
If the assert statement was removed from the updater scipt, like in the file both I and the previous poster posted, it is not possbile to get that error. That error can only come from that statement. So the only possibility is that you did not properly edit the zip file. You also need to make sure the MD5 file has been deleted, when you edit the zip you change the MD5 hash of the zip. The MD5 file is there to make sure the zip has not been changed, but in this case it's counterproductive as we have purposely altered the zip.

If it's alright with [MENTION=3816568]Myself5[/MENTION] maybe I will upload the whole zip properly modified for you later.
[Xperia Z5 Original Android Development] adib3000:
it would be great if you upload it for me. thanks
[Xperia Z5 Original Android Development] sceryavuz:
No way, you did smth. wrong. Maybe you check zip verification on TWRP..
[Xperia Z5 Original Android Development] adib3000:
I don't know wat happened but last night I tried like 20 times it didn't go well but today I did every step one by one and it boot up right now.

thank you all
[Xperia Z5 Original Android Development] adib3000:
is there any way to use both sim slots?
[Xperia Z5 Original Android Development] Myself5:
Sure, go ahead. You should probably include the dsds mandatory build.prop changes too though :P

https://xdaforums.com/showpost.php?p=70581633&postcount=63

It was stated more than once already in this thread.