Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,116 Members 48,360 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
primetechv2
Old
(Last edited by primetechv2; 2nd April 2013 at 05:58 PM.)
#1  
primetechv2's Avatar
Senior Member - OP
Thanks Meter 143
Posts: 352
Join Date: Nov 2010
Location: Wisconsin
Default [TOOL] RenameAPK - batch-rename bizarrely-named APKs

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, 5896 views)
File Type: zip RenameAPKv2.zip - [Click for QR Code] (2.13 MB, 1094 views)
The Following 68 Users Say Thank You to primetechv2 For This Useful Post: [ Click to Expand ]
 
mingolianbeef
Old
#2  
mingolianbeef's Avatar
Senior Member
Thanks Meter 1127
Posts: 1,903
Join Date: Apr 2011
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
Mingo Allen II


News Writer

AndroidSPIN.com


Email: ognimnella@gmail.com
Google Talk: ognimnella@gmail.com
Twitter: @MingoAllenII

Need a review done for your App? Email me. (Do NOT PM me)



Mytouch 3G Slide > Kyocera Echo > HTC Evo 3D > Samsung Nexus S 4G > LG Optimus G (Backup) > Samsung Galaxy S4 (Current)
The Following 2 Users Say Thank You to mingolianbeef For This Useful Post: [ Click to Expand ]
 
Nooter
Old
#3  
Senior Member
Thanks Meter 17
Posts: 112
Join Date: Dec 2010
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!
 
Mikroft
Old
#4  
Senior Member
Thanks Meter 19
Posts: 290
Join Date: Jun 2006
Location: Vancouver, BC
This is the MOST useful app ever! Thanks!
 
LCopJunior
Old
#5  
LCopJunior's Avatar
Junior Member
Thanks Meter 2
Posts: 26
Join Date: Apr 2011
Very great looking tool. Can't wait to install this to see what is what!
 
McLabia
Old
#6  
Account currently disabled
Thanks Meter 601
Posts: 3,496
Join Date: Mar 2011
Location: City of Sharks
This is awesome. Thanks for this!
 
PacerguyDon
Old
#7  
PacerguyDon's Avatar
Senior Member
Thanks Meter 219
Posts: 684
Join Date: Mar 2011
Location: Boise

 
DONATE TO ME
This is a great tool!!! Thank you very much for sharing!
~Don~
Galaxy Nexus
RasbeanJelly/Trinity
Moto Xoom
Team Eos 3

Give Minus or
Dropbox a try.
 
qureyoon
Old
#8  
Senior Member
Thanks Meter 24
Posts: 158
Join Date: Nov 2010
Location: Singapore
Thumbs up Great job!

I agree with all the above!

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

Great job!!
 
adrome
Old
#9  
Junior Member
Thanks Meter 4
Posts: 12
Join Date: Jan 2006
this could help a lot thx
 
TRusselo
Old
#10  
TRusselo's Avatar
Retired Forum Moderator / Recognized Developer
Thanks Meter 2754
Posts: 4,682
Join Date: Jan 2011
Location: Edmonton

 
DONATE TO ME
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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes