[Android Software Development] niteNarmor:
Thank you for this awesome tool. Been dipping my hand into theming lollipop and it proves to be a great deal of work. But it wouldn't be fun if it was easy!!!!

I have been able to decompile the Setttings.apk and installed the framework-res.apk, framework-res-htc.apk and com.htc.resources.apk. Everything decompiles just fine, no errors.

I make my edits and then try to recompile them. I even installed the Settings.apk which did help with errors (apktool if Settings.apk).

During recompiling, the program makes the build and dist folder. The build folder has a subfolder named apk. Inside the apk folder is res, AndroidManifest.xml, classes.dex, and resources.arsc.

Inside the dist folder lies Settings.apk. I am able to sign this new apk and even install it with no issues. No force closes or anything.

The issues I am encountering are:

1. The orginal .apk is 20.98mb and the "New" apk is only 9mb.

2. Of course there are errors that are thrown out. See below.

3. After install, nothing appeares to have modded.

4. The "New" resources folder is only a 1\3 the size.

Thank you for your time and effort in everything you do here.

Sorry for the long post but I wanted to make sure to include as much as I can.

E:\android\apktool>apktool b Settings Settings-new.apk

I: Using Apktool 2.0.0-RC4

I: Checking whether sources has changed...

I: Smaling smali folder into classes.dex...

I: Checking whether resources has changed...

I: Building resources...

E/ResourceType( 6920): DynamicRefTable(0x02): No mapping for build-time package

ID 0x02.

E/ResourceType( 6920): e[0x01] -> 0x01

E/ResourceType( 6920): e[0x7f] -> 0x7f

E/ResourceType( 6920): Failed resolving ResTable_map name at 1424 with ident 0x0

2020031

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

E/ResourceType( 6920): DynamicRefTable(0x02): No mapping for build-time package

ID 0x02.

E/ResourceType( 6920): e[0x01] -> 0x01

E/ResourceType( 6920): e[0x7f] -> 0x7f

E/ResourceType( 6920): Failed resolving ResTable_map name at 1592 with ident 0x0

2020030

E/ResourceType( 6920): DynamicRefTable(0x02): No mapping for build-time package

ID 0x02.

E/ResourceType( 6920): e[0x01] -> 0x01

E/ResourceType( 6920): e[0x7f] -> 0x7f

E/ResourceType( 6920): Failed resolving ResTable_map name at 1488 with ident 0x0

2020034

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010012 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010012 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010012 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010012 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

W/ResourceType( 6920): Attempt to retrieve bag 0x02010011 which is invalid or in

a cycle.

E/ResourceType( 6920): DynamicRefTable(0x02): No mapping for build-time package

ID 0x02.

E/ResourceType( 6920): e[0x01] -> 0x01

E/ResourceType( 6920): e[0x7f] -> 0x7f

E/ResourceType( 6920): Failed resolving ResTable_map name at 2556 with ident 0x0

2020027

warning: Package not found for resource #02010011

warning: Package not found for resource #02010011

warning: Package not found for resource #02010011

warning: Package not found for resource #02010011

warning: Package not found for resource #02010011

warning: Package not found for resource #02010014

warning: Package not found for resource #02010012

warning: Package not found for resource #02010011

warning: Package not found for resource #02010011

warning: Package not found for resource #02010011

warning: Package not found for resource #02010011

warning: Package not found for resource #02010011

warning: Package not found for resource #02010011

warning: Package not found for resource #02010011

warning: Package not found for resource #02010012

warning: Package not found for resource #02010012

warning: Package not found for resource #02010012

warning: Package not found for resource #02010012

warning: Package not found for resource #02010011

warning: Package not found for resource #02010011

warning: Package not found for resource #02010033

I: Building apk file...

E:\android\apktool>