<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Martin Alurralde on Medium]]></title>
        <description><![CDATA[Stories by Martin Alurralde on Medium]]></description>
        <link>https://medium.com/@conexur?source=rss-4f403e14b42------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*QMXmgu-oHU6-pXDG.</url>
            <title>Stories by Martin Alurralde on Medium</title>
            <link>https://medium.com/@conexur?source=rss-4f403e14b42------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 01:51:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@conexur/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to restore Logcat access on Huawei phones]]></title>
            <link>https://conexur.medium.com/how-to-restore-logcat-access-on-huawei-phones-ecae9e1fe4cf?source=rss-4f403e14b42------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecae9e1fe4cf</guid>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[logcat]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[huawei]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Martin Alurralde]]></dc:creator>
            <pubDate>Wed, 21 Apr 2021 00:21:08 GMT</pubDate>
            <atom:updated>2021-04-21T00:21:08.358Z</atom:updated>
            <content:encoded><![CDATA[<p>For Huawei with Android 8.0+</p><p>We must dial the code: <strong>*#*#2846579#*#*</strong>and selecting the option <strong>AP Log</strong> will be enough to display the messages in the LogCat.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*7_LpL8TvBFlDeCdH.png" /></figure><p>I have a <strong>HUAWEI Y3 II</strong> aka <strong>LUA-L21</strong>.</p><p>The <strong>accepted answer didn’t work for me</strong>. It led to some <em>MTKLogger</em> settings screen, which is different than described in the answer, and didn’t help at all.</p><h3>My solution</h3><ol><li>Dial <strong>*#*#2846580#*#* </strong>(please note this code is different from the one in the accepted answer)</li><li>You just entered a settings screen called <em>EngineerMode</em> (again, different from accepted answer’s <em>ProjectMenu</em>)</li><li>In the first <em>Telephony</em> tab, click the <em>Log Control</em> item</li><li><strong>Activate both switches</strong> (set <em>Mtklog control</em> to <em>catch all log</em> and <em>adb radio log</em> to <em>catch radio log by adb</em>)</li><li>Back in the previous screen, swipe to the <em>Log and Debugging</em> tab</li><li>Open <em>Debug Utils</em></li><li>Change <em>Debug Level</em> from <em>User Mode</em> to <strong>Engineer Mode</strong></li><li>For good measure, <strong>restart your phone</strong></li></ol><h3>Screens</h3><p>Changing <em>Log control</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/0*2Lc7vPh--4bxiby7.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/0*5v_ZwKA4aLjunlC_.png" /></figure><p>Changing <em>Debug utils</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/0*Ed1ekWF1vG4zmRL-.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/0*lcTx8RJ7LuMYBa-b.png" /></figure><h3>Additional notes</h3><p>Just to clarify my original problem; logcat was showing <strong>some</strong> of my app’s log entries, just <strong>not my own messages</strong> — I saw entries belonging to my process com.example.myapp, but never anything I was printing out myself, in my code, using Log.d(&quot;TAG&quot;, &quot;hello world&quot;);</p><p>There was plenty of stuff like this:</p><pre>4260-4270/com.example.myapp I/art: Debugger is no longer active<br>4260-4412/com.example.myapp I/System.out: [CDS]rx timeout:1<br>4260-4412/com.example.myapp D/NativeCrypto: doing handshake ++<br>4260-4603/com.example.myapp D/OpenGLRenderer: Flushing caches (mode 0)<br>4260-4603/com.example.myapp D/Surface:  Surface::disconnect(this=0xb85285d8,api=1)<br>4260-4260/com.example.myapp D/ActivityThread: ACT-STOP_ACTIVITY_HIDE handled : 0 / android.os.BinderProxy@2333cbdf</pre><p>…but never anything like this:</p><pre>4260-4603/com.example.myapp D/MainActivity: hello from onCreate!</pre><p>The above steps solved the issue for me.</p><p>For Huawei CRO-L22 and some other Huawei with MTK works code for engineer mode <strong><em>#*#14789632#*#</em></strong></p><p>Thanks! #*#14789632#*# works on Y5 Lite (CRO-L03)</p><p><a href="https://stackoverflow.com/questions/18124334/huawei-logcat-not-showing-the-log-for-my-app">https://stackoverflow.com/questions/18124334/huawei-logcat-not-showing-the-log-for-my-app</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecae9e1fe4cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>