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

Search This thread

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
mdi8368ou.png


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
osdunroz1.png

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
osdunroz1.png

sln5uinwn.png

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

e4riqlyxf.png

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

OR

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

znuuzfijc.png


 

Attachments

  • Preview.jpg
    Preview.jpg
    53.2 KB · Views: 683
Last edited:

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
[TOOL][Linux / Windows] StudioAndroid - GtkUI

mdi8368ou.png


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


Translate?
osdunroz1.png

LINUX

First navigate to StudioAndroid directory.
Then

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:
msgfmt Studio.po -o yourlang_YOURLANG/LC_MESSAGES/Studio.mo

When I update it, merge the changes using:

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 :D:D:D

FULL CREDITS WILL BE GIVEN

Info
osdunroz1.png


Credits
osdunroz1.png

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:

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
dokmwmn68.png


Omega Theme Studio

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


Features
osdunroz1.png

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
osdunroz1.png

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

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
nscta6u9m.png
HELP​

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


Update
Check ONLINE for updates!

Utils

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
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
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 :D
You can now also choose the Key :D

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

Zipalign
Aligns the APK. That makes it faster :D


Advanced
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
I am working on this.
Many features will be added, but for now it's just a few options.
 
Last edited:
D

dhruv.always

Guest
So, I dont need to download the sources when building from source?
 

KeitIG

Senior Member
Jul 27, 2011
102
46
Paris
complete .zip file uploaded with AC and ACI translated. There should be some mistakes but i'll correct them when there will be a new release ;)

(cf my post)
 
  • Like
Reactions: mDroidd

KeitIG

Senior Member
Jul 27, 2011
102
46
Paris
I had an idea: could you add an option in the menu to add manualy a source location ?

When sources are downloaded, where can we found them to edit them ?

And will this script be only for optimus one or for other devices ?
 
  • Like
Reactions: mDroidd

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
I had an idea: could you add an option in the menu to add manualy a source location ?

When sources are downloaded, where can we found them to edit them ?

And will this script be only for optimus one or for other devices ?

1 there is, use option 1 in the Build menu (Other)
EDIT: whoops, there isn't... I think I'll change to the home directory.
2 you can find them in your Android Central folder /WORKING_DIR_x
x is the number of the option you chose to fetch it.
3 It already is for other devices, use the Other option

Greets!
 
Last edited:

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
Updated :)

###v0.12
[^] Implemented BuildKernel
[^] French translation by KeitG - THANKS!
[^] Some small code improvements. Visual changes to the MAIN MENU
[^] Added switches and commands. example: "./AC [menu option]" to go to that option DIRECTLY. "./AC -h" to go to the HELP page
[^] SubDirs now supported in Resize (example: drawable-hdpi gets copied over)
[^] BetaInstaller inside ACI script
[^] Every output will now be visible inside LOG!
[^] Implemented CASE options, more clean. Implemented InvalidOption.
[^] Utils.zip is now less then HALF the previous size :)

any suggestions are REALLY appreciated!

Thanks @kssood for suggesting awesome things! :D
thanks @ta for the idea of kernel building (although is still much work to do!)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 60
    mdi8368ou.png


    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
    osdunroz1.png

    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
    osdunroz1.png

    sln5uinwn.png

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

    e4riqlyxf.png

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

    OR

    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

    znuuzfijc.png


    20
    [TOOL][Linux / Windows] StudioAndroid - GtkUI

    mdi8368ou.png


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


    Translate?
    osdunroz1.png

    LINUX

    First navigate to StudioAndroid directory.
    Then

    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:
    msgfmt Studio.po -o yourlang_YOURLANG/LC_MESSAGES/Studio.mo

    When I update it, merge the changes using:

    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 :D:D:D

    FULL CREDITS WILL BE GIVEN

    Info
    osdunroz1.png


    Credits
    osdunroz1.png

    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!!
    19
    nscta6u9m.png
    HELP​

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


    Update
    Check ONLINE for updates!

    Utils

    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
    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
    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 :D
    You can now also choose the Key :D

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

    Zipalign
    Aligns the APK. That makes it faster :D


    Advanced
    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
    I am working on this.
    Many features will be added, but for now it's just a few options.
    6
    dokmwmn68.png


    Omega Theme Studio

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


    Features
    osdunroz1.png

    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
    osdunroz1.png

    1. Download StudioAndroid as instructed in post #1
    2. Run it as instructed in post #1
    3. Click Options > Toggle Omega
    Done​
    6
    @mdroidd... a feature at least i would enjoy very much would be to play a sound when an error occurs in building android (or kernel). I find myself away from my computer and i forget that i'm building and when i come back i find that it's stuck on an error and that is really annoying...
    A solution to this may be your tool reading the output from make and when it reads "error" within the first characters of a line to play a sound...