diff --git a/device/device-samsung-gts210vewifi/APKBUILD b/device/device-samsung-gts210vewifi/APKBUILD new file mode 100644 index 000000000..36984c6c7 --- /dev/null +++ b/device/device-samsung-gts210vewifi/APKBUILD @@ -0,0 +1,22 @@ +# Reference: +pkgname="device-samsung-gts210vewifi" +pkgdesc="Galaxy Tab S2 9.7 WiFi (SM-T813)" +pkgver=0.1 +pkgrel=0 +url="https://postmarketos.org" +license="MIT" +arch="noarch" +options="!check" +depends="postmarketos-base linux-samsung-gts210vewifi mkbootimg mesa-dri-swrast mdss-fb-init-hack" +makedepends="devicepkg-dev" +source="deviceinfo" + +build() { + devicepkg_build $startdir $pkgname +} + +package() { + devicepkg_package $startdir $pkgname +} + +sha512sums="bc4d64b148fb1039782af73bf931b77970d6b81e3a61459bbdfa11f6f9edecc1a0753d1fe15ec4b2bd9ff61b08b1c764e760847bdf4947d542efff7f4089fbf3 deviceinfo" diff --git a/device/device-samsung-gts210vewifi/deviceinfo b/device/device-samsung-gts210vewifi/deviceinfo new file mode 100644 index 000000000..fd7008073 --- /dev/null +++ b/device/device-samsung-gts210vewifi/deviceinfo @@ -0,0 +1,34 @@ +# Reference: +# Please use double quotes only. You can source this file in shell scripts. + +deviceinfo_format_version="0" +deviceinfo_name="Galaxy Tab S2 9.7 WiFi (SM-T813)" +deviceinfo_manufacturer="Samsung" +deviceinfo_date="2016" +deviceinfo_dtb="" +deviceinfo_modules_initfs="" +deviceinfo_arch="aarch64" + +# Device related +deviceinfo_keyboard="false" +deviceinfo_external_storage="true" +deviceinfo_screen_width="2048" +deviceinfo_screen_height="1536" +deviceinfo_dev_touchscreen="/dev/input/event2" +deviceinfo_dev_touchscreen_calibration="0 1 1.342 -1 0 1536" +deviceinfo_dev_keyboard="" + +# Bootloader related +deviceinfo_flash_method="heimdall-bootimg" +deviceinfo_kernel_cmdline="console=null androidboot.hardware=qcom androidboot.wificountrycode=00 firmware_class.path=/lib/firmware/postmarketos msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk buildvariant=userdebug androidboot.selinux=permissive androidboot.sec_atd.tty=/dev/ttyHSL0 sec_log=0x200000@0xa0200000 sec_dbg=0x1ff000@0xa0000000 androidboot.revision=4 androidboot.warranty_bit=1 androidboot.bootloader=T813XXU2BQD3 androidboot.boot_recovery=0 sec_debug.reset_reason=0x0 sec_dbg_ex_info=0x400@0xa01ff000 charging_mode=0x00 pmic_info=3 androidboot.debug_level=0x4f4c sec_debug.enable=0 sec_debug.enable_user=0 msm_rtb.enable=0 androidboot.cp_debug_level=0x55FF sec_debug.enable_cp_debug=0 vmalloc=450M fg_reset=0 androidboot.security_mode=1526595584 androidboot.ucs_mode=0 androidboot.emmc=true gpt lcd_id=0x424015 lcd_id2=0xffffff hall_ic=0x0 mdss_mdp.panel=1:dsi:0:ss_dsi_panel_ANA38401_AMS968HH01_QXGA:1:ss_dsi_panel_ANA38" +deviceinfo_generate_bootimg="true" +deviceinfo_bootimg_qcdt="true" +deviceinfo_flash_offset_base="0x80000000" +deviceinfo_flash_offset_kernel="0x00008000" +deviceinfo_flash_offset_ramdisk="0x02000000" +deviceinfo_flash_offset_second="0x00f00000" +deviceinfo_flash_offset_tags="0x01e00000" +deviceinfo_flash_pagesize="2048" +deviceinfo_flash_heimdall_partition_kernel="BOOT" +deviceinfo_flash_heimdall_partition_system="SYSTEM" + diff --git a/device/linux-samsung-gts210vewifi/01_fix_msm_dba.patch b/device/linux-samsung-gts210vewifi/01_fix_msm_dba.patch new file mode 100644 index 000000000..2061842c0 --- /dev/null +++ b/device/linux-samsung-gts210vewifi/01_fix_msm_dba.patch @@ -0,0 +1,13 @@ +diff --git a/drivers/video/msm/msm_dba/msm_dba.c b/drivers/video/msm/msm_dba/msm_dba.c +index cc6512a..eb073a7 100644 +--- a/drivers/video/msm/msm_dba/msm_dba.c ++++ b/drivers/video/msm/msm_dba/msm_dba.c +@@ -22,7 +22,7 @@ + #include + + #include