yashsingh1/xdaforums huggingface dataset:
[Virtuous Ten Studio] shoutokuyaki:
Sir...i don't change anything in my SystemUI(GALAXY YOUNG) and i build then push but, statbar gone :(:(

I use smali level 2.3.3

And what the problem?

Sorry for my bad english...
[Virtuous Ten Studio] Diamondback:
Probably the changed signature.

Unless the ROM you are running has a special hack in services.jar, all system apks need to by signed with the same certificate.

But once decompiling and recompiling one apk, it gets signed with a different cert and therefore rejected by android.

So depending on what you want to change in your SystemUI you have the following options:

Use "old" signature (only works if you change a few single files like some images, no code changes possible)

Hack services.jar to ignore the signature mismatch of SystemUI (no restrictions here)

Resign all system files with the same certificate (not very practical ;))
[Virtuous Ten Studio] varun.chitre15:
I can do code changes btw even by keeping the same sigs :p

The apk only needs to be resigned if Manifest xml is modified
[Virtuous Ten Studio] Diamondback:
I wouldn't bet money on that one :eek:

I can do that too, but not with a stock/unpatched ROM...
[Virtuous Ten Studio] varun.chitre15:
What?? I am doing this since 1 year and on my stock froyo.
[Virtuous Ten Studio] shoutokuyaki:
Ok sir..thank for Answer

I will try with my private keys( cN i use my private keys for resign all my apk? ):D:(
[Virtuous Ten Studio] varun.chitre15:
Why you want to sign it? Did u mess with AndroidManifest.xml?
[Virtuous Ten Studio] shoutokuyaki:
No,

Because, i follow option from Diamond...hehe

Sorry for my bad english
[Virtuous Ten Studio] Diamondback:
Did anyone say Split View?

https://dl.dropbox.com/u/10460451/VTS/SplitView.PNG
[Virtuous Ten Studio] mayfield103:
You guys frickin rock!
[Virtuous Ten Studio] chubbzlou:
I got to say you guys rock. Can't wait.
[Virtuous Ten Studio] MassStash:
Yea, that's fantastic

~Flippin Rom Beanz; S-Off LTEvo; Wish My kernelz face was burning...

cpu0/1: 1.5ghz ¦ 384mhz ¦ sleep: 486mhz max

Ondemand

deadline

mpdecision: off
[Virtuous Ten Studio] Dic3ptor:
Hi all

I tried to make a skin with the TUT from VTS HP. But when i push it to devices i can not see it under Skin Chosser menu. i checked all values and steps and it look exactly like that you did on your TUT.

Any ideas?

Another Question: When decompile fusion apk or Matte apk for example i see a lot off .9 png´s but without black lines and dots. How i have to handle those files? When i make a new on and patch them mit the tool from Android SDK i become a .9 png with that black lines on it. But i need them without that black lines?

This is the one i become when i decompile the apk: status_bar_close_on.9

And that is the one i did:status_bar_close_on.9

BTW: Great HP and great tutorials. Thanks for that.
[Virtuous Ten Studio] knightwolf123:
One thing to consider is that by default it will push to system/app you'll want to change that to data/app . If you haven't already.
[Virtuous Ten Studio] Dic3ptor:
Okay so i need to push it to Data/app and not to system/app? I pushed it to System/app.
[Virtuous Ten Studio] Diamondback:
That's one point yes, however we don't

push

to /data, instead you need to use

adb install

(You can switch from push to install in the project settings)

On a different note, did you actually use the correct versioncode for your device? It's like a fingerprint and if you don't use the right one, your device won't show the skin. The one in the tutorial is NOT universal. You need to decompile one of the skins pre installed on your device and take the code of that one.

Another tip: Logcat is always helpful, even in this case. For example: If you selected the wrong versioncode (fingerprint) by accident, logcat will tell you so. :)

(I have no idea about those .9 without black borders unfortunately)
[Virtuous Ten Studio] Dic3ptor:
Hi

Thank you for your answer. Yes the versions code is the right one. I will have a look again. If i have Problem i will post logcat too next time.

BTW: Merry Christmas to all.
[Virtuous Ten Studio] orkorolev:
Hi all, need some help. After adding transparency file strip_panel_center_btn.png(м10 fusion.apk) and subsequent Assembly, transparency no! i.e. if you re-fusion.apk and look at strip_panel_center_btn.png, transparency no.

http://db.tt/4hfvO0Ni
[Virtuous Ten Studio] Diamondback:
If you have questions concerning m10 this thread here is probably better.
[Virtuous Ten Studio] Diamondback:
Okay everyone, please have a look at the changelog, I'd like to highlight a few things and give you a

preview

of the next version (~January 2013)

1) Support for decoding HTC's jpg files

(world's first)

HTC's newer ROMs contain proprietary JPG files. These jpgs actually have transparency (yes jpg & transparency).

You can't edit these jpgs because once you do the transparency is gone and the images are all screwed.

In the next version VTS brings support for these jpgs, they get decompiled to proper png files so you can edit them. Once building the apk VTS automatically transforms the pngs back to jpgs.

Have a look at these comparisions: (left original jpg, right png, the red background is normally transparent, just added it for visibility reasons)

Now you can properly edit these images :)

2) New "Resource Manager"

I tried to think of something to make it easier to manage public.xml. It can be quite an annoying task to add new entries to this file, so I automated the whole process.

Once you add new entries to any resource file (like strings.xml) the Resource Manager can detect these new entries and automatically add them to public.xml for you.

Of course it selects a proper ID so you don't have to deal with that.

Here is how it looks like:

You can access the Resource Manager via the context menu of an Apk-Project in the solution explorer.

3) Improvements for "batch-adding" projects

Since many of you asked for it, I made some important improvements for "batch-adding" new projects. There are two "main" new features:

The "New project window" now saves default values for most settings

Improved Drag & Drop support for binaries

If you combine these two you can easily add a lot of similar projects in no time:

Drag & Drop the first apk/jar on VTS and it will open the "New project window"

Adjust all settings to our needs and let VTS finish the import process

Just Drag & Drop another apk/jar on VTS and if you don't need to change any settings, just directly close the "New project window" again via the "OK" button

Since all settings were remembered you can continue to Drag & drop all your apks/jars

4) SplitView support

As detailed earlier, VTS now supports SplitView, so you can place multiple documents next to each other for a better overview.

5) No more Windows XP support

From now on you will need .net 4.5 to run VTS and unfortunately .net 4.5 only exists for Windows Vista or later. So no more Windows XP support.

VERY IMPORTANT: This new version is not ready yet but I expect a release date somewhere in January 2013.
[Virtuous Ten Studio] memnoc:
AMAZING
[Virtuous Ten Studio] Bebida:
Amazing! :D great job and thank you guys
[Virtuous Ten Studio] alkhafaf:
Really amazing

Could it be better !!!!!!

Adding kdiff3 comparing compatibility? ( I think it is much better than win merge)

with kdiff3, u can select multiple folders (projects) and compare the files between them.

If u made this, then IT WILL BE PERFECT
[Virtuous Ten Studio] coal686:
This changelog looks great! Looking at #1 gave me an idea: Is there a way for VTS to convert all png files from indexed to rgb? Photoshop doesn't open indexed png files correctly so I have to batch convert them to rgb. That wouldn't be bad, but the ones that refuse to batch convert have to be done one at a time. It takes forever. Anyway, just an idea. Thanks!
[Virtuous Ten Studio] vanessaem:
Please help. :crying:
[Virtuous Ten Studio] coal686:
Is the java.exe in your path?
[Virtuous Ten Studio] vanessaem:
Yup...:(
[Virtuous Ten Studio] Diamondback:
I am sure it's not ;) Did you restart after putting it in PATH? Did you double check the PATH variable? Some programs edit it without asking....:rolleyes:
[Virtuous Ten Studio] vanessaem:
Well, this is my PATH: C:\Program Files\Java\jre7\bin

Java.exe is in the "bin" folder. I've been using this path for ages. Have things changed since Jellybean came out?

What PATH do you suggest I use?
[Virtuous Ten Studio] il Duce:
I think he's talking about your path in environment variables. Which is what you pasted? Sorry vee :(

/so confused
[Virtuous Ten Studio] vanessaem:
Ok, how about this? C:\Program Files (x86)\Virtuous Ten Studio\External\ApkTool\apktool_1.5.0.jar

Oh so am I Duce, so am I. :confused::eek:
[Virtuous Ten Studio] Gumby63:
You need it in your environmental variables path.

For example, here's mine:

C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Lenovo\Bluetooth Software\;C:\Program Files\Lenovo\Bluetooth Software\syswow64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\adt-bundle-windows\sdk\platform-tools\;C:\Program Files\Java\jre7\bin\;C:\Program Files\TortoiseSVN\bin

See java at the very end? It needs to look exactly like that.

And you are editing the right thing right? See what I have highlighted in this screenshot? That's what you edit. http://gyazo.com/18a6a7a5569d0994a4c9903076090a0f
[Virtuous Ten Studio] vanessaem:
Environmental variables are always where I put my Java PATH info. A few posts up, I had something similar to your Java line I think. Do I have to put in that whole paragraph you have above? :eek: :)
[Virtuous Ten Studio] Gumby63:
Nope just this part

;C:\Program Files\Java\jre7\bin\

With the semi colon. But adjust it to where your java is if it's different :)

So delete what you currently have then copy/paste that in and restart your comp.
[Virtuous Ten Studio] coal686:
Maybe try uninstalling VTS and Java. Then reinstall java and then VTS. :confused:
[Virtuous Ten Studio] vanessaem:
Ok thanks guys. I got it to decompile. :victory::good:
[Virtuous Ten Studio] vanessaem:
Hmm...the noob's back. :o

Has anyone gotten this error? If so, please help.

Java is installed. I even uninstalled and reinstalled it. I'm getting the same error when trying to recompile.

Edit:

I got it sorted out. ;)
[Virtuous Ten Studio] kaosda:
:o nice work... thks very much...
[Virtuous Ten Studio] Diamondback:
Here's another cool new feature of the next version: Windows Explorer Integration.

What does that mean? Well, you can now start new VTS projects right from the Windows Explorer. Simply right click any *.apk or *.jar file and select "Create new VTS project" to open VTS and automatically create anew project.

You can of course also disable this feature if you don't need it.
[Virtuous Ten Studio] kaosda:
how to wear it, I am still confused to use
[Virtuous Ten Studio] fisha21:
The changelog just keeps getting better! So, will this default to a new solution as well, or the last opened one?

Edit: or does it only work when vts already open?
[Virtuous Ten Studio] mayfield103:
Open VTS in windows? OMG

putting the "high" in HD
[Virtuous Ten Studio] alkhafaf:
:eek:
[Virtuous Ten Studio] Diamondback:
It currently opens VTS and creates a new solution + project. :)

Need to see if I should extend this to adding projects to EXISTING solutions as well, as that would require a bit more work.
[Virtuous Ten Studio] ShyamSasi:
I just wanted to say THANKS for this awesome project. Been a noob to M10 files VTS made this so easy. Seriously this is a tool even for beginner with not much knowledge. I was able to create a theme (With the help of Team 420 especially Bebida of course) I'll support by getting a license soon (It's month end and i'm broke) once I get my paycheck. I used to develop small apps for Windows and I know how many lines of coding is need for a small function. You guys have done a great job with VTS. Thanks again.
[Virtuous Ten Studio] alper.s:
hi folks,

can anyone help me?

Im trying to decompile a Sense 4.5 theme.

https://www.dropbox.com/s/ueosvkht9h7zvlg/VTS-Error.jpg
[Virtuous Ten Studio] coal686:
When I read the error, it loosely translates "the given procedure cannot be found". Is the DLL referenced in the error in the External folder? It appears VTS is calling that dll and can't find it.
[Virtuous Ten Studio] alper.s:
I think so too but which files I have to replace?

Gesendet von meinem HTC One X mit Tapatalk 2
[Virtuous Ten Studio] coal686:
Have you tried reinstalling VTS?
[Virtuous Ten Studio] fisha21:
Probably not that big a deal....if we're adding a project to existing solution, its likely we've already got vts open. Save that time for coding up other great features!

That missing dll should have been included in the installation. Reinstalling would be a good first step
[Virtuous Ten Studio] Diamondback:
Are you using the latest version? (1.11.21.7216)

This error occured on Windows XP in the previous version.
[Virtuous Ten Studio] Diamondback:
I implemented it anyway :D Took less time than expected. Now if you have an open VTS instance the new project gets added there. This also means that the new project can be added to existing solutions :)
[Virtuous Ten Studio] joeyfettucine:
I don't tend to be the needy type, but one request. Whenever I push an apk from VTS, I open a cmd prompt to shell stop, and start/reboot. Not that it's that big of a deal, but it seems like a script worth integrating.

Sent from my LTEVO running Frozen Jelly Belly
[Virtuous Ten Studio] antonio8297:
Hi,

Great work,i'll try it,but...a way to include deodex tool???can you include it in next release???
[Virtuous Ten Studio] alper.s:
Yes, I'm on winXP

Gesendet von meinem HTC One X mit Tapatalk 2

---------- Post added at 02:42 PM ---------- Previous post was at 02:16 PM ----------

thanks a lot. i reinstalled vts and it works great :) thanks to all!!!
[Virtuous Ten Studio] Diamondback:
What exactly are you asking for? VTS can already reboot a connected device.

Well you are not the first one asking for this, but I still don't really see a reason to include something to deodex apks.

it doesn't really fit the intended workflow of VTS.

Feel free to convice me though ;)
[Virtuous Ten Studio] coal686:
I posted this a few days ago as a request, but I think it got pushed down before anyone saw it so I'm mentioning it again. It'd be a huge timesaver if possible. Thanks for considering it. :beer:
[Virtuous Ten Studio] vanessaem:
Ok Diamondback, despite my noob start with your application, I want to thank you again for it. You've freed developers and themers to be truly creative again. Nice work my friend and Happy New Year. :highfive:
[Virtuous Ten Studio] alper.s:
Hey Folks,

i need some further support. The decompiling procees works fine.

If I try to build a get following error

https://dl-web.dropbox.com/get/HTC/1.jpg?w=9c102ce8&sjid=5054

https://dl-web.dropbox.com/get/HTC/2.jpg?w=0f72b828&sjid=5055

thanks advanced

Gesendet von meinem HTC One X mit Tapatalk 2
[Virtuous Ten Studio] vanessaem:
Can you possibly find a way to make that larger or upload when you get to a computer? Unfortunate the Tapatalk app does a horrible job enlarging pictures.
[Virtuous Ten Studio] fisha21:
So, from those screen shots, I can tell you there is an error with 2 of your 9.pngs....the 9patch info is wrong, and those images need editing before it'll compile. Unfortunately, because of the resolution, I can't see the names of those images. Note the block right at the top starting ERROR....those lines will tell you which images to fix.

If you need help with that, feel free to pm me

Also, I would agree with coal686's comment about automagically converting indexed png to rgb...if that's possible
[Virtuous Ten Studio] Diamondback:
Which images are indexed? All or only m10 images? I can certainly convert them...
[Virtuous Ten Studio] alper.s:
What do you think, the error is on the drawable or m10 images directory?

Gesendet von meinem HTC One X mit Tapatalk 2
[Virtuous Ten Studio] vanessaem:
Wouldn't know because the images are too small. It could be anything. Knowing what the error messages are saying would really help narrow down the problems. :)
[Virtuous Ten Studio] coal686:
When one file has errors, it shows a long list of file errors. As Fisha said, it's an error with a .9 border. It's the drawable folder in res, activity something.9.PNG. If even one pixel of the border isn't black or transparent, you get that error. Find the file that is giving the error at the top of the log, zoom in and fix the border.

That would be great! I want to say all. It's been a while since I've decompiled a skin. I'm thinking more the PNG files in res, but could be m10 too.
[Virtuous Ten Studio] dragonhustler:
error

i get some java errors when trying to compile an apk back something like

snake.yaml.snakeyaml.....i think anyway to fix this?
[Virtuous Ten Studio] vanessaem:
The reason why I was asking him to show us a better image of the error messages because I was getting images errors that had nothing to do with bad .9s. It could be that the Public.xml is created but images aren't being declared correctly, duplicate images being made, everything you all mentioned, all kinds of stuff. That's why I said it could be anything. Sometimes the error is pretty minor but you will still get a pretty long list of errors. :)
[Virtuous Ten Studio] joeyfettucine:
I was referring to the whole series of steps when pushing a sysrem/app. Unless I'm in the minority I doing it this way. I always remount, shell stop, push, and shell start or reboot. When using VTS, I open a cmd prompt and do all but push from there. I have no problem doing it that way, just figured it would be worth mentioning as a nice add in.

Sent from my LTEVO running Frozen Jelly Belly
[Virtuous Ten Studio] fisha21:
A 9.png error will be in the res folder, not m10 because of the way VTS works. When decompiling, vts removes the 9patch handles (the black border bars/dots) from m10 images and reinserts them when recompiling. This means you can't mess up the 9patch info since its not there in the m10 image that you're editing.

But as vanessam says, a clearer screnshot would help us work out your problem more accurately. The error message itself will tell you the exact path of the faulty image.

Absolutely...all it takes is one faulty resources, and everything listed in public.xml after that point will get thrown up as an error!
[Virtuous Ten Studio] Diamondback:
patch9 error can only occur for images in /res because these error are thrown by apktool.

Well I guess I can just scan all images for indexed ones and convert those.

Can you please give us a little bit more information about your problem? You can easily extract the logs via the "log viewer" in VTS.

I have never heard about problems with pushing system apks. You either need to normally reboot your device after pushing or the pushed app just restarts itself.

Since VTS can already reboot your device (the "Reboot" button in the "ADB" tab), I don't think the "shell start/stop" thing needs its own button. (mainly because I don't think it's even needed)

Actually no. VTS does not alter any images. I don't know why the m10 patch9 images don't have these borders. But I certainly don't remove them ;)
[Virtuous Ten Studio] fisha21:
Haha, my mistake....I just assumed it was more of your coding wizardry :D
[Virtuous Ten Studio] ShyamSasi:
I just blogged about VTS in one of the Microsoft Featured Community

Virtuous Ten Studio for Windows, takes Android Theming to the next level
[Virtuous Ten Studio] Diamondback:
That's great, thanks :)
[Virtuous Ten Studio] coal686:
That would be a huge time saver. Thanks man!
[Virtuous Ten Studio] DeSim:
need a little help

02:39:59.144: [Normal] - <BuildProject>d__16.MoveNext: 'Building project: Des_Blue_Glass'

02:39:59.224: [Debug] - <>c__DisplayClass38.<BuildApkAsync>b__37: 'Des_Blue_Glass: Compiling changed M10 pictures'

02:39:59.565: [Debug] - M10ImageNames.Initialize: 'Loaded 1057 registered image names!'

02:40:00.847: [Debug] - <>c__DisplayClass38.<BuildApkAsync>b__37: 'Des_Blue_Glass: Copying 'C:\Users\De\Documents\Virtuous Ten Studio\Projects\Des Blue\Des_Blue_Glass\Data' to 'C:\Users\De\AppData\Local\Temp\de7d86f3-ae2a-4a3f-a7dd-09f8c21a3ebe''

02:40:16.270: [Debug] - M10Transformer.Encode: 'M10 encode: 193ms'

02:40:16.395: [Debug] - M10Transformer.Encode: 'M10 encode: 7ms'

02:40:16.405: [Normal] - ApkTool.CompileApk: 'Compiling apk'

02:40:16.408: [Debug] - FileSystem.GetJavaInstallationPath: 'Found java path: C:\Program Files (x86)\Java\jre6\bin\java.exe'

02:40:16.408: [Debug] - ApkTool.CompileApk: 'ApkTool args: -jar "C:\Program Files (x86)\Virtuous Ten Studio\External\ApkTool\apktool_1.5.0.jar" b "C:\Users\De\AppData\Local\Temp\de7d86f3-ae2a-4a3f-a7dd-09f8c21a3ebe" "C:\Users\De\Documents\Virtuous Ten Studio\Projects\Des Blue\Des_Blue_Glass\Binary\Des Blue Glass.apk"'

02:40:16.757: [Error] - ApkTool.CompileApk: 'ApkTool: W: Could not find sources'

02:40:16.757: [Error] - ApkTool.CompileApk: 'ApkTool: I: Checking whether resources has changed...'

02:40:16.758: [Error] - ApkTool.CompileApk: 'ApkTool: I: Building resources...'

02:40:16.759: [Error] - ApkTool.CompileApk: 'ApkTool: Exception in thread "main" brut.androlib.err.CantFindFrameworkResException'

02:40:16.759: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.androlib.res.AndrolibResources.getFrameworkApk(AndrolibResources.java:441)'

02:40:16.760: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.androlib.Androlib.parseUsesFramework(Androlib.java:482)'

02:40:16.760: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)'

02:40:16.761: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.androlib.Androlib.buildResources(Androlib.java:269)'

This is what im getting when i try to compile. Im working on a skin for Evo4G LTE, Android 4.1.1 htc sence ver 4+(not sure what the plus is..) the rom is meanbean1.7

i pulled com.htc.resources , framework.res and the framework-htc-res.. Any help would be nice.. would like to get a theme going..

Still waiting to get my License:D
[Virtuous Ten Studio] DeSim:
www.dropbox.com/s/4kcj96mvt1poted/full log.log

full log i hope
[Virtuous Ten Studio] Diamondback:
Well from your log it looks like you aren't (properly) using framework tags. At least the project your are building has no assigned framework tag.

Have a look here and then here for detailed instructions on how to use those tags.
[Virtuous Ten Studio] DeSim:
So for sake of what I want to do lock rings and such. I should say only work with one framework at a time? I might be confused..Lol..

Thanks you for the L Btw..
[Virtuous Ten Studio] Diamondback:
Okay, looks like only some m10 images are indexed (don't ask me why, it's a mystery:eek:), so I fixed those.

VTS won't search all images of an apk for indexed ones since that takes quite some time and I never found a single one in the 'normal' pictures.
[Virtuous Ten Studio] Diamondback:
You usually (ie. for newer HTC roms) need multiple frameworks. You can basically install ALL apks from /system/framework as frameworks with the

same tag

and select this tag in the project settings.
[Virtuous Ten Studio] Bebida:
We are spoilt :D
[Virtuous Ten Studio] DeSim:
i know that i did do that with the ones i installed. IE made the tag the same. ill try again... and im gonna install all of them this time.. also when im selecting my sense ver what should i set it at? it says i have 4.+