Related
Using APK Manager im trying to decompile some APKs from ICS, though always run into errors (Unlike GB APKs which I have no problem with)
Code:
|22/11/2011 -- 20:21:58.42|
--------------------------------------------------------------------------
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)
--------------------------------------------------------------------------
|22/11/2011 -- 20:22:29.68|
--------------------------------------------------------------------------
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)
Could Not Find C:\Android\android-sdk\platform-tools\APK-Manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedFaceLock.apk
Could Not Find C:\Android\android-sdk\platform-tools\APK-Manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedFaceLock.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Silver\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=hardwareAccelerated, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=alpha, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=alpha, value=0x00000000
S: Could not decode file, replacing by FALSE value: mipmap-xhdpi/ic_launcher_settings.png
S: Could not decode file, replacing by FALSE value: mipmap-hdpi/ic_launcher_settings.png
S: Could not decode file, replacing by FALSE value: mipmap-mdpi/ic_launcher_settings.png
W: Could not decode attr value, using undecoded value instead: ns=android, name=valueFrom, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=valueTo, value=0x3f800000
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010300e9
at brut.androlib.res.data.ResPackage.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.toResXmlFormat(Unknown Source)
at brut.androlib.res.data.value.ResStyleValue.serializeToXml(Unknown Source)
at brut.androlib.res.AndrolibResources.generateValuesFile(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)
Anyone got any advice for me? Ive heard using the newer version of APK Manager is supposed to fix things, though cant find a newer one. The only file I found on XDA was a Jar file, and didnt explain what / how to replace with current APK Manager.
http://forum.xda-developers.com/showthread.php?t=1310151
Have u seen this?
I must have the previous version. Looks 99% the same, except for the first pic.
Cheers, will give it a go and see if I get any further
Bit weird though as I have all the "new features" in whatever I have now :/
have u spoken to the dev?
Nope. Not even sure where I got it from so wasnt 100% sure who the dev was at the time.
I now get this error
Code:
--------------------------------------------------------------------------
|22/11/2011 -- 23:47:58.62|
--------------------------------------------------------------------------
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)
Could Not Find C:\Android\android-sdk\platform-tools\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signedFaceLock.apk
Could Not Find C:\Android\android-sdk\platform-tools\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedFaceLock.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Silver\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=hardwareAccelerated, value=0xffffffff
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=valueFrom, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=valueTo, value=0x3f800000
W: Could not decode attr value, using undecoded value instead: ns=android, name=propertyName, value=0x00000009
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.decode(XmlPullStreamDecoder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:86)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:132)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Ill post in there and see what he says. Cheers for the responses.
Silver
Is face lock the only apk from ics u have tried?
DroidRC1 said:
Is face lock the only apk from ics u have tried?
Click to expand...
Click to collapse
Nope. Have tried several. Camera, Facelock, Gallery, settings, etc etc.. Just cant decompile any of them.
If I do exactly the same with anything from Gingerbread, I have no issues.
What you actually need is a version of baksmali that supports the ICS changes.
http://www.mediafire.com/?cxdzd65ng3rccyz
twistedumbrella said:
What you actually need is a version of baksmali that supports the ICS changes.
http://www.mediafire.com/?cxdzd65ng3rccyz
Click to expand...
Click to collapse
After I download this, which folder does it go in?
As above, what folder?
if you are using apk manager there is no folder to put it in. You will need to create a folder and run it on your apk. Here is a post telling you about the new changes to smali and how to use it on ics and honeycomb apks.. Hope this helps..
smali/baksmali 1.3.0
smali/baksmali 1.3.0 is out! This version now supports Honeycomb and Ice Cream Sandwich
There are a few changes and new features you should be aware of.
--api-level/-a option
Both smali and baksmali have a new --api-level/-a option. For smali, this ensures that the dex file that smali generates will be compatible with the specified platform. For baksmali, this is primarily needed while deodexing.
Specifically, when deodexing a Honeycomb or earlier odex file, you must specify an api level.
New ICS opcodes
ICS brings a slew of new "jumbo" opcodes. These opcodes accept a 32-bit method/field/class reference, rather than the 16-bit reference that is used everywhere else. This eliminates the earlier restriction of 64k method or field references. However, there can still only be 64k referenced classes, due to other constraints in the dex file format.
A list of the new jumbo opcodes can be found in the dalvik-bytecode.html document in the dalvik project in aosp (dalvik/docs/dalvik-bytecode.html). Unfortunately, the online document at http://s.android.com/tech/dalvik/dalvik-bytecode.html has not been updated for ICS yet.
Custom inline tables for deodexing
baksmali now allows you to specify a custom inline method table to use while deodexing. There have been some reports of versions of dalvik that are using a non-standard inline table. This will allow baksmali to be able to deodex odex files from these platforms.
In order to use this feature, you must first dump the inline table from the device. I have written a small native utility to do this. You can find the source here. (I am not planning on distributing a prebuilt binary of this tool)
You can dump the results of this tool to a file and then use the -T option to tell baksmali to use the custom inline table.
As always, you can find the latest versions at http://code.google.com/p/smali/downloads/list
If im honest, thats just confused me, though im grateful for the reply
Silver420 said:
If im honest, thats just confused me, though im grateful for the reply
Click to expand...
Click to collapse
maybe this will help
download smali-1.3.0.jar baksmali-1.3.0.jar and also the smali and baksmali wrapper script from http://code.google.com/p/smali/downloads/list
download jar_file_decompile_and_compiler_with_tutor.zip
http://hotfile.com/dl/121586687/ae510fb/jar_file_decompile_and_compiler_with_tutor.zip.html
rename smali-1.3.0.jar baksmali-1.3.0.jar to smali.jar baksmali.jar
you can rename the ones in tutor to smali.jarolder and baksmali.jarolder and the smali and baksmali wrapper script to smaliolder , baksmaliolder if you want to keep them
replace jar files and also the smali and baksmali wrapper scrip in " jar_file_decompile_and_compiler_with_tutor " with the new renamed ones
so summining it up download all 4 files, remove version number and replace ones in jar_file_decompile_and_compiler_with_tutor
I'll test and upload tutor with updated files, and also update a apktool with 1.3.0
thanks Racing19969 for the head up!!
Silver420 said:
Nope. Not even sure where I got it from so wasnt 100% sure who the dev was at the time.
I now get this error
Code:
--------------------------------------------------------------------------
|22/11/2011 -- 23:47:58.62|
--------------------------------------------------------------------------
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)
Could Not Find C:\Android\android-sdk\platform-tools\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signedFaceLock.apk
Could Not Find C:\Android\android-sdk\platform-tools\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedFaceLock.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Silver\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=hardwareAccelerated, value=0xffffffff
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=valueFrom, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=valueTo, value=0x3f800000
W: Could not decode attr value, using undecoded value instead: ns=android, name=propertyName, value=0x00000009
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.decode(XmlPullStreamDecoder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:86)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:132)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Ill post in there and see what he says. Cheers for the responses.
Silver
Click to expand...
Click to collapse
Dumb question I know but humor me lol you did install the ICS framework file so it updates your apktool/manager framework folder right?
What do u need it for? If u just need the files in it, couldn't u just rename it to a zip and extract it?
But I'm probably wrong.
Sent from my HTC Desire using xda premium
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
carl1961 said:
maybe this will help
download smali-1.3.0.jar baksmali-1.3.0.jar and also the smali and baksmali wrapper script from http://code.google.com/p/smali/downloads/list
download jar_file_decompile_and_compiler_with_tutor.zip
http://hotfile.com/dl/121586687/ae510fb/jar_file_decompile_and_compiler_with_tutor.zip.html
rename smali-1.3.0.jar baksmali-1.3.0.jar to smali.jar baksmali.jar
you can rename the ones in tutor to smali.jarolder and baksmali.jarolder and the smali and baksmali wrapper script to smaliolder , baksmaliolder if you want to keep them
replace jar files and also the smali and baksmali wrapper scrip in " jar_file_decompile_and_compiler_with_tutor " with the new renamed ones
so summining it up download all 4 files, remove version number and replace ones in jar_file_decompile_and_compiler_with_tutor
I'll test and upload tutor with updated files, and also update a apktool with 1.3.0
thanks Racing19969 for the head up!!
Click to expand...
Click to collapse
Once again, thank you very much for the PM's. Very helpful/nice bloke
Still stuck, but appreciate it either way
zelendel said:
Dumb question I know but humor me lol you did install the ICS framework file so it updates your apktool/manager framework folder right?
Click to expand...
Click to collapse
Are we on about the SDK, or copying the framework-res.apk? Maybe this is where I have gone wrong, as the only time I have been using the framework file, is when I have tried to decompile using option 10 (Rather than 9) which then asks you to drag and drop the framework file into apk-tools. Please let me know if i should do it differently
The3File said:
What do u need it for? If u just need the files in it, couldn't u just rename it to a zip and extract it?
But I'm probably wrong.
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
To try and port stuff over to GB, and to just compare coding
lufc said:
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Click to expand...
Click to collapse
Sorry about that.
Yes that is what I am talking about. If the app is compiled using the ICS framework file then it will also have to be decompiled with the same OS version framework file or you will get errors. This has been happening more and more to apps when decompiling due to ICS already being built into the sdk when the apps ate made.. You will need to find an ICS framework file for your device. Not sure if a generic one will work or not but hey its worth a shot.
Sent from my Inspire 4G using Tapatalk
zelendel said:
Yes that is what I am talking about. If the app is compiled using the ICS framework file then it will also have to be decompiled with the same OS version framework file or you will get errors. This has been happening more and more to apps when decompiling due to ICS already being built into the sdk when the apps ate made.. You will need to find an ICS framework file for your device. Not sure if a generic one will work or not but hey its worth a shot.
Sent from my Inspire 4G using Tapatalk
Click to expand...
Click to collapse
I dont get it. Why would I find a framework file for my device? Surely Id use the framework from the same build? I.e. match up the ICS APK with the ICS framework file from the device it was pulled from? Thats how Ive been trying it anyway.
Silver420 said:
I dont get it. Why would I find a framework file for my device? Surely Id use the framework from the same build? I.e. match up the ICS APK with the ICS framework file from the device it was pulled from? Thats how Ive been trying it anyway.
Click to expand...
Click to collapse
Normally that is the proper way. But some also require device spicific framework folders. Like my settings apk needs to be decompiled with my com.HTC.resources apk. With very few options on ICS if you can't get it to recompile with option 10 and then using the framework-res apk from ICS then I would not know where else to start.
Hey there if someone could land me a hand i would be grateful
Here's the thing i downloaded the mod by spacecaker or coolcathome as u wish of the cm9 setting's mod for stock rom ... work's great but it doesn't have my language ... So i tried to change the strings ... I ALWAYS get error ... so i thought it was because of the dependence of framework-res.apk
Now i cant even decompile ...
I get this error at apk tool when decompiling
C:\apk tool>apktool if framework-res.apk
I: Framework installed to: C:\Users\R·ben\apktool\framework\1.apk
C:\apk tool>apktool d Settings.apk
I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\R·ben\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColorHint, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Cant find 9patch chunk in file: "drawable-mdpi/password_field_default.9.png".
Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
I: Decoding values*/* XMLs...
I: Done.
Can't find framework resources for package of id: 2. You must install proper fra
mework files, see project website for more info.
----------------------------------------------------------------------------------------------------------------------------------------------
and this one for compiling
C:\apk tool>apktool if framework-res.apk
I: Framework installed to: C:\Users\R·ben\apktool\framework\1.apk
C:\apk tool>apktool d Settings.apk
I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\R·ben\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColorHint, value=0x02050001
W: Cant find 9patch chunk in file: "drawable-mdpi/password_field_default.9.png".
Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
I: Decoding values*/* XMLs...
I: Done.
Can't find framework resources for package of id: 2. You must install proper fra
mework files, see project website for more info.
C:\apk tool>apktool b Settings.apk
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(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
Its driving me mad ... If someone could tell me what am i doing wrong or mod the strings that i need for me ( i'll mod the string only need to put them on apk and compile )
Thanks in Advance
u installed twframework res apk ?
Sent from my i9070 using xda premium
no ... framework-res.apk
Is twframework?
SnowPluralism said:
no ... framework-res.apk
Is twframework?
Click to expand...
Click to collapse
nope its missing twframework
apktool if framework-res.apk
apktool if twframework-res.apk
u need to have those installed
and for compiling it isnt
apktool b settings.apk
but
apktool b settings
CoolCatGetHome said:
nope its missing twframework
apktool if framework-res.apk
apktool if twframework-res.apk
u need to have those installed
and for compiling it isnt
apktool b settings.apk
but
apktool b settings
Click to expand...
Click to collapse
installed both frameworks ... corrected the compile comand ...
Still no luck .... LOTS of error's when compyling about missing files :/
Getting desperate ...
Did u used the frameworks from DDQ8?
Sent from my GT-S5830 using xda premium
Decompile again. Make sure u install the correct Framework apps (from the rom u are modding). If you decompiled without the Framework files installed, you won't be able to compile back without errors.
Sent from the other side... of the screen
Compile always give me error both dependencies are installed correctly ... i have used all options ... if anyone as a clue on how to do it ... give me a call
SnowPluralism said:
Compile always give me error both dependencies are installed correctly ... i have used all options ... if anyone as a clue on how to do it ... give me a call
Click to expand...
Click to collapse
Try to translate it in the normal strings.xml
Instead of in all?
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Try to translate it in the normal strings.xml
Instead of in all?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
yes ... and i also did the test of compiling without any mod ... also give me error ...
it seems to me that u done that using another framework that is not the ddq8 one ... any other idea? if not :/ ...
SnowPluralism said:
yes ... and i also did the test of compiling without any mod ... also give me error ...
it seems to me that u done that using another framework that is not the ddq8 one ... any other idea? if not :/ ...
Click to expand...
Click to collapse
Nope i have ddkq8 frameworks always installed
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Nope i have ddkq8 frameworks always installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
if i send u the strings would u give it a try?
SnowPluralism said:
if i send u the strings would u give it a try?
Click to expand...
Click to collapse
Gonna try
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Gonna try
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Gonna PM them to u now
This "how to" will explain the process of Decompiling and Recompiling SystemUI.apk for ICS with apkmanager.
i know there are many of you who are getting errors and this will most likely solve your issues 99%
i currently have apkmanager502 installed just for FYI.
These instructions are assuming you have already installed ApkManager.
Decompile Instructions:
- Gather stock or original(from Rom you are going to mod) framework-res.apk and SystemUI.apk
- Put both apk's in "place-apk-here-for-modding" folder
- Run "Script.bat"
- Type in 22 ENTER to set your current project
- Then type in the corresponding number for "framework-res.apk" ENTER
- Type in 9 ENTER to decompile framework: (You will get errors decompiling SystemUI.apk if Framework is not decompiled first)
- Once Framework is decompiled, type in 22 ENTER to set your current project to SystemUI.apk
- Then type in 9 to decompile and it should decompile correctly
- Make your edits in "Projects" folder
Click to expand...
Click to collapse
Recompile Instructions:
- Once you finish your edits, go back into Script.bat
- Make sure the "Current Project" is set to SystemUI.apk
- Type in 11 ENTER to compile apk
- Type "y" (without quotes) to confirm that it IS a System apk
- Type "y" again to confirm you DO want to add additional files that you didnt modify from thee ORIGINAL apk
- Go into where Apkmanager is installed, and you should see a new folder called KEEP
- Open "KEEP" folder and whatever you modified, delete the stock version of it I.e: if you inserted new battery icon png's, delete the STOCK battery icon pngs, and if you also edited any xml(s), DELETE the resources.arsc from the KEEP folder
- Once done, go back into Script.bat and press ENTER to continue
Do not, i repeat do NOT sign SystemUI.apk
Click to expand...
Click to collapse
It's nice to share what you learn. I'm sure there are quite a few others who have struggled with this.
gr8nole said:
It's nice to share what you learn. I'm sure there are quite a few others who have struggled with this.
Click to expand...
Click to collapse
as well did i to struggle but i have had help from you to teach me. and why should i not do the same for others? this community is AWESOME!
.
Sent from my Incredible, very Vivid, One X'strordinary S-off HTC Rezound
http://www.speedtest.net/android/216418366.png
Awesome. I could never manage to get this to work in apk manager. Thanks so much!
I would think this should go in themes/apps, but hey I'm not a mod or anything, and this is an excellent guide :good:
Sent from my Galaxy Nexus
AshtonTS said:
Awesome. I could never manage to get this to work in apk manager. Thanks so much!
I would think this should go in themes/apps, but hey I'm not a mod or anything, and this is an excellent guide :good:
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
You are welcome. Should I make a request for a moderator to move this thread to themes/apps?
Sent from my Amazon Kindle Fire using xda app-developers app
funnyangrykid said:
You are welcome. Should I make a request for a moderator to move this thread to themes/apps?
Sent from my Amazon Kindle Fire using xda app-developers app
Click to expand...
Click to collapse
Just report it and say you'd Like it moved
Sent from my Galaxy Nexus
AshtonTS said:
Just report it and say you'd Like it moved
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
PM me for instructions on how ta do that? because I don't want to accidentally report as spam or anything else that its not'
funnyangrykid said:
PM me for instructions on how ta do that? because I don't want to accidentally report as spam or anything else that its not'
Click to expand...
Click to collapse
Took care of it for ya it really isn't a big deal, at least not to me
AshtonTS said:
Took care of it for ya it really isn't a big deal, at least not to me
Click to expand...
Click to collapse
thanks bud :good:
Never mind
lainemac said:
Never mind
Click to expand...
Click to collapse
ooook lol. If ya change ur mind, we're here.
Sent from my Incredible, very Vivid, One X'strordinary S-off HTC Rezound
http://www.speedtest.net/android/216418366.png
lainemac said:
Everytime I try to decompile my systemui I get a bunch of java errors. I installed jdk and jre so I don't know what to do now.
Click to expand...
Click to collapse
you need to decompile Framework-res first. And if you have that step done and ur still getting those errors, make sure u have Android SDK installed as well and everything is up to date.
Can someone help me
I install sdk and java everything the last versions...then i install apkmangar
then i decompile Framework-res
then i try decompile systemui but i get those errors
--------------------------------------------------------------------------
|03-09-2012 -- 11:18:10,48|
--------------------------------------------------------------------------
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
Não foi possível localizar C:\Users\Elias Paiva\Desktop\Apk_Manager_ICS\place-ap
k-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Não foi possível localizar C:\Users\Elias Paiva\Desktop\Apk_Manager_ICS\place-ap
k-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Elias Paiva\apktool\framework\1.ap
k
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x010404d7
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...
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x010404d7
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:43)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
0)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:315)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
00)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:114
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.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)
Prima qualquer tecla para continuar . . .
what should i do???
sorry the english because i am portuguese eheh
EliasPaiva said:
Can someone help me
I install sdk and java everything the last versions...then i install apkmangar
then i decompile Framework-res
then i try decompile systemui but i get those errors
--------------------------------------------------------------------------
|03-09-2012 -- 11:18:10,48|
--------------------------------------------------------------------------
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
Não foi possível localizar C:\Users\Elias Paiva\Desktop\Apk_Manager_ICS\place-ap
k-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Não foi possível localizar C:\Users\Elias Paiva\Desktop\Apk_Manager_ICS\place-ap
k-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Elias Paiva\apktool\framework\1.ap
k
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x010404d7
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...
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x010404d7
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:43)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
0)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:315)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
00)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:114
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.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)
Prima qualquer tecla para continuar . . .
what should i do???
sorry the english because i am portuguese eheh
Click to expand...
Click to collapse
You may need to install com.htc.resources.apk as a framework file
Copy com.htc.resources.apk into the "other" directory in your Apk Manager folder
Then open a command prompt window and cd to the "other" directory
Enter this command:
apktool if com.htc.resources.apk
Then, try decompiling again
gr8nole said:
You may need to install com.htc.resources.apk as a framework file
Copy com.htc.resources.apk into the "other" directory in your Apk Manager folder
Then open a command prompt window and cd to the "other" directory
Enter this command:
apktool if com.htc.resources.apk
Then, try decompiling again
Click to expand...
Click to collapse
I second that notion
Sent from my Incredible, very Vivid, One X'strordinary S-off HTC Rezound
http://www.speedtest.net/android/216418366.png
EliasPaiva said:
Can someone help me
I install sdk and java everything the last versions...then i install apkmangar
then i decompile Framework-res
then i try decompile systemui but i get those errors
--------------------------------------------------------------------------
|03-09-2012 -- 11:18:10,48|
--------------------------------------------------------------------------
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
Não foi possível localizar C:\Users\Elias Paiva\Desktop\Apk_Manager_ICS\place-ap
k-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Não foi possível localizar C:\Users\Elias Paiva\Desktop\Apk_Manager_ICS\place-ap
k-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Elias Paiva\apktool\framework\1.ap
k
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x010404d7
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...
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x010404d7
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:43)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
0)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:315)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
00)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:114
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.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)
Prima qualquer tecla para continuar . . .
what should i do???
sorry the english because i am portuguese eheh
Click to expand...
Click to collapse
Your username cannot have a space in it... its screws everything up
C:\Users\Elias Paiva\Desktop
Click to expand...
Click to collapse
this would be fine
C:\Users\Elias_Paiva\Desktop
Or
C:\Users\Elias-Paiva\Desktop
Click to expand...
Click to collapse
who MIKE D said:
Your username cannot have a space in it... its screws everything up
this would be fine
Click to expand...
Click to collapse
It's hard to disagree with that opinion. It DOES seem the likely but (i might be wrong) seeing how it continued with trying to decompile, it is very hard to determine the cause. Idk though. You could also be right.
Sent from my Incredible, very Vivid, One X'strordinary S-off HTC Rezound
http://www.speedtest.net/android/216418366.png
I don't post opinions, just facts
Sent from my ADR6425LVW using xda app-developers app
who MIKE D said:
I don't post opinions, just facts
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
I'm going to have to disagree with you on this. I have spaces in my user directory name on my home machine running Vista (don't laugh) and I have no problems at all using Apk Manager to (de)compile. Just my experience.
[Q&A] [UTIL][Oct 5 2014] Apktool v2.0.0 RC2 - a tool for reverse engineering apk fil.
Q&A for [UTIL][Oct 5 2014] Apktool v2.0.0 RC2 - a tool for reverse engineering apk files
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [UTIL][Oct 5 2014] Apktool v2.0.0 RC2 - a tool for reverse engineering apk files. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Great! Thank alot! :good:
chung cư linh đàm
When use on MIUI 6
I got errors like:
invalid resource directory name: D:\Android\ApkIDE\Work\android\res/values-mcc9460-mnc9000
invalid resource directory name: D:\Android\ApkIDE\Work\android\res/values-mcc9998-mnc9999
can help me?
jazchen.tw said:
When use on MIUI 6
I got errors like:
invalid resource directory name: D:\Android\ApkIDE\Work\android\res/values-mcc9460-mnc9000
invalid resource directory name: D:\Android\ApkIDE\Work\android\res/values-mcc9998-mnc9999
can help me?
Click to expand...
Click to collapse
mnc max value is 999. Those are invalid values, not to mention you have backslashes mixed with forward slashes. You could either remove the folders or change them to mnc900 and mnc999.
iBotPeaches said:
mnc max value is 999. Those are invalid values, not to mention you have backslashes mixed with forward slashes. You could either remove the folders or change them to mnc900 and mnc999.
Click to expand...
Click to collapse
Those directories are miui official added.
Probably used to distinguish china edition or international edition (global edition).
I understand the part about the backslash, remove these directories can be done properly.
Can anyone take a look and let me know what i need to do? Thank you.
C:\>cd \apktool\apktool
C:\Apktool\Apktool>apktool d app.apk
Destination directory (C:\Apktool\Apktool\app) already exists. Use -f switch if
you want to overwrite it.
C:\Apktool\Apktool>apktool d app.apk
I: Using Apktool 2.0.0-RC2 on app.apk
I: Loading resource table...
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\David Weidman\apktool\framework\1.
apk
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
touchscreenBlocksFocus, value=0xffffffff
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x0101048f
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:3
6)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:369)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:322
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:123)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:102)
at brut.apktool.Main.cmdDecode(Main.java:170)
at brut.apktool.Main.main(Main.java:86)
C:\Apktool\Apktool>
Hello,
I'm modding APK's for a while but today, I got a problem with an APK. When I'm decompiling and recompiling the APK without making changes then signing, it just closes on Android (No FC error) It worked for months, but since today's update not. So how can I fix this? Is the APK protected? Please help!
dr_w said:
Can anyone take a look and let me know what i need to do? Thank you.
C:\>cd \apktool\apktool
C:\Apktool\Apktool>apktool d app.apk
Destination directory (C:\Apktool\Apktool\app) already exists. Use -f switch if
you want to overwrite it.
C:\Apktool\Apktool>apktool d app.apk
I: Using Apktool 2.0.0-RC2 on app.apk
I: Loading resource table...
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\David Weidman\apktool\framework\1.
apk
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
touchscreenBlocksFocus, value=0xffffffff
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x0101048f
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:3
6)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:369)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:322
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:123)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:102)
at brut.apktool.Main.cmdDecode(Main.java:170)
at brut.apktool.Main.main(Main.java:86)
C:\Apktool\Apktool>
Click to expand...
Click to collapse
Did you install all the resources?
Errors in the apktool are always in the very first section.
Yours states it couldn't decode something, so if you haven't I would try installing all the resources again
Sent from my SM-N900T using Tapatalk 2
你发布这个版本的apktool 无法在 Android 5.0 上面使用,egg pain
lil' problem
hello there!
im not a newbie in theming, but i just wanna ask..
why i always need to copy both META-INF and the AndroidManifest in order install the stock app (like Settings)..
i always need a custom rom where i can edit apks without copying those both files,...
it gives me the creeps.. i hate doing that since it consumes a time..
i cant make changes for some of my deodexed stock apps..
i still wondering how the devs make some changes for some apps..
i hope you got my point..
Apktool rc3
HI
can anyone help me?
i want to change the navbar size of my n4
i decompile framework-res.apk and change some of thinks. :
what i did ?
--
1 java -jar apktool.jar if framework-res.apk
2 java -jar apktool.jar d framework-res.apk
3 change the size in apktool/framework-res/res/value/dimens.xml
4 java -jar apktool.jar b framework-res
5 change framework-res.apk to .zip and move framework-res/build/apk/Androidmanifest.xml to framework-res.zip
6 change framework-res.zip to apk
is this ok or not ?
sorry for my bad english
Hi,
I'm trying to use apktool as a library inside another app, but it seems (at first glance at least) that a lot of the processing depends on setting files and the process working to take the compressed data in the apk, decode it, and write the output to a directory structure.
Is there already a sort of "simple" way to pass in an APK (or better yet, an InputStream or byte array) and have that return an XML document or even just a text stream of a resources file (values files or AndroidManifest.xml)? Or am I basically on my own to setup the objects/change the source to be able to access this sort of functionality?
Thank you!
GI0\/\NNI said:
Hello,
I'm modding APK's for a while but today, I got a problem with an APK. When I'm decompiling and recompiling the APK without making changes then signing, it just closes on Android (No FC error) It worked for months, but since today's update not. So how can I fix this? Is the APK protected? Please help!
Click to expand...
Click to collapse
try to disable signature verification,.. i think it would help..
i have the same prob,..
im not newbie in theming but when i start modding system app from my deodexed stock rom .. i got that prob..
an hour ago,.. i found a solution,.. (not yet tried) . from Pyler's post ..
ee this thread
http://forum.xda-developers.com/xposed/modules/xposed-disablesignaturecheck-t2783480
hope it helped you
My rockchip rk3066 ft970 tab not boot i think its bricked. I don't have backup. How to recover by rkbatchtool i successfully installed driver in rkbatchtool green box appears but when i flash cwm.img error that firmware is missing. So how i get firmware for my tab please help I'm new to xda and all
Thanks in advance
Can anyone help me decompiling this apk ?
Dropbox.com/s/05kj2x4zie734b9/com.asobimo.iruna_en-1.apk?dl=0
I can decompile with a Lot of errors and then many smali files have no .end method which makes recompiling impossible.
Decompiling errors for Multiple resources
Hello there
I've tried to decompiling and evectually install some framework-res.apk, miui6, mine lenovo A806 framework, on three different so, ubuntu 64bit, bbqlinux and, last, win7, with the same results:
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x010e0047 integer/config_mobile_mtu, config=-mcc460
detail on:
pastebin.com/isMFnP0v
BBq and Ubuntu are 64bit with lib32 enabled.
apktool ver. 2.0.0 RC3
Other frameworks as mediatek-res works well
Any idea?
Thanks
S.
ultimacorsa said:
Hello there
I've tried to decompiling and evectually install some framework-res.apk, miui6, mine lenovo A806 framework, on three different so, ubuntu 64bit, bbqlinux and, last, win7, with the same results:
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x010e0047 integer/config_mobile_mtu, config=-mcc460
detail on:
pastebin.com/isMFnP0v
BBq and Ubuntu are 64bit with lib32 enabled.
apktool ver. 2.0.0 RC3
Other frameworks as mediatek-res works well
Any idea?
Thanks
S.
Click to expand...
Click to collapse
Solved!
Thanks
S.
Uncompressed unknown files becomes compressed.
Issue:
https://code.google.com/p/android-apktool/issues/detail?id=769&thanks=769&ts=1424960582
I believe it prevents monodroid/xamarin apk from working.
ultimacorsa said:
Solved!
Thanks a lotv1 e v2
S.
Click to expand...
Click to collapse
Thanks a lotv1 e v2
---------- Post added at 06:52 PM ---------- Previous post was at 06:44 PM ----------
ultimacorsa said:
Thanks a lotv1 e v2
Click to expand...
Click to collapse
I need to reach 10 posts
---------- Post added at 07:41 PM ---------- Previous post was at 06:52 PM ----------
Hello, decompile with apktool rc4, via dos cmd line or linux shell
insert value-xx (xx=lang)
Recompile with some warning about the default strings
Insert in the new lenovosettings.apk META-INF and AndroidManifest.xml, substituite the file in the priv-app, restart the phone...But the settings return an error message: the application blocked anomaly mode, more o less.
The courios is that the USB message is translate as the new apk laguage.
Any suggestion?
Thanks a lot
S.
Hello. I have a problem with APK tool.
I`m making localization for my phone (Motorola Razr M) since last year.
I made couple builds and its was fine. But when i did last one, i found a bug in my mod: Google Now cant launch - it just hangs screen (need to turn screen on\off to make it work)
I found out that problem is in framework-res.apk. if decompile and recompile it back even without any changes - bug persist. My previous builds was ok, and i used same Java version and same apktool version. Framework compiles without any errors. Tried different pc, different java versions (different builds of 7 and 8 java), even tried different phone.
Tried to use non-modified (original) framework-res.apk as framework, tried localized version.
Even tried to change file modification date.
Nothing helps. Dunno where to look.
sorry for bad english
Hi,
I'm using Android 4.1.2 (stock), I can't choose radio option in newest Play Store setting (auto-update).
Same error in Link2SD choose partition format radio option.
Play Store only show blue border after touch to radio.
Link2SD blue border all radio after touch.
Who can help me? I don't know how to fix this.
Phone: KTTech Take LTE KM-E100
ROM: Android 4.1.2 Stock
Video example: https://www.youtube.com/watch?v=K3YyZjZkpio
Try decompile Link2SD 4.0.11 apk with framework-res.apk ( Android 4.1.2 ) and get error
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) Client VM (build 25.45-b02, mixed mode)
W: Skipping "android" package group
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingMode, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=touchscreenBlocksFocus, value=0xffffffff
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01010462
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:65)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:61)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:57)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:54)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:496)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:252)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:134)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:104)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
Click to expand...
Click to collapse
Same error when try decompile newest phonesky.apk (Play Store)
help me
bump, anyone can help?