FlexiSPY is legal to install on your own phone. If you are installing FlexiSPY onto a phone that you do not own, then you must have express permission from the device owner to do so before installing FlexiSPY.