[General Questions and Answers] Nicklas Van Dam:
i can't install framework-res.apk file from Resurrection Remix rom v5.5.8 with any apktool, if i install it with apktool 2.0.1 and up it will give result like this

C:\Users\Nickl\Downloads\apktool>apktool if framework-res.apk

Exception in thread "main" brut.androlib.AndrolibException: Invalid value type:

0

at brut.androlib.res.data.value.ResValueFactory.factory(ResValueFactory.

java:64)

at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:242)

at brut.androlib.res.decoder.ARSCDecoder.readComplexEntry(ARSCDecoder.ja

va:230)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:200)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:188

)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:156)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:11

3)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:78)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:39)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource

s.java:678)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource

s.java:660)

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

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

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

and this if i compile it with apktool v 2.0.0 and down (RC version)

C:\Users\Nickl\Downloads\apktool>apktool if framework-res.apk

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

W: Invalid config flags detected: style-ERR0

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

W: Invalid config flags detected: style-v21-ERR1

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

W: Invalid config flags detected: dimen-ERR2

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

W: Invalid config flags detected: color-ERR3

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

W: Invalid config flags detected: drawable-ERR4

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

W: Invalid config flags detected: drawable-v21-ERR5

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

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

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

W: Invalid config flags detected: drawable-xxhdpi-ERR7

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

W: Invalid config flags detected: anim-ERR8

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

W: Invalid config flags detected: bool-ERR9

I: Framework installed to: C:\Users\Nickl\apktool\framework\1.apk

and that will give same result when i try to compile it

C:\Users\Nickl\Downloads\apktool>apktool d framework-res.apk

I: Using Apktool 2.0.1 on framework-res.apk

I: Loading resource table...

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

W: Invalid config flags detected. Dropping resources: style-ERR0

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

W: Invalid config flags detected. Dropping resources: style-v21-ERR1

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

W: Invalid config flags detected. Dropping resources: dimen-ERR2

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

W: Invalid config flags detected. Dropping resources: color-ERR3

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

W: Invalid config flags detected. Dropping resources: drawable-ERR4

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

W: Invalid config flags detected. Dropping resources: drawable-v21-ERR5

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

W: Invalid config flags detected. Dropping resources: drawable-xhdpi-ERR6

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

W: Invalid config flags detected. Dropping resources: drawable-xxhdpi-ERR7

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

W: Invalid config flags detected. Dropping resources: anim-ERR8

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

W: Invalid config flags detected. Dropping resources: bool-ERR9

I: Decoding AndroidManifest.xml with resources...

I: Regular manifest package...

I: Decoding file-resources...

I: Decoding values */* XMLs...

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

it said compile is finished and i can open almost all xml file, but when i recompile it and copy original signature to zip and i try it. this only give bootloop after push it to device :eek: . anyone can help me please? :eek: