Is it possible to lock my phone without losing the system data it has? I had previously unlocked my Nexus 6p to get root access, and have since despised the big yellow warning sign reminding me that my device is unlocked every time I restart my phone. I have downloaded over a hundred apps as well as movies, music, and other files that I don't want to lose, so factory resetting is not an option. I am running Android 7.1.1 Nougat with a TWRP custom recovery.

  • You could just do a backup and restore it afterward. Commented Dec 27, 2016 at 0:52
  • I'd rather keep my data completely if it is so possible. Commented Dec 27, 2016 at 0:55
  • "big yellow warning" you could just flash another bootlogo...
    – xangua
    Commented Dec 27, 2016 at 2:08
  • It would be great if that were possible. I don't believe it removes the yellow icon though. Commented Jan 6, 2017 at 20:38

1 Answer 1


On Nexus 6P the bootloader relocking method is contains the Factory Reset, there is nothing to do.

If you are trying to relock your device you should see a screen like this: image.

If you want to keep your files and data you should make a backup and when your device bootloader agian locked you restore it.

This is a normal behaviour but for example on OP2 there is a method to keep your data in save during the bootload relocking procedure.

  • 1
    I believe that the OP2 method is to unlock. Will it work the same for locking? Commented Dec 27, 2016 at 17:08
  • In the linked article there is a paragraph named: "UNLOCK/LOCK BOOTLOADER WITHOUT WIPING DATA​" so I guess it's a bidirectional method. Commented Dec 27, 2016 at 20:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .