May be a dumb question but how do you install apktool framework? In the framework tag do you put device name? Do they have to be in the same folder? It isn't too clear on the tutorials... Thanks
Current Devices: Samsung Galaxy SIII (d2vzw), Samsung Galaxy Nexus (Toro)
From conversations with Diamondback on IRC yesterday here is my understanding of installing framework apks. First you need to Open Settings>apktool>frameworks. Then you need to decide on a tag for the framework set you are about to import (tags allow you to have multiple sets of frameworks installed for different ROMs at the same time) - I was working with frameworks from the PKMN ROM for One X so I settled on PKMN_OneX_1.0 for my tag. Add that in the 'tag' text field and then click on 'Add framework'. You then need to do this for each of your framework apks (I'm working on a Sense ROM so I needed to import framework-res, framework-htc-res, and com.htc.resources all under the same tag). Then once you've done that, still in the frameworks window you'll notice that there probably aren't any files showing in the list box. To get the freshly imported files to show up I then had to enter the filepath to the frameworks folder in the text box at the top of that window (so in my case C:\Documents and Settings\User\apktool\framework) and once entered in full the framework files now show up in the list.
Then when you create a new project, BEFORE you import the apk you need to right click on the project, select Properties, and then in the Import Tag dropdown select the tag you have just created. You can also change the apktool version/path just below that to try decompiling with different versions of apktool if you have any problems.
Hope that helped
HTC One
TrickDroid 5.5.1 Sense 5.0 with ElementalX Kernel
First HTC HD2
Back from the dead and running Nexus JB 1.3
So here is my question. Can references be searched across multiple apks?
For example, if looking through a sense app like Rosie, you find a reference to an image from framework or com.htc.resources, would this be able to point to it?
Does that make sense?
Sent from my ADR6425LVW
HTC Inc
Htc Rezound
32 GB Nexus 7
Bad Seed Customs sprinkles throughout Get Dropbox Here
So here is my question. Can references be searched across multiple apks?
For example, if looking through a sense app like Rosie, you find a reference to an image from framework or com.htc.resources, would this be able to point to it?
Does that make sense?
Sent from my ADR6425LVW
AFAIK yes if you have them all set up as projects under one solution. I haven't tested that, but I have been using the 'Find in Files' option to search for smali across an entire solution with around 8 seperate projects/decompiled apks and it works great!
HTC One
TrickDroid 5.5.1 Sense 5.0 with ElementalX Kernel
First HTC HD2
Back from the dead and running Nexus JB 1.3
So here is my question. Can references be searched across multiple apks?
For example, if looking through a sense app like Rosie, you find a reference to an image from framework or com.htc.resources, would this be able to point to it?
Does that make sense?
Sent from my ADR6425LVW
Quote:
Originally Posted by Dunc001
AFAIK yes if you have them all set up as projects under one solution. I haven't tested that, but I have been using the 'Find in Files' option to search for smali across an entire solution with around 8 seperate projects/decompiled apks and it works great!
No this is not possible yet, but planned for quite a while already. Also not too hard to implement.
AFAIK yes if you have them all set up as projects under one solution. I haven't tested that, but I have been using the 'Find in Files' option to search for smali across an entire solution with around 8 seperate projects/decompiled apks and it works great!
Really? That's exactly what I was referring to. Awesome
Edit. I just noticed I got ninja'd. So it is something that's in the works. Great to here.
Sent from my ADR6425LVW
HTC Inc
Htc Rezound
32 GB Nexus 7
Bad Seed Customs sprinkles throughout Get Dropbox Here
Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … 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?