Home
Nexus

How to Get All the LG G2 “Knock Knock” Features on Your Nexus 5 for Faster Sleep/Wake

Apr 2, 2014 08:13 PM
Apr 2, 2014 08:30 PM
635320277728327439.jpg

Probably one of the most sought after features of the LG G2 is its "Knock Knock" capabilities. Rather than dealing with that pesky power button, you simply double-tap portions of the screen to either sleep or wake your device.

The G2 is the Nexus 5's bigger brother of sorts, as it was developed by the same manufacturer at the same time. Aside from a slightly larger screen, most all of the internals are virtually identical to those of the Nexus 5.

Today, we'll bring the similarities one step closer by porting all of those Knock Knock features to the Nexus 5, much like Andrew showed how to do for the HTC One.

What Exactly Is Knock Knock?

Both waking the phone and putting it back to sleep can be done through a simple double-tap gesture. Depending on the screen you're currently in, the placement of this gesture varies. These are the four main Knock Knock gestures:

  • Knock On: When your phone is asleep (screen off), simply double-tap anywhere on the screen to wake it.
  • Home Screen Knock Off: From anywhere on your home screen, double-tap an empty space to turn your screen off.
  • Status Bar Knock Off: If you're in an app and the home screen is not immediately accessible to you, double-tap on the status bar at the top of the screen to put your device to sleep.
  • Lock Screen Knock Off: If you've just double-tapped the screen to wake your device, but just wanted to glance at the time or your notifications, you can double-tap again on the lock screen to put the phone back to sleep.

What You'll Need for This softMod

The custom launcher must allow home screen gestures. Nova and Apex are the most popular today, but only Apex offers the required gesture with the free version.

Step 1: Install GravityBox

From the Xposed Installer app, head into the Downloads section and search "GravityBox [KK]". Make sure to select the "[KK]" (KitKat) version, as this is the correct module for your Nexus 5. From there, tap Download and follow the prompts for installation.

635320289804417266.jpg
635320289953636245.jpg
635320290068167860.jpg
635320289804417266.jpg
635320289953636245.jpg
635320290068167860.jpg

Once installed, be sure to activate the module to get things up and running.

Step 2: Configure GravityBox

From the main page of GravityBox, tap Lockscreen tweaks. Find the option titled Enable double-tap to sleep and tick the box next to it. Hit the back button on your phone to head back to GravityBox's main settings page.

635320292672698931.jpg
635320292787543697.jpg
635320292672698931.jpg
635320292787543697.jpg

Next, tap Statusbar tweaks and tick the box for the setting labeled Enable double-tap to sleep once again.

635320293638986052.jpg
635320293814611993.jpg
635320293638986052.jpg
635320293814611993.jpg

Step 3: Install Apex Launcher

As I said earlier, this feature is available on several different launchers. For example, if you're a die-hard Nova fan who paid for a Prime Unlocker key, you can still accomplish this without switching home screen apps. But since Apex offers this feature for free, we'll guide you through this process using it as the example.

First, head on over to the Google Play page for Apex Launcher to install the home screen replacement app.

635320297060236375.jpg

Once installed, tap your phone's home button. A dialog will appear asking you to Select a home app. Tap Apex Launcher, then hit Always.

635320299248361654.jpg

Step 4: Configure Apex Settings

From the home screen, double-tap any empty space to bring up the Apex Menu, then tap Apex settings. Now head into Behavior settings on the next screen.

635320301882111823.jpg
635320302051017589.jpg
635320301882111823.jpg
635320302051017589.jpg

Scroll down a bit and hit Desktop double tap. Select Launch shortcut from the next list.

635320303464955321.jpg
635320303605861802.jpg
635320303464955321.jpg
635320303605861802.jpg

On the next screen, select GravityBox Actions, then scroll down to the bottom of the list and tap Go to sleep.

635320304507112154.jpg
635320304645236536.jpg
635320304507112154.jpg
635320304645236536.jpg

Since we've now overtaken the gesture that normally takes you into Apex settings with our Go to sleep function, we'll have to add a new way to access this menu in case we need to in the future.

Tap Desktop long press, then select Show Apex menu. This will allow you to get back into these settings by long-pressing any open space on your home screen.

635320306580704762.jpg
635320306707424102.jpg
635320306580704762.jpg
635320306707424102.jpg

Step 5: Download the ElementalX Kernel

In order to get the Knock On features, we'll need to install a custom kernel. ElementalX offers a nice, graphical installer interface that will walk you through enabling Knock On.

For those of you using the stock firmware, or any other AOSP-based ROM on your Nexus 5, hit this link to download the kernel. If you are using CyanogenMod, tap this link instead.

If you are unsure of which file to download, go to Settings, then tap About Phone. If the entry under Android Version says Cyanogen Version, use the second link. Otherwise, use the first link.

Step 6: Boot into Recovery

Once you've got the kernel file downloaded, long-press the Power button on your phone. Select Power Off, hit OK, then wait for the screen to go completely black.

Next, hold the Volume Down button with one finger, then hold down the Power button with another. On the screen that appears, tap the Volume Down button twice to select Recovery mode, then tap the Power button.

Step 7: Install the ElementalX Kernel

Now that you've booted into TWRP Recovery, be sure to make a backup of your existing setup if you haven't already done so, then hit the Install button. Navigate to your Download folder to find the ElementalX installer file. Tap that, then swipe the graphic on the bottom to start the install process.

635320320924767588.jpg
635320321160394552.jpg
635320321890550245.jpg
635320320924767588.jpg
635320321160394552.jpg
635320321890550245.jpg

These next several screens are the ElementalX installation GUI. They allow you to configure several optional settings. Tap Next, then tick the box next to I agree with these Terms of Use and hit Next again.

635320324191956868.jpg
635320324368048949.jpg
635320324191956868.jpg
635320324368048949.jpg

Most of these options can be left on their default values for our purposes today. Tap Next without making any changes to these pages until you arrive at a screen titled Sleep/Wake Settings.

635320326988362117.jpg
635320327148831699.jpg
635320327325548950.jpg
635320326988362117.jpg
635320327148831699.jpg
635320327325548950.jpg

From the Sleep/Wake Settings page, tick the box next to DoubleTap2Wake fullscreen. Then hit Next two more times.

635320328636174242.jpg
635320328853204954.jpg
635320328636174242.jpg
635320328853204954.jpg

Tap Install ElementalX to finish the process, then tap Next and Finish. On the following screen, hit Reboot System.

635320330502431445.jpg
635320330684299380.jpg
635320330830881731.jpg
635320330502431445.jpg
635320330684299380.jpg
635320330830881731.jpg

Touring the Knock Knock Features

Once you're booted back up, you will be ready to use all of the Knock Knock features. Double-tap the screen to wake your Nexus 5, then double-tap the lock screen, home screen, or status bar to put it back to sleep.

If you decide to return to your Power button for sleep and wake functionality, simply deactivate GravityBox, turn of the features in Apex, and flash the stock Nexus 5 kernel from recovery.

If you really dig the Knock Knock features, try combing them with the entire LG G2 look and feel. Check out the full guide on turning the Nexus 5 into an LG G2 clone by Jesse for more info.

Comments

No Comments Exist

Be the first, drop a comment!