[android-developers] Re: How to disable the security/permission check?
We need to target as more markets as we can. So we need to work on those phones already out from the carriers. Could you please pass this information to other people in Google. We do need a way to turn off security for this kind of enterprise software scenario. So more phones will be sold, everybody makes more money... On Nov 19, 6:51 pm, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > Provided that our security works, you can't write a regular app to do this. > You would need to make your own version of the system that either allows it > (blowing security out of the water) or incorporates select features you want > in safe way. > > > > > > On Wed, Nov 19, 2008 at 5:00 PM, blues <[EMAIL PROTECTED]> wrote: > > > My goal is to call those RIL methods in the internal RIL.java. > > Since I don't have access to it on the phone, I endup with copying the > > RIL.java and several other internal java files into my project. Now > > the problem is I am not able to connect to the local socket since it > > needs uid "radio". > > > On Nov 19, 11:28 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > > > blues wrote: > > > > The thing is I need to share with those. > > > > If you're referring to built-in Android applications, in theory you > > > should be using whatever sort of public APIs those packages are > > > supporting (e.g., ContentProvider, a service's AIDL, Intents). > > > > What else are you looking to "share" with these applications? Perhaps > > > there is a way of achieving your business goals without having to try to > > > use somebody's else's private key to sign your apps. > > > > > I hope I don't need to build the whole Andorid source and take the > > > > risk of brick the device. > > > > Since you can't presently deploy a modified firmware image on the > > > T-Mobile G1, bricking it is the least of your worries. You will need to > > > use hardware that supports flashing new firmware -- hopefully some of > > > the next wave of Android devices will support this. > > > > -- > > > Mark Murphy (a Commons Guy)http://commonsware.com > > > > Android Training on the Ranch! -- Mar 16-20, 2009 > >http://www.bignerdranch.com/schedule.shtml > > -- > Dianne Hackborn > [EMAIL PROTECTED] Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to disable the security/permission check?
Provided that our security works, you can't write a regular app to do this. You would need to make your own version of the system that either allows it (blowing security out of the water) or incorporates select features you want in safe way. On Wed, Nov 19, 2008 at 5:00 PM, blues <[EMAIL PROTECTED]> wrote: > > My goal is to call those RIL methods in the internal RIL.java. > Since I don't have access to it on the phone, I endup with copying the > RIL.java and several other internal java files into my project. Now > the problem is I am not able to connect to the local socket since it > needs uid "radio". > > On Nov 19, 11:28 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > > blues wrote: > > > The thing is I need to share with those. > > > > If you're referring to built-in Android applications, in theory you > > should be using whatever sort of public APIs those packages are > > supporting (e.g., ContentProvider, a service's AIDL, Intents). > > > > What else are you looking to "share" with these applications? Perhaps > > there is a way of achieving your business goals without having to try to > > use somebody's else's private key to sign your apps. > > > > > I hope I don't need to build the whole Andorid source and take the > > > risk of brick the device. > > > > Since you can't presently deploy a modified firmware image on the > > T-Mobile G1, bricking it is the least of your worries. You will need to > > use hardware that supports flashing new firmware -- hopefully some of > > the next wave of Android devices will support this. > > > > -- > > Mark Murphy (a Commons Guy)http://commonsware.com > > > > Android Training on the Ranch! -- Mar 16-20, 2009 > http://www.bignerdranch.com/schedule.shtml > > > -- Dianne Hackborn [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to disable the security/permission check?
My goal is to call those RIL methods in the internal RIL.java. Since I don't have access to it on the phone, I endup with copying the RIL.java and several other internal java files into my project. Now the problem is I am not able to connect to the local socket since it needs uid "radio". On Nov 19, 11:28 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > blues wrote: > > The thing is I need to share with those. > > If you're referring to built-in Android applications, in theory you > should be using whatever sort of public APIs those packages are > supporting (e.g., ContentProvider, a service's AIDL, Intents). > > What else are you looking to "share" with these applications? Perhaps > there is a way of achieving your business goals without having to try to > use somebody's else's private key to sign your apps. > > > I hope I don't need to build the whole Andorid source and take the > > risk of brick the device. > > Since you can't presently deploy a modified firmware image on the > T-Mobile G1, bricking it is the least of your worries. You will need to > use hardware that supports flashing new firmware -- hopefully some of > the next wave of Android devices will support this. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > > Android Training on the Ranch! -- Mar 16-20, > 2009http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to disable the security/permission check?
blues wrote: > The thing is I need to share with those. If you're referring to built-in Android applications, in theory you should be using whatever sort of public APIs those packages are supporting (e.g., ContentProvider, a service's AIDL, Intents). What else are you looking to "share" with these applications? Perhaps there is a way of achieving your business goals without having to try to use somebody's else's private key to sign your apps. > I hope I don't need to build the whole Andorid source and take the > risk of brick the device. Since you can't presently deploy a modified firmware image on the T-Mobile G1, bricking it is the least of your worries. You will need to use hardware that supports flashing new firmware -- hopefully some of the next wave of Android devices will support this. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to disable the security/permission check?
The userId "phone" is already on the phone and some packages are signed under this Id. The thing is I need to share with those. I hope I don't need to build the whole Andorid source and take the risk of brick the device. On Nov 19, 4:41 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > blues wrote: > > May I know if this is a way to disable thesecurity/permission check? > > I don't believe there is one. > > > This is a enterprise project so we have the full control of all the > > phones. We don't need the market to distribute the software. > > > I need to share the user id of "phone" by doing this: > > > android:sharedUserId="phone" > > > But on the G1 phone, it doesn't work since I don't have the same > > private key to sign my package. > > As you said, this is an enterprise project. Just mandate the use of the > same private key for all Android applications developed by your enterprise. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.4 Published! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to disable the security/permission check?
I believe you could do this by building the entire system image from source. That way, everything is signed with your certificate and the check on sharedUserId to make sure the certificates are the same shouldn't fail. source.android.com On Nov 19, 6:41 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > blues wrote: > > May I know if this is a way to disable the security/permission check? > > I don't believe there is one. > > > This is a enterprise project so we have the full control of all the > > phones. We don't need the market to distribute the software. > > > I need to share the user id of "phone" by doing this: > > > android:sharedUserId="phone" > > > But on the G1 phone, it doesn't work since I don't have the same > > private key to sign my package. > > As you said, this is an enterprise project. Just mandate the use of the > same private key for all Android applications developed by your enterprise. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.4 Published! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to disable the security/permission check?
blues wrote: > May I know if this is a way to disable the security/permission check? I don't believe there is one. > This is a enterprise project so we have the full control of all the > phones. We don't need the market to distribute the software. > > I need to share the user id of "phone" by doing this: > > android:sharedUserId="phone" > > But on the G1 phone, it doesn't work since I don't have the same > private key to sign my package. As you said, this is an enterprise project. Just mandate the use of the same private key for all Android applications developed by your enterprise. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.4 Published! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---