Re: [android-kernel] Android init process modification

2012-08-15 Thread Terence Yeong
gt; > On Monday, August 13, 2012 11:19:32 AM UTC+5:30, Terence Yeong wrote: >> >> Hi guys, >> >> Sorry for the late reply. >> >> @Luke: Yeap, my fputs is showing up. I have already solved the problem of >> execve-ing to my program. However, another proble

Re: [android-kernel] Android init process modification

2012-08-12 Thread Terence Yeong
Hi guys, Sorry for the late reply. @Luke: Yeap, my fputs is showing up. I have already solved the problem of execve-ing to my program. However, another problem has popped up. If user input is not received, my intention is for the rest of the init process to continue as normal so the phone can

[android-kernel] Android init process modification

2012-08-06 Thread Terence Yeong
Hi guys, I'm a student doing a project where I have to interrupt the init process of Android. As we all know, init is the program that is run after the kernel boots up. In the source code of init.c, I made the following changes to main(): int main(int argc, char **argv) { int fd_count = 0;