Help with .APK File - General Questions and Answers

Hi Developpers !!
I'm in an urgent need of help !!!
The thing is i have this app .APK that i want to modify,
I open it with winrar, navigate to the file i want to modify (Bitmap image in my case) then i copy it into the Desktop, modify it,
and then put it back in the rar archive without modifying the name or anything.
Then when i try to install (on Agent bluestacks) it it dosen't work !!
There's an Eroor
INSTALL PARSE FAILED INCONSISTENT CERTIFICATES
I watched some turorial on How to Edit image resources inside an android APK file and i did a new signature and it's allways the same error
I really need your help on replacing the file...
PS I uploaded the file .APK and the image i want to replace

Boom_vic said:
and then put it back in the rar archive without modifying the name or anything.
Click to expand...
Click to collapse
That's the problem, you need to sign it first. - http://forum.xda-developers.com/showthread.php?t=2069287

Thanks so much !! I will try this now

Hi
I followed your Topic, i was able to decompile it...but i can't recompile it
can you please do it for me ? cuz i'm in a hurry i need it by Wednesday..
You just have to replace the train480x320.png
in \res\drawable with the same image that i have uploaded with the rar file and sign it..
That would be perfect
thanks in advance

Related

How do I sign a .DLL file???

Ok , I am trying to resign my phcanBmp.dll file to have my own images. I have used ResHack in order to change the file and make a new one but I know you need to sign the file in order for it to work...
So I have downloaded the latest BuildOS+Package 4.2b3 and it has a signapp.exe.... Problem is I cant find any information on how to use it??? I have searched google and located a sign and timestamp dll files but I am not sure if this will work with mobile applications.
Please help
ryncppr said:
Ok , I am trying to resign my phcanBmp.dll file to have my own images. I have used ResHack in order to change the file and make a new one but I know you need to sign the file in order for it to work...
So I have downloaded the latest BuildOS+Package 4.2b3 and it has a signapp.exe.... Problem is I cant find any information on how to use it??? I have searched google and located a sign and timestamp dll files but I am not sure if this will work with mobile applications.
Please help
Click to expand...
Click to collapse
ResHack will cause a dll or exe locked to sign if u edit it heavily.
Use Heaventools Resource Editor or PE Explorer instead
I bought Resource Editor and there is no way to sign the file....It shows when I edit only 6 bitmap files it says the file is no longer signed or trusted...is there a way around this
NEVER MIND GOOGLE IS MY FRIEND
ryncppr said:
I bought Resource Editor and there is no way to sign the file....It shows when I edit only 6 bitmap files it says the file is no longer signed or trusted...is there a way around this
Click to expand...
Click to collapse
i attached the program i used to sign the htchome.dll file I patched. Do the following:
1) Put the file in the same folder as the program.
2) Go into command prompt and navigate to the folder which contains the the file (in my case C:\Documents and Settings\ScottE\Desktop\Programs\ATT Tilt\Programs\SignCode\SignCode)
3) Type "sign filename" which in my case was: sign htchome.dll
Then it should give you a message that the file was signed.
I just added a screenshot
you can also use sign tool from Microsoft SDK 2008
i tought he cannot sign the file after edit it. silly me there is also multisign tool floating in this forum based on SDK but with easy GUI.
skatdawg said:
i attached the program i used to sign the htchome.dll file I patched. Do the following:
1) Put the file in the same folder as the program.
2) Go into command prompt and navigate to the folder which contains the the file (in my case C:\Documents and Settings\ScottE\Desktop\Programs\ATT Tilt\Programs\SignCode\SignCode)
3) Type "sign filename" which in my case was: sign htchome.dll
Then it should give you a message that the file was signed.
I just added a screenshot
Click to expand...
Click to collapse
Thats what I used..!!!! Thank you so much for the response...The 2008 SDK signs files but not really, you actually have to buy digital signatures...this way its free and works....
Just copied my phncanbmp test file to my phone and it works like a charm!!
ryncppr said:
Thats what I used..!!!! Thank you so much for the response...The 2008 SDK signs files but not really, you actually have to buy digital signatures...this way its free and works....
Just copied my phncanbmp test file to my phone and it works like a charm!!
Click to expand...
Click to collapse
Glad to help you man
a lot of thanks dear scotchua very useful

Voip Problem!

Hi guyz,
please help.i read the voip solved thread.but still have a problem.i create the _setup.xml file but it is a txt file so i dont know how to convert to a real xml file and make te cab file at last move to my htc s710.i wish someone could take a capture of this hole work and posted to this forum,could be more easy for everyone have problem to install voip..(sory for my bad english)thanks..
i dont know about the rst but to convert the text file to xml u can just rename the file to ***.xml
bestmodel03 said:
Hi guyz,
please help.i read the voip solved thread.but still have a problem.i create the _setup.xml file but it is a txt file so i dont know how to convert to a real xml file and make te cab file at last move to my htc s710.i wish someone could take a capture of this hole work and posted to this forum,could be more easy for everyone have problem to install voip..(sory for my bad english)thanks..
Click to expand...
Click to collapse
i rename it but its still txt file!
It might be xml but the default program to view it must be set to notepad,if it is not so,use resco explorer for smartphone and rename it,i do that and it works for sure
bestmodel03 said:
i rename it but its still txt file!
Click to expand...
Click to collapse
- Open the file with notepad.
- Click save as
- Click Save as Type and Select All Types/Files (The Default is .txt)
- Name it _setup.xml
- Click save
i finally converted,but i cant make voip call..i have to edit my ipdialplan.xml..how can i do this?what is need to be change?i live in danmark and use voipraider..need help please..

[Q] how to install a zipped android file without any apk file inside

please i have come across a lot of these zipped android application files that when i unzip them on the laptop i cant find any apk file therein i only find some folders with the name
lib
META-INF
and then some files with these names
AndroidManifest
classes.dex
resources.arsc
please can someone explain to me how i can install such zip files
Hello sir, I have the same problem.
What is the solution, please ?
mortallkombat said:
please i have come across a lot of these zipped android application files that when i unzip them on the laptop i cant find any apk file therein i only find some folders with the name
lib
META-INF
and then some files with these names
AndroidManifest
classes.dex
resources.arsc
please can someone explain to me how i can install such zip files
Click to expand...
Click to collapse
An APK file by nature is a ZIP file. The reported files/folders make up an APK file.
Read also here:
Structure of an Android App Binary (.apk)
Structure of an Android App Binary (.apk)
www.appdome.com
To install the APK replace file's extension "ZIP" by "APK".
Hello thank you sir,
but the problem I have exactly, is, when I download a zip file from github, your mentioned method wouldn't work.
Maybe you have another solution

Edit .sin file

Hello everyone,
I am tying to make a "light" official rom of the Z3 by removing some *.apk of an *.ftf file.
I have extracted all the folders from the *.ftf (ftf - system.sin - system.ext4 - files...) and removed all the apk I don't want, but I don't know how to make a new "system.sin" from all the files I have extracted. I looked from the internet, but I am a little noob.
Can someone help me to build a new *.ftf file to flash it with Flashtool ? :crying:
Dracow said:
Hello everyone,
I am tying to make a "light" official rom of the Z3 by removing some *.apk of an *.ftf file.
I have extracted all the folders from the *.ftf (ftf - system.sin - system.ext4 - files...) and removed all the apk I don't want, but I don't know how to make a new "system.sin" from all the files I have extracted. I looked from the internet, but I am a little noob.
Can someone help me to build a new *.ftf file to flash it with Flashtool ? :crying:
Click to expand...
Click to collapse
As far as i known you can't edit .sin / .ftf files as they are signed using sony private key that no one has...
Technical info here:
https://gist.github.com/dosomder/8ed79b26a5e063efa5ef
"And that is the reason why we can not create custom firmwares for Xperia. If you still don't understand, RSA is an asymmetric function.
This means it's using a private key to create the signature and a public key to read it. So even if we find the public key
(which is somewhere on the device), we can never find or guess the private key. Therefore we can not create a valid signature."
But you can create a .zip firmware to be flashed via recovery
I used Flashtool-sin editor on "system.sin" that give me "system. ext4".
With ext2explore I opened " system.ext4" and extracts all files and folders (app, privateapp, etc, build.prop...).
From folders "app" and "privateapp", I removed the *.apk I don't want, but I don't know if I can build a new " system.sin".
There is really no way to reverse ? Make a "system. ext4" from the folders I modified, and convert it in "system.sin" ?
If we can do something in a way, can't we do it on "reverse way" ?
Dracow said:
I used Flashtool-sin editor on "system.sin" that give me "system. ext4".
With ext2explore I opened " system.ext4" and extracts all files and folders (app, privateapp, etc, build.prop...).
From folders "app" and "privateapp", I removed the *.apk I don't want, but I don't know if I can build a new " system.sin".
There is really no way to reverse ? Make a "system. ext4" from the folders I modified, and convert it in "system.sin" ?
If we can do something in a way, can't we do it on "reverse way" ?
Click to expand...
Click to collapse
It cannot be done. 100% impossible.
If you want to make your own rom Google [NUT]'s method to create your own rom.
There is also a tool to create your own prerooted flashable zip, but if course, all of this requires root
Thanks a lot for all your answers...
I won't try to make it in zip...

how to open file .lgk

hello ... any idea to open this file? I need his inside file .. thanks
this is file to upgrade system navigation lg (kia hyundai)
link file https://drive.google.com/open?id=0B5Dw36oySp1Za2NPenloMnRHQk0
up
I ask the same question. Are there any progress in this direction? Really no one was picking with such files? It is very necessary to modify this file.

Categories

Resources