Thx CorCor67 for this work!
ThemeR-Studio V2
It's back!
This has been a work in progress for a long time now, I feel it's ready to go out as a stable release. Almost every script in here has been completely re-worked. I have added AutoSetup scripts for both Ubuntu, Fedora, & Sabayon based distros, you can delete the version that isn't for your distro.I also added support for working on ICS, should decompile and compile fine.The biggest change in the new version, is the addition of the ThemeR-Studio script. This originally started out as mods to ApkManager, but I ended up modifying it so much I thought it would be better to just fork ApkManager and call it ThemeR-Studio.
ThemeR-Studio.sh is compatible with ICS, some of the new features are...
* Clean folders from a menu selection rather than the prompt to clean when starting apkmanager
* Copy frameworks to apktool from rom, this unzips your rom, copies the apks from /system/framework to apktool so you can decompile apks from sense, touchwiz, blur...etc
* Batch decompile, this unzips your rom, pushes frameworks to apktool, and decompiles all of the apks from framework and app folders in your rom
* Batch compile, this compiles all of the folders in batch-decompiled-apps, if you don't want to compile them all either delete the rest or move it to the base directory (~/ThemeR-Studio_V2/Android/ThemeR-Studio) and rename it to "out" and compile with option #9
* Batch zipalign, this zipaligns all apks in batch-compiled-apks, it makes 2 folders in there original and optimized, your zipaligned apks will be in optimized and in case there is any problems the original is backed up in original.
* Tool tweaks allow you to adjust the compression levels of optipng and 7zip, these can cause issues if you crank the compression all the way up things might go crazy on your phone.
ApkManager is still included for now and has also been modified to work with ICS.
ApkOpt is also included, if you don't remember or weren't around when ApkOpt was commonly used it's a script that will optimize pngs and zipalign apks for you. Drop apks in and execute the script and when it's done you will have apks ready to release.
Known issuesDuring AutoSetup when opening the android script you will get this error, (sh: getcwd() failed: No such file or directory) Not sure why it comes up yet but the script executes fine so I'm not worried about it right now.
################################################## ###################################
************************************************** ************************************************** *****************
################################################## ###################################
Install Instructions
if you have git installed, open your terminal and run:
cd ~/
git clone http://github.com/corcor67/ThemeR-Studio_V2
cd ThemeR-Studio_V2
chmod u+rwx *
cd scripts
chmod u+rwx *
Now you can execute the AutoSetup script for your distro. Either open ThemeR-Studio_V2 in your file browser and click it and select to run it in terminal, or in your terminal...cd ~/ThemeR-Studio_V2./AtuoSetupUbuntu <---(or one of the other distros)
if you don't have git, you can install git or visit https://github.com/c...hemeR-Studio_V2 and select the downloads and download in zip or tar.gz form.
IMPORTANT!
ThemeR-Studio needs to be located in your home directory and named ThemeR-Studio_V2 to function properly.
If you have problems please copy the terminal output and post it, this will make it much easier to help you than if you try to describe it.
Disclaimer: These scripts are provided as is with no promises. I will not be responsible for anything you do with these or that occurs as a result of these.
################################################## ###################################
************************************************** ************************************************** *****************
################################################## ###################################
Credits:
daneshm90 : Creator of ApkManager
farmatito : Ported ApkManager to Linux
Rola : The suggestion to include Fedora support and help with testing and working out the bugs in the fedora setup script
Davros : Help testing
nmiltner : Help testing older version
bgill55 : Help testing older version
Kookahdoo : Help testing older version
mjones1052 : Help testing older version
LinuxCynique : Help testing older version
Awesome!
Sent from my Nexus S 4G using Tapatalk