Search This thread

Diamondback

Retired Dev Committee Lead / Retired Senior Mod
Jan 17, 2010
4,476
6,631
virtuous-ten-studio.com
hello sir..
any method to test apk's on AVD/emulator after compiling...??

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).

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.
 

varun.chitre15

Inactive Recognized Developer
Oct 23, 2011
3,153
15,403
Sangli
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?
 
  • Like
Reactions: Diamondback

zalzondabuzz

Senior Member
May 9, 2012
586
561
Bandung
www.everyzalz.co.cc
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.30.7

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.

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
 

knalto

Member
Oct 19, 2012
22
11
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...
 
  • Like
Reactions: Diamondback

Diamondback

Retired Dev Committee Lead / Retired Senior Mod
Jan 17, 2010
4,476
6,631
virtuous-ten-studio.com
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...

I just implemented these two :good:
Thanks for the ideas :)
 

Juanig

Senior Member
Mar 12, 2011
335
129
Madrid
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...
 

Juanig

Senior Member
Mar 12, 2011
335
129
Madrid
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)
HTCJPG_Example1.png

HTCJPG_Example2.png

HTCJPG_Example3.png


Now you can properly edit these images :)

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.
 

Attachments

  • HtcPowerManager.apk
    645.4 KB · Views: 13

Diamondback

Retired Dev Committee Lead / Retired Senior Mod
Jan 17, 2010
4,476
6,631
virtuous-ten-studio.com
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.

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
 
  • Like
Reactions: torxx

ttabbal

Senior Member
Jul 1, 2009
2,076
723
Samsung Galaxy S21 Ultra
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...
 
  • Like
Reactions: Diamondback

Diamondback

Retired Dev Committee Lead / Retired Senior Mod
Jan 17, 2010
4,476
6,631
virtuous-ten-studio.com
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.

Okay, just tried, worked fine for me. Here's a screenshot of the images:
https://dl.dropbox.com/u/10460451/VTS/JGIFs.PNG


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...

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.
 

Diamondback

Retired Dev Committee Lead / Retired Senior Mod
Jan 17, 2010
4,476
6,631
virtuous-ten-studio.com
Tried again (in 3 different computers) and didn't work, What am I doing wrong? Log attached.

20:30:20.737: [Error] - ApkTool.DecompileApk: 'ApkTool: Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.'

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. :)
 
  • Like
Reactions: coal686 and Juanig

fisha21

Senior Member
Nov 23, 2007
2,331
4,379

Top Liked Posts

  • There are no posts matching your filters.
  • 527
    vts%20banner.png


    Virtuous Ten Studio (VTS) is the ultimate solution for the modification of android applications.
    This program allows you to manage entire Android projects within an easy to use and familiar environment.

    The intended group of users covers anyone from a themer over ROM devs up to the smali gods known for their awesome mods of existing apks.
    The modifcation of smali code is one of the biggest features in VTS. You can easily decompile, edit and recompile any apk or jar file.
    However, the application is not limited to smali files. You can edit almost any file found inside an apk or jar.

    Virtuous Ten Studio is also the official successor to the highly important M10Tools released 2011 by the Virtuous Team.
    You can easily edit any m10 file from Sense apps in order to resize or change them.

    Additionally VTS brings support for un- and repacking of boot images (boot.img), a job that previously required a cygwin installation with the dsixda kitchen.
    Since VTS' own implementation is a native windows solution, which means you don't need dsixda or cygwin anymore.

    VTS has been designed to run on Windows, has been in development for nearly two years and has gone through many stages of testing.


    Today VTS is a highly respected, multiple purpose Android IDE (Integrated Develoment Environment) suited for all your reverse engineering tasks.



    Screenshots




    XDA Portal posts




    Main Features

    This is only a short summary of all features, a full list of features can be found here.
    • Never before seen UI
      • Fully featured IDE
      • Seamless integration of useful third party tools
        • ApkTool
        • Smali/Baksmali
        • ADB
        • Zipalign
        • Sign
        • dex2jar
        • WinMerge
        • Remote Theme Injector (RTI)
        • many more

      • Work with your apks just like having real java code
      • Support for apks and framework jars
      • Easily keep track of multiple apks/jars with the Solution Explorer
      • Manage big projects with ease

    • Edit smali code like never before
      • Syntax highlighting
      • Jumping to smali references (method calls, fields, classes, gotos)
      • Help files on almost every smali command and topic
      • Connection between smali code and public.xml to expose hex references
      • Have a helpful look at the java source of any smali file if needed
      • Paste often used smali snippets right from the editor

    • Enhanced XML workflow
      • Easy navigation in XML documents
      • Follow XML resource paths and jump to the source file with a simple click
      • Previews of color codes, images and string resources directly in the xml file

    • Edit M10 files with great usability
      • Support for all Sense versions (3.0, 3.5, 3.6, 4.0, 4.1, 4.5)
      • Work with m10 files either with the dedicated M10-Project or via the combined APK-Project
      • Decompile m10 images of all Sense versions to create HTC Sense themes
      • Quickly analyze the contents with the M10-Structure viewer
      • Validate your m10 changes with the syntax checker
      • Unimportant m10 parts are greyed out or completely hidden

    • Unpack and repack boot images (boot.img)
      • Easily edit any content of your boot.img
      • Dedicated syntax highlighting for *.rc and *.prop files
      • Advanced support for files modes and symlinks
      • Native implementation, no need for cygwin or the dsixda kitchen

    • Communicate with your device with yet to be seen ease
      • Tight integration of most ADB commands
      • Push apks or jars easily to any place on your device
      • Remote import files to edit them with VTS
      • Debug your device with the integrated Logcat-Viewer

    • Enhance your workflow with useful additions
      • Easily create backups of your projects
      • Dedicated compare interface for easy comparision of files, folders or projects

    • Hundreds of other awesome features (seriously, you really have to see and try it yourself)



    User feedback

    I've had the pleasure of beta testing and writing tuts for vts and I must say that it is the most useful, well put together program for Android that I've ever used.
    I got that excited that I almost pre jacked when I first used it.
    It is simply truly fxxxxng amazing.
    Thank you team and testers
    Diamondback and everyone involved in this project - thank you! I just started learning (this morning) and
    I am already pushing out some alpha mods to the lockscreen thanks to your tool!!
    It is a great tool, and I will be using it more as I learn more.
    Thank you for the effort you put into this for free, it is amazing. Keep it up! :)
    VTS has done amazing, meticulous work that has enriched, massively, the android community.
    Thank you!

    As someone that's been using your tools since they were first available, I give a HUGE thanks.
    I have, like duce been innovative with m10 modding. There are probably endless options, through mostly trial and error.
    The payoff on the end result is always worth it. I'll be more than happy when your next release is out.
    I've been using VTS for over 2 months now and it has become the only tool I use. There are tremedous advantages and I'm still finding more. The java source tools are invaluable when working with xmls and smalis. I can now switch between projects with 3 clicks. Great program for modding.
    This is probably by far the most useful thing I've used on windows lol
    Ohh this is going to be awesome. I'm giddy with excitement. Great job on the app as a whole but with the upcoming m10 editing?
    You guys rocked any other editor out of the water. Keep it up :good:
    Waw.. this project is being developed very fast.... many changes in the software since the last 2 months when I tried it...

    Awesome!!!
    Thanks alot for the hard work, and great job.
    I want to give a huge THANKS for the Virtuous Team!
    I finally released a working transparent HTC clock widget on One X thanks to the new editor.
    I'm just glad that there are people out there smart enough to do this stuff! I was seconds away from getting a Samsung.
    Thank you Diamond for this superb tool and updates!

    Thanks everyone for this. I decompiled, made an edit, then recompiled my first skin last night thanks to this tool and my helpful huddle mates and teammates.
    Great job VTS team and thanks for the many hours of hard work and testing.
    Thank you very much Diamondback for all the hard work you put into this. You're the man!
    I just tried it now :D And I would just say WOWWWW.....
    This is awesome! [..] And again bravo for your help, HTC Sense is much sexier thanks to you
    Thanks again man, I really love this :good::highfive:
    I have just found this, and it's amazing
    Just dropped in to say that Virtuous Ten Studio has been an enriching experience for me
    You make us feel crazy ,This tool is a bomb .
    Thanks so much man, its nice to have the dev give a direct and clear response.
    Awesome tool.Comes in handy many times.thank you
    Dude you rock thanks so much for your kick ass creation!



    Featured Projects

    These projects were created with the help of VTS, check them out :good: (alphabetical order)

    XDA:DevDB Information
    Virtuous Ten Studio, Tool/Utility for the Android General

    Contributors
    Diamondback

    Version Information
    Status: Stable
    Current Stable Version: 3.6.30.14100
    Stable Release Date: 2014-06-30

    Created 2013-11-14
    Last Updated 2014-10-31
    140
    Changelog & News




    Bugs & Issues

    If you are about to make a new post in this thread asking for help because you got an issue, please make sure to check the FAQs here first.
    If you still need help, please include all the required information listed under the "Something else went wrong" section.
    I can't help you if you forget to provide these information.

    If you got any issues feel free to ask here while adhering to the guidelines above.

    I am also usually available on IRC, channel #vts-dev on Freenode. If I don't immediately answer you, stick around for a while and make sure to mention my name so I get a notification.



    Guides and tutorials

    My team and I spent a lot of time on writing detailed and comprehensive guides and tutorials about VTS.
    They cover a wide range of topics, from a total beginner level up to complex topics like creating your own HTC Sense skins.

    You can find the guides on my website:

    Need help with M10 mods? Have a look at this thread. (no requests please)



    Download and more information

    The downloads, tutorials and many more resources can be found on the dedicated VTS website

    http://www.virtuous-ten-studio.com/
    40
    Reserved for later :)
    33
    Reserved for later :)
    31
    Okay, everyone, we are getting ready for release. :highfive:
    However, there are a few points everyone has to understand, so I'll publish them prior to the official launch to get a bit more attention. :silly:

    First of all, a huge thanks to my beta testers and tutorial authors: (alphabetical order)
    • Dunc001
    • eg1122
    • Fernando sor
    • fisha21
    • Gumby63
    • il Duce
    • jeffsanace
    • mcluvn
    • memnoc
    Those guys earned my trust and did the major work on writing all the nice guides and tutorials on the all new VTS website (more on that later).

    Let's have a look at the new key features being added in this release:
    • VTS is now able to decompile m10 images. This means everyone can do skins for HTC Sense devices
    • Navigatin in XML documents is much easier now. Simply hold CTRL and click on any reference inside a XML document to jump to the source
    • The content of smali documents gets automatically checked for syntax errors now. Live. And in color. :p
    • We worked hard to provide you useful guides and tutorials on the new website. Additionally, VTS has a (little) help system built in. These are short explanations for a few key features. You can find everything related to "Help" in the new Help tab.
    • It seems nobody saw the potential of the old "Backup" feature, so in this version I added an additional window to easily compare different projects, folders and files. This comes in super handy when porting all kinds of stuff to new apk/jar versions for example.

    Okay, so, this is only a super short list of new features, the full list of changes (almost 2 pages long) can be found (as always) here:
    VTS Changelog


    A few additional notes:
    • I changed the license system a bit to help those that had to start VTS with admin rights to find the license. However, to fully use that fix, you need to activate your license in VTS again. Have a look at your license email if you don't remember anymore how to do that.
    • This release should fully support Windows 8. There's a little glitch in the "View tab" where one checkbox is a bit cut off, but I'll fix that with the next version.
    • Speaking of the next version.... This is the last release with support for Windows XP. The next version (the one after the the one that will be released shortly :p) won't suppor XP anymore. So if you are still using XP (shame on you :p), remember to not update after this release.
    • Despite having fixed the admin issue with licenses, it still seems that VTS needs admin rights for certain other things. If something goes weirdly wrong, try restarting VTS with admin rights.