Hi guys
Im having problems with decompiling jar. I get always out of memory error (vm heap size).
Im using android utility. Files up to 2 MB work fine.
Anyone willing to help?
only tools for mac please
Thanks in advance
Henry_01 said:
Hi guys
Im having problems with decompiling jar. I get always out of memory error (vm heap size).
Im using android utility. Files up to 2 MB work fine.
Anyone willing to help?
Thanks in advance
Sent from my WFS running HC MIUI 3.2
Click to expand...
Click to collapse
I use backsmali manager and everything works great
Try it << there is also my framework.jar extracted. You can delete it if You want.
PS. You require ADB.
Related
Hi gys i just replace framework-res.apk with This function but my tab was crashed!! and i need the original framework-res.apk file located in system/framework my baseband is(actuly WAS!!!!) : XXKG7
hope it will make everything like what it was!
cant upload
do you still need this?
the apk is 10.4 mb and xda limit is 8 mb. will upload to some share if you still need this.
aashuirch said:
do you still need this?
the apk is 10.4 mb and xda limit is 8 mb. will upload to some share if you still need this.
Click to expand...
Click to collapse
Hi there I've been looking for this everywhere won't you be able to upload it for me?
Whats up?
Is there any apktool that decompie and compile an 3.6 and 4.0.3 apks?
I tried Apk Manager v4.9, getting errors.
Thanks!
I have looked for so long to be able to work apktool with 4.0.3 with no luck. I hope someone can help.
Sent from my GT-I9100 using xda premium
Hi,
Look here: http://forum.xda-developers.com/showthread.php?t=1511755
Thanks man.
but I tried it, it doesnt work on sense 3.6 just on android 4.0.3
thereupemi said:
Thanks man.
but I tried it, it doesnt work on sense 3.6 just on android 4.0.3
Click to expand...
Click to collapse
Ok here is the process:
Use apktool 1.4.3 to decompile the apk after loading the resource files obviously.
Then make all the modifications you want and recompile with apktool 1.4.2, now open original apk and modded apk with 7zip and replace "resource.arsc" file from modded one to the original one and you are done.
This is how it is done atleast in my case.
If you didn't understand I'll try to write a post with Screenshots if I find some time, hope it did helped you.
Sent from my HTC Vision using Tapatalk
Cool I will give it a try in the weekend, and let you know
Thanks Alot!
I wasn't successfully able to decompile/recompile stock framework-res.apk from HTC Vivid 4.03, but I was able to decompile/recompile the one from UOT Kitchen after I did a battery icon mod.
I'd try that if you guys still have problems. You may not actually have to even mod anything, just upload the required files, then download UOT's zip, then decompile/recompile using the tool in this thread.
Seen a few custom ROMs around already, so got me interested.
How to deodex the framework files of our 4.1.B.0.431 firmware? I just tried some solutions, however these didn't work.
The /system/app folder is deodexed already, but framework not, so I am unable to edit the framework.
Someguyfromhell said:
Seen a few custom ROMs around already, so got me interested.
How to deodex the framework files of our 4.1.B.0.431 firmware? I just tried some solutions, however these didn't work.
The /system/app folder is deodexed already, but framework not, so I am unable to edit the framework.
Click to expand...
Click to collapse
Check out odex solution by puppet? I did not test my self. As my internet bandwidth was over. Now it's up again, and I will try.
The odex solution by puppet worked on cm9 as reported by him. I will give it a try and report back. That is, in case some other person does not help you by then.
Thanks,
Rick
Sent from my SK17i using XDA
DragonClawsAreSharp said:
Check out odex solution by puppet? I did not test my self. As my internet bandwidth was over. Now it's up again, and I will try.
The odex solution by puppet worked on cm9 as reported by him. I will give it a try and report back. That is, in case some other person does not help you by then.
Thanks,
Rick
Sent from my SK17i using XDA
Click to expand...
Click to collapse
I need to deodex, not odex.
Someguyfromhell said:
I need to deodex, not odex.
Click to expand...
Click to collapse
Tickle My Android might be able to help..
Ticklefish said:
Tickle My Android might be able to help..
Click to expand...
Click to collapse
Tried. Result:
Code:
Tickle My Android v.3.0
By Ticklefish
tinyurl.com/ticklemyandroid
**ALWAYS Backup Your Device Before Modifying It!!**
------------------------------------------------------------------------------
Files Available For Deodexing:
Volume in drive C is WINDOWS
Volume Serial Number is F4ED-400E
Directory of C:\Users\Dude\Desktop\Tickle\TickleMyAndroid\_deodex
android.policy.odex apache-xml.odex bouncycastle.odex
core.odex core-junit.odex ext.odex
framework.odex services.odex
8 File(s) 20.250.120 bytes
0 Dir(s) 22.052.188.160 bytes free
Please Enter Filename That You Want To Deodex (case-sensitive)
Or Enter 'x' To Cancel: framework.odex
----------------
Now Deodexing "framework.odex" From "_deodex" Folder
--This Will Overwrite Any Existing Files--
Enter 'x' To Cancel Or Any Other Key To Continue: j
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: regCount does not match the number of a
rguments of the method
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont
ext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:92)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:76)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:265)
Caused by: java.lang.RuntimeException: regCount does not match the number of arg
uments of the method
at org.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.jav
a:160)
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:9
3)
at org.jf.dexlib.Code.Format.Instruction35c$Factory.makeInstruction(Inst
ruction35c.java:167)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:84)
... 6 more
Error occured at code address 0
code_item @0x18dbdc
----------------
Error! File Not Deodexed!
Press any key to continue . . .
The stock ROM is not fully odexed, but only some framework files, that's all.
Someguyfromhell said:
Seen a few custom ROMs around already, so got me interested.
How to deodex the framework files of our 4.1.B.0.431 firmware? I just tried some solutions, however these didn't work.
The /system/app folder is deodexed already, but framework not, so I am unable to edit the framework.
Click to expand...
Click to collapse
I don't know if my solution could help u or not, but let's try cuz there is no problem with me.
I Used UOT Kitchen to cook my framework-res.apk as usual, no need to mind about those .odex files. and when i get new framework-res.apk from UOT, Doom! I can edited it and enjoy with no problem.
I need to edit framework.jar file in order to add certain customizations.
Someguyfromhell said:
I need to edit framework.jar file in order to add certain customizations.
Click to expand...
Click to collapse
Oops! No idea too cause I can't Deodex since it just release few days.
Maybe you've seen this, and/or tried it. But still:
http://forum.xda-developers.com/showthread.php?t=1600805
iONEx said:
Maybe you've seen this, and/or tried it. But still:
http://forum.xda-developers.com/showthread.php?t=1600805
Click to expand...
Click to collapse
Thanks, will give it a try
Dsixda's Kitchen also deodexes the files at the /framework folder, although when I tried it on the system dump from stock Active, then Wifi and USB weren't working.
Might be a coincidence though. I'll see how it goes as I build ICS Spartan...
x-Ultimate v2.4 not working either
iONEx said:
Maybe you've seen this, and/or tried it. But still:
http://forum.xda-developers.com/showthread.php?t=1600805
Click to expand...
Click to collapse
it isn't working either with the framework.odex file throws the same error message! but deodexes other odex files frome framework dir.
gouthamthemostwanted said:
it isn't working either with the framework.odex file throws the same error message! but deodexes other odex files frome framework dir.
Click to expand...
Click to collapse
So i have the same issue as you have. did you get with any solution?
I'm just throwing it out there because i had some similar problems lately, this is for me running win7
Use jdk 6, not 7 and and add system variable to path value and also create a new JAVA_HOME variable with path to the jdk\bin folder
Just thowing it outthere since it seems your error is generated from the runtime services
iONEx said:
Maybe you've seen this, and/or tried it. But still:
http://forum.xda-developers.com/showthread.php?t=1600805
Click to expand...
Click to collapse
This works just deodexed .587
Hello,
i have a problem recompiling framework-res.apk.
I can flawlessly decompile and change any other apk (also system apks).
Decompiling the framework-res.apk goes flawlessly as well...
But when i try to recompile apktool tells me
could not find sources
checking whether resources has changed
building ressourced
Click to expand...
Click to collapse
then it gives and incredible long error message that something is wrong in values/plurals (I have not even touched it!!) and some other **** that may be wrong..
Even if I don´t change anything I get this message..
First of all:
- i have installed the framework (java -jar apktool.jar if framework-res.apk)
- i have updated to the latest aapt.exe
- i am using apktool 1.4.8 but it also happens with all other versions (I tried it)
I don´t know what´s wrong since I can flawlessly change any other apks that way as i told..
I hope you can help me!
Thanks in advance!
Use apkmanager is best...... to install framework, put it in others folder use "apktool if framework-res.apk" cmd..... as ur error says, u r not installed framework correctly i think..... try this....
Sent from my Micromax A60 using xda premium
Well... apkmanager is like an automatic Version of apktool...
So I will get same Error...
Can´t anyone help me? Has no one ever discovered this Problem before?...
Can you post the long error message to track the issue copy it to paste bin or something
Sent from my GT-N7000 using xda premium
spartanier7 said:
Hello,
i have a problem recompiling framework-res.apk.
I can flawlessly decompile and change any other apk (also system apks).
Decompiling the framework-res.apk goes flawlessly as well...
But when i try to recompile apktool tells me
then it gives and incredible long error message that something is wrong in values/plurals (I have not even touched it!!) and some other **** that may be wrong..
Even if I don´t change anything I get this message..
First of all:
- i have installed the framework (java -jar apktool.jar if framework-res.apk)
- i have updated to the latest aapt.exe
- i am using apktool 1.4.8 but it also happens with all other versions (I tried it)
I don´t know what´s wrong since I can flawlessly change any other apks that way as i told..
I hope you can help me!
Thanks in advance!
Click to expand...
Click to collapse
same problem!
Try THIS and report back.
Well thanks
That ICS Apktool worked. Allthough i was editing a JB apk...
Thanks anyway I hop it will remain working Otherwise I´ll report on that here.
Thanks again. You saved my ass.
The funny thing is that SystemUI is not recompilable with that apktool. But it works fine with my old one..
It seems that it only works for framework-res.apk...
isn´t that strange somehow?
spartanier7 said:
isn´t that strange somehow?
Click to expand...
Click to collapse
It is a pain in the ass, try this one for it which is what I use for my SystemUI and other problem APKs, but keep the two separate, so have the first in it's own folder and this in it's own folder...
Hey guys,
I was searching for a tool to edit an apk file and i found Apk Tool on xda but i think it's not
that much easy to work with this program. (for a n00b, like me.. )
I managed to open and edit te file with winRAR,
but is this program also capable of proper compiling the app again, ready to use?
I tried it and it worked well i think, but is this possible with any app or other kinds of changes?
If this is stupid or something, please tell me. I am not very experienced in these kinds of things.. (neither in english, sorry.. )
Somebody any ideas?
Thanks in advance!
bart1996 said:
Hey guys,
I was searching for a tool to edit an apk file and i found Apk Tool on xda but i think it's not
that much easy to work with this program. (for a n00b, like me.. )
I managed to open and edit te file with winRAR,
but is this program also capable of proper compiling the app again, ready to use?
I tried it and it worked well i think, but is this possible with any app or other kinds of changes?
If this is stupid or something, please tell me. I am not very experienced in these kinds of things.. (neither in english, sorry.. )
Somebody any ideas?
Thanks in advance!
Click to expand...
Click to collapse
It all depends on what you edit,obviously you didnt make a fatal change,so it must have been small,no its not possible to edit anything else as far as the manifest and xml files.You'll get a parsing error.
Diablo67 said:
It all depends on what you edit,obviously you didnt make a fatal change,so it must have been small,no its not possible to edit anything else as far as the manifest and xml files.You'll get a parsing error.
Click to expand...
Click to collapse
Okay, that's true i only changed those kinds of files and it wasn't a problem yet.
I changed somethings in an demo version of an app and now it recognizes it as the full version so winRAR can be pretty usefull for apk edit if you keep things simple like this..
bart1996 said:
Okay, that's true i only changed those kinds of files and it wasn't a problem yet.
I changed somethings in an demo version of an app and now it recognizes it as the full version so winRAR can be pretty usefull for apk edit if you keep things simple like this..
Click to expand...
Click to collapse
It only really works for editing images.
Admitting this is a nice way to get banned
Wayne Tech Nexus