Skip to content

Instantly share code, notes, and snippets.

@sverweij
Last active August 29, 2015 14:06
Show Gist options
  • Save sverweij/1c91ecc803d7d89b6120 to your computer and use it in GitHub Desktop.
Save sverweij/1c91ecc803d7d89b6120 to your computer and use it in GitHub Desktop.
Block sony xperia "What's new" sweep gesture. Without root.

Pre-requisites

  • developer options switched on on phone
  • adb installed on computer (macosx: brew install android-platform-tools)

Steps

  • switch on debugging on the phone
  • connect the phone to the computer
  • start the adb shell

💬 input:

adb shell

💻 expected output:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

💬 input:

pm block com.sonymobile.advancedwidget.entrance

💻 expected output:

Package com.sonymobile.advancedwidget.entrance new blocked state: true

Optional: for good measure you can switch of sony select too

💬 input:

pm block com.sonymobile.advancedwidget.sonyselect

💻 output:

Package com.sonymobile.advancedwidget.sonyselect new blocked state: true

💬 input:

reboot

expected:

The phone reboots. After reboot, the "what's new", should be gone. Test by sweeping from the home button about a centimeter or three north-west. If "what's new" doesn't start you were successful.

@Duc
Copy link

Duc commented Oct 13, 2014

Woaw. Thanks mate ! "What's new" is removed. Any idea how to customize this "long press home button" menu and put my own shortcut inside it ?

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