-
Notifications
You must be signed in to change notification settings - Fork 0
/
Init.rc
38 lines (30 loc) · 1.46 KB
/
Init.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#Create directory for PDM
mkdir /data/opt 0770 system system
mkdir /data/opt/pdm 0770 system system
mkdir /data/opt/pdm/appdata 0770 system system
mkdir /data/opt/pdm/apps 0770 system system
mkdir /data/opt/pdm/apps/comm_waveform 0770 system system
mkdir /data/opt/pdm/apps/images/ 0770 system system
cp /data/WaveSetEcgRespIPsSpO2sTempCOCO2Descriptor.xml /data/opt/pdm/apps/comm_waveform/
mkdir /data/opt/pdm/secure 0770 system system
service emerald_acq /system/bin/emerald_acq
class main
oneshot
1. Add the following code in “init.rc “ file and checkin the code...
#Create directory for PDM
mkdir /data/opt 0770 system system
mkdir /data/opt/pdm 0770 system system
mkdir /data/opt/pdm/appdata 0770 system system
mkdir /data/opt/pdm/apps 0770 system system
mkdir /data/opt/pdm/apps/comm_waveform 0770 system system
cp /data/WaveSetEcgRespIPsSpO2sTempCOCO2Descriptor.xml /data/opt/pdm/apps/comm_waveform/
mkdir /data/opt/pdm/secure 0770 system system
service emerald_acq /system/bin/emerald_acq
class main
oneshot
"BoardConfig.mk" file in “/home/ubuntu/AOSP2/kitkat-aosp-build/Quest_Android/device/fsl/sabresd_6dq” and checkin the code..
#Adding PDM files
PRODUCT_COPY_FILES += \
device/fsl/sabresd_6dq/pdm/bin/emerald_acq:/system/bin/emerald_acq \
device/fsl/sabresd_6dq/pdm/libs/libcrystax.so:/system/lib/libcrystax.so \
device/fsl/sabresd_6dq/pdm/libs/libxerces-c-3.1.so:/system/lib/libxerces-c-3.1.so