Re: [android-kernel] chmod 777 not working with init.rc

2011-09-20 Thread biAji
Try logwrapper your chmod command to get some output log On 2011-9-21 下午12:39, "Pratik Prajapati" wrote: > I can see my changes in init.rc when I 'cat' it on adb shell. But still no > change in the permission of the file after the device boots up. > Any other guess? > > Thanks. > > On Tue, Sep 20,

Re: [android-kernel] chmod 777 not working with init.rc

2011-09-20 Thread Pratik Prajapati
I can see my changes in init.rc when I 'cat' it on adb shell. But still no change in the permission of the file after the device boots up. Any other guess? Thanks. On Tue, Sep 20, 2011 at 8:40 PM, venkata Aravind wrote: > > I think the modified file of your init.rc, is overwritten by build scrip

Fwd: [android-kernel] chmod 777 not working with init.rc

2011-09-20 Thread venkata Aravind
I think the modified file of your init.rc, is overwritten by build script and the changes are missed out in final image. Better way would be apply the changes to init.rc file at below location. system/core/rootdir/init.rc You can try like, pull the init.rc file from the file-system apply the chang

Re: [android-kernel] chmod 777 not working with init.rc

2011-09-20 Thread venkata Aravind
I think the modified file of your init.rc, is overwritten by build script and the changes are missed out in final image. Better way would be apply the changes to init.rc file at below location. system/core/rootdir/init.rc You can try like, pull the init.rc file from the file-system apply the chang

Re: [android-kernel] chmod 777 not working with init.rc

2011-09-20 Thread Pratik Prajapati
Hi, I'm doing below things in init.rc only. (1) on device-added- chmod 777 (2) on boot chmod 777 But it does not work. -- Regards, Pratik Prajapati On Tue, Sep 20, 2011 at 8:58 AM, jagan <402ja...@gmail.com> wrote: > You can't give the permissions directly on android source. > We

Re: [android-kernel] chmod 777 not working with init.rc

2011-09-20 Thread jagan
You can't give the permissions directly on android source. We need to give the permissions on init.rc. Better to read the file from system/core/init/readme.txt Regards, Jagan On Tue, Sep 20, 2011 at 9:18 PM, Pratik Prajapati < pratik.prajap...@gmail.com> wrote: > Hi There, > > I'm setting perm

[android-kernel] chmod 777 not working with init.rc

2011-09-20 Thread Pratik Prajapati
Hi There, I'm setting permission to 777 (R+W+E for all) to a script file. But after kernel built and flashed to the system, permission does not get changed as expected. I understand I can give permission in make file while creating filesystem to be flashed on system. But same thing is happening fo