Oneplusだとboot.img抜き出すの面倒だから初回以降は下の方法でroot維持してるわ
Magisk初回導入
https://topjohnwu.github.io/Magisk/install.html
Magisk保持したままOTAアプデ
https://topjohnwu.github.io/Magisk/ota.html