NFCGate https://github.com/nfcgate/nfcgate cd /d/root_nexus_5x adb reboot bootloader fastboot oem unlock fastboot format userdata fastboot -w fastboot boot twrp-3.7.0_9-0-bullhead.img adb reboot bootloader fastboot oem unlock fastboot flash recovery twrp-3.7.0_9-0-bullhead.img fastboot format userdata fastboot -w #fastboot reboot bootloader restart in recovery + press Power + Vol - Stop rigth after the TWRP start. Install of Lineageos using TWRP: Download the ZIP from : https://lineageosroms.com/bullhead/ Then put it on the device. Use install menu on TWRP Install Magisk https://github.com/topjohnwu/Magisk/releases https://topjohnwu.github.io/Magisk/install.html adb install Magisk.v26.3.apk Unzip LineageOs, get the boot.img file. Put it on the device, use Magisk to patch the image. adb pull /storage/emulated/0/Download/patched_boot.img Get the patched file name adb shell ls "sdcard/Download/magisk_patche*" adb pull sdcard/Download/magisk_patched-26300_2QeAq.img adb reboot fastboot fastboot oem unlock fastboot flash boot magisk_patched-26300_2QeAq.img fastboot reboot install Magisk Again, and launch it. Install QRCode reader. https://m.apkpure.com/fr/qr-code-reader-qr-code-bar/com.tohsoft.qrcode Install LSPosed https://github.com/LSPosed/LSPosed/releases https://github.com/LSPosed/LSPosed/releases/tag/v1.9.1 Take the : LSPosed-v1.9.1-6990-zygisk-release.zip Put the file in the device, then install it using Magisk. Install NFCGate https://github.com/nfcgate/nfcgate/releases NFCGate Server https://github.com/nfcgate/server Links https://xdaforums.com/t/guide-unlock-root-flash-for-nexus-5x.3206930/ https://www.androidweblog.com/root-nexus-5x-lg-h791-install-twrp-recovery/ Magisk https://xdaforums.com/t/magisk-the-magic-mask-for-android.3473445/ https://topjohnwu.github.io/Magisk/install.html TWRP https://dl.twrp.me/bullhead/twrp-2.8.7.2-bullhead.img.html Lineage Os https://rootmygalaxy.net/root-access-on-lineage-os/ NetHunter https://www.kali.org/get-kali/#kali-virtual-machines