[android-porting] how to stop console service in init.rc

2010-12-21 Thread steeldusk
hi, I am having a trouble stopping console service in init.rc. it's controlled by ro.debuggable property value and it is set to 1 by default.prop. I know I can just change the value by modifying default.prop but for my own reason I need to leave default.prop untouched and stop console(bin\sh) in i

[android-porting] init.rc service group/user

2011-06-03 Thread steeldusk
Hi, I am trying to set user and group in init.rc for my own service. It works nicely with having user as root, but I see some other default android services have 'system' as group. For example, service media /system/bin/mediaserver class services group system audio camera and, I am wonde

[android-porting] recovery img with ramdisk.img as initramfs

2011-09-25 Thread steeldusk
Hi, I've been trying to boot with recovery image built with android. Kernel seems have no problem booting, but ramdisk.img is not detected while kernel boots up. (this ramdisk.img is separated from kernel image) I've set, CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_RD_GZIP=y in ker