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...
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).
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.
The Following 10 Users Say Thank You to Diamondback For This Useful Post: [ Click to Expand ]
alkhafaf (12th February 2013), coal686 (11th February 2013), il Duce (13th February 2013), knalto (11th February 2013), NadMaj (12th February 2013), PerfectSlayer (11th February 2013), saugbaer (12th February 2013), spida_singh (13th February 2013), torxx (11th February 2013), zylor (12th February 2013)
Tried again (in 3 different computers) and didn't work, What am I doing wrong? Log attached.
Quote:
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.
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.
Hell Diamondback
Awesome updates, thank you very much..
I was trying the deodexing tool. It is very good and easy to use, but I got 4 files failed to deodex:
anroid.policy.jar
ext.jar
framework.jar
services.jar
I am on i9000 with GB ROM 2.3.6 ( API level = 10), using 4 thread with core i5.
XDA Developer TV Producer Kevin wants to help make your … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?