yashsingh1/xdaforums huggingface dataset:
[Virtuous Ten Studio] shoutokuyaki:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

ok sir
[Virtuous Ten Studio] Rittik:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Really Awesome App Hands Down!

Thanked at Op

just wanted to know How can i unpack or repack boot.img or recovery.img ..?

-Rik[Rittik]
[Virtuous Ten Studio] Diamondback:
Have a look here:

http://www.virtuous-ten-studio.com/index.php/what-s-new/101-what-s-new-in-2-1-19

Near the bottom is a short part describing it :)
[Virtuous Ten Studio] Rittik:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

oh that is superb #respect

but the thing is i use XP..no boot project there :'(

-Rik[Rittik]
[Virtuous Ten Studio] Diamondback:
True ;) Maybe you should think about an OS upgrade :good:

XP is almost 12 years old right now after all :p
[Virtuous Ten Studio] Rittik:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

can you provide me a lil file or upgrade?..os upgrade will be problematic? kinda request mate

-Rik[Rittik]
[Virtuous Ten Studio] Diamondback:
Hm? You need to buy and install a copy of Windows Vista or later... There's no "upgrade file"...

When switching the OS of your computer you should know what you are doing.

Anyway, that's not the topic here, I am sure there are hundreds of tutorials online on how to install Windows. Just search on Google.
[Virtuous Ten Studio] Rittik:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

i am not talking abt OS upgrade lol..i am talking abt some small files or upgrade can you release so that XP can have Boot project too?

-Rik[Rittik]
[Virtuous Ten Studio] Diamondback:
No sorry, I can't :) Unfortunately .net 4.5 does not run on Windows XP... And that's exactly what is required by VTS since a few versions.
[Virtuous Ten Studio] Rittik:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

oh okay :/ still thanks a lot

-Rik[Rittik]
[Virtuous Ten Studio] joeyfettucine:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Two issues I would love to see resolved on VTS. Its a great application, but if you are all out to make it better, then I will critique.

1. When the bottom windows are dragged up, the scroll bars don't compensate. So, I can't look at a lower project without dragging back down the log.

2. I would love to see an option to open a file in another program. Not in explorer, but an open with...The size of the viewing window isn't enough for me on my laptop and I tend to navigate to it and open in .notepad++. To have it as a built in option would be great

I know the second one takes quite a bit more effort, but if the first could be resolved, that would be much appreciated.

Sent from my LTEVO running Operation Jelly Bean
[Virtuous Ten Studio] GLADS:
Download Link

Download Link Not working... :(
[Virtuous Ten Studio] Diamondback:
1) Not sure at all what you want me to do.

2) I can certainly do that. (Edit: aaaaaand done!) However I don't understand why Notepad++ has more space than VTS? After all your screen can't grow :D

Works fine for me. (Both links)
[Virtuous Ten Studio] fisha21:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Actually I get what he means. If you have multiple tabs docked, the central viewing area is not fullscreen. Opening in np++ allows you to view the document fullscreen without undocking all tabs and having to set them up again

I usually right click and open the folder in explorer, then open the doc, but a direct Open with.... option is even better :)
[Virtuous Ten Studio] Diamondback:
Okay I just implemented another goodie: Full screen mode

You know it from Chrome and other programs, it frees up as much visual place as possible by hiding certain elements.

Have a look:

Pre full screen mode:

Post full screen mode:

Your original dock layout will be saved, so once going back to the "normal" view your dockwindows are still where they used to be.

It's quick and easy and certainly improves the usage of VTS on smaller displays. You can use F11 to quickly toggle the full screen mode.
[Virtuous Ten Studio] knalto:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Thanks for the full screen mode, that is great!

How about different (bigger) font sizes for the visually impaired middle aged devs?
[Virtuous Ten Studio] GLADS:
yeah its working fine now..

Seems like server was down... when I tried.
[Virtuous Ten Studio] Diamondback:
You can increase the font size of the actual document you are viewing by pressing/holding [CTRL] and using the mouse wheel. :good:
[Virtuous Ten Studio] Diamondback:
A little thing I wanted to talk about:

I hear rumors about a few people (successfully?) trying to "crack" VTS. I've heard buzzwords like .net Reflector, Injection and Reflection.

Would be interesting to know what you guys are trying to do ;)

I've always left VTS open to such attacks since it's pretty impossible to protect .net apps anyway and I don't like spending tons of time developing a secure system just to annoy my honest users with crappy online auth or stuff like that.

Feel free to contact me (anonymously) and I am sure we can save you from adapting your hacks to every new VTS version in a more mature way :good:
[Virtuous Ten Studio] joeyfettucine:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

2) Very nice fix. No, lol, my screen can't grow but it's kind of a pita to undock and dock constantly to navigate files.

1) If you expand the lower docks for logs, the scroll bars on the left dock and the document itself don't compensate. So, you can't scroll all the way down. The easier work around is to just select the log you want to see, then click again to make it go away. But, if you want to monitor the log while working on a document, you can't scroll down it because the bottom of the scroll bar is hidden. Does that make more sense? Sorry, it was kind of late when I made the original post. I may not have worded it the way of like.

Sent from my LTEVO running Operation Jelly Bean
[Virtuous Ten Studio] Diamondback:
Hm, can you show me a screenshot? I have no idea what you are talking about... :o
[Virtuous Ten Studio] Tungstwenty:
I know what you're saying, I experienced it too.

But it only happens when you open the Logs/whatever "temporarily", as a floating window. If you want it permanently there, press the small pin button near the close X in the top right of that floating window.

It will dock the view and make it permanently visible, even if you change the focus somewhere else. And it will also re-layout the other windows (such as the code) to properly fit the remaining area and therefore the scroll bars will be entirely visible.

Just check the 1st screenshot posted by Diamondback here. The Tasks window is pinned, and therefore the Base64.smali window shows the scrollbar as you intend ;)
[Virtuous Ten Studio] Diamondback:
Well if that is what he means, then it's fully intended ;)
[Virtuous Ten Studio] joeyfettucine:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Ya hit the nail on the head. I didn't know that about pinning it. Perhaps because on the laptop screen there's just not enough space for that. However, with the new full screen function, that makes things much easier.

Sent from my LTEVO running Operation Jelly Bean
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Hell Diamondback

Thanks for always updating this great IDE.

I got an idea and if u added it to the IDE, then it will be a bomb feature.. :D

I think you know about morphing... And was thinking if u can add a feature to make a folder with the name of the apk which is compiled... This folder contains only the new modified and compiled files ...

So u just compare the files after compiling and make this new folder with new modified files (compiled) .. So i can directly put it in the vrtheme flasher or Universal Flashing Tool...

This saves alot of size ... Specially when i want to add morphing to the ROM instalation with aroma.
[Virtuous Ten Studio] PLUG313:
quick, maybe noobish question...

can this be used to port any of these emulators to apk and having them working?

thanks in advance, and sorry if it's a stupid question
[Virtuous Ten Studio] GEKTHEBOSS:
R: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.82

Hello at all!

Im on W XP and i want import to a new project an apk,but i cant,because ok button is grey!

What can i do?

Bye!
[Virtuous Ten Studio] Diamondback:
I'll have to look into that one.

No ;)

You have to fill out all required fields (mainly the project & solution name)
[Virtuous Ten Studio] gharrington:
REQUEST

Mate is it possible to get option to auto reload last used files on start up and also save all line toggles. It will make working on large projects much easier and quicker thanks.
[Virtuous Ten Studio] sasuketobi:
I dont know if this issue has been raised before, but, Poweramp (build greater than 515) cannot be decompiled by VTS, it gives an error and then the decompilation fails.

If anyone found a solution to this please comment

---------- Post added at 09:47 AM ---------- Previous post was at 09:46 AM ----------

I dont know if this issue has been raised before, but, Poweramp (build greater than 515) cannot be decompiled by VTS, it gives an error and then the decompilation fails.

If anyone found a solution to this please comment
[Virtuous Ten Studio] Diamondback:
Not yet, but it's pretty high on my to do list ;)

Without an error log we can't do anything...
[Virtuous Ten Studio] sasuketobi:
This is the error log,

[Debug] - SmaliTool.BakSmali: 'BakSmali: org.jf.dexlib.Util.ExceptionWithContext: Unknown opcode: ff'

[Debug] - SmaliTool.BakSmali: 'BakSmali:	at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)'

[Debug] - SmaliTool.BakSmali: 'BakSmali:	at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:92)'

[Debug] - SmaliTool.BakSmali: 'BakSmali:	at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)'

[Debug] - SmaliTool.BakSmali: 'BakSmali:	at org.jf.dexlib.Item.readFrom(Item.java:77)'

[Debug] - SmaliTool.BakSmali: 'BakSmali:	at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)'

[Debug] - SmaliTool.BakSmali: 'BakSmali:	at org.jf.dexlib.Section.readFrom(Section.java:143)'

[Debug] - SmaliTool.BakSmali: 'BakSmali:	at org.jf.dexlib.DexFile.<init>(DexFile.java:431)'

[Debug] - SmaliTool.BakSmali: 'BakSmali:	at org.jf.baksmali.main.main(main.java:269)'

[Debug] - SmaliTool.BakSmali: 'BakSmali: Caused by: java.lang.RuntimeException: Unknown opcode: ff'

[Debug] - SmaliTool.BakSmali: 'BakSmali:	at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:56)'

[Debug] - SmaliTool.BakSmali: 'BakSmali:	... 6 more'

[Debug] - SmaliTool.BakSmali: 'BakSmali: Error occured at code address 0'

[Debug] - SmaliTool.BakSmali: 'BakSmali: code_item @0x29460'

[Normal] - SmaliTool.BakSmali: 'BakSmali failed, see log for further information.'

[Debug] - SmaliTool.BakSmali: 'Exitcode: 1'

[Error] - <>c__DisplayClass2.<ImportFilesAsync>b__1: 'poweramp: Decompiling classes.dex failed!'
[Virtuous Ten Studio] Diamondback:
Did you use the correct API level for you binary? What level did you use? Which android version is the file from?
[Virtuous Ten Studio] sasuketobi:
i've tried using the API level 2.3 and all the levels above it, As far as the app is concerned, it can be used on Gingerbread and above
[Virtuous Ten Studio] Diamondback:
Can you please check which smali/baksmali versions are in this folder:?

(Where ever you installed VTS)

You can delete all but the newest version (smali/baksmali 1.4.1).
[Virtuous Ten Studio] ridenickel9:
com.htc.resources.apk

Hi All,

I have been working on a sense 4.0 resource.apk and have been compiling, and recompiling no issue. My main problem is the changes I make do not take when I do any edits such a coloring drawable hdpi files like launcher.phone / camera, or coloring notification icons, or even a simple xml hex color edit to make main text red or web links red.

I successfully recompile each time, then have tried the following method to get back to device.

1. Mount system files as writeable and push through ADB, reboot device - no luck

2. Re-zip the entire ROM and reflash, reboot device - no luck.

What am I missing in my steps?

Thank you in advance!
[Virtuous Ten Studio] ikjadoon:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Had EXACT same problem.

What it your ro.secure status? Are you on a secure or insecure kernel? If you're on secure, install adbd insecure and all shall work! :)

I use VTS' own push function, as well.
[Virtuous Ten Studio] sasuketobi:
That solved the problem! Thank you so much!
[Virtuous Ten Studio] gharrington:
REQUEST

Mate could you please enable the horizontal scroll bar when editing xml files like in Notepad++ it makes it so much easier to read. I find my self still editing xml with notepad++ because of this thanks mate.
[Virtuous Ten Studio] oneders65:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

New at this. I am trying to customize an apk. I am sucessful with a similar apk that I sideload. When I install one from the market and use a root file explorer to copy the apk from data> app folder to my desktop, it decomplies in VTS but it adds extra characters like [1]. I make the changes and when I compile the file. In the binary the result is not an apk. I add the extention and install on my cell but the changes do not come out exactly correct. Any ideas?
[Virtuous Ten Studio] Diamondback:
You can disable the text wrapping. Either in the settings or right click in any xml document and disable the wrapping ;)

We certainly need a few more details here ;)

Where does it "add chararcters"?

What is the result if not an apk? Where did you find this "result"? (folder?)

"Not exactly correct"... What's wrong?

Are we talking about system or user apps here? (system I guess?)

Which apk is it?

I've heard of this before, however I have no idea what's wrong actually.
[Virtuous Ten Studio] ridenickel9:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Are we talking about system or user apps here? (system I guess?)

Which apk is it?

I've heard of this before, however I have no idea what's wrong actually.[/QUOTE]

I'm working on system\framework\ com.htc.resources.apk. doing edits to drawable hdpi.
[Virtuous Ten Studio] oneders65:
It adds [2] to the name of the build when I compile the apk. for example airborne[2].nflwp2-1 the apk had a name of airborne[2].nflwp2-1 when I copied it from data>app folder on my phone.

When I right click and look at the properties of the file in the binary folder, it says that it is a NFLWP2-1 File (.nflwp2-1).

I used etcpack to mod the helmet to a college helmet. When I install it, the helmet is black which is the part of the color but the helmet does not have the correct logo.

We certainly need a few more details here ;)

Where does it "add chararcters"?

What is the result if not an apk? Where did you find this "result"? (folder?)

"Not exactly correct"... What's wrong?
[Virtuous Ten Studio] coal686:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Windows will do that if there are multiple copies of the same file in a folder. But when VTS compiles the apk, it deletes old binaries so you shouldn't have multiples.
[Virtuous Ten Studio] oneders65:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

I see. It still confuses me that the output binary is not in apk form and I have to give it that extention. I think the issue with the helmet being black has to do with how the tga file is saved. When I convert it to .ppm and then to .ktx it goes black in the app. Is there any way to figure out how to save image correctly?
[Virtuous Ten Studio] heXacode:
My apologies if I overlooked this info since I used the search engine for this thread. I'm getting started back up on trying to theme a bit after I gave up awhile ago when nobody would point me in the right direction. That was in the days of Froyo/Gingerbread transition for the Droid 2.

Anyways. I've lost all my guides, tuts, saved info that was kept on my 1tb external hard drive (got fried by water). I've got VTS software downloaded and running. Had to download JRE 6. I do remember that I've had to input a path for environment. I don't remember exactly where that is again. I also don't know what else I need to set this up. I recall having to have AVD Manager and other stuff. Not sure if that is needed and what packages are needed to install with that. Heck, I'm not even sure what is needed these days since a lot has changed.

I have a Verizon Galaxy Nexus phone running 4.2.2. I'm already having trouble trying to figure out how to get the drivers installed so I can use ADB with it and fastboot and whatever else.

Basically, I'm at square one and pretty lost trying to get everything set up here. Any help or pointing to whatever pages or links to get me rolling is much appreciated.
[Virtuous Ten Studio] coal686:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Their website has a lot of useful information. http://www.virtuous-ten-studio.com/index.php/getting-started
[Virtuous Ten Studio] Moscow Desire:
Just using your De-odex tools. JB at API 16 (and others), generates complete errors on all odex files. I suppose this is geared only for HTC roms?

MD
[Virtuous Ten Studio] Tungstwenty:
Did you create the output dir for the deodexed files beforehand?

I had that issue once and it was because the dir isn't created by VTS automatically.

(of course you can be experiencing something entirely different)
[Virtuous Ten Studio] Moscow Desire:
I'll give it a shot. I assumed VTS would default the output dir to the same as the source. Thanks Mate.

MD
[Virtuous Ten Studio] Diamondback:
It's indeed only tested on HTC and AOSP files because I don't have any other device right now (eg Samsung).

If you have ongoing issues with some files, feel free to send them to me so I can fix it up. :)

Thanks for that, indeed something i didn't think about. I'll fix that.
[Virtuous Ten Studio] Diamondback:
Have a look at the project settings. There's a field called "APK-Name". It should contain the .apk extension there. Maybe the content of that field got screwed up somehow.

(You can change the name to whatever you like there btw)
[Virtuous Ten Studio] Moscow Desire:
Well, after one of the above posters corrected me on my ways, it seem you have to;

1. Define the path to framework (even if you are de-odexing /system apks

2. Create an output directory.

Then do your de-odex of /system and framework.

So this might need to be added into the tutorial.

Also, JB needs API 16 if I am not mistaken, ICS needs API 15, Might be a good thing to add for legacy builds.

MD

Test on Acer A701 JB 4.1.x
[Virtuous Ten Studio] Diamondback:
Yes, you always need the framework files, no way around that from what I know.

Creaating the output dir is no longer needed with the next version.

Not sure what you mean with the API level, just change it to whatever you need?
[Virtuous Ten Studio] stealthl:
Deleted
[Virtuous Ten Studio] Moscow Desire:
My bad. Was doing de-compiling after the odex. Was under the assumption that different OS versions need different API's when compiling and de-compiling. Or maybe somebody gave me the wrong info awhile back. Do please disregard the API level comments. ;)

MD
[Virtuous Ten Studio] ikjadoon:
For the smali decompile, there is an API level (for apks): http://prntscr.com/u4ro9

Off-topic:

Does VTS use the Print Screen button for anything? For whatever reason, Lightshot (the program I use for screenshots) won't activate its overlay on VTS windows, but all other windows. Windows' Print Screen function works great, though, so mostly irrelevant. :)

~Ibrahim~
[Virtuous Ten Studio] torxx:
I don't know if this idea might cause too much time but is it somehow possible to see a preview of what a public ID is referred to when going on the ID in smali with the mouse?

You know switching public.xml all the time is pretty time consuming, it would be great if you can somehow see the preview of the image or the best: see the correct name of the public entry, would appreciate that!
[Virtuous Ten Studio] torxx:
AW: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Need to check again tomorrow, thanks, for image it doesnt?

Btw wrong account :)

Sent from my HTC One X
[Virtuous Ten Studio] Diamondback:
Haha, sorry for that :)

Edit: No ONLY for strings right now. Images would require some additional work, not sure if that's worth it.
[Virtuous Ten Studio] Deadly:
I'm not able to use "Push to device" function.. :(

Any idea why? ADB is setup and linked in settings too.. All other options n adb menu works.. I couldnt understand whats wrong..

Btw.. windows 7 ultimate 32 bit.. vts latest version.. jdk 7
[Virtuous Ten Studio] Diamondback:
And what's the problem?:silly:
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Hello diamondback

While i was compiling android. Policy. Jar, the log tells

" Found multiple smali binaries, using first one! "

And then it tell it uses smali-1.3.3.jar

How can i choose the one I want? I want to use the latest one.

I am Working o GB.
[Virtuous Ten Studio] Diamondback:
You can't really "choose". In the next version I am using the "last" one instead of the "first".

In the meantime have a look here:

http://xdaforums.com/showpost.php?p=38294974&postcount=1231
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Ok.. This is what i thought so.

Thanks i will delete the old ones and Add the new 1.4.2
[Virtuous Ten Studio] Diamondback:
Nope ;) I don't use that key.
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

I delete the project folder... Then delete the smali and back smali files and put the new one 1.4.2

But when i make the new project and start to decompile, it tell that the back smali 1.3.3 is not found... What should I do? Just rename it?

Upate:solved when i closed vts then opens again...
[Virtuous Ten Studio] Deadly:
Well, "push to device" option when right clicked on a project should send apk under that project that was built to ---> phone, right? :confused:

which is not working for me i meant..
[Virtuous Ten Studio] Diamondback:
"Not working" is not really helpful ;)

You need to provide a log or error message or at least a description of what exactly doesn't work.
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

I have compiled some apks successfully and they worked.

Some apks doesnt appear in the app drawer until i choose a test signature ( all these are system apks so it should appear even if i keep the original signature )

But framework-res. Apk doesnt work.. Even if i choose the test signature. The system boots, but many systems apps start to FC...

That is why i asked to add a feature to include only modified files in Apk and keep other files unchanged.. Cuz the compiling and decompiling isnt always perfect..

I am really sad Cuz if this feature doesnt isnt included, then i can not use vts, and lose all these great features.