Device Name: Lenovo K3 Note 
OS: Lineage OS 14.1 (Android 7.1)
Recovery: CWM ; Accessible
Bootloader Status: Unlocked and Accessible
Root Status: Rooted
Accessible via adb

I used the Android's Encrypt Device option to Encrypt my device. The Encryption Process went smoothly with no errors. The device then rebooted and asked for pattern. After I entered the pattern, the device starts booting but never completes booting. While it is stuck in the boot animation, it is accessible via adb. I can also access the recovery and bootloader via adb reboot recovery and adb reboot bootloader.

I tried clearing cache and dalvik. Both proved of no use as the problem persists. The only app that I can think that might be interfering is SnooperStopper. I however can not uninstall it via adb as it is a Device Administrator.

Is there a way to either decrypt my device via adb or to boot it successfully.

EDIT: I found that there is a missing link from /mnt/user/0/primary -> /data/media/0/ which broke the symlinks /sdcard/ and /storage/self/primary/. Manually creating the symlinks however proved of no use nor did adding them to start-up by adding the command to /data/local/userinit.sh which was called by /etc/init.d/90userinit.

  • 2
    You will almost certainly need to wipe the device and start over. Commented Aug 14, 2017 at 12:35
  • I added an edit. Maybe that would help.
    – Ceda EI
    Commented Aug 15, 2017 at 4:12

1 Answer 1


I finally ended up wiping my device and then restoring from a backup.

You must log in to answer this question.

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