yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] Flounderist:
Overheat management improved a lot in the final builds. Also the initial setup is not crashing anymore.

You can upgrade in full confidence.

Filesystem can be changed on TWRP, please beware this operation will wipe the device ENTIRELY, including internal storage. If you want to give a try, follow these steps:

- download latest ROM and gapps.

- transfer all your files from phone to your PC, or any external/cloud storage.

- reboot to TWRP and take a backup. Then move it in your pc as well.

- from TWRP select wipe, then tap on advanced wipe.

- select data and tap on repair or change file system.

- tap on change file system, select f2fs and proceed.

- repeat the same for cache partition.

- reboot IN RECOVERY with the device connected to a PC.

- swipe again to allow TWRP modifications.

- move the ROM and gapps from your PC to device.

- wipe data, cache, system and dalvik then flash ROM and gapps.

Once you completed the setup, move all your files from PC to device.

You can tweak your kernel specs from Kernel Adiutor apk. You must be rooted to do that.

I will be posting some information later on.
[Xperia Z Original Android Development] schastang:
Hi,

I noticed a battery drain issue after using WiFi Access Point functionality. Even after switching off AP and enable airplaine mode, battery drains slowly until it is empty.

Need to reboot device just after using AP to stop battery drain.

Does anybody else already noticed that?

Everything else is OK!

Thank you very much.

Seb
[Xperia Z Original Android Development] Zerikwan:
Hello my fellow Z users.

Let me ask you about 2 things related to this ROM:

1. Which Gapps do you use with this ROM, MindTheGapps or OpenGapps, and why?

2. What is the maximum capacity of SD Card that support with this ROM? I know the official LP stock ROM could take 64GB card, but with this ROM? Anyone test it with 128GB or more?

Sorry if my grammar is bad,

and btw... Happy New Year.
[Xperia Z Original Android Development] yousef jbeely:
Hi guys

Problem when you reboot the phone Battery is discharged quickly when the battery charge level is about 50%
[Xperia Z Original Android Development] nurps:
Did you get this fixed? Same here, running Lineage 14.1, Do I need to update something else before?
[Xperia Z Original Android Development] Flounderist:
Which version of TWRP are you using?

It might be outdated. Latest one is 3.2.3
[Xperia Z Original Android Development] Meheraj Chowdhury:
Thank you so much. I've installed through your process. So far seems quite good. Although battery drain is high compared with Lineage OS 14.1 Nightly. & Face unlock feature is missing too. Btw can you provide the kernel tweaks? & is there there any better custom kernel specially for performance & battery life betterment for this rom? Thanks once again.

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

Yes. i found this too. & offline charging is also still not fixed.
[Xperia Z Original Android Development] Flounderist:
Hi, I'm happy you found my information useful.

Unfortunately there is no kernel development since ages. BTW 3.4 kernel is no longer maintained and 3.4.113 is the latest build available.

Mako (nexus4) has the same CPU and a kernel development a little more active, but I don't think a porting from that device would be easily feasible.

My kernel tweaks requires Kernel Adiutor app to be executed.

First of all, open the app and grant root permission.

Go to CPU section and tap select max frequency to underclock it. I set 1350 instead of 1512. Setting max frequency to 1134 will increase battery life but device will start lagging.

Then tap on CPU governor tab and select interactive governor.

Then tap on the tab below to tweak governor settings:

above hispeed delay

20000

boost

0

boostpulse duration

0

go hispeed load

90

hispeed freq

1026000

io is busy

1

max freq hysteresis

49000

min sample time

40000

target loads

85 594000:88 1026000:90 135000:93

timer rate

20000

timer slack

40000

Then move on the bottom and disable all the touch boosts.

Toggle the "apply on reboot" at the top of the page, then select GPU in the main menu

Tap to select max frequency. I set at 320.

Please notice it may affect gaming and video streaming.

Select Scheduler I/O on main menu and select cfq from the first tab. You can also try deadline.

Once you are done reboot.

If you are getting battery drains dirt flash latest build and wipe cache/dalvik.

Please be aware I use my yuga as a backup device, with a very few apps running and no multitasking at all.

:cowboy:
[Xperia Z Original Android Development] yousef jbeely:
Hi

Problem when you reboot the phone Battery is discharged quickly when the battery charge level is about 50%
[Xperia Z Original Android Development] nurps:
Wow, even HDMI Out is working, didn't work for me on 14.1.
[Xperia Z Original Android Development] ChainX:
Developer option root access..two option off/adb only?

Hi sir the lineage-15.1-20190107 in developer option root access has two selection off and adb only.why is that?your past update has complete selection and now i test it with root checker and then failed my device is not rooted even i activated it maybe because its adb only??.can someone enlighten me;)..how to enable root for this version without installing app i want the built in root.sorry for my english.by the way thak you for all the efforts for this rom.high salute to you guys.

---------- Post added at 05:21 PM ---------- Previous post was at 05:14 PM ----------

I figured it out.maybe will fix by flashing addons?correct me if im wrong.thanks in advance;)
[Xperia Z Original Android Development] Flounderist:
You can flash either flash Lineage SU add-on or Magisk 18. As per LOS policy, root access is disabled on official builds.
[Xperia Z Original Android Development] yousef jbeely:
When the phone is restarted, the battery is discharged very quickly when the charging level is around 40%
[Xperia Z Original Android Development] NamenIos:
Discharging shortly after reboot is normal to some extend. If you battery discharges faster when it's at a low percentage, it's a sign of a dying battery. There is no need to post the same again over and over, especially if there's no meaningful information in the post.
[Xperia Z Original Android Development] yousef jbeely:
thanks you
[Xperia Z Original Android Development] shiplu42:
Everyday update coming its install essential can any one tell me hot fix twrp 3.2.3 when i install this but back to go my old version 3.0.2
[Xperia Z Original Android Development] ProtonCar:
Hello,

fist of all I want to congratulate you to this nice and smoothly running ROM. This is the first time I'm using nightlys and so far I'm pretty impressed about the performance. I also want to contribute to making the ROM even better.

But I can confirm the bug regarding battery percentage. I'm using battery charge limit V1.1.0 as I cannot install V1.1.1. I set the max. limit to 80%. Often I flash the latest update directly after charging my phone. When it restarts to TWRP there is a leap in the percentage and it jumps to ~95%. Also I can confirm fast battery drain when battery is below 30%.

Nevertheless I can still use the phone all day long so I guess it's just some sort of problem with the display of battery percentage?

edit 17.01.2019: This problem doesn't occur anymore.

Another quest is the integration of Orbot in LineageOS. It seems this is not an issue of a yuga port but affects all lineage 15.1 devices. Proton VPN runs smoothly on my device - but I'm not able to establish a TOR connection via Orbot. This problem is also documented in 2 reddit topic. I'm not allowed to post links as I haven't done more than 10 posts on XDA.
[Xperia Z Original Android Development] ChainX:
I got this bug when using facebook messenger.when you video call with someone. They cant hear you.tried with earphones no luck either and have suddenly lagging then the app crash. But if its voice call, no problem at all.so the problem is when using video call with or without earphones.sorry for my english guys i hope u understand my problem.can you teach me how to fix this thank you in advance.more power to you guys.
[Xperia Z Original Android Development] ProtonCar:
Full device encryption

Hi,

I was wondering if the device encryption is working for anyone? It worked for me with Lineage 14.1 - but I had no chance to get it to work with 15.1. I did perform the clean installation of Lineage 15.1 and tried encryption as one of the first steps. It didn't work with the first version and unfortunately it still doesn't work with yesterdays' update.
[Xperia Z Original Android Development] TrueFriend-cz:
Rom have one year not solved bug: https://xdaforums.com/xperia-z/orig...0-xperia-z-t3721749/post75724462#post75724462

OS can not be controlled by a mouse.
[Xperia Z Original Android Development] Freepony:
Hello Daedroza.

Is there any chance that LED notifications during charging will be implemented? Because now charging indication has higher priority than message and other notifications.
[Xperia Z Original Android Development] barlastolga:
i can not fix this problem 14.1 work perfectly but 15.1 rebooting

i tried everything; flashed stock rom 4.4 and 5.1 then i flashed to 15.1 still rebooting

please help !
[Xperia Z Original Android Development] Freepony:
Have you tried to install the latest TWRP and wipe all the data before flash 15.1?
[Xperia Z Original Android Development] barlastolga:
Yes i did everything :/
[Xperia Z Original Android Development] Freepony:
How exactly?

Does your phone reboot itself randomly when you use it?
[Xperia Z Original Android Development] barlastolga:
system booting 2 or 3 minutes and then suddenly reboot again
[Xperia Z Original Android Development] Freepony:
Make sure your TWRP version is 3.2.3-0. Wipe cash, dalvik, system and data, then flash the latest 15.1 build and gapps (if you need them). Try to use your phone without installing any soft.

Recent builds are very stable so I guess the problem might be caused by hardware issues or third party software.
[Xperia Z Original Android Development] barlastolga:
i know these all and did these all thanks for reply ;)
[Xperia Z Original Android Development] Flounderist:
You can grab a dmesg or a logcat when reboot happens and post here.
[Xperia Z Original Android Development] ElSakuro:
Sounds exactly like the problem I described a few pages earlier. I posted a log, but didn't get any feedback :/

So you tried the latest versions as well? I guess, I don't need to try then .. :silly:

Edit: This was my post including the log:

https://xdaforums.com/showpost.php?p=78422757&postcount=434
[Xperia Z Original Android Development] barlastolga:
I fıxed it . Removed cameras and sensors and it works
[Xperia Z Original Android Development] Aeon98:
some bugs

i have some bugs with this rom, previously i used stock 5.1 LL rom

I decided change to LOS 15.1 for testing

in games is better but have a bug with the processors. the processor. the processors stop working and only one is running.

also after activating the advanced shutdown option i lost twrp and only reboot on LOS recovery

also after a restart the battery has errors

sometimes it shows that I have 80% or restart again and it shows that I have 15%

:confused::confused:

in stock rom I have no problems
[Xperia Z Original Android Development] ElSakuro:
Hi!

Could you specify, what this means? What did you remove (software, hardware?) and how?

And then ... a smartphone without camera and sensors isn't THAT useful for day-to-day use, is it? :D

Interesting solution though.
[Xperia Z Original Android Development] p5auser:
Google Pay issue,

I am facing google pay issue.

The device say "you won't be able to pay contactless with this device".

I have enabled the nfc and android bean, pass saftynet check but non-usefulness.

even I use the lineage 14.1, the same issue.

Is this a known issue?

In stock ROM is no issue.

Thanks.
[Xperia Z Original Android Development] Flounderist:
It is. Even if device has NFC, ROM is not supporting a component required to make google pay work.

I pointed out this issue a long time ago.

Some information are available here:

https://developer.android.com/guide/topics/connectivity/nfc/hce
[Xperia Z Original Android Development] Aeon98:
Tweak charge

Hello i tweak the charge from this parameter

/sys/module/pm8921_charger/usb_max_current

My phone charge like lollipop rom speed ( is better than LOS speed charge)

Is a good or bad solution change these patameters? ( i'm noob)
[Xperia Z Original Android Development] barlastolga:
It's not for day to day smartphone it's so old . I use it for test device for the new roms how useful .
[Xperia Z Original Android Development] Aeon98:
I did have the same issue, i solved it with a dirty flash and wipe cache/dalvik and later dont reboot again the phone. Shutdown but not reboot. This issue is a bug
[Xperia Z Original Android Development] bam80:
Is it reported on the LOS bug tracker?

Is it 100% reproducible?
[Xperia Z Original Android Development] ataraxist:
Closed
[Xperia Z Original Android Development] TrueFriend-cz:
Hi. Developer do you can fix OTG mouse bug?
[Xperia Z Original Android Development] eichenbast:
Pie

Is pie for the z in development? If it is still necessary to support with 15 dollar donation/month, I would do - if others also want to do so.
[Xperia Z Original Android Development] wkomar:
Bingo!

I was getting same error, old version of TWRP was the issue. Updated to 3.2.3 and 15.1 installed no problem.

Thank You!!!
[Xperia Z Original Android Development] MartinX3:
CC: [MENTION=9504344]eichenbast[/MENTION]

A nice guy told me that he may donate me his old Xperia Z for my work with the XZ2 he owns now.

If he really do it, i want to participate, because I would rely on the builds until the device dies. :)
[Xperia Z Original Android Development] TrueFriend-cz:
Developer do you can fix OTG mouse bug???
[Xperia Z Original Android Development] eichenbast:
Thanx for reply! Good to know!
[Xperia Z Original Android Development] MartinX3:
Installed the newest LineageOS build together with twrp-3.2.3-0-yuga.img, Magisk 18.1 and the pico GAPPS from today.

Sadly the Google Introduction Assistant doesn't show the keyboard.

After that I had no navigation bar and no status bar and no keyboard in the system.

After a restart i got the navbar and the status bar back and needed to wait a minute before the keyboard came.

Runs fine now. :)
[Xperia Z Original Android Development] DeathWishXIV:
Great Work

Great Work mate!! :good::good::good:
[Xperia Z Original Android Development] Rubenos:
First, thanks for the ROM.

Question, anybody else has MHL working? Can't seem to get it to work.
[Xperia Z Original Android Development] bunbon:
ts not work.

after flash this rom, my touchscreen cant work after press power button(lock screen position).

every first boot touchscreen working fine, but every sleep/press power button/lock screen my touch screen not work.

this is software or hardware trouble?
[Xperia Z Original Android Development] MartinX3:
Did you try changing the ambient display setting?

I deactivated it my touch works fine.

---------- Post added at 02:14 PM ---------- Previous post was at 02:12 PM ----------

@Daedroza

are you still maintain the device? :)

Sadly since the 01. february you're offline :(
[Xperia Z Original Android Development] bunbon:
i follow you instruction to deactivated ambient display, the result same.

and now i'm replace original lcd with new one, the result same.

but in twrp press power button, sleep and wake up touch screen working fine.

i dont know what else todo, i know this older phone. i'm never think to buy new one(this is special smartphone to me). i will report if issue is solved.

[IMG="new lcd"]https://i.ibb.co/qjZNPLJ/Whats-App-Image-2019-03-16-at-08-23-14.jpg[/IMG]
[Xperia Z Original Android Development] MartinX3:
If it works in twrp it is a software issue.

I used the newest lineageos build with a full wiped phone, where I did boot the newest stock firmware of myregion first.
[Xperia Z Original Android Development] Cruz60:
Did u turn on expandable display? i have the same problem but only when I turn on expandable display,after

i turn it off no more problem occur.
[Xperia Z Original Android Development] TrueFriend-cz:
Developer please!!! Do you can fix OTG mouse bug???
[Xperia Z Original Android Development] Rubenos:
Mouse using OTG just works. I'm using an oldschool Logitech USB mouse with USB OTG from Sony.

Does anybody got MHL working on this ROM?
[Xperia Z Original Android Development] samhhmobil:
Just only a question, I'm running LOS 15.1 since three months now on Xperia-Z.

The ROM really is fine, but the CPU becomes VERY hot. When running idle temperature is not lower as 40°C, and when using some apps it's going up very fast to 60° or 65°C, and when reaching approx 70°C, the system crashes with reboot. And then.... it's nearly impossible to boot normal again, during the system startup it reboots again and again due to the very high CPU temperature.

Is there any way to reduce the overheating of the CPU?

Thank you very much,

samhhmobil

PS

This happens with two different Z-Devices in a similar way, so it's seems not to be a hardware issue.
[Xperia Z Original Android Development] MartinX3:
I can confirm our it

Maybe PIE is better

But our Dev is offline
[Xperia Z Original Android Development] Zerikwan:
Me to.

65°C while browsing and 70°C while using camera. But I haven't faced bootloop issue.

There is several random reboot occur, but after clearing cache and dalvik cache, everything is normal, even for 70°C.
[Xperia Z Original Android Development] S.N.A.P:
for those who are having overheat issue, try turning on Core Control and Thermal Throttle with KA or similar apps

if it didn't help much, try switching to Mokee Oreo, you'll feel the difference
[Xperia Z Original Android Development] truefriendcz:
Yes works but have problem with GUI. Buttons, etc.

Random grom bugs: on desh

---------- Post added at 03:05 AM ---------- Previous post was at 02:21 AM ----------

Sorry i have slow device and lagging...

Mmm, continue...

Random from bugs: going to home and hold mouse button on icon for content menu... No show. Or moving (dragging) icon on home screen and move to top on commands (uninstall, info, etc.). No reacting commands.

Next... Buttons no reacting on click. I must moving mouse to bottom on button position (on one place, maybe line react only).

Global GUI if mouse moving on App list blinking and etc. randomly artefact (white boxing first icon and screen, and mouseover defect, white layer with transparency maybe 30%).

Etc. Next day i am make screenshots and send to this thread.

History:

This bug have build 7.1 (14.1) LineageOS too, if have build on this forum (not for downloading on LineageOS server) but first build uploated on LineageOS server for downloading have this bug fixed to last builds.

Build or versions on 15.x no this bug fixed never.
[Xperia Z Original Android Development] ProtonCar:
No 5 GHz Wifi since 20190319 nightly

Hi everybody,

I have a problem since the last update: My phone won't connect to 5 GHz Wifi. I can see 5 GHz Wifi after reboot - but can't connect. Also after some time I can't even see 5 GHz networks. Does anyone else encounter this issue?

edit: After deleting cache & dalvic it works :)

edit 2: After 1 hour 5 GHz network is lost again - can't be found when scanning networks.
[Xperia Z Original Android Development] MartinX3:
Like my GPS.

Weird, very weird.
[Xperia Z Original Android Development] eichenbast:
Here: no problems with 5 Ghz Wifi. Also no overheating, no Gps problems. I use the last update! ; no gapps, only fdroid; flashed from andoid 4.1.2.
[Xperia Z Original Android Development] ProtonCar:
No 5 GHz Wifi since 20190319 nightly

Did you encounter this problem only after flashing 20190319 nightly or after clean install?

I used to update the ROM and never had any trouble until 20190319 update. Since yesterdays update 5GHz Wifi works longer (~15Mins) after restarting the phone (without wipe of cache and dalvic). No problem with 2,4GHz wifi...
[Xperia Z Original Android Development] maftul:
Is anyone else having GPS issues on Xperia Z with LineageOS 15.1? I recently updated from 14.1 (clean update) and so far I have only been able to get a GPS fix once after leaving my phone outside for 10-15 minutes on a fixed surface. I could get GPS fix very quickly on 14.1.
[Xperia Z Original Android Development] samhhmobil:
For the first time this seems to be correct, it needs time to collect data. It was the same behavior with my Xperia-Z and LOS15.1. But later then it starts in a few seconds. When upgrading to a new "nightly" build with dirty flash, first time after that GPS needs one or two minutes. Following after that it starts even in a few seconds again...

samhhmobil
[Xperia Z Original Android Development] MartinX3:
20190313 did I clean install after a full wipe.

And GPS took loooong at the first time.
[Xperia Z Original Android Development] TrueFriend-cz:
I find Android 9 for yuga (https://androidfilehost.com/?fid=1395089523397921538)
[Xperia Z Original Android Development] MartinX3:
Yes.

But that's an unofficial crdroid port.
[Xperia Z Original Android Development] Zerikwan:
How did you find it?

Is it stable enough for daily usage?
[Xperia Z Original Android Development] ProtonCar:
No 5 GHz Wifi since 20190319 nightly

Allright...this is interesting. I just updated from 20190312. This version worked fine and I could always see 5GHz wifi. I was wondering if maybe Adaway could cause the trouble?

Nevertheless I found an old reddit topic adressing the exact same issue:

https://www.reddit.com/r/LineageOS/comments/8s9nm3/bacon_unable_to_view_or_connect_to_5_ghz_wifi/

Anybody else encounters this problem as well?
[Xperia Z Original Android Development] Rubenos:
Please, guys, is er someone that can test MHL for me? I can't seem to get it to work unfortunately :(.

About the Wi-Fi, your 5Ghz need to be on channel 36, 40, 44, 48, 52, 56, 60 or 64, everything else may have problems. This is due to regions. Not sure if this is your issue though, can at least try it.
[Xperia Z Original Android Development] MartinX3:
Does anyone know why it takes so much battery and the device gets hot?

While at the same time the Android system / FM radio takes much mobile data in the "foreground"?
[Xperia Z Original Android Development] Zerikwan:
I'm thinking the same. 20% or more during night.

For the heat problem, maybe because SD S4 Pro is an ancient chip.
[Xperia Z Original Android Development] S.N.A.P:
the heat problem, I agree

idle drain, rom problem I think, I switched to Mokee Oreo and 0% overnight or maybe more than that (12-14h 0%) and my device is 2 years old
[Xperia Z Original Android Development] MartinX3:
What's about this weird data usage problem?

It sucks my cellular data and the metadata tells me that it is the FM-Radio/Settings/AndroidOS
[Xperia Z Original Android Development] maftul:
For the life of me, I cannot reliably get a GPS fix on this ROM. I have tried 10s of times so far and got a fix maybe 2-3 times after over 15 minutes. I have left the phone outside on GPS Test for over 20 minutes multiple times and even with 9+ satellites in use, it still cannot get a fix. I am starting to wonder if I should just go back to LineageOS 14.1. Or maybe ditch my ancient phone and buy something new; the GPS on this phone was problematic from the first day.
[Xperia Z Original Android Development] sigma9988:
this crdroid build

camera FC