Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TOOL][AIO] StudioAndroid # Automize everything! [GUI]

OP mDroidd

11th March 2012, 04:13 PM   |  #1  
mDroidd's Avatar
OP Recognized Contributor
Thanks Meter: 1,386
 
1,833 posts
Join Date:Joined: Aug 2011
Donate to Me


Quote:
Originally Posted by vlt96

You shouldn't try it out when you have free time, it will give you free time

If you like my work, please consider a little donation:



Features

Quote:

Quote:

FEATURES LIST
Image
Install Image Tools: Install ImageMagick and/or PIL to use my Image Tools
Convert Image: Convert any image in given directory to given extension
Resize: Batch-resizes files found in given directory with given percent or given DPIs, or resizes an APK with given DPIs
Batch Theme: Applies a theme overlay (caclulated with luminosity values) to all images found in a given directory (e.g. THEME!)
Batch Rename: Batch renames all files found in a directory with a given pattern, and renames them to given out (for porting Themes)
CopyFrom: Copies images present in directory 1 FROM directory 2 (if present in dir 2) - for themers!
OptimizeImage: Optimizes Image, so that size will be smaller
Development
Prepare Building: Installs necessary build tools
Build from Source: Builds one from many sources and even choose a device (if available)
Add Governor: Add a governor to a kernel
Install Android SDK
Install Java JDK
APK
(De)Compile
Extract/Repackage APK
Sign APK with different keys
Zipalign APK
Install APK
Optimize Images INSIDE APK
Advanced
(Bak)Smali: Lets you edit the code inside classes.dex and compile back
ODEX: ODEX a ROM
DE-ODEX: DE-ODEX a ROM
Compile to an Exe: lets you compile Python scripts to an executable for your OS
Android
Configure ADB: Connect to devices over IP, enable/disable Network ADB on connected device
Logcat
Build.Prop: Pulls Build.prop from device and let you edit it
Backup / Restore: full backup of (all optional) apps, system apps, data, shared storage
ADB File Explorer
StudioAndroid options
Clean workspace and go back to before you used this tool the first time!
Debug: Includes printing the used commands before executing and testing the latest changes
Check the log in a scrollable window with selectable text
Report a bug: Opens a reply on this XDA thread with the content of your log in it
Changelog: See what's changed!
Update: Update StudioAndroid and choose between Stable en Nightly
Restart
About: shows information about the developer, contact info, profile image, twitter etc




Instructions

Quote:


Quote:

Download the latest update OR one of the stable updates
Extract in your home directory
double-click StudioUnix




Preparation:
Quote:

Download one of the stable updates
Extract in a path without spaces (e.g. NOT in "Documents and Settings")
Double-click StudioWindows.exe

OR

Quote:

Download and run Python
Download and run PYGTK - 32-bits
Download the latest update OR one of the stable updates
Extract in a path without spaces (e.g. NOT in "Documents and Settings")
Right-click Studio.py > Open with > Python



Quote:

Preparation:
install python2.7: 64-bit/32-bit x86-64/i386 / 32-bit i386/PPC
Install this (GTK+ and PyGTK)
Download THIS
Run StudioUnix



Attached Thumbnails
Click image for larger version

Name:	Preview.jpg
Views:	658
Size:	53.2 KB
ID:	1319249  
Last edited by mDroidd; 26th October 2012 at 09:27 PM.
The Following 62 Users Say Thank You to mDroidd For This Useful Post: [ View ]
11th March 2012, 04:14 PM   |  #2  
mDroidd's Avatar
OP Recognized Contributor
Thanks Meter: 1,386
 
1,833 posts
Join Date:Joined: Aug 2011
Donate to Me
[TOOL][Linux / Windows] StudioAndroid - GtkUI


Quote:
Originally Posted by vlt96

You shouldn't try it out when you have free time, it will give you free time


Translate?

Quote:

LINUX


First navigate to StudioAndroid directory.
Then

Quote:

xgettext -k_ -kN_ -o messages.pot Studio.py
msginit

A new file will be created (***.po)

Open that file with PoEdit and translate the right-column
When finished, save it and rename ***.po to Studio.po and put it in StudioAndroid/lang/yourlang_YOURLANG/LC_MESSAGES

afterwards, compile it:
Quote:

msgfmt Studio.po -o yourlang_YOURLANG/LC_MESSAGES/Studio.mo

When I update it, merge the changes using:

Quote:

xgettext -k_ -kN_ -o messages.pot Studio.py
msgmerge -U Studio.po messages.pot

and translate the new strings in PoEdit

The file I need is yourlang_YOURLANG/LC_MESSAGES/Studio.mo, but it's handy for you and me if you also include yourlang_YOURLANG/LC_MESSAGES/Studio.po


WINDOWS

Open lang/LanguageFiles/en_US.po in a text editor
msgid indicates the original string
msgstr indicates the string you need to translate.

So translate the msgstr strings.
Afterwards, send me en_US.po renamed to yourlanguage_YOURCOUNTRY.po
Thanks!


If you cant upload files anywhere, then past the content of SA.po in Pastebin and send me the link

THanks in advance

FULL CREDITS WILL BE GIVEN



Info

Quote:

All info is now available at Github:
Git Source
Changelog
Bugs & Feature requests
BitLy Stats



Credits

Quote:

Ablankzin : Contributor to StudioAndroid
Popdog123: He took the MAC side of the project
vlt96: Making a game to play while waiting
KeitlG: Compiled for windows!!!
KeitlG: Helped me testing the long-awaited ReCompile Fix!

Rookie407 : He compiled this tool for windows! AWESOME! You don't have to install Python and GTK anymore!!!
Lithid-CM : He was my messias on Python in general and GTK specific. Go and give him a "THANKS!"
KeitG: Gettext translation
WilliamCharles & Lycan: Windows testers - AWESOME, THANK THE GUYS!!

Last edited by mDroidd; 23rd October 2012 at 09:07 PM.
The Following 20 Users Say Thank You to mDroidd For This Useful Post: [ View ]
11th March 2012, 04:14 PM   |  #3  
mDroidd's Avatar
OP Recognized Contributor
Thanks Meter: 1,386
 
1,833 posts
Join Date:Joined: Aug 2011
Donate to Me


Omega Theme Studio

Quote:
Originally Posted by vlt96

You shouldn't try it out when you have free time, it will give you free time


Features

Quote:

This is a mode of StudioAndroid.
To go to this mode, run StudioAndroid > Options > Toggle Omega.
The purpose of modes is to specialize the GUI for specific actions and functions.

The purpose of the Omega Mode (AKA OmegaThemeStudio) is to create themes for Omega Apps on the fly.


FEATURES LIST
Retrieving styles
  • Download styles from official TeamSyndicate dropbox (30 and more styles!)
    Upload your own style folder to the tool
    Import selected styles from a CM-Theme.apk or ThemeUpdate.zip (!!)
Editing styles
  • Colorize the images, the same way as StudioAndroid does
    includes selecting specific styles (clock, battery, signal, notification etc)
Customize on the fly!
This tool supports customizing all available values in XMLs
That means:
  • Editing clock colors
    Editing clock dividers
    Editing icon locations (for all notifications seperately)
    Padding between icons
    Clock size
    Text size
    AND MORE!
Building
  • Build with your own theme name and version
    Dev name
    "HELLO!" text on startup
    E-Mail, website and version

Instructions

Quote:

1. Download StudioAndroid as instructed in post #1
2. Run it as instructed in post #1
3. Click Options > Toggle Omega
Done


Last edited by mDroidd; 23rd October 2012 at 09:34 PM.
The Following 6 Users Say Thank You to mDroidd For This Useful Post: [ View ]
11th March 2012, 06:18 PM   |  #4  
KeitIG's Avatar
Senior Member
Flag Paris
Thanks Meter: 46
 
102 posts
Join Date:Joined: Jul 2011


edit: out of date
Last edited by KeitIG; 16th August 2012 at 03:29 PM.
The Following 5 Users Say Thank You to KeitIG For This Useful Post: [ View ]
11th March 2012, 06:56 PM   |  #5  
mDroidd's Avatar
OP Recognized Contributor
Thanks Meter: 1,386
 
1,833 posts
Join Date:Joined: Aug 2011
Donate to Me
Quote:
Originally Posted by KeitIG

Ok, i reserved this post for my translation

Good one!

I'll link already to the post xD

Could you add this piece of text to the top of your post?
Looks official
HTML Code:
[CENTER][IMG]http://www.mupload.nl/img/s81uiuto3.png[/IMG][/CENTER]
The Following 4 Users Say Thank You to mDroidd For This Useful Post: [ View ]
11th March 2012, 07:11 PM   |  #6  
KeitIG's Avatar
Senior Member
Flag Paris
Thanks Meter: 46
 
102 posts
Join Date:Joined: Jul 2011
I'm getting errors using Cygwinn on Windows to execute your scripts, mainly with variables ><

I'm going to execute it with VirtualBox
The Following 2 Users Say Thank You to KeitIG For This Useful Post: [ View ]
11th March 2012, 07:15 PM   |  #7  
mDroidd's Avatar
OP Recognized Contributor
Thanks Meter: 1,386
 
1,833 posts
Join Date:Joined: Aug 2011
Donate to Me
Quote:
Originally Posted by KeitIG

I'm getting errors using Cygwinn on Windows to execute your scripts, mainly with variables ><

I'm going to execute it with VirtualBox

That would be possible indeed.
I think I am going to investigate a bit in Cygwin to make it compatible.

When using VirtualBox, use Ubuntu 10.04 LTS (64-bit preffered!)

Greets!
The Following 2 Users Say Thank You to mDroidd For This Useful Post: [ View ]
11th March 2012, 07:15 PM   |  #8  
mDroidd's Avatar
OP Recognized Contributor
Thanks Meter: 1,386
 
1,833 posts
Join Date:Joined: Aug 2011
Donate to Me
Add: could you post the errors or PM them to me??

Greets!
The Following User Says Thank You to mDroidd For This Useful Post: [ View ]
12th March 2012, 11:23 PM   |  #9  
mDroidd's Avatar
OP Recognized Contributor
Thanks Meter: 1,386
 
1,833 posts
Join Date:Joined: Aug 2011
Donate to Me
HELP


What does your script do?
Well, look at the screenshot! And then look at the explanation below.


Update
Check ONLINE for updates!

Utils

Quote:

Install Utilities
You are now able to install ADB, APKTOOL, AAPT, 7z, (bak)smali and a lot more seperately or together. This makes it easier for you to use them!

Resize pictures
Seems clear enough. It resizes pictures for you, theme conversion is easy!
Now also includes a small manual..

Batch Theme
This places a color layer over an image.
You can theme 1000 images in 4.31 seconds (I timed it).
Please note that if the current color is red and you want purple, you are not gonna add purple to it, but blue!

CopieFrom
It copies images that are in Directory A FROM Directory B.
Example: A contains 1 2 3 4 5, B contains 2 3 5 6 7 9 8
2 3 and 5 get copied over. Handy for theme porting!

Optimize Images
After selecting Extract APK, you can optimize images so they look better.




Develop
Quote:

Install SDK
Installs the Android Software Development Kit.
You can run Virtual Machines with Android with it, and create APPS.

Install JDK
Installs the Java Development Kit.
You can develop in java and for Android with it.

Prepare Building
A lot of things should be installed before you can build your ROM from source.
This option does that for you, you don't have to do anything yourself again

Build from Source!
You can build a ROM from online sources with it! ALl you need is in it, but for any help you can always PM me!

Build Kernel
BETA!
You can sync the kernel sources with it. THAT'S IT FOR NOW!

Switch BUILD-Mode
Unfortunately, every device has its own sources to build a ROM or Kernel with.
I made this tool to be able to switch from devices
If your device is not (yet) included, then use option "Include".



APK
Quote:

Compile APK
The way Android reads the files inside an APK is not the way we do.
Compiling transforms our files into Android files. That's the only way I can explain...

Decompile APK
Undo compile, so we can edit code.

Extract APK
Leave everything intact, but extract. You will not be able to edit anything other then images!

Sign
Every APK needs a signature to verify the Permissions and files in the APK.
This tool does that for you
You can now also choose the Key

Install APK
Install it on your device via USB without a popup.

Zipalign
Aligns the APK. That makes it faster




Advanced
Quote:

Baksmali
This allows you to "decompile" the classes.dex file in the APK so you can edit the code of your APK!

Smali
After you edited code, you need to "compile" again. Using this!

De-Odex
WIth system APKs, the smali files are not inside the APK, but outside. Inside an ODEX file.
De-odex includes the files inside the APK, so that it it needs less space

Warning: ODEX apps can be imported in dalvik straight.
DE-ODEXED apps don't. So De-Odexed is a bit slower...



Aroma
Quote:

I am working on this.
Many features will be added, but for now it's just a few options.

Last edited by mDroidd; 4th May 2012 at 11:21 AM.
The Following 20 Users Say Thank You to mDroidd For This Useful Post: [ View ]
dhruv.always
13th March 2012, 01:01 PM   |  #10  
Guest
Thanks Meter: 0
 
n/a posts
So, I dont need to download the sources when building from source?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes