Exchange android system certificate

Search This thread

Diewi

Senior Member
Jul 7, 2008
378
243
Hi everyone,

Maybe you know the app 2g Toggle. It toggles your 2g/3g state and therefore runs as android.system.phone.
Because of this the system has to be signed with the same certificate as the app. The author uses the cert platform.x509.pem from cyanogen mod. The cyanogen roms will now allow to install this app. But I found other roms like pinky desire that allow the installation as well.
My question is now how to can I tell Android not to use the original cert but the cyanogen one? Within my kitchen I already tried to signed all apks with the platform key and signed the update.zip with this key, but nothing helped.
I just noticed, that the key of the update.zip is irrelevant as cm for example is signed with the testkey.

So, can anyone tell me how I get Android to check the system parts against the platform cert? I'm really clueless right now.

Sent from my HTC Desire using XDA App
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone