yashsingh1/xdaforums huggingface dataset:
[Virtuous Ten Studio] asdfasdfvful:
I'm currently having the following issue with VTS. If I open an existing project, the program will just freeze

Description:
A problem caused this program to stop interacting with Windows.

Problem signature:
Problem Event Name:	AppHangB1
Application Name:	Virtuous Ten Studio.exe
Application Version:	3.6.30.14100
Application Timestamp:	53b123d2
Hang Signature:	b6f5
Hang Type:	0
OS Version:	6.1.7601.2.1.0.768.3
Locale ID:	4105
Additional Hang Signature 1:	b6f573057fde39ed39440a9ab01a074f
Additional Hang Signature 2:	da4f
Additional Hang Signature 3:	da4f99ea7b973081e2e2f048e900c79b
Additional Hang Signature 4:	b6f5
Additional Hang Signature 5:	b6f573057fde39ed39440a9ab01a074f
Additional Hang Signature 6:	da4f
Additional Hang Signature 7:	da4f99ea7b973081e2e2f048e900c79b
[Virtuous Ten Studio] Diamondback:
Huh? Where did you get these information from?
[Virtuous Ten Studio] asdfasdfvful:
It's a pop up from windows when the program is closed. It's all good now with no issues though.
[Virtuous Ten Studio] dimas1111:
Hi.

First of all - thank you for this excellent IDE!

And one simple question.

During building process I use zip compression level 4.

As far as I see it compress resources.arsc too.

Is it possible to add 'resources.arsc' file to apk without compression?
[Virtuous Ten Studio] Diamondback:
At this point it's not possible to set compression values on file level.

Why would this be useful for you?
[Virtuous Ten Studio] wileout:
Does this work on linux?
[Virtuous Ten Studio] Dean1650:
Unless something had changed, no it does not. Its the fault of Linux
[Virtuous Ten Studio] wileout:
Well that sucks because i dont have a windows box :(
[Virtuous Ten Studio] dimas1111:
Probably it's my mistake, but according to

stackoverflow.com/questions/23260194/why-dont-compress-resources-arsc-in-apk-files

desirable to enhance 'resources.arsc' without compression.
[Virtuous Ten Studio] Diamondback:
Hm ,interesting. I'll have a look if I can *easily* provide a mechanism to prevent certain files from being compressed.

If not, it's going to stay the way it is. :)
[Virtuous Ten Studio] blueberry6401:
I suggest the multiple import function at single configuration. Such as at the import dialog you can choose multiple files to import :D
[Virtuous Ten Studio] Diamondback:
You can already do tht somewhat
[Virtuous Ten Studio] Diamondback:
Simply drop multiple apks via drag and drop on VTS and select your preferred configuration
[Virtuous Ten Studio] kmdangi:
Android 4.4.4

Can I use VTS for modding apps in 4.4.4 ROM ?
[Virtuous Ten Studio] alen1901:
Yes.

Sent from Pure Nexus 5
[Virtuous Ten Studio] Krocko:
Don´t work for me.

Can you please explain in more detail?
[Virtuous Ten Studio] tailsdoll:
I click on "Build All" and it Builds... But where is the .apk that i build?
[Virtuous Ten Studio] coal686:
Start in your Documents folder. Look in Documents/Virtuous Ten Studio/Projects/(Project Name)/(Solution Name)/Binary
[Virtuous Ten Studio] Diamondback:
Well you start VTS, open or create a solution, in your Windows Explorer you select multiple apks at once and then you drag them into the document area of VTS. :)

Or click the "Binary Directory" button in the Home tab and select the project you want to jump to.
[Virtuous Ten Studio] Diamondback:
Everyone that is interested in smali debugging features, please have a look here :)

[Testers required] VTS smali debug support
[Virtuous Ten Studio] Thuongtruong:
I can not build all the

I can not build all the

[IMG="c"]https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpa1/v/t35.0-12/10678096_1493734214243248_847048861_o.jpg?oh=b3fd6c9d14356463e64c819dc236b78c&oe=542A2ED9&__gda__=1412099577_b91c74595a21ebb9c0490105c483a065[/IMG]
[Virtuous Ten Studio] Diamondback:
The path to your temporary files looks weird, what's your username in windows?
[Virtuous Ten Studio] hasitur:
Thanks.
[Virtuous Ten Studio] thesparky007:
Download link on your site not working for me? :(

Edit: just saw the dropbox link and downloading from there... but the main links still dont work
[Virtuous Ten Studio] Diamondback:
Main Download links are back up and running :)
[Virtuous Ten Studio] joni2012:
New version?
[Virtuous Ten Studio] 2WildFirE:
No, fixed download links

powered by Skydragon ROM
[Virtuous Ten Studio] joni2012:
OK friend
[Virtuous Ten Studio] MrParo:
Really a great piece of software. I like that you guys have plenty of different Java decompilers like Procyon and CFR. I hope you guys will add more like Krakatau and Candle in the future as well so we will have a means to compare and contrast how well the decompilers produce Java code. Do you guys use dex2jar prior to generating Java source code? If so, you guys should take a look at Dare as well http://siis.cse.psu.edu/dare/ and perhaps add that as an option in the future. Perhaps prior to source code generation we can choose the dex to class conversion method. Here is a nice little read on the effectiveness of Dare as a tool to re-target Dalvik byte code to Java byte code http://www.cse.psu.edu/~duo114/pubs/octeau-fse12.pdf
[Virtuous Ten Studio] Diamondback:
Yes, dex2jar is used for the dex->jar conversion. I'd love to include Dare, but it only supports UNIX systems :/

I'll have a look at the other decompilers though :)
[Virtuous Ten Studio] Summersett:
Using 3.6.30.14100, I simply tried decompiling and recompiling an app, and after building it was larger (and doesn't install)... any idea why? 8,259KB in, 11,832KB out, and that's with the zip compression on 9.

Using jre1.8.0_20, newest apktool, the framework-res.apk from my Droid Maxx, "Advanced Editing," and API Level = 4.4 KitKat
[Virtuous Ten Studio] Diamondback:
Hm, did you compare the contents of the apks?

Concerning the doesn't install thing... Did you look at the logcat to see what's wrong? Which signing option did you use? Did you uninstall th original apk from your device before trying to install the edited one?
[Virtuous Ten Studio] Summersett:
A comparison of the original and after building shows everything to be identical except "apktool.yml," which only has a different "apkFileName: xxxxxx.apk"

This compares the two files while decompiled though, correct? I feel like something is going wrong during recompilation.

I used "TestKeys," as I thought that was the recommended option.

Uninstalling old and installing new gives me a "Parse Error: there was a problem parsing the package."

Trying to replace and set permissions in the /data/app folder and then trying to hit install force closed the installer.

I just tried with zip compression 9 and "KeepOldSignature" and got a 7,097KB file out. It shows up properly in the installer but then says "App not installed" at the end. Moving and setting permissions does the same. Same with zip compression 0 and "KeepOldSignature" (12,190KB file out).

Here's the logcat of the installation for the last attempt:

EDIT: APK-Multi-Tool throws errors when trying to install my framework-res.apk, but still decompiles the app, and then only has issues when compiling again. Could that be what's happening here? When trying to install framework-res.apk, it shows:
[Virtuous Ten Studio] 93Akkord:
Is there any way to add more colors for the color swatches on the side of xml files? Like if we have a custom color reference that we use.
[Virtuous Ten Studio] Madaditya:
The color swatches refer to the 8 digit(in most cases) hex color code on that particular xml line. Change the hex code and the color changes. Google for the color codes. 2 bits are for transparency and rest 6 bits go as the color as AARRGGBB(transparency and r-g-b)
[Virtuous Ten Studio] ek3nk4r:
this is a grate work thanks :x

can u add support UTF8 and Unicode in java generation cods like JEB . ?.

and what is the best method to generate java source code thankx :good::confused:

and can u add regenerate smali for 1 file of source in right click of any where we can edit in smail and save it and watch changs in java version of source
[Virtuous Ten Studio] rpetty1984:
Install_parse_failed_no_certificates

im trying to recompile a game apk with sign option set to keep original signature but i keep getting the INSTALL_PARSE_FAILED_NO_CERTIFICATES error when i install. I unistalled the original apk like i read, but still no luck. What I'm I missing? its just a simple smali edit.
[Virtuous Ten Studio] Diamondback:
Check if the apk is actually signed when it comes out of VTS.

It's also possible that you can't use that option since google fixed the security issue leading to the possibility to use the old signature at some point.
[Virtuous Ten Studio] jatinrungta:
when is android l support coming? :D
[Virtuous Ten Studio] Diamondback:
What exactly makes you think it's not supported already? :)
[Virtuous Ten Studio] Kickoff:
You can add lollipop framework?
[Virtuous Ten Studio] rpetty1984:
when its recompiled it has the meta-inf and manifest within the zip, if that is what your talking about. All im trying to do is replicate a already existing mod by comparing the smali files and making the same changes. So the person who originally done the mod apparently got it to work because Ive tested it myself. But when i replicate the same edits and recompile, and try to install i get the no certificates error.
[Virtuous Ten Studio] ghostshel:
delete
[Virtuous Ten Studio] Kickoff:
It works! You are a genius. Many thanks.

Edit: I can recompile the app but it crashes then...
[Virtuous Ten Studio] mikeman45:
I am looking for a little help here. I needed to update apktool to the newest version which i believe is called snapshot so i could decompile hangouts. Now after that i get an error while I'm decompiling. It appears it is using apktool 2.0.0 beta9 as the newest version and its not decompiling without errors. Do i basically need to wait for vts to update to allow this new apktool to be used or is there a setting I'm missing somewhere. Thanks for any help i greatly appreciate it.
[Virtuous Ten Studio] Diamondback:
Well it seems there is a bug in VTS when you try to use these snapshot versions (parsing the version number fails).

I already fixed this in my development build but for you there is an easy workaround.

Please create a simple text file with the

same name

as the apktool binary you are trying to use. The extension of said text file should be .version.

So if your apktool is called "apktool-2-0-0-rc1.jar" then the text file needs to be called "apktool-2-0-0-rc1.version".

The file needs to contain simply just the version number you want to use for that apktool binary. Since VTS can only use numbers (and not the "snapshot" part) you need to give it a new version number, for example "2.0.1".

This is the version you will see in VTS, so make sure to give it a unique number or you won't be able to differentiate it from other existing versions.

So in short (assuming your apktool binary is called "apktool-2-0-0-rc1.jar")

In the same place as the apktool binary, create an empty text file called "apktool-2-0-0-rc1.version"

Open the file in a text editor, write "2.0.1" in it and save it

Restart VTS

Use the specific apktool version 2.0.1 for your work
[Virtuous Ten Studio] mikeman45:
Thank you very much will try this as soon as I can get on my laptop.
[Virtuous Ten Studio] Kickoff:
I tried it with rc2 (file name: apktool-2-0-0-rc2.version, file content: 2.0.2) but no success.

Here is my log according to which I use beta9 however rc2 is installed.
[Virtuous Ten Studio] asdfasdfvful:
[MENTION=6123279]Seismo17[/MENTION] it says that activity_mobile_details is the issue. It's in layouts and quite a lot of it is missing a 'fontFamily'
[Virtuous Ten Studio] Seismo17:
Yeah, but why does recompiling not work, even though I didn't change anything?

I found only few discussions on the web about that exact fontfamily problem. The soulution should be to set the minsdkversion to at least 16.

But i can't find that in any file.

And in some posts about 'missing resource identifier', it says it has to do with xmlns namespaces and that I have to change them from res to lib. But I don't know how and where I have to change package names etc. in my case.
[Virtuous Ten Studio] :
Been trying to edit a couple of jar files. They recompile fine but I'm getting an error failed to sign, i know it's probably something stupid but I'd appreciate any help
[Virtuous Ten Studio] funkydude101:
Hey there,

I'm getting this error all of a sudden. Been using VTS for a couple months now....no matter what apk I throw at it, it doesn't seem to be working anymore...weird because I haven't changed anything (that I'm aware of)

It does seem to be referencing to a directory I do not have "d:\Entwicklung\"

11:15:44.595: [Error] - UnzipModule.ExecuteInternal: 'Unzipping file failed'
11:15:44.595: [Error] - UnzipModule.ExecuteInternal: 'D:\Downloads\*************.apk is not a valid zip file'
11:15:44.608: [Error] - UnzipModule.ExecuteInternal: ' at Ionic.Zip.ZipFile..ctor(String fileName)'
11:15:44.608: [Error] - UnzipModule.ExecuteInternal: ' at VTS.Logic.TenSolution.TenProject.ScriptSystem.Modules.Import.UnzipModule.ExecuteInternal(AsyncTask scriptTask) in d:\Entwicklung\Ten Studio\M10Editor\Logic\TenSolution\TenProject\ScriptSystem\Modules\Import\UnzipModule.cs:line 56'
11:15:44.608: [Error] - UnzipModule.ExecuteInternal: 'Inner Exception:'
11:15:44.608: [Error] - UnzipModule.ExecuteInternal: ' Unexpected datasize (0x0001) for Extended Timestamp extra field at position 0x00000000020AECA3'
11:15:44.608: [Error] - UnzipModule.ExecuteInternal: ' at Ionic.Zip.ZipEntry.ProcessExtraFieldUnixTimes(Byte[] Buffer, Int32 j, Int16 DataSize, Int64 posn)'
11:15:44.608: [Error] - UnzipModule.ExecuteInternal: ' at Ionic.Zip.ZipEntry.ProcessExtraField(Stream s, Int16 extraFieldLength)'
11:15:44.609: [Error] - UnzipModule.ExecuteInternal: ' at Ionic.Zip.ZipEntry.ReadDirEntry(ZipFile zf)'
11:15:44.609: [Error] - UnzipModule.ExecuteInternal: ' at Ionic.Zip.ZipFile.ReadCentralDirectory(ZipFile zf)'
11:15:44.609: [Error] - UnzipModule.ExecuteInternal: ' at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf)'
11:15:44.609: [Error] - UnzipModule.ExecuteInternal: ' at Ionic.Zip.ZipFile._InitInstance(String zipFileName, TextWriter statusMessageWriter)'
11:15:44.609: [Error] - UnzipModule.ExecuteInternal: ' at Ionic.Zip.ZipFile..ctor(String fileName)'
11:15:44.609: [Error] - Script.ExecuteScript: 'Executing test-project -> Unzip file failed!'
11:15:44.609: [Error] - Script.ExecuteScript: 'Failed module is essential, aborting script execution!'

Any thoughts?
[Virtuous Ten Studio] Diamondback:
Hm weird, looks like VTS rejects the apk because it thinks it's not a valid zip file... Can you provide me the apk please?

The reference you are mentioning is just the code path where it failed, it's debug information for me to easier find where exceptions are thrown, nothing to be worried about.
[Virtuous Ten Studio] funkydude101:
Hrm it seemed to have something to do with the TEST key I signed it with, or re-building it. I decompiled it, then recompiled it with apktool and all seemed to be well. Not sure what happened!
[Virtuous Ten Studio] Diamondback:
I suspect a "weird" zip file format, maybe something that I can solve with an updated zip file reader or so. Can you please give me such a failing apk so I can have a look?
[Virtuous Ten Studio] You_KS:
Hello everyone.

Noob question here. I'm no expert in development or coding but someone familiar with this I believe could fix a bug Spotify 0.5.4.73 presents on KitKat only. Old versions of the app do not load/show album art or any images within the app at all on Android 4.4+. This issue was fixed officially but I wish to keep this version of Spotify from late 2012 lol, if anyone could help me figure this out I'd be grateful.
[Virtuous Ten Studio] bobgeneric:
Hi devs!

I can't import a Remote File from my device (NEXUS 4 - lollipop, STOCK ROM, NO ROOT) anymore.

I just want make my navigation bar translucent.

[IMG="vts"]http://i62.tinypic.com/24xla9d.png[/IMG]
[Virtuous Ten Studio] Spannaa:
AFAIK the filesystem has changed for lollipop so the framework may not be in the same place.

Even if you could import it though, you probably wouldn't be able to decompile apks as apktool hasn't been updated for lollipop roms yet.
[Virtuous Ten Studio] pandza88:
You can decompile apks with apktool 2 if you are using java 8
[Virtuous Ten Studio] Spannaa:
apktool v2.0.0 RC2 & jdk1.8.0_20 doesn't work for me on Lollipop apks.

There is an apktool around that does though....
[Virtuous Ten Studio] bovirus:
Please use a more updated version of JDK 1.8 and apktool IBotpeaches apktool..ar.

Do you install the framework for lollipop device?

Pelase take care that there are a lot of apps compatible for Lollipo that works also oin less recent Android version.
[Virtuous Ten Studio] Kickoff:
https://plus.google.com/112346535434889804882/posts/fn4mESA7ZDy
[Virtuous Ten Studio] Dougi:
hey guys , i'm trying to setup framework and resources to virtuous ten studio to decompil apk's of Cm 12 LOLIPOP , i can't find resources into the compiled rom, how and resources do i setup ????????

thanks in advance
[Virtuous Ten Studio] Kickoff:
Apktool does not work with Android 5.0. We all are waiting for the new version.

If you want to change only the framework-res.apk u could try jBart.

But it cant cope with lge-res.apk.
[Virtuous Ten Studio] Dougi:
what do you mean " cope " and what's "jbart" ??

i know well htc devices but not LG

thanks for the help :)
[Virtuous Ten Studio] Kickoff:
jBart was unknown also to me, just follow the link, download and try. Cope = can decompile.
[Virtuous Ten Studio] fhem:
API 21 Support

[MENTION=2295247]Diamondback[/MENTION] First love your tool and thanks for the hard work. I am working with some Android 5.0/Lollipop roms/apk's and can't seem to figure out how to add API 21 support to your Studio. I am using the latest apktool_2.0.0rc3 and would like to couple that with API 21.

Thanks for the help.
[Virtuous Ten Studio] veer.killerboy:
Can anyone help me , how to do hex editing ? As building, compiling, dicompiling was successful, but however I have a glitches of medium font size, I research and found that I have to hex edit resources.arsc , So now I am confused that :

1. I have to compare new resources.arsc with old resources.arsc and make changes in old resources.arsc

2. Or I have to compare old resources.arsc with editied xmls and make change in that old resources.arsc

If I am missing something then pls tell me
[Virtuous Ten Studio] fhem:
EDIT:
[MENTION=2295247]Diamondback[/MENTION] - I have done a lot of reading and testing since my initial post above. I should have done that before making the post. Sorry for that. :o

I now realize my request is meaningless without at least having an updated apktool. In my attempt to deodex and mod a stock 5.0 rom, I have been able to extact the dex filees from the oat odex files - but nothing works from there :confused::crying::mad:. So.............I guess we are all on hold and hoping that iBotPeaches and JesusFreke can do their magic once again.

Once again thanks for VTS it is an awsome tool.
[Virtuous Ten Studio] Kickoff:
Apktool 2.0.0RC3 is already out.
[Virtuous Ten Studio] Golv:
It's an interesting for devs:

[GUIDE] [TOOL] Android L 5.0 (Lollipop) deodex tool for windows! Oat2dex convertor - http://xdaforums.com/android/software-hacking/guide-android-l-5-0-lollipop-deodex-t2967242
[Virtuous Ten Studio] asdfasdfvful:
Does anyone have a keystore version of the test keys? I've been trying to make it (or even convert my own keystore into pk8) but I'm having a hard time
[Virtuous Ten Studio] kasesang:
why i can't decompile this app

hello

why i can't decompile this non system app?

i test apk-manager & VTS & ...

please help me
[Virtuous Ten Studio] jeanxx:
Cant get VTS to work. Im on m8 Android 4.4.4....

15:10:16.562: [Debug] - ADBTool.Execute: 'ADB: 8122 KB/s (17728752 bytes in 2.131s)'

15:10:16.567: [Normal] - ApkTool.InstallFramework: 'Installing framework, tag: M8, file: framework-res.apk'

15:10:16.567: [Error] - ApkTool.GetNewestApkTool: 'Can't find any apktool binary!'

15:10:16.567: [Error] - ApkTool.InstallFramework: 'Can't find newest apktool'

15:14:56.946: [Debug] - ApkTool.SearchForFrameworkPath: 'Using ApkTool framework path: C:\Users\Jeanx\apktool\framework'

15:15:14.554: [Debug] - VTSIPC.HandleStartup: 'Receiving cmd args from IPC client:'

15:15:14.554: [Debug] - VTSIPC.HandleStartup: 'Arg: C:\Program Files (x86)\Virtuous Ten Studio\Virtuous Ten Studio.exe'

says it cant find apktool but I have all files in the right place. Im on android 4.4.4, what could I be doing wrong?
[Virtuous Ten Studio] timberwolf671:
XML Editor

It's been a year since I lasted used VTS. I can not find how to get xml file to open in the VTS Solution Explorer. It will only open with Windows file explorer. Search the VTS website and all the information is old.

Edit: Finally found the Open All Windows option.
[Virtuous Ten Studio] timberwolf671:
Need HELP

Delete proble solved
[Virtuous Ten Studio] Psycho_666:
i'm trying to use this program now, but whenever i start it up it crashes without any warning or whatever...

i've got the android sdk and java JRE installed as well.

any ideas on what i am missing here?

thanks :)
[Virtuous Ten Studio] Blackball:
hi,

i build my own theme with Virtuous Ten Studio, but when i add a Values Folder the theme didnt work .

assets/overlays/com.android.dialer/res/values/......xml

Without values everything is fine.

Any ideas what i did wrong ?
[Virtuous Ten Studio] gps3dx:
Recompile same classes.dex - no changes made

Hello,

Great application you've develop here.. ;)

I've got an intriguing question, which haunts me for a while:

Any time I take any APK I find, decompile it using VTS,

Don't

make any changes at all, recompile (aka buildAll) the apk -> I get a

DIFFRENT classes.dex

file in the newly created APK.

What should I do inside VTS so after performing decompile&recompile - i'll get the same classes.dex ?

what parameters should I config in VTS so it may give me that ability ?

Thanks
[Virtuous Ten Studio] Dunc001:
What project type are you selecting when you decompile? If you want to retain the original classes.dex you'd need to be selecting one of the project types that doesn't decompile it in the first place (the basic theming projects).
[Virtuous Ten Studio] Ballantines123:
Can someone help me.... why cant i install framework

it say's cant find apktool framework path.Try installing a framework file from settings to fix this.... i tried with adb and manualy..wont work, also tried different frameworks no luck :D
[Virtuous Ten Studio] gps3dx:
[MENTION=2480854]Dunc001[/MENTION] - thank for the reply.

I do want to decompile the classes.dex and to recompile it again but just with small changes here and there.

The question remains - which parameters should I use in order to de&recompile it, while the rest is of the classes.dex does not change, i.e almost equal the original with some changes here and there - so if I choose NOT to edit the classes.dex at all, after de&recomopile - i'll get the SAME 1:1 classes.dex ?
[Virtuous Ten Studio] Dunc001:
VTS will always recompile if one of the advanced project types is used. Only way original classes.dex is reused is if basic theming project used so it was never decompiled in the first place, otherwise VTS always compiles a new classes.dex regardless of whether any smali changes were made or not. If you don't make any changes at all the classes.dex should be the same after recompile (although not sure about the compiled size)
[Virtuous Ten Studio] Dougi:
hey guys, i'm having problems recompilings any settings.apk from AOSP Nexus 6 rom's. ( images 5.0.1 or 5.0.2 lolipop )

I can decompil but not recompil :crying: :mad:

I can decompil ans recompil framework.apk and any other apk nut not settings.apk, this is just driving me crazy , i know how to setup things with VTS, all is good as i can work on others apk's

any advice would be great ( screen attached )

thanks
[Virtuous Ten Studio] Dunc001:
Have you added a values folder? What is the error (there's a box over the top of it and the next line (caused by...) goes off the edge of the screen! Have you tried decompiling/recompiling without making any changes - does it still fail with the same error?