Jump to content

LMY47I: Decrypt and (optionally) add double-tap to wake on your Nexus 6


Guest PaulOBrien

Recommended Posts

Guest PaulOBrien

The Nexus 6 is a nice little device (OK, I lied, it's GARGANTUAN), but there are two things that have bugged me about it so far. The first is the mandatory encryption. I get that encryption is good, but at least let me choose whether I want uber-security or decent performance. The second is the lack of double tap to wake, instead replaced by ambient mode. It's an inconsistent experience compared to my other Nexus, the Nexus 9, which is a bit annoying.

 

So here's a solution.

 

I have created 2 boot images, the first simply makes encryption optional, the second does this AND adds double tap to wake. They are otherwise stock, so for DT2W in particular, this a good way of enabling it without needing root on the device. Note: I am aware other optional encryption images are out there, but I like to make my own so I know what's going in. :)

 

In order to use these images, you need a Nexus 6 running the LMY47I ROM and an unlocked bootloader. Note that decrypting your device will wipe it. You'll also need the ADB and Fastboot tools.

 

To get up and running...

  • Download the images from this link: DOWNLOAD (ROMraid)
  • Reboot your device to bootloader with the command 'adb reboot bootloader'
  • Wipe your device with the command 'fastboot flash userdata userdata.img'
  • DECRYPT ONLY: Flash the boot image on your device with the command 'fastboot flash boot boot.noenc.img'
  • DECRYPT AND DT2W: Flash the boot image on your device with the command 'fastboot flash boot boot.noenc.dt2w.img'
  • Reboot your device with the command 'fastboot reboot'

Simple?

 

You can check the encryption status in the 'security menu' and remember that you should not apply OTA updates without modifying them for no encryption first - should you accidentally apply a normal boot image, it will encrypt your device and you'll be back to square one. :)

 

 

 

 

n6ssencrypt.png

 


View full item

Link to comment
Share on other sites

  • 5 months later...
Guest PaulMilbank

How did you add the double tap to wake? I am trying to find a guide to follow to add it to the kernel. I have also been looking through the committs on github for various kernels, but I can't find a definitive commit where there was no tap to wake and then it got added so I can see what was changed. Do you have your changes on github?

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.