[Samsung Epic 4G Touch] Stryke_the_Orc:
Editing PowerAmp for Transparency​

Tools you will need:

The apk tool of your choice. A quick search will turn up a multitude of results.

7ZIP

The Image editing software of your choice. I highly recommend Photoshop or Adobe Fireworks, however these are expensive.

Alternatives include GIMP, and Paint.net.

Both are great tools, free, and are very user friendly (paint.net more than gimp)

Root Explorer or similar file manager using root privileges (This is on your phone, from playstore)

The Process

After you download and install the necessary components, using root explorer or a similar tool you will want to pull the poweramp app from your phone, it will be listed as com.maxmpz.audioplayer-1.apk or com.maxmpz.audioplayer.apk

You can pull the apk by navigating to \data\app from your file browser on your phone, copying, paste it on the root of your sdcard.

Now connect your phone to your pc via usb cable and navigate to your phone's sdcard directory, click and drag (or copy/paste) to your pc.

Now you will decompile the apk using the tool you have downloaded. Instructions will vary based on your chosen tool, so be sure to familiarize yourself with the basics of your tool.

Once decompiled, navigate to res\drawable-hdpi folder and find the all the pngs that have _bg in the name.

NOTE: Not all of these are necessary for this edit. You will find that there are three main groups that coincide with the three themes in PowerAmp. You may pick the one of your choice, or modify all three groups for varying levels of transparency.

Please also note that there are .9png files, these are a special case, so standard editing will not work. I will add links and resources to the bottom of this post for these file types

Open the png image in your image editor, "select all" to highlight the entire image, and press delete. You should see a checkered background where the image was. Select the fill bucket tool and edit your transparency (paint.net has a slider tool next to the color selection, and I don't remember where it is in GIMP)

Select your desired level of transparency and fill the image with the bucket tool.

Save.

Do this for all desired images.

(If you have copied the images to another location for editing, otherwise skip this step) When you're finished editing, copy the images and paste them into the res\drawable-hdpi folder of your decompiled app.

Recompile your apk using your apk tool.

Now based on the apk tool you have chosen you may need to use 7zip to copy files from your edited app to the original, or vice versa.

Push to your device, install and reboot.:good:

9PNG'S Editing and Resources

9PNGS Editing/ How-to - http://xdaforums.com/showthread.php?t=605662

9PNG Tool - http://xdaforums.com/showthread.php?t=1889295

and another - http://www.wuala.com/tiggerbcn/LG optimus3D/xUltimate-d9pc-x86.rar?lang=en

Good Luck and Enjoy :victory::highfive:

---------- Post added at 08:43 PM ---------- Previous post was at 08:39 PM ----------

What we're editing doesn't have anything to do with the app coding. This is useful if you wish to create your own version, or implement some changes into the existing app.