[AT&T, Rogers HTC One X, Telstra One XL] Gandalf:
installed apktool to /usr/loca/bin like it says to,

tried running apktool d SystemUI.apk and Input file (SystemUI.apk) was not found or is not readable.

now, i didnt do ANYTHING after unpacking apktool to /usr/local/bin, i just put it there and ran that command.

I then did:

adb pull /system/app/SystemUI.apk /Users/jake/apktool

to bring SystemUI.apk onto my computer

tried running the command again, same error message, what'd i miss? I followed the instructions on the apktool page.

Also, I had a TON of errors when following the instructions for installed the com.htc.resources.apk as well, so i know the htc framework is not installed

EDIT: Might have just figured this mofo out, hold on

EDIT 2:

Ok, got framework-res.apk to work with:

apktool if framework-res.apk

I just used adb pull /system/framework/framework-res.apk to /usr/local/bin and ran the command. I used that folder because that is where i have the 3 files for apktool

that installs fine

my issue now is com.htc.resources.apk

if i use just apktool if com.htc.resources.apk i get this

Jacobs-MacBook-Pro:~ jake$ apktool if com.htc.resouces.apk

Exception in thread "main" brut.androlib.AndrolibException: java.util.zip.ZipException: error in opening zip file

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:404)

at brut.androlib.Androlib.installFramework(Androlib.java:365)

at brut.apktool.Main.cmdInstallFramework(Main.java:193)

at brut.apktool.Main.main(Main.java:69)

Caused by: java.util.zip.ZipException: error in opening zip file

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(ZipFile.java:127)

at java.util.zip.ZipFile.<init>(ZipFile.java:143)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:374)

... 3 more

If i add the filepath for the com.htc.resources.apk i pulled and placed in /usr/local/bin i get this

Jacobs-MacBook-Pro:~ jake$ apktool if /Users/jake/apktool/com.htc.resources.apk

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: dimen-hdpi-ERR0

W: Config flags size > 36. Exceeding bytes: 0x4000000.

W: Invalid config flags detected: dimen-hdpi-ERR1

W: Config flags size > 36. Exceeding bytes: 0x5000000.

W: Invalid config flags detected: dimen-hdpi-ERR2

W: Config flags size > 36. Exceeding bytes: 0x6000000.

W: Invalid config flags detected: dimen-hdpi-ERR3

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: dimen-xhdpi-ERR4

W: Config flags size > 36. Exceeding bytes: 0x4000000.

W: Invalid config flags detected: dimen-xhdpi-ERR5

W: Config flags size > 36. Exceeding bytes: 0x5000000.

W: Invalid config flags detected: dimen-xhdpi-ERR6

W: Config flags size > 36. Exceeding bytes: 0x6000000.

W: Invalid config flags detected: dimen-xhdpi-ERR7

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: dimen-ja-hdpi-ERR8

W: Config flags size > 36. Exceeding bytes: 0x4000000.

W: Invalid config flags detected: dimen-ja-hdpi-ERR9

W: Config flags size > 36. Exceeding bytes: 0x5000000.

W: Invalid config flags detected: dimen-ja-hdpi-ERR10

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: dimen-ja-xhdpi-ERR11

W: Config flags size > 36. Exceeding bytes: 0x4000000.

W: Invalid config flags detected: dimen-ja-xhdpi-ERR12

W: Config flags size > 36. Exceeding bytes: 0x5000000.

W: Invalid config flags detected: dimen-ja-xhdpi-ERR13

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: dimen-ko-hdpi-ERR14

W: Config flags size > 36. Exceeding bytes: 0x4000000.

W: Invalid config flags detected: dimen-ko-hdpi-ERR15

W: Config flags size > 36. Exceeding bytes: 0x5000000.

W: Invalid config flags detected: dimen-ko-hdpi-ERR16

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: dimen-ko-xhdpi-ERR17

W: Config flags size > 36. Exceeding bytes: 0x4000000.

W: Invalid config flags detected: dimen-ko-xhdpi-ERR18

W: Config flags size > 36. Exceeding bytes: 0x5000000.

W: Invalid config flags detected: dimen-ko-xhdpi-ERR19

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR20

W: Config flags size > 36. Exceeding bytes: 0x4000000.

W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR21

W: Config flags size > 36. Exceeding bytes: 0x5000000.

W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR22

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR23

W: Config flags size > 36. Exceeding bytes: 0x4000000.

W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR24

W: Config flags size > 36. Exceeding bytes: 0x5000000.

W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR25

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR26

W: Config flags size > 36. Exceeding bytes: 0x4000000.

W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR27

W: Config flags size > 36. Exceeding bytes: 0x5000000.

W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR28

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR29

W: Config flags size > 36. Exceeding bytes: 0x4000000.

W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR30

W: Config flags size > 36. Exceeding bytes: 0x5000000.

W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR31

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: integer-hdpi-ERR32

W: Config flags size > 36. Exceeding bytes: 0x4000000.

W: Invalid config flags detected: integer-hdpi-ERR33

W: Config flags size > 36. Exceeding bytes: 0x5000000.

W: Invalid config flags detected: integer-hdpi-ERR34

W: Config flags size > 36. Exceeding bytes: 0x6000000.

W: Invalid config flags detected: integer-hdpi-ERR35

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: integer-xhdpi-ERR36

W: Config flags size > 36. Exceeding bytes: 0x4000000.

W: Invalid config flags detected: integer-xhdpi-ERR37

W: Config flags size > 36. Exceeding bytes: 0x5000000.

W: Invalid config flags detected: integer-xhdpi-ERR38

W: Config flags size > 36. Exceeding bytes: 0x6000000.

W: Invalid config flags detected: integer-xhdpi-ERR39

I: Framework installed to: /Users/jake/apktool/framework/2.apk