Hello people,
i need to decompile framework-res.apk of i9505. I have done it without problems but...recompile is a problem!! I have a lot of errors!
I have tried to simply decompile and rebuild without making changes and...yes...problem again!
I'm using latest omega rom
Help me!
Try to use the latest apktool version.If it doesn't help paste the log here you'll get more help.
Sent from my GT-I9500 using Tapatalk 4
Related
Hi all
I have a Samsung Galaxy mini (S5570L) and I'm trying to edit Phone.apk, I wanna replace the unknown caller picture for the stock android picture, I already managed to do that but I have 2 questions:
1) When I try to replace Phone.apk with the one I edited the phone starts vibrating uncontrollably and I can't seem to be able to do pretty much anything, is there any special treatment when editing system APKs??
2) The stock Samsung ROM is odexed so I know editing and replacing the APK isn't as simple as it sounds, what else do I need to do after zipping the APK in APK Manager??
Thanx for you help
P.S.: This is a wild idea but is there a way to change the TouchWiz Phone.apk for the stock Froyo Phone.apk??
Akath19 said:
Hi all
I have a Samsung Galaxy mini (S5570L) and I'm trying to edit Phone.apk, I wanna replace the unknown caller picture for the stock android picture, I already managed to do that but I have 2 questions:
1) When I try to replace Phone.apk with the one I edited the phone starts vibrating uncontrollably and I can't seem to be able to do pretty much anything, is there any special treatment when editing system APKs??
2) The stock Samsung ROM is odexed so I know editing and replacing the APK isn't as simple as it sounds, what else do I need to do after zipping the APK in APK Manager??
Thanx for you help
P.S.: This is a wild idea but is there a way to change the TouchWiz Phone.apk for the stock Froyo Phone.apk??
Click to expand...
Click to collapse
To 2.
It causes issues if u have some odexed and one deodexed apk so u should deodex all apks.
1. Do a logcat to find out what's wrong .
Did u push the file via adb?
And u should sign the apk ...
Sent from my HTC HD2 using XDA Premium App
Thanx man, turns out I needed to deodex the APK before editing (which I didn't know).
I've got another question, since I'm using a stock Samsung ROM should I deodex all the system and framework apps?? 'Cause that sounds like a huge amount of work
Sent from my GT-S5570L using XDA App
Akath19 said:
Thanx man, turns out I needed to deodex the APK before editing (which I didn't know).
I've got another question, since I'm using a stock Samsung ROM should I deodex all the system and framework apps?? 'Cause that sounds like a huge amount of work
Sent from my GT-S5570L using XDA App
Click to expand...
Click to collapse
You are welcome
Try dsixdas kitchen which can deodexe all apks of ur Rom.deodexing makes the Rom faster.
Sent from my HTC HD2 using XDA Premium App
I've successfully (or so I think) decompiled the S4 framework-res using apk-tool but for the life of me cant get it to recompile. Anyone had any success? I'm trying on the windows platform but don't have an issue using linux if that'll work.
Thanks.
Can anyone help me...I use prerooted balliboxer firmware..everything is working fine..but I want colorful status not like white...plz help someone. ..
Sent from my SM-G7102 using XDA Premium 4 mobile app
You need to decompile the SystemUI.apk (which is the statusbar)
you can use apktool to decompile (afterall ther are plenty guides on XDA to modify statusbar)
once u've done decompiling, replace the images that you want
but dont modify .9.png i.e "9" images else apk will get corrupt or unstable.
then sign the apk and replace your modified systemUI.apk with the one in system/app
and bingo! you have a custom statusbar.
Heya everyone
I am having trouble decompile the gravitybox apk file
I get the error that cant decompile arsc file
I dont want to do major edits I just wanna edit the apk to hide it from launcher which is editing the manifest of app
Please help me
Thanks
You haven't loaded the correct framework into apktool
Make sure you have at least jellybean framework-res.apk and load it into apktool using
If framework-res.apk
Here is cm10 framework
http://d-h.st/zAg
marcussmith2626 said:
You haven't loaded the correct framework into apktool
Make sure you have at least jellybean framework-res.apk and load it into apktool using
If framework-res.apk
Here is cm10 framework
http://d-h.st/zAg
Click to expand...
Click to collapse
Sir I have loaded the framework from my xperia c which runs on 4.2.2
I have used this a'll to decompile other apps but it give this error with apktool only
abhishekr700 said:
Sir I have loaded the framework from my xperia c which runs on 4.2.2
I have used this a'll to decompile other apps but it give this error with apktool only
Click to expand...
Click to collapse
Try using a different apktool version - I would use 1.5.2 unless decompiling kitkat/lollipop apks
Apktool 1.5.2
https://code.google.com/p/android-apktool/downloads/list
Apktool rc4
https://bitbucket.org/iBotPeaches/apktool/downloads
marcussmith2626 said:
Try using a different apktool version - I would use 1.5.2 unless decompiling kitkat/lollipop apks
Apktool 1.5.2
https://code.google.com/p/android-apktool/downloads/list
Apktool rc4
https://bitbucket.org/iBotPeaches/apktool/downloads
Click to expand...
Click to collapse
Sir I'm already using 1.5.2 version
I will give a try to rc4
But what does the error mean?
So, i'm new to this entire thing, i'm hoiping im in the correct section. Redirect me if im not. I appreciate any help I can get.
I must be half retarded or full retarded cause I cannot figure out what i'm doing wrong.
I'm trying apk studio, apk tool, like everything. All I want to do is change a package name of my apk, but I cannot decompile it.
I'm not fully understanding the framework-res.apk I guess. I found one online and tried using it but I keep getting errors while trying to install the framework, and I can't find any framework files via google. Where am I supposed to get the Framework???
THis is the error i'm getting trying to install the framework. Am I using wrong framework? All I want to do is decompile dang apk rename package and recompile, this is killing me. Here is the error i'm getting.
Code:
C:\android\apktool>apktool if framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:52)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:39)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:685)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:667)
at brut.androlib.Androlib.installFramework(Androlib.java:642)
at brut.apktool.Main.cmdInstallFramework(Main.java:240)
at brut.apktool.Main.main(Main.java:87)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000000
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:238)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:201)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:189
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:157)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:11
4)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:78)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
... 6 more
There are a lot more talented people than me but I'll try my best to help you.
1. Make sure your have updated your apktool.jar to the latest version if using apk studio
2. You need to install the correct framework res for the app your trying to decompile. If it is a Google app then you are best using the latest cm framework res.apk so grab it from any cm rom that is the latest release
3. If it is a vendor app like Samsung then you will need the tw framework res.apk and the framework res.apk from the rom the app is from.
If you can tell me the app you want to decompile and the rom it's from I should be able to tell you which frameworks to install
Sent from my SM-N910F using Tapatalk
Well its a custom made app from my buddy, he went away on vacation and my whole goal is to just change the package name so I can run 2 instances. He told me to go ahead, than left on holiday,
He is on stock lollipop, not custom rom.
Syntax323 said:
Well its a custom made app from my buddy, he went away on vacation and my whole goal is to just change the package name so I can run 2 instances. He told me to go ahead, than left on holiday,
He is on stock lollipop, not custom rom.
Click to expand...
Click to collapse
OK then you probably just need the frameworkres.apk from cm 12 to be honest
Sent from my SM-N910F using Tapatalk
Do you have a link to it? Id really appreciate it. I can't find that, maybe i'm looking in wrong place?