Batch File Renaming Utility - EVO 4G Themes and Apps

All you themers out there, I found a tool that will let us rename many files at once, without having to go 1 by 1. This seems especially useful when working with those pesky .9.png images, where we rename them and take out the .9 part.
http://www.bulkrenameutility.co.uk/Download.php
Its a free program, and has some cool features that could help us out. I haven't seen it posted before in the Evo threads, so figured give a heads up that there are programs like this out there.

Related

Original ATT ROM .nbh file

I'm posting this at the risk of being blasted on my searching techniques. I've been searching for what seems like hours and with the wikis down, I've reached the end of my rope. Lurking on this site is what lead me to purchase my Tilt in the first place and I'm hoping that the wise and learned posters on this forum can help me out of my predicament.
My usb port stopped working so AT&T quickly sent me a new (refurbished) unit. I studied sirsycho's thread on reverting my old Kaiser back to it's warranty-friendly state, but I have one problem, no usb port. Now I go to vip_snoopy's thread involving flashing from a microSD card. Very cool. Herein lies the dilemma, I need the .nbh file to install the factory rom by way of microSD flash and all I can find is the .exe installer.
ANY help would be greatly appreciated!
I'm sure there's a more technical way to do this, but...
try just running the exe, and then snagging the .nbh file once it extracts it to install. It might be locked by the OS (or something similar), but it's worth a shot since no one else responded.
open exe with winrar (free to try) and extract the nbh.
now on with the blasting. u my friend need to learn to use the search button. damn newbs like u create so many unnessary threads. users like u need to be banned...FOEVA!!!
nahh, welcome to xda!
Thanks for the quick reply. The wikis (wiki's, wikies, wikii?) are up and running again, so I'm deep in my fruitless search pattern again.
I already had that idea, but have no idea how to implement it. I'm a hardware nerd. Whatever the software is doing is a mystery to me. I just know how to make it do whatever it's doing happen really fast. I know it extracts it somewhere temporarily, I just don't know where.
I'm also a pathetically slow typist, obviously.
depending on your windows version it will extract to different temp locations. for example windows xp would be
\document and settings\"your name"\local settings\temp
have this location open when your run the exe and see what new folder is created. copy the nbh out of the folder before canceling the install. good luck!
akadonny said:
depending on your windows version it will extract to different temp locations. for example windows xp would be
\document and settings\"your name"\local settings\temp
have this location open when your run the exe and see what new folder is created. copy the nbh out of the folder before canceling the install. good luck!
Click to expand...
Click to collapse
Thank you, thank you, thank you. Been using WinRAR for years and had no idea I could do that. SUCCESS! You just helped me solve over three hours of hair pulling. Now, on to the endless hours of fun with the "make it like it was" game.

Need a Little Help with Understanding ROM Extract

Hi All,
I need a little help in understanding something, either by explaination, or by directing me toa webpage, but everything I found really doesnt explain it.
I used 3 tools to extract a HTC ROM Leo, I used: NBHExtract, IMGFS utility (NBSpilt etc.) then used Package-tool to create the folders OEM and SYS, and now I'm stuck.
What I want to know is how do i go about making a cab file of something so I can install it? for example like the Messaging App. In the OEM folder it has two folders, one says for ex: HTCMessaging, the other says the same thing with .0409 on the end.
How would I go about being able to cab the messaging system files, registry etc, and cab it?
Thanks a million for any help.
Anyone? Or did I post in the wrong forum?
<Bump> sorry but I am still searching, I have been reading and reading for the last 12 hours and nothing is pointing me to a solution, let me clarify one thing. I am not wanting to know how to make a cab file, I know how to do that.
What I am trying to find out is how does one go about sorting in the example the HTC Messaging App and all the files needed to be installed into a cab, obviously 2 folders doesnt complete it, I know that possibly contacts, and appointments apps have to be put into the cab, but How would I go about finding out all the files needed to the appointment app, all the files needed for the contact app, and all the files needed for the Messaging App, so I could cab them individually and install them to test on a spare TP2 phone, I am not trying to flash it. I want to cab it so if it doesnt work or is unstable, I can uninstall it from the remove programs.
Anyone? I even tried New Visual Kitchen, but it crashes during the building of packages after the extraction process of the ROM.

APK Batch Rename Tool (for Windows and Linux)

Hi guys!
This is a quick tool I jotted together for myself in the past couple days and found it very useful. So I decided to clean it up and share it. Hope you will like it! Do comment and ask!
APK Batch Rename Tool
* for Windows and Linux for now.
APK Batch Rename Tool recursively crawls input folder and all of its subfolders looking for Android Package files (.apk's). It reads Label and Version info from apk's found and creates a copy for each apk under the output folder but using the Label and Version info acquired.
For example a com.example.hw.apk will make Hello World! 1.21.apk provided that the label inside the package was set to Hello World! and version is 1.21.
The old and the new apk files are 100% the same in terms of content and are unchanged. Only the new copies are given new filenames. Input files are left completely intact.
Why?
Have you ever wondered what are your 1500+ apk files with wierd names nested to different wierd folders on your harddrive? Have you ever wanted to find an app but you were unable to because it had some undescriptive javaish name that made no sense reflected no version and your apps were swept across a hundred junk folders anyway? Then APK Batch Rename is the tool for you! And me!
APK Batch Rename will set a human readable name for all your Android apps, and drop such a copy into a folder. You will finally be able to browse them, sort them alphabetically and be able to pick from versions available.
How?
1. Copy all your apk files (or folders with apk files in them) into the input folder. You may copy folders of any depth. APK Batch Rename Tool will recurse all subfolders of the input folder anyway.
2. Hit or click ApkBatchRename.bat . (For Linux users it's: apkbatchrename, or on a terminal enter: ./apkbatchrename ) Wait until it finishes the job.
3. Find your freshly named files in the output folder.
Simple as that!
Have fun! & Comment!
phsorx
great work, just like reading mp3 tag then rename to "song - artist.mp3"
thanks!
Cool. I use to do it manually. Time saver app.
Thanks.
This is awesome! Thank you very much, situation you described in first post is just like mine, I find your tool very useful!
Folks,
Let me join you crediting phsorx's job, that app is just great!
Thanks and congrats!
Very cool, Works well. Always wanted to do this but was too lazy to try aapt.
I just checked:
aapt said:
badging Print the label and icon for the app declared in APK.
Click to expand...
Click to collapse
Code:
> aapt d badging Talk.apk
[B]package: name='com.google.android.talk' [/B]versionCode='130' [B]versionName[/B]='1.3'
sdkVersion:'8'
targetSdkVersion:'8'
uses-permission: **truncated***
application: [B]label='Talk'[/B] icon='res/drawable-hdpi/ic_launcher_google_talk.png'
uses-feature:'android.hardware.touchscreen'
main
other-activities
search
other-receivers
supports-screens: 'small' 'normal' 'large'
locales: '--_--' 'es' 'es_US'
densities: '160' '240'
I'll definitely use your script but with a small change to show the package name as well as its valuable for when you need to uninstall the package.
i.e label_packagename(version).apk -> Talk_com.google.android.talk(1.3).apk
Attached a slightly modified batch file and screenshot
For single file one-off renames (right-click->open with->rename single) you can use the script here.
De jo! Honfitars. Hajra Magyarok!
Customizable naming planned in future version
britoso said:
Very cool, Works well. Always wanted to do this but was too lazy to try appt.
i.e label_packagename(version).apk -> Talk_com.google.android.talk(1.3).apk
Click to expand...
Click to collapse
Hi Britoso,
Yeah! That's a neat way to do it too!
Eventually I want to make naming and spacing fully customizable! Including what attributes to pick (name, label, versionName) to constitute the filename, and what separators (_,-,(,),space) should go where.
In the howto.txt I have a little road-map for the project. Will add customizable naming too.
Will keep you guys posted.
EOF
phsorx
Ps: Anyone who has another naming suggestion drop a post! I'd be interested.
great job...bravo..
thanks
Very nice tool, thanks for sharing this .
Using it with britoso's edited script.
Edit: I would appreciate it if a log of the conversion would be saved in a \logs\ subfolder, so I can check which files were not converted properly and see if I have to do those manually.
Handy ! Thanks...
deleted
For one-off renames you can use the below batch file.
1) create the below batch file in the same folder as apkrename.bat (its attached too)
Name: rename-single.bat (change this if you want)
content:
Code:
cd "C:\change_me\ApkRename\"
apkrename.bat %1 %~dp1
Change the path(change_me) as needed.
2)Associate it with apks by right clicking on the apk and choosing "choose default program", browse and select the batch file "rename-single.bat".
Uncheck "make this the default operation"
Screenshot and batch file attached. Enjoy.
update:
-12/8 uploaded a new version that fixed a bug involving long path names with spaces.
Also added a check for success and then delete the original apk. (backup your apks just in case).
Remember to set the path to the ApkRename folder in rename_single.bat once before using it.
Really gd job )
APK Batch Rename Tool for Linux is on the way
luvgirl12345 said:
would like a linux version...
Click to expand...
Click to collapse
Hi luvgirl12345,
The Linux port is on the way & will be posted here soon!
Actually, the Windows release is running on win32 ports of a few common Linux tools. And that's so, because I am lazy. Having Linux's much better support for shell scripting plus the same tool set always at hand, porting is a breeze.
Ciao,
phsorx
Sounds very useful, thank you!
Looks nice for massive apk renaming.
Found a similar tool called APKInfo some month ago which i am using for single apk files for a while now.
But finally something for batch renaming.
Thanks
your the man!, works like a charm. Thanks!
Any plans for making an Android version of this to run on our devices?
Future plans for an on-phone version of the APK Rename Tool
del4 said:
Any plans for making an Android version of this to run on our devices?
Click to expand...
Click to collapse
Yes! Certainly. Its in the plans.
But firstly there are a few things to be fixed on the desktop version first. See road map section of the howto.txt file in the archive. The most burning issue is the so called overwrite issue that I want to be sorted out next. Say you have two copies of the same app (same name, label, versionName) but one of them has a patch against it (because its been modded by a reverser) than one of the copies will overwrite the other (ApkRename 1.10).
Secondly on a mobile device's SD card there is usually less space than on a desktop's hard drive. This implies that APK Renamer will actually have to rename the files in place instead of creating a copy of each in a separate folder. Or at least it will need to figure out the empty space left on the device, and if its not enough to hold the copies, it should offer in-place renaming instead. Not a lot of logic to add but still...
Having all the outstanding questions be figured out on the desktop still, will allow me to implement a more established version for the phone right from start. But hold still its not going to take very long
Bests,
phsorx

Comprehensive theming links/guides?

I've just kind of gotten into theming a lil bit and I was hoping to find more information. I've checked out the "Ultimate Theming Guide" and many other links and I've got a fairly good idea until you get into the xml (I'm reading up on this now) I was wondering if some of you could save me some google time and post links etc. to useful information. I've already got something to extract, repack and sign apks. I'm mostly looking for the actually theming itself, identifying the portions of the ui to tweak, particular xmls to edit etc. I'm still relatively new to this but if any of you ever played WoW there used to be an addon that would identify the frame/scripts responsible for whatever item you moused over.
jvegastn said:
I've just kind of gotten into theming a lil bit and I was hoping to find more information. I've checked out the "Ultimate Theming Guide" and many other links and I've got a fairly good idea until you get into the xml (I'm reading up on this now) I was wondering if some of you could save me some google time and post links etc. to useful information. I've already got something to extract, repack and sign apks. I'm mostly looking for the actually theming itself, identifying the portions of the ui to tweak, particular xmls to edit etc. I'm still relatively new to this but if any of you ever played WoW there used to be an addon that would identify the frame/scripts responsible for whatever item you moused over.
Click to expand...
Click to collapse
If I werent on my phone I would point you at the link... Search xda for apkmanager. This will allow you to decompile and recompile apk's easily after modifying xml filea. It utilizes apktool (smali and baksmali) to format the xml files to a usable format in a text editor such as notepad or notepad++
One catch with apkmanager is that it doesnt interpret 9.png files correctly. You will need to read tge log to see which of those files catch it up. Then cut these and just dip them back into the finished apk using 7zip. When I get back to my desktop I can look up links and try to post the steps I take.
Sent from my DROIDX using XDA App
Apkmanager is very helpful, I'm looking for more info on what images correspond to what. Quick easy xml alteration with being a code guru. Hope that makes sense.

[Q] XML Questions for my apk ... (X-post from DNA)

Hi,
I've been trying to make this app mostly for personal use.
I actually am just changing/designing the images to just skin it really.
Feel free to check it out ( http://db.tt/qfFVq7uz ) (see attached as well), but I have a question or two about the xml stuff.
In the settings, I want to change the links that are inside there that go to other site to basically reroute them to our website.
I have tried looking at the xml files, I'm assuming that's where the link gets it's info, but not 100% sure.
Can anyone point me in the right direction on how to change these links. Changing the images and signing the apk is no problem for me so far.
Just a little help needed with the xml stuff. I can see it with an xml reader/editor, but it all looks foreign when I open it. I know html and what should do what, so I'm not completely useless when looking at it!
Thanks so much!

Categories

Resources