It works also in Android 7! I have a curiosità, if i rooted my phone i cannotto received OTA update (because the phone stucks in boot screen). How Can i remove the Root?
Do factory reset firstly but if don't help you need use SPFT and flash phone to remove root. When you will be using SPFT to remove root access you can uncheck recovery partition to save TWRP.
But when you got update through to FOTA you still can update but before you need perform factory reset. Settings - backup and reset - factory data reset.