yashsingh1/xdaforums huggingface dataset:
[Virtuous Ten Studio] Diamondback:
Okay guys, so here a few facts for the new deodex tool:

Not so much "kitchen"

You manually select the odex files you want to deodex

You also need to select the framework folder

You can specify the output folder

You need to set the API level

You can select any number of threads you want to run at the same time

This leads to heavy performance gains compared to other solutions like the Android Kitchen

The VTS tool can be 4 times as fast under ideal circumstances (probably even faster on server grade hardware, but who owns that stuff anyway :p)

I think I changed my mind about kitchen tools btw, maybe VTS is the right place to include a few features like the deodexer.

Any other ideas of what I can include?

However: VTS won't be a real kitchen, I might include batch processing tools like the deodexer, but it won't be such a super integrated kitchen thing (really not a fan of that)
[Virtuous Ten Studio] alkhafaf:
Awesome

So can u add this option of deodexing while making new project? The vts detects if there is odex file so an option appears if u want to deodex it then decompile it. This is much better because u can enter the api level one time during making new project.

And I am just wondering, does the vts adds all the compiled parts to the new apk? Or it just adds the modified parts and leaves the non modified as it was (non compiled) to make the process more cleaner ?
[Virtuous Ten Studio] Diamondback:
Currently you select an independant output folder where it places all apks/jars. The original files are

not

touched at all. (This is very important for me for testing purposes etc)

And hm yes, deodexing while importing a binary might be a good idea. I'll look into that.
[Virtuous Ten Studio] torxx:
Maybe somehow integrating cygwin for boot.img unpacking?

Gesendet von meinem HTC One X mit Tapatalk 2
[Virtuous Ten Studio] Diamondback:
We are working on something like this ;)
[Virtuous Ten Studio] torxx:
Cheers mate, your effort is highly appreciated!!

Gesendet von meinem HTC One X mit Tapatalk 2
[Virtuous Ten Studio] Spaghetti-XRY:
Hi guys,

I read the 3d and I've seen that almost everyone wants to use VTS to mod or theme apk. My mainly task is to force alls .apks to save their folder in a speficic one. Can I accomplish to what I want with your software?

For example, instead of having in the root of my sdcard different folder according the program I'm using just modify the apk to save his settings in /sdcard/APKSetting/ProgramName . I can do this with all APKs or I can encounter someone protected that won't be possible to modify, like soundhound, maxthon, Camera360 etc etc.

Thanks in advance
[Virtuous Ten Studio] :
I can edit every apps? Or just system apps?

PR€$S Th@Nkš Îf I hE£pEð ¥öµ...!
[Virtuous Ten Studio] Diamondback:
I am not exactly sure what your question is.:confused: Can you try to explain differently please? :)

In theory you can edit every app (no matter if user or system), however some apps (not many) are protected in a special way that apktool/baksmali fails to decompile them properly (basically a trick by the author of the app).

I've never seen such an app myself, but a few people use this as a anti piracy protection. (You shouldn't try to edit these apps anyway ;))

But in general, yes you can edit all apps.
[Virtuous Ten Studio] :
I installed vts on my PC.

Then I went to open settings tab

Then on left side I went to External tools-apk tool-framework tab...

Then I edited the text "tag" to framework-res..

Then clicked on"add framework" button...

Then selected framework-res.apk...

Then clicked ok..

Now I went to"new project" and typed "jellyblast" in project name box...

Then went to apk tool tab...

Clicked on right side arrow and selected ramework-res

then I went to smali tab then selected API level to "2.3.3 Gingerbread"

Clicked on import tag and ticked"generate java code"

Click on file and selected "framework-res .apk"

Then clicked ok....

But after clicking on ok...

I get an error "decompiling resource failed!"

I am on jelly blastv3...

Galaxy y
[Virtuous Ten Studio] Diamondback:
In general that sounds okay, however please note that these "tags" are used to differ between different versions of installed frameworks. So naming it "framework-res" is not the best idea (it works though).

Usually you should name them after the base version of the ROM or something similar. (But of course that's totally up to you)

Can you please provide us the log of your import? (use www.pastebin.com )
[Virtuous Ten Studio] alkhafaf:
He meant that he wants every apk to make it save its data in SD card instead of data partition, I think this is what he meant.

Dude u need to decompile every apk, and I think u should modify its smali to make this done. . I don't think it is easy, and this is not related to this thread, u can post a question in Q&A section ;)

Regards
[Virtuous Ten Studio] :
hey frnds plz see this video(http://www.youtube.com/watch?v=64HRlsKDbbY&feature=youtu.be)

In this video i have described the problems that i am facing...
[Virtuous Ten Studio] :
Hey plz help me out with this...

https://www.youtube.com/watch?v=64HRlsKDbbY&feature=youtube_gdata_player
[Virtuous Ten Studio] Diamondback:
VTS will be able to unpack & repack boot.imgs soon.

This means that you don't need cygwin and the dsixda kitchen anymore for this task :good:

It's an additional project type so it integrates very well.
[Virtuous Ten Studio] torxx:
DAMN, awesome stuff going on here!!
[Virtuous Ten Studio] :
See this plz...

help me...

http://xdaforums.com/showthread.php?t=2097283
[Virtuous Ten Studio] Diamondback:
I already told you that i need a

log

... And I can't see anything in your video, the quality isn't good enough.
[Virtuous Ten Studio] :
Plz tell me a windows software that can capture video of computer screen?
[Virtuous Ten Studio] Diamondback:
I'll just quote myself...
[Virtuous Ten Studio] :
hey frnds see my log

Here is my pic of my task and log bar of my vts with errors...
[Virtuous Ten Studio] Diamondback:
Hm, looks like apktool can't find the AndroidManifest inside the apk. Can you please provide me the exact apk you are trying to decompile?
[Virtuous Ten Studio] :
I uploaded the apk (framework-res..apk) http://db.tt/3O0T80hDhere
[Virtuous Ten Studio] Anthrax:
does this work for every ROM??????
[Virtuous Ten Studio] Diamondback:
I'm talking about the 1-1.apk here. (the one seen in the log)
[Virtuous Ten Studio] :
In open settings tab,

Framework tab,

In that I edited the tag as 1 and then clicked on browse button... And selected the framework-res.apk....
[Virtuous Ten Studio] Prof Peach:
Great software fella's.

I'm having a problem changing a line of xml in SystemUI.apk.

After a long time trying to figure out the framework tag I managed to decompile the apk.

I have no issues building the SystemUI again and it pushes to device with no problems.

Permissions are correct etc but when I reboot I have no statusbar, wallpaper or pulldown,

The dev for the rom I'm modding (BugX sense 4+) said not to sign the systemUI or it would lead to problems.

I've tried not signing, keep old sig and test keys but still no good.

I've tried deleting cache in recovery etc but still the same.

Sat up till 5am with this and its got me stumped. I've also been at it for 3 hrs today with the same results every time.

I've already modded quite a few apk's using the studio and its been flawless. It would appear I'M the problem but cant figure out where I'm going wrong. Any pointers would be much appreciated.
[Virtuous Ten Studio] :
success...

okk.. After so many tries now i am able to decompile file properly:good::highfive::victory:....

Now say me what to do after it???
[Virtuous Ten Studio] GRR_OLEG:
Hello, I'm trying to make a theme for the sense, doing all the instructions, but the theme is not compiled:(Please help
[Virtuous Ten Studio] il Duce:
Take the meta inf folder from the original apk and put into your new apk, should work. SystemUI needs a signature, but probably on that rom needs the original one.
[Virtuous Ten Studio] Diamondback:
That's exactly what "Keep old signature" does ;)

If it doesn't work you'll need to patch services.jar to ignore the mismtached signatures.
[Virtuous Ten Studio] coal686:
VTS is for Windows. It works on apks from any ROM.

Maybe it's Tapatalk, but I can't read this.
[Virtuous Ten Studio] PerfectSlayer:
Hi all,

I start to use VTS some weeks ago and I thanks you for this great job !

I have severals questions / feature requests about editor:

Is there a way to restore solution tabs opened on VTS start ?

Is there a way to specify package list to exclude for java source generation ? (I mean, there is some libs/tools in separe packages that do not interest and take time in building process)

Is there a « go to line » feature ? (I did not found it :o)

Thanks you all ;)
[Virtuous Ten Studio] Spaghetti-XRY:
thanks for the answer alkhafaf!

I'll do an example, right now my /sdcard is

/sdcard

-/riteMarkup

-/soundhound

-/MxMobile

-/Camera360

-/Download

-/Android

-/Music

and so on...

I'd like to know if it's possible to modify every apks forcing them to save their data folders just in one sub-folder so my /sdcard look like this:

/sdcard

-/APKSettings

***/ritemarkup

***/soundhound

***/Camera360

***/otherapks settings

-/Music

-/Android

-/Download

If it's possible I'll download VTS and I'll try to learn how to do it :D

Or maybe do u know if there's an App that can do, through a gui, the same?
[Virtuous Ten Studio] Bebida:
Remove line 18 from arrays.xml and delete public.xml
[Virtuous Ten Studio] GRR_OLEG:
still does not want to compile.:(
[Virtuous Ten Studio] mayfield103:
If your editing a skin for jellybean go to res/values/arrays xml and delete "reference-" in lines 18 and 20 then save and build :)
[Virtuous Ten Studio] Diamondback:
These are interesting ideas. None of them is implemented yet though.

That's definitely possible, since you are not the first one requesting it, I'll put it on my todo list ;)

No idea if that's possible, I'll have a look

Basically just a little box or something where you enter a line number and VTS directly jumps there? That's certainly possible.

Well, of course this is possible. But you'd need to edit the android core and not the single apps.

Basically you'd need to rewrite how android stores data.

So yes, in theory VTS can do that, but no, I don't think you will achieve it ;)
[Virtuous Ten Studio] PerfectSlayer:
1. Thanks !

2. I think it's related to dex2jar feature. I did not found option about that.

3. Yes, a basic input dialog under ctrl+g or ctrl+l shorcut will be enough.

Don't hesitate to ask for opinion about VTS if needed :good:
[Virtuous Ten Studio] Kagedin:
Hello, I just installed VTS and I'm trying to make my own HTC Sense skin for the DNA. I'm having a couple of issues though, first is, I'm having trouble decompiling the apk. Whenever I try I get the following error:

19:05:48.822: [Error] - ApkTool.DecompileApk: 'Can't find java binary! Aborting apktool... java.exe'

19:05:48.832: [Error] - <>c__DisplayClass32.<ImportFilesAsync>b__31: 'Hatka: Decompiling resource files failed!'

I have both JRE and JDK the latest versions installed in their default directories, although my projects folders are on a separate drive, could that be causing the problem? I saw someone with an earlier post with the same issue, however I wasn't able to understand how he solved it.

Another issue I am facing is when I try to import a framework from my HD after selecting it with the file browser and clicking import, nothing shows up, I have to manually copy it to the frameworks folder to get it to appear.

Thanks in advance for your help!
[Virtuous Ten Studio] miggsr:
I've recently installed vts for the second time and looked at tutorials and had colleagues look at the situation and I can't figure why I get this error when trying to setup frameworks. http://db.tt/sNHDeFvQ
[Virtuous Ten Studio] Mr Hofs:
Hi guys ! I love this program, been messing around with it for a few days and is awasome. Going to get the paid version tonight :thumbup:

Even for a beginner (noob, rookie :)) its a great piece of software !

Going to have some questions in the future i guess ;)

Thanks :D
[Virtuous Ten Studio] rfgamaral:
I'm having an issue with VTS creating a JB theme for HTC Sense 4.5. I do not have a license for VTS and I see some very light watermarks, I know this is expected. But I'm wondering if the problem I'm having is also related to me not having a license. I hope so, cause that seems a pretty easy fix. Otherwise, I'm not sure what could be the problem...

I based on my skin on the stock JB skin, I found it somewhere on one of the EVO forums, I think. And I haven't done much tweaking yet, most of the drawables/graphics are the default ones. I renamed it, compiled and installed it on the device just fine.

The problem is that some graphics don't seem right, they look stretched. Here's a screenshot:

You can clearly see two issues here... 1) The ActionBar background is stretched and 2) The track progressbar starts fine but then it starts stretching some pixels all the way.

Is this also related to the license or is it something else, some problem on my graphics? But again, they are the default ones, never touched them. Bebida? Any deias?
[Virtuous Ten Studio] coal686:
I was going to help but I guess you only want Bebida to help. :p

I wouldn't think that would be a licensing issue. It almost sounds like a bad .9 file.
[Virtuous Ten Studio] rfgamaral:
Nah, that's not what I meant, I appreciate anyone's help.

After a little more digging... There are some original files on HTC skins that have the .r.9.png extension and that is a custom HTC thing, not native to Android. We can't recompile and use these files, wee need to remove .r part. But then the 9-patch will distort the image because the image is not prepared to be a standard 9-patch but a "9-patch repeater". I'm not sure if I'm making any sense...

But I don't know how to fix this problem :/
[Virtuous Ten Studio] Bebida:
Hello. You have pretty much answered your own question :p .r.9 are another bright idea by HTC I guess to try an stop us themeing there stuff and save on file size. Basically as you have already stated there is no fix atm, not that I am aware of anyway. What I do tbh is just make sure I use one colour and nothing that will repeat and look crap on these particular pngs to avoid the borked look. Also if you skin rather than edit the individual apks there are far less if any .r.9s
[Virtuous Ten Studio] rfgamaral:
I guess that's what I'll have to do... :(
[Virtuous Ten Studio] Spaghetti-XRY:
Uhm quiet wierd that is Android core and not the single apk who has a line in it that state: save my settings in here. 'Cause any app save itself in different paths...

Anyway It can be quiet OT, so thanks for ur support. If I'll have time to try I'll let u know if it's possible :D
[Virtuous Ten Studio] Diamondback:
Okay guys, I'm getting ready for release. I hope to publish the next version

tomorrow

.

As always, the changelog can be found here:

Changelo

g
[Virtuous Ten Studio] il Duce:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 1.11.21.

\o/
[Virtuous Ten Studio] torxx:
Really looking forward to it!!
[Virtuous Ten Studio] alper.s:
I have a problem to edit the images in the directory \res\drawable-xhdpi\

I get this error if i try to compile.

https://www.dropbox.com/s/16upz938ol9w6yt/Debug-1.log

the decompilin and compiling from the images directory (M10) works fine.

thanks
[Virtuous Ten Studio] coal686:
Here is the pertinent part of the log:

22:42:20.682: [Error] - ApkTool.CompileApk: 'ApkTool: ERROR: 9-patch image C:\Dokumente und Einstellungen\Alper Sezer\Lokale Einstellungen\Temp\170d6d05-0ea8-490d-a039-37774078c9b7\res\drawable-xhdpi\common_subnav_tab_rearrange_tile.9.png malformed.'

22:42:20.682: [Error] - ApkTool.CompileApk: 'ApkTool: Frame pixels must be either solid or transparent (not intermediate alphas).'

22:42:20.682: [Error] - ApkTool.CompileApk: 'ApkTool: Found at pixel #60 along top edge.'

You have a .9 error. Once one .9 is malformed, it throws up a bunch of errors. Fix the .9, the rest of the errors will go away too. So, find the common_subnav_tab_rearrange_tile.9.png file and fix the one pixel wide black/transparent border around it. Most likely, you recolored the image which caused the black to not be true black. You'll have to go through pixel by pixel (starting with #60 on the top edge as it says, but there are most likely others that were changed).
[Virtuous Ten Studio] alper.s:
coal, thank you for your reply.

can you send a example?
[Virtuous Ten Studio] knightwolf123:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 1.11.21.

http://db.tt/kkqd991h

I had this problem a while ago. Here is an exaggerated version of what you might want to create. I assume you are familiar with 9patch.

Basically what I learned is if creating a new image, use the old but don't touch the border. Or if changing the color, don't touch the brightness. Or at least don't go lighter.

I hope this helps :D
[Virtuous Ten Studio] coal686:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 1.11.21.

Look at knightwolf's post. Open your file and zoom in until you can see each pixel. You'll see that the border is a mix of color and transparent. Use your pencil tool and color the colored ones true black.
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 1.11.21.

I was about to ask u about it :p

Can't wait anymore :D

Edit: wait.... this is a HUGE change log list :eek:

Omg.... I don't know what to say.

And about deodexing, how is it faster ? Using cores and threads in parallel?

Amazing job... really !!!!!!
[Virtuous Ten Studio] Diamondback:
Yes, deodexing uses a variable amount of threads (you can specify how many). Due to overhead it's not #_of_threads times faster, but I achieved roughly 4 times the performance on a high end i7 and a SSD.
[Virtuous Ten Studio] Diamondback:
Thanks to dunc's awesome work you got now the first entry in a series of "What's new in VTS" articles.

We are planning to release one article for each update.

Here's the first one:

http://www.virtuous-ten-studio.com/index.php/what-s-new/101-what-s-new-in-2-1-19
[Virtuous Ten Studio] :
Sorry, you are limited to 8 thanks per day

Hate when a person deserves my Thanks and this happens :crying::crying:

Can't wait for it! :D
[Virtuous Ten Studio] Diamondback:
Okay, the update is live now. (Version: 2.1.19.7700)

As always, here the relevant links:

Awesome 'What's new' article from dunc

(detailing the major changes with some screenshots and other cool stuff)

Full changelog

The download page

As a reminder:

No support for Windows XP anymore

Your saved docklayout will be resetted (I had to do that, sorry. You can rearrange your dock windows after the first start again)

.net 4.5 is required now. Once starting VTS it should ask you to donwload and install it if it's non existing. Here's the manual download page)
[Virtuous Ten Studio] PerfectSlayer:
Thanks for your work !

Install it as soon as the download is finished :good:
[Virtuous Ten Studio] fisha21:
You've really raised the bar with this update...absolutely amazing work guys!!
[Virtuous Ten Studio] Dic3ptor:
Hi

I can not see the new version on VTS page. There is only the last one Virtuous Ten Studio 1.11.21.7217?!? Changelog says 2.1.19 (not released yet)??
[Virtuous Ten Studio] Diamondback:
You are seeing ghosts :P

Not sure at which page you are looking but the download is here:

http://www.virtuous-ten-studio.com/index.php/downloads
[Virtuous Ten Studio] torxx:
I have issues with the boot project, it only takes 1-2 seconds to unpack/pack and the boot.img size gets 1 MB larger with only one or two entries as a test.

Turge couldn't even unpack it, any tips?
[Virtuous Ten Studio] Diamondback:
The ram disk is zipped so size changes likely aren't going to affect anything.

Give me the non working boot.img and I'll have a look :)
[Virtuous Ten Studio] Dic3ptor:
Thanks for the Link but version 2.1.19.7700 is not there. That is what i see. Or i am totaly blind. :D
[Virtuous Ten Studio] torxx:
I didn't have any issues with non working boot.img, it was just confusing that the file size changed without any new stuff :)

I will tell Turge to appear here
[Virtuous Ten Studio] Diamondback:
Interesting, looks like you are viewing a cached version. Can you try to hit [CTRL] + [F5]?

But anyway, here's the direct link ;)

http://bit.ly/WNcA0m
[Virtuous Ten Studio] Dic3ptor:
LO_OL that trick did it! Thank you! CRTL+F5 i didnt know that combination. Thank you. Will test new version and give feedback soon!

Normaly my browser should clear caches after closing but looks like that he will not do that. :D
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.19.7

I am so sad that I didn't succeed to make any apk work. It does decompile and compile successfully, but nothing work :(

And I noticed that the new apk has all its new files compiled (files sizes change inside the apk like resources.arc, and some PNG files in drawable hpdi), even it it is not changed, this reduce the cleanness of the process, unlike apk multi tool... I hope that u add the feature to keep unchanged files and fix the problem of compiling.. I tried framework.apk, DialerTabActivity.apk, SystemUI.apk... all of them doesn't work even if I compile without any change.

I made sure of all the settings, no use. I even used the apktool v1.4.5 which works with me... nothing work :(

Note I use apk multi tool and works with me most of the time.
[Virtuous Ten Studio] Diamondback:
Without a proper log every bug report is pretty useless. Please provide the necessary information so I can help you.

Use www.pastebin.com for your log or upload the actual log file somewhere.
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.19.7

But there is no error or warning in decompiling and compiling.

Note: I use apk odexed. It always works with me in apk multi tool, and I don't need to change any smali, I even unchecked ( debug Smali code ) in settings of The project. No use.
[Virtuous Ten Studio] Bebida:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.19.7

Had the same issue turned out it was because I had set vts to retain original signiture in settings changed to test Sig all fine. Also make sure u have your framework tags set correctly.
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.19.7

But I use odex rom, I don't think the test signature would work. Right ?
[Virtuous Ten Studio] Diamondback:
You can't import odexed files (yet, that's actually planned for a later version).

So please deodex the apk first.
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.19.7

But why?

Why in apk multi tool it does work, I am just working on the apk part of the file, not the odex part .

I think the only difference between deodexed and odexed Apk is the classes.dex file included.
[Virtuous Ten Studio] Bebida:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.19.7

Sorry posted before edited post. Great work with the update btw. Love u guys
[Virtuous Ten Studio] Diamondback:
Because this is not ApkMultiTool ;)
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.19.7

I hope u can make it work without classes.dex included. So I don't need to deodex apk if I dont make smali mods.

And if u can, make the compiled apk keep unchanged files, cuz sometime apktool compiles some XML files incorrectly.

Btw, I tied deodex file and then reodexed, it worked :)