Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save shallowlong/8403487 to your computer and use it in GitHub Desktop.
Save shallowlong/8403487 to your computer and use it in GitHub Desktop.
How to enable the "DEBUG" level log in a HUAWEI android phone (not checking the different kinds of HUAWEI phones, but should be okay to use). The problem here is that in the LogCat, the debug level logs cannot be viewed when using a HUAWEI android phone. There are several steps to activate the DEBUG level log inside a HUAWEI phone. This knowledg…
dial *#*#2846579#*#*
select 'ProjectMenu'
select 'Background Setting'
select 'Log Setting'
select 'Log Switch'
enable 'LOG on'
Select 'Log level setting'
enable 'DEBUG'
Press the 'Back' key
select 'Dump and Log'
enable 'Open Dump and Log'
Press 'Back' key 5 times to return to home screen.
Reboot the phone.
LogCat should now work.
@Angflopor
Copy link

ProjectMenu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment