For details, refer to: http://www.yanzizhu.org/2010/05/htc-desire-rom-diy-1/ 1) download JDK and install, and then set the Java environment. JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk6-jsp-136632.html environment variable configuration: http://blog.csdn.net/huanghm88/archive/2009/03/07/3965218.aspx. 2) download the auto-sign signing tool and unzip it to any directory; atuo-sign: http://www.yanzizhu.org/mydisk? Compressed file; 6) This file is a signed refresh (as big as before not signed ).
Note 1:
When I test auto-sign, I will randomly Add a zip package for signature. The following error will be prompted:
Java. lang. nullpointerexception <br/> at com. android. signapk. signapk. adddigeststomanifest (signapk. java: 179) <br/> at com. android. signapk. signapk. main (signapk. java: 325)
Therefore, only ROM can use auto-sign for signature operations.
NOTE 2:
I used to think that WinRAR can only compress rarfiles. In fact, WinRAR can also compress ZIP files. You only need to select RAR and ZIP files on the compression interface, as shown in: