device-samsung-klte: remove downstream port (MR 2279)

* cleanup, remove unused files
* depend on swclock-offset

[ci:skip-build] Already built on CI in MR
This commit is contained in:
Alexey Minnekhanov 2021-06-27 02:49:18 +03:00
parent 383c695e38
commit e67fca2b12
No known key found for this signature in database
GPG key ID: EBF5ECFFFEE34DED
9 changed files with 18 additions and 340 deletions

View file

@ -1,209 +0,0 @@
ACTION=="add", KERNEL=="diag", OWNER="aid_system", GROUP="aid_qcom_diag", MODE="0660"
ACTION=="add", KERNEL=="genlock", OWNER="aid_system", GROUP="aid_system", MODE="0666"
ACTION=="add", KERNEL=="kgsl", OWNER="aid_system", GROUP="aid_system", MODE="0666"
ACTION=="add", KERNEL=="kgsl-3d0", OWNER="aid_system", GROUP="aid_system", MODE="0666"
ACTION=="add", KERNEL=="kgsl-2d0", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="kgsl-2d1", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="ion", OWNER="aid_system", GROUP="aid_system", MODE="0664"
ACTION=="add", KERNEL=="rtc0", OWNER="aid_system", GROUP="aid_system", MODE="0600"
ACTION=="add", KERNEL=="smd0", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="smd4", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="smd_cxm_qmi", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smd5", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="smd6", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="smd7", OWNER="aid_bluetooth", GROUP="aid_bluetooth", MODE="0660"
ACTION=="add", KERNEL=="smd11", OWNER="aid_radio", GROUP="aid_radio", MODE="0660"
ACTION=="add", KERNEL=="radio0", OWNER="aid_system", GROUP="aid_system", MODE="0640"
ACTION=="add", KERNEL=="rfcomm0", OWNER="aid_bluetooth", GROUP="aid_bluetooth", MODE="0660"
ACTION=="add", KERNEL=="smdcntl0", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcntl1", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcntl2", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcntl3", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcntl4", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcntl5", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcntl6", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcntl7", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcnt_rev0", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcnt_rev1", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcnt_rev2", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcnt_rev3", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcnt_rev4", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcnt_rev5", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcnt_rev6", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcnt_rev7", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smdcnt_rev8", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smuxctl32", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="sdioctl0", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="sdioctl1", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="sdioctl2", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="sdioctl3", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="sdioctl4", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="sdioctl5", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="sdioctl6", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="sdioctl7", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="sdioctl8", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="rmnet_mux_ctrl", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl0", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl1", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl2", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl3", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl4", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl5", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl6", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl7", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl8", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl9", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl10", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl11", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl12", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl13", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl14", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl15", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="hsicctl16", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="video*", OWNER="aid_system", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="media*", OWNER="aid_system", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="v4l-subdev*", OWNER="aid_system", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="qseecom", OWNER="aid_system", GROUP="aid_drmrpc", MODE="0660"
ACTION=="add", KERNEL=="gemini0", OWNER="aid_system", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="jpeg0", OWNER="aid_system", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="jpeg1", OWNER="aid_system", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="jpeg2", OWNER="aid_system", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="adsprpc-smd", OWNER="aid_system", GROUP="aid_system", MODE="0664"
ACTION=="add", KERNEL=="msm_camera/*", OWNER="aid_system", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="gemini/", OWNER="aid_system", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="mercury0", OWNER="aid_system", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="msm_vidc_reg", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_vidc_dec", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_vidc_dec_sec", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_vidc_enc", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_rotator", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="hw_random", OWNER="root", GROUP="root", MODE="0660"
ACTION=="add", KERNEL=="adsprpc-smd", OWNER="aid_system", GROUP="aid_system", MODE="0664"
ACTION=="add", KERNEL=="msm_qcelp", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_evrc", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_wma", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_wmapro", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_amrnb", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_amrwb", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_amrwbplus", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_aac", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_multi_aac", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_aac_in", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_qcelp_in", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_evrc_in", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_amrnb_in", OWNER="aid_system", GROUP="aid_audio", MODE="0640"
ACTION=="add", KERNEL=="msm_a2dp_in", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_ac3", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_acdb", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_cad", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_fm", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_mvs", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_pcm_lp_dec", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_preproc_ctl", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_rtac", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_voicememo", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="radio0", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="smd3", OWNER="aid_bluetooth", GROUP="aid_net_bt_stack", MODE="0660"
ACTION=="add", KERNEL=="smd2", OWNER="aid_bluetooth", GROUP="aid_net_bt_stack", MODE="0660"
ACTION=="add", KERNEL=="ttyHSL1", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="mdm", OWNER="aid_system", GROUP="aid_radio", MODE="0660"
ACTION=="add", KERNEL=="sdio_tty_ciq_00", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="tty_sdio_00", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="ttyGS0", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="i2c-5", OWNER="aid_media", GROUP="aid_media", MODE="0660"
ACTION=="add", KERNEL=="voice_svc", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="ttyHS3", OWNER="aid_media", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="ttyHS0", OWNER="aid_bluetooth", GROUP="aid_net_bt_stack", MODE="0660"
ACTION=="add", KERNEL=="ttyHS2", OWNER="aid_bluetooth", GROUP="aid_bluetooth", MODE="0660"
ACTION=="add", KERNEL=="btlock", OWNER="aid_bluetooth", GROUP="aid_bluetooth", MODE="0600"
ACTION=="add", KERNEL=="tsc_mux0", OWNER="aid_media", GROUP="aid_media", MODE="0660"
ACTION=="add", KERNEL=="tsc_ci0", OWNER="aid_media", GROUP="aid_media", MODE="0660"
ACTION=="add", KERNEL=="dvb/adapter0/demux*", OWNER="aid_media", GROUP="aid_media", MODE="0440"
ACTION=="add", KERNEL=="dvb/adapter0/dvr*", OWNER="aid_media", GROUP="aid_media", MODE="0660"
ACTION=="add", KERNEL=="dvb/adapter0/video*", OWNER="aid_media", GROUP="aid_media", MODE="0660"
ACTION=="add", KERNEL=="vfsspi", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="ice4_dev", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="pn547", OWNER="aid_nfc", GROUP="aid_nfc", MODE="0660"
ACTION=="add", KERNEL=="bcm2079x", OWNER="aid_nfc", GROUP="aid_nfc", MODE="0660"
ACTION=="add", KERNEL=="sec-nfc", OWNER="aid_nfc", GROUP="aid_nfc", MODE="0660"
ACTION=="add", KERNEL=="shtc1_sensor", OWNER="aid_system", GROUP="aid_system", MODE="0600"
ACTION=="add", KERNEL=="uio0", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="uio1", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="uio2", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="rfkill", OWNER="aid_wifi", GROUP="aid_wifi", MODE="0600"
ACTION=="add", KERNEL=="batch_io", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="ssp_sensorhub", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="iio:device*", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="null", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="zero", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="full", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="ptmx", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="tty", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="random", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="urandom", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="hw_random", OWNER="root", GROUP="aid_system", MODE="0440"
ACTION=="add", KERNEL=="ashmem", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="binder", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="alog/*", OWNER="root", GROUP="aid_log", MODE="0666"
ACTION=="add", KERNEL=="pmsg0", OWNER="root", GROUP="aid_log", MODE="0222"
ACTION=="add", KERNEL=="msm_hw3dc", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="kgsl", OWNER="root", GROUP="root", MODE="0666"
ACTION=="add", KERNEL=="dri/*", OWNER="root", GROUP="aid_graphics", MODE="0666"
ACTION=="add", KERNEL=="diag", OWNER="aid_system", GROUP="aid_qcom_diag", MODE="0660"
ACTION=="add", KERNEL=="diag_arm9", OWNER="aid_radio", GROUP="aid_radio", MODE="0660"
ACTION=="add", KERNEL=="android_adb", OWNER="aid_adb", GROUP="aid_adb", MODE="0660"
ACTION=="add", KERNEL=="android_adb_enable", OWNER="aid_adb", GROUP="aid_adb", MODE="0660"
ACTION=="add", KERNEL=="ttyMSM0", OWNER="aid_bluetooth", GROUP="aid_bluetooth", MODE="0600"
ACTION=="add", KERNEL=="uhid", OWNER="aid_system", GROUP="aid_net_bt_stack", MODE="0660"
ACTION=="add", KERNEL=="uinput", OWNER="aid_system", GROUP="aid_net_bt_stack", MODE="0660"
ACTION=="add", KERNEL=="alarm", OWNER="aid_system", GROUP="aid_radio", MODE="0664"
ACTION=="add", KERNEL=="rtc0", OWNER="aid_system", GROUP="aid_system", MODE="0640"
ACTION=="add", KERNEL=="tty0", OWNER="root", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="graphics/*", OWNER="aid_system", GROUP="aid_graphics", MODE="0660"
ACTION=="add", KERNEL=="msm_hw3dm", OWNER="aid_system", GROUP="aid_graphics", MODE="0660"
ACTION=="add", KERNEL=="input/*", OWNER="root", GROUP="aid_input", MODE="0660"
ACTION=="add", KERNEL=="eac", OWNER="root", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="cam", OWNER="root", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="pmem", OWNER="aid_system", GROUP="aid_graphics", MODE="0660"
ACTION=="add", KERNEL=="pmem_adsp*", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="pmem_camera*", OWNER="aid_system", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="oncrpc/*", OWNER="root", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="adsp/*", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="snd/*", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="mt9t013", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="msm_camera/*", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="akm8976_daemon", OWNER="aid_compass", GROUP="aid_system", MODE="0640"
ACTION=="add", KERNEL=="akm8976_aot", OWNER="aid_compass", GROUP="aid_system", MODE="0640"
ACTION=="add", KERNEL=="akm8973_daemon", OWNER="aid_compass", GROUP="aid_system", MODE="0640"
ACTION=="add", KERNEL=="akm8973_aot", OWNER="aid_compass", GROUP="aid_system", MODE="0640"
ACTION=="add", KERNEL=="bma150", OWNER="aid_compass", GROUP="aid_system", MODE="0640"
ACTION=="add", KERNEL=="cm3602", OWNER="aid_compass", GROUP="aid_system", MODE="0640"
ACTION=="add", KERNEL=="akm8976_pffd", OWNER="aid_compass", GROUP="aid_system", MODE="0640"
ACTION=="add", KERNEL=="lightsensor", OWNER="aid_system", GROUP="aid_system", MODE="0640"
ACTION=="add", KERNEL=="msm_pcm_out*", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_pcm_in*", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_pcm_ctl*", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_snd*", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_mp3*", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="audience_a1026*", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="tpa2018d1*", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_audpre", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_audio_ctl", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="htc-acoustic", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="vdec", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="q6venc", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="snd/dsp", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="snd/dsp1", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="snd/mixer", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="smd0", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="qmi", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="qmi0", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="qmi1", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="qmi2", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="bus/usb/*", OWNER="root", GROUP="aid_usb", MODE="0660"
ACTION=="add", KERNEL=="mtp_usb", OWNER="root", GROUP="aid_mtp", MODE="0660"
ACTION=="add", KERNEL=="usb_accessory", OWNER="root", GROUP="aid_usb", MODE="0660"
ACTION=="add", KERNEL=="tun", OWNER="aid_system", GROUP="aid_vpn", MODE="0660"
ACTION=="add", KERNEL=="ts0710mux*", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="ppp", OWNER="aid_radio", GROUP="aid_vpn", MODE="0660"
ACTION=="add", KERNEL=="dvb*", OWNER="root", GROUP="aid_system", MODE="0660"

View file

@ -1,33 +1,26 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-klte
pkgdesc="Samsung Galaxy S5"
pkgver=0.4
pkgrel=1
pkgdesc="Samsung Galaxy S5 (G900F)"
pkgver=0.5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-msm8974
mesa-dri-gallium
mkbootimg
postmarketos-base
swclock-offset
"
makedepends="devicepkg-dev"
subpackages="
$pkgname-kernel-downstream:kernel_downstream
$pkgname-kernel-mainline:kernel_mainline
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-downstream-firmware:downstream_firmware
$pkgname-mainline-firmware:mainline_firmware
"
source="
70-klte-android.rules
battery-status
bt-module-deps.conf
cpufreq.start
deviceinfo
fstab.android
set-brightness
NetworkManager-klte.conf
"
build() {
@ -38,68 +31,16 @@ package() {
devicepkg_package $startdir $pkgname
}
kernel_downstream() {
pkgdesc="Display, touchscreen, Wi-Fi works (see device table for details)"
depends="
cpufrequtils
dropbear
linux-samsung-klte
msm-fb-refresher
"
install="$pkgname-kernel-downstream.post-install"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
# Disable v4l udev rules (video4linux), because without the camera
# firmware blobs this makes udev helper hang (#1033)
mkdir -p "$subpkgdir"/etc/udev/rules.d
ln -s /dev/null "$subpkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
# NetworkManager configuration - ignore unsupported devices for now and set default dhcp client
install -Dm644 "$startdir"/NetworkManager-klte.conf \
"$subpkgdir"/etc/NetworkManager/conf.d/10-klte.conf
# Extras, helper scripts that make life of developer/user easier
install -Dm755 "$startdir"/set-brightness "$subpkgdir"/usr/bin/set-brightness
install -Dm755 "$startdir"/battery-status "$subpkgdir"/usr/bin/battery-status
# Power saver
install -Dm755 "$startdir"/cpufreq.start "$subpkgdir"/etc/local.d/cpufreq.start
}
kernel_mainline() {
pkgdesc="Close to mainline kernel. Display, touchscreen, Wi-Fi works. Work in progress!"
depends="linux-postmarketos-qcom-msm8974 mesa-dri-gallium"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
nonfree_firmware() {
pkgdesc="Wifi, GPU firmware"
pkgdesc="GPU, Wi-Fi, Bluetooth firmware"
depends="firmware-adreno firmware-samsung-klte-bt firmware-samsung-klte-wifi"
mkdir "$subpkgdir"
# This config makes sense only if non-free firmware is installed
install -Dm644 "$srcdir"/bt-module-deps.conf \
"$subpkgdir"/etc/modprobe.d/bt-module-deps.conf
}
downstream_firmware() {
pkgdesc="Firmware packages for klte downstream kernel"
depends="firmware-samsung-klte"
install_if="$pkgname-kernel-downstream $pkgname-nonfree-firmware"
mkdir "$subpkgdir"
}
mainline_firmware() {
pkgdesc="Firmware packages for klte mainline kernel"
depends="firmware-adreno firmware-samsung-klte"
install_if="$pkgname-kernel-mainline $pkgname-nonfree-firmware"
mkdir "$subpkgdir"
}
sha512sums="a68734d3fe30695d5a9302c92327e8ca564a73d06f0de87371800d1bdf4c541c3721af380b8d44cfa0b4cc1dc8a71586aec3f00bb877ee9dc18f41ba34caaeff 70-klte-android.rules
66db173b9f1075a133efeea8bda94ef08089b7c15acbc1e3aefb9f8510daa7690a0ce2739d20647e096ba69940ac5c4c6699f3b032ec67609ca56f116bb25256 battery-status
sha512sums="
6cef5f8ae1785ac16e6fe84bfc861ac50cdfb94db35d764f44a25c960e123cb82f6e56f45362a5340c62a3d5ac225f2689afd4f6964cb88305a0892ba44214f0 bt-module-deps.conf
c66e0c57e911b644cf6c340ea19ce0a9399b8e9e6cb0da38f612e0f8b3d0812ad109cd7b7506184e840a653397a64e3e57fdc71ab8b0fc52733bf74365b9c0e7 cpufreq.start
6a44037e10a8374283726ad920b9405a441f313d0fd4bc8aa8b5c1eb3e61eba513c1ddc6a4587593a7223fd945f5e4958be6fdf77a2e4ffcf264a00666fa9e42 deviceinfo
35f3b120152ebe709e11cebc9ced03f21f52768d88bd68ed23ed864fe1dd3b63665c8f74575882e217dd8226ae5d260e5ad2045dc4ab2470c89185f19b81c4a7 fstab.android
f773a9792407c1ad96b11c6673093c9eeff7d538459b7772c5956760a8cbb4de8912b24c77e8812afe056db26fa3e29af09e2a3851828baa0b9a9986bf80790b set-brightness
3753dcd8c25cfbbdd8f087a3168537df1334f0d33f36bc8923ec3d225ceb88121aa8d1670d6c6a2baab3d7067c86a43571695ce22e3b47076f97fcb53d1d7e6f NetworkManager-klte.conf"
960a429cce47bf53f578fef6a52066cab2f35649284c925fc18de8c7f31f4215fd315a96b216b6194afcbd94a14c758490d9da3e26f0a47c37811b47450f664e deviceinfo
"

View file

@ -1,6 +0,0 @@
[main]
plugins+=keyfile
dhcp=dhcpcd
[keyfile]
unmanaged-devices+=interface-name:rmnet_usb?;interface-name:rmnet?;interface-name:rev_rmnet?

View file

@ -1,2 +0,0 @@
#!/bin/sh
cat /sys/class/power_supply/battery/capacity

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Configure conservative CPU governor on system startup
for CORE in 0 1 2 3; do cpufreq-set -c$CORE -g conservative; done

View file

@ -1,15 +0,0 @@
#!/bin/sh
# Enable autostart of deferred initcalls (needed to bring Wi-Fi online)
rc-update -q add deferred-initcalls sysinit
# Explicitly specify wlan device. Without this, p2p0 will be
# selected automatically instead of wlan0, and Wi-Fi will not work.
if ! grep -q "i wlan0" /etc/conf.d/wpa_supplicant ; then
sed -i 's/-Dwext,nl80211/-Dwext,nl80211 -i wlan0/' /etc/conf.d/wpa_supplicant
fi
# Replace sshd with dropbear (workaround for sshd failure on downstream
# kernels, see issue #808 https://gitlab.com/postmarketOS/pmaports/-/issues/808 )
rc-update -q del sshd default
rc-update -q add dropbear default

View file

@ -6,9 +6,9 @@ deviceinfo_name="Samsung Galaxy S5"
deviceinfo_manufacturer="Samsung"
deviceinfo_codename="samsung-klte"
deviceinfo_year="2014"
deviceinfo_dtb_mainline="qcom-msm8974-samsung-klte"
deviceinfo_append_dtb_mainline="true"
deviceinfo_modules_initfs_mainline="pm8941_pwrkey rmi_i2c"
deviceinfo_dtb="qcom-msm8974-samsung-klte"
deviceinfo_append_dtb="true"
deviceinfo_modules_initfs="pm8941_pwrkey rmi_i2c"
deviceinfo_arch="armv7"
# Device related
@ -17,15 +17,13 @@ deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="1920"
deviceinfo_getty_mainline="ttyMSM0;115200"
deviceinfo_getty="ttyMSM0;115200"
# Bootloader related
deviceinfo_flash_method="heimdall-bootimg"
deviceinfo_kernel_cmdline_downstream="console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 zcache.enabled=1 zcache.compressor=lz4 androidboot.bootdevice=msm_sdcc.1 audit=0 selinux=0 androidboot.selinux=disabled"
deviceinfo_kernel_cmdline_mainline="console=ttyMSM0,115200,n8 PMOS_NO_OUTPUT_REDIRECT msm.vram=192m msm.allow_vram_carveout=1"
deviceinfo_kernel_cmdline="console=ttyMSM0,115200,n8 PMOS_NO_OUTPUT_REDIRECT msm.vram=192m msm.allow_vram_carveout=1"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt_downstream="true"
deviceinfo_bootimg_qcdt_mainline="false"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_append_seandroidenforce="true"
deviceinfo_flash_offset_base="0x00000000"
deviceinfo_flash_offset_kernel="0x00008000"

View file

@ -1,20 +0,0 @@
# This file defines mount points that are expected by Android 7.1
# (Halium-7.1) adaptation; its contents should be appended to device's
# default /etc/fstab file (see postmarketos-base).
# Android device-specific mount points:
# Userdata partition (Android apps and user files live here)
/dev/mmcblk0p26 /data ext4 nosuid,nodev,noatime,noauto_da_alloc,errors=continue,commit=20
# This is what is used instead of /system, a Halium-built android system image:
/data/system.img /system ext4 noauto,ro,noatime 0 0
# Other:
/dev/mmcblk0p24 /cache ext4 nosuid,nodev,noatime,noauto_da_alloc,errors=continue,commit=20 0 0
/dev/mmcblk0p1 /firmware vfat ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337 0 0
/dev/mmcblk0p2 /firmware-modem vfat ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337 0 0
/dev/mmcblk0p12 /efs ext4 nosuid,nodev,noatime,noauto_da_alloc,journal_async_commit,errors=panic 0 0
# External SD support
/dev/mmcblk1p1 /external_sd vfat noauto,defaults 0 0

View file

@ -1,5 +0,0 @@
#!/bin/sh
if [ -n "$1" ]; then
echo $1 > /sys/class/leds/lcd-backlight/brightness
fi
cat /sys/class/leds/lcd-backlight/brightness