after I rooted my phone with the saferoot method, the Knox flag stayed 0 but I have the system status set to 'custom'.
Now I want to return the phone for a warranty case and I want to erase all my data and unroot it. I have read all the posts but I don't get a definitive answer for this. Additionally I have changed my dpi and installed wanam which I used to modify the look. This all means that my system files have been modified, so I can't just do a factory reset.
From what I read, I should remove wanam, busybox, supersu, or use the saferoot unroot script, but as I said, my system files are modified and I dont think this would be enough to set the status to official. I also read that I should use a no-wipe rom, but I cant find the specific rom same as my current firmware, and I'm not sure how I should flash it, from stock recovery or else?
so basically, how do i completely return my phone to stock with status official with currently modified system files?
my current AP is N7100XXUEMK9, CP: N7100XXUEMJ9 and CSC: N7100DBTEMK2, this is all just in case someone needs them. can anyone help me? thanks.