Current location - Quotes Website - Signature design - How to modify apk packet path
How to modify apk packet path
At least 4 softwares are required. Below I give a link to 1 15. You can also search online yourself.

1, apktool-this tool is the most important. Decompile apk files and modify compiled tools. There are two compressed packages at the beginning of apktool in the attachment below. Simply unzip and merge them into one directory.

2, ultra file search-this is a software to search the inside of the file, you can search the keywords inside the file.

3, automatic signature-this is re-signing after compilation. Because the signature of the changed APK file has been corrupted, it needs to be re-signed before installation.

4, UltraEdit-32—-What is this for? I don't need to say it. What? I don't know what this tool does, so I can only say that you can study on Google by yourself. You are so oversensitive.

-

Steps:

1, extract all tools. I think it's bullshit.

2. Copy the apk file that needs to be modified to the apktool directory, enter the apktool directory in the CMD environment, and run the APK tool. There is a space between bat D xxxxx. apk. bat and d, and a space between d and xxxx. apk D is a parameter, the purpose of which is to decompile the apk file, which is equivalent to decompression. I don't need to say xxxx.apk later.

3. After the last step is completed, confirm the completion in CMD, which is usually very fast and will be done in a few seconds. A folder with the same name as apk was created in the apktool directory. Open it and see, it is something in the apk program.

4. Open UltraFileSearch, assign the search path to the newly generated directory, switch to the second tab containing text, enter "sdcard" in the search text below, and then click Search. Here, why do you want to search sdcards? Because the path of the built-in W700 stored in the mobile phone is /sdcard and the path of the external TF card is /sdcard/SD_CARD, you need to find all the /sdcards and change them to /sdcard/SD_CARD. There is another problem to be explained here. In the search results here, there are generally two types of files, one is smali format, which can be opened and modified directly with Notepad, and the other is so format, which needs to be opened and modified with UltraEdit-32. UltraEdit-32 has a lot to pay attention to, so I won't say it here. If you don't know, I'll find UltraEdit-32 to modify the binary file myself. The idea of modification in UltraEdit-32 is still the same, and /sdcard is changed to /sdcard/SD_CARD. Finally, not every found /sdcard needs to be changed to /sdcard/SD_CARD. This specific situation needs concrete analysis and constant experiments and tests.

5. After the above modification, go back to CMD, go to the apktool directory, run the directory xxxx.apk here, package it with parameter b, followed by the directory name just now, and then write a file name. Whatever, apk

6. If you don't change the original program in the fourth step, it's easy to pack in the fifth step. If the packaging in step 5 fails, it is likely that the original program was modified in step 4, and it was basically modified when it was modified in UltraEdit-32. If successful, please change xxxx.apk generated in step 5 to Update.zip, copy it to the automatic signature directory, run Sign.bat, and then generate update_signed.zip, which is a signed file, and then change the file name back to xxxx.apk. ..

7, well, congratulations for the time being. You can install xxxx.apk obtained in step 6 into your mobile phone in various ways. However, I have to remind you that it may not be installed on the mobile phone, or it may not run after installation, or it may flash back and run, or it may enter the interface and menu, but the game cannot be started. Anything is possible. If you have any questions, please go back to step 2 to continue.

Finally, this method is only applicable to games and programs with data packets. For those without data packets, we still have to rely on the painful 5.6G space.