Search for:

Google released its new flagship phones Pixel 2 and Pixel 2 XL earlier this month and the kind of response these phones are getting is exceptional. The previous in the series Pixel and Pixel XL were good in the market but the impact of this year’s Pixel phone was something else. These are taking Apple and their new phones head on in the IT industry. Google has removed the headphone jack despite mocking Apple for doing it in their iPhone 7 to make the phone slimmer. Another exciting feature added was Active Edge feature. You can launch Google Assistant or silence a phone by squeezing your phone. But it does not allow you remapping the Active Edge to use it for anything else other than Google Assistant.

Active Edge will only work when default assistant is Google assistant as hard-coded in to the SystemUI by Google. But it was only a matter of a time when a workaround for this would have appeared. Developer always find these kinds of things entertaining and try to find the hack as soon as possible which they have already done for the Pixel’s Active Edge functionality as well. Read ahead to find how you can remap the Active Edge to your liking.

Google Pixel 2 Active Edge Remap

Thanks to flar2 a developer on xda-developer who used Accessibility Services and system logs to override this functionality in an app called Button Mapper. You can now assign your own function against the Active Edge. It does not mean that you have completely done this, the Active Edge will still open Google Assistant on squeeze but you can open other things as well using the squeeze functionality. Following are the steps to remapping your Active Edge in Pixel 2 and Pixel 2 XL.

 

Remapping Active Edge on Google Pixel 2 and Pixel 2 XL

Below we have mentioned the complete steps for remapping the Active Edge feature found on Google Pixel 2 and Pixel 2 XL.

Step 1 – Make sure Fastboot is configured and properly installed on your computer. How? See here: How to Set Up ADB and Fastboot with Android SDK.

Step 2 – Install Button Mapper App version 0.53 or higher.

Step 3 – Enable USB debug and OEM Unlock option from the device settings > going to About section > Tapping Build Number multiple times to unlock Developer Options. Then from Developer Options, check the mentioned settings.

Step 4 – Once you have installed the Button Mapper app, tap the icon to launch. A setup pages will appear and at the bottom enable the Accessibility Service for the app.

Step 5 – You phone will redirect you to Accessibility Service page. Tap the service for Button Mapper to turn it on.

Step 6 – Now go back to Button Mapper app, select Active Edge under Buttons header and tap customize.

Step 7 – The app will then ask you to connect your phone to your PC and run a script. So let’s do exactly that.

Step 8 – Connect Your Google Pixel 2 or Pixel XL 2 to your PC via USB.

Step 9 – Launch the ADB command interface on your PC. (it could be command prompt window or a terminal)

Step 10 – Type the following command in the command prompt/terminal window and hit Enter.

adb shell sh/data/data/flar2.homebutton/keyevent.sh

Step 11 – A script will run in the background against this command granting permissions to read system logs which is required by the Button Mapper. You have to this once unless you want to reinstall the app.

Step 12 – Restart the app as Button Mapper will show a prompt.

After restart you will able to customize the Active Edge to use as you want.

How are you using the Active Edge? Let us know in the comments right below!

Author

Uzair loves technology, internet and gadgets. Follow him at Twitter @uzairfreak for daily interesting Android apps and guides. He is a regular contributor at other tech publications.

Write A Comment