Rooting Nexus 6 7.1.1

There are 6 simple steps for rooting Android 7.1.1 for nexus 6:

1 adb reboot bootloader
2 fastboot oem unlock [YES]
3 fastboot flash recovery twrp-3.2.1-0-shamu.img

https://dl.twrp.me/shamu/twrp-3.2.1-0-shamu.img.html

4 go to recovery
5 adb push .\SuperSU-v2.82-201705271822.zip /sdcard/

https://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.82-201705271822.zip

6 in recovery install SuperSUfrom sdcard
7 done.

SQlite – enable log events and see it in logcat

Create .bat file with commands provided below:

adb shell setprop log.tag.SQLiteLog V
adb shell setprop log.tag.SQLiteStatements V
adb shell su 0 stop
adb shell su 0 start

After You execute app, You (in this case) emulator will reboot.

Now search in logcat something like this below:

/data/user/0/{APP_PACKAGE_NAME}/databases/{APP_DATABASE_NAME}