[Q] Decompiling ICS 4.0 APK - HTC EVO 3D

Hey all im having some trouble decompiling ICS APKS im using apk tool and i loaded the new framework res apk which gives me flags and decompiling also gives me flags if you guys could take a look and help me out where im going wrong id be greatly appreciated
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\DK>apktool if "C:\Users\DK\Desktop\ICS\framework-res.apk" ICS
W: Config flags size > 32. Exceeding bytes: -2FFE0000.
W: Invalid config flags detected: dimen-v13-ERR0
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR1
W: Config flags size > 32. Exceeding bytes: 00040000.
W: Invalid config flags detected: dimen-v13-ERR2
W: Config flags size > 32. Exceeding bytes: 00050000.
W: Invalid config flags detected: dimen-v13-ERR3
W: Config flags size > 32. Exceeding bytes: 58020000.
W: Invalid config flags detected: layout-v13-ERR4
W: Config flags size > 32. Exceeding bytes: 68010000.
W: Invalid config flags detected: integer-v13-ERR5
W: Config flags size > 32. Exceeding bytes: -BFF0000.
W: Invalid config flags detected: integer-v13-ERR6
W: Config flags size > 32. Exceeding bytes: 58020000.
W: Invalid config flags detected: integer-v13-ERR7
W: Config flags size > 32. Exceeding bytes: -2FFE0000.
W: Invalid config flags detected: integer-v13-ERR8
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: integer-v13-ERR9
W: Config flags size > 32. Exceeding bytes: -1FFF0000.
W: Invalid config flags detected: bool-v13-ERR10
I: Framework installed to: C:\Users\DK\apktool\framework\1-ICS.apk
C:\Users\DK>apktool d -f "C:\Users\DK\Desktop\ICS\framework-res.apk" "C:\U
sers\DK\Desktop\ICS\framework-res"
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: -2FFE0000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR0
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR1
W: Config flags size > 32. Exceeding bytes: 00040000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR2
W: Config flags size > 32. Exceeding bytes: 00050000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR3
W: Config flags size > 32. Exceeding bytes: 58020000.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR4
W: Config flags size > 32. Exceeding bytes: 68010000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR5
W: Config flags size > 32. Exceeding bytes: -BFF0000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR6
W: Config flags size > 32. Exceeding bytes: 58020000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR7
W: Config flags size > 32. Exceeding bytes: -2FFE0000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR8
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR9
W: Config flags size > 32. Exceeding bytes: -1FFF0000.
W: Invalid config flags detected. Dropping resources: bool-v13-ERR10
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\DK>apktool b "C:\Users\DK\Desktop\ICS\framework-res" A:\framework
-res.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
C:\Users\DK>

Me too... I want to change the minimum version required on a few apps.
Via My HTC Evo 3D On The Now Network From Sprint.

*BUMP* Can anybody help here or get a Decker here that can help with this. I don't know most of them.
Sent from my PG86100 using Tapatalk

#bump #
Sent from my PG86100 using XDA App

I swear you need the source to update the tools. They were able to do honeycomb by reverse engineering.
Sent from my Nexus S 4G

I see by reading the post that installing the framework is the problem. Did you buy chance try the honeycomb tool?

Any luck with this yet?
EDIT: I fixed my problem by using apktool version 1.4.2 was using 1.4.1

kylesum said:
Any luck with this yet?
EDIT: I fixed my problem by using apktool version 1.4.2 was using 1.4.1
Click to expand...
Click to collapse
Same here, used this. Now it works
http://forum.xda-developers.com/showpost.php?p=19839303&postcount=25

Related

Decompile errors "framework-res" ICS leak.

I was trying to decompile the leaked ICS framework-res.apk using xda tools.
HTC Thunderbolt xdaAutoTool Version:4.0.3 Used apktool_1.4.1 and tried 1.4.2 , 1.4.3, 1.4.5 and 1.4.10
I get the following errors:
-----------------------------------------------------
[*] framework-res.apk
-----------------------------------------------------
Decompiling framework-res.apk...
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: -2FFE000000000000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR0
W: Config flags size > 32. Exceeding bytes: 0000D00200000000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR1
W: Config flags size > 32. Exceeding bytes: 0004000000000000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR2
W: Config flags size > 32. Exceeding bytes: 0005000000000000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR3
W: Config flags size > 32. Exceeding bytes: 0000000001000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR4
W: Config flags size > 32. Exceeding bytes: 0000000002000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR5
W: Config flags size > 32. Exceeding bytes: 0000000004000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR6
W: Config flags size > 32. Exceeding bytes: 0000000005000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR7
W: Config flags size > 32. Exceeding bytes: 0000000001000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR8
W: Config flags size > 32. Exceeding bytes: 0000000002000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR9
W: Config flags size > 32. Exceeding bytes: 0000000004000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR10
W: Config flags size > 32. Exceeding bytes: 0000000005000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR11
W: Config flags size > 32. Exceeding bytes: 0000000001000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR12
W: Config flags size > 32. Exceeding bytes: 0000000002000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR13
W: Config flags size > 32. Exceeding bytes: 0000000004000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR14
W: Config flags size > 32. Exceeding bytes: 0000000005000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR15
W: Config flags size > 32. Exceeding bytes: 5802000000000000.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR16
W: Config flags size > 32. Exceeding bytes: 6801000000000000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR17
W: Config flags size > 32. Exceeding bytes: -BFF000000000000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR18
W: Config flags size > 32. Exceeding bytes: 5802000000000000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR19
W: Config flags size > 32. Exceeding bytes: -2FFE000000000000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR20
W: Config flags size > 32. Exceeding bytes: 0000D00200000000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR21
W: Config flags size > 32. Exceeding bytes: -1FFF000000000000.
W: Invalid config flags detected. Dropping resources: bool-v13-ERR22
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Done!
Can anyone help? Please
I like to thank everyone in advance for any help with this problem.
Electric0215
electric0215 said:
I was trying to decompile the leaked ICS framework-res.apk using xda tools.
HTC Thunderbolt xdaAutoTool Version:4.0.3 Used apktool_1.4.1 and tried 1.4.2 , 1.4.3, 1.4.5 and 1.4.10
I get the following errors:
-----------------------------------------------------
[*] framework-res.apk
-----------------------------------------------------
Decompiling framework-res.apk...
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: -2FFE000000000000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR0
W: Config flags size > 32. Exceeding bytes: 0000D00200000000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR1
W: Config flags size > 32. Exceeding bytes: 0004000000000000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR2
W: Config flags size > 32. Exceeding bytes: 0005000000000000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR3
W: Config flags size > 32. Exceeding bytes: 0000000001000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR4
W: Config flags size > 32. Exceeding bytes: 0000000002000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR5
W: Config flags size > 32. Exceeding bytes: 0000000004000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR6
W: Config flags size > 32. Exceeding bytes: 0000000005000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR7
W: Config flags size > 32. Exceeding bytes: 0000000001000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR8
W: Config flags size > 32. Exceeding bytes: 0000000002000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR9
W: Config flags size > 32. Exceeding bytes: 0000000004000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR10
W: Config flags size > 32. Exceeding bytes: 0000000005000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR11
W: Config flags size > 32. Exceeding bytes: 0000000001000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR12
W: Config flags size > 32. Exceeding bytes: 0000000002000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR13
W: Config flags size > 32. Exceeding bytes: 0000000004000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR14
W: Config flags size > 32. Exceeding bytes: 0000000005000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR15
W: Config flags size > 32. Exceeding bytes: 5802000000000000.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR16
W: Config flags size > 32. Exceeding bytes: 6801000000000000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR17
W: Config flags size > 32. Exceeding bytes: -BFF000000000000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR18
W: Config flags size > 32. Exceeding bytes: 5802000000000000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR19
W: Config flags size > 32. Exceeding bytes: -2FFE000000000000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR20
W: Config flags size > 32. Exceeding bytes: 0000D00200000000.
W: Invalid config flags detected. Dropping resources: integer-v13-ERR21
W: Config flags size > 32. Exceeding bytes: -1FFF000000000000.
W: Invalid config flags detected. Dropping resources: bool-v13-ERR22
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Done!
Can anyone help? Please
I like to thank everyone in advance for any help with this problem.
Electric0215
Click to expand...
Click to collapse
Have you tried Apktool v1.4.9.aed20bd? Also make sure to run "apktool if framework-res.apk"
Thanks Trter10
trter10 said:
Have you tried Apktool v1.4.9.aed20bd? Also make sure to run "apktool if framework-res.apk"
Click to expand...
Click to collapse
I ran apktool in command prompt and was able to Keep-Broken_Res. I did use V1.4.9...Thanks
It seems that there are two View Language folders that are broken.
Now I just need to resolve these and compile framework and also com.htc.resource.
Thanks for leading me in the right direction.
electric0215
the config flag crap is standard is most ics/sense ics files...it doesnt affect anything
you may need to make changes to several files in /values (anims.xml and so on) to get the framework-res to build however
Try using this I'm not sure if it will work for ics but it worked for gb http://db.tt/A5ig7Cjb
Sent from my ADR6400 using xda premium
I've had pretty good luck with just opening the zip BetterZIP (Mac) but not extracting it. Take the files out you want to modify and then drag them back in then save it.
enzonix said:
I've had pretty good luck with just opening the zip BetterZIP (Mac) but not extracting it. Take the files out you want to modify and then drag them back in then save it.
Click to expand...
Click to collapse
I use Mac also. Just dual boot using a virtual machine. I prefer vmware fusion
Sent from my Liquid ICS HTC Thunderbolt
jonah1234 said:
I use Mac also. Just dual boot using a virtual machine. I prefer vmware fusion
Sent from my Liquid ICS HTC Thunderbolt
Click to expand...
Click to collapse
I used to do the whole VM thing and I hit a road block that I just haven't had time to look into. For some reason on this new Mac Pro it won't let me install XP with Fusion, it's the same with Boot Camp too. Could just be this Mac as I've done this before. 7 works but I prefer XP, IF I HAVE to use Windows.
enzonix said:
I used to do the whole VM thing and I hit a road block that I just haven't had time to look into. For some reason on this new Mac Pro it won't let me install XP with Fusion, it's the same with Boot Camp too. Could just be this Mac as I've done this before. 7 works but I prefer XP, IF I HAVE to use Windows.
Click to expand...
Click to collapse
I prefer windows 7 I don't like Mac it limits u from a lot
Sent from my Liquid ICS HTC Thunderbolt
jonah1234 said:
I prefer windows 7 I don't like Mac it limits u from a lot
Sent from my Liquid ICS HTC Thunderbolt
Click to expand...
Click to collapse
lol I don't want this to start to snowball so I'll say this... They're all tools, they each have their own uses. Both are often good at the same tasks it just takes a user that knows how to use the tool properly.
enzonix said:
lol I don't want this to start to snowball so I'll say this... They're all tools, they each have their own uses. Both are often good at the same tasks it just takes a user that knows how to use the tool properly.
Click to expand...
Click to collapse
Ok agreed. Back on topic has anyone been able to decompile framework-res apk on liquid ics because i was gonna start working on a theme for that tonight.
Sent from my Liquid ICS HTC Thunderbolt
jonah1234 said:
Ok agreed. Back on topic has anyone been able to decompile framework-res apk on liquid ics because i was gonna start working on a theme for that tonight.
Sent from my Liquid ICS HTC Thunderbolt
Click to expand...
Click to collapse
I'm no dev but have done some playing around that APK and depending on what you're trying to do you shouldn't need to decompile it. If you're messing around with images and maybe the XML files then you should be able to just open (not extract) it with a good ZIP application (keeping a backup first). Then edit the files and save them into the APK

Apk Recompile Error

When I decompile framework-res.apk I get this error
Code:
c:\root\apktool>apktool d framework-res.apk
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: -2FFE0000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR0
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR1
W: Config flags size > 32. Exceeding bytes: 00040000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR2
W: Config flags size > 32. Exceeding bytes: 00050000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR3
W: Config flags size > 32. Exceeding bytes: 58020000.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR
W: Config flags size > 32. Exceeding bytes: 68010000.
W: Invalid config flags detected. Dropping resources: integer-v13-ER
W: Config flags size > 32. Exceeding bytes: -BFF0000.
W: Invalid config flags detected. Dropping resources: integer-v13-ER
W: Config flags size > 32. Exceeding bytes: 58020000.
W: Invalid config flags detected. Dropping resources: integer-v13-ER
W: Config flags size > 32. Exceeding bytes: -2FFE0000.
W: Invalid config flags detected. Dropping resources: integer-v13-ER
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected. Dropping resources: integer-v13-ER
W: Config flags size > 32. Exceeding bytes: -1FFF0000.
W: Invalid config flags detected. Dropping resources: bool-v13-ERR10
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
When I recompile I a get a similar error. Any help would be very helpful.

[Q] impossible to decompile the htc.resources.apk of the dna?!

Does anyone figured out how to decompile the com.htc.resources.apk for the htc dna? I used apktool but it won't install the resources.apk in its folder...it gives back errors like :
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR41
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR42
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR43
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-480dpi-ERR44
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-480dpi-ERR45
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-480dpi-ERR46
santacruzdz said:
Does anyone figured out how to decompile the com.htc.resources.apk for the htc dna? I used apktool but it won't install the resources.apk in its folder...it gives back errors like :
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR41
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR42
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR43
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-480dpi-ERR44
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-480dpi-ERR45
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-480dpi-ERR46
Click to expand...
Click to collapse
Did you install the framework-res.apk and systemui.apk first?
Sent from my Team 420 themed HTC Droid DNA
It worked it just won't recompile in that same build folder ... You have to replace the individual pieces ..
Unzip the apk and decompile it so you have two folders ..
If you decompile and edit XML then just go into the decompiled folder edit what you need then recompile .. once you have done that just replace the resources.asrc from inside the build folder of the decompiled apk and move it inside the unzipped folder and rezip it/ name it apk instead of zip and your changes will be in there
Same goes for images ... Decompile and make whatever changes then recompile and replace only the images inside the drawable xxdpi folder and rezip/rename
If this is hard to follow ... Sorry I'm typing all from memory on my phone at work ...
Sent from my HTC6435LVW using xda app-developers app
gitku said:
It worked it just won't recompile in that same build folder ... You have to replace the individual pieces ..
Unzip the apk and decompile it so you have two folders ..
If you decompile and edit XML then just go into the decompiled folder edit what you need then recompile .. once you have done that just replace the resources.asrc from inside the build folder of the decompiled apk and move it inside the unzipped folder and rezip it/ name it apk instead of zip and your changes will be in there
Same goes for images ... Decompile and make whatever changes then recompile and replace only the images inside the drawable xxdpi folder and rezip/rename
If this is hard to follow ... Sorry I'm typing all from memory on my phone at work ...
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
I dont really understand how can I decompile an unzipped apk?? I usually use apk manager which has apktool, could you please provide me a clear step by step procedure, that would be helpful, thank you!!
You'll have 2 folders ... Decompile using apk tool and just overlook the errors ... Also unzip the original apk (for example you would have a folder named "SystemUI" [this is the decompiled folder] and another named "SystemUI.apk_files" [using Linux this is what the extracted or unzipped folder would be named] the difference is that the unzipped folder isn't decoded so you can't edit XML and editing the .9.PNG images is more of a pain .. then edit inside the decompiled and drag your changes over to the unzipped one and rezip/rename it. Apktool will not rebuild entirely correctly so you have to do it this way .. its the only way I have been successful anyways. If this isn't clear enough I'll throw you some screen shots in a few hours.
Sent from my HTC6435LVW using xda app-developers app
gitku said:
You'll have 2 folders ... Decompile using apk tool and just overlook the errors ... Also unzip the original apk (for example you would have a folder named "SystemUI" [this is the decompiled folder] and another named "SystemUI.apk_files" [using Linux this is what the extracted or unzipped folder would be named] the difference is that the unzipped folder isn't decoded so you can't edit XML and editing the .9.PNG images is more of a pain .. then edit inside the decompiled and drag your changes over to the unzipped one and rezip/rename it. Apktool will not rebuild entirely correctly so you have to do it this way .. its the only way I have been successful anyways. If this isn't clear enough I'll throw you some screen shots in a few hours.
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
Yes I would definitely lie some screenshots please! My problem is that apktool doesn't "install" the com.htc.ressources.apk so it won't decompile it! I get a empty folder..
I have another question, which verion of apktool are you using?
To install resources.
Apktool if com.htc.resources.apk
Same for framework-res.apk
Sent from my HTC6435LVW using xda premium
jonah1234 said:
Did you install the framework-res.apk and systemui.apk first?
Sent from my Team 420 themed HTC Droid DNA
Click to expand...
Click to collapse
Yes I installed framework-res and framework-htc.apk and SystemUI.apk...but impossible to install com.htc.resources.apk! please help!
santacruzdz said:
Yes I installed framework-res and framework-htc.apk and SystemUI.apk...but impossible to install com.htc.resources.apk! please help!
Click to expand...
Click to collapse
those errors are common when installing the frameworks...what does the entire error say? usually it has all the flag stuff but still says installed afterwards
I misunderstood ... Are you using Windows or Linux? If Linux I'll send you the version of apk tool I got half working .. I've heard apkmulti tool works on windows but it didn't for me
Sent from my HTC6435LVW using xda app-developers app
gitku said:
I misunderstood ... Are you using Windows or Linux? If Linux I'll send you the version of apk tool I got half working .. I've heard apkmulti tool works on windows but it didn't for me
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
I use windows, apktool works fine with all other apk's..only com.htc.resources.apk...
nitsuj17 said:
those errors are common when installing the frameworks...what does the entire error say? usually it has all the flag stuff but still says installed afterwards
Click to expand...
Click to collapse
This the log :
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode, sharing)
Impossible de trouver C:\Users\santa_cruzdz\Desktop\ANDROID\Decompile-Recompile\Decompile-Recompile\APK Manager 5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/signedcom.htc.resources.apk
Impossible de trouver C:\Users\santa_cruzdz\Desktop\ANDROID\Decompile-Recompile\Decompile-Recompile\APK Manager 5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedcom.htc.resources.apk
I: Loading resource table...
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-xxhdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-xxhdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-xxhdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-hdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xhdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xhdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xhdpi-ERR16
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xxhdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xxhdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xxhdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-hdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-hdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-hdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xhdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xhdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xhdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xxhdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xxhdpi-ERR27
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xxhdpi-ERR28
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR29
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR30
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR31
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xhdpi-ERR32
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xhdpi-ERR33
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xhdpi-ERR34
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xxhdpi-ERR35
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xxhdpi-ERR36
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xxhdpi-ERR37
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR38
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR39
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR40
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR41
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR42
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR43
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xxhdpi-ERR44
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xxhdpi-ERR45
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xxhdpi-ERR46
Exception in thread "main" java.lang.NullPointerException
at brut.androlib.res.decoder.ARSCDecoder.addMissingResSpecs(ARSCDecoder.java:321)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:134)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:106)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:390)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:56)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:48)
at brut.androlib.Androlib.getResTable(Androlib.java:48)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:166)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
Code:
[/HIDE]
I get an empty folder when decompiling...
santacruzdz said:
This the log :
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode, sharing)
Impossible de trouver C:\Users\santa_cruzdz\Desktop\ANDROID\Decompile-Recompile\Decompile-Recompile\APK Manager 5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/signedcom.htc.resources.apk
Impossible de trouver C:\Users\santa_cruzdz\Desktop\ANDROID\Decompile-Recompile\Decompile-Recompile\APK Manager 5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedcom.htc.resources.apk
I: Loading resource table...
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-xxhdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-xxhdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-xxhdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-hdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xhdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xhdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xhdpi-ERR16
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xxhdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xxhdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xxhdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-hdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-hdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-hdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xhdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xhdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xhdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xxhdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xxhdpi-ERR27
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xxhdpi-ERR28
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR29
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR30
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR31
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xhdpi-ERR32
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xhdpi-ERR33
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xhdpi-ERR34
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xxhdpi-ERR35
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xxhdpi-ERR36
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xxhdpi-ERR37
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR38
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR39
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR40
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR41
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR42
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR43
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xxhdpi-ERR44
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xxhdpi-ERR45
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xxhdpi-ERR46
Exception in thread "main" java.lang.NullPointerException
at brut.androlib.res.decoder.ARSCDecoder.addMissingResSpecs(ARSCDecoder.java:321)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:134)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:106)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:390)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:56)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:48)
at brut.androlib.Androlib.getResTable(Androlib.java:48)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:166)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
Code:
[/HIDE]
I get an empty folder when decompiling...[/QUOTE]
Your using a script program. Apkmanager isn't the way to go. Just use apktool from a command line
Sent from my EVO using xda premium
Click to expand...
Click to collapse
fernando sor said:
Your using a script program. Apkmanager isn't the way to go. Just use apktool from a command line
Sent from my EVO using xda premium
Click to expand...
Click to collapse
I did and I get the same error, I open a command line in the folder of apktool to install the htc.resources and it gives back the same errors, I'm desperate...please help????
Here is the log with only apktool :
C:\Users\santa_cruzdz\Desktop\other>apktool if com.htc.resources.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-xhdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-xhdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-xhdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-xhdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-xxhdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-xxhdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-xxhdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-xhdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-xhdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-xhdpi-ERR16
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-xxhdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-xxhdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-xxhdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-xhdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-xhdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-xhdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-xxhdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-xxhdpi-ERR27
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-xxhdpi-ERR28
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR29
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR30
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR31
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR32
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR33
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR34
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-xxhdpi-ERR35
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-xxhdpi-ERR36
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-xxhdpi-ERR37
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR38
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR39
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR40
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR41
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR42
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR43
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-xxhdpi-ERR44
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-xxhdpi-ERR45
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-xxhdpi-ERR46
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-hdpi-ERR47
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-hdpi-ERR48
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-hdpi-ERR49
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-hdpi-ERR50
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-xhdpi-ERR51
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-xhdpi-ERR52
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-xhdpi-ERR53
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-xhdpi-ERR54
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-xxhdpi-ERR55
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-xxhdpi-ERR56
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-xxhdpi-ERR57
I: Framework installed to: C:\Users\santa_cruzdz\apktool\framework\2.apk
C:\Users\santa_cruzdz\Desktop\other>
santacruzdz said:
I did and I get the same error, I open a command line in the folder of apktool to install the htc.resources and it gives back the same errors, I'm desperate...please help????
Here is the log with only apktool :
C:\Users\santa_cruzdz\Desktop\other>apktool if com.htc.resources.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-xhdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-xhdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-xhdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-xhdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-xxhdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-xxhdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-xxhdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-xhdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-xhdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-xhdpi-ERR16
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-xxhdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-xxhdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-xxhdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-xhdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-xhdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-xhdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-xxhdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-xxhdpi-ERR27
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-xxhdpi-ERR28
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR29
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR30
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR31
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR32
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR33
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR34
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-xxhdpi-ERR35
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-xxhdpi-ERR36
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-xxhdpi-ERR37
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR38
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR39
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR40
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR41
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR42
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR43
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-xxhdpi-ERR44
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-xxhdpi-ERR45
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-xxhdpi-ERR46
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-hdpi-ERR47
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-hdpi-ERR48
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-hdpi-ERR49
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-hdpi-ERR50
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-xhdpi-ERR51
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-xhdpi-ERR52
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-xhdpi-ERR53
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-xhdpi-ERR54
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-xxhdpi-ERR55
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-xxhdpi-ERR56
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-xxhdpi-ERR57
I: Framework installed to: C:\Users\santa_cruzdz\apktool\framework\2.apk
C:\Users\santa_cruzdz\Desktop\other>
Click to expand...
Click to collapse
Look at the very bottom line . It did install. Config flag errors have been present since at least sense 3.5.
Look in users\Santa_ cruzdz\apktool
You will see a 2.apk in there. That's com.HTC.resources file
Sent from my EVO using xda premium
fernando sor said:
Look at the very bottom line . It did install. Config flag errors have been present since at least sense 3.5.
Look in users\Santa_ cruzdz\apktool
You will see a 2.apk in there. That's com.HTC.resources file
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Yes you are right I found it thank you! Now that I try to decompile the same com.resources.apk doing the following code "apktool d com.htc.resources.apk" I get a folder inside the apktool folder when I click on it it is empty any idea please??
Here is the log while decompiling...
C:\Users\santa_cruzdz\Desktop\other>apktool d com.htc.resources.apk
I: Loading resource table...
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-xxhdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-xxhdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-xxhdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-hdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xhdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xhdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xhdpi-ERR16
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xxhdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xxhdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xxhdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-hdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-hdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-hdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xhdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xhdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xhdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xxhdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xxhdpi-ERR27
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xxhdpi-ERR28
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR29
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR30
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR31
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xhdpi-ERR32
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xhdpi-ERR33
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xhdpi-ERR34
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xxhdpi-ERR35
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xxhdpi-ERR36
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xxhdpi-ERR37
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR38
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR39
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR40
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR41
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR42
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR43
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xxhdpi-ERR44
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xxhdpi-ERR45
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xxhdpi-ERR46
Exception in thread "main" java.lang.NullPointerException
at brut.androlib.res.decoder.ARSCDecoder.addMissingResSpecs(ARSCDecoder.
java:315)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:133)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
5)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:386)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:56)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:48)
at brut.androlib.Androlib.getResTable(Androlib.java:49)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:166)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
C:\Users\santa_cruzdz\Desktop\other>
santacruzdz said:
Yes you are right I found it thank you! Now that I try to decompile the same com.resources.apk doing the following code "apktool d com.htc.resources.apk" I get a folder inside the apktool folder when I click on it it is empty any idea please??
Here is the log while decompiling...
C:\Users\santa_cruzdz\Desktop\other>apktool d com.htc.resources.apk
I: Loading resource table...
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-xxhdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-xxhdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-xxhdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-hdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xhdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xhdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xhdpi-ERR16
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xxhdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xxhdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ja-xxhdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-hdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-hdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-hdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xhdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xhdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xhdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xxhdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xxhdpi-ERR27
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-ko-xxhdpi-ERR28
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR29
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR30
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR31
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xhdpi-ERR32
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xhdpi-ERR33
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xhdpi-ERR34
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xxhdpi-ERR35
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xxhdpi-ERR36
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-xxhdpi-ERR37
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR38
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR39
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR40
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR41
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR42
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xhdpi-ERR43
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xxhdpi-ERR44
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xxhdpi-ERR45
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-xxhdpi-ERR46
Exception in thread "main" java.lang.NullPointerException
at brut.androlib.res.decoder.ARSCDecoder.addMissingResSpecs(ARSCDecoder.
java:315)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:133)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
5)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:386)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:56)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:48)
at brut.androlib.Androlib.getResTable(Androlib.java:49)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:166)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
C:\Users\santa_cruzdz\Desktop\other>
Click to expand...
Click to collapse
Yeah I thought it was possible to decompile because we can decompile jb HTC.resources on the evo lte but it looks like the xxdpi dimens can't be decompiled until aapt is updated
Sent from my HTC6435LVW using xda premium
---------- Post added at 12:40 PM ---------- Previous post was at 12:38 PM ----------
You can hex it though. That's an alternative
Sent from my HTC6435LVW using xda premium
fernando sor said:
Yeah I thought it was possible to decompile because we can decompile jb HTC.resources on the evo lte but it looks like the xxdpi dimens can't be decompiled until aapt is updated
Sent from my HTC6435LVW using xda premium
---------- Post added at 12:40 PM ---------- Previous post was at 12:38 PM ----------
You can hex it though. That's an alternative
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
Well thank you for your help anyway..I guess I have to wait and hope that it comes soon..I don't think I can use the hex..a little too complicated for me!
santacruzdz said:
Well thank you for your help anyway..I guess I have to wait and hope that it comes soon..I don't think I can use the hex..a little too complicated for me!
Click to expand...
Click to collapse
it is confusing the first time you use a hex editer but the trade off is that there is no decompiling/recompiling.
all cpu/logic unit processors, process computer instructions in binary which is a base two number system. So all high level languages (java,c++, etc) use a compiler to translate the instructions into binary.
when i say hex thats slang for using a hexadecimal program to modify the code. hexadecimal is a base 16 number system. 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f. the cool thing with base 16 is you can express large numbers in other systems with just two digits. in decimal ff=255. in binary ff= 11111111.
im sure you have seen in xml rgb color code. r=red, b=blue, g=green. add alpha to that and you have an 8 digit color code. example ff000000 is black. the first two digits here being ff. this applies the transparency. ff has 0 transparency. the next six digits 000000 have zero light value so ff000000 is black. Take away the ff and add 00 and 00000000 is completely transparent.
so if you were to take your resources.arsc and place it in hxd, a free hex editing program you could easily find all color codes that are stored in res /values/colors.
the very important thing to remember is in hxd the code is displayed backwards. so stock android green ff00ff00 would read 00ff00ff.
i would decompile 4.1 sense 4+ com.htc.resources from the evo lte or one x and use that as a guide. the values/color xml will be identical to the dnas. then search for those color values.
easy? no. but none of this stuff is easy. jump in.
fernando sor;35737nur said:
it is confusing the first time you use a hex editer but the trade off is that there is no decompiling/recompiling.
all cpu/logic unit processors, process computer instructions in binary which is a base two number system. So all high level languages (java,c++, etc) use a compiler to translate the instructions into binary.
when i say hex thats slang for using a hexadecimal program to modify the code. hexadecimal is a base 16 number system. 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f. the cool thing with base 16 is you can express large numbers in other systems with just two digits. in decimal ff=255. in binary ff= 11111111.
im sure you have seen in xml rgb color code. r=red, b=blue, g=green. add alpha to that and you have an 8 digit color code. example ff000000 is black. the first two digits here being ff. this applies the transparency. ff has 0 transparency. the next six digits 000000 have zero light value so ff000000 is black. Take away the ff and add 00 and 00000000 is completely transparent.
so if you were to take your resources.arsc and place it in hxd, a free hex editing program you could easily find all color codes that are stored in res /values/colors.
the very important thing to remember is in hxd the code is displayed backwards. so stock android green ff00ff00 would read 00ff00ff.
i would decompile 4.1 sense 4+ com.htc.resources from the evo lte or one x and use that as a guide. the values/color xml will be identical to the dnas. then search for those color values.
easy? no. but none of this stuff is easy. jump in.
Click to expand...
Click to collapse
Wow..this is not easy! but as you say..I have nothing to loose, the difficult part for I think will be to find the color values in the hex programi already played with colors and I know some color codes but not in hex..so think you for your support..and I will jump in thousands thanks that you took time to answer my questions.

APK tool weird errors

Im getting this error when trying to decompile apks from the latest AOKP nightly. So i tried to install this nightlies framework and get the same error
C:\Users\Sean\Desktop\New folder>apktool if framework-res.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-nodpi-v8-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-v8-ERR1
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-xhdpi-v8-ERR2
I: Framework installed to: C:\Users\Sean\apktool\framework\1.apk
C:\Users\Sean\Desktop\New folder>
ive never seen this before. What is causing it?

Apktool problem.

I am trying to do some mods to the prism apk. It's working fine with framework-res.apk but when i try to do apktool if com.htc.resources.apk i get this :
Code:
C:\Users\Ivke\Desktop\Apktool>apktool if com.htc.resources.apk
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x02050078 dimen/title_primary_xs, config=-mdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:63)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:199)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:168
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:134)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
9)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:686)
at brut.androlib.Androlib.installFramework(Androlib.java:640)
at brut.apktool.Main.cmdInstallFramework(Main.java:249)
at brut.apktool.Main.main(Main.java:91)
@ckpv5 Can you tell me the version of your apktool ?
Use latest version of apktool (https://code.google.com/p/android-apktool/) and latest aapt.
xpirt
xpirt said:
Use latest version of apktool (https://code.google.com/p/android-apktool/) and latest aapt.
xpirt
Click to expand...
Click to collapse
I have this problem with the latest version v2.0.0b7.
I downloaded the version 1.5.2 and now i get this,looks like it will do it but with errors :
Code:
C:\Users\Ivke\Desktop\apktool2>apktool d Prism.apk prism
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Ivke\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\Ivke\apktool\framework\2.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-mdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-mdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-mdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-mdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-mdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-mdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-mdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ja-mdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-mdpi-ERR16
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-mdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-mdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ko-mdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR27
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR28
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR29
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR30
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR31
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR32
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR33
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR34
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR35
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR36
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR37
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR38
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR39
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-mdpi-ERR40
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-mdpi-ERR41
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-mdpi-ERR42
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-mdpi-ERR43
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-hdpi-ERR44
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-hdpi-ERR45
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-hdpi-ERR46
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-hdpi-ERR47
I: Loaded.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
nightwalkerkg said:
I have this problem with the latest version v2.0.0b7.
I downloaded the version 1.5.2 and now i get this,looks like it will do it but with errors :
Click to expand...
Click to collapse
--keep-broken-res: http://forum.xda-developers.com/showthread.php?t=2229230 to decompile.
Now it's installed successfully btw.
xpirt
xpirt said:
--keep-broken-res: http://forum.xda-developers.com/showthread.php?t=2229230 to decompile.
Now it's installed successfully btw.
xpirt
Click to expand...
Click to collapse
I can't seem to run this variable in windows. Hmmm.
I managed to install it but with this error :
Code:
C:\Users\Ivke\Desktop\apktool2>apktool if com.htc.resources.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-mdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-mdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-mdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-mdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-mdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-mdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-mdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ja-mdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-mdpi-ERR16
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-mdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-mdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ko-mdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR27
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR28
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR29
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR30
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR31
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR32
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR33
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR34
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR35
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR36
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR37
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR38
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR39
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-mdpi-ERR40
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-mdpi-ERR41
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-mdpi-ERR42
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-mdpi-ERR43
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-hdpi-ERR44
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-hdpi-ERR45
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-hdpi-ERR46
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-hdpi-ERR47
I: Framework installed to: C:\Users\Ivke\apktool\framework\2.apk
It's 1.5.2 and I think this the latest version as I don't see any new version been released except beta
Check your Enviroment Variables and you have below set in System Variables PATH
C:\Program Files\Java\jre7\bin;
Anyway, mine is Windows 8.1 64bit with java 7 update 51(64-bit)
---------- Post added at 11:53 PM ---------- Previous post was at 11:49 PM ----------
nightwalkerkg said:
I managed to install it but with this error :
Click to expand...
Click to collapse
Don't worry about the error as what you're trying to mod is the prism.apk not com.htc.resources.apk
Oh if you're going to mod Prism.apk then the framework it's installed you can go ahead.
xpirt
Ok then,thanks a lot guys.
One more question i am trying to get the dock bar opaque on the blinkfeed but transparent on other screen pages. Can you just guide me where are the settings for the dock ? xD I am lost with all these files. xD
Is this Dock, you are referring to the NavBar ?
If it is the stock Prism.apk, you don't need to decommpile it. Just take out home_nav_bg.jpg from res/drawable-hdpi and change its transparency to your liking and drag it back to the Prism.apk. You'll have Dock transparent/any transparency that you choose but the dock on blinkfeed page still opaque.
Now that is something i can do easy. Thanks a lot.
I will try to follow the tutorial for porting 4.2 statusbar tiles to 4.1. If i have some questions i will post them here.
ckpv5 said:
Is this Dock, you are referring to the NavBar ?
If it is the stock Prism.apk, you don't need to decommpile it. Just take out home_nav_bg.jpg from res/drawable-hdpi and change its transparency to your liking and drag it back to the Prism.apk. You'll have Dock transparent/any transparency that you choose but the dock on blinkfeed page still opaque.
Click to expand...
Click to collapse
I did it,but when i push the Prism.apk to system and reboot i get fc.
Is the home_nav_bg.jpg properly done ? Is the permission is set correctly when pushed to system ?
Here is mine .. after I made the home_nav_bg.jpg transparent and pushed back the Prism.apk to system/app
Here is my apk if you want to compare with yours.
Time to bed now ... enjoy your new adventure in modding
ckpv5 said:
Is the home_nav_bg.jpg properly done ? Is the permission is set correctly when pushed to system ?
Here is mine .. after I made the home_nav_bg.jpg transparent and pushed back the Prism.apk to system/app
Here is my apk if you want to compare with yours.
Time to bed now ... enjoy your new adventure in modding
Click to expand...
Click to collapse
Permission,yeah. Forgot that. xD
Ok,i will do it tomorrow.
It's great,i was just going with the 1px divider.
Thanks man.
xpirt said:
--keep-broken-res: http://forum.xda-developers.com/showthread.php?t=2229230 to decompile.
Now it's installed successfully btw.
xpirt
Click to expand...
Click to collapse
hey sir i followed --keep broken res--- guide and typed [ java -jar apktool.jar d --keep-broken-res com.htc.resources.apk com.htc.resources-decoded ] and i deleted erro folders and after that i tried to compile com.htc.resources.apk but i got errors and i wasn"t able to compile framework (com.htc.resources.apk) i ask to u because u made lots of cool mods for (htc desire x ) so i thought u know about this prob please help
MY APKTOOL VERSION=1..5.2
ROM=SENSE 4.1
DEVICE=HTC DESIRE X DUAL SIM

Categories

Resources