See:/avatar/item/3803220e9c82b314cd34eeeb for the configuration of JDK environment variables.
smali-2.0.jar
Download address: /files/smali-2.0.jar
Bacchus Mali -2.0.jar
Download address:/files//files /files/baksmali-2.0.jar
Please extract all the frame files from the rom of the mobile phone and put the files to be decomposed in the same directory to avoid the following errors:
Error loading startup classpath file. Abort.
Org.jf.dexlib.util.exceptionwithcontext: the boot classpath file cannot be found.
Core. odex
Put the downloaded smali-2.0.jar and baksmali-2.0.jar and the extracted framework file in a folder, such as D:\odextools.
Secondly, the odex file is decomposed into a class file.
Command:
Command: cd tool
Command: Java-jar baksmali-2.0.jar-xoppime.odex-d framework.
After the command is completed, an out folder will be generated under D:\odextools\ file, which contains all the class files.
Third, generate the class as a classes.dex file.
Command: Java-xmx512m-jarsmali-2.0.jarout-oclasses.dex.
After the command is completed, it will be displayed in D:\odextools\
4. Open the apk file with winRAR, and drag classes.dex to oppomene. apk.
Fifth, use apk-sign to re-sign.