hello,
i wanna edit some pics in an app from the market.. how can i get it working on my phone.. i signed it and then it won't open on my phone when try to open it..?? here are the files
yakie996 said:
hello,
i wanna edit some pics in an app from the market.. how can i get it working on my phone.. i signed it and then it won't open on my phone when try to open it..?? here are the files
Click to expand...
Click to collapse
Just open the original .apk in 7-Zip, find the files, delete them and then put your new ones in. The have to be exactly the same name. You don't need to decode the apk or resign it.
Some apks won't work like this but very few in the end so you should be okay.
djmcnz said:
Just open the original .apk in 7-Zip, find the files, delete them and then put your new ones in. The have to be exactly the same name. You don't need to decode the apk or resign it.
Some apks won't work like this but very few in the end so you should be okay.
Click to expand...
Click to collapse
when i did this the app don't install on my device..
The 7-zip method not always will work. I use that to edit cyanogenmod themes to best fit my phone, but sometimes I can't install the apk, neither through adb nor file manager
Sent from my Nexus S using xda app-developers app
Try smali the whole apk , replace the pictures then compile it again, using Apk tool.
I'll do this on the go a the time as a matter of fact I did the tsfshell PCB blue theme with the traverse grapheme icons earlier...I do it by using root explorer extract the app and replace whatever you want as long as the file names are the same when done zip everything back up and rename from zip to app then move to system apps or data apps set proper permissions and reboot .....I do it from my cell hope this helps
Sent from my SPH-D700 using Xparent Blue Tapatalk 2
Use APK manager
Decompile the APk
replace or edit the pngs
recompile the APK
Sign it
you are done!!
Related
Hi..
I wanted to change the contact images in the framework-res. I've done so far, but when I folded the new framework-res with the mod-tool push, then that too, but he shows me the new image does not accumulate in handy.
I can do or what?
My steps:
1. I replace the corresponding image (PNG format) with 7zip
2. im sending the new framework-res or contact.apk via adb mask controller on my x10i
3. reboot
4. im showing in contacts and the image ist the same as before
looking like a rat i handle it?
"Title: Edit Contact Picture"
you should edit "contacts.apk" located in "/system/app" not "framework-res.apk"
DynamicRam said:
you should edit "contacts.apk" located in "/system/app" not "framework-res.apk"
Click to expand...
Click to collapse
the contact image I have is in the framework-res. in the contact.apk another is available.
I am using CM 4.5.7 by Wolf Break
Have you resigned the apk?
Sent from my X10i using XDA App
no, like I do that?
Google it. But you will need the Android SDK or at least latest JDK and there is a script somewhere here on XDA called autosign or something like that. You will need to install those than remove the meta-inf from the modified apk put the apk file in the folder for autosign (make sure theres only one apk in the folder) then run autosign and it will create a new apk called your_signed_apk then rename it and push back to your phone.
Search "resigning apk files" and read. Theres an old thread somewhere for changing app icons i think that has everything you need to know.
Sent from my X10i using XDA App
Here is the thread
http://forum.xda-developers.com/showthread.php?t=503007
Read this thread and use the OPs modified tool found here:
http://www.mediafire.com/?yw24z5m4yya
Sent from my X10i using XDA App
Thx for this.
Sent from my X10i using XDA Premium App
CMoney87 said:
But you will need the Android SDK or at least latest JDK and there is a script somewhere here on XDA called autosign or something like that. You will need to install those than remove the meta-inf from the modified apk put the apk file in the folder for autosign (make sure theres only one apk in the folder) then run autosign and it will create a new apk called your_signed_apk then rename it and push back to your phone.
Click to expand...
Click to collapse
System apps don't need to be signed. If you look in framework-res.apk, there's no META-INF directory.
Are you sure you replaced the framework-res.apk file correctly? I posted some info about framework-res.apk here: http://forum.xda-developers.com/showthread.php?p=11193663#post11193663
As always, back up with xRecovery before messing around with framework-res.apk. One mistake and you won't be able to boot.
I think most stock apps actually might not need to be signed, now that i think about it though. You might just need to make sure you remove the unmodified app first (copy it somewhere first for a backup) and then manually put the apk in, set permissions correctly and then reboot. This apk signing trick allows you to modify any app to change shortcut icons or customize anything you want and reinstall it correctly so it should come in handy anyways.
Sent from my X10i using XDA App
Hello,
What program do I use to open an apk file?
I want to modify an apk file and then save it.
thanks
I think you just put it on your computer, rename it from .apk to .zip
extract.
There ya go.
IDK but you may have to sign it somehow again, but im not sure if you even need to.
Or just use winrar and open it.
Sent from my SGH-T959 using XDA App
I grabbed APK Manager from the development section. More for theming, but powerful.
How to decompile an apk file
use 7-zip if all you want to do is replace images and already edited xml's
hello all
I was trying to edit the framework-res.apk which can be found in system/framework/framework-res.apk
this file holds alot of images that you can edit (e.g slider, incoming call, icons etc...) framework-res.apk\framework-res.apk\res\drawable-mdpi folder
i edited the png's jog_dial_bg_rev_down.png and jog_dial_bg_rev.png
they are the call slider revamped (just removed the shadows so it doesnt cover the incoming call)
i have used apk edit, Apk manager, APK sign and everytime i build the framework-res.apk and move it to the system/framework/ folder
everytime i move the file my phone either gets bricks, bootloops or get tons of force close down of some apps
has anyone got any solutions how to edit framework-res.apk without all this bricking bs?
i have uploaded the edited images for the sliders on Slider_Revamped.rar
When you sing apk than you need to replace :
Meta-inf and recourse.so from original framework-res.apk.
You just open both frameworks with 7zip and drag from original to edited
Sent from my U20i using xda premium
Eyama said:
When you sing apk than you need to replace :
Meta-inf and recourse.so from original framework-res.apk.
You just open both frameworks with 7zip and drag from original to edited
Sent from my U20i using xda premium
Click to expand...
Click to collapse
i had same issue.. thanx will try
Download "NinjaMorph" off of the market, it decompiles any APK, TAR whatever and allows you to replace any file (including XMLs if you like) from the APK with those on your SD. What I do is decompile the APK then plug my phone in and navigate to where NinjaMorph decompiled the APK to on the SD, which is "AndroidThemes", do the editing on my PC then disconnect the phone, recompile the APK and it automatically pushes the APK to wherever you pulled it from. I've used it many times when I've been messing with frameworkres, it works every time.
Does this method also work with .9.patched files?
christophermaisch said:
Download "NinjaMorph" off of the market, it decompiles any APK, TAR whatever and allows you to replace any file (including XMLs if you like) from the APK with those on your SD. What I do is decompile the APK then plug my phone in and navigate to where NinjaMorph decompiled the APK to on the SD, which is "AndroidThemes", do the editing on my PC then disconnect the phone, recompile the APK and it automatically pushes the APK to wherever you pulled it from. I've used it many times when I've been messing with frameworkres, it works every time.
Click to expand...
Click to collapse
Hi everyone,
From my understanding, if we want to change the pngs in an apk, we can simply open it with 7zip, then replace the pngs, it's done.
I took EventStreamPluginCallLog.apk from arc s which is updated to ICS.
The apk can be installed in xperia s and it is working fine.
However, when I change the png named icon in res > drawable-hdpi > icon.png
The apk can no longer be installed.
So I go with decompiling and recompiling the apk using apktool, no error shown but I still can't install it
Any idea? Thanks
did you sign it after recompiling?
System apps don't need to be signed. What i did for system apps is:
Decompile app
Replace png
Recompile app
Use TickleMyAndroid -> Prepare files for pushing.
realfelix said:
did you sign it after recompiling?
Click to expand...
Click to collapse
I thought the same even it says no need for system apk, I still do it and get the same problem, can't install
Felimenta97 said:
System apps don't need to be signed. What i did for system apps is:
Decompile app
Replace png
Recompile app
Use TickleMyAndroid -> Prepare files for pushing.
Click to expand...
Click to collapse
I tried everything I know. Apk Multi Tool, simply apktool only, direct replace PNG with 7zip (compression changed to deflate), direct replace with winrar (compression method retained as store), it just doesn't want to install.
I have tried TickyMyAndroid, I am not sure if I done thing correctly but I see no error when recompiling yet can't be installed. My goodness. Time to forget about this stuff
Hi guys
Hope someone help me
Can someone help or my one apk:
Settings.apk
My rom will be finish but i have problem with this apk so i could finish it
I try to push it but it doesnt work
Even a stock.
But my friend gave me a one settings.apk it work
But i need to edit more so i not use it.
Please someone help at once..
Sent from my GT-S5300 using xda app-developers app
Seems like you want to "mod" your ROM?
janreytuazon15 said:
Hi guys
Hope someone help me
Can someone help or my one apk:
Settings.apk
My rom will be finish but i have problem with this apk so i could finish it
I try to push it but it doesnt work
Even a stock.
But my friend gave me a one settings.apk it work
But i need to edit more so i not use it.
Please someone help at once..
Sent from my GT-S5300 using xda app-developers app
Click to expand...
Click to collapse
First of all, which ROM are you using? Get the ROM's "zip" file. In the "zip" file, you will find the "system" folder. Open the "system" folder, and you will find the "app" folder. In the "app" you will get the apk named "Settings.apk".
If you are modding your ROM, it is necessary that you "sign" the apk. Else, it won't work.
Assuming that you are using apktool:
Unpack apk using apktool, do all the editing and stuff.
Open up the original "Settings.apk", and extract the "META-INF" folder and "AndroidManifest.xml" file from it.
Pack the apk using "apktool b Settings"
Now, copy the META-INF and the AndroidManifest.xml files/folders into Settings/build/apk folder and paste it (replace files if necessary)
Then, re-build the apk using "apktool b Settings"
Now, push the app, and apply the permissions correctly. In most cases, it is 644.
Iam using my rom
But its not finish because of that apk
Sent from my GT-S5300 using xda app-developers app
vineethraj49 said:
First of all, which ROM are you using? Get the ROM's "zip" file. In the "zip" file, you will find the "system" folder. Open the "system" folder, and you will find the "app" folder. In the "app" you will get the apk named "Settings.apk".
If you are modding your ROM, it is necessary that you "sign" the apk. Else, it won't work.
Assuming that you are using apktool:
Unpack apk using apktool, do all the editing and stuff.
Open up the original "Settings.apk", and extract the "META-INF" folder and "AndroidManifest.xml" file from it.
Pack the apk using "apktool b Settings"
Now, copy the META-INF and the AndroidManifest.xml files/folders into Settings/build/apk folder and paste it (replace files if necessary)
Then, re-build the apk using "apktool b Settings"
Now, push the app, and apply the permissions correctly. In most cases, it is 644.
Click to expand...
Click to collapse
If i edit other thing in my apk i will do ur method up there in apktool
Then i will sign and zipalign? Or only sign?
Sent from my GT-S5300 using xda app-developers app
Use any of the tools available for zipaligning
janreytuazon15 said:
If i edit other thing in my apk i will do ur method up there in apktool
Then i will sign and zipalign? Or only sign?
Sent from my GT-S5300 using xda app-developers app
Click to expand...
Click to collapse
I just sign the apk and push it, and it works. If you would like to zipalign, use dsixda's kitchen, or any other apk tools available
vineethraj49 said:
I just sign the apk and push it, and it works. If you would like to zipalign, use dsixda's kitchen, or any other apk tools available
Click to expand...
Click to collapse
Did i do your apktool method an sign and push?
Sent from my GT-S5300 using xda app-developers app
Yes, without signing, it wouldn't work.
janreytuazon15 said:
Did i do your apktool method an sign and push?
Sent from my GT-S5300 using xda app-developers app
Click to expand...
Click to collapse
As I said, system apps don't work if they aren't signed properly. And, the method that I use for signing is just "another" method. There are other methods too For simplicity, you can use any of the "apk tools" that other developers have created for simplicity.
vineethraj49 said:
As I said, system apps don't work if they aren't signed properly. And, the method that I use for signing is just "another" method. There are other methods too For simplicity, you can use any of the "apk tools" that other developers have created for simplicity.
Click to expand...
Click to collapse
Hi try to decompile it in apktool
But
I see a errors when get decompiling..
And when i get to the directory
I only see
Res
Androidmanifest.xml
And one other folder
Sent from my GT-S5300 using xda app-developers app
You need to install required frameworks...
janreytuazon15 said:
Hi try to decompile it in apktool
But
I see a errors when get decompiling..
And when i get to the directory
I only see
Res
Androidmanifest.xml
And one other folder
Sent from my GT-S5300 using xda app-developers app
Click to expand...
Click to collapse
Get the framework-res.apk from the /system/frameworks folder, and install it using apktool if framework-res.apk and try compiling :silly: