Emil CHERICHES

Emil CHERICHES

Chasing Ads

January 29, 2015 Emil C
No Comments

I hate ads. Don’t get me wrong, I understand why they’re here, I understand how the system works, I just hate when ads get in your way.

For Chrismas, Santa and my Piggy Bank decided to make me have a Galaxy S5 Duos (Duos stands for Dual SIM). It all went well, short after the new year the first Lollipop ROM could be found for the device. The upgrade went well, phone works as expected.

Several days now, it started to show me ads. Every morning and several times a day it would show me ads in full screen. In task manager it would not show so I could not tell which app is showing me the ads.

I started to remove one app per day, but the advancement would be really slow. New ads were coming. Some of them had even sound (would show me a video).

After doing some research online, I found this answer on how to see which app/activity is on screen for the time being.

The first step is to have android SDK tools installed. Download the package from here. Install, then set the proper path. To do that search for “Advanced System Properties”, chose “Advanced” tab and click on “Enviroment Variables”, double click on “PATH” and add “;C:\Program Files (x86)\Android\android-sdk\platform-tools” at the end of the line. Click OK, OK OK.

Enable developer options on your phone and check “USB debugging”

Then connect the phone, open a command prompt, and type

adb devices

Phone will ask you for the computer authorization and your command prompt window should show your attached phone.

Then you want to type

adb shell

in the shell type

dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'

This should show you the current app/activity.

When your ad shows, connect phone to your PC, type the command and…. Got ya!

capture_001_29012015_084030

Shame on you Bucharest Metro Map!

Phones & Tablets adbADSAndroid
Previous Post

Quick TIP: Postfix Reverse lookup

Next Post

Error: Can't open display: localhost:10.0

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts
  • Flash Tasmota on the Sonoff Mini – Linux user experience
  • DokuWiki a simple solution to sorting documentation
  • I discovered Wireguard
  • Using Let’s Encrypt with CentOS (for now)
  • Let’s Encrypt is Trusted
Categories
  • from the web
  • just blog
  • linux
    • Mail Server Series
  • News
  • phones
  • Phones & Tablets
  • programing
  • security
  • Smart Home
  • Tips & Tricks
  • Uncategorized
  • Web development
  • Windows
Blogroll
  • cheriches.fr
Subscribe by Email
Recent Posts
  • Flash Tasmota on the Sonoff Mini – Linux user experience
  • DokuWiki a simple solution to sorting documentation
  • I discovered Wireguard
  • Using Let’s Encrypt with CentOS (for now)
  • Let’s Encrypt is Trusted
Categories
  • Android (0)
  • from the web (3)
  • just blog (1)
  • linux (16)
    • Mail Server Series (7)
  • News (1)
  • phones (1)
  • Phones & Tablets (2)
  • programing (1)
  • security (2)
  • Smart Home (1)
  • Tips & Tricks (15)
  • Uncategorized (3)
  • Web development (1)
  • Windows (1)
Blogroll
  • cheriches.fr
Tags cloud
adb ADS aircrack-ng Android Apache apt-get CentOS Chrome ClamAV Cluster CSS Debconf debian DKIM Dovecot EasyRSA EPEL Firefox Firewall GNOME High Availability iptables KVM linux MariaDB Milter MySQL Nginx php Postfix Postfix Admin Proxy_ARP Python release Roundcube Samba SELinux Sonoff SpamAssassin ssh Tasmota ubuntu VRRP windows Youtube
Recent Comments
  • Frank on Dedicated Mail Server Hosting Multiple Domains – Step 3 – Postfix and Dovecot
  • Andrew Schott on Dedicated Mail Server Hosting Multiple Domains – Step 3 – Postfix and Dovecot
  • Emil C on Dedicated Mail Server Hosting Multiple Domains – Step 3 – Postfix and Dovecot
  • Andrew Schott on Dedicated Mail Server Hosting Multiple Domains – Step 3 – Postfix and Dovecot
  • Emil C on Dedicated Mail Server Hosting Multiple Domains – Step 3 – Postfix and Dovecot
Proudly powered by WordPress | Theme: Fmi by Forrss.
Manage Cookie Consent
We use cookies to optimize our website and our service.
Functional cookies Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage vendors Read more about these purposes
View preferences
{title} {title} {title}