First, you must be unlocked. You can follow the instructions here for making that happen.
If you are first starting, you should first unlock, then install this ROM, and THEN install Magisk for root or any other addons. This rom uses addon.d to preserve Magisk and any other addons, but any system modifications like Magisk, gapps, etc, that you have installed prior to this ROM will NOT be preserved.
If you've already unlocked and installed Magisk, then after installing this ROM you need to reinstall Magisk in TWRP.
Beyond that, Magisk and any other addons will be preserved as you flash newer roms. Consequently, if you would like to remove root, you will need to wipe /system in TWRP prior to installing this ROM. That will prevent it from being restored when installing the ROM.
- It is extremely important you never reboot after a failure. If recovery is hung, you can use adb shell to run Code:
- It is also extremely important to never reboot after wiping /system.
- If you wind up bricking, you will most likely have to follow the original unlock instructions again to get it recovered.
Thanks to @k4y0z, @xyz`, and @hwmod for the unlock.
Changelog and Downloads: