How to edit APK? - Samsung Epic 4G Touch

I'm wondering if I need specific software to get into apk file and change images? I'm looking to edit the dialer fonts, background etc... Guide to pushing apk zip with edition back to system apps.
Any help will be much appreciated,thanks in advance...

If you're just editing images you can open the apk with a file explorer and find Res/drawable-hdpi. This is where images are stored. Replace what you want.
If you want to go more in depth (add new images, tweak layouts, colors aside from images) you will want to use apktool. This will allow you to decompile and recompile apks
Sent from my SPH-D710 using XDA App

barnacles10 said:
If you're just editing images you can open the apk with a file explorer and find Res/drawable-hdpi. This is where images are stored. Replace what you want.
If you want to go more in depth (add new images, tweak layouts, colors aside from images) you will want to use apktool. This will allow you to decompile and recompile apks
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
Apktool, any specific one you would recommend?

Alex1x said:
Apktool, any specific one you would recommend?
Click to expand...
Click to collapse
http://code.google.com/p/android-apktool/downloads/list
Sent from my SPH-D710 using XDA App

have you tried ninjamorph? its in the market, i do all my edits on my device.
Sent from my SPH-D710 using xda premium

Related

[Q] how can i add or edit whatsapp for custom emoticons ?

I would like to add some emoticons into whatsapp
Sent from my GT-I9100 Westcrips ICS using xda premium
RodneyNL said:
I would like to add some emoticons into whatsapp
Sent from my GT-I9100 Westcrips ICS using xda premium
Click to expand...
Click to collapse
You probably wont be able to add any, you can change the current ones by editing the apk, signing it then installing it. Once you open up the apk (with 7zip, winrar etc.) look inside the drawable-hdpi folder. Thats probably where the emoticons are kept.
I can help if you need.
You might want to check out these custom whatsapp's by yorzua :
http://forum.xda-developers.com/showthread.php?t=1543631
Thanks for your reply om gonna try it out i'll let you know of i need your help (probably i will need it xD)
Sent from my GT-I9100 using xda premium
Adding icons to whatsapp
Hey Guys has anyone tried adding new icons into the default whatsapp?
Or do the modded versions allow adding additional GIF'S to be added to the instant messenger?
Thanks
yes i have tried it, but it's useless since the recipient of the emoticon should have the "moded" version too, so that he could see the emoticon
Just wanted to add that Ive noticed the Iphone has new icons and I can view them on my phone which dont have those icons :/
esk02k said:
You probably wont be able to add any, you can change the current ones by editing the apk, signing it then installing it. Once you open up the apk (with 7zip, winrar etc.) look inside the drawable-hdpi folder. Thats probably where the emoticons are kept.
I can help if you need.
You might want to check out these custom whatsapp's by yorzua :
http://forum.xda-developers.com/showthread.php?t=1543631
Click to expand...
Click to collapse
I used 'Formatter' to rename (whatsapp) .apk file into .zip did required changes (replaced one .png smiley file) & again renamed it into .apk
But then, I'm not able to install it (even after uninstalling previous version). An error saying 'Application not installed' shows.
How can I modify .apk files (in terms of replacing only the smiley image files) & repack it into proper .apk file so that I'll be able to install it without any error?
Please help me..
thanks
yogz214 said:
I used 'Formatter' to rename (whatsapp) .apk file into .zip did required changes (replaced one .png smiley file) & again renamed it into .apk
But then, I'm not able to install it (even after uninstalling previous version). An error saying 'Application not installed' shows.
How can I modify .apk files (in terms of replacing only the smiley image files) & repack it into proper .apk file so that I'll be able to install it without any error?
Please help me..
thanks
Click to expand...
Click to collapse
i also want a new smiley, for example a puking smiley
After modifying the apk i think you should resign it to be able to install it
Check zipsigner from the play store
Sent from my GT-I9100G using XDA Premium 4 mobile app
fmardini said:
After modifying the apk i think you should resign it to be able to install it
Check zipsigner from the play store
Sent from my GT-I9100G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
so i have to download the whatsapp.apk, unrar it, change the icons in it, and resign it?
Were are the folder?
I am getting a "parsing" error by installing whatsapp
jonny.pl said:
i also want a new smiley, for example a puking smiley
Click to expand...
Click to collapse
That is exactly what I am trying to do here.
I was looking for the same & found these.
http://www.techgyd.com/whatsapp-stickers-free-android-iphone/12739/
Good idea, but not practical
In order to install an apk, it must be properly signed and with a password that only the developers know. If you own the app though, you will still need to to decompile and recreate the apk structure by turning the directories of the zip into an android structure, since the compiling will change pretty much everything.
Worst part of it all, if you somehow manage to change and install the app, only you will be able to see it since only the apk installed on your phone has those custom emoticons.
Cheers :good:
how do I put emoticons on viber /whatsapp for sell
Just get your friends to use wechat, has all the emos in the world. Whatsapp is crap

[Q] How to edit, successfully, twframework-res.apk?

Hi all!
I try edit twframework-res.apk (some images + some xml's) but it has no effect. I try doing wipe dalvik-cache and wipe cache, but nothing, images no change... xml no apply... i dunno what to do.
Any idea?
Thanks!
which tool do you use to decompile apk?
Sent from my eyes to your eyes using xda premium
phadly said:
which tool do you use to decompile apk?
Sent from my eyes to your eyes using xda premium
Click to expand...
Click to collapse
APK Manage 5.0.2 (Apk tool)
_FroX_ said:
APK Manage 5.0.2 (Apk tool)
Click to expand...
Click to collapse
you need to delete which files you have edit in keep folder including images..then press enter..
Sent from my eyes to your eyes using xda premium
phadly said:
you need to delete which files you have edit in keep folder including images..then press enter..
Sent from my eyes to your eyes using xda premium
Click to expand...
Click to collapse
I do this. Now I explore twframework-res.apk with root explorer and I've seen are the images that I have modified, so all ok, however not work...
_FroX_ said:
I do this. Now I explore twframework-res.apk with root explorer and I've seen are the images that I have modified, so all ok, however not work...
Click to expand...
Click to collapse
you also need to modified images in framework-res.apk..there are same images in both twframework-res.apk and framework-res.apk..search for it..
Sent from my eyes to your eyes using xda premium
phadly said:
you also need to modified images in framework-res.apk..there are same images in both twframework-res.apk and framework-res.apk..search for it..
Sent from my eyes to your eyes using xda premium
Click to expand...
Click to collapse
Ok, the same images in the two files (twframework-res.apk and framework-res.apk) but, xml files? I edit one xml but there isn't any change (twframework-res.apk), that xml is neither in framework-res.apk or SystemUI.apk
Edit: Ok, I don't need to edit twframework-res.apk, i need to edit apk xml (in this case, Music.apk) I found the same xml inside, i'll try if work.
Edit2: It's work.
_FroX_ said:
Hi all!
I try edit twframework-res.apk (some images + some xml's) but it has no effect. I try doing wipe dalvik-cache and wipe cache, but nothing, images no change... xml no apply... i dunno what to do.
Any idea?
Thanks!
Click to expand...
Click to collapse
hi ,
first what do you want to change exactly ?
in Tw rom the Framework-res.apk is not the same as stock google phone so maybe you have to look inside
colour change
maxx35000 said:
hi ,
first what do you want to change exactly ?
in Tw rom the Framework-res.apk is not the same as stock google phone so maybe you have to look inside
Click to expand...
Click to collapse
hi i want to edit the system font color which apk should i edit..framework,systemUI
ngaihomasailo said:
hi i want to edit the system font color which apk should i edit..framework,systemUI
Click to expand...
Click to collapse
framework-res.apk.."res/color/ folder" and "res/values/styles.xml"..
Sent from my eyes to your eyes using xda premium
thanks
Sent from my GT-S5830 using Tapatalk 2
Can either of the apks be modified the change the 'theme' of TouchWiz?
Basically to get stock JellyBean look on Samsung Galaxy S2+. For eg, certain menus, radio buttons, preference activities etc...
kanchudeep said:
Can either of the apks be modified the change the 'theme' of TouchWiz?
Basically to get stock JellyBean look on Samsung Galaxy S2+. For eg, certain menus, radio buttons, preference activities etc...
Click to expand...
Click to collapse
Yes.
For 99% controls of ui you would need to edit framework-res.apk
Though i prefer apktool + 7zip
Sent from my LG-D722 using XDA Free mobile app

xml files

to create an android apk or to edit an XML...does it take a lot of programming experience or just to know basic XML codes and how android apks work?cause i do not want to wast time on something i can't even accomplish
You definitely need to have a certain mindset even if you don't currently have the programming experience, you'd have to be prepared to put a lot of time into it, accept there will be a lot of frustration and you will more than likely not achieve what you want to accomplish...
If that doesn't put you off go for it!
This would be a good place to start http://developer.android.com/index.html
gs2rom said:
to create an android apk or to edit an XML...does it take a lot of programming experience or just to know basic XML codes and how android apks work?cause i do not want to wast time on something i can't even accomplish
Click to expand...
Click to collapse
editing xml file using notepad++ is probably the easy part. compiling the apk is the crap part, in my experience.
It's just when i decompile the apk edit it and recompile it... i open the apk with 7zip i can't see the new files added...and when i decompile the systemui.apk
I can't seem to find the drawable-xhdpi..only the drawable-hdpi
Sent from my GT-I9100 using xda premium
gs2rom said:
It's just when i decompile the apk edit it and recompile it... i open the apk with 7zip i can't see the new files added...and when i decompile the systemui.apk
I can't seem to find the drawable-xhdpi..only the drawable-hdpi
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
i believe drawable-xhdpi is for the SGS3. Drawable-hdpi is for the SGS2.

[Request] Cyan Stock Battery & Cyan Internet Traffic Arrows

Can anyone make this mod? Or help me how to make this mode.
Im using MC3 and I love the Cyan colour on my phone than this stock green.
I want ro Stock batter and Stock Internet & Wifi Arrows but just in Cyan Colur.
Like This pic.
Can anyone Help me about it please?
I decompiled the framework-res.apk but couldnt find anyting to change colour
Joy` said:
I decompiled the framework-res.apk but couldnt find anyting to change colour
Click to expand...
Click to collapse
Look into SystemUI.apk, not in framework
I decompiled SystemUi.apk
Its about 2.4 Mb. change my battery colours (you can see on the attach)
But when i compile again it was 1.7 Mb. Unsigned
I signed Apk and still same 1.7 Mb.
Its my first time to decompile any apk.
I think i made something wrong
Any idea for this Noob User? :angel:
Size is not important. Often a compile of something you decompile will come out smaller. This shouldn't be used as an indicator of anything
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
Size is not important. Often a compile of something you decompile will come out smaller. This shouldn't be used as an indicator of anything
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I replaced the new systemUI.apk to system/app give permission rw-r--r-- but. Status bar dont shown and systemUI force close
Sent from my GT-I9300 using xda premium
In that case you have done something wrong
You don't even need to decompile to swap images anyway. Just open the zip (NOT extract) with winrar, 7zip or linux archive manager, delete the images you want and drag the new images (which must have the exact same name - case sensitive) in. If it asks for compression,.choose "store" or "no compression"
You only need to decompile and recompile if you're changing resources and xml files
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
In that case you have done something wrong
You don't even need to decompile to swap images anyway. Just open the zip (NOT extract) with winrar, 7zip or linux archive manager, delete the images you want and drag the new images (which must have the exact same name - case sensitive) in. If it asks for compression,.choose "store" or "no compression"
You only need to decompile and recompile if you're changing resources and xml files
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Hahaha. IT work Lol. I did not thinks thats easy like this.
You are Parfect Mate.! Very Thanks :good:
yep, very easy if only images.
And Ta taa!!
Sent from my GT-I9300 using xda premium

[Q] Replace icons?

Hello,
I would like to know if it is possible to replace the system icons (phone, contacts, Play Store) in Deviant Wicked v10 with the system icons from Deviant Domination v1 and if it is possible, how would it be done.
Thanks in Advance.
Its very possible.. You can do it by extracting the icon.png from the res folder within the apks you want the icon from, and then use a launcher like nova to replace the icons in the drawer or desktop using the PNG you extracted.. That is the easy way.
If you wanna use the touchwiz launcher, you have to extract the icon.png from the apk you want the icon from, decompile the apk you want to use, replace the icon.png to the one you want (the one you extracted), compile the apk, and then push it to system/app.. I think there's special things you gotta do to get the phone, contacts and play store to compile and launch correctly though, I never messed with them much
Sent from my SGH-T999 using Tapatalk
Thanks
Unzipped i don't know how many apk's but cannot find the icons anywhere.
Look in the res/drawable-xhdpi folder.. Should be one of those pngs
Sent from my SGH-T999 using Tapatalk
serio22 said:
Look in the res/drawable-xhdpi folder.. Should be one of those pngs
Sent from my SGH-T999 using Tapatalk
Click to expand...
Click to collapse
Thank you for your help. I Found the play store icon. it's in the Phonesky.apk. extracted it from Domination, replaced it in Wicked but when I tried to copy the apk back to the phone, it gives an error and wont allow the copy.
shootingblanks00 said:
Thank you for your help. I Found the play store icon. it's in the Phonesky.apk. extracted it from Domination, replaced it in Wicked but when I tried to copy the apk back to the phone, it gives an error and wont allow the copy.
Click to expand...
Click to collapse
Did you decompile, replace icons and recompile it?
Sent from my SGH-T999 using Tapatalk
I used WinRAR to unzip it, replaced the icon, zipped back then renamed it.
shootingblanks00 said:
I used WinRAR to unzip it, replaced the icon, zipped back then renamed it.
Click to expand...
Click to collapse
That's not gonna work.. You need to decompile and recompile it.. Look for threads on how to do it
Sent from my SGH-T999 using Tapatalk
ok. thanks

Categories

Resources