yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Original Android Development] 4Strings:
I've set both Big and Little governors to powersave and set the max frequency for both to two steps lower than stock. It does seem to improve things a bit, but it'll take a few more days of testing to be sure...

EDIT: I was actually hoping for the stock Sony camera app. Just personal taste, but I prefer it to other apps I've used (unless there are other options out there).
[Xperia Z5 Original Android Development] vincent-v:
The download of the last Nightly Build (20180401) does not work. A new version is displayed but there is an error. Also the download from the LOS website does not work.
[Xperia Z5 Original Android Development] 4Strings:
Anyone know how this guy got such (supposedly) great battery life? Anything that could be ported over to LOS?

I'm losing about 2% per hour (overnight without any use), even with all apps optimized and CPU underclocked and with powersave governor set through Kernel Auditor...
[Xperia Z5 Original Android Development] SysGhost:
I've discovered that the lesser battery life is due to improper Big CPU settings. Using kernel auditor, I've set it to allow sleep on all four big CPU's, and the battery time improved a whole lot.

Why is that two big CPU's are forced to "always on" ? that seems a big waste of battery resources i.m.h.o.

PS: Putting those cores to sleep just means they're allowed to sleep when they're not used. If needed they will still be activated. Having them "always on" even when not used just drains the battery with no advantages at all.
[Xperia Z5 Original Android Development] Al.Mamari:
where to do this in kernel editor

can u attach screen shots

thanks
[Xperia Z5 Original Android Development] SysGhost:
Under "CPU Hotplug" there's a setting called "Minimum CPUs big". Set it to 0. That'll allow all four big CPU's to sleep when they're not used.

Not to be confused with the other four "standard" CPU's
[Xperia Z5 Original Android Development] zacharias.maladroit:
Take a look at the state of the big cores after some time:

it doesn't stick (at least for me when e.g. setting it via EX Kernel Manager or Kernel Adiutor)

there's way too many hotplug drivers involved (msm_performance, core_ctl, core_ctl_helper, BCL, etc., perf via msm_performance, etc.) that we could really have an effect via userspace on the behavior
[Xperia Z5 Original Android Development] s.hossein:
[MENTION=3037651]zacharias.maladroit[/MENTION] do you have time to update RR rom,thanks in advance.
[Xperia Z5 Original Android Development] 4Strings:
Doesn't look like changing the Hotplug settings made much of a difference. I've lost ~15% in the past hour with the phone just sitting on my desk... I have a week long work trip in two weeks and need better battery life, so I might just have to relock and go back to stock... :( at least for now.
[Xperia Z5 Original Android Development] chero90:
How old is your phone? maybe u should have a look at your batterys health.
[Xperia Z5 Original Android Development] 4Strings:
Phone is about two years old, but I replaced the battery last week and battery life is fine on stock firmware...
[Xperia Z5 Original Android Development] nero10:
+1
[Xperia Z5 Original Android Development] viperx888:
Just dirty flashed the latest 1st April build, had 16% battery and was plugged in, made it through and it was a success, the phone charged up to 19% even while flashing and rebooting.

"I too like to live dangerously" haha.

Just want to note it seems to have resolved my small issue with super loud notification volumes (even on the lowest volume setting), they seem more normal now.

Cheers!
[Xperia Z5 Original Android Development] zacharias.maladroit:
Some output volumes have been adjusted meanwhile (last time I looked) so that probably matches with your observation.

Default brightness (which was too high in the past) also should be lower to save battery (if not already)
[Xperia Z5 Original Android Development] TrayK:
Finally made my way through everything and installed that firmware :)

unfortunately, if i play for some hours the phone gets very hot. it doesnt stop heating up until the cpu crashes and the pictures / apps are freezing.

i've read about a comment from a year ago which mentioned the same problem.

the author wanted to compile a new kernel at that time.

installed the rom: lineageos nightly 14.1 from the 2018-04-01

please help me with that ^^'

because this rom is the answer to the perfomance issues of the stock rom!

PS:

My Device: Sony Xperia Z5 Sumire EE6653 Rev 6
[Xperia Z5 Original Android Development] foueddyf:
Hate to break it to you but the only way to cool your phone is to throttle the CPU/GPU, which will lower your gaming performance.

I'm assuming Stock has lower performance because it has its built-in throttler to prevent the overheating you're having on Lineage.

If you switched to Lineage

strictly

for that gaming performance, I suggest you go back to stock.

You could get the kernel adiutor app and see if there are some stuff you can tweak, though I'm not sure if the Lineage kernel lets you. If not, use another Lineage compatible kernel.

In the end, you'll be on Lineage with the same gaming performance as Stock, except that with stock, you don't have to mess with the kernel.
[Xperia Z5 Original Android Development] yes.sir:
is the camera button peek working?
[Xperia Z5 Original Android Development] orjanraberg:
You could try FSC™ 2.2 for Xperia Z5:

https://xdaforums.com/xperia-z5/development/mod-fsc-1-0-dont-sacrifice-performance-t3670586

It should work for both stock and non-stock depending on what version you install.
[Xperia Z5 Original Android Development] threader:
Disregard post, found a solution regarding the USB OTG question of wonky behavior, by disconnecting, pressing the otg button for detection, reconnecting the leds to a usb hub or such, by using an optical wired mouse to indicate if power is provided to the port. Might have a look at the code at some point, better feedback would be nice.
[Xperia Z5 Original Android Development] Doot1:
what is the point?

Hi Team,

what would i get in real terms using this over stock? I have read a lot of the back pages and if the battery life is no better and performance the same I don't get it?

I know that sounds like a poor question but I am trying to understand how I can improve/extend my Z5...

Thanks!
[Xperia Z5 Original Android Development] orjanraberg:
For me the most important benefit is to get new security updates and not having to use an outdated Stock ROM full of security holes.

I also get better performance in general with less throttling than on stock. On stock, pokemon go was more or less impossible to play because the phone throttled down to a halt after a while.
[Xperia Z5 Original Android Development] ofmoll:
As the other user pointed out, I also had a better performance, though it could harm your device if not done properly. This, along with the incredibly amount of new features and tweaks that you get when installing a custom rom will make the difference. Just ensure to make a full clean/wipe before flashing and read instructions carefully, as well as ensure to download and flash your device version's file.

Allthough, in my opinion, there better options than lineageOS anyway, but it's more like a personal choice, there's not a big difference between one and another customROM. I also checked out CarbonROM and if lineage does not give you what you want try it out.
[Xperia Z5 Original Android Development] orjanraberg:
Can it really harm your device to run LineageOS on Z5 without any special hacks? Have the CPU's normal thermal guards been disabled in LineageOS?!?

What is the main benefit of CarbonROM over this ROM?
[Xperia Z5 Original Android Development] ofmoll:
No, you can harm the device if you install a customROM without cleaning amd wiping the previous one with TWRP, it's called full wipe, partition, cache, system, dalvik etc. or if you install the wrong version, let's say, if you install an XPeria Z5 dual sim ROM to an XPeria Z5 Premium device. Otherwise there shouldn't be problems.

Just look for the device numer, for the XPeria Z5 is the (E6653).

carbonROM is more custom tweaks loaded let's say. I mainly switched to it back in November because lienageOS had no FaceID feature, but I'm not aware if it does or doesn't now. But after trying it out it let's you customize the device in much more ways. In any case, lienageOS is one of the bests roms out there. If you search for stability, battery life and performance it's as I said between the top ones as well as CarbonROM. Lineage feels more like native android and the bootup animation is way more smooth and cool in my opinion, but that's not a problem, i guess you'll considering to root as well so you can change it afterwards.

One thing in my opinion CarbonROM is better at is the updates, you get them way more often, the so called weeklies.

They're both tremendously great roms. You should search for a full review of both of them and only then choose what's best for you, remember you can always switch if you don't like them.

That's it, I don't have my XPeria Z5 anymore but I hope it helped and if I can help further just ask, the community is here for you. Welcome to xda mate.

Hit the thanks button, cheers!
[Xperia Z5 Original Android Development] foueddyf:
Carbon hasn't been updated since Jan 31st and probably won't be until Lineage Oreo comes out for the Z5.

Lineage is the rom that now gets the weeklies.

I personally still use Carbon because I couldn't get Lineage to match Carbon's battery life. That was 4 months ago. Maybe things are different now.

But if you're concerned about security, Lineage is the way to go as it gets the latest up-to-date security updates.

If battery life is your top priority, you should stick to a stock based rom. Because currently, Aosp doesn't come close to stock on the Z5 unfortunately.
[Xperia Z5 Original Android Development] ofmoll:
It's been a while since i broke my xperia so listen to him rather than me!

Thanks for the reply anyway, cheers
[Xperia Z5 Original Android Development] chero90:
idk why - but the last two weeks made my z5 with (always latest Version) Lineage more and more unstable.

Some simple apps like the amazon shopping app run very slow (till the os ask for a forced close). The new Harry Potter game is unplayable. Idle drain is between 8% - 12% per hour (battery is 5 months old and should be fine

).

I've already took a look at my power settings - but its set to balanced (and this should be ok?).

I flashed Linage a few moths ago and don't want to wipe all again :(

can someone confirm the problem or is it only my device and time to wipe?
[Xperia Z5 Original Android Development] orjanraberg:
My Z5 works fine. I had some problems with crashing some weeks ago but lately it has been very stable. I currently run the April 22 build.

I use the "Fast" performance setting since I got some lag in the game Ingress with the Balanced setting.
[Xperia Z5 Original Android Development] nflLink:
I have found it to be working after disabling the sim-card pin
[Xperia Z5 Original Android Development] nakmursi:
can i use this rom for xperia z5 sov32 by kddi au japan?

can i use this rom for xperia z5 sov32 by kddi au japan?thanx u
[Xperia Z5 Original Android Development] Amir_Darkevil:
Problem Duel Sim Z5

Report Bug

problem for disable duel sim toggle ( sim 1 on or off )

i can't disbale sim 1 or sim 2 and very use battry !!!

Z5 Duel Sim - LineageOS 14.1 - android 7.1.2

Are you developing Android 8 for the phone Sony xperia z5?
[Xperia Z5 Original Android Development] ColdIllyrian:
We don;t know there is a possibility but other devs as well as himself are busy with studies at this time of year and that comes first so maybe not soon but it should come one day
[Xperia Z5 Original Android Development] Avmansoure:
Is there any chance of getting oreo builds for the z5 sumire?
[Xperia Z5 Original Android Development] nflLink:
I have problems while installing the OTA-updates. It crashes with the following error:

I am currently on 14.1-20180304-NIGHTLY-sumire, with TWRP 3.1.1.0

Since i am using device encryption, my question is: can i download and flash the latest release via TWRP without destroying my data?

In older Versions you could not reuse the old system (as far as i understand it at least), is this still the case?

Or is encryption so problematic that it won't work correctly?

It seems to me that TWRP is the problem here, is there an alternative for this device(E6653)?

(If it is important, TWRP cannot decrypt my working phone, the password is always incorrect)

05-21 11:47:48.022 6852-6852/? E/uncrypt: failed to set bootloader message: failed to find /misc partition
05-21 11:47:48.046 6835-6835/? W/dex2oat: Compilation of void com.google.maps.api.android.lib6.gmm6.store.b.a(java.io.DataOutputStream) took 135.013ms
05-21 11:47:48.068 1800-2912/? E/RecoverySystemService: uncrypt failed with status: -1
05-21 11:47:48.069 6852-6852/? I/uncrypt: received 0, exiting now
05-21 11:47:48.078 4014-6842/? E/UpdateInstaller: Could not install update
java.io.IOException: Setup BCB failed
at android.os.RecoverySystem.installPackage(RecoverySystem.java:497)
at android.os.RecoverySystem.installPackage(RecoverySystem.java:421)
at org.lineageos.updater.controller.UpdateInstaller.installPackage(UpdateInstaller.java:77)
at org.lineageos.updater.controller.UpdateInstaller.-wrap0(UpdateInstaller.java)
at org.lineageos.updater.controller.UpdateInstaller$1.run(UpdateInstaller.java:125)
at java.lang.Thread.run(Thread.java:761)
[Xperia Z5 Original Android Development] foueddyf:
Yeah you can forget about encryption on our device unless you'll never need to update, or are using Stock.

I believe there aren't any alternative to TWRP on our device unfortunately.

Also, you gotta remember that the TWRP for our device is actually not official. It was put together and hasn't been updated in a while.
[Xperia Z5 Original Android Development] ColdIllyrian:
mate there is a new version https://www.dropbox.com/sh/lficbbcj...)?dl=0&preview=recovery_v3.2.1_02.05.2018.img
[Xperia Z5 Original Android Development] diemadedrei:
Nice, thanks. Where is that version from? Is there a thread for it?
[Xperia Z5 Original Android Development] arslanon.e:
https://xdaforums.com/crossdevice-dev/sony/twrp-3-1-0-z5-z5c-z5p-t3571050
[Xperia Z5 Original Android Development] ColdIllyrian:
Yup there you go theres the thread
[Xperia Z5 Original Android Development] frabe8378910:
Yeah, but it does not support encryption and there are no plans to support that.

I have it installed and you can't decrypt data.

Gesendet von meinem Xperia Z5 mit Tapatalk

---------- Post added at 10:25 PM ---------- Previous post was at 10:18 PM ----------

If you have a SDcard you should be able to update your ROM, because TWRP could read the update from there. I update this ROM regularly and my Z5 is encrypted.

Gesendet von meinem Xperia Z5 mit Tapatalk
[Xperia Z5 Original Android Development] foueddyf:
thanks for the link man :)

Unfortunately, there's still no decryption :(
[Xperia Z5 Original Android Development] ColdIllyrian:
Sorry about that I just know that this twrp version is quite useful for the upcoming release of oreo
[Xperia Z5 Original Android Development] foueddyf:
I'm gonna try but I don't see how it's possible if twrp can't decrypt the phone.

Sure you still have access to the sdcard, but how can the update overwrite the old files on the encrypted partition if this said partition can't be decrypted? :confused:

Sounds like your phone is not encrypted or your twrp is able to decrypt, but I'm gonna try nevertheless.
[Xperia Z5 Original Android Development] frabe8378910:
Only data is encrypted, this where your apps (data) is stored. So TRWP can mount system, cache, internal sdcard, ...

ROM update will rewrite files to system. You could even wipe system and flash the ROM clean. This won't destroy data.

Gesendet von meinem Xperia Z5 mit Tapatalk
[Xperia Z5 Original Android Development] arul20be:
The OP description says, Known issues as 'None'. It means, VoLTE working with Jio sim?

Kindly advice me!! Thanks..
[Xperia Z5 Original Android Development] ColdIllyrian:
Well If that's not one of the issues listed than probably volte is working
[Xperia Z5 Original Android Development] Portodrom280:
Good afternoon! I installed the latest firmware (lineage-14.1-20180527-nightly-sumire), Open Gapps, patch AptX HD, configured the system for myself (Nova Launcher, My applications and decided to stay on Lineage OS finally, but when I started Yandex maps, I found that it does not work compass, launching different test applications, I found out that no sensor other than GPS is working.

They are not detected by tests: 1. the light sensor, 2. the compass, 3. the proximity sensor, 4. the acceleration sensor ... only the GPS is present. I think that there are no drivers in the firmware. Therefore, I will not go to this firmware until
[Xperia Z5 Original Android Development] foueddyf:
I thought it was just me as I dropped my phone a couple days ago.

Glad to see it's just software related.
[Xperia Z5 Original Android Development] arslanon.e:
I am on the same version ROM (latest) all sensors on my phone are working fine (ever since I first installed ~4 builds before).
[Xperia Z5 Original Android Development] Portodrom280:
Apparently, the last time the firmware downloaded with an error - today I downloaded it, installed it - everything works! To my happiness there is no limit!
[Xperia Z5 Original Android Development] langeveld024:
Is VoLte working for you?
[Xperia Z5 Original Android Development] Portodrom280:
Is VoLte working for you?

I can not verify - my operator does not support VoLTE
[Xperia Z5 Original Android Development] langeveld024:
Ah okay thanks for replying :)
[Xperia Z5 Original Android Development] Avmansoure:
Is slow motion video recording working on this rom?
[Xperia Z5 Original Android Development] chero90:
i have a silly bug..

if the battery is completely empty, phone shut of and I plug it in:

-it does show the sony Logo

-after that it shows the Loading animation - but it says 20% charged (not true)

-reboot

- and again the sony logo, loading animation reboot..

it does not seem to charge my phone anymore.

cant start my phone anymore for now.

HOw can I fix? Is it a kernel related problem?
[Xperia Z5 Original Android Development] ColdIllyrian:
In order to fix this there are many options you could try using a different kernel or

Dirty re-flashing the rom again or

Install everything from scratch or

Wipe cache/Dalvik cache/ data

Or if that won't work which I am sure it will it must be a problem with your phone :/
[Xperia Z5 Original Android Development] chero90:
ty! for your fast reply.

in the meantime the following happens when i try to power on the Z5:

- it vibrates, after that it shows my battery is empty and it turns off again

- i cant fastboot via pc (does not even recognize the Z5)

- can't enter TWRP

The following happens when i try to charge my device:

- instant (for 1-2seconds) red light, after that(for 1-2seconds) green, 3 seconds without any light. After that, the light stays green as long as the usb-cable is pluged in.

--> I tried to charge the device (with its green light) for 2hrs now.

But it does not seem, that the battery got some Juice :(

even though the power supply is charging (measured with a multimeter)

In the meantime, I believe that the (4 moths young) battery is broken :(

Any suggestions /Idea what is going on here?
[Xperia Z5 Original Android Development] ColdIllyrian:
Perhaps the battery may have been exposed to water recently because that is a possibility to cause these battery issues I don't know this has never happened to me before try replacing the battery or taking It back to Sony?
[Xperia Z5 Original Android Development] chero90:
Thanks! I can not imagine that it is related to water. I take care of my devices. ;)

I'll bring it to my repair-store, because it really seems, that the battery is broken. And the battery got replaced recently. I hope it can be fixed on warranty. In the meantime i bought a XZ2 today :D.

But I've read something about the 20% loading bug - seems kernel/TWRP related. Others have it also. But I unfortunately can't find the url anymore.
[Xperia Z5 Original Android Development] Amir_Darkevil:
very high Battery temperature after update !

i update (	2018-06-05 ) but , my phone very hot and using cpu-z ( 69 C !!! )

Does anyone have this problem?
[Xperia Z5 Original Android Development] ColdIllyrian:
yeah mate i think you just need to buy a new phone the z5 has s810 what where you expecting? the only thing you can do to help with the persistent over heating is mod lxt and thermal mods by korom but apart from that i dont thing there is anything else unless if you risk the bricking of your z5 use a terminal and edit the s810 itself and turn off two cores i was thinking of doing that but possibility of brick is quite high
[Xperia Z5 Original Android Development] lucro49:
[MENTION=5593056]chero90[/MENTION] did you manage to solve this? i had the same issue but managed to switch on my phone. Try plugging the phone to your pc, the battery will drop to 0% and then try switching it on while charging. i kept trying to switch it on while it is charging until it finally did.
[Xperia Z5 Original Android Development] chero90:
No. Not solved until now. The phone is now completely dead - not even a LED lights up. I've noticed, that my SD (which was in the Z5) got completely formated. I'll bring the phone to diagnostics the coming week.

If I have an update I will let you know :). In the meantime I also switched to a new Phone (xz2). Phone was patched to sumire 2018-06-05 (if someone is interested).

Update: After a few days I was able to charge it again. But after I started it i noticed, that I was not able to charge it while it was turned on. I did a clean install of Sumire and now I dont have this problem anymore. All working for now.
[Xperia Z5 Original Android Development] lindsche:
OTA Updates

i have two questions regarding OTA Updates:

a) can anyone confirm that OTA Updates are working?

i have TWRP 3.1.1-0 installed and the updater is downloading the zip but it won't restart into TWRP.

b) where is the zip downloaded to? within \data\data\org.linageos.updater i can't find it..

cheers
[Xperia Z5 Original Android Development] chero90:
a) can't confirm. Never worked for me.

b) /data/lineageos_updates/
[Xperia Z5 Original Android Development] Avmansoure:
Those who are using the latest builds can confirm any improvement in battery efficiency in this 3 months?

Actually i'm using resurrection remix while this period.
[Xperia Z5 Original Android Development] arslanon.e:
That depends on usage I guess. Seems to me quite consistent.

For me, I keep 3 of big cores off, and with performance in battery settings to "Power save". Bluetooth, GPS off, WiFi to on only when plugged, data off. Around 1-1.5 hour SOT in a day. No games, or heavy apps.

I get 2 days.

I feel, when I have WiFi 'Always on', it drains battery *fast* -- as with above usage and 'Always on' I get 1 day or 1.5 day max.
[Xperia Z5 Original Android Development] Ayriksa:
sound level in camera video shooting is low
[Xperia Z5 Original Android Development] lindsche:
i can't say how it has been 3 months ago because i installed it just beginning of the month, but:

i get with no special settings & wifi mostly on max 1h30min SOT and the battery is empty most of the days before the end of day.

compared to stock where i had 2-4hrs SOT this is way less. does anyone else experience that little usage time? what can you recommend to change in the settings?
[Xperia Z5 Original Android Development] orjanraberg:
I get quite low usage time with the LineageOS ROM but the performance is much higher than with stock ROM so I don't complain. With Stock ROM games like Pokemon GO was nearly unplayable because of throttling. With the LineageOS ROM there is much less throttling of performance.