You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi mate, I found some problems in your code. First, you replace the customized AndroidManifest.xml file with the AndroidManifest.xml payload file. Your customized file is incomplete and short (compared to the original file), and on the other hand, there is no need to do this.
You only need to add the word android:icon="@drawable/icon" in the <application android:label="@string/app_name"> line (which you can use regex to find its location and replace the text). By using this feature, the original AndroidManifest.xml file will not be replaced and the main characteristics of the payload will not be removed.
The second problem is that you used the mv command to change the name of the payload file, but this command only changes the nickname of the file in Linux, and you have to change the App Name so that when you install the apk file on target device, the apk name changes correctly (in your method, the previous payload name is still preserved during installation).
The solution to this task is to change the name of the payload in the Payload_Folder/res/values/strings.xml path to the desired name, For example:
The next idea is that you can receive the icon directly from the user, so that the user can set the desired icon. The icon size must be 512 x 512 (no more, no less). Try not to place any file directly in the payload (because you remove the features of the payload file), you can identify the desired lines in the payload files and inject the necessary texts in the main files with regex and some Linux commands.
Anyway, I used your script and learned a lot of ideas and things. I didn't change your code and that's why I didn't send you a Pull requests. These were my ideas to improve your project, and you can implement these ideas in your code in your free time, improve your project and republish them in this repository. I look forward to your updates with the challenges I gave you. Good luck.
The text was updated successfully, but these errors were encountered:
Hi mate, I found some problems in your code. First, you replace the customized AndroidManifest.xml file with the AndroidManifest.xml payload file. Your customized file is incomplete and short (compared to the original file), and on the other hand, there is no need to do this.
android:icon="@drawable/icon"
in the<application android:label="@string/app_name">
line (which you can use regex to find its location and replace the text). By using this feature, the original AndroidManifest.xml file will not be replaced and the main characteristics of the payload will not be removed.The second problem is that you used the mv command to change the name of the payload file, but this command only changes the nickname of the file in Linux, and you have to change the App Name so that when you install the apk file on target device, the apk name changes correctly (in your method, the previous payload name is still preserved during installation).
The next idea is that you can receive the icon directly from the user, so that the user can set the desired icon. The icon size must be 512 x 512 (no more, no less). Try not to place any file directly in the payload (because you remove the features of the payload file), you can identify the desired lines in the payload files and inject the necessary texts in the main files with regex and some Linux commands.
Anyway, I used your script and learned a lot of ideas and things. I didn't change your code and that's why I didn't send you a Pull requests. These were my ideas to improve your project, and you can implement these ideas in your code in your free time, improve your project and republish them in this repository. I look forward to your updates with the challenges I gave you. Good luck.
The text was updated successfully, but these errors were encountered: