Android OS Forum banner
1 - 13 of 13 Posts

·
Premium Member
Joined
·
97 Posts
Discussion Starter · #1 ·
Mod Type:: Script

Difficulty:: Moderate

Mod Status:: Stable

Apply In:: ADB

Requires Root:: Yes

Source:: https://github.com/corcor67/ThemeR-Studio_V2
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
 

·
Android Beginner
Joined
·
12 Posts
While trying to compile an apk after modding an xml file i get this output. This is from the ICS apk manager
Code:
<br />
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml<br />
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)<br />
at brut.androlib.Androlib.build(Androlib.java:159)<br />
at brut.androlib.Androlib.build(Androlib.java:154)<br />
at brut.apktool.Main.cmdBuild(Main.java:182)<br />
at brut.apktool.Main.main(Main.java:67)<br />
Caused by: brut.directory.PathNotExist: apktool.yml<br />
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)<br />
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)<br />
... 4 more<br />
 

·
Android Beginner
Joined
·
12 Posts
ya i get the same error even if i make no changes

I also tried using the ThemeR studio script and it gave me the same error, even with no changes.
 

·
Android Addict
Joined
·
933 Posts
I would love a windows version.
Hey could you modify the windows version of apkmanager to work with ics????

Sent from my DROID BIONIC using Tapatalk
 

·
Premium Member
Joined
·
97 Posts
Discussion Starter · #11 ·
http://db.tt/8NyOdT7Z

Its the systemUI from aokp for D3

Sent from my XT860 using RootzWiki
Thanks, I've added SystemUI bug to my list of known bugs in 2nd post, I haven't found a way around this yet. I think Davros had got it to work I'll have to check back with him to see what he has done to get it to work.
 

·
Premium Member
Joined
·
97 Posts
Discussion Starter · #13 ·
That's apktool.... Me wants apkmanager.

Sent from my DROID BIONIC using Tapatalk 2 Beta-4
apkmanager uses apktool to decompile and compile apks...just put the files in that zip in place of the ones in your apkmanager and you'll have apkmanager for ics

Sent from my ADR6350 using RootzWiki
 
1 - 13 of 13 Posts
Top