Recently purchased the new Huawei Mobile phone Glory 8, feel, performance, beauty value are very good. As an Android development engineer, you will naturally use the real machine for daily debugging. However, this phone is not so "obedient"! Repeated attempts to open the developer options in the settings, still cannot output log.d (), LOG.V (), such as log information! In the Huawei Mobile Phone Forum found a post, said that the "project mode" to open the AP log.
Enter project mode
To start the dial-up app, type: *#* #2846579 #*#* a bunch of things.
After a few settings above, you can output all levels of log in the Logcat!
# #日志输出
Mobile Phone Engineering mode
In fact, Android phones are available to developers to test the project mode, the most open way is fixed a bunch of things to enter, mobile phone users can see their phone including IMEI, network operators, whether roaming, signal strength and whether roaming and other basic information. Of course most users will not get into engineering mode. Now let's take a look at the IMEI of my machine:
This article hopes to be able to play the role of reminders, tell you developers, if you encounter a USB connection or log can not output, remember to look at the project mode!
Xiaomi even USB does not recognize small tips
Premise:
1. Make sure your phone is connected to your computer and installed.
2, the mobile phone settings-developer mode open-USB debug mode Open
Workaround:
Dial mode enter ##717717 ##, select confirm, then phone unplugged
Once you're done, you can turn it off.
Solve the problem of unable to output debug level log in Huawei mobile phone