something went wrong with this posting from me, so sorry, if you get
this twice.
We would like to create a new system property to communicate with from
user space with the kernel and init.rc
( and use the on property feature ).
Something like persist.service.adb.enable.
We can see, that i.e. SystemServer.java uses SystemProperties.set. But
if we tried this from a signed ( platform )
system app, we cannot see the new property in the adb shell with
getprop.
So what are the required steps ?
Thanks a lot for any hint.
Frank
Seems for me, with setprop I can create new system properties ..
But how to make them a "persist" -one ?
And how to initialize the default values during boot time ?
Thanks for any kind hint.
Frank
On 9 Apr., 10:03, FrankG <frankgru...@googlemail.com> wrote:
> Dear all,
>
> something went wrong with this posting from me, so sorry, if you get
> this twice.
>
> We would like to create a newsystemproperty to communicate with from
> user space with the kernel and init.rc
> ( and use the on property feature ).
>
> Something like persist.service.adb.enable.
>
> We can see, that i.e. SystemServer.java uses SystemProperties.set. But
> if we tried this from a signed ( platform )systemapp, we cannot see the new property in the adb shell with
Has really noone done this before ?
Thanks a lot !
Frank
If you want it to be around all the time, unchanged you could put it in init.rc.
e.g.
setprop ro.foobar 1234
init.rc has plenty of other property examples.
You can also run `getprop` in your shell to see a list of properties
that you can then search your source for.
> --
> You received this message because you are subscribed to the Google Groups "android-platform" group.
> To post to this group, send email to android-...@googlegroups.com.
> To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
>
>