Search This thread

ruvort

Senior Member
Aug 4, 2010
1,543
405
I love this tool and it makes editing apks much much easier. I am having an issue though with editing the systemUI.apk of my Motorola Xoom (ICS). The decompile and compile seem to run fine, but the output file is much smaller than the original and when pushed to the Xoom the systemUI no longer functions. Does anyone have any ideas of what I may be doing wrong? I have tested this without making any changes to the file before compiling it as well and have the same results.
 

Diamondback

Retired Dev Committee Lead / Retired Senior Mod
Jan 17, 2010
4,476
6,631
virtuous-ten-studio.com
I love this tool and it makes editing apks much much easier. I am having an issue though with editing the systemUI.apk of my Motorola Xoom (ICS). The decompile and compile seem to run fine, but the output file is much smaller than the original and when pushed to the Xoom the systemUI no longer functions. Does anyone have any ideas of what I may be doing wrong? I have tested this without making any changes to the file before compiling it as well and have the same results.

The file size usually doesn't matter. Apks are just zip files and zip files might have different compression settings.

However, to tell you what's going wrong on your tablet, you'd need to provide a proper logcat. Without I can only guess:
  • You didn't sign the apk (VTS can do that for you)
  • You signed it in a wrong way
  • You don't have a patched services.jar and therefore the signed apk does not match the system.uid and fails to load
 

ruvort

Senior Member
Aug 4, 2010
1,543
405
The file size usually doesn't matter. Apks are just zip files and zip files might have different compression settings.

However, to tell you what's going wrong on your tablet, you'd need to provide a proper logcat. Without I can only guess:
  • You didn't sign the apk (VTS can do that for you)
  • You signed it in a wrong way
  • You don't have a patched services.jar and therefore the signed apk does not match the system.uid and fails to load

I have the option selected for signing the apk. Why would there be a need for a patched services.jar? I have edited systemUI for other devices as well as the Xoom before and never edited the services.jar that I can remember. I feel like a real "noob" right now but I have been editing apps for some time with no issues. Lol. I do really appreciate your help with this btw.

I checked the logcat btw and it says:

Package com.android.systemui signatures do not match the previously installed version; ignoring!

System package com.android.systemui no longer exists; wiping its data

Starting service: Intent {cmp=com.android.systemui/.SystemUIService}

Unable to start service Intent {cmp=com.android.systemui/.SystemUIService}: not found

The changes I am making are just the ones to make the "web-os" like recent apps bar.
 

shrome99

Senior Member
May 11, 2011
3,528
1,524
Chandigarh
Nice work on VTS Diamondback, still remember you from the Virtuous Unity days :) Small question, are you still working on M10 tools for Sense 4? The last post with something about that was a month ago, I hope the project wasn't trashed.... Apparently, only the HTC WVGA Devices need resizing ATM (for full Sense 4 apks), all other devices have a same res device to port from :(
 

Diamondback

Retired Dev Committee Lead / Retired Senior Mod
Jan 17, 2010
4,476
6,631
virtuous-ten-studio.com
Nice work on VTS Diamondback, still remember you from the Virtuous Unity days :) Small question, are you still working on M10 tools for Sense 4? The last post with something about that was a month ago, I hope the project wasn't trashed.... Apparently, only the HTC WVGA Devices need resizing ATM (for full Sense 4 apks), all other devices have a same res device to port from :(

The m10 resizing stuff will come to VTS soon, we are still testing to make sure everything runs fine :)
Images in m10 are another story though...:crying:
 

shrome99

Senior Member
May 11, 2011
3,528
1,524
Chandigarh
So, what will work without images? Would we be able to resize Rosie and the Recent Apps interface? It's really crappy that HTC encrypts their software like this, it's not like we're selling our custom ROMs in the market......
 

Diamondback

Retired Dev Committee Lead / Retired Senior Mod
Jan 17, 2010
4,476
6,631
virtuous-ten-studio.com
Yea, that's no problem :) You just can't theme anything (change the lockring image for example)

So, what will work without images? Would we be able to resize Rosie and the Recent Apps interface? It's really crappy that HTC encrypts their software like this, it's not like we're selling our custom ROMs in the market......
 

ruvort

Senior Member
Aug 4, 2010
1,543
405
Any ideas sir?

Sent from my HTC Rezound via Tapatalk
j8t1uvaAWRgTE.png

MyColorScreen
 

bobgeneric

Senior Member
Feb 24, 2012
639
84
Hi devs!!!
I need a little help with this error log:
Code:
17:43:31.757: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Baksmaling...'
17:43:31.757: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loading resource table...'
17:43:31.758: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loaded.'
17:43:31.758: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loading resource table from file: C:\Users\Herbert\apktool\framework\1.apk'
17:43:31.758: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loaded.'
17:43:31.758: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=hardwareAccelerated, value=0xffffffff'
17:43:31.758: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=largeHeap, value=0xffffffff'
17:43:31.759: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Decoding file-resources...'
17:43:31.759: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=fastScrollAlwaysVisible, value=0xffffffff'
17:43:31.759: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=showAsAction, value=0x00000000'
17:43:31.759: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=showAsAction, value=0x00000000'
17:43:31.759: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=showAsAction, value=0x00000000'
17:43:31.759: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=showAsAction, value=0x00000000'
17:43:31.760: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=showAsAction, value=0x00000000'
17:43:31.760: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x010e0001'
17:43:31.760: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Decoding values*/* XMLs...'
17:43:31.760: [Error] - ApkTool.DecompileApk: 'ApkTool: Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x0101038c'
17:43:31.760: [Error] - ApkTool.DecompileApk: 'ApkTool: 	at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)'
17:43:31.761: [Error] - ApkTool.DecompileApk: 'ApkTool: 	at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)'
17:43:31.761: [Error] - ApkTool.DecompileApk: 'ApkTool: 	at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)'
17:43:31.761: [Error] - ApkTool.DecompileApk: 'ApkTool: 	at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)'
17:43:31.761: [Error] - ApkTool.DecompileApk: 'ApkTool: 	at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:51)'
17:43:31.761: [Error] - ApkTool.DecompileApk: 'ApkTool: 	at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:264)'
17:43:31.762: [Error] - ApkTool.DecompileApk: 'ApkTool: 	at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)'
17:43:31.762: [Error] - ApkTool.DecompileApk: 'ApkTool: 	at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)'
17:43:31.762: [Error] - ApkTool.DecompileApk: 'ApkTool: 	at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)'
17:43:31.762: [Error] - ApkTool.DecompileApk: 'ApkTool: 	at brut.apktool.Main.cmdDecode(Main.java:128)'
17:43:31.762: [Error] - ApkTool.DecompileApk: 'ApkTool: 	at brut.apktool.Main.main(Main.java:65)'
17:43:31.762: [Debug] - ApkTool.DecompileApk: 'ApkTool failed, see log for further details'
17:43:31.762: [Debug] - ApkTool.DecompileApk: 'Exitcode: 1'
17:43:31.763: [Error] - <>c__DisplayClass6.<ImportFilesAsync>b__5: 'Decompiling apk failed!'
17:43:31.984: [Debug] - TenProjectViewModel.LoadBackups: 'Found 13 backups for project 'Editing_apks_icons''
17:43:32.017: [Warning] - ApkProjectViewModel.AnalyzeAdditionalData: 'Can't find public.xml, path: C:\Users\...\Documents\Virtuous Ten Studio\Projects\Icons_apk\Editing_apks_icons\Data\res\values\public.xml'

This report everytime i try to import a APK from system. For instace: Browser.apk
 

Dic3ptor

Senior Member
Mar 24, 2010
3,060
1,203
www.google.de
Hi all

Great tool! Is there a tut how to use it? Always when i create a apk project "With Fusion akp from HTC" in exampel i have only empty folders. No res folder or something like.
 

Dunc001

Inactive Recognized Developer
Apr 6, 2010
2,705
1,462
Hiding out south of the border...
Great tool! Is there a tut how to use it? Always when i create a apk project "With Fusion akp from HTC" in exampel i have only empty folders. No res folder or something like.

Tutorials are being written at present but for starters you can check out a few DiamondBack has already written HERE

Several things you need to do to setup including importing all your relevant framework files, selecting the correct framework tag and version of apktool in your new project, etc. Feel free to PM me and I can go on Chat to talk you through.
 

Dic3ptor

Senior Member
Mar 24, 2010
3,060
1,203
www.google.de
Tutorials are being written at present but for starters you can check out a few DiamondBack has already written HERE

Several things you need to do to setup including importing all your relevant framework files, selecting the correct framework tag and version of apktool in your new project, etc. Feel free to PM me and I can go on Chat to talk you through.

Thank you i will have a look on it. Should i have problems i will write to you! Is it possible to decompile default M10 files from HTC now like the navbar?
 

Dunc001

Inactive Recognized Developer
Apr 6, 2010
2,705
1,462
Hiding out south of the border...
Thank you i will have a look on it. Should i have problems i will write to you! Is it possible to decompile default M10 files from HTC now like the navbar?

No, m10 support for files coming soon I believe, but still not for m10 images. DiamondBack had another thread open asking for dev help with that
 

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.