[Need Help] To Resign This APK File - Android Q&A, Help & Troubleshooting

Hi all.. i'm really confusing with my apk file.
I've modified and replacing icons to this apk.
when i have finished replacing icons,i try ti resign this apk with zipsigner2 directly from my phone (HTC ARIA CM7 2.3.7).
then i install this signed apk,it's work on my phone,but when i send to other phone then installing this.. it say "application not installed"
can someone help me to resign this apk?
i hope the resigned apk can install and work on other phone
thankz before..and my thumb just for u whos can solve my problem

Try this apk, It works on my mobile.
Edit: For some reasons it is a zip file when you download it, rename catfish-Mod-signed.zip to catfish-Mod-signed.apk

Braakie said:
Try this apk, It works on my mobile.
Edit: For some reasons it is a zip file when you download it, rename catfish-Mod-signed.zip to catfish-Mod-signed.apk
Click to expand...
Click to collapse
Thankz a lot Braakie..
i'll try this APK first

Related

Handcent Pop-up, can you mod it???

Anyone know how to mod it? I am trying to get rid of the gray look and make it more gingerbread-like.
The problem is everytime I extract it and re-zip + sign it with apktool it doesnt let me install it on my phone.
I cant re-compile it either after editing the png files...
if anyone has any ideas let me know...
If you are editing a .9.png file, you need to follow a slightly different procedure via APK Manager.
*sent from my X10i
My_Immortal said:
If you are editing a .9.png file, you need to follow a slightly different procedure via APK Manager.
*sent from my X10i
Click to expand...
Click to collapse
can you explain what that would be.. I am just looking into how to edit .9.png files..
I would be willing to help with this if I could. I would like to see a customised pop up.
hrm5023 said:
Anyone know how to mod it? I am trying to get rid of the gray look and make it more gingerbread-like.
The problem is everytime I extract it and re-zip + sign it with apktool it doesnt let me install it on my phone.
I cant re-compile it either after editing the png files...
if anyone has any ideas let me know...
Click to expand...
Click to collapse
Ive been modding Handcent sms for some time. Link Can you explain what are you looking for? or Im guessing you have apk modding issue not really handcent
you don't need to use apkmanager or deconstruct/reconstruct apks to mod it (or any other app/widget for that matter).
download ninja morph from the market. you can select the apps from the phone, it will extract them and you can swap .9's inside ninjamorph to theme the apps/widgets.
i know with downloaded apps, you have to have them installed to system/app though. so you may need to move handcent to system/app, then chmod the apk, then reboot before doing the ninja morph.

[Q]

So, i have some sgs2 stock apk files, how can i install them to my custom ROM sgs2 ? if i try to install them it says "X App not installed" (sorry for bad translations)
and some say "You have allready installed same named package, which signature is in conflict with this package"
Try to rename tha apk in apk.bak and paste the new one by root explorer or similar giving sama permission
use thanks button!!
Is it an AOSP custom ROM? If it is, the frameworks are incompatible and you will never succeed.
Sent from my GT-I9100 using XDA
nnikooo said:
So, i have some sgs2 stock apk files, how can i install them to my custom ROM sgs2 ? if i try to install them it says "X App not installed" (sorry for bad translations)
and some say "You have allready installed same named package, which signature is in conflict with this package"
Click to expand...
Click to collapse
Try this:
First you obviously need root.
1. Using any file explorer (e.g. Root Explorer, Astro, or ES File Manager) copy the apk files to /system/app directory
2. Mount the directory (Look for "Mount R/W") so that the files can be modified.
3. Change the Permission of the apk files (usually done by press-holding the file and selecting the appropriate menu selection) to rw-r--r--
4. Reboot the device
This should automatically install the apk files at the next boot.
It wont let me copy those apk's to system/app folder. and i didnt find mount r/w from any explorer. my rom is Omega's ics 4.0.4
srry for repost but i found mount r/w and i managed to copy apk's to system/app folder, now just rebooting and i will see if that works
E: It didnt install those apk's, i did just like u said :s
nnikooo said:
srry for repost but i found mount r/w and i managed to copy apk's to system/app folder, now just rebooting and i will see if that works
E: It didnt install those apk's, i did just like u said :s
Click to expand...
Click to collapse
that's not good.
I've used this method to install stock swype and taskmanager apks to cm9 and it worked for me.
Did you update the permissions?
If you have, sorry, I can't help you further. I've read somewhere about "deodex" that may have got to do with it, which i'm not quite sure about.
I've also noticed that apks that are specifically designed for TW don't work on other ROMs.
good luck
nnikooo said:
So, i have some sgs2 stock apk files, how can i install them to my custom ROM sgs2 ? if i try to install them it says "X App not installed" (sorry for bad translations)
and some say "You have allready installed same named package, which signature is in conflict with this package"
Click to expand...
Click to collapse
What apps? Most samsung apps won't work on custom roms. Eg allshare, Kies..
Sent from my GT-P7510 using xda premium
Stock musicplayer, clock and stock keyboard. My problem isnt that they wont work, it wont even install them. And i changed the permissions... :s
I think they are all tw apps, they are not gonna even install.
So is there any way to install those apps ? :s
nnikooo said:
So is there any way to install those apps ? :s
Click to expand...
Click to collapse
Sorry no. That'd be like trying to install Mac software on Windows. Not gonna work. Touchwiz apps cannot be installed on an AOSP ROM.

[SOLVED] Edit framework-res.apk in rom.zip

OK so i modified the framework-res.apk of a rom i recompiled it without signing. The problem is that i want to replace the old framework-res.apk in the zip file before flashing the rom.
When i do this either with 7 zip or winrar i get stuck in bootloop BUT if i flash only the framework-res.apk with an update.zip after i install the rom it works perfectly .
I searched all over and from what i read this should work... do i need to sign the apk if i replace it in the zip before flashing?
And if i need to sign it how i do that, i just sign it with apkmanager?
I haven't this problem, but try to sign it. They are many tools and apps for Android (also Linux) and Windows.
fd1999 said:
I haven't this problem, but try to sign it. They are many tools and apps for Android (also Linux) and Windows.
Click to expand...
Click to collapse
So you just open the .zip file replace the apk and it works?? Can you sugest some tool for signing? cause i signed it with apk manager and it din't work i got stuck at boot animation only this time it stops completly it doesn't loop...
Also i have the same issue with Settings.apk , this one if i put it in the zip before flashing it doesn't open even if i sign it or not ... what the hell am i doing wrong???
If i flash them individualy with .zip update after i flash the rom, everything works fine . But i want to modify the rom before flashing... to have only one zip ...
gafaysto said:
OK so i modified the framework-res.apk of a rom i recompiled it without signing. The problem is that i want to replace the old framework-res.apk in the zip file before flashing the rom.
When i do this either with 7 zip or winrar i get stuck in bootloop BUT if i flash only the framework-res.apk with an update.zip after i install the rom it works perfectly .
I searched all over and from what i read this should work... do i need to sign the apk if i replace it in the zip before flashing?
And if i need to sign it how i do that, i just sign it with apkmanager?
Click to expand...
Click to collapse
what actually happens is when u decompile apk with apktool and then recompile it, signature gets mismatched so it gets stuck on bootloop. To solve this use apkmanager and decompile it as system app, perform changes and then recompile by following instructions therein
fundoozzz said:
decompile it as system app, perform changes and then recompile by following instructions therein
Click to expand...
Click to collapse
Is that the option to decompile apk <with dependencies> cause i don't find any other option to decompile , or i have to switch decompile mode ???
gafaysto said:
Is that the option to decompile apk <with dependencies> cause i don't find any other option to decompile , or i have to switch decompile mode ???
Click to expand...
Click to collapse
yup decompile with dependencies
fundoozzz said:
yup decompile with dependencies
Click to expand...
Click to collapse
Ok i got it working , the problem was that i skipped a step when building the apk , when it offered to copy any additional files in order to ensure
least number of errors it seems that is an very important step ...
gafaysto said:
Ok i got it working , the problem was that i skipped a step when building the apk , when it offered to copy any additional files in order to ensure
least number of errors it seems that is an very important step ...
Click to expand...
Click to collapse
fundoozzz said:
perform changes and then recompile by following instructions therein
Click to expand...
Click to collapse
Thats what I said

[guide] Signing and edit framework-res.apk and other by apk manager

Signing and edit framework-res.apk and other by apk manager​
Signing and edit framework-res.apk:
hi if you worked by
apk manager
copy that apk to this folder "place-apk-here-for-modding" of apk manager
and open apk manager app
1-22 after that select a apk file by number
2-1 to extra
3- an goes to "project" folder and edit that files
4-2 to optimize
5-3 to zip apk
and no need to singed
and you can edit frame work whit winrar zip and dont use front guide
tahnks yousef-p
other apks like apps and games soon:
.....
thanks for the tutorial.looking forward to it!
yousef-p said:
Signing and edit framework-res.apk and other by apk manager​
Signing and edit framework-res.apk:
hi if you worked by
apk manager
copy that apk to this folder "place-apk-here-for-modding" of apk manager
and open apk manager app
1-22 after that select a apk file by number
2-1 to extra
3- an goes to "project" folder and edit that files
4-2 to optimize
5-3 to zip apk
and no need to singed
tahnks yousef-p
other apks like apps and games soon:
.....
Click to expand...
Click to collapse
instep 4.. i've got message "has been not extracted".. why?
Thanks by the way
games?
fjw0803 said:
instep 4.. i've got message "has been not extracted".. why?
Thanks by the way
Click to expand...
Click to collapse
select the apk file from list?
give me link apk manager please ! btw ..does it work on ics rom ?
Bejjo said:
give me link apk manager please ! btw ..does it work on ics rom ?
Click to expand...
Click to collapse
http://d-h.st/iJP
i did the above method and replace my edited framework-res.apk, after phone boot looping.....
why is that??????? original framework size is 10mb and edited is 4mb....why????
bandarigoda123 said:
i did the above method and replace my edited framework-res.apk, after phone boot looping.....
why is that??????? original framework size is 10mb and edited is 4mb....why????
Click to expand...
Click to collapse
resources.arsc is probably at the wrong compression rate.
why mean it can
not be framework.res signin
ariadelvana95 said:
why mean it can
not be framework.res signin
Click to expand...
Click to collapse
that mean no need to siging frameworl-res (that is system apk)
bandarigoda123 said:
i did the above method and replace my edited framework-res.apk, after phone boot looping.....
why is that??????? original framework size is 10mb and edited is 4mb....why????
Click to expand...
Click to collapse
maybe from your rom / and you can edit frame work whit winrar zip and dont use front guide

Editing Settings.apk - Signing possible or custom ROM needed?

Hi guys,
my father recently bought a so-called China phone (Doogee X5max) that comes with several malwares right out of the box.
Most of the are quite easy to remove, two of them give me the creeps.
I am no pro when it comes to Android and so I stumbled across several problems.
First of all I managed to remove the malware from Settings.apk and SystemUI.apk by decompiling, editing and odexing the files and compiling them again. Easy going...
So far so good.
Now for the hard part.
How to get those files back into the ROM? Since those files need to be resigned with the same certificate that was used signing all the other system files I am kind of stuck here. Resigning the files with Zipsigner (using all possible types, "platform", etc.) did not work which leads me to the conclusion that Doogee did not use the AOSP certificates to sign their ROM. Am I right?
The only possible solution seems to be creating a custom ROM out of the Doogee X5max stock ROM. Is this correct?
I googled a lot but have not found up-to-date or understandable manuals/instructions on how to do this.
Can someone please help me or give me a hint at least?
Thanks in andvance
deomaki
deomaki said:
Hi guys,
my father recently bought a so-called China phone (Doogee X5max) that comes with several malwares right out of the box.
Most of the are quite easy to remove, two of them give me the creeps.
I am no pro when it comes to Android and so I stumbled across several problems.
First of all I managed to remove the malware from Settings.apk and SystemUI.apk by decompiling, editing and odexing the files and compiling them again. Easy going...
So far so good.
Now for the hard part.
How to get those files back into the ROM? Since those files need to be resigned with the same certificate that was used signing all the other system files I am kind of stuck here. Resigning the files with Zipsigner (using all possible types, "platform", etc.) did not work which leads me to the conclusion that Doogee did not use the AOSP certificates to sign their ROM. Am I right?
The only possible solution seems to be creating a custom ROM out of the Doogee X5max stock ROM. Is this correct?
I googled a lot but have not found up-to-date or understandable manuals/instructions on how to do this.
Can someone please help me or give me a hint at least?
Thanks in andvance
deomaki
Click to expand...
Click to collapse
After recompiling your modded apk, unzip it and the original apk, replace everything in the original apk with what is in your modded apk except meta-inf and Android manifest. Zip back up, change it from .zip to .apk. That is what you use to replace your system apk. That only goes for system apks. You sign the others.
Tulsadiver said:
After recompiling your modded apk, unzip it and the original apk, replace everything in the original apk with what is in your modded apk except meta-inf and Android manifest. Zip back up, change it from .zip to .apk. That is what you use to replace your system apk. That only goes for system apks. You sign the others.
Click to expand...
Click to collapse
Hi,
Thanks for your reply.
Before giving this a chance, just one question: By "Android manifest" I suppose you mean manifest.ms?
Kind regards
deomaki
deomaki said:
Hi,
Thanks for your reply.
Before giving this a chance, just one question: By "Android manifest" I suppose you mean manifest.ms?
Kind regards
deomaki
Click to expand...
Click to collapse
I have never seen a manifest.ms but I suppose so if that is what is in yours.
Tulsadiver said:
I have never seen a manifest.ms but I suppose so if that is what is in yours.
Click to expand...
Click to collapse
The manifest.ms resides inside the META-INF folder...
Trying to installl the so manipulated original apk via adb results in [INSTALL_PARSE_FAILED_NO_CERTIFICATES].
Am I supposed to uninstall the original settings.apk from the device first (which I did) or just replace the original apk on the device with the newly created one and delete the odex in oat/arm?
Thanks in advance
deomaki
deomaki said:
The manifest.ms resides inside the META-INF folder...
Trying to installl the so manipulated original apk via adb results in [INSTALL_PARSE_FAILED_NO_CERTIFICATES].
Am I supposed to uninstall the original settings.apk from the device first (which I did) or just replace the original apk on the device with the newly created one and delete the odex in oat/arm?
Thanks in advance
deomaki
Click to expand...
Click to collapse
You leave the original meta-inf like I said. You use the original apk replacing everything in it with the modded stuff, res, resource.arsc if any and any classes.dexs. Don't worry about any oat folders.
Tulsadiver said:
You leave the original meta-inf like I said. You use the original apk replacing everything in it with the modded stuff, res, resource.arsc if any and any classes.dexs. Don't worry about any oat folders.
Click to expand...
Click to collapse
Hi Tulsadiver,
I followed your advice and replaced everything except the menta-inf folder from the original apk. Then I copied over my modded apk and restarted the device (just to be sure).
After rebooting the Settings icon was gone from my homescreen and the app drawer, leaving me unable to start the settings.
Tapping the seetings.apk using a file browser left me with the error, that there was an error while parsing...
Regards
deomaki
deomaki said:
Hi Tulsadiver,
I followed your advice and replaced everything except the menta-inf folder from the original apk. Then I copied over my modded apk and restarted the device (just to be sure).
After rebooting the Settings icon was gone from my homescreen and the app drawer, leaving me unable to start the settings.
Tapping the seetings.apk using a file browser left me with the error, that there was an error while parsing...
Regards
deomaki
Click to expand...
Click to collapse
I actually said, everything but the original meta-inf folder and original Android manifest....
Steps
Decompile apk.
Edit your apk
Recompile apk.
Unzip both modded and original apk
Delete everything in the original apk except meta-inf and Android manifest.
Copy everything from modded apk over to original apk except for the meta-inf and Android manifest.
Zip it back up, change it from .zip to .apk.
Copy this apk to the root of your phone.
Change permission to 0644
Copy/Move to replace the existing apk.
Reboot
Tulsadiver said:
I actually said, everything but the original meta-inf folder and original Android manifest....
Steps
Decompile apk.
Edit your apk
Recompile apk.
Unzip both modded and original apk
Delete everything in the original apk except meta-inf and Android manifest.
Copy everything from modded apk over to original apk except for the meta-inf and Android manifest.
Zip it back up, change it from .zip to .apk.
Copy this apk to the root of your phone.
Change permission to 0644
Copy/Move to replace the existing apk.
Reboot
Click to expand...
Click to collapse
Hi again,
thanks for your efforts by the way
That's exactly what I did except taking the original androidmanifest.xml since I had to change some things in it...
Will the whole process be not applicable then?
Regards
deomaki
deomaki said:
Hi again,
thanks for your efforts by the way
That's exactly what I did except taking the original androidmanifest.xml since I had to change some things in it...
Will the whole process be not applicable then?
Regards
deomaki
Click to expand...
Click to collapse
Unclear. I've seen some doogee posts on here. Maybe try one of those?
Tulsadiver said:
Unclear. I've seen some doogee posts on here. Maybe try one of those?
Click to expand...
Click to collapse
mmmh, maybe if will have to find out all system apks that use the same certificate framework-res.apk does and resign them with a new cert including the modded system.apk.
I was trying to find a way around that, but maybe I have to go the hard way...
I think that should solve my problem, what do you think?
Regards
deomaki

Categories

Resources