Cant decompile ICS APKs - Android Q&A, Help & Troubleshooting

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.

Related

Help Error at Decompiling / Compiling cm9 like setting for stock rom

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

[How to] Decompile/Recompile SystemUI.apk ICS

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.

APKtool fails

Heya guys, I was wondering if anyone could help me with a little apktool problem I am having.
I am trying to decompile my SystemUI.apk for Purelook HD, and every time it is failing with the following output.
Code:
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-xhdpi/jkay_statusbar_lock_bg.9.png
. Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name
id, value=0x7f0d0134
W: Could not decode attr value, using undecoded value instead: ns=android, name
id, value=0x7f0d0135
W: Could not decode attr value, using undecoded value instead: ns=android, name
id, value=0x7f0d0136
W: Could not decode attr value, using undecoded value instead: ns=android, name
id, value=0x7f0d0137
W: Could not decode attr value, using undecoded value instead: ns=android, name
contentDescription, value=0x7f0a0150
W: Cant find 9patch chunk in file: "drawable-xhdpi/tw_quick_panel_quick_setting
button_bg_pressed.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-xhdpi/tw_quick_panel_quick_setting
button_bg_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-xhdpi/jkay_statusbar_desk_bg.9.png
. Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-xhdpi/notification_panel_bg.9.png"
Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/ic_notificat
on_overlay.png
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x7f0d0134
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResRefere
ceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRef
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSc
larValue.java:44)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:
0)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlR
sourceParser.java:313)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeVal
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStart
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stat
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStream
ecoder.java:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamD
coder.java:130)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStream
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:23
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
This is after I have installed the framework from both framework-res.apk and twframework-res.apk and I am not sure exactly what the problem is, I have redownloaded apktool, run cmd as admin everything I can think of and I have the latest JDK installed.
Any help will be appreciated.
Hi Delsus...
Is there a lidroid framework apk in that ROM aswell?
I'm not too sure as I've never run it
There is a lidroid-res.apk, so I installed that but it's still not working, the output only shows it loading the resources from framework-res, this is the output before the failure messages
Code:
Baksmaling...
Loading resource table...
Loaded.
Decoding AndroidManifest.xml with resources...
Loading resource table from file: C:\Users\Mike\apktool\framework\1.apk
Loaded.
Regular manifest package...
Decoding file-resources...
Framework-res.apk was installed to 1.apk, twframework to 2.apk and lidroid to 5.apk.
hmmm, not too sure.
have you got the latest apktool?
maybe have a look at http://forum.xda-developers.com/showthread.php?t=1755243 (if you haven't already)..
mikep99 said:
hmmm, not too sure.
have you got the latest apktool?
maybe have a look at http://forum.xda-developers.com/showthread.php?t=1755243 (if you haven't already)..
Click to expand...
Click to collapse
I didn't see anything in there that would help, I might just see what else I can flash, it's some things in the purelook systemui apk tool can't understand. I managed to decompile a CM systemUI with no problems.
It could even be linked to JKay's framework mods that are included in the rom (I would make my changes with deluxe setting but certain things prevent me buying it just now.)
If you're just changing png's you could do it with vrtheme.
See if you can decompile the apks from stock MB5???
Although, saying that, it might not be relevant depending on what's jkays mod affects.
Hmm... I'll download the ROM tomorrow and see if I have any joy...
Sent from my GT-I9300 using xda app-developers app
The problem is the 9patch images
They haven't been recompiled properly
Find the rogue images, fix the 9patch and recompile
DSA said:
The problem is the 9patch images
They haven't been recompiled properly
Find the rogue images, fix the 9patch and recompile
Click to expand...
Click to collapse
Thanks for that info but I think I'll just theme Ultima with xperia z things seems like it will be a lot easier, all I want is xperia z looks with a transparent status bar, without having to use deluxe settings lol.
And thanks for everyone who helped find where the problem is

[Q] Decompiling error

So whenever i try to decompile the systemUi or any other apk i get this error.I use apk multi tool Any help would be appreciated.
'mode' is not recognized as an internal or external command,
operable program or batch file.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x00004e42
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x0000001f
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Writer.java:157)
at brut.androlib.res.util.ExtMXSerializer.writeAttrib uteValue(ExtMXSerializer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute (MXSerializer.java:673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelega te.attribute(XmlSerializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializer Wrapper.writeStartTag(StaticXmlSerializerWrapper.j ava:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializer Wrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.e vent(XmlPullStreamDecoder.java:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.dec ode(XmlPullStreamDecoder.java:130)
at brut.androlib.res.decoder.XmlPullStreamDecoder.dec odeManifest(XmlPullStreamDecoder.java:144)
at brut.androlib.res.decoder.ResFileDecoder.decodeMan ifest(ResFileDecoder.java:131)
at brut.androlib.res.AndrolibResources.decode(Androli bResources.java:218)
at brut.androlib.Androlib.decodeResourcesFull(Androli b.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:11 4)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Did you install SystemUI.apk first?
Code:
apktool if SystemUI.apk
No, I'll try that later. Thanks for replying
Sent from my LG-MS770 using Tapatalk 2
i still get an error. it doesnt seem to install
MrGlowy said:
i still get an error. it doesnt seem to install
Click to expand...
Click to collapse
1. Are the .apk files from a deodexed ROM?
2. When you installed the SystemUI using apktool if, did you write the path to the apk? (ex. apktool if C:\Users\Admin\SystemUI.apk)
3. Also try installing the framework-res.apk from the same ROM
1.yes
2.no
3. Ok
I'll try, thanks.
Sent from my LG-MS770 using Tapatalk 2
MrGlowy said:
1.yes
2.no
3. Ok
I'll try, thanks.
Sent from my LG-MS770 using Tapatalk 2
Click to expand...
Click to collapse
This is what i get when trying to install anything
MrGlowy said:
This is what i get when trying to install anything
Click to expand...
Click to collapse
You're not entering the correct path to the .apk. Make sure that there is a framework-res.apk in a folder called apktool in your user folder (whatever it is called). Then retry the command. The errors that the shell is throwing out are saying that it cannot the specified path.

[Q][Android 4.1.2] Can't select radio option list

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?

Categories

Resources