1

Every time I reboot my HTC One M8 Google Play Edition running 6.0 Marshmallow, there is a toast message that reads 'Authorization Failed' with no other information on what actually failed.

Any idea what is causing this so I can fix it?

thedude19
  • 69
  • 4

1 Answers1

2

Improvising Firelord's comment, if you are using Linux, execute in terminal

adb shell dumpsys window > log.txt

and then,

cat log.txt | grep 'TOAST'

Now, you can find the package name and app causing the problem.

Rohit
  • 31
  • 6
  • Firelord didn't post an answer but a comment because Firelord, before posting an answer, tries to make sure that the answer is to-the-point and OP doesn't end up saying, "it doesn't work". Given that OP has not replied back to Firelord's any comment, it can be assumed that either Firelord's approach didn't work or OP didn't understand it clearly or didn't consider replying back for some unbeknownst reason. In any case, further clarification is needed from OP. – Firelord Nov 18 '15 at 18:24
  • Furthermore, the reason Firelord indirectly said "look for the string" instead of suggesting 'grep' is because there isn't any evidence that OP uses a *nix based system. Another thing, your answer is nothing more than what Firelord already said. Consider detailing your answer such as what is dumpsys window doing here. Also, the command can also be adb shell dumpsys window | grep "TOAST_WINDOW". Even then, where is the package name? Show it as an example. Then again, it is the package name and not the app name. How do I find out what's the app name? – Firelord Nov 18 '15 at 18:25
  • 2
    Also, consider linking to what ADB is or how to setup it in PC, since we don't know whether OP has used it before. It appears that you've not tested the answer before posting. If you did, show us the details. That's what increases the authenticity of the answer Please follow How do I write a good answer? – Firelord Nov 18 '15 at 18:25
  • Rohit, could you expand your answer into what would fit the question or what the other user asked for? It appears that the other user isn't going to post a formal answer and thedude19 hasn't accepted this answer either. Besides, I just looked it now and I've difficulty following it. It seems bits and pieces. See if you can expand this into an easy, step by step understandable answer. That might even win you 50 points. :D –  Nov 21 '15 at 04:35