yashsingh1/xdaforums huggingface dataset:
[Virtuous Ten Studio] .c0dy:
I've found another little point.

On the website it says: Microsoft .net framework 4.5 is requierd.

It's only available with Vista and later i guess.

For Windows XP .Net Framework 4.0 is needed.

Just a little thing, but i think it's worth to add this. :good::laugh:
[Virtuous Ten Studio] Diamondback:
Added a note about Windows XP. Thanks for pointing this out.
[Virtuous Ten Studio] PerfectSlayer:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.30.7

You could use the adb push command setting to push the binary to your running avd. But I don't think there is a way to automatically start the application (due to various apk entry points).
[Virtuous Ten Studio] nick1313:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.30.7

Hmm. Ok cool, I'll have to check that out. I thought I tried to add multiple apks at once, obviously I wasn't doing it right. Thanks for info.
[Virtuous Ten Studio] zalzondabuzz:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.30.7

Any answer for mu post??:cool::cool:

Sent from my GT-S5360 using Xparent ICS Tapatalk 2
[Virtuous Ten Studio] Diamondback:
Just added a "Jump-to-line" dialog ([CTRL] + G)
[Virtuous Ten Studio] Diamondback:
The current version always tries to push to an USB device, so pushing to AVD won't work directly from VTS.

However, the next version improves this and gives you the ability to specify custom ADB flags (like -d, -e, -s), so you can easily configure it to push to your emulator.

Right now you can always just push it manually to the emulator via the command line.
[Virtuous Ten Studio] varun.chitre15:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.30.7

Hey DB, VTS has become my daily driver now and everything is so easy, fast and fluid with it ;)

I wish to request a feature :) :D

Well I use the "Generate Java sources" too too often , so wouldn't it be great feature to generate java sources LIVE!?

For example if I change something in smali then it should show what's changed in java sources for the corresponding source file in REAL-TIME maybe in another tab?
[Virtuous Ten Studio] zalzondabuzz:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.30.7

I allways do adb push and pull on vts...

Hope you can add an emulator on next ver. Cause that a problem if I wanna test without device..

Sent from my GT-S5360 using Xparent ICS Tapatalk 2
[Virtuous Ten Studio] PerfectSlayer:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.30.7

Thanks you! I'm waiting for the update ;)
[Virtuous Ten Studio] zalzondabuzz:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.30.7

I luv vts :D

Sent from my GT-S5360 using Xparent ICS Tapatalk 2
[Virtuous Ten Studio] knalto:
Finally I can post here and thank you personally for this absolutely great tool!

I hope I can help make this even better with two feature suggestions:

- The ability to use bookmarks in the open java source files. Sometimes I tend to get lost digging deep,..

- What would also be very helpful is a history-dropdown list in the Quick find field (as these searches don't show up in Search results Panel).

I'm off now buyng myself a license...
[Virtuous Ten Studio] Diamondback:
I just implemented these two :good:

Thanks for the ideas :)
[Virtuous Ten Studio] knalto:
That's just great, thanks!
[Virtuous Ten Studio] Juanig:
I had some problems while compiling and decompiling apks (Can't find java binary!) and I found the fix, hope it will help other people. It was simple: VTS is not working with 64 bits version of JRE...
[Virtuous Ten Studio] Juanig:
What project type should I choose to decompile those kind of images? I tried apk and M10 project types but it didn´t work. I´m trying to extract the battery image from HtcPowerManager.apk (attached).

Thanks in advance.
[Virtuous Ten Studio] Diamondback:
Apk project is the right one for the HTC jpgs. I'll have a look at your apk.

In the meantime: I'm about to release the next update.

Go ahead and read about the new features here: (as always, huge thanks to Dunc!)

What's new in 2.2.11
[Virtuous Ten Studio] ttabbal:
I really like VTS now that I got it to work. :) The ability to generate Java code from the smali is excellent.

The thing I ran into was that I was running in a VM as I don't use Windows as my main OS. Under vmware it kept using directories like \\vmware-host\shared\apktool. Which didn't exist, and couldn't be created as that's a placeholder for shared folders. I had to create a new share named "apktool" to get it to run. Could you consider adding an option to set a "home" path that is used exactly, without any expansion etc.. So I could tell it to use something on C: for everything and never have it try that? It would make life a LOT simpler for VM users. I could set the project directories and such, but couldn't seem to get apktool to avoid that directory.

I had an issue with Touchwiz system apps not finding resources. Will the multi-framework feature in the new update fix that? Seems like it wants to be able to use framework-res and twframework...
[Virtuous Ten Studio] Diamondback:
Okay, just tried, worked fine for me. Here's a screenshot of the images:

https://dl.dropbox.com/u/10460451/VTS/JGIFs.PNG

I am really not sure what's the issue with VMs. What contained these shared folders? (framework apks maybe?) What else besides that apktool folder?

Concerning the Touchwiz thing. Did you actually add ALL framework apks from your ROM (with the same tag)? (current HTC ROMs have 5 or more).

The new feature isn't something new, it just makes it a lot easier to add multiple frameworks with the same tag.
[Virtuous Ten Studio] Diamondback:
Okay everyone, VTS 2.2.11.8210 has been released via OTA and setup file.

Download via the internal updater or:

http://www.virtuous-ten-studio.com/index.php/downloads

What's new article

Full changelog
[Virtuous Ten Studio] tsw_sweden:
Great!! I really want to test it out, does anyone had any success with running it in Wine? I'm thinking of reinstall Windows only for this software :)
[Virtuous Ten Studio] Juanig:
Tried again (in 3 different computers) and didn't work, What am I doing wrong? Log attached.
[Virtuous Ten Studio] Diamondback:
That's what you are doing wrong :P

If the actual import fails, VTS won't touch the HTC jpgs, so they are left in their jpg form.

Add the required framework(s) with a tag, select this tag in the project settings and import the apk again. :)
[Virtuous Ten Studio] Juanig:
It worked! thanks a lot!
[Virtuous Ten Studio] fisha21:
Fantastic feature set, great user support and always willing to entertain new feature requests.

Thanks guys:

Confirmation number: 0GB69290PD223553N
[Virtuous Ten Studio] zalzondabuzz:
THANKS!

thx... :o

adb push/ adb install to emolulator working damn good..!!

I Love VIRTUOUS....!!:good::good::good: :highfive:
[Virtuous Ten Studio] alkhafaf:
Hell Diamondback

Awesome updates, thank you very much..

I was trying the deodexing tool. It is very good and easy to use, but I got 4 files failed to deodex:

anroid.policy.jar

ext.jar

framework.jar

services.jar

I am on i9000 with GB ROM 2.3.6 ( API level = 10), using 4 thread with core i5.
[Virtuous Ten Studio] Diamondback:
Can you please upload the /system/framework/ folder somewhere for me, so I can test it on my own machine?
[Virtuous Ten Studio] alkhafaf:
here it is:

http://www.mediafire.com/?giggueikdos7oas

thanks in advance.

btw I tried the drag and drop of apk to make a project... I can't say anything but just AMAZING!!

I didn't have to change anything but just press OK and then it started to decompile.

I am now greedy and want to make batch drag and drop apks :D

edit: just wanted to report a little bug. When I delete a project from a solution then make a new project with the same name it tells me this project name already exist, so I have to go to that folder which holds that name and delete it to make that project again... Just wanted to help in making this IDE come close to perfection.. :)
[Virtuous Ten Studio] gharrington:
Fantastic guys just got my premium licence :) Quick ask for new feature auto backup of last build or popup asking to backup last build. Will save me time manually copying over. Thank you will save me heaps of time.
[Virtuous Ten Studio] knalto:
Thanks for the new version, nice new features!

I think I may have found a bug though, that wasn't there before:

When starting a new project: ticking the checkbox "Generate Java sources" and subsequently browsing to an apk-file to decompile, the checkbox for generating sources doesn't stick and is reverted to unchecked.

I have to tick it again, no big deal. But after the project is created, there are still no java sources there, the Misc folder only contains the "Old Signature" folder. Am I doing something wrong? It used to work before like this...

The history dropdown list in Quick Find is very neat! Any chance of getting this also in the other "Find & Replace" fields?
[Virtuous Ten Studio] Diamondback:
Not sure what exactly you want to backup. The actual compiled apk file?

I'll have a look at these things.
[Virtuous Ten Studio] Diamondback:
Thanks for the files. I'll have a look.

Re: bug. That's actually not really a bug, I designed it that way.

Background: I initially thought that renaming directories is not possible from C#, but it turns out that renaming is just moving in fact. :o My bad ;)

So yea, I'm probably going to "fix" this. :victory:
[Virtuous Ten Studio] knalto:
Seems I spoke too soon, the source generation error is confined to just one particular .apk at the moment, and the error is:

Dex2JarTool.Dex2Jar: 'Dex2Jar: java.util.zip.ZipException: invalid entry size (expected 2793537544 but got 162636 bytes)'

Is there anything I can do about this? Thanks in advance.
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Well u can solve the problem easily by deleting the folder of the project when I delete that project .this is the bug that I meant :)
[Virtuous Ten Studio] chubbzlou:
compiling build errors

Hey Diamondback I loving VTS you and your team did an outstanding job on it.

I think I found a bug on the latest build. I notice when compile and I get and error it doesn't show what the error is on the the build error log it was working perfect on the last build but not on this one.
[Virtuous Ten Studio] XtremBongChilla:
Can't recompile with Theme.Holo.Light.DarkActionBar

Hey Diamondblack!

I absolutely love your program. I use it to redesign ugly apps that they look and feel like they were made for the newest android platform.

But unfortunately i discovered two bugs:

1. I can't recompile the app when I try to set the theme to "Theme.Holo.Light.DarkActionBar". (Attached Logfile for this error)

2. When I recompile an app themed with "Theme.Holo.Light.NoAcitonBar" i only get the black holo design with a messed up ActionBar.

Idk if i'm doing something wrong or if that are bugs.

Please help me.
[Virtuous Ten Studio] scottspa74:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

VTS has done amazing, meticulous work that has enriched, massively, the android community.

Thank you!

From my Evo LTE, yup.
[Virtuous Ten Studio] Diamondback:
Yes, you are somewhat right, I kinda forgot about this one :o

It's a work in progress (the old behavior will be completely replaced by something much cooler). However I forgot to re-enable the old one again after playing around :(

Anyway, the old behavior was just to mirror some of the log messages, everything that was in the Build Errors window can be still found in the actual logs.

So nothing is lost :)

Well have a look at the log you posted.

This is the interesting part:

I am not 100% sure what exactly this means (since it's an ApkTool error) but it looks like you need to add proper framework apks before compiling (so it can actually locate the new theme)

But I am really no expert with theming... (But I am pretty certain that this is not VTS' "fault" but rather some missing action from your part ;))
[Virtuous Ten Studio] chubbzlou:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8
[Virtuous Ten Studio] tsw_sweden:
hey!

Thanks for a great software, but need some advice here. It always complain about 'can't fint java binary', however both JDK and JRE are installed (for example Eclipse works just fine, and also AVD manager) - tried to modify the PATH=<were my java is> , didn't help either.

So, running out of ideas..

And oh, the apktool.bat also works fine and decompiles / builds fine. So - what to do? (want to try the smali > java source feature, but it stops at the binary issue)
[Virtuous Ten Studio] ikjadoon:
Hey! I posted this on IRC, but not sure if it made it through:

"Push all" doesn't work on my GS3, unfortunately (it says it was pushed successfully, but the files on my phone don't change). However, I can use adb push and it works perfectly. It's a SystemUI.apk....any thoughts? Using adbd insecure, if it matters! :)

~Ibrahim~
[Virtuous Ten Studio] Juanig:
Which JRE are you using?
[Virtuous Ten Studio] XtremBongChilla:
Thank you.

Is it possible to install the framework files with VTS or can you point me to a how to?
[Virtuous Ten Studio] Diamondback:
Have a look here (near the end):

http://www.virtuous-ten-studio.com/index.php/getting-started/89-get-started-how-to-setup-vts

The interface might look a little bit different right now, but it's basically the same steps :)

Oh, and make sure you use the proper framework tag in your project settings after adding the framework files. :)
[Virtuous Ten Studio] Diamondback:
Hm that's a bit weird. Can you show me the VTS logs of such an "successful yet unsuccessful" push?
[Virtuous Ten Studio] Dunc001:
OK, another blindingly stoopid question to ask but what exactly are the pre-requisites for installing VTS? On the Virtuous website it simply states:

System requirements

Windows XP SP3 or later (no Windows 8 support until .net 4.5 is released)

Microsoft .net framework 4.0 FULL

>= 1GB RAM recommended

So I have installed it without problem and set up my first solution/projects, but when I come to import my first local file it fails with an message saying 'Can't find Java binary, aborting apktool...' So do I also need the JRE/JDK installed? I removed SDK and everything associated from my work PC a while back, and just expected this to be an all-in-one solution. Can you let me know what else I need installed please - sorry to be an arse ;)
[Virtuous Ten Studio] Diamondback:
Oh, yea you need the JRE too...

Didn't expect there was a single machine out there without java :D

Sent from my HTC One X
[Virtuous Ten Studio] Diamondback:
I added the JRE as requirement to the main page :) Thanks for pointing that out :)
[Virtuous Ten Studio] Dunc001:
Normally it would have, but a couple of months ago after wasting weeks of work time on smali editing when I should have been doing accounts and running a business in a moment of clarity I uninstalled absolutely everything from my work PC to force myself to do any Android tinkering at home where it is all still set up :D OK, so just JRE, not SDK as well?
[Virtuous Ten Studio] Diamondback:
Thanks for the great feedback! Much appreciated :)

I will look into the points you made. Definitely agree on the tabs thing but not sure about the scrolling. Will investigate a bit further there.
[Virtuous Ten Studio] Diamondback:
I am not an expert in this java stuff but normally you only need the JRE to RUN java applets, no?
[Virtuous Ten Studio] Dunc001:
OK, installed the latest JDK and corrected the java.exe entry in my PATH, now runs fine and tries to decompile the first apk - Idlescreen_Base.apk - but then fails with one error and the orange line of info in the VTS log states 'could not find public.xml in...' - do I need to update anything to get it to correctly decompile apks from ICS/Sense 4?
[Virtuous Ten Studio] Diamondback:
Show me the error :p

The warning is just a warning, nothing more. Bet way to share logs is via the "Log viewer" it can export full log files.

Make sure to tick all options there so I get all entries. Then pastebin it here. Or come to #vts-dev on freenode.
[Virtuous Ten Studio] Dunc001:
Got it all up and running - have to say this is a highly professional bit of software so major congrats :D Now I just have to learn smali :p
[Virtuous Ten Studio] Diamondback:
Glad you got it running :) ApkTool is sometimes a bit hard to handle ;)
[Virtuous Ten Studio] tri83:
I've the same issue like you. What did you do to get it working?
[Virtuous Ten Studio] dmeadows013:
May be a dumb question but how do you install apktool framework? In the framework tag do you put device name? Do they have to be in the same folder? It isn't too clear on the tutorials... Thanks
[Virtuous Ten Studio] Dunc001:
From conversations with Diamondback on IRC yesterday here is my understanding of installing framework apks. First you need to Open Settings>apktool>frameworks. Then you need to decide on a tag for the framework set you are about to import (tags allow you to have multiple sets of frameworks installed for different ROMs at the same time) - I was working with frameworks from the PKMN ROM for One X so I settled on PKMN_OneX_1.0 for my tag. Add that in the 'tag' text field and then click on 'Add framework'. You then need to do this for each of your framework apks (I'm working on a Sense ROM so I needed to import framework-res, framework-htc-res, and com.htc.resources all under the same tag). Then once you've done that, still in the frameworks window you'll notice that there probably aren't any files showing in the list box. To get the freshly imported files to show up I then had to enter the filepath to the frameworks folder in the text box at the top of that window (so in my case C:\Documents and Settings\User\apktool\framework) and once entered in full the framework files now show up in the list.

Then when you create a new project, BEFORE you import the apk you need to right click on the project, select Properties, and then in the Import Tag dropdown select the tag you have just created. You can also change the apktool version/path just below that to try decompiling with different versions of apktool if you have any problems.

Hope that helped :D
[Virtuous Ten Studio] Dunc001:
@DiamondBack - Can you jump on IRC when you get a minute...
[Virtuous Ten Studio] silverxbv2:
So here is my question. Can references be searched across multiple apks?

For example, if looking through a sense app like Rosie, you find a reference to an image from framework or com.htc.resources, would this be able to point to it?

Does that make sense?

Sent from my ADR6425LVW
[Virtuous Ten Studio] Dunc001:
AFAIK yes if you have them all set up as projects under one solution. I haven't tested that, but I have been using the 'Find in Files' option to search for smali across an entire solution with around 8 seperate projects/decompiled apks and it works great!
[Virtuous Ten Studio] Diamondback:
No this is not possible yet, but planned for quite a while already. Also not too hard to implement.
[Virtuous Ten Studio] silverxbv2:
Really? That's exactly what I was referring to. Awesome

Edit. I just noticed I got ninja'd. So it is something that's in the works. Great to here.

Sent from my ADR6425LVW
[Virtuous Ten Studio] oneders65:
This work but takes a while for it to load up. I'm using windows vista.
[Virtuous Ten Studio] Diamondback:
Did you reboot after altering your PATH variable? These java installations are really crappy :( There SHOULD be a proper way to detect java. However it seems this way is broken on > 50% of all installations... :rolleyes:

I guess i need to include some manual override in the next version...
[Virtuous Ten Studio] XtremBongChilla:
Thanks! It worked perfect!
[Virtuous Ten Studio] ikjadoon:
OK. It definitely wasn't working earlier, lol. Maybe something in the update fixed it, but now it is working perfectly! :D And, also, my ADB pull is correctly showing the files in the /External folder, too, now, in this update! :D

Oh, I got your PM: haha, right, I used ADB myself because it didn't work earlier. But, now, it is working great! Off to remove an extra 10 steps from that guide, lol. Thanks for making me test it again! :)

~Ibrahim~
[Virtuous Ten Studio] tsw_sweden:
Version 7 Update 13 .. and I can execute 'java' in CMD, so path seems OK. Clueless :confused:
[Virtuous Ten Studio] SXUsr:
Just updated, not loving the new start up screen though.
[Virtuous Ten Studio] ikjadoon:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

TBH, the new one hasn't grown on me just yet....but, I only see it every few days, so ultra low priority. Haha, really, actually, this is a nearly useless post. It's fine.

It does match the icon, though.
[Virtuous Ten Studio] Juanig:
As I said, I had problems with 64 bits version, it could be the same for you...
[Virtuous Ten Studio] ikjadoon:
Is this how one would use the "deodexer" in VTS?

Pull blah.apk and blah.odex; add blah.odex via "Select odex files"

Pull /framework; select via "Framework folder"

Add an output folder, select the right API, and right # of CPU threads?

Will that output a classes.dex file in the output folder? Then, I simply add classes.dex file to my blah.apk, remove the blah.odex from my phone, and finally push the deodexed blah.apk (containing classes.dex) to my phone and I'm done?

Or have I missed something? I couldn't find any documentation on this.
[Virtuous Ten Studio] Diamondback:
Not exactly. After pulling the apk and odex, make sure they are in the same directory.

Then pull the full /framework and select it.

Create output and select it, Select proper API level.

If you only have one apk setting the # of threads has no effect.

Start process and you'll have a

finished

apk in your output folder.

Then delete the odex file on your phone and push the new apk. (and maybe reboot)
[Virtuous Ten Studio] alen1901:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

If i update ma current vts program, can it reset or delete my current settings? Also, does new release contains apktool? Because i used my apktool and adb.

Sent from SpeedMachine i9100
[Virtuous Ten Studio] oneders65:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

I just updated and modified an apk.
[Virtuous Ten Studio] Ganesh A:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

A detailed guide would be much appreciated...

A person who never made a mistake never tried anything new.

- Albert Einstein
[Virtuous Ten Studio] Diamondback:
The VTS log is pretty useless here, you need to get a logcat ;)

I guess you have missed my website, the first post and the tons of tutorials listed there?
[Virtuous Ten Studio] alen1901:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

It looks like i have to quote myself..

Sent from SpeedMachine i9100
[Virtuous Ten Studio] Diamondback:
Not sure what you mean, of course VTS includes apktool. And yes, your settings should be fine after updating.
[Virtuous Ten Studio] Diamondback:
Okay guys, I need your help (again) :)

I need to build a database of common apktool/smali errors.

This database will be used to provide some more help for these common (and often easily solvable) errors, but since I am not importing/building apks all day I am not as experienced with the actual errors that might occur from the apktool side.

So please everyone, which errors do you face most often? When do they appear? (Import or build) How can you solve those?

Here are a few examples:

I also got: "Non existant resource" and "Malformed .9 image" so far.

Here's a little picture showing how this will look like:

The context menu actually brings you a special page on my website where you can find a detailed explanation what the error means and how to solve it.

So please everyone, tell me your most common errors :)