[android-kernel] How to make native Unix/Linux daemon work on Android?

2013-12-06 Thread Dmitry
I'm searching the Internet for a serveral days with no result. So, I decided to ask the community to shed some light on this. I have an application written in C++ that I compiled for Android OS. The app can also be run as daemon (by specifying --daemon option). When it's run as the regular

[android-kernel] How to check how to check whether android OS supports multicore

2013-12-06 Thread Abhinandan Panda
Dear All, I am doing a project on Android compatibility on multi-core architecture. So pls suggest how should I check whether the scheduler recognize multiple threads & schedule multiple cores Pls help out. -- -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.

Re: [android-kernel] Re: Why are mounts only visible to root (Android 4.4 KitKat KRT16M - on Nexus 5)

2013-12-06 Thread noktilux
\o/ yay here is a screen shot of a little test (the NAS is mounted to /sdcard/NAS): http://qstatistic.com/00/mounted_nas.png -- -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel --- You received this message because you are su

Re: [android-kernel] Re: Why are mounts only visible to root (Android 4.4 KitKat KRT16M - on Nexus 5)

2013-12-06 Thread noktilux
On Friday, December 6, 2013 10:27:10 AM UTC-5, z.c wrote: > > if your device is using init and start can be executed. "start > " is correct. "start-ssh" is just not a service name, it's the > executable, the service name can be found with the "grep..." command from > my previous post. in my ca

Re: [android-kernel] Re: Why are mounts only visible to root (Android 4.4 KitKat KRT16M - on Nexus 5)

2013-12-06 Thread z.c
if your device is using init and start can be executed. "start " is correct. "start-ssh" is just not a service name, it's the executable, the service name can be found with the "grep..." command from my previous post. in my case its "sshd". 2013/12/6 noktilux > > Sorry but I can't teach you eve

[android-kernel] Re: Why are mounts only visible to root (Android 4.4 KitKat KRT16M - on Nexus 5)

2013-12-06 Thread noktilux
> Sorry but I can't teach you everthing you need to know to get this > working. > my apologies if it seemed that way. my simple question at this point is how to start the service in question. "start servicename" is clearly not correct on my device. as for doing this on a webserver.that i

[android-kernel] Re: Why are mounts only visible to root (Android 4.4 KitKat KRT16M - on Nexus 5)

2013-12-06 Thread zc
Sorry but I can't teach you everthing you need to know to get this working. I haven't my self unterstood those things to the end and since this is all very dependent on your particular device, no one can give you a guide that will explain everything you need to know. Like me, you have a leak of

[android-kernel] Re: Why are mounts only visible to root (Android 4.4 KitKat KRT16M - on Nexus 5)

2013-12-06 Thread noktilux
zc: to keep things simple, i used the start-ssh service (which is part of my init.rc). i created /system/bin/start-ssh q=which consisted of a test ssh script. i changed the permissions so that it would be executable, but when i do... # start start-ssh, ...nothing happens. i tried rebooting

[android-kernel] Re: I want to generate a KernelPanic(reset)

2013-12-06 Thread fighting
echo c>/proc/sysrq-trigger 在 2013年7月8日星期一UTC+8下午10时10分20秒,lts写道: > > Hi,All > > Please tell me someone. > > I want to generate a Kernel panic (Reboot) intentionally in the automatic > test. > Software uses 「user」 instead of 「eng」. > API to call is a good even LinuxAPI even AndroidAPI. > Example >

[android-kernel] Re: Why are mounts only visible to root (Android 4.4 KitKat KRT16M - on Nexus 5)

2013-12-06 Thread zc
I guess it depends on your version of android, which services are availabe and on the policys of SElinux what they can do. But basicly you can do the following: Find out what services init knows: # grep "service " /init*rc Start the Service manually: # start Stop the Service manually: #