PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Sprint Epic 4G (http://forum.ppcgeeks.com/forumdisplay.php?f=249)
-   -   How to sign a Framework-res.apk after change (http://forum.ppcgeeks.com/showthread.php?t=140795)

maxvelday 02-11-2011 09:26 AM

How to sign a Framework-res.apk after change
 
Hi all. After change Framework-res.apk in Rom DK28 EX4 downloading freezes at the logo Epic. How to sign a file Framework-res.apk with changes?

shane6374 02-11-2011 11:36 AM

Re: How to sign a Framework-res.apk after change
 
Use apk manager.
http://forum.xda-developers.com/showthread.php?t=695701

maxvelday 02-15-2011 11:58 AM

Re: How to sign a Framework-res.apk after change
 
I am interested in signing the Official Certificate Samsung where in META-INF/CERT.RSA indicated android.os @ samsung.com Samsung Cert and correctly counted SHA1

rainfreak 02-15-2011 05:20 PM

Re: How to sign a Framework-res.apk after change
 
Actually the easiest way to edit files within APK files is to open the APK file with WinRar or 7Zip. Then copy the files out that you want, make the edits, and then copy them back into the APK. This saves you from the time it takes to re-sign an APK.

I do it all the time with files in the Android kitchen to change the notification bars, taskbars, etc. It is fast and easy, let's you make whatever changes you want, and leaves the APK file signed.

shane6374 02-15-2011 06:03 PM

Re: How to sign a Framework-res.apk after change
 
Quote:

Originally Posted by rainfreak (Post 2056619)
Actually the easiest way to edit files within APK files is to open the APK file with WinRar or 7Zip. Then copy the files out that you want, make the edits, and then copy them back into the APK. This saves you from the time it takes to re-sign an APK.

I do it all the time with files in the Android kitchen to change the notification bars, taskbars, etc. It is fast and easy, let's you make whatever changes you want, and leaves the APK file signed.

I didn't think winrar would work since it seems to always want to compress the files. I need to update my custom Launcher Pro to the newest version so I'll try it out tonight.

rainfreak 02-15-2011 06:09 PM

Re: How to sign a Framework-res.apk after change
 
Quote:

Originally Posted by shane6374 (Post 2056658)
I didn't think winrar would work since it seems to always want to compress the files. I need to update my custom Launcher Pro to the newest version so I'll try it out tonight.

Absolutely works great. I copy the files out, modify them and then drag and drop them back into the WinRar window with the APK file open and it is all good.

shane6374 02-17-2011 12:33 AM

Re: How to sign a Framework-res.apk after change
 
Quote:

Originally Posted by rainfreak (Post 2056665)
Absolutely works great. I copy the files out, modify them and then drag and drop them back into the WinRar window with the APK file open and it is all good.

Shouldn't you be able to extract the apk with 7zip, modify the files and copy them back into the zip?

maxvelday 02-17-2011 06:47 AM

Re: How to sign a Framework-res.apk after change
 
as I wrote in this thread that thegas android 2.2 in which we check if the file Framework-res.apk on SHA1. System files can not simply change WinRAR. I was able to decrypt the certificate pkcs7. But I do not know how to create certificates for calculating SHA1.

shane6374 02-17-2011 02:20 PM

Re: How to sign a Framework-res.apk after change
 
Quote:

Originally Posted by maxvelday (Post 2057349)
as I wrote in this thread that thegas android 2.2 in which we check if the file Framework-res.apk on SHA1. System files can not simply change WinRAR. I was able to decrypt the certificate pkcs7. But I do not know how to create certificates for calculating SHA1.

Sounds like you are trying to work on a theme. If that's the case I'm not sure why you can't just make the changes and sign it via apk manager. I've tried what rainfreak suggested without success so far.

I guess I'm just not sure exactly what you are trying to do. I've made changes plenty of apk's with apk manager with little to no trouble.

maxvelday 02-18-2011 03:08 AM

Re: How to sign a Framework-res.apk after change
 
At the beginning of the theme I have that after a change to the Framework-res.apk WinRar download stuck on the logo of lightning.


All times are GMT -4. The time now is 06:03 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0