I want to unlock bootloader install twrp, flash xposed and magisk zip files through twrp. Flash the stock roms recovery again relock the bootloader to be able to use those mods.
Is this possible, i think it was as i've seen it suggested before however issue here is lots of phones delete data during the unlock relock, so that would remove all the mods relocking it defeats the point.
Also my current phone the Samsung S7 Edge, has factory reset protection. I have to unlock the bootloader to flash, tho if i lock the bootloader after flash. Reboot it is permantly stuck on a screen saying locked with factory reset protection in red.
Only way out of this is to go into download mode and flash stock through odin. So i'm guessing Samsungs factory reset protection, ontop of data be deleted even more impossible.
Samsung has dm-verity so magisk or a file to remove dm-verity has to be flashed or rom won't boot.
Maybe i can root without twrp and use flashify, i don't no if it can install xposed magisk.
Looking for suggestions of phones this could work with.