"Cannot run on a rooted device"...why not? I can't fathom what "security" my washing machine needs that a rooted device doesn't provide. Please share specifics, unless there aren't any real reasons, and you've just copied and pasted code and told your boss "hey, look what I did!" Just a warning that this is a deceptive trade practice. I was not informed, when purchasing my washing machine and dryer, that I could not use my smart appliances on a rooted device. You're welcome to correct this.