[AT&T, Rogers HTC One X, Telstra One XL] -MightyMouse-:
ok so after searching I have found my problem.

when I install com.htc.resources.apk as framework in apktool I get this

~ $ apktool if com.htc.resources.apk

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

W: Invalid config flags detected: dimen-ja-mdpi-ERR14

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

W: Invalid config flags detected: dimen-ja-mdpi-ERR15

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

W: Invalid config flags detected: dimen-ko-mdpi-ERR24

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

W: Invalid config flags detected: dimen-ko-mdpi-ERR25

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

W: Invalid config flags detected: dimen-ko-mdpi-ERR26

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

W: Invalid config flags detected: dimen-ko-mdpi-ERR27

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR36

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

W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR37

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

W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR38

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

W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR39

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR48

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

W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR49

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

W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR50

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

W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR51

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

W: Invalid config flags detected: integer-mdpi-ERR60

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

W: Invalid config flags detected: integer-mdpi-ERR61

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

W: Invalid config flags detected: integer-mdpi-ERR62

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

W: Invalid config flags detected: integer-mdpi-ERR63

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

I: Framework installed to: /home/tyler/apktool/framework/2.apk

what this tells me is that there is an error when I install this as framework.

when I decompile the apk I get this

~ $ apktool d SystemUI.apk 2

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: /home/tyler/apktool/framework/1.apk

I: Loaded.

I: Regular manifest package...

I: Decoding file-resources...

I: Loading resource table from file: /home/tyler/apktool/framework/2.apk

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

W: Invalid config flags detected: dimen-ja-mdpi-ERR14

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

W: Invalid config flags detected: dimen-ja-mdpi-ERR15

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

W: Invalid config flags detected: dimen-ko-mdpi-ERR24

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

W: Invalid config flags detected: dimen-ko-mdpi-ERR25

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

W: Invalid config flags detected: dimen-ko-mdpi-ERR26

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

W: Invalid config flags detected: dimen-ko-mdpi-ERR27

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR36

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

W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR37

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

W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR38

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

W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR39

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR48

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

W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR49

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

W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR50

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

W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR51

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

W: Invalid config flags detected: integer-mdpi-ERR60

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

W: Invalid config flags detected: integer-mdpi-ERR61

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

W: Invalid config flags detected: integer-mdpi-ERR62

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

W: Invalid config flags detected: integer-mdpi-ERR63

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

I: Loaded.

I: Decoding values */* XMLs...

I: Done.

I: Copying assets and libs...

My only 2 questions at this time is what is going on and what can I do about it.

a few points are

I am runing linux mint as my os

I am using the latest version of apktool which is 1.52 I think.

and I am trying to decompile the SystemUI.apk so i can add the battery percent mod to the apk.

I have looked around xda and have found solutions, though none of them worked.