Hi Guys,
So I have decompiled one of the Smarters apks (In actual fact it was the Avengers one). Purely for learning and testing purposes. Once decompiled using APK-Editor Studio, going though to find the images and then having to create a group of images, which will then be copied to multiple directories.
I wondered if anyone has created a tool to do this or any other decompiling software (maybe APK Editor) to replace theses images in one go. After a 2 minute search on your favourite search engine....Bing....(no body). I thought I would create a dirty PowerShell script to do this. OK it works fine, copies my images to a set of directories specified, recompiled and my new shiny apk with a hardcoded url and images works...
Therefore I thought, I would try and take it one stage further and create a gui (very basic), to do the same job but to also aid others. So if it is of any interest to others, I will submit the code. But here is what I have been working on. I plan to develop it, to auto rename images depending on the decompiled images, and to also include a DNS and port to inject a hardcoded url into the samli file (depending on the app I guess).
Anyway this is what it looks like thus far. (Very basic). You input the the two directories, tick what images you want to copy, press submit and it will copy the images into the required directories for the ticked images.
For example some of the old manual dirty code
So I have decompiled one of the Smarters apks (In actual fact it was the Avengers one). Purely for learning and testing purposes. Once decompiled using APK-Editor Studio, going though to find the images and then having to create a group of images, which will then be copied to multiple directories.
I wondered if anyone has created a tool to do this or any other decompiling software (maybe APK Editor) to replace theses images in one go. After a 2 minute search on your favourite search engine....Bing....(no body). I thought I would create a dirty PowerShell script to do this. OK it works fine, copies my images to a set of directories specified, recompiled and my new shiny apk with a hardcoded url and images works...
Therefore I thought, I would try and take it one stage further and create a gui (very basic), to do the same job but to also aid others. So if it is of any interest to others, I will submit the code. But here is what I have been working on. I plan to develop it, to auto rename images depending on the decompiled images, and to also include a DNS and port to inject a hardcoded url into the samli file (depending on the app I guess).
Anyway this is what it looks like thus far. (Very basic). You input the the two directories, tick what images you want to copy, press submit and it will copy the images into the required directories for the ticked images.
For example some of the old manual dirty code
PHP:
$source = "Pictures"
$location1 = "{9b7de3dc-2e6e-4cc7-9705-a99ffc6f81b2}\res\drawable"
$location2 = "{9b7de3dc-2e6e-4cc7-9705-a99ffc6f81b2}\res\drawable-hdpi-v4""
$location1", "$location2" | ForEach-Object { Get-Childitem " "$source" -Recurse -Include "*live_tv.png" | Copy-Item -Destination $_}