yashsingh1/xdaforums huggingface dataset:
[Desire Themes and Apps] bradputt:
shoey, could you not delete the original res decompiled folder after i compiled the res back into the apk.

my 2 hour work all got deleted and i cannot find it inside my recycle bin after there's something wrong with the re-compiling process.

wanted to compile again but to my horror all the files got deleted.

:(
[Desire Themes and Apps] shoey-n:
For now, just decompile your new apk to get your changes back

Next release I'll give the option not to delete :)

The only problem is, you won't be able to decompile a different framework until your previous folder is deleted
[Desire Themes and Apps] xtcislove:
Dont understand the whole Program

If i decompiled the framework i put my new pngs without xml files into the Working Folder and replace them with the old one? And compiling is only replacing the old pngs in a zip archiv? Or its more?

Edit: Just tested it

First my Desire bootet not i saw you pull the framework and the flash does not work. So i manually flashed it (because with otu framework-res.apk a desire wont boot :D ) But it was the same my Desire will not boot so i flashed my old MANUALLY edidet Framework-res.apk and my Phone boots ;-) I think i test the Linux Version on Ubuntu ..... Thanks anyway

Edit: Only force closes....

Now i fixed it with original files from my ROM hope i can flash my old used framework without Froce Closes....
[Desire Themes and Apps] shoey-n:
When you decompile the framework, it extracts framework-res.apk into framework-res in your framework section of your work directory.

You can replace the pngs inside the framework-res folder and then select compile.

Compiling will zip the entire framework-res folder, so you cannot delete anything in that folder otherwise the apk will not work, you can only replace things.

Once compiling is done, you'll have a framework-res.apk in your framework section of your work directory and an old-framework-res.apk which is your original framework-res.apk just in case something goes wrong
[Desire Themes and Apps] shoey-n:
Uploaded a testing version mainly for dev's or people who know what they are doing

Only download if you are willing to report, I need to know if it works well or not, I've only modified the framework decompile/compile section to save time if it doesn't work

_______________________

To all users;

If you make a theme with the help of this tool, upload screenshot and say made in themepro and it'll be posted on the first post to show examples of what people have made :)
[Desire Themes and Apps] davdavo:
Using Windows 7, I get errors galore. Especially with inserting framework into a ROM. One of the syntax's "insert_frame" should have been "insertframe". Then heaps of errors about \7za unable to create directory.

also errors about java not recognised. I can hardly get this to work in Win7 without throwing an error message...help.

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

ROMs first need to be signed so that they can be flashed

Signing ensures that the ROM is installed correctly

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

Is your ROM already compressed, eg: ROM.zip? (Y/N): y

Drag and drop the ROM you would like to sign into this window: D:

\Downloads\ThemeProWindows_1.0.1\ThemePro\Froyo.Sense.Rom.zip

Signing...

'java' is not recognized as an internal or external command,

operable program or batch file.

SUCCESS.

Press any key to continue . . .
[Desire Themes and Apps] shoey-n:
You need to install Java

In my next version I'll put a Java check in
[Desire Themes and Apps] bradputt:
hmm... i'm trying to compile back the XML files after decompiling.

but the program just quits w/o any errors.

any idea how to have a log file on what's wrong?
[Desire Themes and Apps] lmbd:
same here, quits without any message. no log?
[Desire Themes and Apps] shoey-n:
Ok, that's means I left out a bracket or apostrophe or something

Will fix and upload new testing version in the morning, if everything goes well, I'll release it in the proper version
[Desire Themes and Apps] j.blaze:
See my screenshot attached. I decompile the file, make my changes and when I'm going to compile it again I receive this error. Something with chmod...
[Desire Themes and Apps] shoey-n:
Found the bug, it's fixed in the latest themepro testing

If you want to just fix your version

find:

move "%resources%\resources\com.htc.resources.zip" "%resources\com.htc.resources.apk"

and replace with

move "%resources%\resources\com.htc.resources.zip" "%resources%\com.htc.resources.apk"
[Desire Themes and Apps] shoey-n:
A new testing version of theme pro is up with the fix to yesterday's problem

download and report please
[Desire Themes and Apps] j.blaze:
Great. Now it works. Thanks.
[Desire Themes and Apps] davdavo:
Hi,

I already have Java installed. I got more errors...help :confused:

See below.

Thanx,

Would you like to sign the ROM? (Y/N): y

Signing...

0 file(s) copied.

Exception in thread "main" java.lang.NoClassDefFoundError: testsi

gn

Caused by: java.lang.ClassNotFoundException: testsign

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Met

hod)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Sou

rce)

at java.lang.ClassLoader.loadClass(Unknown Source)

Could not find the main class: testsign. Program will exit.

Could Not Find D:\testsign.jar

SUCCESS.

Press any key to continue . . .
[Desire Themes and Apps] bradputt:
Hi Shoey,

when i compile my framework, i get this

now the whole themepro folder is inside my framework-res.apk :D

my size of framework swell from 3000+Kb to 13000+Kb :D
[Desire Themes and Apps] shoey-n:
Please tell me that's on the testing one :p

If so I'll have a look later and try and upload a new one

There's something seriously going wrong there, how have you set up the application?

You cannot modify the ThemePro folder, don't move any files inside it or anything
[Desire Themes and Apps] sketchy22:
whaaaaaaa

Tried to edit some images in framework-res.apk, tried both images and xml option, but i makes force close. It also makes the framework-res.apk file go down in size, from 4.7MB to 3.0MB :confused:

Have tried and tried, but just cant edit some framework. DeFrost 3.0+ and Cyanogenmod, always get force close. What am i doing wrong?! :confused:
[Desire Themes and Apps] shoey-n:
The testing version isn't stable, you should use the normal version

I know there is a big bug on the compile in the testing version, I'm working hard to try and fix it
[Desire Themes and Apps] davdavo:
Hi Mate,

Thank you for you hard work.

Yeah something went wrong, I realized that everytime I start Themepro, I have to make sure the working folder is correct, in the last instance, the working folder was in-correct so it spat a few errors.

It's working better now thanx :)

I still get a few errors here and there, will post them later, but we are getting somewhere in the positive direction :D
[Desire Themes and Apps] bradputt:
yes sir, I'm trying on the latest test build.
[Desire Themes and Apps] shoey-n:
New testing version, redesigned the compilel feature

Tested by me, it should work

Test and report so I can add it to the rest of the script :)
[Desire Themes and Apps] m8tix:
I'm using the theme pro now frequently the last days and have to say that it makes really my life much easier for theming :)

Just can't wait for decompiling/compiling the xml files, that would be awesome.

Great job mate !
[Desire Themes and Apps] shoey-n:
glad to hear :)

I released a new testing version with xml editing working, I'm waiting for testers to report so I can add it to the rest of the script in the proper version
[Desire Themes and Apps] shoey-n:
ThemePro 1.1 is out !!!

Main difference...XML editing in all APKs as requested by many

Remember to post screenshots of your themes you create with the help of ThemePro

If you find this tool helpful please consider buying me a chocolate bar by clicking the donate button in my signature
[Desire Themes and Apps] shoey-n:
People are still downloading the old version so am I assuming there's something wrong with 1.1?
[Desire Themes and Apps] shoey-n:
1.2 is out !

Small update this time...

Added modify build.prop and that's all due to starting 6th Form tomorrow
[Desire Themes and Apps] lmbd:
shoey-n, thank you for your great work, tested now decompile/compile of my framework-res.apk and it worked without any problems in 1.2!
[Desire Themes and Apps] Beaverman20:
your reboot to recovery is broken, the problem is that you call "adb shell reboot recovery", the real command would be "adb reboot recovery" no shell...

MAJOR PROBLEM... THE WORK DIRECTORY RESETS ITSELF TO C:/ AFTER FIRST USE... SO DO NOT USE CLEAR WORK DIRECTORY, IT WILL FORMAT C:/
[Desire Themes and Apps] shoey-n:
I've changed the adb now, will be uploading new version soon

And about the work directory problem, that should not happen, because it refreshes work directory everytime it starts

How are you closing theme pro ? If you click the x it creates problems because it has to be shutdown properly

//edit - just tested work directory delete and couldn't reproduce the error even when clicking off by the x

tried my own path with space and without, and default, and when clicking on the window x it just goes into a make wd loop (I'll try and fix this)

can you please show how you made this happen, because I cannot reproduce this error

Would you like to be a beta tester? You find way more problems than I do, and it'll help me fix all these silly bugs. It also means you'll have every release first and your name in the script
[Desire Themes and Apps] Beaverman20:
well then it's just your clean directory. it tries to do a del C:/ which would be bad o.O

could you add something where i can create see-through themes, you seem to be good at theme making (you are making a theme helper ^_^) so how do i create seethrough able things, like the background on the status-bar...

thank you :D

the beta tester i will be thinking about ;)

EDIT: if you reinstall themepro (remove the wd.path and the WD) and then run it, press no to use old, press no to specify path, then close with the red button in the corner, open again, and pull something from phone it will end up in C:/
[Desire Themes and Apps] shoey-n:
I know about the app not liking the actual x button because when you shutdown it does a shutdown sequence and does a bit of cleaning up. I'll have to see if there's an on close function for dos scripts. This is why paths don't get set properly when you close that way and that's why you get things running at C:\

I'm assuming that's how you made the delete error. I'll try and find a fix asap

As for semi transparent images, I've always used GIMP to create images and know how to make translucent images. But I'll try and find a tool which sets a transparency level and add it to the script :)

And if you want to be a beta tester, that's great news for me. Saves me time, so I can spend longer on additional features :)
[Desire Themes and Apps] shoey-n:
1.3a is out !

Minor update

Just removed 'x' button because errors were created when closing that way
[Desire Themes and Apps] lmbd:
a way to start themepro without a connected phone / adb would be great. (now you have to rename adb.exe at the start)
[Desire Themes and Apps] shoey-n:
Uploading now, will have a suite version which is the current one and a standard which is without the need to connect a phone at the beginning
[Desire Themes and Apps] shoey-n:
1.3b is out !

removed disable close button/ fixed error when closing with close button

2 editions available

Suite - Connect your device at startup

Standard - Connect device when needed
[Desire Themes and Apps] shoey-n:
lmbd - is the standard version what you were requesting ?
[Desire Themes and Apps] lmbd:
hey shoey-n,

yeah this is what I requested :) maybe it would be better to disable/enable "adb-connection needed" in a configfile than releasing two version. Often its more confusing and starting many questions in the thread :)

the idea with the GUI is not bad but is a GUI really needed? Which part of ThemePro would be more comfortable with a GUI?
[Desire Themes and Apps] shoey-n:
I can try, I'll start on a config file tomorrow afternoon (after school)

I've been thinking about the GUI for a while I just thought it would speed things up and produce less error with finding files mainly. If no one is bothered I'll just concentrate on the next version of themepro
[Desire Themes and Apps] Beaverman20:
quick warning... if you wan't to code a gui, do it in something simple, it can quickly get too complicated... do it in vb or something ;)
[Desire Themes and Apps] shoey-n:
I was going to use vb but I have no idea how to add console tools into it, I can code the rest. But if I can't add ADB I'm kind of wasting time :P

Does anyone know how to add console tools, Google ain't helping me much :p
[Desire Themes and Apps] Beaverman20:
right there i'm lost too .P
[Desire Themes and Apps] lmbd:
should work with the Process Object. You can find it under System.Diagnostics. The output to the console/adb should work with StreamReader/StraemWriter ?
[Desire Themes and Apps] shoey-n:
ThemePro 1.4 is almost finished, will be released tomorrow

New options page, trying to make the app as configurable as possible

Will be back to one version tomorrow
[Desire Themes and Apps] shoey-n:
1.4 is out !!!

All new options page, feel free to request a new feature and/or new option
[Desire Themes and Apps] bigj225:
1.3b will not recognize my device when it is in recovery. I checked via adb and it does show up when I "adb devices" under recovery.
[Desire Themes and Apps] shoey-n:
Which edition was it ? Standard or Suite? If it was Standard then can you please download 1.4, it should work now
[Desire Themes and Apps] bigj225:
it was standard I will give 1.4 a try now
[Desire Themes and Apps] shoey-n:
tell me how it goes, if you still have problems, I'll do some testing and try and find the problem
[Desire Themes and Apps] :
Seriously man why haven't I come across this earlier???? This SO f*****g awsome!!! You should consider posting this on the android theme section :) It would really help other poor souls who doesn't know about this yet :D
[Desire Themes and Apps] shoey-n:
Thanks for the great comment :)

I'm working on 2.0 which will include not needing to boot into recovery for fully rooted phones, then I'm thinking of making a new thread in the android section :)

If you like it so much, suggest to a friend, and if you feel really generous, help a student out by giving a small donation :o

_____________

To all users;

I am now working on 2.0, this will not be out for a while because I am including as many things as possible and I have lots of school work to do as well. This will be one of the biggest upgrades to ThemePro, with many new features and a new animated splash screen (which I've already implemented) :cool:

If anyone is really interested in seeing the progress, I will do a nightly zip. But these will be completely untested and experimental if I decide to do it
[Desire Themes and Apps] :
Sounds awsome! I posted a note on a forum as a recomendation for your script already :p I too know way too much about homework (I'm in highschool too) so I feel for you hehe :D
[Desire Themes and Apps] Beaverman20:
its working fine now :D could you add a .9.png decompiler, the xml one you use now doesn't seem to cut it ;)

you not boot into recovery seems great, most new roms have R/W access to the system partition now anyways :D

EDIT: offtopic: isn't it ironic that by trying to stop us from rooting, they have removed all consequences, you can just flash normal rom, relock the bootloader, and done, you phone looks like it has never been rooted, where with the Nexus one you can't relock the bootloader... :D
[Desire Themes and Apps] shoey-n:
I don't quite understand what you mean by a .9.png decompiler. Its just a normal image with an alpha layer

In the next version I'll add the android sdk draw9 application if that helps

And I'll be adding reboot recovery on or off so it can be used on all phones without the need of recovery all the time
[Desire Themes and Apps] Beaverman20:
1. the .9.png's spit out errors with your current decompiler ;)

2. Awesome i look forward to it :D

i'm glad that you can now stop bugfixing and start adding features :D
[Desire Themes and Apps] shoey-n:
Sorry guys, I've had a lot of school work and family stuff this week, I'm officially starting development now

I will be posting regular screenshots :)
[Desire Themes and Apps] shoey-n:
I've improved code and made some layout changes ( and done maths and physics homework :p )

I now need everyone to request as many features as they can think of, doesn't matter how silly, maybe you'll see it there in the next version ;)

Also with the new mods menu being introduced I need all of you to request/suggest mods you would like me to include.

I would prefer your requests and suggestions as soon as possible so I can get the next version up quicker :)
[Desire Themes and Apps] cgrec92:
shoey-n i have released a LOT of enhancements to the current fix, as well as fixing lots of bugs and optimizing scripts.

before piling on new features you should take a look into the code i've released for linux because they're essential.

there are screenshots on the changelog. http://xdaforums.com/showthread.php?t=729867
[Desire Themes and Apps] shoey-n:
You've added a lot of changes and I'm slowly adding them in, that's why my release is taking a while. Some features will not be ported across like your multiple choice of APKs yet because I simply do not know how to port it, I'll look into it though.

I've also tried adding all the checks in so I have visual error messages as well.

I've added java check at the beginning as well
[Desire Themes and Apps] cgrec92:
Don't worry about adding the checks in i've already done that for everything for 5.3
[Desire Themes and Apps] shoey-n:
Because of the amount of added resources (e.g battery mods, espresso mod, adb driver) the file size is going to be quite big if this is a problem I will add a startup clean up for not needed resources

What do people think ?
[Desire Themes and Apps] shoey-n:
I need response from users or beta testers now. I'm trying to add features but I ask in the forums about it and no one replies .

Just added QR code generator, useful or pointless ?
[Desire Themes and Apps] Beaverman20:
I do not care of the size as long as the features are awesome...

What would the qr generator be used for?
[Desire Themes and Apps] shoey-n:
ok, what mods would you like to be included ? (e.g circle battery)

If you could post a few you would like with a link to each thread, that would be great

qr generator is the square barcodes, you can create them for urls, phone numbers etc.

you can use barcode scanner on your phone to scan them in and add numbers to contacts send sms, and open link in browser :)
[Desire Themes and Apps] zHk3R:
I'm going to try this when I get off work today.

I'll report back ;)
[Desire Themes and Apps] Jgruar:
What I'd really like to be able to do is modify the apk's on the phone via themepro to change their icons. Doing this manually is a bit tedious.

Would be cool to be able to place icons in a folder and then select the .apk to modify, select "change icon" (or ability to navigate to the icon file inside the .apk) and then it lists the icons in the folder and you pick 1 and move onto the next .apk. I understand the icon choosing has to be done manually but some parts of the process could be automated (like moving, replacing & renaming the actual icon after choosing).

Just an idea, good work nevertheless!
[Desire Themes and Apps] shoey-n:
I'll have a look into modifying APKs on the phone, so far I don't think it's possible, but I'll have a look :) It definitely isn't possible if you haven't got a rewritable system (SYSTEM-RW)

I'll add all sorts of shortcuts in (e.g icon change, battery change) :)
[Desire Themes and Apps] de_annere:
Since this forum is dedicated to the Desire, please allow one maybe stupid question:

Does this work with the Htc Hero, too?

I was able to pull the framework-res.apk, to decompile it and to compile it, but not to get it back onto the phone :/

If it should work with the Hero I can give more information on my problems.

By the way, a while ago my gf wanted a transparent handcent-widget. I made it for her, but had to pull it, change it and sign it myself, so it can not be updatet normally anymore -.-

Would be great if the app could be automatically pulled from my Hero, changed, signed, and pushed to her Galaxy.

I think you could implement it in a way that for every app there is one folder on the pc and all pictures in there will be copied into the .apk.

Everything else sounds more like a real graphical user interface with the original pictures on the left and the pictures to set for it on the right, can't explain it better, sorry :/
[Desire Themes and Apps] shoey-n:
It should work with every device because its just changing apks and jar files

So if you could show your errors that would be appreciated

And the apk idea will be added to the next version :)
[Desire Themes and Apps] OneCheekyDevil:
This is possible. I have done my wife's Hero and modified her battery icon to the one from the smooth sense, but changed it to a pink colour (to match the rest of her pink themed phone)

:)
[Desire Themes and Apps] shoey-n:
Because of no one replying to my question of what mods you all want

I've developed the mods menu so you download them separate and just add them to the mods folder for them to appear in the script

Mods will have to be requested on the forum with a link to the official mod page

They will be developed and posted on the first post asap

If no one requests a mod, no mods will be developed
[Desire Themes and Apps] sebxd:
Hi !

Firstly I would like to thank you for this tool which is really great !

But I have a little problem and I don't really know why it isn't working... For each action when I have to drag and drop my rom or file in the terminal the action is impossible... I can't drop it in the window and nothing is found...

It is really strange..

Sorry for disturbing you :)

Thanks again !

PS : I have Vista :(
[Desire Themes and Apps] shoey-n:
Well I've tested it on XP and 7, not Vista.

Are you dragging and dropping the file onto the themepro screen?

It should create a path on the ThemePro screen, then you simply click enter

It should work

I'll test later on

______

Sorry 2.0 is taking ages, I haven't forgotten

Just got tons of coursework to do at the moment
[Desire Themes and Apps] sebxd:
Yes I'm dragging and dropping the file onto the command screen like it should be.. Am I wrong ?

Because nothing happens when I'm doing it... and my mouse is becoming like an "interdiction pannel" I don't know if you see what I mean :)
[Desire Themes and Apps] shoey-n:
I've just done some research and dug out a copy of Vista

Drag and Drop was stupidly removed from Vista by Microsoft due to "Security Issues"

There are other ways round it, but this app seemed to be the easiest, I'll implement into 2.0

But for now, just run it before running ThemePro

Untested with the use of ThemePro
[Desire Themes and Apps] sebxd:
Thanks for this app but unfortunately it doesn't works with themePro :( ... On my computer of course.. I don't know if I'm doing something wrong... I hope not :)

Thanks for your help
[Desire Themes and Apps] shoey-n:
I'm working on getting 2.0 out as fast as I can now, I'm currently testing the dropcommand with themepro, will report back soon
[Desire Themes and Apps] sebxd:
Take your time guy I'm not in a hurry :)

Thanks for your help !