本文介绍了Android系统证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望你能帮帮我!

我有一个三星的i-9000和我正在写一个应用程序来输入SIM卡的PIN code,如果它尚未做过的事情。

I have a Samsung i-9000 and i'm writing an application to enter the pin code of the SIM card if it has not already been done before.

我插入的android

I inserted android:sharedUserId="android.uid.system" in AndroidManifest.xml and the code in my Activty class is:

TelephonyManager tm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
clazz = Class.forName(tm.getClass().getName());
m = clazz.getDeclaredMethod("getITelephony");
m.setAccessible(true);
it = (ITelephony)m.invoke(tm);

现在我知道我必须让我签字与体系认证证书(或系统键)应用程序与Android 2.3.3工作,但我不我怎么能做到这一点。以前我从未签署一个应用程序,尤其是系统的应用程序。

Now I know I have to sign my app with system certificate (or system key) to work with Android 2.3.3, but I don't how I can do it. I never signed an app before, especially as system app.

在谷歌,我发现这一个梦电话:

On google I found this for a Dream telephone:

- 在应用程序的Andr​​oidManifest.xml中:下
元素添加属性android:sharedUserId =android.uid.system

- 使用导出你的Andr​​oid应用程序的签名版本
月蚀:该项目右键点击>>的Andr​​oid工具>>出口
未签名的应用程序包。

- 使用根的,Android的源树输入/输出/主机/你的主机/框架/
signapk.jar签署使用platform.x509.pem和platform.pk8您的应用程序
在根中,Android的源代码树/建设/目标/产品/安全

我不明白的最后一点的意思!!!!有什么用我一步一步做?哪里是输入/输出/主机//框架/
signapk.jar文件?哪里platform.x509.pem和platform.pk8?它说:/编译/目标/产品/安全,但如果是这条道路?
上述setps是一个梦的电话,也许有不同的三星i9000的东西吗?

I don't understand the meaning of the last point!!!! What have I to do step by step?? Where is /out/host//framework/signapk.jar file?? Where are platform.x509.pem and platform.pk8? It says "/build/target/product/security", but where is this path?The setps above are for a Dream telephone, maybe there is something different in Samsung i9000?

我不知道这是否可能是有用的,艾森豪威尔我有一个根深蒂固三星的i-9000与黑人10.2 ROM,开发工具:Eclipse中,操作系统:Windows7的32位

I don't know if it could be useful, hower I have a rooted Samsung i-9000 with Darky 10.2 ROM, development tool: Eclipse, OS: Windows7 32bit

非常感谢你!!!!

推荐答案

除了通过三星找份工作,或者通过在枪口下劫持人质,你不能与三星的签名密钥签名的应用程序。

Other than by getting a job at Samsung, or perhaps by taking hostages at gunpoint, you cannot sign applications with Samsung's signing key.

欢迎您来创建自己的固件,在这种情况下,你控制自己的签名密钥。当然,在这种情况下,你可以把这个code右键进入修改的固件。

You are welcome to create your own firmware, in which case you control your own signing key. Of course, in that case, you could put this code right into the modified firmware.

这篇关于Android系统证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 16:48
查看更多