Originariamente inviato da
Enigmisth
Ragazzi.. devo decompilare modificare e ricompilare il settings.apk ma non c'è verso di farlo!!! STO IMPAZZENDO
apktool decompilo e mi dice:
C:\Users\Administrator\Downloads\Compressed\apktoo l1.4.3>apktool d Settings.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Administrator\apktool\framework\1.
apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x01030307
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x01030307
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x01030307
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x01030307
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x01030307
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x01030307
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x01030307
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
scrollbarStyle, value=0x010e0031
W: Could not decode attr value, using undecoded value instead: ns=android, name=
scrollbarStyle, value=0x010e0031
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x01030307
at brut.androlib.res.data.ResPackage.getResSpec(ResPa ckage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTabl e.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTabl e.java:51)
at brut.androlib.res.data.value.ResReferenceValue.get Referent(ResReferen
ceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.enc odeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encode AsResXmlAttr(ResSca
larValue.java:43)
at brut.androlib.res.data.value.ResStyleValue.seriali zeToResValuesXml(Re
sStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValues File(AndrolibResour
ces.java:264)
at brut.androlib.res.AndrolibResources.decode(Androli bResources.java:137
)
at brut.androlib.Androlib.decodeResourcesFull(Androli b.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98 )
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
C:\Users\Administrator\Downloads\Compressed\apktoo l1.4.3>
Modifico tranquillamente e qunado lancio ilc omando per ricompilare mi dice:
C:\Users\Administrator\Downloads\Compressed\apktoo l1.4.3>apktool b Settings
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java: 142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(Abst ractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java: 138)
... 4 more
C:\Users\Administrator\Downloads\Compressed\apktoo l1.4.3>
Mentre Apk manager non lo decompila neanche... mi dice:
|07/06/2012 -- 21:41:44,39|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)
Impossibile trovare C:\Users\Administrator\Downloads\Compressed\Apk_Ma nager_5.0.
2\place-apk-here-for-modding\../place-apk-here-for-modding/signedSettings.apk
Impossibile trovare C:\Users\Administrator\Downloads\Compressed\Apk_Ma nager_5.0.
2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSettings.apk
I: Baksmaling...
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: -2FFE0000.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR0
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR1
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x7f04003c layout/date_time_settings_setupwizard, config=-v13
at brut.androlib.res.data.ResConfig.addResource(ResCo nfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResCo nfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(AR SCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(A RSCDecoder.java:165
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARS CDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage( ARSCDecoder.java:10
5)
at brut.androlib.res.decoder.ARSCDecoder.readTable(AR SCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCD ecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackages FromApk(AndrolibRes
ources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(An drolibResources.jav
a:50)
at brut.androlib.res.AndrolibResources.getResTable(An drolibResources.jav
a:43)
at brut.androlib.Androlib.getResTable(Androlib.java:4 4)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.ja va:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98 )
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Impossibile trovare C:\Users\Administrator\Downloads\Compressed\Apk_Ma nager_5.0.
2\place-apk-here-for-modding\../place-apk-here-for-modding/signedSettings.apk
Impossibile trovare C:\Users\Administrator\Downloads\Compressed\Apk_Ma nager_5.0.
2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSettings.apk
I: Baksmaling...
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: -2FFE0000.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR0
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR1
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x7f04003c layout/date_time_settings_setupwizard, config=-v13
at brut.androlib.res.data.ResConfig.addResource(ResCo nfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResCo nfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(AR SCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(A RSCDecoder.java:165
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARS CDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage( ARSCDecoder.java:10
5)
at brut.androlib.res.decoder.ARSCDecoder.readTable(AR SCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCD ecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackages FromApk(AndrolibRes
ources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(An drolibResources.jav
a:50)
at brut.androlib.res.AndrolibResources.getResTable(An drolibResources.jav
a:43)
at brut.androlib.Androlib.getResTable(Androlib.java:4 4)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.ja va:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98 )
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Premere un tasto per continuare . . .