FORUMS

[FTF] Sony Xperia Z Lollipop Release

Sony rolled out a Lollipop update for Xperia Z just yesterday. If you still haven’t gotten … more

Original Moto G Receives Lollipop, OTA Captured

The original Moto G was released almost two years ago. Motorola still continues to … more

Device Review: No.1 X1 Rugged Smartphone

We are almost at the end of Q2 for 2015, and we have seen most of the flagship phones for the … more

When a Friend or Family Member Asks for a Phone Recommendation, What Do You Tell Them?

The majority of us here at XDA would consider … more
Post Reply Subscribe to Thread Email Thread

[TOOL] RenameAPK - batch-rename bizarrely-named APKs

2nd November 2011, 11:41 PM |#1  
primetechv2's Avatar
OP Senior Member
Flag Wisconsin
Thanks Meter: 164
 
More
If you have a slough of apk files with weird names like I do, this DOS tool is for you. It uses AAPT (included) to check an APK file's name and version, and renames your APK in a more human-readable format.

Example:
pp170.apk --> PhotoShake Pro_1.7.0.apk

Installation
Just unzip the file (RenameAPK.zip) to anywhere you like. All the required files are included.


Instructions: GUI
I made RenameApkGUI in an attempt to create a nice tool that can be pinned to the start bar. (Right click on it, choose Pin To Taskbar.) Just like regular RenameAPK, you can drag multiple files to it. You can also open it and drag multiple files into it (this makes for an easier listing of the files you want to convert).

There are a couple caveats to it, however:
  • When pinned to the Taskbar, you can only drag one file at a time onto its icon.
  • When pinned to the Taskbar, and you wish to drag a file onto its icon, you must hold the Shift key.
  • Really, you might as well just open RenameAPK from the Start bar instead of trying to drag/drop to it.

Instructions: Command-line Tool
You can run this tool through the command line, or by dragging one (or multiple!) .apk files to it.

To rename multiple files (just in case )
  • Select the FIRST file you want renamed (e.g. clicking on it)
  • Hold down the shift key
  • Use the mouse or arrow keys to define the END of your selection
  • Drag one of the selected files to renameapk-min.

To rename multiple files (just in case )
  • Select the FIRST file you want renamed (e.g. clicking on it)
  • Hold down the shift key
  • Use the mouse or arrow keys to define the END of your selection
  • Drag one of the selected files to renameapk-min.


Instructions: Developers
If you want to borrow/change the code, feel free to do so. But also please remember to
  • Give credit to this me/this project (it's free, you don't even need to give me cookies)
  • Let me know what you did (it's cool to know)


Updates
  • RenameAPK v2: Added a GUI wrapper. Keep it in the same folder as the batch files and utilities, and everything should be all right.
  • Moved the excessive sourcecode files to a source folder.
Attached Files
File Type: zip RenameAPK.zip - [Click for QR Code] (1.89 MB, 6311 views)
File Type: zip RenameAPKv2.zip - [Click for QR Code] (2.13 MB, 4724 views)
Last edited by primetechv2; 2nd April 2013 at 05:58 PM.
The Following 70 Users Say Thank You to primetechv2 For This Useful Post: [ View ]
 
 
4th November 2011, 03:51 PM |#2  
mingolianbeef's Avatar
Senior Member
Thanks Meter: 1,453
 
Donate to Me
More
Just wondering, does this change the name of the app itself, or is this the same as right clicking and renaming on the computer?

Sent from my PG86100 using XDA App
The Following 2 Users Say Thank You to mingolianbeef For This Useful Post: [ View ]
4th November 2011, 11:46 PM |#3  
Senior Member
Thanks Meter: 18
 
More
This is excellent for renaming and keeping track of the Amazon AppStore APKs!

I ran this without a problem in Android\data\com.amazon.venezia\cache on my SD card.

Thanks much!
5th November 2011, 03:11 AM |#4  
Senior Member
Flag Vancouver, BC
Thanks Meter: 19
 
More
This is the MOST useful app ever! Thanks!
5th November 2011, 03:23 AM |#5  
LCopJunior's Avatar
Junior Member
Thanks Meter: 2
 
More
Thumbs up
Very great looking tool. Can't wait to install this to see what is what!
5th November 2011, 05:50 AM |#6  
Account currently disabled
Flag City of Sharks
Thanks Meter: 601
 
More
This is awesome. Thanks for this!
9th November 2011, 07:28 PM |#7  
PacerguyDon's Avatar
Senior Member
Flag Boise
Thanks Meter: 219
 
Donate to Me
More
This is a great tool!!! Thank you very much for sharing!
11th November 2011, 06:12 AM |#8  
Senior Member
Singapore
Thanks Meter: 26
 
More
Thumbs up Great job!
I agree with all the above!

This is the most useful tool I've ever used!

Great job!!
11th November 2011, 11:21 PM |#9  
Junior Member
Thanks Meter: 4
 
More
this could help a lot thx
14th November 2011, 07:06 AM |#10  
TRusselo's Avatar
Retired Forum Moderator / Recognized Developer
Flag Edmonton
Thanks Meter: 2,824
 
Donate to Me
More
heres a nice how-to for the non dos/bat script savvy.

The Following 7 Users Say Thank You to TRusselo For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes