possibility of only starting up adb

12 views
Skip to first unread message

Tez

unread,
Jan 12, 2011, 12:28:50 PM1/12/11
to android-platform
Hi,

I am investigating the boot process, and I only wish to boot the
kernel upto a point where adb is functional.
when does the adb daemon start? (where in the code).

Cheers,
Earlence

Tez

unread,
Jan 12, 2011, 12:41:07 PM1/12/11
to android-platform
correction: boot the system upto a point where adb is functional. I
dont want the entire android framework to be booted.

Arun K. Singh

unread,
Jan 12, 2011, 10:47:03 PM1/12/11
to android-...@googlegroups.com
I would be one audience interested in knowing the boot flow on Android
once you may have deciphered ... :-) keep posted!

Best Regards,
Arun K. Singh
www.crazydaks.com

> --
> You received this message because you are subscribed to the Google Groups "android-platform" group.
> To post to this group, send email to android-...@googlegroups.com.
> To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
>
>

Name Less, the Jedi

unread,
Jan 13, 2011, 4:51:56 AM1/13/11
to android-...@googlegroups.com
Hi

2011/1/12 Tez <earlen...@gmail.com>

correction: boot the system upto a point where adb is functional. I
dont want the entire android framework to be booted.


I think that you need to modify init.rc file (like remove bottom half of it).
It's located in system/core/rootdir/
Docs on bootflow and init.rc syntax are in system/core/init


Best regards,
    NLJ



--
Name Less, the Jedi
Just a friendly Jedi Knight

Tim Bird

unread,
Jan 13, 2011, 1:26:01 PM1/13/11
to android-...@googlegroups.com
On 01/13/2011 01:51 AM, Name Less, the Jedi wrote:
> Hi
>
> 2011/1/12 Tez <earlen...@gmail.com <mailto:earlen...@gmail.com>>

>
> correction: boot the system upto a point where adb is functional. I
> dont want the entire android framework to be booted.
>
>
>
> I think that you need to modify init.rc file (like remove bottom half of
> it).
> It's located in system/core/rootdir/
> Docs on bootflow and init.rc syntax are in system/core/init

Look for "service adb /sbin/adbd" in /init.rc on your root filesystem.

You'll have to decide what other stuff you can comment out, if you
just want this running. Note that the main application framework
all starts from zygote, which is also started by 'init' based on an
entry in /init.rc.

As for boot sequence information, you might want to look at:
http://elinux.org/Android_Booting

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Network Entertainment
=============================

Reply all
Reply to author
Forward
0 new messages