Monday, November 6, 2017

Check the source of a toast message



Notifications have a handy feature where lo g pressing brings up the App Info option, which let's you track down the source of strange notifications.


I keep getting toast messages and I can't figure out where they're coming from. Is there any way to track down what app is sending them?



Answer



This is possible on rooted devices with Android 4.0.3 or later. It requires installation of Xposed framework and a module called "Buttered Toast". This module appends the name of the app to the text of the toast message.



  1. Download and side-load the latest version of Xposed module installer from here.

  2. Open the Xposed Installer app, tap on "Framework", and tap on "Install/Update" button. This copies all the necessary libraries and scripts to the /system partition.

  3. Reboot your device.

  4. Once the device boots back up, open the Xposed Installer app, tap on "Download", tap the search button (looks like a magnifying glass) on top-right, and type in "buttered toast" (without quotes).

  5. The module should be listed under the "Not Installed" section. Tap on the "Buttered Toast" module, tap on the "Versions" tab, tap the Download button. This downloads the module.


  6. Once the module downloads, it will attempt to install itself. Tap the "Install" button on the presented dialog, and then tap the "Done" button to get back to Xposed Installer app.

  7. Go back to Xposed Installer's main screen, and tap on "Modules". Tap the empty check-mark next to the "ButteretToast" module to activate it.

  8. Close the Xposed Installer app and reboot your device.


Once the device boots up again, all the toasts will have their corresponding app's name added in the beginning. You may also want to install a similar "Burnt Toast" module (repeat steps 4 through 8 for this module,) which also adds the app's icon into every toast.


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...