Yes, it is legal to use this mod as long as you don't share it with anyone else. Your device at any time, so you can't share your account with anyone else.