yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] okij:
Thanks for your reply.

See attachments. The logs were started before trying to establish Screen Cast connection to TV and were stopped after an connection was established for about 20 seconds (instable, with artifacts) and then dropped again.

OK, then the open commits #177 and #453 are already merged in you 2017-06-07 build? (They are not in the 2017-06-13 build of CarbonROM which I'm using ATM. This would also mean that [MENTION=6750693]cattolicboy[/MENTION] doesn't need my Magisk module of commit #453 if he's using the current build of LineageOS, since the commit is already included.)

Nevermind, since from my testings this issue has been fixed in commit #453.

OK, than that's fine for me too, since commit #177 obviously hasn't been merged to CarbonROM yet (as it's still marked as open on Gerrit), therefore the lowest setting I get ATM is 10 and not 7.

Not for me. In two weeks of usage the reboots only occured while being plugged in the charger and after the battery was at 100% and also just happened two times, so once a week. Besides this, the ROM is rock stable and I never had a random reboot.

Is there a way I can directly ask the LineageOS devs for this?

I don't know any device besides Sony's Xperias with a dedicated hardware camera button (see e.g. this thread). So IMHO this rather is a Z2 / Z3 / Z3c feature which should be fixed, if necessary in cooperation with the official LOS devs.

Yes, probably also a LOS thing, concerning the Snap Camera, but also should be fixed.

Exactly. So there should be a check if the camera is already in use, and if so, the camera button should capture a photo instead of opening the camera app.
[Xperia Z3 Compact Original Android Development] Robyx91:
Thanks to your report, I tried to set brightness to '2' and didn't have flickering, screen was working perfect, so: does anyone know how to set minimum brightness permanently (maybe editing a system file) so I don't have to change manually every time?
[Xperia Z3 Compact Original Android Development] tomascus:
Just because it hasn't happened to you doesn't mean it hasn't happened to others (it has). :p

I've had a reboot at around 91% not on charge with the exact same errors as those who had overnight reboots.

You can fix it and submit a patch on LineageOS gerrit, then they'll approve it there. (Yes, I know you said you weren't a programmer)

Personally for me, it's super low on the priority list and i'm lazy.

It should be merged already.

Yea probably

BTW can you send the whole logcat and the whole dmesg? need more info

Reboot phone first, let it settle a few min and try the things you did
[Xperia Z3 Compact Original Android Development] nailyk:
Yes it is a snap feature lack.

If you set something like open camera as default app both shutter button and picture button will works.
[Xperia Z3 Compact Original Android Development] okij:
I just tested it and set Open Camera as default camera app.

Pressing it once opens Open Camera, as expected (not when the screen is off or in lock screen though).

Then pressing it again in Open Camera doesn't take a picture, but just makes a short vibration which indicates that camera app is launched (which actually is already running, so I see no difference on the screen) and doesn't take a picture. Could you please check this again with LineageOS, as it might also just be related to CarbonROM?
[Xperia Z3 Compact Original Android Development] okij:
I did as you said, see attachment. I took the logs only a few seconds after the Screen Cast lost connection.

Out of curiosity: What were these errors? From what I read so far, it's a random reboot which is difficult to trace.

Indeed I'm not a programmer, so thanks for this suggestion. :laugh:

So I hope that [MENTION=6979267]nailyk[/MENTION], [MENTION=4550727]xkeita[/MENTION] and [MENTION=5621191]rcstar6696[/MENTION] will also look into the issues I've posted today. :fingers-crossed: I know that your priorities are currently on fixing the last bugs which prevent LineageOS for Z2, Z3 and Z3c become official, which is absolutely right! But I don't want to have posted these issues to no avail and I think that they deserve fixing too.
[Xperia Z3 Compact Original Android Development] nailyk:
I have no idea how screen casting works (what should I do to try? ) but from what you said it should be some codecs problems.

Yes, [MENTION=4550727]xkeita[/MENTION] made a lot of work on those thermal things. We have old device now, so, mostly for safety purpose, those values are aggressive. He keep changing them time to time, according to tests and reports. This is a really long time job as we prefer keep our device safe with dark screen/slow cpu, instead of burning them (likes it happens on my DD).

AFAICT [MENTION=4063475]derf elot[/MENTION] is currently addressing the 3am reboot one with a time daemon replacing but as am not really following the work anymore I could be wrong.

For the PIN thing there is a setting like 'quick unlock' for this. It is an android feature. Am not able to find it into 14.1 anymore. Maybe google removed it?

In lineage the camera app is Snap. Snap dont handle focus & camera button. And I think you find a bug into opencamera :p It worked before.

Maybe you should report into Carbon thread then? (At least for Carbon related bugs).

The double tap thing is a good idea but need to be into the rom, this is not device specific. Maybe you could propose it into #LineageOS or on the jira.

Yes the magnetic connector thing is annoying. I will try to handle that one when the device will be delivered.

As you said, those are improvements. We are not working on the rom itself. We bring (?) the rom without changing it. It is another team working on the features, etc.: LineageOS core dev. You could contact them on their private slack and on IRC (like the previous anwser).

About the setting thing this is android specific. Unless you find someone to change this on Lineage side, it is a google feature. Maybe they have tool to report issues/enhancement too?

Cheers
[Xperia Z3 Compact Original Android Development] okij:
I'm not sure if it's a codec problem, because the artifacts look a bit like a bad digital TV signal (picture can be good for a moment, then several squares are not being updated properly). So I rather think that the WiFi signal is to weak between the phone and the TV, but it was fine on .291 stock ROM.

To try this feature ourself you need a Smart TV or a separat box that supports Screen Casting via Wifi, also called Screen Share, Screen Mirroring or Miracast. To use it you go to Settings -> Display -> Screen Share (not sure if it's called this in the English menu, but you will find it) and activate it. It might be that on your TV you also have to activate an option for it. Then the two devices should see each other and the screen casting can be started.

In normal mode the phone screen is mirrored to TV. If you watch photos or a video on the phone, then AFAIK just the media data is transfered to TV, which produces a better picture (e.g. 1080p videos are real 1080p and not upscaled 720p) and saves some bandwith.

Yes, I understand. But as [MENTION=4550727]xkeita[/MENTION] wrote to me there is not a real reason for not merging commit #453 officially. I hope that he will merge it soon, so I don't have to use this Magisk patch anymore. ;)

I keep my fingers crossed for this. :fingers-crossed: Would it be of any help if I get a last_kmsg if I see that my Z3c has a random reboot again?

When Sony put out the first versions of Marshmallow, this feature also wasn't present anymore, but added again in the later versions.

So taking a picture with the camera button did work in LineageOS with Open Camera but now doesn't work anymore?

Of course, as long as I can distinguish what is Carbon related and what is Lineage related (since CarbonROM is built on LineageOS). I'm not sure in which part the hardware buttons are handled. Anyway, I also mentioned [MENTION=3816568]Myself5[/MENTION] in my list of bugs and missing features, so hopefully he will take notice.

Yes, maybe I should ask at #LineageOS or also ask [MENTION=3816568]Myself5[/MENTION] if this could be built into CarbonROM.

You are my hero. :cool:
[Xperia Z3 Compact Original Android Development] Myself5:
[MENTION=6979267]nailyk[/MENTION] hit me up on TG if you need some logs from that.

I vote for dark but cold instead of a bright flintstone.

It's not random. But logs never hurt ;)

See last response.

Also, in that specific case: the autofill feature opens up a security risk which is why we did not add it yet.

Try Camera FV-5. That always seemed to work well for me.

As long as you mention me I usually read it ;)

BTW, Carbon is not based on Lineage, its brought up completely from AOSP. The devicetrees are the only thing based on Lineage/the Sony-Stock-CM team trees.

Feature requests for Lineage are usually taken down. Lineage is designed to be very basic, for advanced features there is custom ROMs like Carbon ;)
[Xperia Z3 Compact Original Android Development] Sandego:
5G Wi-Fi

Maybe bug or maybe it`s a feature not realised yet:

My phone on LOS can`t see 802.11ac Wi-Fi (so called 5G), but it was avaible when I have stock 5.1 and 6 Android, Slim 5.0, Slimm and Concept.
[Xperia Z3 Compact Original Android Development] difto:
Thanks for your feedback. For all these points with the camera you mentioned they are already working.

Camera can be started from screen off or lock screen by holding the camera button BUT the LOS camera app has be be configured as the default camera (no other app or dialog asking which one you want).

Taking picture with the camera button is possible but you have to be quick because there is this bug that it will instead start another camera app (if the button is configured to start a camera app on long press), alternatively you can configure a double tap on power to start the camera (works on screen off and lock screen as well) and disable long press to start the camera so you do not suffer from this bug.

You can configure a long press on power with screen off to light the flashlight in the settings.
[Xperia Z3 Compact Original Android Development] okij:
[MENTION=3816568]Myself5[/MENTION]: Thanks for your feedback! :)

Yeah, me too. From my testings, [MENTION=4550727]xkeita[/MENTION]'s improvements on thermanager.xml are working fine, i.e. the .291 stock values he's using prevent the device from heating up too much, but also don't dim the screen more than necessary.

I don't think it's a security risk (at least just a very minor one), since if I use a 4-digit PIN, the chances are already just 1:10000 that a not authorized person can unlock my phone.

Thanks for this hint. I installed it and it looks nice UI-wise and also seems to have a good feature-set. However, as before, fully pressing the camera button does not take a picture but just starts the camera again, which is quite useless, since it's the main purpose for the camera button to take pictures (the other purpose is starting the camera app as long as it's not already in foreground). So IMHO in key event handler (or what it's called) a check is missing which does the following:

if (camera button has been fully pressed)
[INDENT]{
if (camera is already in use)
[INDENT]{
(send "take picture" event)
}[/INDENT]
else
[INDENT]{
(send "start camera app" event)
}[/INDENT]
}[/INDENT]

I hope you get what I mean. :) Don't know if this is devicetree related or if it has to be separately implemented in LineageOS and CarbonROM code.

Cheers. :)

Ah, OK, now it's clearer to me.

So I will probably stick to CarbonROM for the time being. (I'm not optimistic that Xposed will ever be released for Nougat, so in the lack of e.g. GravityBox I prefer a ROM which already has some more advanced features.) But then again, it's currently just three two CarbonROM features which I would miss in LineageOS (network traffic arrows, number of quick settings per row, turning on torch by long-pressing power button). Today I will post my suggestions on your CarbonROM thread too and see how things develop. :)

---------- Post added at 11:29 AM ---------- Previous post was at 11:21 AM ----------

Thanks for your feedback! I just posted a suggestion to [MENTION=3816568]Myself5[/MENTION] how this bug could be fixed (see above) so the behaviour is like in .291 stock ROM, so hopefully this could also be implemented in LineageOS.

Ah, nice, I didn't find this when I tried LineageOS the last time. Good to know. :)
[Xperia Z3 Compact Original Android Development] :
How can I put [MENTION=4550727]xkeita[/MENTION]'s thermanager.xml into my ROM? Or I will need to wait for a new Lineage build?

EDIT: Nevermind,managed to install it myself,will report back how it works.
[Xperia Z3 Compact Original Android Development] okij:
[MENTION=4675360]tomascus[/MENTION] yesterday wrote yesterday

so [MENTION=4550727]xkeita[/MENTION]'s new thermanager.xml should already be merged in the 2017-06-07 build!?

Could you please check if the original file in the ROM starts with

<!--
/*
** Copyright Sony Mobile Communications 2014
*/
-->

<thermanager>
<resources>
<!-- thermal zones -->
<resource name="zone0" type="tz">/sys/class/thermal/thermal_zone0</resource>
<resource name="zone1" type="tz">/sys/class/thermal/thermal_zone1</resource>
<resource name="zone2" type="tz">/sys/class/thermal/thermal_zone2</resource>
<resource name="zone3" type="tz">/sys/class/thermal/thermal_zone3</resource>
<resource name="zone4" type="tz">/sys/class/thermal/thermal_zone4</resource>
<resource name="zone5" type="tz">/sys/class/thermal/thermal_zone5</resource>
<resource name="zone6" type="tz">/sys/class/thermal/thermal_zone6</resource>
<resource name="zone7" type="tz">/sys/class/thermal/thermal_zone7</resource>
<resource name="zone8" type="tz">/sys/class/thermal/thermal_zone8</resource>
<resource name="zone9" type="tz">/sys/class/thermal/thermal_zone9</resource>
<resource name="zone10" type="tz">/sys/class/thermal/thermal_zone10</resource>
<resource name="zone11" type="tz">/sys/class/thermal/thermal_zone11</resource>
<resource name="zone12" type="tz">/sys/class/thermal/thermal_zone12</resource>

?

If this is the case, then it's still the old version which dims the screen too much when the device gets warm.

But if it starts with

<!--
/*
** Copyright Sony Mobile Communications 2014
*/
-->

<thermanager>
<resources>
<!-- thermal zones -->
<resource name="bms" type="msm-adc">/sys/devices/qpnp-vadc-18/batt_therm</resource>
<resource name="emmc_therm" type="msm-adc">/sys/devices/qpnp-vadc-18/emmc_therm</resource>
<resource name="quiet_therm" type="msm-adc">/sys/devices/qpnp-vadc-18/quiet_therm</resource>

then it's already the new version and doesn't need to be replaced.

Yes, please report back if really the old thermanager.xml is still in the 2017-06-07 build and if the new thermanager.xml works better for you.

I did the comparison on CarbonROM from 2017-06-13 which still has the old thermanager.xml (as the new one is not officially merged yet) and the new thermanager.xml works much better for me.

Did you replace it directly in /system? I made a small Magisk module for this purpose, please drop me a PM if you would like to use that too.
[Xperia Z3 Compact Original Android Development] :
I did replace it in system(/system/etc to be exact) and I actually don't see a difference,I downloaded the zip file from Gerrit and put the thermanager.xml,but I don't see a difference,but they are a different size though,the original one was 8KB and the one from Gerrit was 7KB.

And please do send that Magisk module.
[Xperia Z3 Compact Original Android Development] FlintStoned-:
Hi [MENTION=4916555]okij[/MENTION] , long press on the power button to enable flashlight, is working. It's available in the settings and buttons (little FN icon) in on / off section.
[Xperia Z3 Compact Original Android Development] okij:
Ah, OK, then obviously [MENTION=4550727]xkeita[/MENTION]'s patch set #3 already is part of the current LineageOS build (the old thermanager.xml was 12kB), so actually you don't need to do anything and already are using the stock .291 thermal values that [MENTION=4550727]xkeita[/MENTION] based his patch on.

Also I think it's not a good idea to use patch set #4 which [MENTION=4550727]xkeita[/MENTION] commited today (around 7kB in size), as at the same time he moved the definition for /sys/class/power_supply/qpnp-dc/current_max and /sys/class/power_supply/usb/current_max in his commit #567 to rootdir/init.qcom.power.rc, so now those current_max settings are not defined on your patched ROM.

I will drop you a PM with the Magisk module.
[Xperia Z3 Compact Original Android Development] k13tas:
Hello,

My camera quality is much worse compared to stock.

Is it just my device or is it the same for everyone?

Here are a few samples:

https://goo.gl/photos/RscrBjheyToeSBKh6

https://goo.gl/photos/8JEjkQ7LcByW22G18
[Xperia Z3 Compact Original Android Development] tomascus:
Looks okay to me, try clean your lens, here's a few samples:

If camera quality is still bad then i'd advise returning to stock, nothing I can do.
[Xperia Z3 Compact Original Android Development] tomascus:
See below
[Xperia Z3 Compact Original Android Development] k13tas:
Thank you for answering.

Your samples are much better than mine.

All my photos have this white overlay, looks washed out.

I guess I'll have to return back to stock... Thank you for answering and for all the work :)
[Xperia Z3 Compact Original Android Development] air32:
After a few days of usage i would like to give some feedback.

Is it correct that deleted system apps appear again after restart?

Auto-brightness seems to be a little bit slow sometimes.

Apart from this its a very smooth rom, slighty designed, good battery life and stable.
[Xperia Z3 Compact Original Android Development] shrazy:
Since it's summer my device heats up like the whole day and battery melts down. Thermal management is not good. What can we do against it?
[Xperia Z3 Compact Original Android Development] repellentskates:
Just like say [MENTION=5159164]shrazy[/MENTION] I have the same problem. Next thing that when I'm listening to the music on the bluetooth speaker, bt module randomly stop working and it is launching again after several seconds.

Wysłane z mojego Xperia Z3C przy użyciu Tapatalka
[Xperia Z3 Compact Original Android Development] xkeita:
Shut down the phone. Best. thermals. ever.
[Xperia Z3 Compact Original Android Development] shrazy:
What are you for a developer? I came here to submit a problem, which MANY users already complained about and you try to fool and blame me by disrespecting me?

On other roms the device is cool like ice. It's childish that you try to cover a massive problem by things like being disrespectful to your users and make things sound ridicoulous, because you are not able to handle the problem. You try to give em users the fool, but it is a rom problem. Instead of blaming normal users, try better to fix it or at least speak like a man with respect and give a normal answer.
[Xperia Z3 Compact Original Android Development] tomascus:
You got a crappy reply for posting feedback that doesn't help us. No detailed information, no logs, nothing. There is a big [DEVELOPMENT] tag in the title and it says it explicitly in the OP.

Trust me, it sucks having to open our threads and every time, despite asking people to not spam stuff that's not constructive or helpful, we get stuff like "bluetooth does'nt work, pls fix", or something super generic like "battery melts down. Thermal management is not good. What can we do against it?".

What you can do? You can go ahead and fix it for us: https://github.com/sony-stock-cm

It's open source, you can help by editing the thermanager.xml file in the z3c repo and cpu freq tunings in shinano-common. Hard to get the tunings right.

Afterwards I can add you in the credits for fixing it and preventing battery meltdowns.
[Xperia Z3 Compact Original Android Development] okij:
[MENTION=5159164]shrazy[/MENTION]: Sorry, but now you are very disrespectful to our dev, even if he didn't give you a proper answer in this case. :mad:

[MENTION=4550727]xkeita[/MENTION] is working really hard on the thermal manager and fine-tuning it, as you can see here.

The current patch-set 6 is based on Sony stock .291 thermal manager values, which [MENTION=4550727]xkeita[/MENTION] lowered even more in favor of keeping low temperatures.

But of course they aren't included yet in the 06-07 build from [MENTION=4675360]tomascus[/MENTION], as many changes have been made after this. If you ask him kindly and he has some spare time, he hopefully will make a new build soon.

Just two more things:

1) It is indeed a very hot summer so far, at least here in Europe, and a world climate organisation this week already gave a warning that this can become the hottest summer worldwide in the last 100 years.

2) Use some system tools like Wakelock Detector and Kernel Adiutor to check that a) there are no apps or services running heavoc in background and constantly use and heat the CPU and b) The 4 system cores all drop to 300 MHz or switch off when not in use, since there were some reports on the Z2/Z3 threads that core #2 got stuck at 2.4 Ghz, thus producing heat. If this should be the case, try a reboot or changing the CPU governor to e.g. ondemand.

P.S.: I just read that also [MENTION=4675360]tomascus[/MENTION] just posted an answer on your post.

P.P.S. Respect the devs.
[Xperia Z3 Compact Original Android Development] difto:
I do not experience thermal problems (my battery life is just not so good) and maybe I misunderstand the problem, but cannot the stock values be reused? I mean the ones from the stock firmware?
[Xperia Z3 Compact Original Android Development] tomascus:
The thing is, we are using CPUQuiet hotplugging and working with LOS and not stock, so it requires some different tunings. Hopefully I can get a build uploaded for all you guys burning in the sun in a few days.
[Xperia Z3 Compact Original Android Development] shazee666:
Hello guys.

I had TWRP 3.1 installed. And Bootloader unlocked. When I fllow the instructions and install LineageOS, I can't seem to boot into recovery. What am I doing wrong?
[Xperia Z3 Compact Original Android Development] :
Did you have the TWRP version found in the OP?

---------- Post added at 01:56 PM ---------- Previous post was at 01:40 PM ----------

I tried patch-set #6,and it works very well,currently it is very hot and everything and my screen brightness has only gone down a tiny tiny bit,loving it so far.
[Xperia Z3 Compact Original Android Development] shazee666:
No. I didn't understand how to flash the image file, before flashing the ROM. So I installed a recovery, that had a simpler install.bat file. If you can guide me, how to flash the image file posted in this post...
[Xperia Z3 Compact Original Android Development] :
And that is why your recovery dissapiered,because you installee recovery for locked bootloader devices,because when you install that the recovery actually installs into your system partition and hence you wiped it because of Lineage, and that same .bat file won't work on Lineage since that is meant for stock only.

And it is very simple to flash recovery,boot your phone into Fastboot by holding volume up while connecting your phone to the PC,and you just type to cmd "fastboot flash recovery nameofrecovery.img"
[Xperia Z3 Compact Original Android Development] shazee666:
Pretty simple. Thanks..
[Xperia Z3 Compact Original Android Development] :
Sarcastic?
[Xperia Z3 Compact Original Android Development] shazee666:
No. That REALLY helped. I can boot into recovery now. Very nice OS.

The only think troubling me is the low volume on my device. I was using Project PXBA with my initial ROM. Won't be able to run that on Lineage
[Xperia Z3 Compact Original Android Development] :
I use ARISE Opus,works very well,you should try it out.
[Xperia Z3 Compact Original Android Development] repellentskates:
I noticed that is unable to import contacts from SIM card. It's only possible by .vcf file.

Next thing that it will possible to record videos in full HD at 60fps?

Xperia Z3C, Tapatalk
[Xperia Z3 Compact Original Android Development] :
I think that would need some extra camera software and I am not sure would it even work with Lineage