Header Banner
gadgethacks.mark.png
Gadget Hacks Shop Apple Guides Android Guides iPhone Guides Mac Guides Pixel Guides Samsung Guides Tweaks & Hacks Privacy & Security Productivity Hacks Movies & TV Smartphone Gaming Music & Audio Travel Tips Videography Tips Chat Apps
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
Smartphone displaying settings menu with various mechanical components in the background.

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.

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.

Screenshot of a mobile device displaying a search results page for "GravityBox" with a virtual keyboard.
How to Get All the LG G2 “Knock Knock” Features on Your Nexus 5 for Faster Sleep/Wake
App installation request for GravityBox with privacy permissions and access details.
Screenshot of a mobile device displaying a search results page for "GravityBox" with a virtual keyboard.
How to Get All the LG G2 “Knock Knock” Features on Your Nexus 5 for Faster Sleep/Wake
App installation request for GravityBox with privacy permissions and access details.

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

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.

How to Get All the LG G2 “Knock Knock” Features on Your Nexus 5 for Faster Sleep/Wake
Settings menu for lock screen features including unlock ring adjustments.
How to Get All the LG G2 “Knock Knock” Features on Your Nexus 5 for Faster Sleep/Wake
Settings menu for lock screen features including unlock ring adjustments.

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

Settings menu for GravityBox with various customization options.
Settings menu on a mobile device showing options for notification settings and battery management.
Settings menu for GravityBox with various customization options.
Settings menu on a mobile device showing options for notification settings and battery management.

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.

Apex Launcher app interface on Android with options to open or uninstall.

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.

App selection screen showing "Apex Launcher" and "Google Now Launcher" options.

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.

App settings menu on a smartphone.
Apex Launcher settings menu on a mobile device.
App settings menu on a smartphone.
Apex Launcher settings menu on a mobile device.

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

Settings menu displaying options for behavior settings on a mobile device.
Settings menu for a desktop double tap feature on a mobile device.
Settings menu displaying options for behavior settings on a mobile device.
Settings menu for a desktop double tap feature on a mobile device.

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

Menu of shortcut options on a mobile device, featuring GravityBox Actions and other utility apps.
GravityBox settings menu on Android showing options for toggling Bluetooth, media playback, brightness, and sleep mode.
Menu of shortcut options on a mobile device, featuring GravityBox Actions and other utility apps.
GravityBox settings menu on Android showing options for toggling Bluetooth, media playback, brightness, and sleep mode.

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.

Settings menu with options for customization and user preferences on a mobile device.
Desktop long press settings options on a mobile device.
Settings menu with options for customization and user preferences on a mobile device.
Desktop long press settings options on a mobile device.

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.

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.

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.

Recovery menu options on a mobile device screen.
Downloads screen on a mobile device displaying a file with a red arrow indicating selection.
Recovery mode screen for Android device displaying options for file management and system restoration.
Recovery menu options on a mobile device screen.
Downloads screen on a mobile device displaying a file with a red arrow indicating selection.
Recovery mode screen for Android device displaying options for file management and system restoration.

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.

How to Get All the LG G2 “Knock Knock” Features on Your Nexus 5 for Faster Sleep/Wake
Terms of Use Agreement on Mobile Device
How to Get All the LG G2 “Knock Knock” Features on Your Nexus 5 for Faster Sleep/Wake
Terms of Use Agreement on Mobile Device

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.

CPU settings menu with options for frequency settings, CPU optimization, and thermal throttling.
Maximum CPU frequency settings dialog.
Disk settings menu displaying options for schedule and readhead buffer size.
CPU settings menu with options for frequency settings, CPU optimization, and thermal throttling.
Maximum CPU frequency settings dialog.
Disk settings menu displaying options for schedule and readhead buffer size.

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

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

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

ElementalX installer interface showing an option to install ElementalX.
Installation completed successfully message.
How to Get All the LG G2 “Knock Knock” Features on Your Nexus 5 for Faster Sleep/Wake
ElementalX installer interface showing an option to install ElementalX.
Installation completed successfully message.
How to Get All the LG G2 “Knock Knock” Features on Your Nexus 5 for Faster Sleep/Wake

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.

The next big software update for iPhone is coming sometime in April and will include a Food section in Apple News+, an easy-to-miss new Ambient Music app, Priority Notifications thanks to Apple Intelligence, and updates to apps like Mail, Photos, Podcasts, and Safari. See what else is coming to your iPhone with the iOS 18.4 update.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!