[Q]How to Replace Stock Emoticon? My MMS 4.0.4 Dilemma - Galaxy S II Q&A, Help & Troubleshooting

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

Related

Trying to Modify launcher2.apk super slim less then 500kb help

Ok not sure if this is the correct place to post so if its not op please move it.
Ok im trying to mod the launcher2.apk to remove default wallpapers and some homescreen widgets i have used apktool to decompile and i have removed wallpapers and widgets plus all references then i compile using apktool if i push the file to my system dir and reboot all works fine but the problem is if i add this new launcher2.apk to my custom oxygen rom then flash the phone boots up but launcher2.apk does not load im sure this is a sign problem. Does any one know how to solve this problem and what sign keys does the oxygen system apks use.
The reason im trying to do this is i dont use any default wallpapers and i can get the launcher2.apk from 4.68mb to less then 500kb i will share the apk after its done. Thanks in advance.
Did you try installing it as a normal app ?
Forever living in my Galaxy Ace using XDA App
Yes it just says application not installed.
Sent from my HTC Desire using Tapatalk
Any one?
Sent from my HTC Desire using Tapatalk
If you recompiled the app, try resigning it.
With what ?i tryed sign it with testkeys and platform and still does the same thing.
Please delete.
Sent from my chameleonized SGS2 using my brain.
I was under the impression that if you're going to make changes to an .apk file, you had to decompile the .apk and make your changes, then take the folders you changed and push it to the regular launcher2.apk instead of recompiling and using the recompiled .apk. Doing it that way keeps the original signature intact.
I could be completely wrong though, so I would appreciate it if someone could confirm or deny this.
Edit: Just realized this thread was from 2011... My bad.
U shud have just zipaligned and batch optimized lol
Sent from my PG86100 using xda app-developers app

[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.

Getting rid of TouchWiz looks / reverting to stock system UI

Hi,
thanks to all the rooted ROMs here I was able to do some changes, like removing the SMS app and placing back the stock one. I am sure that something like it can be done with the phone/contacts as those APKs are around too.
What I don't know how to do is to get rid of the aweful touchwiz gray status bar, colored settings and mostly hideous 2.3-like dialogs that touchwiz uses.
I thought I just replace SystemUI.apk but that did not work at all, kept force-closing.
Can anone point me the right direction? Do I have to change the resources (png and XML) inside the systemui.apk and then repackage it? I know how to edit layout xmls since I am an app developer, but I never repackaged apks, especially when they come with OBEX classes.
Or is it not even possible without completely new ROM?
Some rooted roms here have black notification bar.
You might wanna check them out
Sent from my GT-I8190 using xda app-developers app
Hi no only systemUI test change also in settings.apk and framwork-res.apk now for change on apk need deodexed one
Well I have tried the apktool to decompile, but that fails, surely because of it being odex apk.
What suprised me though is that the Minecraft-method fails too. That is removing META-INF and simply changing a few PNGs. That I thought would work. I did use zipalign 4 after changing those PNGs...
Give it time. They're still working on getting us a functional recovery.
blackknightavalon said:
Give it time. They're still working on getting us a functional recovery.
Click to expand...
Click to collapse
Well I actually wanted to get into it and provide the stock-like SystemUI.apk for others
If anyone still interested...
I finally found a nice guide for deodexing here, did everything like I should - deodex, repackage, sign and zipalign, but SystemUI keeps crashing.
I never found anything about having a special signing key, but that's the only thing that I can think of that can be wrong.
try attached and if need complet rom try with mediafire link
http://www.mediafire.com/#bakk51bwngb9t i have cuted on 5 files just dezip using 7zip
and here have an autopatcher http://forum.xda-developers.com/showthread.php?t=1719408
spawk said:
try attached
Click to expand...
Click to collapse
Thanks, the deodexed attached apk works.
The question is what I did wrong Will try re-signing this one and if that fails I must be f-ing up the signing process I guess
(I should really stop double-posting)
So I tried to remove META-INF and sign manually using the debug.keystore from eclipse (used to develop apps) and SystemUI force-closes.
What am I doing wrong in the signing process that mine does not work and yours does?
Plague_CZ said:
(I should really stop double-posting)
So I tried to remove META-INF and sign manually using the debug.keystore from eclipse (used to develop apps) and SystemUI force-closes.
What am I doing wrong in the signing process that mine does not work and yours does?
Click to expand...
Click to collapse
haha i am used only xdakitchen and deodexed all rom now need recovery for flash i have tested to flash but no chance hihihi in link have all rom deodexed is backup from my phone use it as you need
---------- Post added at 12:17 AM ---------- Previous post was at 12:14 AM ----------
and if need more control with - FC you can also change your launcher touchewiz have special framwork-res and if you searche on forum you find touchewiz ported from GIII and patched perhaps this can fix some FC
and files is from this ROM ver : I8190XXALJL_I8190LUXALJ2_LUX
spawk said:
haha i am used only xdakitchen
Click to expand...
Click to collapse
Oh now I get it, you just created deodexed APK, which actually does not need resigning because you added classes.dex which was not there before.
It is still signed by Samsung original key and that's why your works.
So now my problem is how to get around the signature
Thanks anyway for steering me on the right track.
Plague_CZ said:
Oh now I get it, you just created deodexed APK, which actually does not need resigning because you added classes.dex which was not there before.
It is still signed by Samsung original key and that's why your works.
So now my problem is how to get around the signature
Thanks anyway for steering me on the right track.
Click to expand...
Click to collapse
signature are generated when kitchen deodex and zipaligne your apk all tool are in kitchen you can add more like git bash and more now you can try and see remove manifest etc etc and test to deodex and in finale you can see new created files with signature for ur apk's but need very corect install to work because using JAVA

[Q] how to modify status bar and status bar icons?

Hi all,
Someone can tell me which apk or framework i have to edit to modify status bat color , battery icon, Wi-Fi icon etc... ?
Thank you
SystemUI.apk and framework-res.apk
Sent from my awesome fridge
darxsen said:
Hi all,
Someone can tell me which apk or framework i have to edit to modify status bat color , battery icon, Wi-Fi icon etc... ?
Thank you
Click to expand...
Click to collapse
Can't remember exactly which one but you want to mod these apks - settings, framework, lidroid, system ui, & if I remember right from htc devices.... also the Rosie.apk too. You're know which one controls what when you start searching!
Hope this helps & if so.... Press that thanks button :thumbup:
sent from my super modded Samsung Galaxy S3
deanr1977 said:
Can't remember exactly which one but you want to mod these apks - settings, framework, lidroid, system ui, & if I remember right from htc devices.... also the Rosie.apk too. You're know which one controls what when you start searching!
Hope this helps & if so.... Press that thanks button :thumbup:
sent from my super modded Samsung Galaxy S3
Click to expand...
Click to collapse
Those aren't needed, just the one I posted above.
Sent from my awesome fridge
MaartenXDA said:
Those aren't needed, just the one I posted above.
Sent from my awesome fridge
Click to expand...
Click to collapse
Just pull the 1 zip or 2 zips from the rom, & explore for you're self, I think its the system ui but could be wrong, I'm not near my computer at the moment to check so I can't say exactly which one it is? If you're gonna mod the battery icons you're gonna look inside anyway & I takes like 10secs to extract & search the apk? If you don't wanna do that, there are various apps in the playstore you can download for free to look at the framework pics from inside the apks without opening them! Hope this helps.... press thanks if it did
sent from my super modded Samsung Galaxy S3
deanr1977 said:
Just pull the 1 zip or 2 zips from the rom, & explore for you're self, I think its the system ui but could be wrong, I'm not near my computer at the moment to check so I can't say exactly which one it is? If you're gonna mod the battery icons you're gonna look inside anyway & I takes like 10secs to extract & search the apk? If you don't wanna do that, there are various apps in the playstore you can download for free to look at the framework pics from inside the apks without opening them! Hope this helps.... press thanks if it did
sent from my super modded Samsung Galaxy S3
Click to expand...
Click to collapse
Is this post meant for me?
Sent from my awesome fridge
darxsen said:
Hi all,
Someone can tell me which apk or framework i have to edit to modify status bat color , battery icon, Wi-Fi icon etc... ?
Thank you
Click to expand...
Click to collapse
As Maarten already pointed out SystemUI.apk and framework-res.apk. And if you want to use them in apktool you'll also need com.htc.resources.apk.
Just out of curiosity: are you going to use UOT or apktool? Been trying to change status bar clock colour on half-sense and fulmix (see my post in his thread) with apktool but haven't succeeded yet.
What are your plans on theming?
Just pull the zips & open using winrar? Thts what I've been doing for around 4yrs now
sent from my super modded Samsung Galaxy S3
deanr1977 said:
Just pull the zips & open using winrar? Thts what I've been doing for around 4yrs now
sent from my super modded Samsung Galaxy S3
Click to expand...
Click to collapse
That's just image editing.
If you want to theme it even further, you need to decompile it and edit .xml's and .smali's.
Sent from my awesome fridge
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
R: [Q] how to modify status bar and status bar icons?
darxsen said:
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
Click to expand...
Click to collapse
It gives you this errors because there is classes.dex file on it. Delete it and than decompile.
Dex files are most of them added by phone's company; for us HTC.
Sent from my HTC Desire X using xda premium
fulmix said:
It gives you this errors because there is classes.dex file on it. Delete it and than decompile.
Dex files are most of them added by phone's company; for us HTC.
Click to expand...
Click to collapse
Ok, but if i delete dex files when i rebuild the package will it work ?
Is there any room that allow to edit it theme? With a simple apk?
I hate work on others apk, mostly if these apk are HTC's apk U.U
darxsen said:
Ok, but if i delete dex files when i rebuild the package will it work ?
Is there any room that allow to edit it theme? With a simple apk?
I hate work on others apk, mostly if these apk are HTC's apk U.U
Click to expand...
Click to collapse
Open with WinRAR or 7-Zip delete classes.dex and than decompile with apktool.
Note: you do not have to extract apk to delete classes.dex file.
fulmix said:
Open with WinRAR or 7-Zip delete classes.dex and than decompile with apktool.
Note: you do not have to extract apk to delete classes.dex file.
Click to expand...
Click to collapse
Why would there be a need of deleting classes.dex? I've decompiled lots of HTC apps and they all worked fine.
Sent from my awesome fridge
MaartenXDA said:
Why would there be a need of deleting classes.dex? I've decompiled lots of HTC apps and they all worked fine.
Sent from my awesome fridge
Click to expand...
Click to collapse
Bad Mugic Number error is usually for this file.
Samsung, HTC, etc. have different dex files.
fulmix said:
Bad Mugic Number error is usually for this file.
Samsung, HTC, etc. have different dex files.
Click to expand...
Click to collapse
have i to put back .dex files ? or not?
darxsen said:
have i to put back .dex files ? or not?
Click to expand...
Click to collapse
It's not necessary.
But deleting it avoid the Bad Magic Number errors.
People, cause my brother has my same account I have to create my new one, so your fulmix now is xpirt
Sent from my HTC Desire X using xda premium
fulmix said:
It's not necessary.
But deleting it avoid the Bad Magic Number errors.
Click to expand...
Click to collapse
Can you prove this ??
Make a SystemUI.apk without classes.dex and put that in you ROM and release to all users to test. If it works, I will resign from making ROMs.
---------- Post added at 04:27 PM ---------- Previous post was at 04:24 PM ----------
darxsen said:
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
Click to expand...
Click to collapse
Use latest apktool, bad magic value errors fixed in new version.
Refer to this for more info : http://forum.xda-developers.com/showthread.php?t=1642224
BTW... if it just some icons png that you need to change, just replace the pngs, decompile/recompile is not needed.
---------- Post added at 04:28 PM ---------- Previous post was at 04:27 PM ----------
darxsen said:
have i to put back .dex files ? or not?
Click to expand...
Click to collapse
SystemUI must have classes.dex; there is where all the instructions (the smali files) come from for the apk to work. Like what to run for the EQS and many more.
As mentioned on the link given above
Code:
b) If you are using apkmanager, you can just export classes.dex, then delete classes inside the apk. Then decompile, edit, compile and add classes.dex back when ready.
MaartenXDA said:
That's just image editing.
If you want to theme it even further, you need to decompile it and edit .xml's and .smali's.
Sent from my awesome fridge
Click to expand...
Click to collapse
Yeah you're right you can edit the xmls & smalis, I have never got the hang of that yet? I just do it the other way
darxsen said:
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
Click to expand...
Click to collapse
I have made wicked themed roms on the desire hd & now on the samsung galaxy s3! I just pull the res folder then mod the pngs with photoshop & then push back to the zip & flash.... ok its not perfect but I've made sum sweet looking ui & systems by doing it that way
sent from my super modded Samsung Galaxy S3

[Q] Editing Mms.apk on Korean phone

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

Categories

Resources