added mDNIe config files, load one by default
Change-Id: I426c321b917bb73d67e0bcc23345e7a8017658c3
This commit is contained in:
parent
3de98ad265
commit
a5bfeb9314
19
common.mk
19
common.mk
@ -69,6 +69,25 @@ PRODUCT_COPY_FILES += \
|
||||
device/samsung/c1-common/init.smdkv310.rc:root/init.smdkv310.rc \
|
||||
device/samsung/c1-common/ueventd.smdkv310.rc:root/ueventd.smdkv310.rc
|
||||
|
||||
# mDNIe
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/samsung/c1-common/etc/mdnie_tune_bypass_mode:system/etc/mdnie_tune_bypass_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_camera_mode:system/etc/mdnie_tune_camera_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_camera_outdoor_mode:system/etc/mdnie_tune_camera_outdoor_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_dynamic_mode:system/etc/mdnie_tune_dynamic_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_gallery_mode:system/etc/mdnie_tune_gallery_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_movie_mode:system/etc/mdnie_tune_movie_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_outdoor_mode:system/etc/mdnie_tune_outdoor_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_standard_mode:system/etc/mdnie_tune_standard_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_ui_dynamic_mode:system/etc/mdnie_tune_ui_dynamic_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_ui_movie_mode:system/etc/mdnie_tune_ui_movie_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_ui_standard_mode:system/etc/mdnie_tune_ui_standard_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_video_cold_mode:system/etc/mdnie_tune_video_cold_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_video_cold_outdoor_mode:system/etc/mdnie_tune_video_cold_outdoor_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_video_mode:system/etc/mdnie_tune_video_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_video_warm_mode:system/etc/mdnie_tune_video_warm_mode \
|
||||
device/samsung/c1-common/etc/mdnie_tune_video_warm_outdoor_mode:system/etc/mdnie_tune_video_warm_outdoor_mode
|
||||
|
||||
# Configuration files for audio
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/samsung/c1-common/etc/audio/LVVEFS_Rx_Configuration.txt:system/etc/audio/LVVEFS_Rx_Configuration.txt \
|
||||
|
13
etc/mdnie_tune_bypass_mode
Normal file
13
etc/mdnie_tune_bypass_mode
Normal file
@ -0,0 +1,13 @@
|
||||
//start
|
||||
0x0001,0x0000, //
|
||||
0x002c,0x0fff, //DNR bypass 0x003C
|
||||
0x002d,0x1900, //DNR bypass 0x0a08
|
||||
0x002e,0x0000, //DNR bypass 0x1010
|
||||
0x002f,0x0fff, //DNR bypass 0x0400
|
||||
0x003A,0x0000, //HDTR (DE D) CS
|
||||
0x003B,0x0000, //DE SHARPNESS
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x003F,0x0000, //CS GAIN
|
||||
0x0042,0x003f, //DE TH (MAX DIFF)
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
13
etc/mdnie_tune_camera_mode
Normal file
13
etc/mdnie_tune_camera_mode
Normal file
@ -0,0 +1,13 @@
|
||||
//start
|
||||
0x0001,0x0000, //
|
||||
0x002c,0x0fff, //DNR bypass 0x003C
|
||||
0x002d,0x1900, //DNR bypass 0x0a08
|
||||
0x002e,0x0000, //DNR bypass 0x1010
|
||||
0x002f,0x0fff, //DNR bypass 0x0400
|
||||
0x003A,0x0009, //HDTR (DE off)(CS only 9)
|
||||
0x003B,0x0000, //DE SHARPNESS
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x003F,0x0000, //CS GAIN
|
||||
0x0042,0x003f, //DE TH (MAX DIFF)
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
17
etc/mdnie_tune_camera_outdoor_mode
Normal file
17
etc/mdnie_tune_camera_outdoor_mode
Normal file
@ -0,0 +1,17 @@
|
||||
//start
|
||||
0x0001,0x0002, //OVE
|
||||
0x002c,0x0fff, //DNR bypass 0x003C
|
||||
0x002d,0x1900, //DNR bypass 0x0a08
|
||||
0x002e,0x0000, //DNR bypass 0x1010
|
||||
0x002f,0x0fff, //DNR bypass 0x0400
|
||||
0x003A,0x000D, //HDTR DE CS
|
||||
0x003B,0x03ff, //DE SHARPNESS
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x003F,0x0100, //CS GAIN
|
||||
0x0042,0x003f, //DE TH (MAX DIFF)
|
||||
0x0049,0x0400, //pcc skin
|
||||
0x004a,0x7300,
|
||||
0x004b,0x008f,
|
||||
0x0054,0x5a50, //ove
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
43
etc/mdnie_tune_dynamic_mode
Normal file
43
etc/mdnie_tune_dynamic_mode
Normal file
@ -0,0 +1,43 @@
|
||||
//start
|
||||
0x003F,0x012c, //CS GAIN
|
||||
0x003B,0x03ff, //DE SHARPNESS
|
||||
0x0042,0x0020, //DE TH (MAX DIFF)
|
||||
0x004d,0x0100, //pcc strength
|
||||
0x00c8,0x0000, //kb R SCR
|
||||
0x00c9,0x0000, //gc R
|
||||
0x00ca,0xffff, //rm R
|
||||
0x00cb,0xffff, //yw R
|
||||
0x00cc,0x0000, //kb G
|
||||
0x00cd,0xffff, //gc G
|
||||
0x00ce,0x0000, //rm G
|
||||
0x00cf,0xffff, //yw G
|
||||
0x00d0,0x00ff, //kb B
|
||||
0x00d1,0x00ff, //gc B
|
||||
0x00d2,0x00ff, //rm B
|
||||
0x00d3,0x00ff, //yw B
|
||||
0x00D6,0x1d00, //GAMMA start
|
||||
0x00D7,0x1d00,
|
||||
0x00D8,0x1d00,
|
||||
0x00D9,0x1d00,
|
||||
0x00DA,0x1d00,
|
||||
0x00DB,0x1d00,
|
||||
0x00DC,0x1d00,
|
||||
0x00DD,0x1d00,
|
||||
0x00DE,0x1d00,
|
||||
0x00DF,0x1d00,
|
||||
0x00E0,0x1d00,
|
||||
0x00E1,0x1d00,
|
||||
0x00E2,0x1d00,
|
||||
0x00E3,0x1d00,
|
||||
0x00E4,0x1d00,
|
||||
0x00E5,0xa40e,
|
||||
0x00E6,0xa40e,
|
||||
0x00E7,0xa40e,
|
||||
0x00E8,0xa819,
|
||||
0x00E9,0xa40a,
|
||||
0x00EA,0x2200,
|
||||
0x00EB,0x1c25,
|
||||
0x00EC,0x1842,
|
||||
0x00ED,0xFF00,
|
||||
0x00D5,0x0001, //GAMMA end
|
||||
//end
|
13
etc/mdnie_tune_gallery_mode
Normal file
13
etc/mdnie_tune_gallery_mode
Normal file
@ -0,0 +1,13 @@
|
||||
//start
|
||||
0x0001,0x0041, //SCR + PCC
|
||||
0x002c,0x0fff, //DNR bypass 0x003C
|
||||
0x002d,0x1900, //DNR bypass 0x0a08
|
||||
0x002e,0x0000, //DNR bypass 0x1010
|
||||
0x002f,0x0fff, //DNR bypass 0x0400
|
||||
0x003A,0x000D, //HDTR DE CS
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x0049,0x0400, //pcc skin
|
||||
0x004a,0x7a00,
|
||||
0x004b,0x008f,
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
43
etc/mdnie_tune_movie_mode
Normal file
43
etc/mdnie_tune_movie_mode
Normal file
@ -0,0 +1,43 @@
|
||||
//start
|
||||
0x003F,0x0032, //CS GAIN 300
|
||||
0x003B,0x0001, //DE SHARPNESS
|
||||
0x0042,0x003f, //DE TH (MAX DIFF)
|
||||
0x004d,0x0000, //pcc strength
|
||||
0x00c8,0x0000, //kb R SCR
|
||||
0x00c9,0x6000, //gc R
|
||||
0x00ca,0xf0f0, //rm R
|
||||
0x00cb,0xf0ff, //yw R
|
||||
0x00cc,0x0050, //kb G
|
||||
0x00cd,0xd8f0, //gc G
|
||||
0x00ce,0x2500, //rm G
|
||||
0x00cf,0xf0fb, //yw G
|
||||
0x00d0,0x00f0, //kb B
|
||||
0x00d1,0x20f0, //gc B
|
||||
0x00d2,0x28f0, //rm B
|
||||
0x00d3,0x00f0, //yw B
|
||||
0x00D6,0x2000, //GAMMA start
|
||||
0x00D7,0x2000,
|
||||
0x00D8,0x2000,
|
||||
0x00D9,0x2000,
|
||||
0x00DA,0x2000,
|
||||
0x00DB,0x2000,
|
||||
0x00DC,0x2000,
|
||||
0x00DD,0x2000,
|
||||
0x00DE,0x2000,
|
||||
0x00DF,0x2000,
|
||||
0x00E0,0x2000,
|
||||
0x00E1,0x2000,
|
||||
0x00E2,0x2000,
|
||||
0x00E3,0x2000,
|
||||
0x00E4,0x2000,
|
||||
0x00E5,0x2000,
|
||||
0x00E6,0x2000,
|
||||
0x00E7,0x2000,
|
||||
0x00E8,0x2000,
|
||||
0x00E9,0x2000,
|
||||
0x00EA,0xa105,
|
||||
0x00EB,0xa105,
|
||||
0x00EC,0xa105,
|
||||
0x00ED,0xFF00,
|
||||
0x00D5,0x0001, //GAMMA end
|
||||
//end
|
17
etc/mdnie_tune_outdoor_mode
Normal file
17
etc/mdnie_tune_outdoor_mode
Normal file
@ -0,0 +1,17 @@
|
||||
//start
|
||||
0x0001,0x0002, //OVE
|
||||
0x002c,0x0fff, //DNR bypass 0x003C
|
||||
0x002d,0x1900, //DNR bypass 0x0a08
|
||||
0x002e,0x0000, //DNR bypass 0x1010
|
||||
0x002f,0x0fff, //DNR bypass 0x0400
|
||||
0x003A,0x0009, //HDTR DE CS
|
||||
0x003B,0x03ff, //DE SHARPNESS
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x003F,0x00c8, //CS GAIN
|
||||
0x0042,0x0020, //DE TH (MAX DIFF)
|
||||
0x0049,0x0400, //pcc skin
|
||||
0x004a,0x7300,
|
||||
0x004b,0x008f,
|
||||
0x0054,0x5a50, //ove
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
43
etc/mdnie_tune_standard_mode
Normal file
43
etc/mdnie_tune_standard_mode
Normal file
@ -0,0 +1,43 @@
|
||||
//start
|
||||
0x003F,0x0032, //CS GAIN
|
||||
0x003B,0x03ff, //DE SHARPNESS
|
||||
0x0042,0x0020, //DE TH (MAX DIFF)
|
||||
0x004d,0x0100, //pcc strength
|
||||
0x00c8,0x0000, //kb R SCR
|
||||
0x00c9,0x0000, //gc R
|
||||
0x00ca,0xffff, //rm R
|
||||
0x00cb,0xffff, //yw R
|
||||
0x00cc,0x0000, //kb G
|
||||
0x00cd,0xffff, //gc G
|
||||
0x00ce,0x0000, //rm G
|
||||
0x00cf,0xffff, //yw G
|
||||
0x00d0,0x00ff, //kb B
|
||||
0x00d1,0x00ff, //gc B
|
||||
0x00d2,0x00ff, //rm B
|
||||
0x00d3,0x00ff, //yw B
|
||||
0x00D6,0x2000, //GAMMA start
|
||||
0x00D7,0x2000,
|
||||
0x00D8,0x2000,
|
||||
0x00D9,0x2000,
|
||||
0x00DA,0x2000,
|
||||
0x00DB,0x2000,
|
||||
0x00DC,0x2000,
|
||||
0x00DD,0x2000,
|
||||
0x00DE,0x2000,
|
||||
0x00DF,0x2000,
|
||||
0x00E0,0x2000,
|
||||
0x00E1,0x2000,
|
||||
0x00E2,0x2000,
|
||||
0x00E3,0x2000,
|
||||
0x00E4,0x2000,
|
||||
0x00E5,0x2000,
|
||||
0x00E6,0x2000,
|
||||
0x00E7,0x2000,
|
||||
0x00E8,0x2000,
|
||||
0x00E9,0x2000,
|
||||
0x00EA,0xa105,
|
||||
0x00EB,0xa105,
|
||||
0x00EC,0xa105,
|
||||
0x00ED,0xFF00,
|
||||
0x00D5,0x0001, //GAMMA end
|
||||
//end
|
13
etc/mdnie_tune_ui_dynamic_mode
Normal file
13
etc/mdnie_tune_ui_dynamic_mode
Normal file
@ -0,0 +1,13 @@
|
||||
//start
|
||||
0x0001,0x0000, //
|
||||
0x002c,0x0fff, //DNR bypass 0x003C
|
||||
0x002d,0x1900, //DNR bypass 0x0a08
|
||||
0x002e,0x0000, //DNR bypass 0x1010
|
||||
0x002f,0x0fff, //DNR bypass 0x0400
|
||||
0x003A,0x000d, //HDTR DE_off CS : de on = d , de off = 9
|
||||
0x003B,0x0001, //DE SHARPNESS(0~1023) off
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x003F,0x012c, //CS GAIN 300
|
||||
0x0042,0x0030, //DE TH (MAX DIFF)
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
13
etc/mdnie_tune_ui_movie_mode
Normal file
13
etc/mdnie_tune_ui_movie_mode
Normal file
@ -0,0 +1,13 @@
|
||||
//start
|
||||
0x0001,0x0040, //scr
|
||||
0x002c,0x0fff, //DNR bypass 0x003C
|
||||
0x002d,0x1900, //DNR bypass 0x0a08
|
||||
0x002e,0x0000, //DNR bypass 0x1010
|
||||
0x002f,0x0fff, //DNR bypass 0x0400
|
||||
0x003A,0x000d, //HDTR DE_off CS : de on = d , de off = 9
|
||||
0x003B,0x0001, //DE SHARPNESS(0~1023) off
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x003F,0x0032, //CS GAIN 50
|
||||
0x0042,0x0030, //DE TH (MAX DIFF)
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
13
etc/mdnie_tune_ui_standard_mode
Normal file
13
etc/mdnie_tune_ui_standard_mode
Normal file
@ -0,0 +1,13 @@
|
||||
//start
|
||||
0x0001,0x0000, //
|
||||
0x002c,0x0fff, //DNR bypass 0x003C
|
||||
0x002d,0x1900, //DNR bypass 0x0a08
|
||||
0x002e,0x0000, //DNR bypass 0x1010
|
||||
0x002f,0x0fff, //DNR bypass 0x0400
|
||||
0x003A,0x000d, //HDTR DE_off CS : de on = d , de off = 9
|
||||
0x003B,0x0001, //DE SHARPNESS(0~1023) off
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x003F,0x001e, //CS GAIN 30
|
||||
0x0042,0x0030, //DE TH (MAX DIFF)
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
16
etc/mdnie_tune_video_cold_mode
Normal file
16
etc/mdnie_tune_video_cold_mode
Normal file
@ -0,0 +1,16 @@
|
||||
//start
|
||||
0x0001,0x0045, //MCM PCC
|
||||
0x002c,0x003c, //DNR bypass 0x003C
|
||||
0x002d,0x1908, //DNR bypass 0x0a08
|
||||
0x002e,0x1005, //DNR bypass 0x1010
|
||||
0x002f,0x0400, //DNR bypass 0x0400
|
||||
0x003A,0x000D, //HDTR DE CS
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x0049,0x0400, //pcc skin
|
||||
0x004a,0x7300,
|
||||
0x004b,0x008f,
|
||||
0x005b,0x0064, //MCM
|
||||
0x0063,0x9000, //cb
|
||||
0x0065,0x0070, //cr
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
20
etc/mdnie_tune_video_cold_outdoor_mode
Normal file
20
etc/mdnie_tune_video_cold_outdoor_mode
Normal file
@ -0,0 +1,20 @@
|
||||
//start
|
||||
0x0001,0x0006, //MCM OVE
|
||||
0x002c,0x003c, //DNR bypass 0x003C
|
||||
0x002d,0x1908, //DNR bypass 0x0a08
|
||||
0x002e,0x1005, //DNR bypass 0x1010
|
||||
0x002f,0x0400, //DNR bypass 0x0400
|
||||
0x003A,0x000D, //HDTR DE CS
|
||||
0x003B,0x03ff, //DE SHARPNESS
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x003F,0x0100, //CS GAIN : 300
|
||||
0x0042,0x003f, //DE TH (MAX DIFF)
|
||||
0x0049,0x0400, //pcc skin
|
||||
0x004a,0x7300, //cb
|
||||
0x004b,0x008f, //cr
|
||||
0x0054,0x5a50, //OVE
|
||||
0x005b,0x0064, //MCM
|
||||
0x0063,0x9000, //cb
|
||||
0x0065,0x0070, //cr
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
13
etc/mdnie_tune_video_mode
Normal file
13
etc/mdnie_tune_video_mode
Normal file
@ -0,0 +1,13 @@
|
||||
//start
|
||||
0x0001,0x0041, //PCC 40
|
||||
0x002c,0x003C, //DNR bypass 0x003C
|
||||
0x002d,0x1908, //DNR bypass 0x0a08
|
||||
0x002e,0x1005, //DNR bypass 0x1010
|
||||
0x002f,0x0400, //DNR bypass 0x0400
|
||||
0x003A,0x000D, //HDTR DE CS de on = d , de off = 9
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x0049,0x0400, //pcc skin
|
||||
0x004a,0x7a00, //7300
|
||||
0x004b,0x008F, //008f
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
16
etc/mdnie_tune_video_warm_mode
Normal file
16
etc/mdnie_tune_video_warm_mode
Normal file
@ -0,0 +1,16 @@
|
||||
//start
|
||||
0x0001,0x0045, //SCR MCM PCC
|
||||
0x002c,0x003c, //DNR bypass 0x003C
|
||||
0x002d,0x1908, //DNR bypass 0x0a08
|
||||
0x002e,0x1005, //DNR bypass 0x1010
|
||||
0x002f,0x0400, //DNR bypass 0x0400
|
||||
0x003A,0x000d, //HDTR DE CS
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x0049,0x0400, //pcc skin
|
||||
0x004a,0x7300,
|
||||
0x004b,0x008f,
|
||||
0x005b,0x0064, //MCM
|
||||
0x0063,0x7000, //cb
|
||||
0x0065,0x0090, //cr
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
20
etc/mdnie_tune_video_warm_outdoor_mode
Normal file
20
etc/mdnie_tune_video_warm_outdoor_mode
Normal file
@ -0,0 +1,20 @@
|
||||
//start
|
||||
0x0001,0x0006, //MCM PCC
|
||||
0x002c,0x003c, //DNR bypass 0x003C
|
||||
0x002d,0x1908, //DNR bypass 0x0a08
|
||||
0x002e,0x1005, //DNR bypass 0x1010
|
||||
0x002f,0x0400, //DNR bypass 0x0400
|
||||
0x003A,0x000d, //HDTR DE CS
|
||||
0x003B,0x03ff, //DE SHARPNESS
|
||||
0x003C,0x0000, //NOISE LEVEL
|
||||
0x003F,0x0100, //CS GAIN : 256
|
||||
0x0042,0x003f, //DE TH (MAX DIFF)
|
||||
0x0049,0x0400, //pcc skin
|
||||
0x004a,0x7300,
|
||||
0x004b,0x008f,
|
||||
0x0054,0x5a50, //OVE
|
||||
0x005b,0x0064, //MCM
|
||||
0x0063,0x7000, //cb
|
||||
0x0065,0x0090, //cr
|
||||
0x0028,0x0000, //Register Mask
|
||||
//end
|
9
init.rc
9
init.rc
@ -385,6 +385,15 @@ on boot
|
||||
write /proc/sys/vm/dirty_expire_centisecs 200
|
||||
write /proc/sys/vm/dirty_background_ratio 5
|
||||
|
||||
# mDNIe
|
||||
chown radio system /sys/devices/virtual/mdnieset_outdoor/switch_mdnieset_outdoor/mdnieset_outdoor_file_cmd
|
||||
chown radio system /sys/devices/virtual/mdnieset_ui/switch_mdnieset_ui/mdnieset_init_file_cmd
|
||||
chown radio system /sys/devices/virtual/mdnieset_ui/switch_mdnieset_ui/mdnieset_user_select_file_cmd
|
||||
chown radio system /sys/devices/virtual/mdnieset_ui/switch_mdnieset_ui/mdnieset_ui_file_cmd
|
||||
write /sys/class/mdnieset_ui/switch_mdnieset_ui/mdnieset_init_file_cmd 0
|
||||
write /sys/class/mdnieset_ui/switch_mdnieset_ui/mdnieset_ui_file_cmd 1
|
||||
write /sys/class/mdnieset_ui/switch_mdnieset_ui/mdnieset_user_select_file_cmd 0
|
||||
|
||||
# permissions for NFC
|
||||
setprop ro.nfc.port "I2C"
|
||||
chmod 0600 /dev/pn544
|
||||
|
Loading…
Reference in New Issue
Block a user