yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] jjwa:
I am still making use of this tool :).

Thanks!

No complains about it either. The only improvement that I could thing of, would be being able to add the names of the Market category the app is in, to the filename (or folder name even). Is that information saved in the apps, or would you have to figure out a much more complex solution for that, pulling the information off of the Market itself?

A second reason some apps don't appear in the output, is names that are (far) too long. For example Vignette does this. They seem to save their complete changelog stories in the spot where only a version number is supposed to go.
[Android Apps and Games] rezam:
Thanks , That is very useful program

Is it possible to make an android version of this program ? That we can use it on our phone.

(A batch apk renamer for android mobile phones)
[Android Apps and Games] thangnh:
I can't get this to work. I put all my .apk files into a folder named "apk", must I change the name of that folder to "Input"? Where should I copy all files of the Apk rename tool relatively to apk files folder to for it to work?

Thank you.
[Android Apps and Games] Syraxius:
This is exactly what I've been looking for! I've always done this manually, and coincidentally, I always name my files like "<Program Name> <Version>.apk". This is exactly what I need! Thank you
[Android Apps and Games] bernabap:
phsorx,

I changed your linux version to rename as britoso indicated but I could not make your script rename the label without 'spaces'. Is this possible?

from now I get: "Hello World!_1.21_com.android.vendor.apk" with 'space' between Hello World

I would like to see: "Hello_World!_1.21_com.android.vendor.apk" with '_' between Hello World

This is how I did:

#!/bin/bash

o="$2"

label=

version=

package=

[ "$1" = "" ] &&

{

echo """

ApkRename - V1.10 Linux - PhSorx (phsorx@gmail.com) - 11-17-2010 -

apkrename [path/]infile [output-folder]

ApkRename takes Label, Version info and Package name from an Android Package (.apk) file

and creates a copy with it under output-folder or current folder if omitted.

Eg: apkrename.exe com.example.hw.apk

Having Label=\"Hello World!\", Version=\"1.21\", Package=\"com.android.vendor\" creates \"Hello World!_1.21_com.android.vendor.apk\"

"""

}||{

[ "$2" = "" ] && o=.

label=`tools/aapt d badging "$1"|grep "application: label="|cut -d\' -f2-|tools/rev|cut -d\' -f4-|tools/rev|tr -dc [A-Za-z0-9-_.!\'~+[:blank:]]`

[ "$label" = "" ] &&

label=`tools/aapt d badging "$1"|grep "launchable activity name="|cut -d\' -f4-|tools/rev|cut -d\' -f4-|tools/rev|tr -dc [A-Za-z0-9-_.!\'~+[:blank:]]`

[ "$label" = "" ] &&

label=Unknown

version=`tools/aapt d badging "$1"|grep "versionName="|cut -d\' -f6`

[ "$version" = "" ] &&

version=0.0.0

package=`tools/aapt d badging "$1"|grep "package: name="|cut -d\' -f2`

[ "$package" = "" ] &&

label=Unknown

echo $label $version $package

cp "$1" "$o/$label"_"$version"_"$package.apk"

}

I am using pyRenamer tool to remove 'spaces' from my apks but would be nice to have on your script I just dont know how to do it.
[Android Apps and Games] phsorx:
spaces to underscores in the filenames

Hi Bernabap!

To replace spaces with underscores just inject a tr command to do the job. :rolleyes:

label=`echo $label|tr ' ' '_'`

Place that line just before the end section, like so:

label=`echo $label|tr ' ' '_'`
echo $label $version $package
cp "$1" "$o/$label"_"$version"_"$package.apk"

Watch the exact punctuation though! The apostrophe ( ' ) is different from ( ` ) etc.

I would copy-paste it, if I were you. :cool:

I did not try if it worked, :D but tell me how it went!

phsorx
[Android Apps and Games] bernabap:
phsorx,

you got a "Thanks". :)

now went perfect.

thanks for sharing you script and help me!
[Android Apps and Games] thangnh:
Dear all, Sorry for being a noob, but I can't make this to work. I'm using Win7 x64. Can you provide some hepl? Thanks a lot.

Symptoms: I unzip all files to same folder with my apk collection (folder name is "apk"), run the apkbatchrename.bat, in less than a second I got the below messages, hit any key, cmd window closes and nothing happens.

===

APK Batch Rename Tool V1.10

Starting to copy files...

Completed. Now check output directory.

Press any key to continue . . .

===
[Android Apps and Games] phsorx:
Place all apk files into the input folder

Hi thangnh,

:) :) :) I guess it is really time for me to do a video tutorial on youtube, isn't it!? :) :) :)

So when you unzip ApkRename1.10.zip you get this folder structure:

ApkRename
├───input
├───output
└───tools

Now copy your apk file(s) into the input folder like so:

ApkRename
├───input
│ └───hello.apk
├───output
└───tools

And now execute the ApkBatchRename.bat file (eg by simply double clicking it).

Result:

ApkRename
├───input
│ └───hello.apk
├───output
│ └───Hello World 1.21.apk
└───tools

Now you can find you freshly renamed app(s) under the output folder.

Also note:

You can also place multiple files and folders of your app collection into the input folder. Such sub-folder trees within input will be walked recursively.

Hope this helped.

phsorx
[Android Apps and Games] Panarra:
You are a hero. I needed something just like this and google brought me to this post. Thanks a lot!
[Android Apps and Games] wornbat:
I ran into an issue with this script with one apk file. The file contained a | in the version field which caused the batch file to try and execute the next parameter.

How can I modify the script to stop this from happening as it stops the whole process when this happens.

D:\Down\backup>ApkRename.bat "D:\Down\backup\input\com.ccpcreations.android.VLW-

1.apk" output

'bug' is not recognized as an internal or external command,

operable program or batch file.

The Version field of this apk shows:

0.83b: new feature: rendering mode | bug fix: memory leak

Thanks

Wombat
[Android Apps and Games] thangnh:
I finally have it worked. The problem before was that I unzipped the file without keeping folder structures, hence I got no idea there supposed to be input/output/tools folders. Thanks a bunch.
[Android Apps and Games] thangnh:
Hi OP, it's me again. Please see if you have time to improve this otherwise excellent utility. It would be best if the output folder retains original folder structure as in input folder. Thanks a lot.
[Android Apps and Games] corlau:
Very nice thanks
[Android Apps and Games] phsorx:
Hi Wornbat!

I've read your post. I am busy now. I'll post a fix probably tonight.

-Phsorx
[Android Apps and Games] wornbat:
Cool Thanks
[Android Apps and Games] jjwa:
I still use your tool now and then :).
[Android Apps and Games] DangeloGH:
there is a way to rec a log file?

i get some erros...

thanks
[Android Apps and Games] shadow_empire1:
I am using your tool daily, I really love it!

What about your roadmap? :)

Roadmap:

---------------------

1.20	Add a video tour. Youtube maybe.

1.30	Instead of overwriting start numbering wget style: Hello 1.0.apk.1

1.40	Option to select input, output dir.

1.50	Detect broken apk files. Throw better warning. Log them.

1.60	Release a linux and mac version based on feedback.

2.00	Graphic UI. Simple.

2.50	Drag & drop muliple input dirs.

3.00	Archives (zip, rar, 7z, ...) crawled.

Also I found a problem, when the target file name contains special characters, it fails (new file is not created):

APK Batch Rename Tool V1.10

Starting to copy files...

Thumb Keyboard 4.0 4.03: Maintenance update 3

Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.

Completed. Now check output directory.
[Android Apps and Games] Mangraa:
I'm guessing I'm either brain-dead (likely) or there's some number of posts needed to actually give a "thanks" instead of simply replying, but whichever it is, I can't seem to just click "Thanks".

So suffice it tosay, THANKS! You're a lifesaver!
[Android Apps and Games] mwalt2:
Thanks for the great tool. Very nice and easy.
[Android Apps and Games] gumbung:
wow thanks bro, that i would to rename it's own app...
[Android Apps and Games] erics_lu:
thanks man , just looking for this : )

.... and now learning aapt's usage
[Android Apps and Games] kretos:
Thanks a lot for that tool! Are you planning any changes? The overwrite feature is not very nice - could you add number in braces to name? Also add original name to Unknown please.

A really great companion to rename tool:

http://code.google.com/p/apkshellext/

it can display apk icons in windows explorer (checked on win7 x64)
[Android Apps and Games] tommy p:
Dont know if anyone would be interested, but none the less. I modified the batch file to delete the unnamed apk from the input folder and automatically open the output folder before it quits. Not a huge deal without it, but I work hard at being lazy, haha. but if you wanted this to happen, here you go

represents the drive letter

​

​

represents the folder path you extracted the zip with all the files

represents text does that should not need to be added

represents text that shouldnt be changed

for example, mine is in 'apk rename' which is in my program files (x86) folder, which is on my c drive, so it would look like this

C:\Program Files (x86)\ApkRename\​

TO DELETE FROM INPUT​

​

del x:\yourpath\*.apk

TO OPEN OUTPUT

​

start. x:\yourpath\output

Its important the with both commands (and any command for that matter)

if there is a space in the path, you wrap the whole path in quotations.

Also that you dont forget the Period after the start command for the Opening the output folder

Therefore mine would change from

del C:\Program Files (x86)\ApkRename\*.apk

start. C:\Program Files (x86)\ApkRename\output

to

del "C:\Program Files (x86)\ApkRename\*.apk"

start. "C:\Program Files (x86)\ApkRename\output"

Ultimately when its all said and done this is what i would add to the batch file for both commands​

del "C:\Program Files (x86)\ApkRename\input\*.apk"

start. "C:\Program Files (x86)\ApkRename\output"​

These are pretty basic commands, and its not as complicated as I just made it out to be. I just wanted to try to make sure even someone who isnt familiar with the command prompt would understant. :)
[Android Apps and Games] a.alshmas:
very handy.

thanks for sharing
[Android Apps and Games] gobz:
Why didnt I find it earlier..All these days!!! God I learned all the authors..:P

Thanks buddy..Awesome work.
[Android Apps and Games] Desparoux:
very good app thanks for sharing
[Android Apps and Games] pateta:
Mac Version

Hi... mac version, just change files rev and aapt...
[Android Apps and Games] kokowawa100:
whatsapp, viber , freepp

dose this program help me to install whatsapp, viber , freepp or similar apps 2 times in the same device and under the same user to use it with different accounts. like 2 gsm numbers.

this would be great if it help to install the same app 2 times as 2 different apps .
[Android Apps and Games] roirraW "edor" ehT:
Nope, all it does is rename the file, the actual APK file that you install to get your app.
[Android Apps and Games] dfkt_:
Made a modified version of this nifty helper, for a bit more ease-of-use and cleanliness.

No more "input" and "output" subfolders. Just drop the APKs into the app's root folder - the input files will get renamed to *.bak.

The version numbers on the output files now have a "v" in front.

Main renamer script moved to the "tools" folder. It's not needed in the main folder.

Included aapt.exe is from the current 19.0.1 build-tools. It's significantly smaller than the old included one (~800kB vs. 5MB).

Thanks, Phsorx, for your great tool!
[Android Apps and Games] danandtan:
noob

how do i run this on windows. i extracted on my android and see the input and output folders. i put the apk input folder and hit the rename batch but my droid dont know what to use to open it. i wanna create apks to have multiple logs in a game i play. was givin 1 apk that works and i have two icons on my home screen each named diff one the game and other is alt1 i wanna create more. this seems to be what i am looking for but dont know how to use it.
[Android Apps and Games] ganeshbiyer:
For Linux

!#/bin/bash
find . -name '*.apk' -exec ./apkrename {} output \;

Put the above code in a file and execute the script.

Or download the attached zip, extract and copy it to the ApkRename folder.
[Android Apps and Games] buick1356:
non-English apps

for non english apk's renemes to unknown.is there a way to convert them correctly for example for Persian names.

thanx a lot
[Android Apps and Games] abhi_qwerty:
Pasted 20 apks in Input.

$./apkbatchrename

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

Unknown 0.0.0

-------------------------

Ubuntu 14.04

What should I do?
[Android Apps and Games] roirraW "edor" ehT:
This tool is originally from 2010. The OP hasn't updated it since 2011. I don't think there's much chance it'll be updated.
[Android Apps and Games] abhi_qwerty:
I don't think that an update would be required. My issue is with Ubuntu, I cannot use this tool in Ubuntu (tried most of the chmod things but still I get Unknown 0.0.0 for every input). In fact, I have been using this tool since 2012 and it worked, both on Windows and Arch Linux, but my Arch installation broke yesterday and I cannot make this tool to work on Ubuntu.

P.S. - The input files were the one which were processed earlier by this tool on Arch Linux, so I can say that APKs were fine.
[Android Apps and Games] natong:
I use aapt.exe from latest SDK. Some apk doesn't show a label or a valid english label.

(Android Asset Packaging Tool, v0.2-3303571)

Your aapt.exe work great!

(Android Asset Packaging Tool, v0.2)
[Desire Q&A, Help & Troubleshooting] dragonx6:
Recently, I've installed the miui rom (j-style) and I can't seem to install any apk files by using any file manager. Is there a way to fix this because I really want to have this rom on my phone. Please help!!
[G2 and Desire Z Q&A, Help & Troubleshooting] bonkasnucca:
is anyone working on enabling more ram in the kernels like they did with the nexus cuz it did add some snap to the performance...with the g2 running at 1.8 and a little more usable ram it might fly out my hand:D just a suggestion
[Galaxy S I9000 Q&A, Help & Troubleshooting] rifal_rinaldi:
Hello guys, need your help..

My SGS originaly is from DXJF4, then i flashed to XWJM8, and the last one is JPO, but the problem is since i flashed the SGS, I cant send any MMS nor received it..

btw i'm from indonesia, i used asisten Apn from the market, and the apn setting is correct.. (telkomsel-AS)

so... is there any solution for my problem???

i'm sorry for my bad english.
[Galaxy S I9000 Q&A, Help & Troubleshooting] rifal_rinaldi:
Pleaseee..... Help..... Anybody.....
[EVO 4G Themes and Apps] fastfed:
I love vlingo.. but its so hit or miss.. plus it resets my phone when connected to bluetooth.. I just realized that Google search.. that comes with the phone is pretty nice... but the fact that I have to actually use my phone first is pointless.. any other programs besides vlingo that uses a wake up phrase?
[EVO 4G Themes and Apps] fastfed:
Ok after some messing around... I love the google search.. its great how I can just search for anything .. but it does not dial my contacts.. for example " call dad " it calls father and sons moving lol... but I realized... I uninstalled vlingo because it was my default apply for when I say my wake up phrase for my bluetooth (blueant s4.. awesome BTW) so I unistalled vlingo and this other program became my default.. bluetooth speaker or something... it works 8 out of 10 times... and now with car panel up at all times while I'm driving I now have the best of both worlds... unless you guys know a better set up or better programs / apps? Thanks....
[EVO 4G Themes and Apps] fastfed:
God fing damn it... does anyone see my frustration... now I just realized that google search does not listen through my bluetooth.. but the phone.. wtf ... can't someone make a proper application... vlingo listens through bluetooth and comes out bluetooth.. but its so hit or.miss its ridiculous ...and now google search only plays back through bluetooth... WTF were they thinking..... jesus mother Mary... I'm starting to get sick of this phone.. I feel its a 10 when it comes to a toy and a 3 when it comes to practibility...
[G2 and Desire Z General] amack10:
So tmo decided to take away my tether today. Everytime I've tried to tether the past few hours my computer browser will not navagate from tmos "sign up 4.99 tether plan" page. I installed wireless tether 2.02 and I still get the same prob

Edit: I am on the unofficial cyan
[G2 and Desire Z General] Akulamenuri:
Wireless Tether works for the rooted stock rom but it didn't work for me when I tried to use Cyanogen. Hope that helps.
[G2 and Desire Z General] carlsbad0331:
Working just fine for me...
[myTouch 4G Q&A, Help & Troubleshooting] floepie:
So, I'm rooted. S=OFF, I get su access in Terminal, and I have the latest busybox installed in /system/bin. But, after a reboot of the device I can only get R/W access to certain parts of the directory structure - /system is unfortunately not one of them.

Now, here's the weird part: When I start the app Busybox Installer (downloaded from the market), the app searches for busybox installations and tells me I have the latest in /system/bin (this I already know). Once I have started this Installer without doing anything else, I can gain full R/W access to /system.

So, there seems to be some sort of strange busybox issue and how it relates to system R/W access. Is the latest busybox incompatible with this stock ROM?
[myTouch 4G Q&A, Help & Troubleshooting] Joshuamiller72@gmail.com:
Root explorer issues

I am also having the same issue I can not get R/W access in the system folder. I have been trying to re-map the Genius button. I am able to remove "bloatware" by using Titanium backup. I definitely have permanent root on the phone, so I am confused by this issue. I have been searching and have not seen other similar complaints. I tried the busybox from the above post but still am not able to R/W access.
[myTouch 4G Q&A, Help & Troubleshooting] floepie:
You need the latest version of root explorer. Will solve the issue.

Sent from my HTC Glacier
[Captivate Android Development] R5R:
Please delete wrong forum
[G2 and Desire Z Q&A, Help & Troubleshooting] microse23:
Have I done something wrong???

I have perm-root on my G2. I also have "Virtuous-Vision-v0.6.0 flashed. The phone runs smooth, everything seems to be working, except when I try to record video (in any res) the camara app closes. I did alot of searching on the forum but can't seem to find any answers to my problem. Pease help.
[G2 and Desire Z Q&A, Help & Troubleshooting] Acid_Wir3:
did you try using the camcorder app instead of the camera app?
[General Questions and Answers] milestide25:
Okay, so I have the LG Optimus T and I have it soft rooted with z4root. The problem is this: There are no custom ROM's for the LG Optimus T. I can't overclock my CPU (which is a major draw to rooting) with the kernel I have installed. :( Can someone please help me? I am very new to this, and I'm open to criticism, but I'd appreciate it if you'd answer with helpful criticism. Talk to me as if I'm a beginner, not an idiot. Thanks in advance, guys. :)
[General Questions and Answers] Omnichron:
I also rooted my optimus t recently woohooo!

Anyone? Is there a mod for it?:d
[General Questions and Answers] hip2theehop:
Well here is a useful link to JoeMomRom which he striped down.

h t t p://forum.androidcentral.com/lg-optimus-t/52395-rom-joemomrom-v1-only-optimus-t-5.h t m l

The rom is called bareoptimus. I was having trouble with link so if its broke let me know and I will try to find another.

Once you root you are going to want to flash custom recovery too, just incase anything at anytime go's wrong. Hope this helps!!!!
[General Questions and Answers] dislplin01:
here is a link to a custom ROM i love it http://xdaforums.com/showthread.php?t=920787
[General Questions and Answers] Jrhodes85:
I wouldnt of used Z4root, from what I read it wasnt really meant for 2.2, I used Gingerbreak 1.20 and everything is fine...Im currently using devoid froyo final with superblue v5 theme and it's running smoothly, I tried using the darktheme but it didnt work for me, I started years ago with rooting and my very first android phone was the tmobile g1, that's back when there werent programs for rooting you had to learn how to root using TE or ADB, im still in the process of learning everything I can myself and would love to learn how to cook my own roms
[General Questions and Answers] cryinginside:
Help need with rooting Optimus T

I having a hard time rooting my optimus T. Can someone give me a step by step tutorial or a video. Thank you
[Fascinate General] gardndj:
I've had an issue since day one where google voice will display an unable to send message error when trying to send a text. Hit send again, and the first attempt registers along with the second attempt, essentially sending two identical text messages. This behavior comes and goes in spurts, and when it happens it seems to occur with every other message I send. I've never had this problem on any previous android phone, I've tried uninstalling, clearing cache, fixing permissions, and still it returns. Anyone else have this problem? Or does my fascinate just hate me?
[Fascinate General] mgmtm3:
Mine does this too, I notice sometimes there will be no network activity on the 3G icon on the first try. It gets to be very annoying, but not annoying enough to pay Verizon 15 bucks a month :)
[Fascinate General] TheBadBen:
Its happened to me about half a dozen times. I just chalked it up to data hiccups. Now that you mention it, I never did get one if those hiccups with WinMo though.
[Fascinate General] mgmtm3:
This probably isn't Android at fault here. The google voice messaging always worked perfectly on my Droid 1. Ill bet it has something to do with crap sammy drivers. I am hoping this all gets resolved with 2.2
[Fascinate General] Mean Sixteen:
I have this same exact problem frequently. I wish someone could suggest a fix. Never, never happened on my incredible.

Annoying.

I should add that it has also done it since day one. And has not changed with any rom or kernel i flash.

Fascinate Voo Doo One Point Two
[Fascinate General] gardndj:
Sounds about right - hopefully 2.2 will solve our problem (along with everything else lol). As for winmo and google voice, that was one janky, hacked together experience. Onedialer when it worked, idialer for when it didn't, sending sms though outlook...those were the days.
[Fascinate General] gardndj:
Just an update to an old thread, but DJ05 seems to have solved this issue for the most part - it still happens, but very rarely.
[myTouch 4G General] Legaleye3000:
How does Screen Sharing work? Thanks
[myTouch 4G General] pack:
you gotta have your tv hooked up to your internet.... WDTV, XBOX, ext... will work, I tried it with my WDTV and it worked flawless
[myTouch 4G General] tw39515:
it works awesome looking for a dlna adapter now, or think about a ps3. all my friends at the ufc fight on saturday couldnt believe it. nothing to set up as far as transfer settings it just works.:D
[Fascinate General] lucas.scott:
Hey guys , was tying to restore factory kernal in Odin and accidentally did it under "phone" instead of "PDA"

I now have NO service at all . I have been having a massive meltdown for the past 3 hours until now . I have finally gotten my phone restored and good to go , except for having no service. Is this something any of youh guys know how to fix?
[Fascinate General] adrynalyne:
Sorry, no. Your phone is a goner.
[Fascinate General] ksizzle9:
Flashing the "phone" portion in Odin is one thing we cannot recover from. At least u have a nice PDA.
[Fascinate General] lucas.scott:
guys....really... please dont say that