The Problem

Glance is a lock screen content and ad platform preinstalled on many Motorola and Samsung phones. It hijacks your lock screen with news, shopping prompts, and sponsored content. Motorola often enables it during setup, and it can nag you to turn it back on after you disable it.

On Motorola devices it typically runs as com.glance.lockscreenM (bundled as GlanceSpacesMotorola). Samsung uses com.glance.ailockscreen. Neither behaves like a normal app you can fully uninstall from Settings.

What You Need

  • A computer with Android platform-tools (adb)
  • USB cable
  • USB debugging enabled on the phone (Settings → About phone → tap Build number 7 times → Developer options → USB debugging)
  • Tap Allow when the RSA fingerprint prompt appears on the phone

Quick Fix (Script)

Download the script from this page, make it executable, and run it with your phone connected:

android_remove_glance.sh

chmod +x android_remove_glance.sh
./android_remove_glance.sh

The script:

  1. Waits for an authorized ADB device
  2. Turns off state_glance_lockscreen and state_space_lockscreen
  3. Removes Glance packages for your user profile
  4. Clears leftover app data

Manual Steps

Connect the phone and verify ADB sees it:

adb devices

Disable the lock screen toggles:

adb shell settings put secure state_glance_lockscreen 0
adb shell settings put secure state_space_lockscreen 0

Remove Glance for your user (Motorola package shown; use com.glance.ailockscreen on Samsung):

adb shell pm install-existing --user 0 com.glance.lockscreenM
adb shell pm uninstall --user 0 com.glance.lockscreenM
adb shell pm clear com.glance.lockscreenM

If pm uninstall reports not installed for 0, try disabling it first:

adb shell pm disable-user --user 0 com.glance.lockscreenM

Verify

adb shell pm list packages | grep -i glance
adb shell settings get secure state_glance_lockscreen
adb shell settings get secure state_space_lockscreen

You want no active glance packages and both settings returning 0. Lock your phone and wake it once to confirm the lock screen is clean.

Caveats

Without root, the APK stays in the factory system partition. It is removed for your user profile and should not appear on the lock screen, but a factory reset or major OTA update can bring it back. Re-run the script if that happens.

Glance may also show full-screen prompts asking you to re-enable it. Decline those, or run the script again.

Tested On

Device Package Result
Moto G Power 5G (2023) com.glance.lockscreenM Removed for user 0 via ADB

If this post helped you, consider supporting the work:

Donate

Previous Post Next Post