Reputation: 557
1) Is it possible to CHANGE UID if i get a ROOT ACCESS to my android device ?
2) If 2 Appz developed by same developer having SHARE ID with different Applications permissions will work ?
Upvotes: 4
Views: 7652
Reputation:
Two applications that are signed with the same developer certificate can run with the same UID if you specify a common value for sharedUserId in the manifest file. Applications that are signed with different developer certificates cannot run with the same UID. If you root your device, you can modify the kernel and all bets are off, but this is not possible with a non-rooted/modified Android system.
If two applications are developed by the same entity, and signed by the same developer certificate, the common UID runs with a union of the declared permissions. So if app1 has permissions A and B and app2 has permission C, and they run under the same UID, they both will have permissions A, B, and C.
Upvotes: 5