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.
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.
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.
Once installed, be sure to activate the module to get things up and running.
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.
Next, tap Statusbar tweaks and tick the box for the setting labeled Enable double-tap to sleep once again.
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.
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.
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.
Scroll down a bit and hit Desktop double tap. Select Launch shortcut from the next list.
On the next screen, select GravityBox Actions, then scroll down to the bottom of the list and tap Go to sleep.
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.
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.
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.
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.
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.
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.
From the Sleep/Wake Settings page, tick the box next to DoubleTap2Wake fullscreen. Then hit Next two more times.
Tap Install ElementalX to finish the process, then tap Next and Finish. On the following screen, hit Reboot System.
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.
Keep Your Connection Secure Without a Monthly Bill. Get a lifetime subscription to VPN Unlimited for all your devices with a one-time purchase from the new Gadget Hacks Shop, and watch Hulu or Netflix without regional restrictions.