[One (M7) Themes and Apps] Skizzy034:
Does the Prism.apk need to be signed again after editing and re-compiling?

EDIT: I've been following your guide exactly as written but I still get HTC Sense fc's once I flash the mod. I noticed in the guide that it says to delete those lines from launcher$20.smali and launcher$24.smali but those lines aren't there when I search. They're only there in launcher.smali and workspace.smali.

This is what happens when I add the com.htc.resources.apk in apktool in order to decompile Prism.apk. framework-res and framework-htc-res both are fine when added.

c:\apktool151>java -jar apktool.jar if 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-xxhdpi-ERR8

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

I: Framework installed to: C:\Users\Scott\apktool\framework\2.apk

This is what I get when I decompile Prism.apk:

c:\apktool151>java -jar apktool.jar d Prism.apk

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\Scott\apktool\framework\1.apk

I: Loaded.

I: Regular manifest package...

I: Decoding file-resources...

I: Loading resource table from file: C:\Users\Scott\apktool\framework\2.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-xxhdpi-ERR8

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

I: Loaded.

I: Decoding values */* XMLs...

I: Done.

I: Copying assets and libs...

And this is what I get when I recompile:

c:\apktool151>java -jar apktool.jar b Prism

I: Checking whether sources has changed...

I: Smaling...

I: Checking whether resources has changed...

I: Building resources...

aapt: warning: string 'apps_customize_apps_scroll_format' has no default transla

tion in c:\apktool151\Prism\res; found: af am be ca hi ms sw tl zu

aapt: warning: string 'apps_customize_widgets_scroll_format' has no default tran

slation in c:\apktool151\Prism\res; found: af am be ca hi ms sw tl zu

aapt: warning: string 'delete_target_uninstall_label' has no default translation

in c:\apktool151\Prism\res; found: af am be ca hi ms sw tl zu

aapt: warning: string 'info_target_label' has no default translation in c:\apkto

ol151\Prism\res; found: af am be ca hi ms sw tl zu

aapt: warning: string 'long_press_widget_to_add' has no default translation in c

:\apktool151\Prism\res; found: af am be ca hi ms sw tl zu

I: Building apk file...