Someone figured out how to remap Active Edge on the Pixel 2

Not today, robots.
 By 
Monica Chin
 on 
Someone figured out how to remap Active Edge on the Pixel 2
NEW YORK, NY - OCTOBER 19: Google's new Pixel 2 phone sits on display at a New York City pop-up shop on October 19, 2017 in New York City. The temporary store in the Flatiron neighborhood of Manhattan sells and demonstrates such Google products as the new Pixel 2 phone, home speakers, pixel Buds, and the Daydream View VR headset. (Photo by Spencer Platt/Getty Images) Credit: Getty Images

You probably already know you can squeeze the sides of your Pixel 2 to activate Google Assistant.

It turns out that this feature, Active Edge, can be configured to activate any function you'd like.

The process, which was pieced together by an ambitious XDA forum developer, is incredibly complicated. It doesn't technically change the function of Active Edge; it just makes your phone do something else when it senses that Google Assistant is about to pop up.

Here's how to do it: You'll need your computer, a USB connector, and a good chunk of time.

1. Download the application Button Mapper from Google Play, and open it.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

2. At the bottom of your screen, you'll see an option to enable Button Mapper's accessibility service. Do so.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

3. You'll be redirected back to the Button Mapper app. Tap Buttons > Active Edge > Customize. You'll be prompted to connect your phone to a computer and run a script.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

4. Go to Settings > System > About Phone. Tap Build Number seven times. You'll be informed that you are now a developer. Congratulations!

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable
Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

5. Pop back into System > Developer Options, which is now a thing you can access. Enable USB Debugging.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

6. Here's where it gets tricky. You now need to install Android Debug Bridge on your computer. Download the appropriate ADB file for Mac, Windows, or Linux.

7. Open the Terminal and enter "cd /path/to/extracted/folder" without the quotation marks, plugging in the location of the folder you just downloaded.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

8. Plug your phone into your computer. Swipe down from the top of your screen to change your UBS connection to "File Transfer."

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

9. Head back to the Terminal. Execute "adb devices", and allow USB debugging when prompted. Then, run the following command: "adb shell sh /data/data/flar2.homebutton/keyevent.sh".

10. On your phone, when prompted, restart Button Mapper.

11. When Button Mapper re-opens, select Customize, and choose the feature you want.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

If you've made it this far, congratulations! You've now replaced that annoying Assistant with something more useful.

Mashable Image
Monica Chin

Monica wrote for Mashable's Tech section with a focus on retail, internet of things, and the intersections of technology and social justice. She holds a degree in creative writing from Brown University, and has previously written for Dow Jones Media, the New York Post, Yahoo Finance, and others. In her free time, she can be found attempting to cook Asian food, buying board games, and looking for new hobbies.

Mashable Potato

Recommended For You

Samsung Galaxy S26 will have ‘pixel level’ privacy feature, Samsung confirms
Samsung Galaxy S25 from the rear

Hands-on with Google Pixel 10a: A budget phone with a completely flat backside
google pixel 10a phone in blue

Google’s ‘Project Toscana’ could bring Face ID to Pixel phones
A Google Pixel 9a during the Pixel Content Capture event

Verizon is giving away the new Google Pixel 10a for free — here's how to get yours
Google Pixel 10a in hand

More in Tech

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone


What's new to streaming this week? (April 3, 2026)
A composite of images from film and TV streaming this week.

NYT Connections hints today: Clues, answers for April 2, 2026
Connections game on a smartphone
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!