[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


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: 22,607
Last edited:

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
[Cross-Platform] StudioAndroid [GUI]

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

Batch APK de- recompile
Change Animation speed
Text color
IMPORTANT: Porting APK MULTI-TOOL - Wich is for Windows only ATM.
I'll include it in my tool and ask the dev to pay $10 for it :p (joke ofcourse)
IMPORTANT: FINISHING the "build from source option :)
 

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
APK MUlti Tool:

888 Lines in ONLY the Start script.

But I AM porting it.

Updated this tool first, V1C2A

Changelog V1C2 & V1C1

#v1c1:
[^]Added copyright
[^]Updated Animation
[^]Added second section; looks better
[^]OOPS! I added CopieFrom under the option "c" wich is already changelog!
[^]Improved other than home directory - was not working
[^]ICS Blue characters <3
[^]Added BUILD FROM SOURCE option
[^]Custom animation speed :)
[>]To try if this works, please go into terminal and type:
cat --help
if it tells you the manual for "cat", then you are fine.
Option D from the main menu.

#v1c2:
[^] Added more comments
[^] Newer CM source - not MIK_OS but now stock CM, wich includes newest adfad :)
[^] Custom WaitTime
[^] New script version :)
[^] Fixed some bugs
 

bhaviksatra87

Member
Nov 16, 2011
9
1
Will it work on windows

Hey! will this app work on windows? How to batch resize using this? Can this handle transperency? And will it perfectly fit to MDPI from HDPI or it will have FC's???
 

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
Hey! will this app work on windows? How to batch resize using this? Can this handle transperency? And will it perfectly fit to MDPI from HDPI or it will have FC's???

fc has nothing to do with size, I think...

windows, not yet. How to resize: option resize and follow on screen notifications.can handle transparency.

But no windows yet

Greets!
 
  • Like
Reactions: Edubyah

Waddle

Senior Member
Dec 31, 2011
465
159
Somewhere...
Hey, I was just wondering what the build from source option does. (I'm not that amazing dev so this might help). Does it compile stuff Aosp, or cm7?

Sent from my GT-I9100 using Tapatalk
 

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
Hey, I was just wondering what the build from source option does. (I'm not that amazing dev so this might help). Does it compile stuff Aosp, or cm7?

Sent from my GT-I9100 using Tapatalk

yep IT does! It can prepare your PC for building, and compile AOSP GB, ICS, oxygen, cm7, and maybe another one I forgot... Wasn't it clear? I'll as more screens

Greets!
 
  • Like
Reactions: Waddle

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
Seems cool. This will really help me out with starting an Aosp rom. Thanks

Sent from my GT-I9100 using Tapatalk

You're welcome.happy users, that's what I am doing it for!

Today ,I made a big update, and added the option batch theme. Also made the tool git, installer file (much smaller and better), new directories support, code cleanup, and some fixes. And also, Apk multi tool is not more then a weak away from release.

Greets!
 

Waddle

Senior Member
Dec 31, 2011
465
159
Somewhere...
Thanks man,
This is a pretty amazing program. I looked at the script code and i am really suprised by how long it is. Nice job! As i type this, i am downloading the source code for gingerbread.
 

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
Thanks man,
This is a pretty amazing program. I looked at the script code and i am really suprised by how long it is. Nice job! As i type this, i am downloading the source code for gingerbread.

Nice :)

If you want to, I can learn you how to code it. If you look at the code of the dsixda kitchen inside the scripts directory, copy that and put it in the main menu, it's as longas my script is now. That's what I wanted: ONE script

Greets!
 

v6ser

Senior Member
Jan 16, 2012
176
221
Rome before, Brasilia now
How do I resize?

Is saying values:

I Have to put the directory?

Can you make a quickly tutorial for me? I just need to resize and then I will give credits to you also.
 

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
How do I resize?

Is saying values:

I Have to put the directory?

Can you make a quickly tutorial for me? I just need to resize and then I will give credits to you also.

If I am right, it says
Usage: SrcDir ext DestDir perc
Source dir contains the images you want to resize
Extension should be png
DestDir is where the resized images will be put
Perc is the percentage, from HDPI to MDPI IS 66%

Hope I helped.

Greets!
 
  • Like
Reactions: v6ser

v6ser

Senior Member
Jan 16, 2012
176
221
Rome before, Brasilia now
If I am right, it says
Usage: SrcDir ext DestDir perc
Source dir contains the images you want to resize
Extension should be png
DestDir is where the resized images will be put
Perc is the percentage, from HDPI to MDPI IS 66%

Hope I helped.

Greets!

Yes it says, Usage: SrcDir ext DestDir perc

But you have to type on the Value thing I said before.

I typed:
Code:
~/src 9.png ~/src/new 36
36 is ldpi(is that right?)

And says this is not a command.
 
Last edited:

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
Yes it says, Usage: SrcDir ext DestDir perc

But you have to type on the Value thing I said before.

I typed:
Code:
~/src 9.png ~/src/new 36
36 is ldpi(is that right?)

And says this is not a command.

Gimme the screen res of LDPI and Ill calculate. Never resize .9.png

Greets!

I'm not a fake.
I prefer people to reply to me and give feedback instead of thanking me!
But thanking me does show if you apreciate my works.
 
  • Like
Reactions: v6ser

Top Liked Posts

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


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


    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


    37
    [Cross-Platform] StudioAndroid [GUI]

    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!!
    4
    Hey, I looked through your post, but I don't see what this tool is supposed to do. :( could you maybe write a description in the op?

    Sent from my SGH-I777 using Tapatalk

    Hmmn I'll make a screenshot

    EDIT: OK NOW?

    Greets!
    3
    Incoming:

    Batch APK de- recompile
    Change Animation speed
    Text color
    IMPORTANT: Porting APK MULTI-TOOL - Wich is for Windows only ATM.
    I'll include it in my tool and ask the dev to pay $10 for it :p (joke ofcourse)
    IMPORTANT: FINISHING the "build from source option :)
    3
    OKAY. Name will be changed to StudioAndroid.

    Changelog:
    ###v0.50
    [&] Changed name to StudioAndroid!

    [^] Implemented my own APK Tool (Compile, Decompile, Zipalign, Sign, Extract, Repackage)
    [^] Implemented Smali, Baksmali, Odex, De-Odex, etc
    [>] Merged Compile and Decompile. quite a job.
    [>] Merged Extract and Repackage.
    [^] Added Aroma menu. Not yet usable, hold on.
    [^] You can now choose your key when signing :D
    [^] A HELL LOT of bug-fixes. I wasn't using the functions, so did not find out they were not working anymore.
    [^] JDKInstaller now supports building ICS.

    [>] When Building from source, you can now choose your device :)
    [>>] Build from Source big-bug fixed.
    [>>] Switch BUILD-Mode big-bug fixed
    [>] Completely re-designed Resize, it was confusing for some users. Clear now?
    [>] Updated SAI script for myself, first every changelog had to have 11 lines in total :p
    [>] Switched to Build* instead of Source*. Build* now also includes Kernel building (not fully defined yet!)
    [>] Redesigned the tool, again :p Every time more and more options to come. Request please!
    [>] Implemented red text. That will highlight a warning :)
    [>] When using "SA" instead of "./SA", the script will now also copy all arguments.

    [ ] Every piece of the script is now much cleaner. I updated the "case" situation again.

    All that's left is fixing bugs.

    Afterwards, you will like me :D