Author Topic: Where can I find the signature of my Android OS?  (Read 505 times)

0 Members and 1 Guest are viewing this topic.

Offline SBTlauien

  • Disciple
  • ***
  • Posts: 454
  • ส็็็็็็็็็.ส็็็็็็็็็.ส็็็็็็็็็
    • View Profile
Where can I find the signature of my Android OS?
« on: September 21, 2014, 07:55:12 am »
My friend is making a little Android app that'll save her money by logging into hundreds of accounts back-to-back, and then listing the best one to use to save the most when purchasing a common commodity.

Her app is getting an this error...

Code: [Select]
android.permission.INTERACT_ACROSS_USERS_FULL
Searching around on the internet, she has discovered that her app will need the same signature as the system.  She knows how to add a signature to her app, but where will she find the signature or her phones system?  It's a Samsung S3, by Virgin Mobile.

Offline aldra

  • Arch Disciple
  • ***
  • Posts: 623
  • albrecht drais
    • View Profile
Re: Where can I find the signature of my Android OS?
« Reply #1 on: September 21, 2014, 09:15:03 am »
http://stackoverflow.com/questions/19756727/what-do-i-do-about-this-requires-android-permission-interact-across-users-full

"android.permission.INTERACT_ACROSS_USERS_FULL is a signature level permission. Your app will not be able to use it until and unless it has the same signature as the system."

in other words, the signature is generated when the OS ROM is compiled... you can't retrieve it from your existing system; it's not the same as an MD5 hash... more like a private key.

I'd suggest looking for another way to do what you're trying, because I doubt you'll have very much luck circumventing that protection.

Offline aldra

  • Arch Disciple
  • ***
  • Posts: 623
  • albrecht drais
    • View Profile
Re: Where can I find the signature of my Android OS?
« Reply #2 on: September 21, 2014, 09:26:48 am »
just skimmed this:

http://developer.android.com/tools/publishing/app-signing.html

signatures are indeed a collection of private keys.

Offline -SpectraL

  • Commandant
  • ****
  • Posts: 1,605
  • Sinking kidiots since 1989
    • View Profile
Re: Where can I find the signature of my Android OS?
« Reply #3 on: September 21, 2014, 09:39:05 am »

You have to get them to sign your APK with their certificate.