[Q] Editing Mms.apk on Korean phone - Android Q&A, Help & Troubleshooting

Hi all,
I have a new Korea phone which I decompiled the Mms.apk and edited the xml to allow sending more than 160 chars.
On my first attempt to push it back to system, it wouldn't install. I was thinking maybe the signature was altered so I copied the compiled xml files into the original apk file and push it back into the system and this time it installed however sms is still limited to 80 chars.
My question now is that what are the other apk files that could affect sms settings and what other settings or files in the Mms.apk did I missed?
Sent from my IM-A860K using xda premium

Leechoonhwee said:
Hi all,
I have a new Korea phone which I decompiled the Mms.apk and edited the xml to allow sending more than 160 chars.
On my first attempt to push it back to system, it wouldn't install. I was thinking maybe the signature was altered so I copied the compiled xml files into the original apk file and push it back into the system and this time it installed however sms is still limited to 80 chars.
My question now is that what are the other apk files that could affect sms settings and what other settings or files in the Mms.apk did I missed?
Sent from my IM-A860K using xda premium
Click to expand...
Click to collapse
Did you copy all the xml files only the mainfest and meta inf is to be copied
More over this cannot be achieved by xml modding you need mod smali files or preferably compile Mms.apk from its source editing required filed
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!

sak-venom1997 said:
Did you copy all the xml files only the mainfest and meta inf is to be copied
More over this cannot be achieved by xml modding you need mod smali files or preferably compile Mms.apk from its source editing required filed
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
Basically I decompiled the Mmk.apk and I edited the xml and then recompile it again but it didnt want to be installed so I just copy the compiled xml into the original apk file and push it back into the system.
Compiling from source means I gotta get hold of a AOSP mms.apk source file and compile it from there?

Leechoonhwee said:
Basically I decompiled the Mmk.apk and I edited the xml and then recompile it again but it didnt want to be installed so I just copy the compiled xml into the original apk file and push it back into the system.
Compiling from source means I gotta get hold of a AOSP mms.apk source file and compile it from there?
Click to expand...
Click to collapse
Things like this are not controlled by xml files they are done within the code so grab a aosp source if you know java or mod the smali files
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!

sak-venom1997 said:
Things like this are not controlled by xml files they are done within the code so grab a aosp source if you know java or mod the smali files
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
Thanks. Modded the smali but still no go and it seems that it is the framework.jar that is needed to be changed but that's a different ball game so probably I might just try to port cm over to my device and solve everything in one go.
Sent from my IM-A860K using xda premium

Related

[Q]How to Replace Stock Emoticon? My MMS 4.0.4 Dilemma

I would like to replace the stock MMS emoticons with the ones provided in this zip file as Icon_pack.zip according to the array.xml map provided; also in the zip file I have been trying all day to compile the replacement but apparently my xdaAutoTool just isn't set up right. I have also provided my framework-res.apk; I am currently using HyDrOG3N-ICS-03-31-12-SGS2 based on AOKP 4.0.4. How do I do this?
I will provide anyone willing to assist with any other files necessary.
Any help would be appreciated.
I am even willing to buy anyone a beer if necessary (Paypal Only)
Is the aforementioned process even possible?
If you are just replacing the emoticon images why decompile? You can just replace those using zip software's right?
Sent from my GT-I9100 using xda premium
bala_gamer said:
If you are just replacing the emoticon images why decompile? You can just replace those using zip software's right?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
thanks for your response because I would like to edit out the noses and replace some of the keystrokes with others that I commonly use like the ({}) for hugs
if you change anything syntax, its client sided only, you'll be the only one whos gonna see it
Sent from my GT-I9100 using xda premium
toinktoink said:
if you change anything syntax, its client sided only, you'll be the only one whos gonna see it
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Blackberry use those codes so when my GF sends from her BB majority of these emoticons like the hug ({}) i don't see the picture smiley so i wanted to have them implemented into my messenger its just that i can't seem to get the compiling done on my pc and would wish if someone could just compile the apk with the array.xml provided
Success
I have done it have compiled and built my tailored mms.apk with emoticons of my choice.
I have uploaded a copy of my work the MMS33.apk uses 33x33px sized emoticons while the MMS48.apk uses 48x48px sized emoticons.
Sighz after a lot of reading and trial and error it's been done the MMS.apk is based on a copy obtained from HyDrOG3N-ICS 31-03-12 (AOKP ICS 4.0.4) anyone is free to use. I will just buy myself that beer!!!!! willing to help anyone with there customisation of the stock MMS.apk
EDIT: The noses have been removed and the syntax is heavily based on BB/iPhone
Can you share how to disable noses from message smileys? IT would be great
You need to decompile the MMS.apk and edit the array.xml file changing the smileys to without the noses and recompile and build a useable MMS.apk you can try the newest build I have made of the 4.0.4 for AOKP with smileys and emojis
How?
bigoisking said:
I have done it have compiled and built my tailored mms.apk with emoticons of my choice.
I have uploaded a copy of my work the MMS33.apk uses 33x33px sized emoticons while the MMS48.apk uses 48x48px sized emoticons.
Sighz after a lot of reading and trial and error it's been done the MMS.apk is based on a copy obtained from HyDrOG3N-ICS 31-03-12 (AOKP ICS 4.0.4) anyone is free to use. I will just buy myself that beer!!!!! willing to help anyone with there customisation of the stock MMS.apk
EDIT: The noses have been removed and the syntax is heavily based on BB/iPhone
Click to expand...
Click to collapse
Hey, will you please tell me how you worked out while changing images? It's because every time I try to put that apk in my phone(after decompile/recompile with stock images replaced), no such app is shown in app drawer.
Help me what to do after replacing images.
Thanks.
I would suggest you extract the mms.apk from the current ROM you are using and decompile replace the emoticons you want with .jpg if the same name edit out the noses if you wish and then recompile. Copy to system/app directory removing the previous mms.apk that was there first. Change the newly copied mms.apk permission to (rw- r-- r--) and restart it should show up in the drawer. If it doesn't head over to system/app again and touch the mms.apk and install it once installation is complete it will show.
NB. There should be no errors when decompiling and recompiling your mms.apk
Sent from my GT-I9100 using xda premium

[Q] What is VRTHEME??

I saw lots of theme which has this in their title. but I can't find any guide or tutorial about this. So, what is this? how could I use it? has it any benefit over usual "decompile/theme/recompile/replace"ing an apk?Is there any script to implement it like apktool?
Its the universal theme flasher created by Villain ROM.
As for all your other questions I'm not sure.
Sent from my GT-I9100 using XDA
thanks,
correct me if I'm worng pls.
Universal theme flasher, is kind of template. and I should extract compiled PNGs and xmls from apk file and paste theme into that. and for editing theme, I need to paste and replace those files into the apk file and then decompile that apk.
then what should I do if I changed something in "values" folder? cause it just appears in decompiled apps and It can't be seen in a compiled app.
sam5154 said:
thanks,
correct me if I'm worng pls.
Universal theme flasher, is kind of template. and I should extract compiled PNGs and xmls from apk file and paste theme into that. and for editing theme, I need to paste and replace those files into the apk file and then decompile that apk.
then what should I do if I changed something in "values" folder? cause it just appears in decompiled apps and It can't be seen in a compiled app.
Click to expand...
Click to collapse
I think after compiling the apk, you should copy the "classes" and the other file *-) I can remember its name, and add them there.
Am not sure *-) I had this question too but I thought abt trying it first and if it doesnt work I wld ask. I have no time to try I have exams
Ba7rani123 said:
I think after compiling the apk, you should copy the "classes" and the other file *-) I can remember its name, and add them there.
Am not sure *-) I had this question too but I thought abt trying it first and if it doesnt work I wld ask. I have no time to try I have exams
Click to expand...
Click to collapse
classes.dex is for the smali that has been edited if there was any.
I assume that if the xmls were edited and they point to new PNG images/objects then the resources has been changed. I would say that in this case you would need to have an updated resources file for these adjustments? This could be pulled from your newly compiled .apk that you want to base your flashable theme off?
I am unsure if resources needs to be updated though for certain? I have flashed in the past new xmls and they worked fine, however these were not referencing any new sources or images...so my thoughts are that these mods I made didn't require this additional file?? I could be wrong. I really should read the thread about it here on XDA. I did a long time ago, but have come a long way since then.
I diverse. Try using it without new resources file and see what happens?
You may also like to looking into Morphing as well (very similar concept).
James
i would also like a explanation to what vrtheme is, all i know is that when i flash it IT NEVER WORKS!
xdarkmario said:
i would also like a explanation to what vrtheme is, all i know is that when i flash it IT NEVER WORKS!
Click to expand...
Click to collapse
is your ROM deodexede? It only works on deodexed Rom?
Sent from my GT-N7100 using Tapatalk 2
sam5154 said:
is your ROM deodexede? It only works on deodexed Rom?
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
yep, both my phones i tried them on are deodexed.

[team d.i.r.t] how to properly de/recompile apks on all android versions!

There is now a new person taking over the apktool project, his name is ibotpeaches.. His apktool works with every android version up to date.. This thread will now be a basic guide on how to use apktool
iBotPeaches' APKTOOL THREAD
What I do is create a folder to work in and call it for example:
Code:
c:\apktools
1) Take the apktool.jar from ibot's OP and the modded aapt he provided and place them in the folder.
2) You will need to pull the framework-res.apk from the rom you are working on. Copy it to c:\apktools.
4) Open a command window and navigate to your apktool folder
cd c:\apktools
5) We now need to install the framework and type the following:
java -jar apktool.jar if framework-res.apk
If you are decompiling any framework other that AOSP ie: sense, touchwiz, ect you will have to install the framework and systemui.apk for them as well, ie: for miui it's framework-miui-res.apk
You only need to do this once, unless you are working on a different Rom, then you will need to copy the framework-res.apk from that Rom and run the above command again.
6) We can now decompile framework-res with apktool
java -jar apktool.jar d framework-res.apk (here you can add the folder you'd like to have your extracted apk save to)
it will create a folder by the name of the .apk or .jar by default but say you wanted it just to go to a folder called "frameres" (just to be a lil more convienent while typing your command would look like this
java -jar apktool.jar d framework-res.apk frameres
the d option stands for decompile and you will now see a folder under c:\apktools\frameres (in my case, yours will be whatever your output folder's name is). Here is all the output and can make any changes you want, and then can recompile. I would test to make sure you can recompile before making a lot of changes though.
6) We will now compile framework-res.apk
java -jar apktool.jar b frameres NEWframework-res.apk
I always put something different in the new apk name for instance i always put NEWapk.apk some people use numbers like apk1.apk ect.. whatever you feel is comfortable for you.. But once you enter the command it will take a few minutes and it should complete without any errors.
7) Once it is done compiling you will need to go to c:\apktools\ and you will now see your new framework-res.apk in my case titled "NEWframework-res.apk"
IMPORTANT LAST STEP
Once you recompile the apk you're going to wanna use 7-zip to open both the original UNMODDED apk and the newly compiled apk
you wanna copy the META-INF folder and the AndroidManifest.xml from the ORIGINAL into the NEWLY compiled apk otherwise your apk won't work
Just remember to copy any apk you want to decompile right into the root of c:\apktools, run the decompile command and it will create a folder of the output that has the same of the apk file.
Thanks for sharing and posting this! (I know there are similar threads scattered all over, but it's nice to see it fresh again). I am still on GB, but eagerly awaiting the update for ICS... Moto & AT&T - not quite a dynamic duo unfortunately...
And just to clarify a few things - what about the oem framework files, like moto/blur, touchwiz, etc..? I believe some apks require those to also be installed with apktool... and I've also read somewhere to install SystemUI.apk as well.. not sure if they are needed, but it doesn't hurt.
And at the end you mention for any xml edits to just copy the resources.arsc over to the old apk - but I think that is only for xml edits in the /values folders, that's what gets tucked in to the resources.arsc - one would still need to copy the edited and compiled xml from any other folder (like layout, anim, etc..), along with any other res changes...
Again, this is just my understanding, and I have my own ways that work well for me so far... and thanks for taking the time to put this thread together. Maybe it will serve as a sort of question and answer thread on the subject, as I have also seen many having troubles/questions..
Sent from my phone's mind
Okay fully got it but download link is broken can anyone share it with us if he has?
Regards
Sent from my GT-I9000 using Tapatalk 2
dreamer94 said:
Okay fully got it but download link is broken can anyone share it with us if he has?
Regards
Sent from my GT-I9000 using Tapatalk 2
Click to expand...
Click to collapse
It's working fine for me.
alteredlikeness said:
Thanks for sharing and posting this! (I know there are similar threads scattered all over, but it's nice to see it fresh again). I am still on GB, but eagerly awaiting the update for ICS... Moto & AT&T - not quite a dynamic duo unfortunately...
And just to clarify a few things - what about the oem framework files, like moto/blur, touchwiz, etc..? I believe some apks require those to also be installed with apktool... and I've also read somewhere to install SystemUI.apk as well.. not sure if they are needed, but it doesn't hurt.
And at the end you mention for any xml edits to just copy the resources.arsc over to the old apk - but I think that is only for xml edits in the /values folders, that's what gets tucked in to the resources.arsc - one would still need to copy the edited and compiled xml from any other folder (like layout, anim, etc..), along with any other res changes...
Again, this is just my understanding, and I have my own ways that work well for me so far... and thanks for taking the time to put this thread together. Maybe it will serve as a sort of question and answer thread on the subject, as I have also seen many having troubles/questions..
Sent from my phone's mind
Click to expand...
Click to collapse
Yes your right for htc , Motorola, touchwiz and some others you do have to install the appropriate frameworks and in those cases systemui as well but most of them do not have 4.0.4 if I'm not mistaken.. I know HTC is on 4.0.3 but that's all I can truly account for.. but about copying resources.arsc is only if you made XML edits in the values folders, it does state that if other changes were made you'd have to copy those as well.. I will clarify that better thanks for pointing that out
Sent from my Nexus S 4G using xda premium
evol4g said:
Yes your right for htc , Motorola, touchwiz and some others you do have to install the appropriate frameworks and in those cases systemui as well but most of them do not have 4.0.4 if I'm not mistaken.. I know HTC is on 4.0.3 but that's all I can truly account for.. but about copying resources.arsc is only if you made XML edits in the values folders, it does state that if other changes were made you'd have to copy those as well.. I will clarify that better thanks for pointing that out
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
Yea, Moto & Verizon just started last weekend - my buddy with a RAZR got the 4.0.4 update. I had a chance to do a system dump right away, then I decompiled the homescreen.apk just to take a look (I installed all 4 .apks in to apktool as I listed above for his system).
But, after I decompiled homescreen.apk I noticed that there were broken 9patch files already!! Before I even touched it. And that obviously messes up the compiling process - so I had to correct 6 or so broken .9.pngs - broken by Moto or Verizon, I can only assume - and after I repaired them everything compiled normally..
Just a heads-up that the "professional" devs mess up things also - and broken .9.pngs are often the cause for compiling errors..
Well, this is very handy.
I'd thought I'd chip in and say that resources.arsc often needs to be compressed at the right rate as well. If it's not at 'store', in other words if the file in the apk is smaller than normal, the app might not work correctly.
Thanks for the useful information! Here is an archive of batch files that simplify the process. Enough to drag needed file or folder with mouse at appropriate batch file:
apktool-if.cmd - installation of framework-res, SystemUI, etc.
apktool-d-1.4.2.cmd - decompiling with apktool.jar.1.4.2.
apktool-d-1.4.3.cmd - decompiling with apktool.jar.1.4.3.
apktool-b.cmd - building.
Correct version of apktool is selected automatically.
Link: ApkTools-ICS-Simple.rar
Thanks for sharing this info. I know a lot of people have been frustrated lately getting apks to properly decode and rebuild in ICS.
I took your great instructions and refined them a bit to reduce the workflow, having to rename the apktool.jar between decoding and building. You can download what I am using here.
First register framework-res by placing the framework-res.apk from your rom into the extracted apktool zip directory, then execute 0-FRAMEWORK-IF.BAT:
Code:
C:\Test\Test1.4.2-1.4.3>0-FRAMEWORK-IF.bat
I: Framework installed to: C:\Users\Derek\apktool\framework\1.apk
Next decode the apk, 1-DECODE.BAT SystemUI.apk . A new output sub-directory will automatically be created based on the apk name (SystemUI.apk_out):
Code:
C:\Test\Test1.4.2-1.4.3>apktool-1.4.2.bat d SystemUI.apk ./SystemUI.apk_out
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Derek\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Make your edits and build. 2-BUILD.BAT SystemUI.apk:
Code:
C:\Test\Test1.4.2-1.4.3>2-BUILD.bat SystemUI.apk
C:\Test\Test1.4.2-1.4.3>apktool-1.4.3.bat b -f -d SystemUI.apk_out
I: Smaling...
I: Building resources...
I: Building apk file...
Download zip package
a-id said:
Thanks for the useful information! Here is an archive of batch files that simplify the process. Enough to drag needed file with mouse at appropriate batch file:
apktool-if.cmd - installation of framework-res, SystemUI, etc.
apktool-d-1.4.2.cmd - decompiling with apktool.jar.1.4.2.
apktool-d-1.4.3.cmd - decompiling with apktool.jar.1.4.3.
apktool-b - building.
Correct version of apktool is selected automatically.
Link: ApkTools-ICS-Simple.rar
Click to expand...
Click to collapse
Awesome! Looks like we had the same idea in mind!
myn said:
Awesome! Looks like we had the same idea in mind!
Click to expand...
Click to collapse
It's not my merit, I just edited files a bit...
a-id said:
It's not my merit, I just edited files a bit...
Click to expand...
Click to collapse
Awesome thank you guys both, seriously the lack of support for the editing of 4.0.4 apks was really limiting the possibilities of ics, nice to see support from you guys
Sent from my Nexus S 4G using Tapatalk 2
Originally Posted by a-id
It's not my merit, I just edited files a bit...
Click to expand...
Click to collapse
Awesome thank you guys both, seriously the lack of support for the editing of 4.0.4 apks was really limiting the possibilities of ics, nice to see support from you guys
Sent from my Nexus S 4G using Tapatalk 2
Click to expand...
Click to collapse
Apktool and ICS haven't been friends for ages..but there's a new version out now. Head here:
http://forum.xda-developers.com/showthread.php?p=28366939#post28366939
This is designed to work with most ICS files. Some Sense files don't decompile properly but that's something HTC have done. That's nothing we can do about it.
Ticklefish said:
Apktool and ICS haven't been friends for ages..but there's a new version out now. Head here: http://forum.xda-developers.com/showthread.php?t=
This is designed to work with most ICS files. Some Sense files don't decompile properly but that's something HTC have done. That's nothing we can do about it.
Click to expand...
Click to collapse
Well that link doesn't work
Sent from my Nexus S 4G using Tapatalk 2
evol4g said:
Well that link doesn't work
Sent from my Nexus S 4G using Tapatalk 2
Click to expand...
Click to collapse
Yeah, the app didn't copy/paste correctly. I've updated the post.
Decompile Contacts.apk
I am trying o decompile any of the contacts.apk, logsprovider.apk or mms.apk to figure out a way to remove the SMS from call logs...anyone with an ideea how to accomplish this mission?
I have SGS2 with the new ICS 4.0.4 , XXLQ5
nice! thanks for redoing guide a guide like this!
---------- Post added at 12:41 AM ---------- Previous post was at 12:38 AM ----------
cristeaflorin2000 said:
I am trying o decompile any of the contacts.apk, logsprovider.apk or mms.apk to figure out a way to remove the SMS from call logs...anyone with an ideea how to accomplish this mission?
I have SGS2 with the new ICS 4.0.4 , XXLQ5
Click to expand...
Click to collapse
your going to need to provide more info about your setup... custom rom or stock rom? and have you google'd this question yet?
edit:
ive found this app, will it work for you? Call Log & SMS Clear
hmmm .. this is work for ICS 4.0.3 sir ??
Hmmmm using my easyapktool and decompiling & recompiling for ICS seems fine. I'm using the modded apktool from wanam...
Not working for odexed ROMS
da-pharoah said:
nice! thanks for redoing guide a guide like this!
---------- Post added at 12:41 AM ---------- Previous post was at 12:38 AM ----------
your going to need to provide more info about your setup... custom rom or stock rom? and have you google'd this question yet?
edit:
ive found this app, will it work for you? []
Click to expand...
Click to collapse
That ROM is fully stock and, ofcourse, odexed.It is rooted...i have google it for more than a week and tried all methods but nothing worked.That application u mentioned is doing the job(maybe) but manually.What i want is to find a method to remove from start the sms from call log, without any other further action.
I moved from that ROM to this one :WanamLite ICS UHLPS V12.2 Android 4.0.3 Stable Blue ICS & Stock Themed ...deodexed and he replaced the default option "View by - All logs" with "View by - All calls".Still not what I was looking for but is better than the stock.

[Q] Can't find smali folder after decompiling systemui.apk/framework-res.apk

Can't find smali folder after decompiling systemui.apk/framework-res.apk​
As the titles says, i'm unable to find smali folder either by decompiling using apktool or using 7zip or winrar or anything... I have hidden files/folder view enabled on my laptop/64bit windows 7. My device is xperia s with stoke ics 4.0.4. I posted here to know if its general. Or is there no smali folder in systemui.apk n framework-res.apk.. Or its something specific to sony's ics? Thanx for clarifying me doubt....
There are none in the framework-res.apk, and they reside in the SystemUI.odex on a stock odexed system - you need to first deodex to get to the smali files.
Sent from my phone's mind
Thanx man...
alteredlikeness said:
There are none in the framework-res.apk, and they reside in the SystemUI.odex on a stock odexed system - you need to first deodex to get to the smali files.
Sent from my phone's mind
Click to expand...
Click to collapse
So now i have to first decompress original firmware to get odex one or in port rom i can get and path pls

[Q] Help Required Editting framework.jar

Hi, I am hoping that one of the Android developers on here might be able to give me a bit of advice please regarding editting my 'framework.jar' file.
I have a Jiayu G3 phone running Android Jelly Bean 4.1.2 but my caller ID is not functioning properly because it is not matching local & international numbers. Having done a lot of searching it appears that this is probably due to the parameters in the 'framework.jar' file as per this post on xdadevelopers here
I have succesfully decompiled the 'framework-res.apk' file using apktools and confirmed that the 'config_use_strict_phone_number_comparation' variable is set to false. However, I am having trouble decompiling the 'framework.jar' file.
I have copied the 'framework.jar' file from my phone and opened it in a Jave decompiler. However, all I am presented with is the following:
Code:
META-INF
MANIFEST.MF
preloaded-classes
(See attached image)
In the xda post it says the following:
II) Check for and fix MIN_MATCH constant in telephony framework
1) Decompile framework.jar
2) Open smali/android/telephony/PhoneNumberUtils.smali
3) Search for MIN_MATCH constant and set it to 0x7
Click to expand...
Click to collapse
...but I don't appear to have that in mine.
Am I doing something wrong.
If anyone could offer any advice I would be very grateful.
Many thanks
Russell
P'S. I tried replying about this in the original xda post itself but I don't have authorisation to post in the developers section so I thought I would try here instead.
So, is no one able to help me with this then. All the searching I've done indicates that when I decompress 'framework.jar' then I should have 'classes.dex' inside. However I don't have that.
Can anyone explain to me why this is please before I pull the rest of my hair out.
Thanks
Russell_S said:
So, is no one able to help me with this then. All the searching I've done indicates that when I decompress 'framework.jar' then I should have 'classes.dex' inside. However I don't have that.
Can anyone explain to me why this is please before I pull the rest of my hair out.
Thanks
Click to expand...
Click to collapse
You have to use apktool and apply the command to decompile..
eg.
apktool d framework.jar
this in cmd, will create a new folder named framework.jar.out, then you navigate inside this folder were all the smali's files are etc..
PS. you can't open framework.jar in java decompile, you can open framework.jar extract the classes.dex then use dex2jar tool and turn it back into framework_classes.jar this is the one that can be viewed with java decompilers
Does annybody know....
Where i can find a clean Settings.apk for the GE 4.3 (i9505) that i can mod? (Decompile/Recompile)
frapedas said:
You have to use apktool and apply the command to decompile..
eg.
apktool d framework.jar
this in cmd, will create a new folder named framework.jar.out, then you navigate inside this folder were all the smali's files are etc..
PS. you can't open framework.jar in java decompile, you can open framework.jar extract the classes.dex then use dex2jar tool and turn it back into framework_classes.jar this is the one that can be viewed with java decompilers
Click to expand...
Click to collapse
Thanks for the help. I'm away this week but I'll give it a go next weekend when I'm back.
Sent from my GT-I9100 using Tapatalk 2
Force it into submission
be rough with it
Sent from my HTC One using Tapatalk 4
Russell_S said:
then I should have 'classes.dex' inside. However I don't have that.
Click to expand...
Click to collapse
Are you using a deodexed ROM?
XperienceD said:
Are you using a deodexed ROM?
Click to expand...
Click to collapse
You've got me there. How would I find out?
Sent from my GT-I9100 using Tapatalk 2
Ok, I'm gradually learning here. Having done a bit of research it appears that my rom is odexed (I have .apk and .odex files in my /system/app folder).
I'm assuming then that this will scupper my plans to edit my framework.jar file.
Sent from my GT-I9100 using Tapatalk 2
Russell_S said:
I'm assuming then that this will scupper my plans to edit my framework.jar file.
Click to expand...
Click to collapse
No no, you just need to deodex your ROM then, luckily for you I've got a little thread here - [Info/How-To/Tools] Deodexing Made Easy... - which will help you with that, obviously ignore the Xperia Z Users part and give the rest a read.
XperienceD said:
No no, you just need to deodex your ROM then, luckily for you I've got a little thread here - [Info/How-To/Tool] Deodexing Made Easy... - which will help you with that, obviously ignore the Xperia Z Users part and give the rest a read.
Click to expand...
Click to collapse
Thanks very much for that, I shall digest the information while I'm on holiday ready to act on it when I get back.
I'll let you know how I get on.
Sent from my GT-I9100 using Tapatalk 2

Categories

Resources