What's What - Motorola MB200

This is a "What's What" which means that it's a list of files that are responsible for things on a device.

Most of the init.rc and init.morrison.rc modifications don't need to be used if using the 2.1.5 versions of these files in tandem with the 2.1.5 kernel.

Keymapping

 * /system/usr/keychars/
 * /system/usr/keylayout/

WiFi

 * /system/lib/dhd.ko
 * /system/etc/wifi/

edit - /system/etc/wifi/wpa_supplicant || ~/source-dir/external/wpa_supplicant/wpa_supplicant.conf - ctrl_interface=/data/system/wpa_supplicant ctrl_interface_group=wifi

edit - init.morrison.rc - mkdir /data/misc/wifi 0770 wifi wifi mkdir /data/misc/wifi/sockets 0770 wifi wifi mkdir /data/system 0771 system system mkdir /data/system/wpa_supplicant 0771 wifi wifi

Touchscreen

 * /system/bin/touchpad
 * /system/etc/touchpad/

edit - init.morrison.rc - setprop sys.motorola.infactory 0

Vibrate
edit - ~/source-dir/hardware/libhardware_legacy/vibrator/vibrator.c -
 * 1) define THE_DEVICE "/sys/class/vibrator/vibrator/enable"

SD Card
Eclair - edit - /system/etc/vold.conf || ~/source-dir/system/core/rootdir/etc/vold.conf - volume_sdcard { media_path   /devices/platform/msm_sdcc.1/mmc_host/mmc0 media_type   mmc mount_point  /sdcard ums_path     /devices/platform/usb_mass_storage/lun0 }

Froyo - edit - /system/etc/vold.fstab || ~/source-dir/system/core/rootdir/etc/vold.fstab - dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.1/mmc_host/mmc0

LEDs

 * /system/lib/hw/lights.msm7k.so
 * /system/lib/libmot_led.so

kernel/drivers/leds/als.h kernel/drivers/leds/leds-adp8862.c kernel/drivers/leds/leds-fan5646.c kernel/drivers/leds/leds-lm3535.c kernel/drivers/leds/leds-morrison-kpd.c kernel/drivers/leds/leds-pm7540-btn.c kernel/drivers/leds/leds-pm7540-kpd.c kernel/drivers/leds/leds-pm7540-soc.c
 * Leds drivers:
 * Notification led:

"./drivers/leds/leds-fan5646.c"
 * Fairchild FAN5646 LED Driver / LEDS_FAN5646 [=y]

fan5646_init: enter fan5646_init: platform_driver_register returned 0 fan5646_probe: enter Registered led device: messaging ... <6>[   4.416711] init: event { 'add', '/devices/platform/fan5646.0/leds/messaging', 'leds', , -1, -1 }

Sensors
Battery temp sensor: kernel/drivers/i2c/chips/bq27505.c
 * /system/lib/hw/sensors.msm7k.so

http://www.ti.com/ww/en/analog/bq275xx/index.htm http://focus.ti.com/docs/prod/folders/print/bq27505.html

2D Hardware Accleration
possibly /system/lib/hw/copybit.msm7k.so
 * /system/lib/hw/gralloc.msm7k.so

Google Apps
for VoiceSearch- /system/lib/libspeech.so
 * /system/app/BugReport.apk
 * /system/app/EnhancedGoogleSearchProvider.apk
 * /system/app/GenieWidget.apk
 * /system/app/Gmail.apk
 * /system/app/GmailProvider.apk
 * /system/app/GoogleApps.apk
 * /system/app/GoogleBackupTransport.apk
 * /system/app/GoogleCheckin.apk
 * /system/app/GoogleContactsSyncAdapter.apk
 * /system/app/GooglePartnerSetup.apk
 * /system/app/GoogleSettingsProvider.apk
 * /system/app/GoogleSubscribedFeeds.apk
 * /system/app/gtalkservice.apk
 * /system/app/LatinImeTutorial.apk
 * /system/app/Maps.apk
 * /system/app/MarketUpdater.apk
 * /system/app/MediaUploader.apk
 * /system/app/NetworkLocation.apk
 * /system/app/SetupWizard.apk
 * /system/app/Street.apk
 * /system/app/Talk.apk
 * /system/app/TalkProvider.apk
 * /system/app/Vending.apk
 * /system/app/VoiceSearch.apk
 * /system/app/YouTube.apk
 * /system/etc/permissions/com.google.android.datamessaging.xml
 * /system/etc/permissions/com.google.android.gtalkservice.xml
 * /system/etc/permissions/com.google.android.maps.xml
 * /system/framework/com.google.android.datamessaging.jar (not needed)
 * /system/framework/com.google.android.gtalkservice.jar
 * /system/framework/com.google.android.maps.jar
 * /system/lib/libgtalk_jni.so

Sound
From E2Cb1 -> /system/lib/push/


 * /system/lib/libaudio.so
 * /system/lib/libaudioeq.so
 * /system/lib/libaudioflinger.so
 * /system/lib/libaudiopolicy.so
 * /system/lib/libaudiopolicygeneric.so

Accelerometer
needs testing


 * /system/bin/akmd2
 * /system/etc/akm

MAYBE edit - init.morrison.rc -
 * 1) E-compass daemon
 * 2) service akmd2 /system/bin/akmd2 -f /system/etc/akm/akmd_set.cfg
 * 3) user system
 * 4) group input
 * 5) class HW
 * 6) oneshot

Radio
needs updates for froyo

replace - ~/source-dir/hardware/ril/ - MustyMod RIL hack


 * /system/bin/qmuxd
 * /system/bin/rild
 * /system/lib/liba2dp.so
 * /system/lib/libaudioeq.so
 * /system/lib/libcm.so
 * /system/lib/libdsm.so
 * /system/lib/libdss.so
 * /system/lib/libgsdi_exp.so
 * /system/lib/libgstk_exp.so
 * /system/lib/libmmgsdilib.so
 * /system/lib/libnv.so
 * /system/lib/liboncrpc.so
 * /system/lib/libqmi.so
 * /system/lib/libqueue.so
 * /system/lib/libril-qc-1.so
 * /system/lib/libsnd.so
 * /system/lib/libwms.so
 * /system/lib/libwmsts.so

edit - /system/etc/build.prop - rild.libargs=-d /dev/smd0 rild.libpath=/system/lib/libril-qc-1.so"

edit - boot.img->init.morrison.rc - mkdir /data/radio 0770 radio radio

Bluetooth
not complete


 * /system/bin/bt_downloader
 * /system/bin/hciattach
 * /system/bin/bluetoothd
 * /system/bin/bthelp
 * /system/bin/bt_init
 * /system/bin/bt_test_exec
 * /system/xbin/hciconfig
 * /system/xbin/hcitool
 * /system/lib/bluez-plugin/
 * /system/lib/libbluetooth.so
 * /system/lib/libbluetoothd.so
 * /system/lib/libmot_bluetooth_jni.so
 * /system/etc/bt_init.cfg
 * /system/etc/BCM4325D1_004.002.004.0218.0225.hcd

symlink /dev/MSM0 -> /dev/ttyHS0

GPS
not complete

Camera
not complete

Kernel (maybe) relevant files:
 * /system/framework/com.motorola.android.camera.jar
 * /system/etc/permissions/com.motorola.android.camera.xml
 * kernel/drivers/media/video/msm_camera.c
 * kernel/drivers/misc/mot_camera_misc/motcamera.c
 * kernel/drivers/misc/mot_camera_misc/mot_camera_misc.c
 * kernel/include/media/msm_camera.h

Compass
not complete

3D Hardware Acceleration
not complete


 * /system/lib/egl/*
 * /system/lib/libETC1.so
 * /system/lib/libRS.so
 * /system/lib/librs_jni.so

Video Playback
not complete


 * /system/lib/libomx_*
 * /system/lib/libOmx*
 * /system/lib/libopencore*
 * /system/lib/libmetainfo.so
 * /system/etc/01_pvplayer_mot.cfg
 * /system/etc/pvplayer_mot.cfg
 * /system/etc/arcplayer.cfg