Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[IDE][3.6.30.14100] Virtuous Ten Studio - Advanced Reverse Engineering Solution

OP Diamondback

Announcement from Diamondback: VTS has its own support area now. Check it out: http://forum.xda-developers.com/apps/virtuous-ten-studio
22nd January 2013, 10:58 AM   |  #1091  
Diamondback's Avatar
OP Developer Committee / Senior Moderator / Recognized Developer
Thanks Meter: 6,452
 
4,479 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by mootenator23

I have the new droid DNA and recently downloaded the holo light skin for my phone I tried to apply it as normal but it doesn't even show up in any skins can you please please help me I really like this skin and want to use it

These skins are for the HTC One X or One S. Not for the DNA...
And this is clearly the wrong topic.
The Following User Says Thank You to Diamondback For This Useful Post: [ View ]
22nd January 2013, 01:15 PM   |  #1092  
charlescaz's Avatar
Senior Member
Thanks Meter: 211
 
239 posts
Join Date:Joined: Dec 2010
More
Just been looking at the new sense 5 screenshots . After using VTS and seeing what everyone else is developing in the M10 thread i must admit im a bit dissapointed . Maybe HTC should start using VTS as I've seen some themers create some amazing things for our devices .which to me put the "new" sense 5 to shame . Diamondback and team you guys rock , awesome product .
The Following 3 Users Say Thank You to charlescaz For This Useful Post: [ View ]
24th January 2013, 03:47 PM   |  #1093  
alper.s's Avatar
Senior Member
Flag Ankara (TR) - Stuttgart (GER)
Thanks Meter: 1,126
 
681 posts
Join Date:Joined: Apr 2010
Donate to Me
More
I need some help.
After update 2.1.19.7700 i have following error


11:36:30.280: [Normal] - <BuildProject>d__16.MoveNext: 'Building project: S45-Steel'
11:36:31.351: [Debug] - <>c__DisplayClass8.<BuildApkAsync>b__7: 'S45-Steel: Compiling changed M10 pictures'
11:36:31.554: [Debug] - <>c__DisplayClass8.<BuildApkAsync>b__7: 'S45-Steel: Copying 'C:\Users\hp6\Documents\Virtuous Ten Studio\Projects\SXP\S45-Steel\Data' to 'C:\Users\hp6\AppData\Local\Temp\BC0159''
11:36:32.950: [Debug] - M10Transformer.Encode: 'M10 encode: 203ms'
11:36:33.111: [Debug] - M10Transformer.Encode: 'M10 encode: 59ms'
11:36:33.114: [Debug] - <>c__DisplayClass8.<BuildApkAsync>b__7: 'Optimizing pngs'
11:36:33.123: [Normal] - OptiPngTool.OptimizePngs: 'Optimizing 919 png files.'
11:36:33.123: [Debug] - OptiPngTool.OptimizePngs: 'OptiPng run #1'
11:36:33.131: [Debug] - OptiPngTool.OptimizePngs: 'OptiPng arg length: 30042'
11:36:42.367: [Debug] - OptiPngTool.OptimizePngs: 'OptiPng run #2'
11:36:42.382: [Debug] - OptiPngTool.OptimizePngs: 'OptiPng arg length: 30086'
11:36:47.850: [Debug] - OptiPngTool.OptimizePngs: 'OptiPng run #3'
11:36:47.853: [Debug] - OptiPngTool.OptimizePngs: 'OptiPng arg length: 24536'
11:36:53.876: [Debug] - OptiPngTool.OptimizePngs: 'Successfully optimized png files.'
11:36:53.876: [Normal] - ApkTool.CompileApk: 'Compiling apk'
11:36:53.877: [Debug] - FileSystem.GetJavaInstallationPath: 'Found java path: C:\Program Files (x86)\Java\jre7\bin\java.exe'
11:36:53.877: [Debug] - ApkTool.CompileApk: 'ApkTool args: -jar "C:\Program Files (x86)\Virtuous Ten Studio\External\ApkTool\apktool_1.5.0.jar" b -a "C:\Program Files (x86)\Virtuous Ten Studio\External\ApkTool\aapt.exe" "C:\Users\hp6\AppData\Local\Temp\BC0159" "C:\Users\hp6\Documents\Virtuous Ten Studio\Projects\SXP\S45-Steel\Binary\S45-Steel-1.apk"'
11:36:53.968: [Error] - ApkTool.CompileApk: 'ApkTool: Apktool v1.5.0.5a056e3 - a tool for reengineering Android apk files'
11:36:53.968: [Error] - ApkTool.CompileApk: 'ApkTool: Copyright 2010 Ryszard Wi?niewski <brut.alll@gmail.com>'
11:36:53.970: [Error] - ApkTool.CompileApk: 'ApkTool: with smali v1.3.4-ibot8, and baksmali v1.3.4-ibot8'
11:36:53.970: [Error] - ApkTool.CompileApk: 'ApkTool: Updated by iBotPeaches <connor.tumbleson@gmail.com> '
11:36:53.970: [Error] - ApkTool.CompileApk: 'ApkTool: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
11:36:53.970: [Error] - ApkTool.CompileApk: 'ApkTool: Usage: apktool [-q|--quiet OR -v|--verbose] COMMAND [...]'
11:36:53.970: [Error] - ApkTool.CompileApk: 'ApkTool: COMMANDs are:'
11:36:53.984: [Error] - ApkTool.CompileApk: 'ApkTool: d[ecode] [OPTS] <file.apk> [<dir>]'
11:36:53.985: [Error] - ApkTool.CompileApk: 'ApkTool: Decode <file.apk> to <dir>.'
11:36:53.985: [Error] - ApkTool.CompileApk: 'ApkTool: OPTS:'
11:36:53.990: [Error] - ApkTool.CompileApk: 'ApkTool: -s, --no-src'
11:36:53.991: [Error] - ApkTool.CompileApk: 'ApkTool: Do not decode sources.'
11:36:53.993: [Error] - ApkTool.CompileApk: 'ApkTool: -r, --no-res'
11:36:53.995: [Error] - ApkTool.CompileApk: 'ApkTool: Do not decode resources.'
11:36:53.997: [Error] - ApkTool.CompileApk: 'ApkTool: -d, --debug'
11:36:53.997: [Error] - ApkTool.CompileApk: 'ApkTool: Decode in debug mode. Check project page for more info.'
11:36:54.000: [Error] - ApkTool.CompileApk: 'ApkTool: -f, --force'
11:36:54.002: [Error] - ApkTool.CompileApk: 'ApkTool: Force delete destination directory.'
11:36:54.004: [Error] - ApkTool.CompileApk: 'ApkTool: -t <tag>, --frame-tag <tag>'
11:36:54.005: [Error] - ApkTool.CompileApk: 'ApkTool: Try to use framework files tagged by <tag>.'
11:36:54.007: [Error] - ApkTool.CompileApk: 'ApkTool: --keep-broken-res'
11:36:54.009: [Error] - ApkTool.CompileApk: 'ApkTool: Use if there was an error and some resources were dropped, e.g.:'
11:36:54.011: [Error] - ApkTool.CompileApk: 'ApkTool: "Invalid config flags detected. Dropping resources", but you'
11:36:54.011: [Error] - ApkTool.CompileApk: 'ApkTool: want to decode them anyway, even with errors. You will have to'
11:36:54.011: [Error] - ApkTool.CompileApk: 'ApkTool: fix them manually before building.'
11:36:54.011: [Error] - ApkTool.CompileApk: 'ApkTool: b[uild] [OPTS] [<app_path>] [<out_file>]'
11:36:54.011: [Error] - ApkTool.CompileApk: 'ApkTool: Build an apk from already decoded application located in <app_path>.'
11:36:54.012: [Error] - ApkTool.CompileApk: 'ApkTool: It will automatically detect, whether files was changed and perform'
11:36:54.012: [Error] - ApkTool.CompileApk: 'ApkTool: needed steps only.'
11:36:54.012: [Error] - ApkTool.CompileApk: 'ApkTool: If you omit <app_path> then current directory will be used.'
11:36:54.012: [Error] - ApkTool.CompileApk: 'ApkTool: If you omit <out_file> then <app_path>/dist/<name_of_original.apk>'
11:36:54.012: [Error] - ApkTool.CompileApk: 'ApkTool: will be used.'
11:36:54.012: [Error] - ApkTool.CompileApk: 'ApkTool: OPTS:'
11:36:54.013: [Error] - ApkTool.CompileApk: 'ApkTool: -f, --force-all'
11:36:54.013: [Error] - ApkTool.CompileApk: 'ApkTool: Skip changes detection and build all files.'
11:36:54.013: [Error] - ApkTool.CompileApk: 'ApkTool: -d, --debug'
11:36:54.013: [Error] - ApkTool.CompileApk: 'ApkTool: Build in debug mode. Check project page for more info.'
11:36:54.013: [Error] - ApkTool.CompileApk: 'ApkTool: if|install-framework <framework.apk> [<tag>]'
11:36:54.013: [Error] - ApkTool.CompileApk: 'ApkTool: Install framework file to your system.'
11:36:54.013: [Error] - ApkTool.CompileApk: 'ApkTool: For additional info, see: https://github.com/iBotPeaches/brut.apktool'
11:36:54.014: [Error] - ApkTool.CompileApk: 'ApkTool: For smali/baksmali info, see: http://code.google.com/p/smali/'
11:36:54.038: [Debug] - ApkTool.CompileApk: 'ApkTool failed, see log for further details'
11:36:54.038: [Debug] - ApkTool.CompileApk: 'Exitcode: 1'
11:36:54.041: [Error] - <>c__DisplayClass8.<BuildApkAsync>b__7: 'S45-Steel: Compiling resource files failed!'
24th January 2013, 04:16 PM   |  #1094  
Bebida's Avatar
Recognized Themer
Thanks Meter: 6,191
 
2,682 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.1.19.7
Untick use dedicated aapt in projects settings in the Apk part

Sent from my HTC One X using Tapatalk 2
The Following 4 Users Say Thank You to Bebida For This Useful Post: [ View ]
24th January 2013, 05:21 PM   |  #1095  
alper.s's Avatar
Senior Member
Flag Ankara (TR) - Stuttgart (GER)
Thanks Meter: 1,126
 
681 posts
Join Date:Joined: Apr 2010
Donate to Me
More
Quote:
Originally Posted by Bebida

Untick use dedicated aapt in projects settings in the Apk part

Sent from my HTC One X using Tapatalk 2

thank you mate
The Following User Says Thank You to alper.s For This Useful Post: [ View ]
24th January 2013, 11:01 PM   |  #1096  
ikjadoon's Avatar
Senior Member
Flag Richmond, KY
Thanks Meter: 314
 
704 posts
Join Date:Joined: Jul 2012
More
Some cutoff issues
Hello! Just found this AMAZING app.

One little thing: some text is cut off in the file menu (see attached screenshot). I don't think this happened with whatever build was available on 1/19 (I had that one, but I wanted to screenshot the installation process for a guide I'm making, so I uninstalled the 1/19 one and installed today and had some trouble finding the Settings again, haha!). BUT, I might be wrong and it's always been like this.

I'm on a 1920x1080 screen, DPI set to 110% (custom). That DPI might be the issue?
Attached Thumbnails
Click image for larger version

Name:	cutofftext.jpg
Views:	187
Size:	8.2 KB
ID:	1673549  
25th January 2013, 12:53 AM   |  #1097  
ikjadoon's Avatar
Senior Member
Flag Richmond, KY
Thanks Meter: 314
 
704 posts
Join Date:Joined: Jul 2012
More
Also, maybe a noob mistake I'm making, but where is ADB pull putting files? I checked \External, nothing. I checked desktop, nothing. I searched for boobs.apk, nothing.

Code:
C:\Program Files (x86)\Virtuous Ten Studio\External\ADB>adb pull /system/framewo
rk/framework-res.apk framework-res.apk
4114 KB/s (30188437 bytes in 7.164s)

C:\Program Files (x86)\Virtuous Ten Studio\External\ADB>adb pull /system/framewo
rk/framework-res.apk /desktop
4556 KB/s (30188437 bytes in 6.470s)

C:\Program Files (x86)\Virtuous Ten Studio\External\ADB>adb pull /system/framewo
rk/framework-res.apk boobs.apk
3320 KB/s (30188437 bytes in 8.878s)

C:\Program Files (x86)\Virtuous Ten Studio\External\ADB>
EDIT: Couldn't find it. Just used "remote" and it worked! I think...see issue below, haha:
---

I had a little trouble today:

1) I pushed a modded SystemUI.apk via VTS and my phone in recovery (this easy mod: http://forum.xda-developers.com/show...8&postcount=18)
2) Said it pushed successfully, but I'm not sure it did (mod didn't work and SystemUI.apk in phone was original, not new)
3) So, then I pushed SystemUI.apk via ADB and my phone on. Restarted to a missing notification bar. No idea what happened, so I fixed permissions in recovery (to 0644) of SystemUI.apk.
4) Phone entered bootloop -> nandroid back before mod attempt.

It's probably something I've done, but I had two quick questions: 1) Does VTS fix permissions of files before pushing them? and 2) Does VTS remount /system when pushing files to it? Err...3) Does anyone know what I did wrong?

1) Created new project. Uploaded framework-res.apk and SystemUI.apk through "Remote". Used "Keep old signature" because it's a system app and changed smali API to 4.1 (I'm on 4.1.1)
2) Found XML file, edited file via copy/paste, saved it.
3) Hit build, no errors.
4) And attempted to push, starting with step 1 above.

--

Tried again; unable to push with VTS nor ADB! Any reason why? I can pull files fine. I'm using a stock 4.1.1, rooted, stock kernel (using adbd insecure). I specifically remount using adb before hitting "push," but even then after 15 minutes of waiting, still "pushing...."
Last edited by ikjadoon; 25th January 2013 at 05:07 AM.
25th January 2013, 05:59 PM   |  #1098  
torxx's Avatar
Senior Member
Thanks Meter: 21,650
 
8,033 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by Bebida

Untick use dedicated aapt in projects settings in the Apk part

Sent from my HTC One X using Tapatalk 2

Diamondback, imho you should disable it from the beginning in the next version
Happens on nearly every apk when having it enabled..
25th January 2013, 06:17 PM   |  #1099  
Diamondback's Avatar
OP Developer Committee / Senior Moderator / Recognized Developer
Thanks Meter: 6,452
 
4,479 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by ikjadoon

Hello! Just found this AMAZING app.

One little thing: some text is cut off in the file menu (see attached screenshot). I don't think this happened with whatever build was available on 1/19 (I had that one, but I wanted to screenshot the installation process for a guide I'm making, so I uninstalled the 1/19 one and installed today and had some trouble finding the Settings again, haha!). BUT, I might be wrong and it's always been like this.

I'm on a 1920x1080 screen, DPI set to 110% (custom). That DPI might be the issue?

Yes you are right, your custom DPI is the problem. In fact it's very hard to make an app fully compatible with different DPI settings.
Even Microsoft's own apps usually don't work too well with higher DPIs.
So unless there aren't any major bugs caused by this (cut off text is not so major for me in this case ) I probably won't try to fix it. Sorry



Quote:
Originally Posted by ikjadoon

Also, maybe a noob mistake I'm making, but where is ADB pull putting files? I checked \External, nothing. I checked desktop, nothing. I searched for boobs.apk, nothing.

Code:
C:\Program Files (x86)\Virtuous Ten Studio\External\ADB>adb pull /system/framewo
rk/framework-res.apk framework-res.apk
4114 KB/s (30188437 bytes in 7.164s)

C:\Program Files (x86)\Virtuous Ten Studio\External\ADB>adb pull /system/framewo
rk/framework-res.apk /desktop
4556 KB/s (30188437 bytes in 6.470s)

C:\Program Files (x86)\Virtuous Ten Studio\External\ADB>adb pull /system/framewo
rk/framework-res.apk boobs.apk
3320 KB/s (30188437 bytes in 8.878s)

C:\Program Files (x86)\Virtuous Ten Studio\External\ADB>
EDIT: Couldn't find it. Just used "remote" and it worked! I think...see issue below, haha:
---

I had a little trouble today:

1) I pushed a modded SystemUI.apk via VTS and my phone in recovery (this easy mod: http://forum.xda-developers.com/show...8&postcount=18)
2) Said it pushed successfully, but I'm not sure it did (mod didn't work and SystemUI.apk in phone was original, not new)
3) So, then I pushed SystemUI.apk via ADB and my phone on. Restarted to a missing notification bar. No idea what happened, so I fixed permissions in recovery (to 0644) of SystemUI.apk.
4) Phone entered bootloop -> nandroid back before mod attempt.

It's probably something I've done, but I had two quick questions: 1) Does VTS fix permissions of files before pushing them? and 2) Does VTS remount /system when pushing files to it? Err...3) Does anyone know what I did wrong?

1) Created new project. Uploaded framework-res.apk and SystemUI.apk through "Remote". Used "Keep old signature" because it's a system app and changed smali API to 4.1 (I'm on 4.1.1)
2) Found XML file, edited file via copy/paste, saved it.
3) Hit build, no errors.
4) And attempted to push, starting with step 1 above.

--

Tried again; unable to push with VTS nor ADB! Any reason why? I can pull files fine. I'm using a stock 4.1.1, rooted, stock kernel (using adbd insecure). I specifically remount using adb before hitting "push," but even then after 15 minutes of waiting, still "pushing...."

  • When doing adb pull it should probably place the files in the folder where the adb.exe is.
  • No, VTS won't change any permissions when pushing a file. I am not aware that this is needed btw. Never had any problems so far related to premissions.
  • Yes, VTS calls adb remount prior to pushing. You can actually see this in the debug log.
  • Yes, I partly know what's happening. Your problem is a broken signature.
    You selected to use the old signature but then edited a file which is protected by this signature.
    Therefore Android refuses to load your apk. The half solution would be to sign the apk with a proper signature (ie. use the test signature option in VTS).
    However, this will lead to another error. Android will still refuse to load your apk, because its signature is mismatched.
    All system apps have to be signed with the same key in order to get loaded by the package manager. Otherwise they will be rejected.
    To circumvent this you need to patch services.jar to ignore the mismatched signature.
    There are a few tutorials around on how to do that.



Quote:
Originally Posted by torxx

Diamondback, imho you should disable it from the beginning in the next version
Happens on nearly every apk when having it enabled..

Actually people should rather use a newer apktool version with support for that feature.
But I see this is a common problem and I am currently thinking about a few things to solve problems like this.
The Following 2 Users Say Thank You to Diamondback For This Useful Post: [ View ]
25th January 2013, 06:29 PM   |  #1100  
mwilky's Avatar
Recognized Developer
Flag Manchester
Thanks Meter: 6,797
 
4,754 posts
Join Date:Joined: Feb 2011
Donate to Me
More
Hey mate, today out of nowhere VTS just wouldnt open.

I'm on windows 8 and ive tried uninstalling, reinstalling, everything.

The error message quickly flashes but i managed to get a print screen.

It worked perfectly around an hour ago then suddenly wouldnt open.


Post Reply Subscribe to Thread

Tags
adb, all in one, apk, apk manager, apk multi tool, apktool, dex2jar, draw9patch, dsixda, ide, java, logcat, m10 files, m10 images, m10 tools, resources, sense, sense skins, smali, super powerful, syntax highlighting, theming, visual studio, vts, xml
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes