I saw stuff about fake moto blur in the atrix forums. I searched my droid 3 and found the same software in my phone. I know this app is part of that issue with Carrier iq and tracking people on there phone. I have been toying with the apk that i pulled out of my droid 3 but i want to try and decompile it back to java so that i can see what it actually does.
So my questions are
How should i do this i have tried apktool and also dex2java but nothing is working?
Also has anyone else tried to do this on another phone?
Thank you for your help
Kylepowers said:
I saw stuff about fake moto blur in the atrix forums. I searched my droid 3 and found the same software in my phone. I know this app is part of that issue with Carrier iq and tracking people on there phone. I have been toying with the apk that i pulled out of my droid 3 but i want to try and decompile it back to java so that i can see what it actually does.
So my questions are
How should i do this i have tried apktool and also dex2java but nothing is working?
Also has anyone else tried to do this on another phone?
Thank you for your help
Click to expand...
Click to collapse
No Verizon phones have Carrier IQ installed (According to Verizon). People at Droid-Life and various other forums have tested tons of Verizon phones and found this to be 100% true so far.
If you're trying to decompile and you're using Windows, just google "apkmanager" and use it to decompile. If you're using a Linux based OS then use "apktool."
I just had a Droid Charge not that long ago and didn't find Carrier IQ on it either.
I tried the apkmanager but it errors. Is their a way to fix it.
Hear is what it gives me.
--------------------------------------------------------------------------
|Sun 12/04/2011 -- 1:58:50.65|
--------------------------------------------------------------------------
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find D:\MyDocs\Desktop\APKmanager\place-apk-here-for-modding\../place-
apk-here-for-modding/signedFakeBlurXmppApp.apk
Could Not Find D:\MyDocs\Desktop\APKmanager\place-apk-here-for-modding\../place-
apk-here-for-modding/unsignedFakeBlurXmppApp.apk
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: D:\MyDocs\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
versionCode, value=0x0000000a
I: Loading resource table from file: D:\MyDocs\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
minSdkVersion, value=0x0000000a
I: Loading resource table from file: D:\MyDocs\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
targetSdkVersion, value=0x0000000a
I: Loading resource table from file: D:\MyDocs\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x7f030000
I: Loading resource table from file: D:\MyDocs\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
icon, value=0x7f020000
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01030065 style/TextAppearance.StatusBar.Title, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadFrameworkPkg(Unknown Source)
at brut.androlib.res.data.ResTable.getPackage(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknow
n Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unkno
wn Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown So
urce)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
I: Framework installed to: D:\MyDocs\apktool\framework\127.apk
I: Framework installed to: D:\MyDocs\apktool\framework\127.apk
I: Framework installed to: D:\MyDocs\apktool\framework\127.apk
I: Framework installed to: D:\MyDocs\apktool\framework\127.apk
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 123 (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: 123 (The system cannot find the file s
pecified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
... 4 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 123 (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: 123 (The system cannot find the file s
pecified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
... 4 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 123 (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: 123 (The system cannot find the file s
pecified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
... 4 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 123 (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: 123 (The system cannot find the file s
pecified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
... 4 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 123 (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: 123 (The system cannot find the file s
pecified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
... 4 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 123 (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: 123 (The system cannot find the file s
pecified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
... 4 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 123 (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: 123 (The system cannot find the file s
pecified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
... 4 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 123 (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: 123 (The system cannot find the file s
pecified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
... 4 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 123 (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: 123 (The system cannot find the file s
pecified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
... 4 more
--------------------------------------------------------------------------
|Sun 12/04/2011 -- 14:23:24.07|
--------------------------------------------------------------------------
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find D:\MyDocs\Desktop\APKmanager\place-apk-here-for-modding\../place-
apk-here-for-modding/signedFakeBlurXmppApp.apk
Could Not Find D:\MyDocs\Desktop\APKmanager\place-apk-here-for-modding\../place-
apk-here-for-modding/unsignedFakeBlurXmppApp.apk
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: D:\MyDocs\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
versionCode, value=0x0000000a
I: Loading resource table from file: D:\MyDocs\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
minSdkVersion, value=0x0000000a
I: Loading resource table from file: D:\MyDocs\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
targetSdkVersion, value=0x0000000a
I: Loading resource table from file: D:\MyDocs\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x7f030000
I: Loading resource table from file: D:\MyDocs\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
icon, value=0x7f020000
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01030065 style/TextAppearance.StatusBar.Title, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadFrameworkPkg(Unknown Source)
at brut.androlib.res.data.ResTable.getPackage(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknow
n Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unkno
wn Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown So
urce)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Press any key to continue . . .
Kylepowers said:
I tried the apkmanager but it errors. Is their a way to fix it.
Hear is what it gives me.
--------------------------------------------------------------------------
|Sun 12/04/2011 -- 1:58:50.65|
--------------------------------------------------------------------------
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
You have adb installed? You also need to your PATH variable to include the location of adb.exe. Here are some instructions for Windows 7, XP and Vista are almost the same How to set the path in Windows 7
Doesn't look like the apks are in the correct directory either.
Also, you can't decompile and recompile an already themed file. You need to have the stock files for the ROM you're going to theme.
Sent from my DROID3 using Tapatalk
I pulled the apk out of the phone do i need the apk to be on the phone for this to work?
Kylepowers said:
I pulled the apk out of the phone do i need the apk to be on the phone for this to work?
Click to expand...
Click to collapse
Pull the apk from the phone
edit it accordingly
push the apk back to the phone
You have to have the apk on your computer to edit it. I don't understand what you're asking I guess. Could you elaborate more?
I guess is their a tutorial on how to use this software. I dont know why i get the error i get. Could some one explain the steps in detail please.
Kylepowers said:
I guess is their a tutorial on how to use this software. I dont know why i get the error i get. Could some one explain the steps in detail please.
Click to expand...
Click to collapse
Anything you need to know can be answered at the Apkmanager thread found here:
http://forum.xda-developers.com/showthread.php?t=695701
Related
Hi.
I modified xml file in the framework-res.apk.
I did : apktool d framework-res.apk
I modify the file xml , and build : apktool b framework-res framework-res_ok.apk
Here part of errors :
/sauv/home/franck/Desktop/xml/framework-res/res/values/public.xml:2135: error: Public symbol string/lockscreen_screen_locked declared here is not defined.
/sauv/home/franck/Desktop/xml/framework-res/res/values/public.xml:2134: error: Public symbol string/lockscreen_service_detached declared here is not defined.
/sauv/home/franck/Desktop/xml/framework-res/res/values/public.xml:2133: error: Public symbol string/lockscreen_service_disabled declared here is not defined.
/sauv/home/franck/Desktop/xml/framework-res/res/values/public.xml:2157: error: Public symbol string/lockscreen_sim_corporate_locked_message declared here is not defined.
/sauv/home/franck/Desktop/xml/framework-res/res/valuException in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL7805925130020059301.tmp, -x, -S, /sauv/home/franck/Desktop/xml/framework-res/res, -M, /sauv/home/franck/Desktop/xml/framework-res/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL7805925130020059301.tmp, -x, -S, /sauv/home/franck/Desktop/xml/framework-res/res, -M, /sauv/home/franck/Desktop/xml/framework-res/AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Thanks ( sorry for my bad English )
Solved Delete please
apk toll
you may change if you with apktool do not work normal bilder....
Best of all you push originalbilder again in apk and try it over again
franck1135 said:
Solved Delete please
Click to expand...
Click to collapse
How!!?
I have this problem too.
hello mate
could u tell us how did u find the way ??... i have the same problem... the images are not defined....
share with us your experience and guide us.... tx
I figured this out with help from the apk manager thread. The problem seems to be related to corrupt image resources in non-stock apks and the solution I found was to decompile a stock framework-res.apk file and copy the png files from "drawable-hdpi" into the one you are working on.
Keep in mind that I am own a Samsung Epic so my experience might not be the same as yours. I was trying to edit and recompile the framework-res.apk from srf 1.1 rom.
I put the framework-res files from the srf and stock roms, plus the required touchwiz framwork file in on dir and did the following...
Code:
C:\apkedit>apktool if framework-res-srf.apk
C:\apkedit>apktool if twframework-res.apk
C:\apkedit>apktool d framework-res-srf.apk
C:\apkedit>apktool d framework-res-stock.apk
C:\apkedit>copy /y framework-res-stock\res\drawable-hdpi\*.png framework-res-srf
\res\drawable-hdpi
C:\apkedit>apktool b framework-res-srf
The first build resulted in the following error....
Code:
res\drawable-hdpi\statusbar_background.png:0: error: Resource entry statusbar_ba
ckground is already defined.
res\drawable-hdpi\statusbar_background.9.png:0: Originally defined here.
I fixed it by deleting res\drawable-hdpi\statusbar_background.png...
Code:
C:\apkedit>del framework-res-srf\res\drawable-hdpi\statusbar_background.png
C:\apkedit>apktool b framework-res-srf
Success!!
I then took the resources.arsc from the .\framework-res-srf\build\apk directory and replaced the one in the original apk file and my phone booted and the replaced strings showed up.
Thanx pall...i shall try it... i thought that my problems where comes from some problem with the path of java...
Hello everyone,
I'm trying to find out what is the LG Keyboard apk, but the only one that could be, in my opinion is the HIME.apk, that I can't decompile using APK manager, cause it gives me this error:
Code:
--------------------------------------------------------------------------
|11/04/2011 -- 22:55:25,62|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
Impossibile trovare C:\Users\Roby\Desktop\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/signedHIME.apk
Impossibile trovare C:\Users\Roby\Desktop\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedHIME.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Roby\apktool\framework\1.apk
Exception in thread "main" java.lang.IllegalStateException: character \u0001 (1) is not allowed in output (attr value='\u0001')
at org.xmlpull.mxp1_serializer.MXSerializer.writeAttributeValue(Unknown Source)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(Unknown Source)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unknown Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown Source)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Can someone help me finding the keyboard? I'd need to edit so that it fits with my black theme
Thanks in advance
Yes HIME is the iphone looking keyboard that comes as stock.
Sent from my Optimus 2X using XDA Premium App
Could you help me decompiling it?
EDIT: tried to decompile Contacts.apk but I get the same error, think it's dependencies missing?
OK, I have the same problem with that file. It seems to be locked
can somebody help me with APK Manager ?
decompiling is easy breasy, but when coming to compile the apk i get an error
took framework from something i cooked on UOT, then removed the music controls + toggle buttons..
Code:
--------------------------------------------------------------------------
|vr 08-07-2011 -- 21:41:37,18|
--------------------------------------------------------------------------
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
--------------------------------------------------------------------------
|vr 08-07-2011 -- 21:42:03,37|
--------------------------------------------------------------------------
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\apk_manager_4.9\other\..\projects\framework-res.apk\res\layout\status_bar_expanded.xml:5: error: Error parsing XML: duplicate attribute
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Mjuksel\AppData\Local\Temp\APKTOOL4554741090717303056.tmp, -x, -S, C:\apk_manager_4.9\other\..\projects\framework-res.apk\res, -M, C:\apk_manager_4.9\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Mjuksel\AppData\Local\Temp\APKTOOL4554741090717303056.tmp, -x, -S, C:\apk_manager_4.9\other\..\projects\framework-res.apk\res, -M, C:\apk_manager_4.9\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
have this problem when trying to compile an app.apk and don't know y...
Sent from my Optimus 2X using XDA Premium App
you can´t compile already themed apk´s again (like UOT Kitchen files), after you decompiled them...
with an orig. apk compiling works !
i also tried with themed cyanbread from UOT, no way to compile again ...
original cyanbread works ...
this really sucks
here´s some info ...
Well somehow this wasnt the problem for me, i couldnt compile original apks either.
It works now however, very strange..
/close /exit
Hey! I was decompiling framework-res.apk for the ICS 4.0.3 Beta 3 CM9 release by squadzone to try and fix the soft keys without affecting the settings menu.
I tried decompiling the APK. This was the first time i was decompiling a system apk and got this message in apk manager 4.9
Code:
Please make your decision:9
Decompiling Apk
"An Error Occured, Please Check The Log (option 21)"
Press any key to continue . . .
On entering 21 i got this error report
Code:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/signedLatinImeGoogle.apk
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/unsignedLatinImeGoogle.apk
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x7f050003 xml/kbd_key_styles, config=-v13
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
at brut.androlib.Androlib.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
--------------------------------------------------------------------------
|Fri 02/17/2012 -- 20:13:56.89|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/signedframework-res.apk
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01040326 string/web_user_agent_target_content, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
at brut.androlib.Androlib.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/signedframework-res.apk
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01040326 string/web_user_agent_target_content, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
at brut.androlib.Androlib.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
--------------------------------------------------------------------------
|Fri 02/17/2012 -- 20:23:53.79|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/signedTrebuchet.apk
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/unsignedTrebuchet.apk
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x7f0a0025 integer/apps_customize_widget_cell_count_x, config=-port-v13
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
at brut.androlib.Androlib.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
--------------------------------------------------------------------------
|Sat 02/18/2012 -- 21:56:29.22|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/signedframework-res.apk
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01040326 string/web_user_agent_target_content, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
at brut.androlib.Androlib.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
--------------------------------------------------------------------------
|Sat 02/18/2012 -- 23:19:13.14|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
--------------------------------------------------------------------------
|Sun 02/19/2012 -- 0:14:02.12|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/signedframework-res.apk
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01040326 string/web_user_agent_target_content, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
at brut.androlib.Androlib.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
error: device not found
--------------------------------------------------------------------------
|Sun 02/19/2012 -- 0:17:48.82|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
--------------------------------------------------------------------------
|Sun 02/19/2012 -- 0:18:11.89|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
error: device not found
--------------------------------------------------------------------------
|Sun 02/19/2012 -- 0:21:40.36|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
remote object '/framework/framework-res.apk' does not exist
remote object '/framework/framework-res.apk' does not exist
remote object '/framework' does not exist
2819 KB/s (8956590 bytes in 3.101s)
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/signedframework
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/unsignedframework
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01040326 string/web_user_agent_target_content, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
at brut.androlib.Androlib.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
--------------------------------------------------------------------------
|Sun 02/19/2012 -- 0:27:11.39|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/signedframework.apk
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/unsignedframework.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01040326 string/web_user_agent_target_content, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
at brut.androlib.Androlib.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
cannot stat 'place-apk-here-for-modding\unsignedframework.apk': No such file or
directory
--------------------------------------------------------------------------
|Sun 02/19/2012 -- 0:34:25.06|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/signedframework-res.apk
Could Not Find D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-
apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01040326 string/web_user_agent_target_content, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
at brut.androlib.Androlib.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Press any key to continue . . .
Unfortunately this was all giberrish to me. :|
Could anyone solve this for me? Or upload the decompiled files?
Oh, and my idea was that rather than setting in bools.xml
<bool name="config_showNavigationBar">false</bool>
It could remain true, but the size could be 0. So it's there but it isn't. Get it?
Remove soft keys without destroying settings:
http://forum.xda-developers.com/showpost.php?p=22579173&postcount=742
decompile with apktool 1.4.2 and compile with 1.4.3
Hello,
I can't decompile MiniCM9-3.0.4 SystemUI.apk with ApkManager.
I'm using Windows XP and I've already copied it's framework to C:\Documents and Settings\Ahmad\apktool\framework.
Can anyone tell me how to decompile that?
Thanks.
Here is the log:
--------------------------------------------------------------------------
|Fri 08/03/2012 -- 17:37:15.31|
--------------------------------------------------------------------------
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find D:\Android\ApkManager\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find D:\Android\ApkManager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f0a000e dimen/status_bar_icon_drawing_size, config=-v13
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Source)
at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
at brut.androlib.Androlib.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
With apktool no problems occur. I decompiled and compiled successfully using apktool