disabling media-server

262 views
Skip to first unread message

linux newbie

unread,
Jan 14, 2010, 8:30:09 PM1/14/10
to android...@googlegroups.com
Hi,
 
I downloaded the Android source and compiled for "generic" product.
 
In order to disable media server (as our target device doesnt require it), I modified the init.rc file as follows.
 
service media /system/bin/mediaserver
       user media
       group system audio camera graphics inet net_bt net_bt_admin
       disabled
 
but still if I do "ps" at the command prompt, it shows that mediaserver is running. How to disable it??
 
Thanks

linux newbie

unread,
Jan 16, 2010, 9:46:55 PM1/16/10
to android...@googlegroups.com
Any suggestions?

RaviY

unread,
Jan 16, 2010, 10:24:16 PM1/16/10
to android-porting
How about just removing those lines?

On Jan 17, 7:46 am, linux newbie <linux.newbi...@gmail.com> wrote:
> Any suggestions?
>

> On Fri, Jan 15, 2010 at 12:30 PM, linux newbie <linux.newbi...@gmail.com>wrote:
>
> > Hi,
>
> > I downloaded the Android source and compiled for "generic" product.
>
> > In order to disable media server (as our target device doesnt require it),
> > I modified the init.rc file as follows.
>
> > service media /system/bin/mediaserver
> >        user media
> >        group system audio camera graphics inet net_bt net_bt_admin

> >        *disabled*

linux newbie

unread,
Jan 17, 2010, 1:12:27 AM1/17/10
to android...@googlegroups.com
Yes, I tried that before by removing "service media" lines in init.rc file but booting was failed.


Reply all
Reply to author
Forward
0 new messages