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

Search This thread

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
Updated again.
Changes:
Build from Source: You can now add source files without having to edit the SA.py to use them properly
Some small enhancements
Windows fix (try if Re-Compiling works now please)
Build from Source fix
Update fix
Added refresh button (Decompiling, ExPackage)
Auto-refresh after decompile / extract
Build fix
added Toro to devices

@Windows users using python to run: Please run SA.py and try to Decompile and recompile any APK.

Report in any case.

Thank you
 
  • Like
Reactions: graffitiwriter

graffitiwriter

Senior Member
Oct 21, 2010
57
11
Macon Ga
Google Pixel 6 Pro
Thanks for the toro add. I get nothing when I try to build. Am I missing a step? I set up my environment manually, tried to compile that way kept running into errors so I tried to go this route. I am pretty noobish when it comes to linux but I am learning.

Sent from my Galaxy Nexus using xda app-developers app
 

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
Thanks for the toro add. I get nothing when I try to build. Am I missing a step? I set up my environment manually, tried to compile that way kept running into errors so I tried to go this route. I am pretty noobish when it comes to linux but I am learning.

Sent from my Galaxy Nexus using xda app-developers app

...

Yeah I need a bit more specific hints.
What do you click, what is the output and log etc etc.

Sent from my Galaxy Nexus using Tapatalk 2
 

graffitiwriter

Senior Member
Oct 21, 2010
57
11
Macon Ga
Google Pixel 6 Pro
Sorry not in front of my CPU today. I believe it was install utilities-prepare building-build from source, chose toro as device and aosp then sync. When that was done, build. I can be a little more specific later this tonight when I get home. Thanks again for your help and work.

Sent from my Galaxy Nexus using xda app-developers app
 

reconex

Senior Member
Jul 1, 2012
205
99
25
Singapore
hi there i just downloaded this on ubuntu 11.10, when i try to run StudioLinux by dragging and dropping i get
Error loading Python lib '/tmp/_MEIo4rv1C/libpython2.7.so.1.0': /lib32/libc.so.6: version `GLIBC_2.15' not found (required by /tmp/_MEIo4rv1C/libpython2.7.so.1.0)
Segmentation fault
 
  • Like
Reactions: mDroidd

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
for both, nothing happens.

What do you mean?
You enter the command, press enter and a new line appears and no output?

Or do you get errors??

Or you press enter and no new line appears?

It's kinda hard to guess what's going wrong without the smallest clue.

Since you're on ubuntu you will have python and gtk installed, so that shouldn't give any problem...

Hang on, I'll investigate

Sent from my Galaxy Nexus using Tapatalk 2
 

reconex

Senior Member
Jul 1, 2012
205
99
25
Singapore
What do you mean?
You enter the command, press enter and a new line appears and no output?

Or do you get errors??

Or you press enter and no new line appears?

It's kinda hard to guess what's going wrong without the smallest clue.

Since you're on ubuntu you will have python and gtk installed, so that shouldn't give any problem...

Hang on, I'll investigate

Sent from my Galaxy Nexus using Tapatalk 2

I press enter and a newl line appears . thats all.

Open a terminal and type this:

Code:
sudo apt-get -o APT::Immediate-Configure=0 -f install


Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
aosp@AOSP:~/kitchen$


Sent from my Galaxy Nexus using Tapatalk 2

this returns
 

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