Hey Men an' Ladies!
In any case, so when I initial learnt how to decompile, modify then recompile .apks I discovered it was a rather gradual approach and figured out a considerably more rapidly way.I searched google and xda numerous instances and couldn't uncover my approach wherever. So with out additional ado, let's go by means of an easy, simple, phase by phase guide on how to modify .apk documents!
Phase 1 - Receiving the .apk
To begin with, of system, you will need to get the .apk file that you want to edit. There are two strategies to do this:
a) If you have the recovery flashable zip for the rom you are at the moment on, simply open it up, navigate to the file you want to edit (in my case technique -> application -> options.apk) and drag the .apk file on to your desktop.
b) Utilizing root browser or a equivalent app on your device, navigate to the .apk you desire to edit and duplicate it onto your sdcard. Then hook up to your laptop and copy the file from your phone to the computer.
Stage two - Enhancing/Modifying your .apk
Now is the crucial portion. Put in Winrar by clicking the url. http://www.acquire-rar.com/obtain.html?&L= Then open the .apk by right clicking the file -> open with -> WinRar. Now you can seem about the .apk file. Find a file inside the .apk you wish to edit. (In my circumstance I'm going to navigate to res -> mipmap-hdpi -> ic_launcher_settings.png). Just drag the file from the .apk and edit to your liking.
Note: It is suggested by no means to totally consider every little thing out of the .apk and then set it all back again in. Just do 1 file at a time.
Then when your completed, select the old file in the .apk and push the delete button. Now drag in the new edited file into exactly where you identified it. Straightforward!
Step three - Placing the new .apk back again where it belongs
Now of course, your going to have to place it back on your unit to see the changes in influence, there is no position obtaining it on your computer! There are two approaches to go about this:
a) Open up your rom and navigate to the area the place you took your .apk file from. Click on on the previous .apk file and push the delete button. Now drag your new edited .apk file into the zip. Then link Helen to your laptop and drag the rom on to the sdcard and flash it by means of restoration. Now reboot the technique and see your change/s in effect!
b) Copy your new .apk file from your computer to your device. Then, utilizing Root browser or a equivalent app, navigate to the old .apk file and search at the permisions. (eg. RW--r--) Now delete the previous file and exchange with the new, but make confident to established the permissions the identical as they ended up prior to. Now Basically reboot and see your alter/s in impact!
Hey Men an' Ladies!