diff options
author | RGIB <gibellini.roberto@gmail.com> | 2016-12-22 00:57:19 +0100 |
---|---|---|
committer | RGIB <gibellini.roberto@gmail.com> | 2016-12-22 00:57:19 +0100 |
commit | 6392e7fe5455253d248c1d7f1c924ef54f80210c (patch) | |
tree | 2ac79c288b48f0be2c028b1fa9e4b31caf576dce | |
parent | a89a26781dcb887af433ec8ee74472c28d49505c (diff) | |
download | device_samsung_n5110-6392e7fe5455253d248c1d7f1c924ef54f80210c.zip device_samsung_n5110-6392e7fe5455253d248c1d7f1c924ef54f80210c.tar.gz device_samsung_n5110-6392e7fe5455253d248c1d7f1c924ef54f80210c.tar.bz2 |
n5110 : moved to kona-common
Change-Id: I635a2f88d1ae70d47b42c39c94ab36e58c903e21
-rw-r--r-- | n5110.mk | 11 | ||||
-rwxr-xr-x | rootdir/init.target.rc | 241 | ||||
-rw-r--r-- | system.prop | 12 |
3 files changed, 2 insertions, 262 deletions
@@ -18,17 +18,10 @@ LOCAL_PATH := device/samsung/n5110 DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay -# Init files -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/rootdir/init.target.rc:root/init.target.rc - -PRODUCT_PACKAGES += \ - libxml2 \ - libprotobuf-cpp-full - # RIL PRODUCT_PROPERTY_OVERRIDES += \ - mobiledata.interfaces=wlan0 + mobiledata.interfaces=wlan0 \ + ro.radio.noril=yes # These are the hardware-specific features PRODUCT_COPY_FILES += \ diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc deleted file mode 100755 index f7677ee..0000000 --- a/rootdir/init.target.rc +++ /dev/null @@ -1,241 +0,0 @@ -############################ -on init -############################ - - mkdir /vendor/etc/ 0771 system system - - # Vibetonz - export VIBE_PIPE_PATH /dev/pipes - mkdir /dev/pipes 0771 shell shell - -# macloader - - rm /data/.cid.info - - chown system system /efs/wifi/.mac.cob - chown system system /efs/wifi/.mac.info - - chmod 0666 /efs/wifi/.mac.cob - chmod 0666 /efs/wifi/.mac.info - - copy /efs/wifi/.mac.cob /efs/wifi/.mac.info - - start macloader - -############################ -on post-fs-data -############################ - -# GPS - chown root system /dev/ttySAC1 - chmod 0660 /dev/ttySAC1 - chown root system /sys/class/sec/gps/GPS_PWR_EN/value - chmod 0664 /sys/class/sec/gps/GPS_PWR_EN/value - mkdir /data/system 0771 system system - chown system system /data/system - mkdir /data/system/gps 0771 system system - chown system system /data/system/gps - mkdir /vendor/etc 0771 system system - chown system system /vendor/etc - rm /data/system/gps/gps_started - rm /data/system/gps/glonass_started - rm /data/system/gps/beidou_started - rm /data/system/gps/smd_started - rm /data/system/gps/sv_cno.info - -# bluetooth - write /efs/bluetooth/bt_addr 0 - -# Waketime fot fast dormancy - chown system radio /sys/devices/platform/mdm_hsic_pm0/waketime - chmod 0660 /sys/devices/platform/mdm_hsic_pm0/waketime - -# audio - mkdir /data/local/audio 0775 media audio - chown media audio /data/local/audio - -# Camera - chown radio system /sys/devices/platform/samsung-pd.5/s3c-fimc.2/range_mode - chmod 0660 /sys/devices/platform/samsung-pd.5/s3c-fimc.2/range_mode - -# KeyDisabler - chown system system /sys/class/sec/sec_touchkey/keypad_enable - -# Permissions for mDNIe - chown system media_rw /sys/class/mdnie/mdnie/mode - chown system media_rw /sys/class/mdnie/mdnie/outdoor - chown system media_rw /sys/class/mdnie/mdnie/scenario - chown system system /sys/class/mdnie/mdnie/negative - chown system system /sys/class/mdnie/mdnie/ebook - chown system system /sys/class/mdnie/mdnie/accessibility - chown system media_rw /sys/class/mdnie/mdnie/cabc - write /sys/class/mdnie/mdnie/scenario 0 - write /sys/class/mdnie/mdnie/mode 0 - -# Permissions for Touchkey - chown system radio /sys/class/sec/sec_touchkey/touchkey_dummy_btn1 - chown system radio /sys/class/sec/sec_touchkey/touchkey_dummy_btn3 - chown system radio /sys/class/sec/sec_touchkey/touchkey_dummy_btn5 - chown system radio /sys/class/sec/sec_touchkey/extra_button_event - chown system radio /sys/class/sec/sec_touchkey/touchkey_button_all - chown system radio /sys/class/sec/sec_touchkey/touchkey_threshold - chmod 0660 /sys/class/sec/sec_touchkey/extra_button_event - -# Permissions for Hall IC - chown system radio /sys/class/sec/sec_key/hall_detect - -# Battery node - chown system radio /sys/class/power_supply/battery/batt_error_test - chown system radio /sys/class/power_supply/battery/batt_slate_mode - chown system radio /sys/class/power_supply/battery/batt_temp_adc_cal - chown system radio /sys/class/power_supply/battery/batt_vf_adc - chown system radio /sys/class/power_supply/battery/batt_vol_adc - chown system radio /sys/class/power_supply/battery/batt_vol_adc_aver - chown system radio /sys/class/power_supply/battery/batt_vol_adc_cal - chown system radio /sys/class/power_supply/battery/batt_vol_aver - chown system radio /sys/class/power_supply/battery/factory_mode - chown system radio /sys/class/power_supply/battery/siop_activated - chown system radio /sys/class/power_supply/battery/siop_level - chown system radio /sys/class/power_supply/battery/update - -# CTIA event - chown sdcard_rw sdcard_rw /sys/class/power_supply/battery/call - chown sdcard_rw sdcard_rw /sys/class/power_supply/battery/video - chown sdcard_rw sdcard_rw /sys/class/power_supply/battery/music - chown sdcard_rw sdcard_rw /sys/class/power_supply/battery/browser - chown sdcard_rw sdcard_rw /sys/class/power_supply/battery/hotspot - chown sdcard_rw sdcard_rw /sys/class/power_supply/battery/camera - chown system radio /sys/class/power_supply/battery/talk_wcdma - chown system radio /sys/class/power_supply/battery/talk_gsm - chown system radio /sys/class/power_supply/battery/call - chown system radio /sys/class/power_supply/battery/data_call - chown gps radio /sys/class/power_supply/battery/gps - chown system radio /sys/class/power_supply/battery/wifi - chown system radio /sys/class/power_supply/battery/lte - -# Permissions for gpio_keys - chown radio system /sys/class/sec/sec_key/wakeup_keys - write /sys/class/sec/sec_key/wakeup_keys 116,172,544 - -# IPC sysfs - chown system system /sys/devices/virtual/misc/multipdp/waketime - -# Input Events - chown system input /sys/class/input/input2/delay - chown system input /sys/class/input/input3/delay - chown system input /sys/class/input/input4/delay - chown system input /sys/class/input/input5/delay - chown system input /sys/class/input/input6/delay - chown system input /sys/class/input/input6/delay - chown system input /sys/class/input/input7/delay - chown system input /sys/class/input/input8/delay - chown system input /sys/class/input/input9/delay - -# Magnetic_sensor - chmod 0777 /dev/i2c-10 - chown compass input /sys/class/input/input6/offsets - chown compass input /sys/class/input/input6/dynamic_matrix - chown system input /sys/class/input/input6/threshold - chown system input /sys/class/input/input6/distortion - chown system input /sys/class/input/input6/shape - write /sys/class/input/input6/distortion "350 50 15" - write /sys/class/input/input6/static_matrix "10602 -980 25 -830 10470 -188 2753 1005 9019" - write /sys/class/input/input6/ellipsoid_mode "1" - - chown system input /sys/class/input/input6/filter_enable - chown system input /sys/class/input/input6/filter_len - chown system input /sys/class/input/input6/data - chown system input /sys/class/input/input6/status - chown system input /sys/class/input/input6/wake - chown system input /sys/class/input/input6/position - -# Magnetic_sensor - chown compass input /sys/class/input/input5/offsets - chown compass input /sys/class/input/input5/dynamic_matrix - chown system input /sys/class/input/input5/threshold - chown system input /sys/class/input/input5/distortion - chown system input /sys/class/input/input5/shape - write /sys/class/input/input5/distortion "350 50 15" - write /sys/class/input/input5/static_matrix "10602 -980 25 -830 10470 -188 2753 1005 9019" - write /sys/class/input/input5/ellipsoid_mode "1" - - chown system input /sys/class/input/input5/filter_enable - chown system input /sys/class/input/input5/filter_len - chown system input /sys/class/input/input5/data - chown system input /sys/class/input/input5/status - chown system input /sys/class/input/input5/wake - chown system input /sys/class/input/input5/position - -# Vibetonz - chmod 0660 /dev/tspdrv - chown root shell /dev/tspdrv - -# IR_LED - chown system system /sys/class/sec/sec_ir/ir_send - chown system system /sys/class/sec/sec_ir/ir_send_result - -# for wifi - mkdir /data/misc/wifi/sockets 0770 wifi wifi - -# geomagneticd - write /data/system/yas.cfg 0 - write /data/system/yas-backup.cfg 0 - - restorecon /data/system/yas.cfg - restorecon /data/system/yas-backup.cfg - restorecon_recursive /data/system/gps - restorecon_recursive /efs - -############################ -on boot -############################ - -# epen - chown system system /sys/class/sec/sec_epen/epen_saving_mode - chmod 660 /sys/class/sec/sec_epen/epen_saving_mode - -# SISO-ANDR_PERF :: START Changing scheduler to cfq and reseting cpu min freq to -1 after boot complete -on property:sys.boot_completed=1 - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor pegasusq - write /sys/block/mmcblk0/queue/scheduler cfq - write /sys/power/cpufreq_min_limit -1 -# SISO-ANDR_PERF :: END - - chown radio system /sys/devices/system/cpu/cpufreq/pegasusq/cpucore_table - chown radio system /sys/devices/system/cpu/cpufreq/pegasusq/max_cpu_lock - chown radio system /sys/devices/system/cpu/cpufreq/pegasusq/min_cpu_lock - chown radio system /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_lock - chmod 0660 /sys/devices/system/cpu/cpufreq/pegasusq/cpucore_table - chmod 0660 /sys/devices/system/cpu/cpufreq/pegasusq/max_cpu_lock - chmod 0660 /sys/devices/system/cpu/cpufreq/pegasusq/min_cpu_lock - chmod 0660 /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_lock - - # To prevent out of order acknowledgements from making - # connection tracking to treat them as not belonging to - # the connection they belong to. - # Otherwise, a weird issue happens in which some long - # connections on high-throughput links get dropped when - # an ack packet comes out of order - write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1 - -############################ -############################ - -service gpsd /system/bin/gpsd -c /system/etc/gps.xml - class main - user gps - group system inet net_raw - ioprio be 0 - seclabel u:r:gpsd:s0 - -service orientationd /system/bin/orientationd - class main - user compass - group input - seclabel u:r:orientationd:s0 - -service geomagneticd /system/bin/geomagneticd - class main - user compass - group system input - seclabel u:r:geomagneticd:s0 diff --git a/system.prop b/system.prop deleted file mode 100644 index 2147385..0000000 --- a/system.prop +++ /dev/null @@ -1,12 +0,0 @@ -# -# system.prop for n5110 -# - -ro.lcd_min_brightness=20 -ro.sf.hwrotation=270 -ro.sf.lcd_density=213 -ro.hdcp2.rx=tz -ro.ril.hsxpa=1 -ro.ril.gprsclass=10 -persist.radio.add_power_save=1 -ro.carrier=wifi-only |