Can't de-compile framework-res.apk in 6.0.1 - Galaxy S6 Q&A, Help & Troubleshooting

I can't de-compile framework-res.apk in 6.0.1.
Apktool version 2.0.3.
Apktool reports "Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file", when I using "apktool.bat if framework-res.apk".
Anyone knows the reason?
Thanks!

Apktool 2.0.3 dont work only apktool2.0.0. But recompiling framework-res.apk error will

grzegorz354 said:
Apktool 2.0.3 dont work only apktool2.0.0. But recompiling framework-res.apk error will
Click to expand...
Click to collapse
Thanks.
Does that mean we can't re-engineering framework-res.apk in Android 6.0?
Sent using XDA One

Related

[Q] APK Tool

For the life of me I can not recompile my systemUI.apk using the APK Tool
I decompiled it using:
java -jar apktool.jar b systemui.apk ./systemui
I get a few errors which I think should be ok if I could just Force the compile.
But the F orce doesn't seem to work. Any suggestions???
Here's the command line that I'm using.
java -jar apktool.jar b -f systemui/ newsystemui.apk
Any suggestions???
You have to install framework from framework-res.apk first with apktool....then you have to recompile systemUI.apk with dependencies ....the systemUI.apk uses the framework u installed as its base to decompile and recompile...
Sent from my SAMSUNG-SGH-I997 using xda premium
Edit..decompile systemUI with dependencies ...
Sent from my SAMSUNG-SGH-I997 using xda premium
Thanks, got it.
Cranky...
MitRa

APK Decompile errors

Keep getting Config flags size > 32. Exceeding bytes: -xxxxxxx errors when trying to edit any .apk for ics 4.0.3 with akptool. Can anyone steer me in the right direction?
Sent from my LG-P999 using XDA
Set heap at 64mb
Sent via G2X-SINGH-UI
Still not working. Any other ideas?
Sent from my LG-P999 using XDA
Update apktool and install the framework first by running:
apktool if framework-res.apk
then decompile your apk with:
apktool d whateverapp.apk
Mr. Apocalypse said:
Update apktool and install the framework first by running:
apktool if framework-res.apk
then decompile your apk with:
apktool d whateverapp.apk
Click to expand...
Click to collapse
I use just these two commands
DeCompiling
Java -jar apktool.jar d framework-res.apk
ReCompiling
Java -jar apktool.jar b framework-res out/framework-res.apk
A new folder out is added with recompiled framework inside it
LEWA OS M-1
I think I have the latest version of apktool and already installed frame-res and I still get the errors. It starts to decompile but then stops.
Sent from my LG-P999 using XDA

[Q] an interesting Apktool error

hi. I use apktool to decompile an apk but when i try i take errors. for example i can decompile framework-res and twframework-res on the other side i cannot decompile settings.apk, systemui.apk etc. this why?
I see this is your first post so maybe you haven't seen this thread
http://forum.xda-developers.com/showthread.php?t=1755243
Sent from my M886 using Tapatalk 2

[REQ][XPERIA E][ICS] Need patched services.jar (superuser mod) for xe ics

hey guys,
can anyone please provide me patched services.jar (superuser mod) for xperia e ics
thanks..

			
				
@bakshish007 here only for deodexed rom
H3LL said:
@bakshish007 here only for deodexed rom
Click to expand...
Click to collapse
yes I'm using deodex rom
I was having some issues while compiling back services.jar that's why I asked
thanks bro
and im really having issue will decompiling and recompiling ics apks [eg: settings] any solutions like any suggested framework~res for that?????
keep calm and call J.A.R.V.I.S
bakshish007 said:
yes I'm using deodex rom
I was having some issues while compiling back services.jar that's why I asked
thanks bro
and im really having issue will decompiling and recompiling ics apks [eg: settings] any solutions like any suggested framework~res for that?????
keep calm and call J.A.R.V.I.S
Click to expand...
Click to collapse
What problem??
DanielFlorin said:
What problem??
Click to expand...
Click to collapse
error while decompileing and compiling both
while decompileing apktool gives an error. after that I found some xmls blank
and also auto apktool says no success
keep calm and call J.A.R.V.I.S
bakshish007 said:
error while decompileing and compiling both
while decompileing apktool gives an error. after that I found some xmls blank
and also auto apktool says no success
keep calm and call J.A.R.V.I.S
Click to expand...
Click to collapse
post error log.....then we can say what causing problem
H3LL said:
post error log.....then we can say what causing problem
Click to expand...
Click to collapse
it gives framework-res error checked the logs of auto aoktool
Code:
W: Skipping "android" package group
W: Skipping "android" package group
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
i get this error while decompiling ics settings and i have already installed ics framework-res before decompiling @DanielFlorin please suggest something
keep calm and call J.A.R.V.I.S
bakshish007 said:
it gives framework-res error checked the logs of auto aoktool
Code:
W: Skipping "android" package group
W: Skipping "android" package group
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
i get this error while decompiling ics settings and i have already installed ics framework-res before decompiling @DanielFlorin please suggest something
keep calm and call J.A.R.V.I.S
Click to expand...
Click to collapse
SemcGenericUxpRes.apk...?
bakshish007 said:
it gives framework-res error checked the logs of auto aoktool
Code:
W: Skipping "android" package group
W: Skipping "android" package group
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
Click to expand...
Click to collapse
JAVA installed? here the solution - see project website for more info!
TiVON said:
SemcGenericUxpRes.apk...?
Click to expand...
Click to collapse
didn't tried SemvGenericUxpRes.apk (i will try today)
and @sportik555 I've installed the latest JDK, JRE, and I have latest ADT bundle.....
keep calm and call J.A.R.V.I.S
bakshish007 said:
didn't tried SemvGenericUxpRes.apk (i will try today)
and @sportik555 I've installed the latest JDK, JRE, and I have latest ADT bundle.....
keep calm and call J.A.R.V.I.S
Click to expand...
Click to collapse
My dear friend: you have to install both framework-res.apk and SemcGenericUxpRes.apk.
apktool if framework-res.apk
apktool if SemcGenericUxpRes.apk
apktool d services.jar
--do mods--
apktool b services.jar.out
Go to dist folder and open .jar. Open original .jar and copy META-INF from original to modded .jar.
TiVON said:
My dear friend: you have to install both framework-res.apk and SemcGenericUxpRes.apk.
apktool if framework-res.apk
apktool if SemcGenericUxpRes.apk
apktool d services.jar
--do mods--
apktool b services.jar.out
Go to dist folder and open .jar. Open original .jar and copy META-INF from original to modded .jar.
Click to expand...
Click to collapse
thanks bro setting.apk success wit semcgenericuxpres.apk
keep calm and call J.A.R.V.I.S
Test this:
Click me
Could you upload the deodex package as well please?
thanks
NeoTrix said:
Test this:
Click me
Could you upload the deodex package as well please?
thanks
Click to expand...
Click to collapse
Thanx neo but H3LL already provided a services.jar and install xboost it's a kind of stock deodex ics
keep calm and call J.A.R.V.I.S

smali help

hello everyone
i searched a lot but couldnt find anything so postiong here
i was trying to add some featues to home.apk and i got some errors while recompiling
so i tried decompile and recompile without editing anything...i didnt even open the decompiled home apk folder LOL
but i am getting lots of smali errors only in styles.xml
i think that apktool removes some templates from styles.xml i dont know what it means i just got it from my search
so can someone help me in fixing that error....
@serajr
 @SpaceCaker
 @marcussmith2626
 @iSiddharth
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
marcussmith2626 said:
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
Click to expand...
Click to collapse
Ah sorry
But what do u mean by WRONG apktool version??
abhishekr700 said:
Ah sorry
But what do u mean by WRONG apktool version??
Click to expand...
Click to collapse
use
gingerbread/ics/jb 1.5.2
https://code.google.com/p/android-apktool/downloads/list
jb/kitkat/lolipop apktool rc3
https://bitbucket.org/iBotPeaches/apktool/downloads
use correct framework-res
plus any other framework eg tw-framework
Use Advanced APK Tools for decompiling the APK files and you can also use the Attached Dex Editor to edit classes.dex files.....
Advanced APK tools is specially made for Xperia devicex. (use your "framework-res.apk" to install firmware in Advanced APK Tools)
(Drag and drop classes.dex in "Quick-Baksmali.cmd" to decompile and drag and drop the output folder is "Quick-Smali.cmd" to recompile.
Advanced APK Tools : http://forum.xda-developers.com/showthread.php?t=2639400

Categories

Resources