[DEODEX] patch für Mate 7

  • 161 Antworten
  • Letztes Antwortdatum
isabella-herzchen schrieb:
Ich hatte die schon @BVT gegeben und er hatte sie geflasht lief aber mit Fehlern. Dazu müsste er sich mal äußern.
Die hatte Henry ja auch schon probiert, mit Fehlern, kennt Henry also schon ;)
 
install framework-res.apk

W: Config flags size > 38. Exceeding bytes: 0x2400.
W: Invalid config flags detected: string-ERR0
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected: string-ERR1
W: Config flags size > 38. Exceeding bytes: 0x2A02.
W: Invalid config flags detected: string-ERR2
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected: string-ERR3
W: Config flags size > 38. Exceeding bytes: 0x8801.
W: Invalid config flags detected: string-ERR4
W: Config flags size > 38. Exceeding bytes: 0xE703.
W: Invalid config flags detected: string-ERR5
W: Config flags size > 38. Exceeding bytes: 0xDE00.
W: Invalid config flags detected: string-ERR6
W: Config flags size > 38. Exceeding bytes: 0x5401.
W: Invalid config flags detected: string-ERR7
W: Config flags size > 38. Exceeding bytes: 0xE401.
W: Invalid config flags detected: string-ERR8
W: Config flags size > 38. Exceeding bytes: 0x4F00.
W: Invalid config flags detected: string-ERR9
W: Config flags size > 38. Exceeding bytes: 0x4803.
W: Invalid config flags detected: string-ERR10
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected: string-ERR11
W: Config flags size > 38. Exceeding bytes: 0x4803.
W: Invalid config flags detected: string-ERR12
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x0104005f string/needPuk, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:63)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:186)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:157)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:125)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:100)
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(AndrolibResources.java:662)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:644)
at brut.androlib.Androlib.installFramework(Androlib.java:636)
at brut.apktool.Main.cmdInstallFramework(Main.java:240)
at brut.apktool.Main.main(Main.java:87)
Cleaning up unclosed ZipFile for archive P:\AndroidMultitool_v3.5\Files\framework-res.apk

erstmal kurze Pause, meine Tochter muss versorgt werden, bis dann...
 
Es gibt kein tool mit dem man einfach die app´s bearbeiten kann.

Ich kann wenigstens schon mal die Framework im Apktool laden.

Laut entwickler vom apktool muss man das tool dann noch etwas patchen. was er nicht macht da es dann nur für huawei geht.
 
Patchen, klingt gut aber wie?

Er könnte doch ein 2. Tool (nur für Huawei) erstellen/patchen.

Was ist dran an den Software-Engineering-Tools?
 
Zuletzt bearbeitet:
Kannst auf xda nachlesen das es von da kein Tool für Huawei geben wird.

Habe jetzt mal die apktool source auf den Rechnergecloned. Wie man das Apktool dann aus der source baut habe ich auch drauf. Ein Patch für Huawei gibts da auch

https://code.google.com/r/vladimirkukanov-apktool/

muss ich noch näher anschauen.

Als erstes muß der Fehler weg, ist eigentlich ganz einfach!!!!

Code:
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x0104005f string/[COLOR=Red]needPuk[/COLOR], config=[DEFAULT]
Das erste ei von Huawei, Multiple string. Need Puk steht zwei mal in der resourse.arsc da kann das Apktool nicht mit um.

Lösung:

1. Framework-res entpacken (oder jede system apk bei dem der Fehler vor kommt) sting/needPuk oder welcher fehler auch immer.

2. Hex Edito öffnen und resources.arsc aus der entpackten Datei laden

3. text suche ----> needPuk----> findem und -----> löschen.

4. Resource.arsc speichern und die apk neu zippen

5. umbenennen in zB. framework.res.apk (ohne zip)

Nicht wundern die Datei ist um einiges kleiner aber das ist normal.


6. ins Apktool und laden und glücklich sein

Gruß :) Isa
 

Anhänge

  • framework-res.apk
    7,4 MB · Aufrufe: 174
  • Danke
Reaktionen: Hen Ry
geladen :scared:
 
brauchst halt noch die framework-res-hwetx.apk
 
klär mich bitte auf
 
Du musst alle dateien apk aus dem /framework ordner laden. Die gehören zusammen.
 
framework-res-hwetx.apk

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x02020001 string/enterPuk, config=[DEFAULT]

habe winhex, suche jetzt nach enterPuk, wird aber nicht gefunden
 
machst du text suche?
 
ja, in der orig. framework-res.apk habe ich das unter needPuk gefunden,

in der framework-res-hwext.apk finde ich enterPuk nicht

needPuk.PNG
 
Zuletzt bearbeitet:
bitte
 

Anhänge

  • framework-res-hwext.apk
    9,8 MB · Aufrufe: 134
geladen :scared:

was habe ich falsch gemacht, "string/enterPuk"

systemui.apk decompilieren

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. Alle Rechte vorbehalten.
P:\AndroidMultitool_v3.5>cd P:\AndroidMultitool_v3.5\Program_Files
P:\AndroidMultitool_v3.5\Program_Files>apktool d P:\AndroidMultitool_v3.5\Files\SystemUI.apk -o P:\AndroidMultitool_v3.5\Decompiled_apk\SystemUI\
I: Using Apktool 2.0.0-RC3 on SystemUI.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Administrator\apktool\framework\1.apk
P:\AndroidMultitool_v3.5\Program_Files>W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ERR0
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ERR1
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ERR2
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ERR3
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ERR4
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ca-ERR5
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ca-ERR6
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ca-ERR7
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-da-ERR8
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-da-ERR9
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-da-ERR10
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-fa-ERR11
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-fa-ERR12
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-fa-ERR13
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ja-ERR14
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ja-ERR15
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ja-ERR16
W: Config flags size > 38. Exceeding bytes: 0x8801.
W: Invalid config flags detected. Dropping resources: string-ja-ERR17
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-nb-ERR18
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-nb-ERR19
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-nb-ERR20
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-de-ERR21
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-de-ERR22
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-de-ERR23
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-bg-ERR24
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-bg-ERR25
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-bg-ERR26
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-th-ERR27
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-th-ERR28
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-th-ERR29
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-fi-ERR30
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-fi-ERR31
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-fi-ERR32
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-hi-ERR33
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-hi-ERR34
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-hi-ERR35
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-vi-ERR36
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-vi-ERR37
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-vi-ERR38
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-mk-ERR39
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-mk-ERR40
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-mk-ERR41
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-sk-ERR42
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-sk-ERR43
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-sk-ERR44
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-uk-ERR45
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-uk-ERR46
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-uk-ERR47
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-el-ERR48
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-el-ERR49
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-el-ERR50
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-nl-ERR51
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-nl-ERR52
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-nl-ERR53
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-pl-ERR54
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-pl-ERR55
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-pl-ERR56
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-sl-ERR57
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-sl-ERR58
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-sl-ERR59
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-in-ERR60
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-in-ERR61
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-in-ERR62
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ko-ERR63
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ko-ERR64
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ko-ERR65
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ro-ERR66
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ro-ERR67
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ro-ERR68
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ar-ERR69
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ar-ERR70
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ar-ERR71
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-fr-ERR72
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-fr-ERR73
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-fr-ERR74
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-hr-ERR75
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-hr-ERR76
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-hr-ERR77
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-sr-ERR78
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-sr-ERR79
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-sr-ERR80
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-tr-ERR81
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-tr-ERR82
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-tr-ERR83
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-bs-ERR84
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-bs-ERR85
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-bs-ERR86
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-cs-ERR87
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-cs-ERR88
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-cs-ERR89
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-es-ERR90
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-es-ERR91
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-es-ERR92
W: Config flags size > 38. Exceeding bytes: 0xD402.
W: Invalid config flags detected. Dropping resources: string-es-ERR93
W: Config flags size > 38. Exceeding bytes: 0xD402.
W: Invalid config flags detected. Dropping resources: string-es-ERR94
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ms-ERR95
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ms-ERR96
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ms-ERR97
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-et-ERR98
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-et-ERR99
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-et-ERR100
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-it-ERR101
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-it-ERR102
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-it-ERR103
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-lt-ERR104
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-lt-ERR105
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-lt-ERR106
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-pt-ERR107
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-pt-ERR108
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-pt-ERR109
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-hu-ERR110
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-hu-ERR111
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-hu-ERR112
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ru-ERR113
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ru-ERR114
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ru-ERR115
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-lv-ERR116
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-lv-ERR117
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-lv-ERR118
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-sv-ERR119
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-sv-ERR120
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-sv-ERR121
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-iw-ERR122
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-iw-ERR123
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-iw-ERR124
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-en-rGB-ERR125
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rHK-ERR126
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rHK-ERR127
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rHK-ERR128
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rHK-ERR129
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rHK-ERR130
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-my-rMM-ERR131
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-my-rMM-ERR132
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-my-rMM-ERR133
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rCN-ERR134
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rCN-ERR135
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rCN-ERR136
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rCN-ERR137
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rCN-ERR138
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-es-rUS-ERR139
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-es-rUS-ERR140
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-es-rUS-ERR141
W: Config flags size > 38. Exceeding bytes: 0x5E03.
W: Invalid config flags detected. Dropping resources: string-es-rUS-ERR142
W: Config flags size > 38. Exceeding bytes: 0xAA00.
W: Invalid config flags detected. Dropping resources: string-es-rUS-ERR143
W: Config flags size > 38. Exceeding bytes: 0xE703.
W: Invalid config flags detected. Dropping resources: string-es-rUS-ERR144
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-pt-rPT-ERR145
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-pt-rPT-ERR146
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-pt-rPT-ERR147
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rTW-ERR148
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rTW-ERR149
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rTW-ERR150
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rTW-ERR151
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-zh-rTW-ERR152
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: drawable-xhdpi-ERR153
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: drawable-xhdpi-ERR154
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: drawable-xhdpi-ERR155
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: drawable-xxhdpi-ERR156
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: drawable-xxhdpi-ERR157
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: drawable-xxhdpi-ERR158
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x00000013
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000026
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x00000013
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000026
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSerializer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:134)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:296)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
 
Zuletzt bearbeitet:
Keine Ahnung was du falsch gemacht hast. Windows halt und one /string suchen. :sad: ?????

Code:
W: Invalid config flags detected. Dropping resources: string-es-ERR92
W: Config flags size > [COLOR=Red]38[/COLOR]. Exceeding bytes: 0xD402.
Jetzt ist halt das apktool dran.

Das apktool hat jetzt aus der Framework die resourses.arsc gespeichert.
Darin sind die compilierten xml Dateien. Um die zu decompilieren nimmt das apk tool den Header "38" Das ist in der Java decoder Datei Hinterlegt.
Wobei die 38 für 4.4 source steht 36 wäre 4.2. usw......

Huawei hat aber nicht mit 38 compiliert ich glaube mit ihrer source in 40.

Die Zeile dazu (apktool source decoder.arsc):

Code:
[B]private static final Logger LOGGER = Logger.getLogger([COLOR=Red]ARSCDecoder.class[/COLOR][/B][B].getName());[/B]
[B]private static final int KNOWN_CONFIG_BYTES = [COLOR=Red]3[/COLOR][/B][COLOR=Red][B]8[/B][/COLOR][B];[/B]
mal auf 40 stellen und über nacht das apktool neu aus der source bauen-

Wir werden sehen
 
  • Danke
Reaktionen: Hen Ry
das ist jetzt etwas zu hoch für mich

ARSCDecoder.java, da steht es drin, ich hatte mir mal die Zip geladen

das habe ich auch mal gelesen, ich denke irgendwann würde ich es begreifen, aber mir fehlt dazu die Zeit
 
die apktool zip ist ja schon compiliert. Mit windos kenne ich mich nicht aus aber unter linux holst du dir die source.

git clone git://github.com/iBotPeaches/Apktool.git

dann hast du eine APKTOOl ordner mit den uncompilierten dateien, die du bearbeiten kannst (java xml dateien)

(über windoskannst die source auch laden)

nach dem bearbeite compilierst du das apktool

[./gradlew][gradlew.bat] build fatJar (gradlew.bat build fatJar wäre win)

dann machste eine apktool ....jar draus

[./gradlew][gradlew.bat] build fatJar proguard

und schwup di wup haste du dein apktool. :) so einfach geht das.
 
:confused2: :confused2: :confused2:
 
Werde morgen berichten. Compilieren läut gerade an!

Gruß :) Isa
 
wie lange kann sowas dauern, das AICP ROM für mein Z1 dauerte ca. 2h -> Dashboard [Jenkins]
 

Ähnliche Themen

GZIO
Antworten
5
Aufrufe
2.209
Ingrimmsch
Ingrimmsch
GZIO
Antworten
1
Aufrufe
1.993
GZIO
GZIO
GZIO
Antworten
5
Aufrufe
5.089
Ingrimmsch
Ingrimmsch
Zurück
Oben Unten