Skip to content

Commit

Permalink
add begonia
Browse files Browse the repository at this point in the history
Change-Id: I6eafb4979c3e9d331028ee58696da1154ace21cb
  • Loading branch information
wanggjghost committed Sep 4, 2011
1 parent 927834e commit 057f258
Show file tree
Hide file tree
Showing 546 changed files with 5,161 additions and 0 deletions.
10 changes: 10 additions & 0 deletions begonia/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

Proprietary files for android_device_motorola_begonia

It contains all of the files from the stock cliq2 2.2.2

Some files were replace from cliq2 2.3

Not all the files are needed( I'm a little lazy :P )


Binary file added begonia/app/AtCmd.apk
Binary file not shown.
Binary file added begonia/app/AtCmd.odex
Binary file not shown.
Binary file added begonia/app/FMRadio.apk
Binary file not shown.
Binary file added begonia/app/FMRadioService.apk
Binary file not shown.
Binary file added begonia/app/MediaSync.apk
Binary file not shown.
Binary file added begonia/app/MotoPhonePortal.apk
Binary file not shown.
179 changes: 179 additions & 0 deletions begonia/begonia-vendor.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
# Copyright (C) 2011 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


# LIBS
PRODUCT_COPY_FILES += \
vendor/motorola/begonia/lib/libcamera.so:system/lib/libcamera.so \
vendor/motorola/begonia/lib/libcamera.so:obj/lib/libcamera.so \
vendor/motorola/begonia/lib/libaudio.so:obj/lib/libaudio.so \
vendor/motorola/begonia/lib/libaudio.so:system/lib/libaudio.so \
vendor/motorola/begonia/lib/libarcsoft.so:system/lib/libarcsoft.so \
vendor/motorola/begonia/lib/libcaps.so:system/lib/libcaps.so \
vendor/motorola/begonia/lib/libIMGegl.so:system/lib/libIMGegl.so \
vendor/motorola/begonia/lib/libpvr2d.so:system/lib/libpvr2d.so \
vendor/motorola/begonia/lib/libpvrANDROID_WSEGL.so:system/lib/libpvrANDROID_WSEGL.so \
vendor/motorola/begonia/lib/libPVRScopeServices.so:system/lib/libPVRScopeServices.so \
vendor/motorola/begonia/lib/libsmiledetect.so:system/lib/libsmiledetect.so \
vendor/motorola/begonia/lib/libsrv_init.so:system/lib/libsrv_init.so \
vendor/motorola/begonia/lib/libsrv_um.so:system/lib/libsrv_um.so \
vendor/motorola/begonia/lib/libbattd.so:system/lib/libbattd.so \
vendor/motorola/begonia/lib/libcryptoki.so:system/lib/libcryptoki.so \
vendor/motorola/begonia/lib/libganril.so:system/lib/libganril.so \
vendor/motorola/begonia/lib/libgki.so:system/lib/libgki.so \
vendor/motorola/begonia/lib/libglslcompiler.so:system/lib/libglslcompiler.so \
vendor/motorola/begonia/lib/libHPImgApi.so:system/lib/libHPImgApi.so \
vendor/motorola/begonia/lib/libmotdb.so:system/lib/libmotdb.so \
vendor/motorola/begonia/lib/libmotodbgutils.so:system/lib/libmotodbgutils.so \
vendor/motorola/begonia/lib/libmotdb.so:system/lib/libmotdb.so \
vendor/motorola/begonia/lib/libmsl_interface.so:system/lib/libmsl_interface.so \
vendor/motorola/begonia/lib/libssmgr.so:system/lib/libssmgr.so \
vendor/motorola/begonia/lib/libtpa.so:system/lib/libtpa.so \
vendor/motorola/begonia/lib/libtpa_core.so:system/lib/libtpa_core.so \
vendor/motorola/begonia/lib/libreference-ril.so:system/lib/libreference-ril.so \
vendor/motorola/begonia/lib/libril-moto-umts-1.so:system/lib/libril-moto-umts-1.so \
vendor/motorola/begonia/lib/librilswitch.so:system/lib/librilswitch.so \
vendor/motorola/begonia/lib/libsmapi.so:system/lib/libsmapi.so \
vendor/motorola/begonia/lib/hw/gralloc.omap3.so:system/lib/hw/gralloc.omap3.so \
vendor/motorola/begonia/lib/dsp/baseimage.dof:system/lib/dsp/baseimage.dof \
vendor/motorola/begonia/lib/dsp/conversions.dll64P:system/lib/dsp/conversions.dll64P \
vendor/motorola/begonia/lib/dsp/h264vdec_sn.dll64P:system/lib/dsp/h264vdec_sn.dll64P \
vendor/motorola/begonia/lib/dsp/h264venc_sn.dll64P:system/lib/dsp/h264venc_sn.dll64P \
vendor/motorola/begonia/lib/dsp/jpegenc_sn.dll64P:system/lib/dsp/jpegenc_sn.dll64P \
vendor/motorola/begonia/lib/dsp/m4venc_sn.dll64P:system/lib/dsp/m4venc_sn.dll64P \
vendor/motorola/begonia/lib/dsp/mp3dec_sn.dll64P:system/lib/dsp/mp3dec_sn.dll64P \
vendor/motorola/begonia/lib/dsp/mp4vdec_sn.dll64P:system/lib/dsp/mp4vdec_sn.dll64P \
vendor/motorola/begonia/lib/dsp/mpeg4aacdec_sn.dll64P:system/lib/dsp/mpeg4aacdec_sn.dll64P \
vendor/motorola/begonia/lib/dsp/mpeg4aacenc_sn.dll64P:system/lib/dsp/mpeg4aacenc_sn.dll64P \
vendor/motorola/begonia/lib/dsp/nbamrdec_sn.dll64P:system/lib/dsp/nbamrdec_sn.dll64P \
vendor/motorola/begonia/lib/dsp/nbamrenc_sn.dll64P:system/lib/dsp/nbamrenc_sn.dll64P \
vendor/motorola/begonia/lib/dsp/postprocessor_dualout.dll64P:system/lib/dsp/postprocessor_dualout.dll64P \
vendor/motorola/begonia/lib/dsp/ringio.dll64P:system/lib/dsp/ringio.dll64P \
vendor/motorola/begonia/lib/dsp/usn.dll64P:system/lib/dsp/usn.dll64P \
vendor/motorola/begonia/lib/dsp/wbamrdec_sn.dll64P:system/lib/dsp/wbamrdec_sn.dll64P \
vendor/motorola/begonia/lib/dsp/wbamrenc_sn.dll64P:system/lib/dsp/wbamrenc_sn.dll64P \
vendor/motorola/begonia/lib/dsp/wmadec_sn.dll64P:system/lib/dsp/wmadec_sn.dll64P \
vendor/motorola/begonia/lib/dsp/wmadec_sn.dll64P:system/lib/dsp/wmadec_sn.dll64P \
vendor/motorola/begonia/lib/dsp/wmv9dec_sn.dll64P:system/lib/dsp/wmv9dec_sn.dll64P \
vendor/motorola/begonia/lib/egl/libeglinfo.so:system/lib/egl/libeglinfo.so \
vendor/motorola/begonia/lib/egl/libEGL_POWERVR_SGX530_125.so:system/lib/egl/libEGL_POWERVR_SGX530_125.so \
vendor/motorola/begonia/lib/egl/libgles1_texture_stream.so:system/lib/egl/libgles1_texture_stream.so \
vendor/motorola/begonia/lib/egl/libgles2_texture_stream.so:system/lib/egl/libgles2_texture_stream.so \
vendor/motorola/begonia/lib/egl/libGLESv1_CM_POWERVR_SGX530_125.so:system/lib/egl/libGLESv1_CM_POWERVR_SGX530_125.so \
vendor/motorola/begonia/lib/egl/libGLESv2_POWERVR_SGX530_125.so:system/lib/egl/libGLESv2_POWERVR_SGX530_125.so \
vendor/motorola/begonia/lib/libFMRadio.so:system/lib/libFMRadio.so \
vendor/motorola/begonia/lib/libfmradio_jni.so:system/lib/libfmradio_jni.so \
vendor/motorola/begonia/lib/libfmradioplayer.so:system/lib/libfmradioplayer.so \
vendor/motorola/begonia/lib/liboemcamera.so:system/lib/liboemcamera.so \
vendor/motorola/begonia/lib/libpanic_daemon.so:system/lib/libpanic_daemon.so
#vendor/motorola/begonia/lib/libOMX.TI.AAC.decode.so:/system/lib/libOMX.TI.AAC.decode.so \
#vendor/motorola/begonia/lib/libOMX.TI.AMR.decode.so:/system/lib/libOMX.TI.AMR.decode.so \
#vendor/motorola/begonia/lib/libOMX.TI.MP3.decode.so:/system/lib/libOMX.TI.MP3.decode.so \
#vendor/motorola/begonia/lib/libOMX.TI.WBAMR.decode.so:/system/lib/libOMX.TI.WBAMR.decode.so \
#vendor/motorola/begonia/lib/libOMX.TI.WMA.decode.so:/system/lib/libOMX.TI.WMA.decode.so \
#etc
PRODUCT_COPY_FILES += \
vendor/motorola/begonia/etc/wifi/fw_tiwlan_ap.bin:system/etc/wifi/fw_tiwlan_ap.bin \
vendor/motorola/begonia/etc/wifi/fw_tiwlan_ap_rfmd.bin:system/etc/wifi/fw_tiwlan_ap_rfmd.bin \
vendor/motorola/begonia/etc/wifi/fw_wlan1271.bin:system/etc/wifi/fw_wlan1271.bin \
vendor/motorola/begonia/etc/wifi/fw_wlan1271_rfmd.bin:system/etc/wifi/fw_wlan1271.bin \
vendor/motorola/begonia/etc/wifi/hostapd.conf.templet:system/etc/wifi/hostapd.conf.templet \
vendor/motorola/begonia/etc/wifi/tiwlan.ini:system/etc/wifi/tiwlan.ini \
vendor/motorola/begonia/etc/wifi/tiwlan_ap.ini:system/etc/wifi/tiwlan_ap.ini \
vendor/motorola/begonia/etc/wifi/tiwlan_ap_rfmd.ini:system/etc/wifi/tiwlan_ap_rfmd.ini \
vendor/motorola/begonia/etc/wifi/tiwlan_rfmd.ini:system/etc/wifi/tiwlan_rfmd.ini \
vendor/motorola/begonia/etc/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
vendor/motorola/begonia/etc/firmware/wl1271.bin:system/etc/firmware/wl1271.bin \
vendor/motorola/begonia/etc/cameraCalFileDef5M.bin:system/etc/cameraCalFileDef5M.bin \
vendor/motorola/begonia/etc/gpsconfig.xml:system/etc/gpsconfig.xml \
vendor/motorola/begonia/etc/location.cfg:system/etc/location.cfg \
vendor/motorola/begonia/etc/fmc_init_1273.2.bts:system/etc/fmc_init_1273.2.bts \
vendor/motorola/begonia/etc/fmc_init_6450.2.bts:system/etc/fmc_init_6450.2.bts \
vendor/motorola/begonia/etc/fm_rx_init_1273.2.bts:system/etc/fm_rx_init_1273.2.bts \
vendor/motorola/begonia/etc/fm_rx_init_6450.2.bts:system/etc/fm_rx_init_6450.2.bts \
device/motorola/begonia/media_profiles.xml:system/etc/media_profiles.xml

#Moto etc
PRODUCT_COPY_FILES += \
vendor/motorola/begonia/etc/motorola/sourcePreferences.xml:system/etc/motorola/sourcePreferences.xml \
vendor/motorola/begonia/etc/motorola/panic_daemon.config:system/etc/motorola/panic_daemon.config \
vendor/motorola/begonia/etc/motorola/ap_flex_version.txt:system/etc/motorola/ap_flex_version.txt \
vendor/motorola/begonia/etc/motorola/bplogd.conf:system/etc/motorola/bplogd.conf \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio:system/etc/motorola/bp_nvm_default/File_Audio \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio1_AMR_WB:system/etc/motorola/bp_nvm_default/File_Audio1_AMR_WB \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio2:system/etc/motorola/bp_nvm_default/File_Audio2 \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio2_AMR_WB:system/etc/motorola/bp_nvm_default/File_Audio2_AMR_WB \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio3:system/etc/motorola/bp_nvm_default/File_Audio3 \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio3_AMR_WB:system/etc/motorola/bp_nvm_default/File_Audio3_AMR_WB \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio4:system/etc/motorola/bp_nvm_default/File_Audio4 \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio4_AMR_WB:system/etc/motorola/bp_nvm_default/File_Audio4_AMR_WB \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio5:system/etc/motorola/bp_nvm_default/File_Audio5 \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio5_AMR_WB:system/etc/motorola/bp_nvm_default/File_Audio5_AMR_WB \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio6:system/etc/motorola/bp_nvm_default/File_Audio6 \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio7:system/etc/motorola/bp_nvm_default/File_Audio7 \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Audio8:system/etc/motorola/bp_nvm_default/File_Audio8 \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_GPRS:system/etc/motorola/bp_nvm_default/File_GPRS \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_GSM:system/etc/motorola/bp_nvm_default/File_GSM \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Logger:system/etc/motorola/bp_nvm_default/File_Logger \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_Seem_Flex_Tables:system/etc/motorola/bp_nvm_default/File_Seem_Flex_Tables \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_UMA:system/etc/motorola/bp_nvm_default/File_UMA \
vendor/motorola/begonia/etc/motorola/bp_nvm_default/File_UMA:system/etc/motorola/bp_nvm_default/File_UMA \
vendor/motorola/begonia/etc/motorola/comm_drv/commdrv_fs.sh:system/etc/motorola/comm_drv/commdrv_fs.sh \
vendor/motorola/begonia/etc/motorola/comm_drv/mmins_cust_emergency_number.cfg:system/etc/motorola/comm_drv/mmins_cust_emergency_number.cfg \
vendor/motorola/begonia/etc/motorola/comm_drv/mmins_settings.cfg:system/etc/motorola/comm_drv/mmins_settings.cfg \
vendor/motorola/begonia/etc/motorola/comm_drv/mmins_telephony.cfg:system/etc/motorola/comm_drv/mmins_telephony.cfg \
vendor/motorola/begonia/etc/motorola/comm_drv/mmins_user_settings.cfg:system/etc/motorola/comm_drv/mmins_user_settings.cfg \
vendor/motorola/begonia/etc/motorola/comm_drv/plmn_text_table.bin:system/etc/motorola/comm_drv/plmn_text_table.bin \
vendor/motorola/begonia/etc/motorola/comm_drv/PLMN_VERSION.txt:system/etc/motorola/comm_drv/PLMN_VERSION.txt \
vendor/motorola/begonia/etc/motorola/tcmd/pkiprovision.cfg:system/etc/motorola/tcmd/pkiprovision.cfg

#bin
PRODUCT_COPY_FILES += \
vendor/motorola/begonia/bin/pvrsrvinit:system/bin/pvrsrvinit \
vendor/motorola/begonia/bin/dumpe2fs:system/bin/dumpe2fs \
vendor/motorola/begonia/bin/battd:system/bin/battd \
vendor/motorola/begonia/bin/protocol_driver:system/bin/protocol_driver \
vendor/motorola/begonia/bin/panic_daemon:system/bin/panic_daemon \
vendor/motorola/begonia/bin/opprofdaemon:system/bin/opprofdaemon \
vendor/motorola/begonia/bin/nvm_daemon:system/bin/nvm_daemon \
vendor/motorola/begonia/bin/gkisystem:system/bin/gkisystem \
vendor/motorola/begonia/bin/gki_pd_notifier:system/bin/gki_pd_notifier \
vendor/motorola/begonia/bin/ap_gain_mmul.bin:system/bin/ap_gain_mmul.bin \
vendor/motorola/begonia/bin/ap_gain.bin:system/bin/ap_gain.bin \
vendor/motorola/begonia/bin/gkilogd:system/bin/gkilogd \
vendor/motorola/begonia/bin/iptables:system/bin/iptables \
vendor/motorola/begonia/bin/fmradioserver:system/bin/fmradioserver \
vendor/motorola/begonia/bin/fmradio:system/bin/fmradio \
vendor/motorola/begonia/bin/brcm_patchram_plus:system/bin/brcm_patchram_plus \
vendor/motorola/begonia/bin/brcm_guci_drv:system/bin/brcm_guci_drv \
vendor/motorola/begonia/bin/bplogd_daemon:system/bin/bplogd_daemon \
vendor/motorola/begonia/bin/akmd2:system/bin/akmd2 \
vendor/motorola/begonia/bin/rild_tcmd:system/bin/rild_tcmd \
vendor/motorola/begonia/bin/mot_boot_mode:system/bin/mot_boot_mode \
vendor/motorola/begonia/bin/usbd:system/bin/usbd \
vendor/motorola/begonia/bin/location:system/bin/location \
vendor/motorola/begonia/bin/charge_only_mode:system/bin/charge_only_mode \
vendor/motorola/begonia/bin/panic_daemon:system/bin/panic_daemon \
vendor/motorola/begonia/xbin/ssmgrd:system/xbin/ssmgrd

#app
PRODUCT_COPY_FILES += \
vendor/motorola/begonia/app/FMRadio.apk:system/app/FMRadio.apk \
vendor/motorola/begonia/app/FMRadioService.apk:system/app/FMRadioService.apk \
vendor/motorola/begonia/app/MotoPhonePortal.apk:system/app/MotoPhonePortal.apk

#extra
PRODUCT_COPY_FILES += \
vendor/motorola/begonia/media/Moto.ogg:system/media/audio/ringtones/Moto.ogg
Binary file added begonia/bin/Hostapd
Binary file not shown.
Binary file added begonia/bin/RescueServer
Binary file not shown.
Binary file added begonia/bin/RescueStarter
Binary file not shown.
Binary file added begonia/bin/akmd2
Binary file not shown.
7 changes: 7 additions & 0 deletions begonia/bin/am
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Script to start "am" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/am.jar
exec app_process $base/bin com.android.commands.am.Am "$@"

Binary file added begonia/bin/ap_gain.bin
Binary file not shown.
Binary file added begonia/bin/ap_gain_mmul.bin
Binary file not shown.
Binary file added begonia/bin/app_process
Binary file not shown.
Binary file added begonia/bin/applypatch
Binary file not shown.
Binary file added begonia/bin/backup
Binary file not shown.
Binary file added begonia/bin/batch
Binary file not shown.
Binary file added begonia/bin/battd
Binary file not shown.
Binary file added begonia/bin/bluetoothd
Binary file not shown.
7 changes: 7 additions & 0 deletions begonia/bin/bmgr
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Script to start "bmgr" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/bmgr.jar
exec app_process $base/bin com.android.commands.bmgr.Bmgr "$@"

Binary file added begonia/bin/bootanimation
Binary file not shown.
Binary file added begonia/bin/bplogd_daemon
Binary file not shown.
Binary file added begonia/bin/brcm_guci_drv
Binary file not shown.
Binary file added begonia/bin/brcm_patchram_plus
Binary file not shown.
Binary file added begonia/bin/bt_init
Binary file not shown.
Binary file added begonia/bin/btcmd
Binary file not shown.
Binary file added begonia/bin/bthelp
Binary file not shown.
Binary file added begonia/bin/bttest_mot
Binary file not shown.
Binary file added begonia/bin/bugreport
Binary file not shown.
Binary file added begonia/bin/charge_only_mode
Binary file not shown.
Binary file added begonia/bin/dalvikvm
Binary file not shown.
Binary file added begonia/bin/dbus-daemon
Binary file not shown.
Binary file added begonia/bin/dbvc_atvc_property_set
Binary file not shown.
Binary file added begonia/bin/debuggerd
Binary file not shown.
Binary file added begonia/bin/dexopt
Binary file not shown.
Binary file added begonia/bin/dhcpcd
Binary file not shown.
Binary file added begonia/bin/dlnasrv
Binary file not shown.
7 changes: 7 additions & 0 deletions begonia/bin/dmt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Script to start "monkey" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/dmt.jar
exec app_process $base/bin com.motorola.android.datamanager.tool.Dmt $*

Binary file added begonia/bin/dnsmasq
Binary file not shown.
Binary file added begonia/bin/drm1_func_test
Binary file not shown.
Binary file added begonia/bin/dspexec
Binary file not shown.
Binary file added begonia/bin/dumpe2fs
Binary file not shown.
Binary file added begonia/bin/dumpstate
Binary file not shown.
Binary file added begonia/bin/dumpsys
Binary file not shown.
Binary file added begonia/bin/dund
Binary file not shown.
Binary file added begonia/bin/dvz
Binary file not shown.
Binary file added begonia/bin/e2fsck
Binary file not shown.
Binary file added begonia/bin/ecckeyd
Binary file not shown.
Binary file added begonia/bin/enc_mgt_tool
Binary file not shown.
Binary file added begonia/bin/encryption_test
Binary file not shown.
Binary file added begonia/bin/factory_reset
Binary file not shown.
Binary file added begonia/bin/fdisk
Binary file not shown.
5 changes: 5 additions & 0 deletions begonia/bin/firewall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/system/bin/sh

myipt `getprop service.motorola.firewall`
rm `getprop service.motorola.firewall`
setprop service.motorola.firewall ""
Binary file added begonia/bin/fmradio
Binary file not shown.
Binary file added begonia/bin/fmradioserver
Binary file not shown.
Binary file added begonia/bin/fsck_msdos
Binary file not shown.
Binary file added begonia/bin/gki_pd_notifier
Binary file not shown.
Binary file added begonia/bin/gkilogd
Binary file not shown.
Binary file added begonia/bin/gkisystem
Binary file not shown.
Binary file added begonia/bin/gzip
Binary file not shown.
Binary file added begonia/bin/hciattach
Binary file not shown.
7 changes: 7 additions & 0 deletions begonia/bin/ime
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Script to start "pm" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/ime.jar
exec app_process $base/bin com.android.commands.ime.Ime "$@"

7 changes: 7 additions & 0 deletions begonia/bin/input
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Script to start "input" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/input.jar
exec app_process $base/bin com.android.commands.input.Input $*

Binary file added begonia/bin/installd
Binary file not shown.
Binary file added begonia/bin/ip
Binary file not shown.
Binary file added begonia/bin/iptables
Binary file not shown.
Binary file added begonia/bin/keystore
Binary file not shown.
Binary file added begonia/bin/linker
Binary file not shown.
7 changes: 7 additions & 0 deletions begonia/bin/load_modules.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/system/bin/sh
export PATH=/system/bin:$PATH

# Install GAN virtual interface kernel module
if [ -e /system/lib/modules/kineto_gan.ko ]; then
insmod /system/lib/modules/kineto_gan.ko
fi
56 changes: 56 additions & 0 deletions begonia/bin/loadpreinstalls.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#!/system/bin/sh
export PATH=/system/bin:$PATH
PRELOAD_APP_DIR=/system/preinstall/app
PRELOAD_HASH_DIR=/system/preinstall/md5
DATA_HASH_DIR=/data/preinstall_md5
PRELOAD_DONE_PROP=preinstall.done
PRELOAD_LOG_FILE=$DATA_HASH_DIR/log.txt

mkdir $DATA_HASH_DIR

for file in `ls $PRELOAD_APP_DIR`; do
echo "$file: comparing $PRELOAD_HASH_DIR/$file.md5 and $DATA_HASH_DIR/$file.md5"
echo "$file: comparing $PRELOAD_HASH_DIR/$file.md5 and $DATA_HASH_DIR/$file.md5" >> $PRELOAD_LOG_FILE
newMD5=`cat $PRELOAD_HASH_DIR/$file.md5`
oldMD5=`cat $DATA_HASH_DIR/$file.md5`
if [ "$newMD5" != "$oldMD5" ]; then
isInstalled=`pm path $file`
if [ -n "$isInstalled" -o ! -e "$DATA_HASH_DIR/$file.md5" ]; then
pm install -r $PRELOAD_APP_DIR/$file
ret=$?
if [ $ret -ne 0 ]; then
echo "$file: install failed, error: $ret"
echo "$file: install failed, error: $ret" >> $PRELOAD_LOG_FILE
else
echo "$file: install successful, copying $file.md5 to $DATA_HASH_DIR"
echo "$file: install successful, copying $file.md5 to $DATA_HASH_DIR" >> $PRELOAD_LOG_FILE
cp $PRELOAD_HASH_DIR/$file.md5 $DATA_HASH_DIR
fi
else
echo "$file: user has uninstalled, dont reinstall. copying $file.md5 to $DATA_HASH_DIR"
echo "$file: user has uninstalled, dont reinstall. copying $file.md5 to $DATA_HASH_DIR" >> $PRELOAD_LOG_FILE
cp $PRELOAD_HASH_DIR/$file.md5 $DATA_HASH_DIR
fi
else
echo "$file: install skipped, file unchanged"
echo "$file: install skipped, file unchanged" >> $PRELOAD_LOG_FILE
fi
done

retries=10
echo "preinstall finished, setting $PRELOAD_DONE_PROP to 1"
echo "preinstall finished, setting $PRELOAD_DONE_PROP to 1" >> $PRELOAD_LOG_FILE
setprop $PRELOAD_DONE_PROP 1
readback=`getprop $PRELOAD_DONE_PROP`
while [ "$readback" != "1" -a $retries -gt 0 ]
do
echo " property readback failed! expected 1, got $readback. retries left $retries..."
echo " property readback failed! expected 1, got $readback. retries left $retries..." >> $PRELOAD_LOG_FILE
retries=$(($retries-1))
sleep 2
setprop $PRELOAD_DONE_PROP 1
readback=`getprop $PRELOAD_DONE_PROP`
done

echo "preinstall exiting..."
echo "preinstall exiting..." >> $PRELOAD_LOG_FILE
Binary file added begonia/bin/location
Binary file not shown.
Binary file added begonia/bin/logcat
Binary file not shown.
Binary file added begonia/bin/logwrapper
Binary file not shown.
Binary file added begonia/bin/mediaserver
Binary file not shown.
Binary file added begonia/bin/mke2fs
Binary file not shown.
Binary file added begonia/bin/modemlog
Binary file not shown.
7 changes: 7 additions & 0 deletions begonia/bin/monkey
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Script to start "monkey" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/monkey.jar
exec app_process $base/bin com.android.commands.monkey.Monkey $*

Binary file added begonia/bin/mot_boot_mode
Binary file not shown.
Binary file added begonia/bin/motobox
Binary file not shown.
11 changes: 11 additions & 0 deletions begonia/bin/mount_ext3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/system/bin/sh
export PATH=/sbin:/system/xbin:/system/bin
PART_ALIAS=$1
MOUNT_POINT=$2
BLOCK_DEVICE=/dev/block/${PART_ALIAS}

if [ "$1" = "pds" ]; then
mount -t ext3 -o nosuid,nodev,noatime,nodiratime,barrier=1 ${BLOCK_DEVICE} ${MOUNT_POINT} #safe mount for pds, don't want experiments with PDS partition. ^)
else
mount -t ext3 -o nosuid,nodev,noatime,nodiratime,barrier=0 ${BLOCK_DEVICE} ${MOUNT_POINT}
fi
Binary file added begonia/bin/mtpd
Binary file not shown.
4 changes: 4 additions & 0 deletions begonia/bin/napics.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/system/bin/sh

`getprop service.motorola.btpannat`
setprop service.motorola.btpannat ""
Binary file added begonia/bin/ndc
Binary file not shown.
Binary file added begonia/bin/netcfg
Binary file not shown.
Binary file added begonia/bin/netd
Binary file not shown.
Binary file added begonia/bin/nvm_daemon
Binary file not shown.
Binary file added begonia/bin/omx_tests
Binary file not shown.
Binary file added begonia/bin/opprofdaemon
Binary file not shown.
Binary file added begonia/bin/pand
Binary file not shown.
Binary file added begonia/bin/panic_daemon
Binary file not shown.
Binary file added begonia/bin/ping
Binary file not shown.
7 changes: 7 additions & 0 deletions begonia/bin/pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Script to start "pm" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/pm.jar
exec app_process $base/bin com.android.commands.pm.Pm "$@"

Binary file added begonia/bin/pppd
Binary file not shown.
Binary file added begonia/bin/protocol_driver
Binary file not shown.
Binary file added begonia/bin/pvrsrvinit
Binary file not shown.
Binary file added begonia/bin/racoon
Binary file not shown.
Binary file added begonia/bin/resize2fs
Binary file not shown.
Binary file added begonia/bin/rild
Binary file not shown.
Binary file added begonia/bin/rild_tcmd
Binary file not shown.
Binary file added begonia/bin/run-as
Binary file not shown.
6 changes: 6 additions & 0 deletions begonia/bin/run_backup
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
echo "!!Running a backup of userdata using: " $1
/system/xbin/backup -x -b -t $1
STATUS=$?
echo "!!Backup completed: Status "$STATUS
setprop mot.backup_restore.returnval $STATUS
setprop mot.backup_restore.status "Finished"
6 changes: 6 additions & 0 deletions begonia/bin/run_restore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
echo "!!Running a restore of userdata using: " $1
/system/xbin/backup -r -t $1
STATUS=$?
echo "!!Restore completed: Status "$STATUS
setprop mot.backup_restore.returnval $STATUS
setprop mot.backup_restore.status "Finished"
Binary file added begonia/bin/schedtest
Binary file not shown.
Binary file added begonia/bin/sdptool
Binary file not shown.
Binary file added begonia/bin/secclkd
Binary file not shown.
Binary file added begonia/bin/service
Binary file not shown.
Binary file added begonia/bin/servicemanager
Binary file not shown.
Binary file added begonia/bin/sh
Binary file not shown.
Binary file added begonia/bin/smc_pa_ctrl
Binary file not shown.
Binary file added begonia/bin/smoduled
Binary file not shown.
Binary file added begonia/bin/ssmgrd
Binary file not shown.
16 changes: 16 additions & 0 deletions begonia/bin/start_enc_mgt_tool.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/system/bin/sh

#############################################################################
# Copyright (C) 2010 Motorola, Inc. #
# All Rights Reserved. #
# #
# The contents of this file are Motorola Confidential Restricted (MCR). #
#############################################################################

#############################################################################
# Set up Device Encryption #
#############################################################################

### Put it to background to minimize time impact on start up process
/system/bin/enc_mgt_tool &

Loading

0 comments on commit 057f258

Please sign in to comment.