Skip to content

Commit

Permalink
P51XX: fix missmerge
Browse files Browse the repository at this point in the history
Some missmerge happend on commit fba9442
while applying "P5100: Fix Sim-PIN layout".
The commit had wrong dependency on gerrit which added initial cm-11.0
bringup on cm-10.2 too.

Change-Id: I62f2f70f2bc94f3c27adcab695e06dc659e9eb18
  • Loading branch information
andi34 committed Feb 14, 2015
1 parent 3ae9a4e commit 19a53e5
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 33 deletions.
13 changes: 10 additions & 3 deletions p51xx-common.mk
Expand Up @@ -27,8 +27,9 @@ $(call inherit-product, device/common/gps/gps_us_supl.mk)
LOCAL_PATH := device/samsung/p5100

# Enable higher-res drawables while keeping mdpi as primary source
PRODUCT_AAPT_CONFIG := normal large tvdpi hdpi
PRODUCT_AAPT_PREF_CONFIG := tvdpi
PRODUCT_AAPT_CONFIG := large mdpi hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := mdpi
PRODUCT_LOCALES += mdpi

# Init files
PRODUCT_COPY_FILES += \
Expand All @@ -37,8 +38,13 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/ueventd.espresso10.rc:root/ueventd.espresso10.rc \
$(LOCAL_PATH)/rootdir/fstab.espresso10:root/fstab.espresso10

# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/audio_effects.conf:system/etc/audio_effects.conf

# GPS
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/gps.conf:system/etc/gps.conf \
$(LOCAL_PATH)/configs/gps.xml:system/etc/gps.xml

# Wifi
Expand Down Expand Up @@ -93,7 +99,8 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml
frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml

PRODUCT_CHARACTERISTICS := tablet

Expand Down
4 changes: 2 additions & 2 deletions rootdir/fstab.espresso10
Expand Up @@ -9,8 +9,8 @@
/dev/block/platform/omap/omap_hsmmc.1/by-name/CACHE /cache ext4 noatime,nosuid,nodev,barrier=1,discard,noauto_da_alloc,journal_async_commit wait,check

# vold-managed volumes ("block device" is actually a sysfs devpath)
/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc1 auto auto defaults voldmanaged=sdcard1:auto
/devices/platform/omap/musb-omap2430/musb-hdrc/usb1 auto auto defaults voldmanaged=usbdisk0:auto
/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc1 /storage/sdcard1 auto defaults voldmanaged=sdcard1:auto
/devices/platform/omap/musb-omap2430/musb-hdrc/usb1 /storage/usbdisk0 auto defaults voldmanaged=usbdisk0:auto

# recovery
/dev/block/mmcblk0p5 /boot emmc defaults recoveryonly
Expand Down
36 changes: 9 additions & 27 deletions rootdir/init.espresso10.rc
Expand Up @@ -2,12 +2,10 @@ import init.espresso10.usb.rc

on init
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage 0751 root sdcard_r
mkdir /storage 0550 system sdcard_r
mkdir /storage/emulated 0555 root root
mkdir /storage/sdcard1 0700 root root
mkdir /storage/usbdisk0 0700 root root
mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw
mkdir /mnt/media_rw/usbdisk0 0700 media_rw media_rw
mkdir /storage/sdcard1 0775 system system
mkdir /storage/usbdisk0 0775 system system

export EXTERNAL_STORAGE /storage/emulated/legacy
export SECONDARY_STORAGE /storage/sdcard1
Expand Down Expand Up @@ -318,27 +316,13 @@ service geomagneticd /system/bin/geomagneticd
# create virtual SD card at /storage/sdcard0, based on the /data/media directory
# daemon will drop to user/group system/media_rw after initializing
# underlying files in /data/media will be created with user and group media_rw (1023)
service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023
class late_start
oneshot

# FUSE sdcard daemon for rich permissions (runs as media_rw)
service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1
class late_start
disabled

service fuse_usbdisk0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk0 /storage/usbdisk0
class late_start
disabled

service p2p_supplicant /system/bin/wpa_supplicant \
-iwlan0 -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf \
-I/system/etc/wifi/wpa_supplicant_overlay.conf \
-O/data/misc/wifi/sockets -N \
-ip2p0 -Dnl80211 -c /data/misc/wifi/p2p_supplicant.conf \
-I/system/etc/wifi/p2p_supplicant_overlay.conf \
-puse_p2p_group_interface=1 -e/data/misc/wifi/entropy.bin \
-g@android:wpa_wlan0
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -N \
-ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -e/data/misc/wifi/entropy.bin \
-puse_p2p_group_interface=1
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
Expand All @@ -349,10 +333,8 @@ service p2p_supplicant /system/bin/wpa_supplicant \
oneshot

service wpa_supplicant /system/bin/wpa_supplicant \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
-I/system/etc/wifi/wpa_supplicant_overlay.conf \
-O/data/misc/wifi/sockets \
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
-Dnl80211 -iwlan0 -e/data/misc/wifi/entropy.bin \
-c/data/misc/wifi/wpa_supplicant.conf
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
Expand Down
2 changes: 1 addition & 1 deletion selinux/file_contexts
Expand Up @@ -24,7 +24,7 @@

# System binaries
/system/vendor/bin/pvrsrvinit u:object_r:pvrsrvinit_exec:s0
/system/vendor/bin/pvrsrvctl_SGX540_120 u:object_r:pvrsrvinit_exec:s0
/system/vendor/bin/pvrsrvinit_SGX540_120 u:object_r:pvrsrvinit_exec:s0

# Firmwares
/system/vendor/firmware/ducati-m3.bin u:object_r:firmware_ducati:s0

0 comments on commit 19a53e5

Please sign in to comment.