Hello Guys,
I am trying to enable logcat in init.rc file using the following service
declaration.
service logcatd /system/bin/logcat -b all -v threadtime -v usec -v
printable -D -f /data/misc/logd/logcat -r 64 -n 256
class late_start
disabled
# logd for write to /data/misc/logd, log group for read from log daemon
user logd
group log
writepid /dev/cpuset/system-background/tasks
I had started the service inside "on
property:persist.logd.logpersistd=logcatd" like
on property:persist.logd.logpersistd=logcatd
mkdir /data/misc/logd 0700 logd log
exec - logd log -- /system/bin/logcat -L -b all -v threadtime -v usec
-v printable -D -f /data/misc/logd/logcat -r 64 -n 256
start logcatd
Now for getting the log every time i need to set this property using
terminal shell command.
Can you please help me how to set this property
""persist.logd.logpersistd=logcat" using code.
Thanks.
On Thursday, August 25, 2011 at 2:47:14 AM UTC+5:30, Radu Iscu wrote:
>
> Hello guys,
>
> Here's the skinny: I'm trying to port the honeycomb to the ziio 7 and I
> have to say that I can't even get the bare bones init.rc to boot.
> I left the kernel partition intact as there's no point in messing with
> that (there's no recovery partition so the kernel doubles as a rescue). It
> holds a 2.6.29 kernel, which is the same as the default one in 3.0.
>
> I never managed to get to a point where I have the new init/ueventd
> working. The device gets stuck in a boot loop, never getting passed the
> kernel logo.
>
> I've tried putting exec logcat -d -f here and there in the init process,
> hoping for some clues, but that doesn't seem to be working.
> Also there is nothing in /data/dontpanic/
>
> Any ideas about what I should do to get a clue about what's going on?
>
> --
> Radu Iscu
> Tel: 0742082607
>
>
--
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.