aapt GUI - Android General

Okay...I made a windows batch file to simplify using aapt. I'm gonna post them here and over on AFTVnews. They're very simple but extremely easy and user-friendly. I hope someone else finds some use for them too.
Here's a zip file with 4 different very useful batch files. 2 of them output to text file and the other 2 display directly in the command prompt. The aapt.exe MUST be in the same folder as the batch file being used.
https://www.dropbox.com/s/rchq46qrso2m3kp/aapt CLI GUI.zip

Related

batch command

Hey i wonder if there is any way to use batch command files like in windows
i wanna do sometihing like this
copy /tmp/filename.txt /filename.txt
when i run a file (file.bat)
or is´t any Scheduler program that can do that..
or can it be done in another way
i would look into mort scripts

Evo Splash Screen Helper Script

Hi Everyone, I've been roaming here for the past year with my Hero and recently got my Evo and started modding.. So after searching for an easy way to create the correct stuff for splash screens, I wrote myself a small batch file to complete all the steps except making the suitable bmp file to begin with. I don't know if something like this has been done already, if it has please let me know. Otherwise, Enjoy!
Unzip into new directory (i have one just for splashes)
Prerequisits: Have your 24bit bmp file in the above directory, be in a command prompt window
Usage: create.bat imagefilename (do not add the .bmp extension)
You will be offered to create a seperate copy of the pc36img zip file as your master copy so you can more easily change on the fly if you want.
Script will clean the directory of usage files, run nbimg to convert bmp, run 7zip to create the archive, and offer to create a backup/master copy.
This could be easily ported to a bash script if desired. =)
Mods, if the title or subject matter has been delt with in the past, feel free to let me know and do what you must.
-CK

Dex2Jar tutorial/help?

I found dex2jar that is intended to convert .dex files to human readable .class files in java. The tutorial however is not very complete and even after putting both the .apk and the dex2jar unzipped file into a folder and running the code in command prompt, all I receive is the opening of dex2jar.sh. I do not find the .jar file that should be generated in the same folder. Anybody with experience with dex2jar want to post a tutorial or some help?
1. dex2jar.sh file.apk
2. profit
I feel like an idiot right now. The sh file is for Linux computers, I am on windows, so I should have ran the batch file.
im going to bump this thread...
i am having some problems with dex2jar right now. ive been able to properly run baksmali, but for some reason im not able to run dex2jar.
im on windows 7, and ive tried saving the .zip file to a folder then unzipping with command prompt, and etc. however, this process does not unzip for me. maybe, i need to look up the unzip command lines to make sure, if im even entering the informaiton correctly. though, i assume that i could just unzip the .zip program into a folder using winace, or something. And, the dex2jar program would work the same. i might be wrong, but i manually unzipped dex2jar to a folder.
then, since my phone is rooted. I easily have access to classes.dex files. So, I put the classes.dex files in the same folders as the dex2jar files and etc.
now, i run command prompt and try to pull up all the directories to the dex2jar.bat and classes.dex files. after i have the directories set up. I run the command line of dex2jar.bat classes.dex
and usually gives me an error of
'java' not recognized on internet or/and external etce etc etc..
ive had the same error with baksmali, but i was doing something wrong, as in the file system and using the wrong command line.
i've tried moving up a few directories too the lib files, and running the dex2jar-0.0.7.8-SNAPSHOT.jar file, (or whatever it is called) in the command line with classes.dex and it gives an error, but the last line says batch (or something) is operational.
SORRY, for the lOOOOOOOnnnng run down, but i really need help.
@badmonopoly
Initially, I struggled a bit, but here's what i did to make it work (on XP)
1. Extract all the files in the zip file to a folder. You can use any extracting tool in windows.
2. Copy you .dex file to this folder.
3. Run setclasspath.bat. This should be run because this data is used in the next step.
4. Go to Windows Command prompt, change the folder path to the folder where you extracted the zip file in step 1 and run the command as follows:
dex2jar.bat classes.dex
5. Tada!! Your jar file will be ready in the same folder.
Hope this helps..
P.S.: You need to have Java installed on your Windows machine for this to work.
this is what you're looking for:
http://forum.xda-developers.com/showthread.php?t=873466
I got it all working but i have one problem probably a noob question but how do i get it back to a dex?
ok well nevermind smali and baksmali is way easier to use
jar2dex
HI I have got a serious problem and i have edited one of this but now i need to convert jar file to dex how ???? this is really serious for me plz help!!!
msri3here said:
@badmonopoly
Initially, I struggled a bit, but here's what i did to make it work (on XP)
1. Extract all the files in the zip file to a folder. You can use any extracting tool in windows.
2. Copy you .dex file to this folder.
3. Run setclasspath.bat. This should be run because this data is used in the next step.
4. Go to Windows Command prompt, change the folder path to the folder where you extracted the zip file in step 1 and run the command as follows:
dex2jar.bat classes.dex
5. Tada!! Your jar file will be ready in the same folder.
Hope this helps..
P.S.: You need to have Java installed on your Windows machine for this to work.
Click to expand...
Click to collapse
Great...........Nice Work
msri3here said:
@badmonopoly
Initially, I struggled a bit, but here's what i did to make it work (on XP)
1. Extract all the files in the zip file to a folder. You can use any extracting tool in windows.
2. Copy you .dex file to this folder.
3. Run setclasspath.bat. This should be run because this data is used in the next step.
4. Go to Windows Command prompt, change the folder path to the folder where you extracted the zip file in step 1 and run the command as follows:
dex2jar.bat classes.dex
5. Tada!! Your jar file will be ready in the same folder.
Hope this helps..
P.S.: You need to have Java installed on your Windows machine for this to work.
Click to expand...
Click to collapse
cant open the file.
file is corrupted
why??

[TOOL] Simple Windows command line sign script

Hello, everybody!
I've wrote simple batch script for signing apk and zip to be used in windows console.
There's nothing special, I just found it more handy for me, since I prefer to use Far Manager, not Windows Explorer and because I don't like right-clicks
To install it, extract contents of attached file somewhere into your path.
Then you can sign files simply typing in Far Manager (or windows console):
Code:
sign filename1.zip filename2.zip filename3.zip ...
It will create signed files filename1.signed.zip, filename2.signed.zip and so on.

[Q] How to modify any android apk file?

I use Bluestacks 0.9.11.4119 . I Install android applications and games, from root folder (i.e. device/android/data/data) i copy all the folders to windows directory (i.e. publicfolder/pictures), now many of the apps or games have two type of similar files and i need to see what's inside of the files,
1st.- .so files and database files
2nd.- some of the files have no extension so if i open it on notepad then it comes in Alphanumeric symbolic format,i think its encrypted so i am not able to see even i have tried many language decrypter but failed
3rd.- how to dissemble the apk file and how to modify it.
4th.- how to read XML file of android apps, when i open it on notepad or Microsoft XML it shows error.
I want to learn something so please help me with these issues, and thank you for previous help
To edit any apk is necessary Apktool. Look this guide and try edit:
http://www.xda-developers.com/decompile-edit-and-recompile-in-one-tool-with-apk-studio/
gamer22881 said:
I use Bluestacks 0.9.11.4119 . I Install android applications and games, from root folder (i.e. device/android/data/data) i copy all the folders to windows directory (i.e. publicfolder/pictures), now many of the apps or games have two type of similar files and i need to see what's inside of the files,
1st.- .so files and database files
2nd.- some of the files have no extension so if i open it on notepad then it comes in Alphanumeric symbolic format,i think its encrypted so i am not able to see even i have tried many language decrypter but failed
3rd.- how to dissemble the apk file and how to modify it.
4th.- how to read XML file of android apps, when i open it on notepad or Microsoft XML it shows error.
I want to learn something so please help me with these issues, and thank you for previous help
Click to expand...
Click to collapse
In addition to apktool (thanks, @kaiodduarte), you're also going to need a good text editor (I use Notepad++), an archive manager (like 7zip or WinRAR), and the ZipSigner app for your device.
ИΘΘK¡€ said:
In addition to apktool (thanks, @kaiodduarte), you're also going to need a good text editor (I use Notepad++), an archive manager (like 7zip or WinRAR), and the ZipSigner app for your device.
Click to expand...
Click to collapse
thank you for the advice but i have 1 worries
if the text file or a file is encrypted the how is notepad++ is going to help me..??
gamer22881 said:
thank you for the advice but i have 1 worries
if the text file or a file is encrypted the how is notepad++ is going to help me..??
Click to expand...
Click to collapse
It will help you with actually being able to make edits to text files without screwing up all of the line endings and encoding.

Categories

Resources