I'm trying to reset the tamper flag but I can't select install and package in TWRP. This is what I'm trying to install, Nexus BootUnlocker script, its for tamper reset package. I been able to install factory ROM through adb and clear all my data. I just don't know how to install a package in TWRP through command line if possible? Is there another way? I can't touch and select anything, its not happening. I sort of see whats on the screen.
I assume you're planning on RMA'ing the phone and that's why you want to reset the tamper flag. If the issue has nothing to do with rooting of the phone ie a hardware issue, then Google won't refuse a warranty repair because of the tamper flag. I've yet to hear of anyone being refused service due to rooting. I think Google pretty much expects these phones to be rooted.
I had no problems with RMA (loose charge port). I unrooted and factory reset mine but did not reset the tamper flag.