diff --git a/device/testing/device-samsung-kccat6/APKBUILD b/device/testing/device-samsung-kccat6/APKBUILD new file mode 100644 index 000000000..1a900d7be --- /dev/null +++ b/device/testing/device-samsung-kccat6/APKBUILD @@ -0,0 +1,27 @@ +# Reference: +pkgname=device-samsung-kccat6 +pkgdesc="Samsung Galaxy S5 Plus" +pkgver=0.1 +pkgrel=0 +url="https://postmarketos.org" +license="MIT" +arch="armv7" +options="!check !archcheck" +depends=" + linux-samsung-kccat6 + mkbootimg + msm-fb-refresher + postmarketos-base + " +makedepends="devicepkg-dev" +source="deviceinfo" + +build() { + devicepkg_build $startdir $pkgname +} + +package() { + devicepkg_package $startdir $pkgname +} + +sha512sums="23502106b4f2073b667fed417da14016d3b09de1ccc698be60d5e78ba2f0ccc9187b2e4d17a2f0ea74054555e1c77304c25242b0bcb7bfa6999df64b6e8f9fed deviceinfo" diff --git a/device/testing/device-samsung-kccat6/deviceinfo b/device/testing/device-samsung-kccat6/deviceinfo new file mode 100644 index 000000000..4093bc294 --- /dev/null +++ b/device/testing/device-samsung-kccat6/deviceinfo @@ -0,0 +1,35 @@ +# Reference: +# Please use double quotes only. You can source this file in shell +# scripts. + +deviceinfo_format_version="0" +deviceinfo_name="Samsung Galaxy S5 Plus" +deviceinfo_manufacturer="Samsung" +deviceinfo_codename="samsung-kccat6" +deviceinfo_year="2014" +deviceinfo_arch="armv7" + +# Device related +deviceinfo_chassis="handset" +deviceinfo_keyboard="false" +deviceinfo_external_storage="true" +deviceinfo_screen_width="1080" +deviceinfo_screen_height="1920" + +# Bootloader related +deviceinfo_flash_method="heimdall-bootimg" +deviceinfo_kernel_cmdline="console=/dev/ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 dwc3_msm.cpu_to_affin=1 audit=0 buildvariant=userdebug" +deviceinfo_generate_bootimg="true" +deviceinfo_bootimg_qcdt="true" +deviceinfo_bootimg_append_seandroidenforce="true" +deviceinfo_flash_offset_base="0x00000000" +deviceinfo_flash_offset_kernel="0x00008000" +deviceinfo_flash_offset_ramdisk="0x02200000" +deviceinfo_flash_offset_second="0x00f00000" +deviceinfo_flash_offset_tags="0x02000000" +deviceinfo_flash_pagesize="2048" +deviceinfo_flash_heimdall_partition_kernel="BOOT" + +# USB related +deviceinfo_usb_idVendor="0x04e8" # Samsung Electronics Co., Ltd +deviceinfo_usb_idProduct="0x6860" # Galaxy (MTP) diff --git a/device/testing/linux-samsung-kccat6/APKBUILD b/device/testing/linux-samsung-kccat6/APKBUILD new file mode 100644 index 000000000..b69732206 --- /dev/null +++ b/device/testing/linux-samsung-kccat6/APKBUILD @@ -0,0 +1,59 @@ +# Reference: +# Kernel config based on: arch/arm/configs/apq8084_sec_defconfig +# arch/arm/configs/apq8084_sec_kccat6_eur_defconfig +# arch/arm/configs/selinux_defconfig + +pkgname=linux-samsung-kccat6 +pkgver=3.10.100 +pkgrel=0 +pkgdesc="Samsung Galaxy S5 Plus kernel fork" +arch="armv7" +_carch="arm" +_flavor="samsung-kccat6" +url="https://kernel.org" +license="GPL-2.0-only" +options="!strip !check !tracedeps pmb:cross-native" +makedepends="bash bc bison devicepkg-dev flex openssl-dev perl gcc6 xz dtbtool" + +# Source +_repository="android_kernel_samsung_apq8084" +_commit="45470c5e5fde343926188c3e78a3c652c81408cb" +_config="config-$_flavor.$arch" +source=" + $pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz + $_config + gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch +" +builddir="$srcdir/$_repository-$_commit" +_outdir="out" + +# Compiler: GCC 6 (doesn't boot when compiled with newer versions) +if [ "${CC:0:5}" != "gcc6-" ]; then + CC="gcc6-$CC" + HOSTCC="gcc6-gcc" + CROSS_COMPILE="gcc6-$CROSS_COMPILE" +fi + +prepare() { + default_prepare + . downstreamkernel_prepare +} + +build() { + unset LDFLAGS + make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \ + KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS" + dtbTool -s 2048 -p "scripts/dtc/" -o "arch/arm/boot/dt.img" "out/arch/arm/boot/dts/" +} + +package() { + downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" "$_outdir" + install -Dm644 "$builddir/arch/arm/boot/dt.img" \ + "$pkgdir/boot/dt.img" +} + +sha512sums="a09b9f7ac2c70935678e2faac76d5db2d8d98e2dde17de3ed449f5e521c460f6c1d62056b670aba2c99ce0f6941991f8402f31a0696c5763fc799514d6bf3367 linux-samsung-kccat6-45470c5e5fde343926188c3e78a3c652c81408cb.tar.gz +63417753bc7d25d20fb41fcee4b9c5d12580d9da72441b6bf2b2556b40284b94f8b7900133edea6d96ab9b9b545480132ff985fd3d84f8d40bd108de254dd241 config-samsung-kccat6.armv7 +197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-samsung-kccat6/config-samsung-kccat6.armv7 b/device/testing/linux-samsung-kccat6/config-samsung-kccat6.armv7 new file mode 100644 index 000000000..d7ca1705f --- /dev/null +++ b/device/testing/linux-samsung-kccat6/config-samsung-kccat6.armv7 @@ -0,0 +1,985 @@ +# CONFIG_ARM_PATCH_PHYS_VIRT is not set +CONFIG_DEFERRED_INITCALLS=y +CONFIG_AUDIT=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_RCU_FAST_NO_HZ=y +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_CGROUPS=y +CONFIG_CGROUP_FREEZER=y +CONFIG_CGROUP_CPUACCT=y +CONFIG_RESOURCE_COUNTERS=y +CONFIG_CGROUP_SCHED=y +CONFIG_RT_GROUP_SCHED=y +CONFIG_NAMESPACES=y +CONFIG_KERNEL_XZ=y +# CONFIG_UTS_NS is not set +# CONFIG_PID_NS is not setes +CONFIG_RELAY=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_RD_BZIP2=y +CONFIG_RD_LZMA=y +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +CONFIG_PANIC_TIMEOUT=5 +CONFIG_KALLSYMS_ALL=y +CONFIG_EMBEDDED=y +# CONFIG_SLUB_DEBUG is not set +CONFIG_PROFILING=y +CONFIG_ARCH_MMAP_RND_BITS=16 +CONFIG_KPROBES=y +# CONFIG_MODULES is not set +CONFIG_MODULE_UNLOAD=y +CONFIG_MODULE_FORCE_UNLOAD=y +CONFIG_MODVERSIONS=y +CONFIG_PARTITION_ADVANCED=y +CONFIG_IOSCHED_TEST=y +CONFIG_DEFAULT_CFQ=y +CONFIG_ARCH_MSM=y +CONFIG_ARCH_APQ8084=y +CONFIG_MSM_KRAIT_TBB_ABORT_HANDLER=y +# CONFIG_MSM_STACKED_MEMORY is not set +CONFIG_CPU_HAS_L2_PMU=y +CONFIG_MSM_SMD=y +CONFIG_MSM_PCIE=y +CONFIG_MSM_SMP2P=y +CONFIG_MSM_SMP2P_TEST=y +# CONFIG_MSM_DMA_TEST is not set +CONFIG_DEBUG_SET_MODULE_RONX=y +CONFIG_EXTERNAL_MDM=y +CONFIG_MSM_QMI_INTERFACE=y +CONFIG_MSM_SUBSYSTEM_RESTART=y +CONFIG_MSM_SYSMON_COMM=y +CONFIG_MSM_PIL_SSR_GENERIC=y +CONFIG_MSM_TZ_LOG=y +CONFIG_MSM_DIRECT_SCLK_ACCESS=y +CONFIG_MSM_BUS_SCALING=y +CONFIG_MSM_WATCHDOG_V2=y +CONFIG_MSM_MEMORY_DUMP=y +CONFIG_MSM_DLOAD_MODE=y +# CONFIG_MSM_JTAG is not set +CONFIG_MSM_RUN_QUEUE_STATS=y +CONFIG_MSM_ADSP_LOADER=y +CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y +CONFIG_MSM_IPC_ROUTER_HSIC_XPRT=y +CONFIG_MSM_OCMEM=y +CONFIG_MSM_OCMEM_LOCAL_POWER_CTRL=y +CONFIG_SENSORS_SSC=y +CONFIG_MSM_CACHE_ERP=y +# CONFIG_MSM_L1_ERR_PANIC is not set +CONFIG_MSM_L1_ERR_LOG=y +CONFIG_MSM_L2_ERP_PRINT_ACCESS_ERRORS=y +CONFIG_MSM_L2_ERP_PORT_PANIC=y +# CONFIG_MSM_L2_ERP_1BIT_PANIC is not set +# CONFIG_MSM_L2_ERP_2BIT_PANIC is not set +CONFIG_MSM_HSIC_SYSMON=y +CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y +CONFIG_MSM_BOOT_STATS=y +CONFIG_MSM_XPU_ERR_FATAL=y +CONFIG_STRICT_MEMORY_RWX=y +CONFIG_PCI=y +CONFIG_PCI_MSI=y +CONFIG_SMP=y +# CONFIG_SMP_ON_UP is not set +CONFIG_SCHED_MC=y +CONFIG_PREEMPT=y +CONFIG_HZ_1000=y +CONFIG_AEABI=y +CONFIG_HIGHMEM=y +CONFIG_ENABLE_VMALLOC_SAVING=y +CONFIG_CC_STACKPROTECTOR=y +# CONFIG_CP_ACCESS is not set +CONFIG_CPUSETS=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_INTERACTIVE=y +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y +# CONFIG_CPU_BOOST is not set +CONFIG_CPU_IDLE=y +CONFIG_VFP=y +CONFIG_NEON=y +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set +CONFIG_PM_AUTOSLEEP=y +CONFIG_PM_WAKELOCKS=y +CONFIG_PM_WAKELOCKS_LIMIT=0 +# CONFIG_PM_WAKELOCKS_GC is not set +CONFIG_PM_RUNTIME=y +CONFIG_PM_DEBUG=y +# CONFIG_SEC_PM_DEBUG is not set +# CONFIG_SUSPEND_BOOSTER is not set +# CONFIG_SUSPEND_TIME is not set +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_PACKET_DIAG=y +CONFIG_UNIX=y +CONFIG_XFRM=y +CONFIG_XFRM_USER=y +CONFIG_XFRM_STATISTICS=y +CONFIG_NET_KEY=y +CONFIG_INET=y +CONFIG_IP_ADVANCED_ROUTER=y +CONFIG_IP_MULTIPLE_TABLES=y +CONFIG_IP_ROUTE_VERBOSE=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +CONFIG_IP_MULTICAST=y +CONFIG_INET_AH=y +CONFIG_INET_ESP=y +CONFIG_INET_IPCOMP=y +CONFIG_INET_DIAG_DESTROY=y +CONFIG_CRYPTO_GCM=y +CONFIG_INET_XFRM_MODE_TRANSPORT=y +CONFIG_INET_XFRM_MODE_TUNNEL=y +CONFIG_INET_XFRM_MODE_BEET=y +CONFIG_INET6_XFRM_MODE_TRANSPORT=y +CONFIG_INET6_XFRM_MODE_TUNNEL=y +CONFIG_INET6_XFRM_MODE_BEET=y +CONFIG_NETFILTER_XTABLES=y +# CONFIG_INET_LRO is not set +CONFIG_IPV6=y +CONFIG_IPV6_PRIVACY=y +CONFIG_IPV6_ROUTER_PREF=y +CONFIG_IPV6_ROUTE_INFO=y +CONFIG_IPV6_OPTIMISTIC_DAD=y +CONFIG_INET6_AH=y +CONFIG_INET6_ESP=y +CONFIG_INET6_IPCOMP=y +CONFIG_IPV6_MIP6=y +CONFIG_IPV6_MULTIPLE_TABLES=y +CONFIG_IPV6_SUBTREES=y +CONFIG_NETFILTER=y +CONFIG_NF_CONNTRACK=y +CONFIG_NF_CONNTRACK_SECMARK=y +CONFIG_NF_CONNTRACK_EVENTS=y +CONFIG_NF_CT_PROTO_DCCP=y +CONFIG_NF_CT_PROTO_SCTP=y +CONFIG_NF_CT_PROTO_UDPLITE=y +CONFIG_NF_CONNTRACK_AMANDA=y +CONFIG_NF_CONNTRACK_FTP=y +CONFIG_NF_CONNTRACK_H323=y +CONFIG_NF_CONNTRACK_IRC=y +CONFIG_NF_CONNTRACK_NETBIOS_NS=y +CONFIG_NF_CONNTRACK_PPTP=y +CONFIG_NF_CONNTRACK_SANE=y +CONFIG_NF_CONNTRACK_TFTP=y +CONFIG_NF_CT_NETLINK=y +CONFIG_NETFILTER_TPROXY=y +CONFIG_NETFILTER_XT_TARGET_CLASSIFY=y +CONFIG_NETFILTER_XT_TARGET_CONNMARK=y +CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y +CONFIG_NETFILTER_XT_TARGET_LOG=y +CONFIG_NETFILTER_XT_TARGET_MARK=y +CONFIG_NETFILTER_XT_TARGET_NFLOG=y +CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y +CONFIG_NETFILTER_XT_TARGET_NOTRACK=y +CONFIG_NETFILTER_XT_TARGET_TPROXY=y +CONFIG_NETFILTER_XT_TARGET_TRACE=y +CONFIG_NETFILTER_XT_TARGET_SECMARK=y +CONFIG_NETFILTER_XT_TARGET_TCPMSS=y +CONFIG_NETFILTER_XT_TARGET_IDLETIMER=y +CONFIG_NETFILTER_XT_TARGET_TEE=y +CONFIG_NETFILTER_XT_MATCH_COMMENT=y +CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y +CONFIG_NETFILTER_XT_MATCH_CONNMARK=y +CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y +CONFIG_NETFILTER_XT_MATCH_DSCP=y +CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=y +CONFIG_NETFILTER_XT_MATCH_HELPER=y +CONFIG_NETFILTER_XT_MATCH_IPRANGE=y +CONFIG_NETFILTER_XT_MATCH_LENGTH=y +CONFIG_NETFILTER_XT_MATCH_LIMIT=y +CONFIG_NETFILTER_XT_MATCH_MAC=y +CONFIG_NETFILTER_XT_MATCH_MARK=y +CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y +CONFIG_NETFILTER_XT_MATCH_POLICY=y +CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y +CONFIG_NETFILTER_XT_MATCH_QTAGUID=y +CONFIG_NETFILTER_XT_MATCH_QUOTA=y +CONFIG_NETFILTER_XT_MATCH_QUOTA2=y +CONFIG_NETFILTER_XT_MATCH_QUOTA2_LOG=y +CONFIG_NETFILTER_XT_MATCH_SOCKET=y +CONFIG_NETFILTER_XT_MATCH_STATE=y +CONFIG_NETFILTER_XT_MATCH_STATISTIC=y +CONFIG_NETFILTER_XT_MATCH_STRING=y +CONFIG_NETFILTER_XT_MATCH_TIME=y +CONFIG_NETFILTER_XT_MATCH_U32=y +CONFIG_NETFILTER_ADVANCED=y +CONFIG_NF_CONNTRACK_IPV4=y +CONFIG_IP_NF_IPTABLES=y +CONFIG_IP_NF_MATCH_AH=y +CONFIG_IP_NF_MATCH_ECN=y +CONFIG_IP_NF_MATCH_TTL=y +CONFIG_IP_NF_FILTER=y +CONFIG_IP_NF_TARGET_REJECT=y +CONFIG_NF_NAT_IPV4=y +CONFIG_IP_NF_TARGET_MASQUERADE=y +CONFIG_IP_NF_TARGET_NETMAP=y +CONFIG_IP_NF_TARGET_REDIRECT=y +CONFIG_IP_NF_MANGLE=y +CONFIG_IP_NF_RAW=y +CONFIG_IP_NF_SECURITY=y +CONFIG_IP_NF_ARPTABLES=y +CONFIG_IP_NF_ARPFILTER=y +CONFIG_IP_NF_ARP_MANGLE=y +CONFIG_IP_NF_MATCH_RPFILTER=y +CONFIG_NF_CONNTRACK_IPV6=y +CONFIG_IP6_NF_IPTABLES=y +CONFIG_IP6_NF_FILTER=y +CONFIG_IP6_NF_TARGET_REJECT=y +CONFIG_IP6_NF_MANGLE=y +CONFIG_IP6_NF_RAW=y +CONFIG_IP6_NF_MATCH_RPFILTER=y +CONFIG_BRIDGE_NF_EBTABLES=y +CONFIG_BRIDGE_EBT_BROUTE=y +CONFIG_L2TP=y +CONFIG_L2TP_DEBUGFS=y +CONFIG_L2TP_V3=y +CONFIG_BRIDGE=y +CONFIG_NET_SCHED=y +CONFIG_NET_SCH_HTB=y +CONFIG_NET_SCH_PRIO=y +CONFIG_NET_SCH_INGRESS=y +CONFIG_NET_CLS=y +CONFIG_NET_CLS_ACT=y +CONFIG_NET_CLS_BASIC=y +CONFIG_NET_CLS_FW=y +CONFIG_NET_CLS_U32=y +CONFIG_CLS_U32_MARK=y +CONFIG_NET_CLS_FLOW=y +CONFIG_NET_EMATCH=y +CONFIG_NET_EMATCH_CMP=y +CONFIG_NET_EMATCH_NBYTE=y +CONFIG_NET_EMATCH_U32=y +CONFIG_NET_EMATCH_META=y +CONFIG_NET_EMATCH_TEXT=y +CONFIG_NET_CLS_ACT=y +CONFIG_NET_ACT_MIRRED=y +CONFIG_RMNET_DATA=y +CONFIG_RMNET_DATA_FC=y +# CONFIG_RMNET_DATA_DEBUG_PKT is not set +CONFIG_BT=y +CONFIG_BT_BCM4358=y +# CONFIG_MSM_BT_POWER is not set +# CONFIG_NET_VENDOR_ATHEROS is not set +# CONFIG_ATL1C is not set +# TCP Congestion Control +CONFIG_DEFAULT_CUBIC=y +CONFIG_TCP_CONG_ADVANCED=y +CONFIG_TCP_CONG_BIC=y +CONFIG_TCP_CONG_HTCP=y +CONFIG_TCP_CONG_WESTWOOD=y +CONFIG_RFKILL=y +# CONFIG_NFC_QNCI is not set +CONFIG_IPC_ROUTER=y +CONFIG_IPC_ROUTER_SECURITY=y +CONFIG_CMA=y +CONFIG_PROC_DEVICETREE=y +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_SIZE=8192 +CONFIG_UID_STAT=y +CONFIG_HAPTIC_ISA1200=y +CONFIG_QSEECOM=y +CONFIG_QPNP_MISC=y +CONFIG_SEC_MISC=y +# CONFIG_TI_DRV2667 is not set +CONFIG_APQ8084_DOCKING_STATION=y +CONFIG_BLK_DEV_SD=y +CONFIG_SCSI_MULTI_LUN=y +# CONFIG_SCSI_LOWLEVEL is not set +CONFIG_SCSI_UFSHCD=y +CONFIG_SCSI_UFSHCD_PLATFORM=y +CONFIG_SCSI_UFS_MSM=y +CONFIG_SCSI_UFS_TEST=y +CONFIG_ATA=y +CONFIG_SATA_AHCI_MSM=y +CONFIG_MD=y +CONFIG_BLK_DEV_DM=y +CONFIG_DM_CRYPT=y +CONFIG_DM_UEVENT=y +CONFIG_NETDEVICES=y +CONFIG_DUMMY=y +CONFIG_TUN=y +# CONFIG_KS8851 is not set +CONFIG_PPP=y +CONFIG_PPP_BSDCOMP=y +CONFIG_PPP_DEFLATE=y +CONFIG_PPP_FILTER=y +CONFIG_PPP_MPPE=y +CONFIG_PPP_MULTILINK=y +CONFIG_PPPOE=y +CONFIG_PPPOL2TP=y +CONFIG_PPPOLAC=y +CONFIG_PPPOPNS=y +CONFIG_PPP_ASYNC=y +CONFIG_PPP_SYNC_TTY=y +CONFIG_SLIP=y +CONFIG_SLIP_COMPRESSED=y +CONFIG_SLIP_MODE_SLIP6=y +CONFIG_USB_USBNET=y +CONFIG_USB_NET_SMSC75XX=y +CONFIG_USB_NET_SMSC95XX=y +CONFIG_MSM_RMNET_USB=y +CONFIG_MSM_AVTIMER=y +CONFIG_MSM_MHI=y +CONFIG_MSM_MHI_UCI=y +CONFIG_MSM_RMNET_MHI=y +CONFIG_INPUT_EVDEV=y +# CONFIG_INPUT_EVBUG is not set +CONFIG_INPUT_KEYRESET=y +CONFIG_KEYBOARD_GPIO=y +# CONFIG_INPUT_MOUSE is not set +CONFIG_INPUT_JOYSTICK=y +CONFIG_JOYSTICK_XPAD=y +CONFIG_JOYSTICK_XPAD_FF=y +CONFIG_JOYSTICK_XPAD_LEDS=y +# CONFIG_INPUT_TABLET is not set +CONFIG_TABLET_USB_ACECAD=y +CONFIG_TABLET_USB_AIPTEK=y +CONFIG_TABLET_USB_GTCO=y +CONFIG_TABLET_USB_HANWANG=y +CONFIG_TABLET_USB_KBTAB=y +CONFIG_TABLET_USB_WACOM=y +CONFIG_INPUT_TOUCHSCREEN=y +CONFIG_INPUT_MISC=y +CONFIG_INPUT_KEYCHORD=y +CONFIG_INPUT_UINPUT=y +CONFIG_INPUT_GPIO=y +CONFIG_VT=y +# CONFIG_LEGACY_PTYS is not set +# CONFIG_DEVMEM is not set +# CONFIG_DEVKMEM is not set +# CONFIG_DEVPORT is not set +CONFIG_SERIAL_MSM_HS=y +# CONFIG_SERIAL_MSM_HS_TRLTE is not set +CONFIG_SERIAL_MSM_HSL=y +CONFIG_SERIAL_MSM_HSL_CONSOLE=y +CONFIG_SERIAL_MSM_SMD=y +CONFIG_DIAG_CHAR=y +CONFIG_HW_RANDOM=y +CONFIG_HW_RANDOM_MSM=y +CONFIG_MSM_SMD_PKT=y +CONFIG_MSM_ADSPRPC=y +CONFIG_I2C=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_QUP=y +CONFIG_I2C_GPIO=y +CONFIG_SLIMBUS_MSM_NGD=y +CONFIG_SPI=y +CONFIG_SPI_QUP=y +CONFIG_SPI_SPIDEV=y +CONFIG_SPMI=y +CONFIG_SPMI_MSM_PMIC_ARB=y +CONFIG_MSM_QPNP_INT=y +CONFIG_GPIO_SYSFS=y +CONFIG_GPIO_QPNP_PIN=y +CONFIG_GPIO_QPNP_PIN_DEBUG=y +CONFIG_SENSORS_EPM_ADC=y +CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y +CONFIG_SENSORS_QPNP_ADC_CURRENT=y +CONFIG_THERMAL=y +CONFIG_THERMAL_TSENS8974=y +CONFIG_THERMAL_MONITOR=y +CONFIG_THERMAL_QPNP=y +CONFIG_THERMAL_QPNP_ADC_TM=y +CONFIG_WCD9320_CODEC=y +CONFIG_REGULATOR_FIXED_VOLTAGE=y +CONFIG_REGULATOR_PROXY_CONSUMER=y +CONFIG_REGULATOR_STUB=y +CONFIG_REGULATOR_QPNP=y +CONFIG_MEDIA_SUPPORT=y +CONFIG_MEDIA_CAMERA_SUPPORT=y +CONFIG_MEDIA_ANALOG_TV_SUPPORT=y +CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y +CONFIG_MEDIA_RADIO_SUPPORT=y +CONFIG_MEDIA_CONTROLLER=y +CONFIG_VIDEO_V4L2_SUBDEV_API=y +CONFIG_VIDEOBUF2_MSM_MEM=y +CONFIG_MEDIA_USB_SUPPORT=y +CONFIG_USB_VIDEO_CLASS=y +CONFIG_USB_GSPCA=y +CONFIG_V4L_PLATFORM_DRIVERS=y +CONFIG_MSMB_CAMERA=y +CONFIG_MSMB_JPEG=y +CONFIG_MSM_CAMERA_SENSOR=y +CONFIG_MSM_CPP=y +CONFIG_MSM_CCI=y +CONFIG_MSM_CSI31_HEADER=y +CONFIG_MSM_CSIPHY=y +CONFIG_MSM_CSID=y +CONFIG_MSM_EEPROM=y +CONFIG_MSM_ISPIF=y +CONFIG_MSM_VIDC_V4L2=y +CONFIG_MSM_WFD=y +CONFIG_DVB_MPQ=y +CONFIG_DVB_MPQ_DEMUX=y +CONFIG_TSPP=y +CONFIG_MSM_VPU=y +CONFIG_ION=y +CONFIG_ION_MSM=y +CONFIG_MSM_KGSL=y +CONFIG_KGSL_PER_PROCESS_PAGE_TABLE=y +CONFIG_FB=y +CONFIG_FB_VIRTUAL=y +CONFIG_FB_MSM=y +# CONFIG_FB_MSM_BACKLIGHT is not set +CONFIG_FB_MSM_MDSS=y +CONFIG_FB_MSM_MDSS_WRITEBACK=y +CONFIG_FB_MSM_MDSS_HDMI_PANEL=y +# CONFIG_FB_MSM_CAMERA_CSC=y +# CONFIG_FB_MSM_MDSS_HDMI_MHL_SII8334 is not set + +CONFIG_FB_MSM_MDSS_SAMSUNG=y +CONFIG_FB_MSM_MDSS_SAMSUNG_BROADCAST=y +CONFIG_BACKLIGHT_LCD_SUPPORT=y +CONFIG_LCD_CLASS_DEVICE=y +CONFIG_BACKLIGHT_CLASS_DEVICE=y + +CONFIG_MDNIE_LITE_TUNING=y +# CONFIG_BACKLIGHT_GENERIC is not set +# CONFIG_SII8620_MHL_TX is not set +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_USB_AUDIO=y +CONFIG_SND_SOC=y +CONFIG_SND_SOC_APQ8084=y +CONFIG_SND_SOC_MSM_HDMI_CODEC_RX=y + +# SEC Earjack +# CONFIG_SAMSUNG_JACK is not set + +CONFIG_UHID=y +CONFIG_HID_A4TECH=y +CONFIG_HID_ACRUX=y +CONFIG_HID_ACRUX_FF=y +CONFIG_HID_APPLE=y +CONFIG_HID_BELKIN=y +CONFIG_HID_CHERRY=y +CONFIG_HID_CHICONY=y +CONFIG_HID_PRODIKEYS=y +CONFIG_HID_CYPRESS=y +CONFIG_HID_DRAGONRISE=y +CONFIG_DRAGONRISE_FF=y +CONFIG_HID_EMS_FF=y +CONFIG_HID_ELECOM=y +CONFIG_HID_EZKEY=y +CONFIG_HID_HOLTEK=y +CONFIG_HID_KEYTOUCH=y +CONFIG_HID_KYE=y +CONFIG_HID_UCLOGIC=y +CONFIG_HID_WALTOP=y +CONFIG_HID_GYRATION=y +CONFIG_HID_TWINHAN=y +CONFIG_HID_KENSINGTON=y +CONFIG_HID_LCPOWER=y +CONFIG_HID_LOGITECH=y +CONFIG_HID_LOGITECH_DJ=y +CONFIG_LOGITECH_FF=y +CONFIG_LOGIRUMBLEPAD2_FF=y +CONFIG_LOGIG940_FF=y +CONFIG_HID_MAGICMOUSE=y +CONFIG_HID_MICROSOFT=y +CONFIG_HID_MONTEREY=y +CONFIG_HID_MULTITOUCH=y +CONFIG_HID_ORTEK=y +CONFIG_HID_PANTHERLORD=y +CONFIG_PANTHERLORD_FF=y +CONFIG_HID_PETALYNX=y +CONFIG_HID_PICOLCD=y +CONFIG_HID_PRIMAX=y +CONFIG_HID_ROCCAT=y +CONFIG_HID_SAITEK=y +CONFIG_HID_SAMSUNG=y +CONFIG_HID_SYNAPTICS_BT=y +CONFIG_HID_SONY=y +CONFIG_HID_SPEEDLINK=y +CONFIG_HID_SUNPLUS=y +CONFIG_HID_GREENASIA=y +CONFIG_HID=y +CONFIG_HIDRAW=y +CONFIG_HID_OVR=y +CONFIG_GREENASIA_FF=y +CONFIG_HID_SMARTJOYPLUS=y +CONFIG_SMARTJOYPLUS_FF=y +CONFIG_HID_TIVO=y +CONFIG_HID_TOPSEED=y +CONFIG_HID_THRUSTMASTER=y +# CONFIG_HID_WACOM is not set +CONFIG_HID_WIIMOTE=y +CONFIG_HID_ZAGG=y +CONFIG_HID_ZEROPLUS=y +CONFIG_HID_ZYDACRON=y +CONFIG_USB_HIDDEV=y +CONFIG_USB_ANNOUNCE_NEW_DEVICES=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_XHCI_MSM_HSIC=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_EHSET=y +CONFIG_USB_ACM=y +CONFIG_USB_STORAGE=y +CONFIG_USB_STORAGE_DATAFAB=y +CONFIG_USB_STORAGE_FREECOM=y +CONFIG_USB_STORAGE_ISD200=y +CONFIG_USB_STORAGE_USBAT=y +CONFIG_USB_STORAGE_SDDR09=y +CONFIG_USB_STORAGE_SDDR55=y +CONFIG_USB_STORAGE_JUMPSHOT=y +CONFIG_USB_STORAGE_ALAUDA=y +CONFIG_USB_STORAGE_ONETOUCH=y +CONFIG_USB_STORAGE_KARMA=y +CONFIG_USB_STORAGE_CYPRESS_ATACB=y +# CONFIG_USB_STORAGE_ENE_UB6250 is not set +# CONFIG_USB_EHSET_TEST_FIXTURE is not set +CONFIG_USB_STORAGE_DETECT=y +CONFIG_USB_HOST_NOTIFY=y +CONFIG_USB_NOTIFY_LAYER=y +CONFIG_USB_NOTIFIER=y +CONFIG_USB_EXTERNAL_NOTIFY=y +CONFIG_USB_SERIAL=y +CONFIG_USB_SERIAL_CSVT=y +CONFIG_USB_SERIAL_PL2303=y +CONFIG_USB_QCOM_DIAG_BRIDGE=y +CONFIG_USB_QCOM_MDM_BRIDGE=y +CONFIG_USB_QCOM_KS_BRIDGE=y +CONFIG_USB_QCOM_IPC_BRIDGE=y +CONFIG_USB_PHY=y +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_DEBUG_FILES=y +# +# Support MDM(SDS) +# +CONFIG_USB_LOCK_SUPPORT_FOR_MDM=y + +# Advanced Linux Sound Architecture +CONFIG_SND_RAWMIDI=y + +# CONFIG_USB_CI13XXX_MSM is not set +CONFIG_USB_DWC3_MSM=y +CONFIG_USB_G_ANDROID=y +# CONFIG_USB_ANDROID_SAMSUNG_MTP is not set +CONFIG_USB_ANDROID_SAMSUNG_COMPOSITE=y +# CONFIG_USB_ANDROID_SAMSUNG_SIDESYNC is not set +# CONFIG_USB_ANDROID_SAMSUNG_USB30_MENU is not set +CONFIG_USB_NCM_FOR_MIRRORLINK=y +CONFIG_USB_DUN_SUPPORT=y +CONFIG_USB_NCM_SUPPORT_MTU_CHANGE=y +CONFIG_MMC=y +CONFIG_MMC_PERF_PROFILING=y +CONFIG_MMC_UNSAFE_RESUME=y +CONFIG_MMC_CLKGATE=y +CONFIG_MMC_PARANOID_SD_INIT=y +CONFIG_MMC_BLOCK_MINORS=32 +# CONFIG_MMC_BLOCK_BOUNCE is not set +# CONFIG_MMC_TEST is not set +CONFIG_MMC_SUPPORT_BKOPS_MODE=y +CONFIG_MMC_BKOPS_NODE_UID=1000 +CONFIG_MMC_BKOPS_NODE_GID=1001 +CONFIG_MMC_BLOCK_TEST=y +CONFIG_MMC_BLOCK_DEFERRED_RESUME=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_MSM=y +CONFIG_MMC_SDHCI_MSM=y +CONFIG_LEDS_QPNP=y +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_BACKLIGHT=y +CONFIG_LEDS_TRIGGER_DEFAULT_ON=y +CONFIG_SWITCH=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_QPNP=y +CONFIG_ESOC=y +CONFIG_ESOC_DEV=y +CONFIG_ESOC_CLIENT=y +CONFIG_ESOC_MDM_4x=y +CONFIG_ESOC_MDM_DRV=y +CONFIG_UIO=y +CONFIG_UIO_MSM_SHAREDMEM=y +CONFIG_STAGING=y +CONFIG_ANDROID=y +CONFIG_ANDROID_BINDER_IPC=y +# CONFIG_ANDROID_BINDER_IPC_32BIT is not set +CONFIG_ASHMEM=y +CONFIG_ANDROID_LOGGER=y +CONFIG_ANDROID_TIMED_GPIO=y +CONFIG_ANDROID_LOW_MEMORY_KILLER=y +CONFIG_ANDROID_INTF_ALARM_DEV=y +CONFIG_MSM_SSBI=y +CONFIG_SPS=y +CONFIG_USB_BAM=y +CONFIG_SPS_SUPPORT_BAMDMA=y +CONFIG_SPS_SUPPORT_NDP_BAM=y +CONFIG_QPNP_POWER_ON=y +CONFIG_QPNP_CLKDIV=y +CONFIG_QPNP_USB_DETECT=y +# CONFIG_QCA1530 is not set +CONFIG_REMOTE_SPINLOCK_MSM=y +CONFIG_MSM_IOMMU_V1=y +CONFIG_IOMMU_PGTABLES_L2=y +CONFIG_IOMMU_LPAE=y +CONFIG_PWM=y +CONFIG_PWM_QPNP=y +CONFIG_PHY_MSM_SATA=y +CONFIG_MSM_SMEM=y +CONFIG_MSM_SMEM_LOGGING=y +CONFIG_EXT2_FS=y +CONFIG_EXT2_FS_XATTR=y +CONFIG_EXT3_FS=y +# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set +CONFIG_EXT4_FS=y +CONFIG_EXT4_FS_SECURITY=y +CONFIG_EXT4_FS_ENCRYPTION=y +CONFIG_FUSE_FS=y +CONFIG_SDCARD_FS=y +# CONFIG_MSDOS_FS is not set +# CONFIG_VFAT_FS is not set +# CONFIG_EXFAT_FS is not set +CONFIG_SDFAT_FS=y +CONFIG_SDFAT_USE_FOR_EXFAT=y +CONFIG_SDFAT_USE_FOR_VFAT=y +CONFIG_SDFAT_DELAYED_META_DIRTY=y +CONFIG_SDFAT_SUPPORT_DIR_SYNC=y +CONFIG_SDFAT_DEFAULT_CODEPAGE=437 +CONFIG_SDFAT_DEFAULT_IOCHARSET="utf8" +CONFIG_SDFAT_CHECK_RO_ATTR=y +CONFIG_SDFAT_ALIGNED_MPAGE_WRITE=y +CONFIG_SDFAT_VIRTUAL_XATTR=y +CONFIG_SDFAT_VIRTUAL_XATTR_SELINUX_LABEL="u:object_r:sdcard_external:s0" +CONFIG_SDFAT_SUPPORT_STLOG=y +# CONFIG_SDFAT_DEBUG is not set +CONFIG_SDFAT_STATISTICS=y + +CONFIG_SCFS=y +CONFIG_SCFS_LOWER_PAGECACHE_INVALIDATION=y +CONFIG_CRYPTO_LZO=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y +CONFIG_PSTORE=y +CONFIG_PSTORE_CONSOLE=y +CONFIG_PSTORE_RAM=y +CONFIG_PSTORE_RAM_ANNOTATION_APPEND=y +CONFIG_PRINTK_PROCESS=y +CONFIG_SEC_DEBUG_NOCACHE_LOG_IN_LEVEL_LOW=y +# CONFIG_SEC_DEBUG_LOW_LOG is not set +CONFIG_F2FS_FS=y +CONFIG_F2FS_FS_SECURITY=y +CONFIG_NLS_CODEPAGE_437=y +CONFIG_NLS_ASCII=y +CONFIG_NLS_ISO8859_1=y +CONFIG_PRINTK_TIME=y +CONFIG_MAGIC_SYSRQ=y +# CONFIG_SYSRQ_SCHED_DEBUG is not set +# CONFIG_PANIC_ON_RT_THROTTLING is not set +CONFIG_SCHEDSTATS=y +# CONFIG_DEBUG_PREEMPT is not set +CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_MEMORY_INIT=y +CONFIG_IPC_LOGGING=y +CONFIG_ENABLE_DEFAULT_TRACERS=y +CONFIG_CPU_FREQ_SWITCH_PROFILER=y +CONFIG_DYNAMIC_DEBUG=y +CONFIG_PID_IN_CONTEXTIDR=y +CONFIG_KEYS=y +CONFIG_ENCRYPTED_KEYS=y +CONFIG_SECURITY_PERF_EVENTS_RESTRICT=y +CONFIG_SECURITY=y +CONFIG_SECURITY_NETWORK=y +CONFIG_LSM_MMAP_MIN_ADDR=4096 +CONFIG_SECURITY_SELINUX=y + +CONFIG_KERNEL_MODE_NEON=y +CONFIG_CRYPTO_DEV_QCRYPTO=y +CONFIG_CRYPTO_DEV_QCE=y +CONFIG_CRYPTO_DEV_QCEDEV=y +CONFIG_TASKSTATS=y +CONFIG_TASK_DELAY_ACCT=y +CONFIG_TASK_IO_ACCOUNTING=y +CONFIG_TASK_XACCT=y +CONFIG_DETECT_HUNG_TASK=y + +# Swap +CONFIG_SWAP=y +CONFIG_FRONTSWAP=y +CONFIG_ZSMALLOC=y +CONFIG_PGTABLE_MAPPING=y +CONFIG_DIRECT_RECLAIM_FILE_PAGES_ONLY=n +CONFIG_SWAP_ENABLE_READAHEAD=n +CONFIG_ZRAM=y +CONFIG_ZRAM_LZ4_COMPRESS=y + +CONFIG_ECRYPT_FS=y +CONFIG_WTL_ENCRYPTION_FILTER=y +CONFIG_KEYS_DEBUG_PROC_KEYS=y +CONFIG_SEC_THERMISTOR=y +CONFIG_SND_SOC_ES705=y +CONFIG_SND_SOC_ES705_SLIM=y +CONFIG_FW_LOADER=y +CONFIG_FIRMWARE_IN_KERNEL=y +CONFIG_EXTRA_FIRMWARE_DIR="firmware" +CONFIG_SEC_SOLUTION=y +CONFIG_MSM_EVENT_TIMER=y +# CONFIG_CPU_FREQ_LIMIT is not set +CONFIG_UID_SYS_STATS=y + +#SEC Features +# CONFIG_SEC_DEBUG is not set +# CONFIG_SEC_DEBUG_SCHED_LOG is not set +# CONFIG_SEC_DEBUG_IRQ_EXIT_LOG is not set +# CONFIG_SEC_DEBUG_SUBSYS is not set +# CONFIG_SEC_LOGGER_BUFFER_EXPANSION is not set +CONFIG_SEC_LOG_LAST_KMSG=y +CONFIG_SEC_BSP=y +CONFIG_LOGCAT_SIZE=512 +CONFIG_MIN_DIRTY_THRESH_PAGES=2560 +CONFIG_MSM_RTB=y +CONFIG_MSM_RTB_SEPARATE_CPUS=y +CONFIG_TTY_WAITQUEUE_DOUBLE_CHECK=y +CONFIG_SAMSUNG_PRODUCT_SHIP=y + +# Network options +CONFIG_NET_CORE=y +CONFIG_WIRELESS=y +CONFIG_WIRELESS_EXT_SYSFS=y +CONFIG_CFG80211=y +CONFIG_CFG80211_INTERNAL_REGDB=y +CONFIG_CFG80211_DEFAULT_PS=y +CONFIG_CFG80211_WEXT=y +CONFIG_WLAN=y + +#B10 +CONFIG_USER_RESET_DEBUG=y + +#inside secure vpn +#CONFIG_INSIDESECURE_VPNCLIENT=y + +# Crypto +CONFIG_CRYPTO=y +CONFIG_CRYPTO_ANSI_CPRNG=y +CONFIG_CRYPTO_AES=y +CONFIG_CRYPTO_AES_ARM_BS=y +CONFIG_CRYPTO_CBC=y +CONFIG_CRYPTO_CRYPTD=y +CONFIG_CRYPTO_CTS=y +CONFIG_CRYPTO_DEFLATE=y +CONFIG_CRYPTO_DES=y +CONFIG_CRYPTO_HMAC=y +CONFIG_CRYPTO_MD4=y +CONFIG_CRYPTO_MD5=y +CONFIG_CRYPTO_NULL=y +CONFIG_CRYPTO_SHA1=y +CONFIG_CRYPTO_SHA256=y +CONFIG_CRYPTO_SHA256_ARM=y +CONFIG_CRYPTO_SHA512=y +CONFIG_CRYPTO_TWOFISH=y +CONFIG_CRYPTO_XCBC=y +CONFIG_CRYPTO_XTS=y +CONFIG_CRYPTO_TEST=y +CONFIG_CRYPTO_FIPS=y +#CONFIG_CRYPTO_FIPS_INTEG_COPY_ADDRESS=0x20000000 +CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=n +CONFIG_LOG_BUF_SHIFT=19 +CONFIG_CRYPTO_DRBG_MENU=y +CONFIG_CRYPTO_DRBG_HMAC=y +CONFIG_CRYPTO_DRBG_HASH=y +CONFIG_CRYPTO_DRBG_CTR=y +CONFIG_CRYPTO_DRBG=y + +CONFIG_ARM_ERRATA_754327=y + +# Prevent for water damage +CONFIG_MUIC_SUPPORT_RUSTPROOF=y + +# SDP +# CONFIG_SDP is not set +# CONFIG_SDP_CACHE_CLEANUP is not set +# CONFIG_DLP is not set + +CONFIG_OF_SUBCMDLINE_PARSE=y +CONFIG_SECCOMP=y + +#TZ ICCC defines +CONFIG_TZ_ICCC=y +CONFIG_SEC_KCCAT6_PROJECT=y +# +# MAX77828 IC +# +CONFIG_EXTCON=y +CONFIG_EXTCON_MAX77828=y +CONFIG_MFD_MAX77828=y +CONFIG_MOTOR_DRV_MAX77828=y +CONFIG_SS_VIBRATOR=y +CONFIG_LEDS_MAX77828=y +# +# MAX77804K IC +# +CONFIG_MFD_MAX77804K=y +CONFIG_EXTCON_MAX77804K=y +CONFIG_MUIC_SUPPORT_WATERRESISTANCE=y +CONFIG_MOTOR_DRV_MAX77804K=y +# +# IDCHIP +# +#CONFIG_INPUT_HALLIC=y +CONFIG_SENSORS_HALL=y +CONFIG_W1=y +CONFIG_W1_MASTER_GPIO_MSM=y +CONFIG_W1_SLAVE_DS28E15=y +CONFIG_W1_WORKQUEUE=y +CONFIG_W1_FAST_CHECK=y +CONFIG_W1_SN=y +# +# Battery & Charger +# +# CONFIG_SMB350_CHARGER is not set +# CONFIG_BATTERY_BQ28400 is not set +# CONFIG_BATTERY_MSM is not set +# CONFIG_FUELGAUGE_DUMMY is not set +# +# MAX77823 Charger +# +# CONFIG_QPNP_CHARGER is not set +# CONFIG_QPNP_BMS is not set +CONFIG_CHARGER_MAX77804K=y +CONFIG_FUELGAUGE_MAX17048=y +CONFIG_SAMSUNG_LPM_MODE=y +CONFIG_BATTERY_SAMSUNG=y +CONFIG_BATTERY_SAMSUNG_DATA_FILE="kccat6_battery_data.h" +CONFIG_BATTERY_SWELLING=y + +# SEC Earjack +# CONFIG_CODEC_EAR_BIAS is not set + +# +# NFC +# +CONFIG_NFC_PN547=y +CONFIG_NFC_PN547_8084_USE_BBCLK2=y + +# +#TSP, TKEY, Booster +# +CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI_G=y +CONFIG_KEYBOARD_CYPRESS_TOUCHKEY=y +# CONFIG_INPUT_BOOSTER is not set + +# +# LCD PANEL INFO +# +CONFIG_PANEL_S6E3FA2_AMS510CV01_FHD=y + +# +# Finger print sensor +# +CONFIG_SENSORS_FINGERPRINT=y +CONFIG_SENSORS_FINGERPRINT_SYSFS=y +CONFIG_SENSORS_VFS61XX=y +CONFIG_SENSORS_VFS61XX_KO=y + +# SensorHub +CONFIG_SENSORS_SSP=y +CONFIG_SENSORS_SYSFS=y +CONFIG_SENSORS_SSP_ATMEL=y +CONFIG_SENSORS_SSP_SENSORHUB=y +CONFIG_SENSORS_SSP_FACTORY=y +CONFIG_SENSORS_SSP_MPU6500=y +CONFIG_SENSORS_SSP_LPS25H=y +CONFIG_SENSORS_SSP_YAS532=y +CONFIG_SENSORS_SSP_TMG399X=y +CONFIG_SENSORS_SSP_MOBEAM=y +CONFIG_SENSORS_SSP_ATUC128L5HAR=y +CONFIG_IIO=y +CONFIG_IIO_BUFFER=y +CONFIG_IIO_KFIFO_BUF=y +CONFIG_IIO_TRIGGER=y + +# Hrm Sensor +CONFIG_SENSORS_MAX86900=y + +# +# CAMERA +# +CONFIG_S5K2P2XX=y +CONFIG_COMPANION=y +CONFIG_LEDS_MAX77828=y +CONFIG_LEDS_MAX77804K=y +CONFIG_DEBUG_FLASH is not set + +CONFIG_LEDS_MAX77828_RGB=y +#CONFIG IR LED +CONFIG_SEC_FPGA_ICE40XX=y + +#HDMI +CONFIG_SEC_MHL_SII8240=y +CONFIG_MHL_VERSION=0x21 + +CONFIG_LEDS_AN30259A=y + +#QCOM BT +CONFIG_MSM_BT_POWER=y +# CONFIG_BT_BCM4358 is not set + +# CONFIG_KNOX_KAP is not set + +# Samsung ODE +CONFIG_FORCE_DISABLE_FIPS=y + +#SEC Features +# CONFIG_SEC_SSR_DEBUG_LEVEL_CHK is not set + +# QCOM QCA6174 Wifi +CONFIG_CNSS=y +CONFIG_WCNSS_MEM_PRE_ALLOC=y +CONFIG_CLD_LL_CORE=y +CONFIG_CNSS_MAC_BUG=y +CONFIG_QCA_CLD_WLAN=y +CONFIG_QCACLD_WLAN_LFR3=y +CONFIG_QCOM_VOWIFI_11R=y +CONFIG_QCOM_LTE_COEX=y +CONFIG_QCOM_TDLS=y +CONFIG_PRIMA_WLAN_OKC=y +CONFIG_PRIMA_WLAN_11AC_HIGH_TP=y +CONFIG_WLAN_FEATURE_11W=y +CONFIG_WLAN_FEATURE_LPSS=y +CONFIG_WLAN_FEATURE_NAN=y +CONFIG_EXT2_FS_XATTR=y +CONFIG_EXT2_FS_SECURITY=y +CONFIG_EXT4_FS_XATTR=y +CONFIG_EXT4_FS_SECURITY=y +CONFIG_AUDIT=y +CONFIG_AUDITSYSCALL=y +CONFIG_SECURITY=y +CONFIG_LSM_MMAP_MIN_ADDR=4096 +CONFIG_SECURITY_NETWORK=y +CONFIG_SECURITY_SELINUX=y +CONFIG_SECURITY_SELINUX_DEVELOP=y +CONFIG_SECURITY_SELINUX_AVC_STATS=y +CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1 +CONFIG_NETWORK_SECMARK=y +CONFIG_NF_CONNTRACK_SECMARK=y +CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y +CONFIG_NETFILTER_ADVANCED=y +CONFIG_IP_NF_SECURITY=y +CONFIG_DEFAULT_SECURITY=y +CONFIG_DEFAULT_SECURITY="selinux" +CONFIG_SDCARD_FS_XATTR=y +CONFIG_ECRYPT_FS_VIRTUAL_FAT_XATTR=y +CONFIG_FAT_VIRTUAL_XATTR=y +CONFIG_EXFAT_VIRTUAL_XATTR=y + +# configuration for postmarketos +CONFIG_DEVTMPFS=y +CONFIG_SYSVIPC=y +CONFIG_LBDAF=y + +# needed for wifi to show up +CONFIG_MAC80211_HWSIM=m +CONFIG_MAC80211=m +CONFIG_MAC80211_HAS_RC=y +CONFIG_MAC80211_RC_MINSTREL=y +CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y +CONFIG_MAC80211_RC_DEFAULT="minstrel_ht" +CONFIG_MAC80211_MESH=y +CONFIG_MAC80211_LEDS=y +CONFIG_MAC80211_DEBUGFS=y +CONFIG_MAC80211_STA_HASH_MAX_SIZE=0 diff --git a/device/testing/linux-samsung-kccat6/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-kccat6/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-kccat6/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-kccat6/gcc8-fix-put-user.patch b/device/testing/linux-samsung-kccat6/gcc8-fix-put-user.patch new file mode 120000 index 000000000..1d40b2674 --- /dev/null +++ b/device/testing/linux-samsung-kccat6/gcc8-fix-put-user.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc8-fix-put-user.patch \ No newline at end of file