<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: BUG: Android 7.0 - &amp;quot;logcat -d&amp;quot; always active with 10-20% of CPU in Android TV</title>
    <link>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362283#M21274</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Summary:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If setting log buffer to 4MB you get loads of errors and CPU usage of 10-20%&lt;/LI&gt;
&lt;LI&gt;If setting it back to the default 64KB, then all is fine.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, It might have been a long day for me today, but.....&amp;nbsp; Just leave it at 64KB (the default) is surely the solution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unless you are meaning - that setting it back to 64KB and the setting does not hold and reverts back to 4MB??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2017 20:24:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-10T20:24:40Z</dc:date>
    <item>
      <title>BUG: Android 7.0 - "logcat -d" always active with 10-20% of CPU</title>
      <link>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362084#M21264</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;A couple of weeks ago I had the bad idea of changing this setting once (Developer Option/Logger buffer size) to 4MB:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;IMG src="https://community.sony.gr/t5/image/serverpage/image-id/372625iD7F8E2B6B5B57EDC/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Bravia_2017-08 10_13.19.00.png" title="Bravia_2017-08 10_13.19.00.png" /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Because it is something usually required to do when reporting a bug with Xperia phones. Now just few minutes after reboot "logcat -d" is constantly using 10-20% of CPU:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;Mem: 1457472K used, 156240K free, 87488K shrd, 7628K buff, 239712K cached
CPU: 28.6% usr 35.4% sys  2.2% nic 33.6% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 41.30 40.21 39.63 4/2596 19622
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
17443  1277 u0_a140  S    1371m 86.7   3 22.1 {roid.youtube.tv} com.google.android.youtube.tv
&lt;STRONG&gt;18240 18218 u0_a0    R     4000  0.2   0 16.2 logcat -d&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Checking the logcat I've seen that it is spamming hundreds/thousands of this error message (and that's why the logcat CPU usage is so high):&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;08-10 13:18:18.409  8725  8725 E libc    : Access denied finding property "persist.mtk.mlog2logcat"
08-10 13:18:18.409  8725  8725 E libc    : Access denied finding property "persist.mtk.mlog2logcat"
08-10 13:18:18.409  8725  8725 E libc    : Access denied finding property "persist.mtk.mlog2logcat"
08-10 13:18:18.409  8725  8725 E libc    : Access denied finding property "persist.mtk.mlog2logcat"
08-10 13:18:18.409  8725  8725 E libc    : Access denied finding property "persist.mtk.mlog2logcat"
08-10 13:18:18.409  8725  8725 E libc    : Access denied finding property "persist.mtk.mlog2logcat"
08-10 13:18:18.409  8725  8725 E libc    : Access denied finding property "persist.mtk.mlog2logcat"
08-10 13:18:18.410  8725  8725 E libc    : Access denied finding property "persist.mtk.mlog2logcat"
08-10 13:18:18.410  8725  8725 E libc    : Access denied finding property "persist.mtk.mlog2logcat"&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;As usual it isn't suprising that it is a message coming from Mediatek (mtk) libraries..&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;If I change the setting on&amp;nbsp;the top again to 4MB and then back to 64KB the logcat error message disappears, and so it does the "logcat -d"&amp;nbsp;CPU usage. But after a reboot it comes back again. I am not sure if it comes back after a while as well, without rebooting.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;@Anonymous&amp;nbsp;I am quite sure that this time it isn't "working as designed" at all!!&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://community.sony.gr/html/@C768136DD7C3C0588BDB60EFF0C09EBB/images/smilies/004.png" alt=":yahoo:" title=":yahoo:" /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Hopefully there is&amp;nbsp;a way to remove that persist flag (which should be the default situation) without root, otherwise I must reset (again!!) to factory settings.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 11:35:44 GMT</pubDate>
      <guid>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362084#M21264</guid>
      <dc:creator>Jecht_Sin</dc:creator>
      <dc:date>2017-08-10T11:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: Android 7.0 - "logcat -d" always active with 10-20% of CPU</title>
      <link>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362283#M21274</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Summary:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If setting log buffer to 4MB you get loads of errors and CPU usage of 10-20%&lt;/LI&gt;
&lt;LI&gt;If setting it back to the default 64KB, then all is fine.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, It might have been a long day for me today, but.....&amp;nbsp; Just leave it at 64KB (the default) is surely the solution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unless you are meaning - that setting it back to 64KB and the setting does not hold and reverts back to 4MB??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:24:40 GMT</pubDate>
      <guid>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362283#M21274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-10T20:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: Android 7.0 - "logcat -d" always active with 10-20% of CPU</title>
      <link>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362392#M21279</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;@Anonymous&amp;nbsp;No, it has been more or less like this:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;Changed the option to 4MB&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;Checked few logcats&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;Rebooted the TV&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;The value goes (always)&amp;nbsp;back to 64KB&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;After few days (as soon as I've run "top") I've seen "logcat -d" taking up to 20% of CPU&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;After each reboot it doesn't start immediately. It takes minutes, maybe hours before to show up&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;To temporarily fix it:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;The value is already at 64KB&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;Change the value back to 4MB&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;Change it to nothing (I think this step must be done as well)&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;Change it to 64KB&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;"logcat -d" CPU usage goes back to normal and the error message stop spamming&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;It lasts only until next reboot&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;At least I believe it has been caused by that parameter, because changing it it stops this error message spamming:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#000000"&gt;08-11 11:10:48.592 15668 15668 E &lt;STRONG&gt;libc&lt;/STRONG&gt;    : Access denied finding property "persist.mtk.mlog2logcat"&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Also I think it is worth nothing that this is the second time I get issues with Mediatek's modified libc. The other on is with the VPN bug casuing OS reboots.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I also tried to see if I could disable it via adb shell, but the above property doesn't show in the list of defined properties in Android:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#000000"&gt;BRAVIA_ATV2:/ $ getprop | grep persist.mtk
[persist.mtk.k2mlog]: [1]
[persist.mtk.printk_level]: [0]
BRAVIA_ATV2:/ $ &lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;And then without root it wouldn't be&amp;nbsp;modifiable anyway.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;PS: Yes, I know already. I had to&amp;nbsp;leave that value alone.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 09:55:25 GMT</pubDate>
      <guid>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362392#M21279</guid>
      <dc:creator>Jecht_Sin</dc:creator>
      <dc:date>2017-08-11T09:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: Android 7.0 - "logcat -d" always active with 10-20% of CPU</title>
      <link>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362453#M21283</link>
      <description>&lt;P&gt;Ok - I think I understand &lt;img class="lia-deferred-image lia-image-emoji" src="https://community.sony.gr/html/@3191CA7235A406D833094BA2DD1CF2FF/images/smilies/011.png" alt=":slight_smile:" title=":slight_smile:" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You mentioned factory resetting the TV - have you done that yet?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 12:16:36 GMT</pubDate>
      <guid>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362453#M21283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-11T12:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: Android 7.0 - "logcat -d" always active with 10-20% of CPU</title>
      <link>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362472#M21284</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;I'm doing that now. I am quite sure it will fix the issue, because the persist properties gets stored like:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;/data/property/persist.this.is.my.property&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;And changing it once must have created it. Which should trigger the bug. Obviously I can check because it requires superuser permission just to list that directory.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Anyway, I am resetting also because I am getting random reboots in standby (again!!), picture settings going banana (once it showed HMDI 2 when changing picture settings in YouTube and other apps. Plus all kind of mess), Discovery randomly crashing and all type of hideous behaviours. I mean, very seldom (not the random reboots though. I have got at least a couple in the last two days), but annoying nonetheless. And 20% of CPU thrown away because of "logcat -d" doesn't help much either with app like Amazon Video..&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;In all honesty this is the worst version of Android I have ever had.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 13:41:38 GMT</pubDate>
      <guid>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362472#M21284</guid>
      <dc:creator>Jecht_Sin</dc:creator>
      <dc:date>2017-08-11T13:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: Android 7.0 - "logcat -d" always active with 10-20% of CPU</title>
      <link>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362667#M21293</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;I have reset the TV and now, after going into deep sleep, the Ethernet connection goes away. To fix it I have to unplug and plug the ethernet cable again. Actually I have just restarted the router (which is working as a LAN bridge connecting to the ISP router), and that restored the connection again. Let's hope that fixes it for good. It seems to me that since (at least) Android 6.0.1 the sleep/awake has serious issues. I mean, this happened immediately after resetting the TV!!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;"logcat -d" instead is not using much CPU anymore&amp;nbsp;(obviously), but the performances when watching videos (YouTube/Amazon Video) are worse than before. Not in terms of CPU usage (it's about the same I had without logcat going&amp;nbsp;nut), in terms of smoothness of play. YouTube with 1440p60fps videos microstutters a bit more than the last time I checked, and Amazon Video was an huge mess last night.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;One would hope that two months after a major OS upgrade (actually longer than that since the security patches are from April 2017) the TV&amp;nbsp;would get at least one update with major&amp;nbsp;bug fixes. I don't believe indeed that the HW of these TVs (awful Mediatek SoCs included) isn't capable enough to run Android TV. It's just that it has to deal with so many bugs that the whole system slows down always&amp;nbsp;for a different reason!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2017 08:33:24 GMT</pubDate>
      <guid>https://community.sony.gr/t5/android-tv/bug-android-7-0-quot-logcat-d-quot-always-active-with-10-20-of/m-p/2362667#M21293</guid>
      <dc:creator>Jecht_Sin</dc:creator>
      <dc:date>2017-08-12T08:33:24Z</dc:date>
    </item>
  </channel>
</rss>

