backport releasetool from tf700t