On Tue, Jul 26, 2011 at 10:46 AM, Srinidhi K V <[email protected]> wrote:
>
> Hello All,
>              I have a custom hardware on which Android 2.3.4 is
> running. I want to enable ADB support for this device. Can anyone
> please give me some pointers to get started on this.
>

Enable following Kernel Config options:

CONFIG_USB_ANDROID=y
CONFIG_USB_ANDROID_ADB=y

And Register ADB service in /init.rc:

# adbd is controlled by the persist.service.adb.enable system property
service adbd /sbin/adbd
    disabled

# adbd on at boot in emulator
on property:ro.kernel.qemu=1
    start adbd

on property:persist.service.adb.enable=1
    start adbd

on property:persist.service.adb.enable=0
    stop adbd


Regards,
Amit Pundir
http://arowboat.org


>
> Thanks in Advance,
> Srinidhi KV
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to