yashsingh1/xdaforums huggingface dataset:
[Desire Themes and Apps] UltraLinx:
How the hell do you even start the application?

:confused:
[Desire Themes and Apps] cgrec92:
Unzip the attachment and click on the file called CLICKME, you're using a MAC right?
[Desire Themes and Apps] UltraLinx:
Nope, using Windows 7.
[Desire Themes and Apps] dancedreamfly:
Can you add the ability to sign zip files that aren't theme related?
[Desire Themes and Apps] Ireas:
check the 1st post ^^ its only for Mac
[Desire Themes and Apps] UltraLinx:
ahh ****, i didn't see that :o
[Desire Themes and Apps] cgrec92:
I'm on it now, will add the ability to sign individual files or entire ROMs.

Now do you mean to sign a file that's already zipped, or signing a folder into a signed zip?

Ok, atm i'm adding the choice of compiling each of the files into the ROM of your choice, all you do is drag and drop the ROM into the window and it will remove the current file within the zip, replace it with your modified one, AND sign it.

Will add after the ability to sign ANY file into a ROM although this required more user input.

Anyone have any feedback on the app?
[Desire Themes and Apps] Sulphy:
Looks brilliant cgrec92 ......

not a mac user myself, so i guess you have been asked, but any chance this will be coming to us lowly ( :D ) PC users ????

great job again...!
[Desire Themes and Apps] Fightspit:
That is nice ! I also update my thread ( http://xdaforums.com/showthread.php?t=722993) for creating a custom framework by promoting your thread (for Mac Users) ;)
[Desire Themes and Apps] cgrec92:
Would be difficult as CMD is very different from Terminal, will have to take a look into CMD and see if I can work something out :)

Thank you very much :D
[Desire Themes and Apps] cgrec92:
Version 1.1 released, big changes.

Changelog in first post :)

Let me know what you guys think of this.
[Desire Themes and Apps] cgrec92:
Version 1.2 released.

Changelog in first post.

All feedback/requests welcome :)
[Desire Themes and Apps] dancedreamfly:
Thanks for hearing my request out. Been using this since your initial release, and it's great! Keep it up!
[Desire Themes and Apps] cgrec92:
Thanks for the feedback, it's really quiet around here so I really don't know how people are finding the application so thanks :)

All requests are welcome!
[Desire Themes and Apps] cgrec92:
Version 1.3 released.

Fixed a couple of bugs and improved scripts.
[Desire Themes and Apps] zsdr:
Would love to give you feedback, but i'm on win7... :/

Nevertheless, looks like good work, please keep it up!!!! :)
[Desire Themes and Apps] cgrec92:
Thanks! :D
[Desire Themes and Apps] otijhuis:
Great job on theme pro :)

Just one little issue. Am running linux mint (basically ubuntu) and DIR is defined as "dirname $0". This returns "." in my case and so it doesn't find the working directory and will create the working directory in the resources directory because that's the current directory at the time. Maybe using pwd is a better option?
[Desire Themes and Apps] cgrec92:
Hi, thanks for the feedback.

Hmm that's annoying...

Can you tell me what error is given? Dirname is used throughout the script so it can't be replaced by pwd because they're for different purposes..

Do you have any problems with the ADB/rom manager/apk/jar manager scripts? They also use dirname

Your feedback is very important! :)

Also if it returns '.' then why does it write the Work Directory to the resources folder? Theme Pro should all be in 1 folder, eg:

THEMEPRO

-------------------------

CLICKME | RESOURCES

-------------------------
[Desire Themes and Apps] otijhuis:
In the script DIR is defined like this:

DIR="`dirname $0`"

In my case that means DIR="." , the current directory.

After that when you change directories with "$DIR"/resources that translates into ./resources and also ./WorkingDirectory for the working directory check. And because the current directory at the time of the check is resources it can't find the working directory and creates a new one under the resources dir.

When I change DIR="`dirname $0`" into DIR="`pwd`" it works fine for me.

Forgot to mention I start themepro from the commandline. Just tried clicking from the file explorer and then the dirname works. Pwd works in both cases though.

Btw, just noticed when I drag an apk in the terminal window it doesn't work when there's a space in a directory name. Then it doesn't find the apk. Not a big deal but thought I'd mention it ;)
[Desire Themes and Apps] cgrec92:
Yes I know how the command line works, but i mentioned in the 1st post that you have to double click the file because i made it like that so it's easier to use.

Pwd won't work for other parts of the script when you need to get the dirname of a file.

As for the space names that's a known issue which is difficult to fix, the only solution is that if you are typing in multiple files, you need to seperate with a comma [,] for example if you type:

Mms.apk Facebook.apk Browser.apk, then it will find

Mms.apk

Facebook.apk

Browser.aok

However if you type My File.apk Browser.apk Lots of Files.apk, then it will find

My

File.apk

Browser.apk

Lots

of

Files.apk

So as you can see i need to work on space names :)
[Desire Themes and Apps] otijhuis:
Wasn't suggesting you didn't know how the commandline works. And didn't mention replacing all the dirname commands either. As far as I can tell everything else still works after changing only DIR="`dirname $0`" to DIR="`pwd`".

Clicking is easy but don't always have a graphical environment and it's strange if a shell script doesn't work from the terminal directly. But that's just my opinion.

Just giving feedback, you don't have to do anything with it ;). Am fine with editing it myself for personal prefences.

Great job anyway :)
[Desire Themes and Apps] cgrec92:
Changing DIR will make the script not work correctly.

DIR=dirname $0 (this will make $DIR be wherever the script was launched from.

You have changed this to PWD.

If you want to find the dirname of a FILE, PWD will obviously not work but dirname will.

dirname /user/user/desktop/file.txt = /user/user/desktop/

PWD /user/user/desktop/file.txt = error

so as you can see changing DIR will result in problems throughout the script.

i'll take your PWD option into mind and see what i can do with it though, thanks for the feedback.
[Desire Themes and Apps] cgrec92:
Version 5.3 released.

The option to choose the same location for all files is only asked if there IS MORE THAN 1 file.

Script clean-ups and optimizations resulting in 200kb less file size :)

Other small changes and enhancements.

Please post any bugs/suggestions, thanks.
[Desire Themes and Apps] LpBv:
Hello,

Thank you for your work.

Have you already think about creating a GUI. I use Ubuntu, so it could be in GTK or QT for KDE ...

Cheers,
[Desire Themes and Apps] cgrec92:
I could use a GUI, but then it wouldn't work cross platform unless I use something like Java which I have no knowledge of, if anyone can teach me how to make a GUI in Java i'd definitely take you up on that.

Plus I just think it's much faster and efficient to use a script like provided, processes are almost instant after pressing a couple of keys.
[Desire Themes and Apps] Jgruar:
This might sound like a stupid question, but how on earth do you open this on windows? I've installed cygwin and tried running the click-me.sh in the terminal and in windows, just doesn't open.
[Desire Themes and Apps] cgrec92:
I'm not too familiar with cygwin but open up a cygwin terminal window and try these:

bash /path/to/CLICK-ME.sh

or

sh /path/to/CLICK-ME.sh
[Desire Themes and Apps] cgrec92:
A new version of ThemePro is about to be released.

Sorry for the delay but you'll see why.

The script has been completely re-build to make it easier to use and MUCH more efficient. It's much faster than before.

At the moment i'm just finishing cleaning up the script and testing. All existing bug fixes have been fixed.
[Desire Themes and Apps] schiznik:
Wow, this looks sweet :)

Quick question though, which I havent been able to figure out for myself, I've got a zip that contains a framework-res.apk for a specific ROM, can I use this to migrate the theme it contains to a different/updated ROM?
[Desire Themes and Apps] feisu:
======================

Checking zip...

======================

SUCCESS.

======================

Checking basename...

======================

SUCCESS.

======================

Checking dirname...

======================

SUCCESS.

======================

Checking java...

======================

FAILURE.

JAVA is missing or is not in your PATH!

Theme-Pro will now exit. Press enter to continue:

what should I do?
[Desire Themes and Apps] smkd13:
So question would this work with a htc incredible?
[Desire Themes and Apps] cgrec92:
yes it will work

install java

it will work with any android device
[Desire Themes and Apps] Osleg:
still doesn't work as supposed.

trying to use adb:

Enter location of 'framework-res.apk': ./CLICK-ME.sh: line 1777: cd: ./resources: No such file or directory
[Desire Themes and Apps] cgrec92:
i cant understand what you wrote, can you send me a screenshot or copy/paste exactly the output displayed?

when launching the program you're double-clicking the file or using ./CLICK-ME in terminal?
[Desire Themes and Apps] Osleg:
The script is akward somewhere, i will recheck everything and i will let u know in a moment
[Desire Themes and Apps] Osleg:
for example ^^^^^

and another one...:

on this point i go and manually restart adb-linux with root prevelegies

after daemon starts im reciving the next promt

and getting this:

tried to give path as:

also tried to decompile the framework file after i pulled it manually, but all XMLs is still binary.
[Desire Themes and Apps] cgrec92:
well the problem is not with the script, it is having trouble locating the resources folder

can you download the script again and make sure the resources folder is present?

inside the resources lies the adb for both mac and linux, each is used according to your OS so it will work i tested myself on linux.

please try re-downloading the script
[Desire Themes and Apps] Osleg:
i did tried to redownload, that's why i said i will recheck and then post ;)

The resources directory is present and both adb servers present there too.
[Desire Themes and Apps] cgrec92:
what distro of linux do you have?

i heard somewhere that the syntax is different, like ./CLICK-ME.sh will not work but . /CLICK-ME.sh will?
[Desire Themes and Apps] smkd13:
thanks man
[Desire Themes and Apps] Osleg:
It's archlinux and . / doesn't work in any version of Linux :-)
[Desire Themes and Apps] cgrec92:
I guess you don't use java then?

Anyway, I guess it will not work for archlinux.
[Desire Themes and Apps] Osleg:
If it works for Linux in general it should work for arch too, there's nothing different in Linux distross and I do use java.
[Desire Themes and Apps] cgrec92:
Ok then, I guess you're just the exception to the rule and no matter what it won't work, or maybe it is in fact your system!
[Desire Themes and Apps] cgrec92:
Big update :)
[Desire Themes and Apps] Moe5508:
Sweet - keeps getting better and better! Great work, thanks!
[Desire Themes and Apps] AyDee:
Just found & bookmarked this- gonna play w/it later, looks really promising!!
[Desire Themes and Apps] cgrec92:
ThemePro v1.2 JAVA has been released.

ADB Logcat is now working with a nice 'Save as' GUI.

Reboot functions completely finished, watch your phone reboot at the click of a button :)

Although not much has changed, a lot of coding has been added to the foundation of the program, this means it will be much easier to build on the code to add new functions, the file chooser for example has been set up for use.

Note that at the moment, the program requires ADB to already be set up on your computer.

Please let me know of any bugs/suggestions, thanks!
[Desire Themes and Apps] zHk3R:
I just checked the GUI out, it looks great!

I'm sure the next few days are going to be fuuun! :D
[Desire Themes and Apps] cgrec92:
Thanks v much that means a lot! :D

I'm just hoping the fact that ADB can't be included within the program won't be a problem, it needs ADB to set up already.

I did put in a check which will detect if ADB has not been set up and provide an error message with instructions as to how to set up ADB one each operating system, just hope it won't be a big problem :)

Now that all the code is done, hopefully i'll have all the ADB commands done in the next couple days :)

THanks for all your support!!
[Desire Themes and Apps] cgrec92:
new version released, added 3 more features: adb delete, adb pull, adb application list! :)
[Desire Themes and Apps] mobileweasel:
I must be blind or retarted, but I have looked everywhere for Theme-Pro 2.0. All I can find is 1.3 in the first page.
[Desire Themes and Apps] cgrec92:
if you have a mac then download v5.3 but keep in mind that's not java and does not have a GUI.

the latest java version is v1.3 :)

thanks for your interest though! :D
[Desire Themes and Apps] mobileweasel:
Thanks. I don't know what the hell I was thinking. I swear I read 2.0. Downloaded 1.3. Now I just need some time to play and figure out what the hell I am doing !
[Desire Themes and Apps] phidelt82:
First of all, this looks awesome, but I can't seem to get it to work for me. I'm using a Mac, btw. Anytime I press ADB, it's giving me the ERROR: ADB PATH NOT FOUND. I have put my .bash_profile path in as follows: export PATH=${PATH}:/Users/phidelt82/desktop/SDKRoot/tools

When I echo the path I get: -MacBook-Pro:themepro phidelt82$ echo $PATH

/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin:/Users/phidelt82/desktop/SDKRoot/tools

This is the same way I path everything else to my /tools folder so I'm not sure why this isn't working. I am able to ADB into my phone just fine normally, but I can't get ThemePro to get into it and I'd really like to try this out. It looks like you've put a lot of work into it and it would be a perfect time saver for me.

Any help would be greatly appreciated.
[Desire Themes and Apps] cgrec92:
Hi!

Thanks for the description, if you open up terminal and type in 'adb' does it work?

In order to set it up what you want to do is put your 'adb' file in your path.

To do this just copy the actual 'adb' file to /usr/bin/ and then restart Terminal.

To confirm this has been done properly, open up Terminal and type 'which adb', and it should show the location of the adb file.

Hope this helps! :)
[Desire Themes and Apps] phidelt82:
Awesome! Thank you. That was it. I just needed a copy of adb in /usr/bin. Now I get to play!

Thanks again!
[Desire Themes and Apps] mostwantd1:
I am using your java version for windows 7...it runs and adb is set up right but when i click any of the buttons, i.e. decompile apk, nothing happens...any pointers?
[Desire Themes and Apps] cgrec92:
Theme pro is a work in progress, only some of the features have been added so far, they are listed in the first post :-)
[Desire Themes and Apps] HyperCriSiS:
ThemePro does not find my DHD. When I manually use adb the device is listed...

Whats wrong there?

EDIT:

Works now. New SDK with v2.3 fixed it :)

Will you build in a full system backup like nandroid? That would be very awesome!
[Desire Themes and Apps] DJ 1:
Hi, using win 7 64bit here

i got the android sdk, installed it ok, i keep getting prompted to change the `enviromental setting` path to the TOOLS DIR, i did that but what do is the `variable-name` i need to give it ?, as i still get the error: `cant locate Tools DIR`

thanks.
[Desire Themes and Apps] DJ 1:
anyone then ?
[Desire Themes and Apps] drizze99:
I downloaded the JAVA version just to check out and I have to say that it is awesome so far. I would definitely like to see this developed further. One question though,this should work on Galaxy S ROMs as well right?
[Desire Themes and Apps] kj00:
Hi!

Just a notice,on OS X ThemePro.jar didn't find adb,whatever i did with .profile or .bash_profile.In terminal echo $PATH returns the correct values,typing in adb works.The solution was copying adb to /usr/bin.

Not a big problem,i just thought to mention it.

Thanks for your work.
[Desire Themes and Apps] caddish12:
help me, plz!!!

I have changed my environment, and I wrote like this in file .bash_profile:

export PATH=/volumes/MacOs/android/tools

and I saved it, but when I opened theme pro java, it said that I must be created environment for adb.

Now, I can't use my termial hic....

example: when I type "ls", the terminal said that:-bash: ls: command not found

or I type "open -e .bash_profile", it also said that:-bash: open: command not found

I can not use any command, help me, help me hic....
[Desire Themes and Apps] kj00:
If your .bash_profile contains nothing but this line,simply delete it,if there's something important in it,open with textedit,delete the newly added line,and save.Then copy adb,fastboot,anything you need from tools dir to /usr/bin.If you can't do it in finder then do it in terminal. "sudo cp /Volumes/MacOs/android/tools/adb /usr/bin"

This worked for me.
[Desire Themes and Apps] cgrec92:
Thanks for clarifying this while I was away,

I will change the instructions for Mac users as you've explained :)

Thanks all for the comments and feedback!
[Desire Themes and Apps] studiozeroseven:
I'm doing it wrong...

I'm on Ubuntu 10.10 and I'm doing something wrong lol
[Desire Themes and Apps] cgrec92:
I have NEVER seen an error message like that, To me it seems like a Ubuntu thing, which is important. Without testing I won't be able to find the cause..

If anyone has any ideas do share :)
[Desire Themes and Apps] iTouch24:
which one am i suppose to install on a MAC

File Type: zip	ThemePro-v5.3.zip

File Type: zip	ThemePro-JAVA-1.3.zip

v5.3 is asking for password and the jar file dosnt install

:confused:
[Desire Themes and Apps] spikey68:
I read this in the first post also "Theme Pro will work on every OS, whether it is Windows, Mac, Linux, etc.."

;)
[Desire Themes and Apps] Drukan:
Im curios too!! is there a win version?
[Desire Themes and Apps] shayne77:
*facepalm*
[Desire Themes and Apps] TRENDKILL.22:
Is there any way to do it on WIN os dont have a MAC yet
[Desire Themes and Apps] jondalar:
+1 on what's going on with the version for WIN !! :rolleyes:
[Desire Themes and Apps] korte84:
hi i have a problem with theme pro on mac.

My sdk is installed and work fine (i created also the .bash_profile) but when i press ADB it says me "ADB PATH NOT FIND"...I don't understand what i have to do.

thx
[Desire Themes and Apps] studiozeroseven:
Your problem has something to do with "Set Path" not configured correctly

Check this tut

Make sure its 100% correct, I hope it helps
[Desire Themes and Apps] korte84:
Thx!!!:D i followed the guide u posted but I don't really understand where i went wrong :confused:

I have the android sdk and the theme pro folder (java) on the desktop

and this is what i get when i press ADB on the themepro

http: //i56.tinypic.com/2euobpd.jpg

(sorry but i can't post external link)
[Desire Themes and Apps] studiozeroseven:
HEYYYY I THINK I GOT IT NOW!!!!!

When you write it in you bash_profile is should look like this cause your folder is on you desktop: Remember to remove (insert username) and put your username there in place

export PATH=${PATH}:/User/(insert username)/Desktop/androidsdk/platform-tools

Before you had the wrong PATH thats why it cant find it!!!

I hope this works for you!

PS: Heres what mine looks like cause its in the root folder /android/platform-tools
[Desire Themes and Apps] korte84:
thx for your patience :)

This is what i did:

1)installed the sdk and did all the update

2)On terminal

touch .bash_profile
open -e .bash_profile

than in text edit i wrote

export PATH=${PATH}:

and dragged the tool and platform-tool folder so i could have the exact path of the two folder

export PATH=${PATH}:/Users/(here my user)/Desktop/androidsdk/tools
export PATH=${PATH}:/Users/(here my user)/Desktop/androidsdk/platform-tools

than save

So this is what i have on the bash file (at this point i'm able to enter my O1 with the command

adb shell

.

3)than i downloaded the themepro java file and put on the desktop.
[Desire Themes and Apps] studiozeroseven:
Did ADB work?

Mine is weird and sometimes I have to:

adb kill-server
adb start-server

then

adb devices
adb shell
[Desire Themes and Apps] korte84:
io:~ en__________o$ adb kill-server
io:~ enr__________o$ adb start-server
* daemon not running. starting it now on port xxxx *
* daemon started successfully *
io:~ en__________o$ adb devices
List of devices attached
80______________01	device

io:~ en__________zo$ adb shell
sh-3.2$

the adb run perfectly, i can browse the folder of the o1...

boh...never mind

thx anyway

EDIT: In widows xp works perfectly.
[Desire Themes and Apps] cgrec92:
If you download the Terminal scripts, that is for Mac only, which is why I've been developing the program in Java, so that it will work on all OS's.

That's why it says ALL-OS in development :) Mac currently have the scripts, and the Java program is being made as we speak :)

Thanks everyone for your support!
[Desire Themes and Apps] CosmicBlue2000:
Same here.

So far, the java-programm runs on windows 7 pro 64bit.

I have instelled the Android SDK before (and before that jdk and jre), but it didn't put any path into the enviroment variables.

Now, after starting ThemePro and hitting any button, I get an error, that the ADB path is not found and with this error message, you give a hint, where to look for.

You write

Well, there is no "path".

I think, you mean the name of the variable, but there is none related to Android SDK. The value of the variable is the path, but what is the name? For Linux and Mac it is $SDK_ROOT, it seems, but that doesn't work for Windows (perhaps, the $ needs to be deleted?)

You should know the name, as you program is looking for it.

I went back to the webpage of the SDK and looked for troubleshooting or something similar, helping me to get this name, but nada.

And finally, what is now the correct and full path, after ADB has moved from subdirectory "tools" to subdirectory "platform-tools"?

I say, you should edit the error message to something like this:
[Desire Themes and Apps] Pettingson:
+1 since i too have problems with the variables even though i set the "Path" path to the path of my tools directory. But im at a loss to why it isn't working nows :(

But i love the idea of the program. And im looking forward to (ab)using it :D
[Desire Themes and Apps] CosmicBlue2000:
I got it.

It's difficult to explain and I just completly misunderstood the error message.

So, this is what it means and how you get ADB working with ThemePro.

Follow steps 1) and 2) of error message.

Now in the new sialog box search for "path" under system variables. It's already there and it is really called "path". The value are various paths seperated by an ;

Just hit edit, put another ; behind the last path at the very end and after that type the path where the sdk has been installed.
[Desire Themes and Apps] wily5150:
At the top of the post is says that it is for Theme Pro will work on every OS, whether it is Windows, Mac, Linux, etc. What's up? I'm running windows 7 also
[Desire Themes and Apps] Rememo:
Works fine on my Win 7 PC here (at work). We had to install the Java platform to run some other Java apps, so I already had stuff set up.
[Desire Themes and Apps] mitas35:
looks nice thank you
[Desire Themes and Apps] toxicOne:
looks nice yea, but it works not for me...

apk-manager works better ADB Pull/Push 100%
[Desire Themes and Apps] Mr.Mefisto:
very good thinking, it is a nice job!
[Desire Themes and Apps] greebli:
EDIT : my bad
[Desire Themes and Apps] dancedreamfly:
Signing com.htc.resources.apk works for me, but when I try to sign a ROM it won't work. It appears to be signed but it won't install on my phone. Same goes for all the other signing tools I've tried. Any particular thing I should do to make this work?
[Desire Themes and Apps] cgrec92:
Are you using a rooted phone with a custom recovery such as clockworkmod? Describe the error.
[Desire Themes and Apps] cgrec92:
v 1.6 will probably be the last version.

It's too much effort for just a couple of downloads..