Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,444 Members 42,746 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
mDroidd
Old
(Last edited by mDroidd; 26th October 2012 at 08:27 PM.)
#1  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: Aug 2011

 
DONATE TO ME
Calculator [TOOL][AIO] StudioAndroid # Automize everything! [GUI]



Quote:
Originally Posted by vlt96 View Post
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:	649
Size:	53.2 KB
ID:	1319249  
The Following 62 Users Say Thank You to mDroidd For This Useful Post: [ Click to Expand ]
 
mDroidd
Old
(Last edited by mDroidd; 23rd October 2012 at 08:07 PM.)
#2  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: Aug 2011

 
DONATE TO ME
Default [TOOL][Linux / Windows] StudioAndroid - GtkUI



Quote:
Originally Posted by vlt96 View Post
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!!
The Following 20 Users Say Thank You to mDroidd For This Useful Post: [ Click to Expand ]
 
mDroidd
Old
(Last edited by mDroidd; 23rd October 2012 at 08:34 PM.)
#3  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: Aug 2011

 
DONATE TO ME


Omega Theme Studio

Quote:
Originally Posted by vlt96 View Post
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

The Following 6 Users Say Thank You to mDroidd For This Useful Post: [ Click to Expand ]
 
KeitIG
Old
(Last edited by KeitIG; 16th August 2012 at 02:29 PM.)
#4  
KeitIG's Avatar
Senior Member
Thanks Meter 46
Posts: 102
Join Date: Jul 2011
Location: Paris


edit: out of date
This is not a signature.
The Following 5 Users Say Thank You to KeitIG For This Useful Post: [ Click to Expand ]
 
mDroidd
Old
#5  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: Aug 2011

 
DONATE TO ME
Quote:
Originally Posted by KeitIG View Post
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: [ Click to Expand ]
 
KeitIG
Old
#6  
KeitIG's Avatar
Senior Member
Thanks Meter 46
Posts: 102
Join Date: Jul 2011
Location: Paris
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: [ Click to Expand ]
 
mDroidd
Old
#7  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: Aug 2011

 
DONATE TO ME
Quote:
Originally Posted by KeitIG View Post
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: [ Click to Expand ]
 
mDroidd
Old
#8  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: 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: [ Click to Expand ]
 
mDroidd
Old
(Last edited by mDroidd; 4th May 2012 at 10:21 AM.)
#9  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: 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.
The Following 20 Users Say Thank You to mDroidd For This Useful Post: [ Click to Expand ]
dhruv.always Old
#10  
Guest
Thanks Meter
Posts: n/a
So, I dont need to download the sources when building from source?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes