xiaomi-santoni: remove hybris

This commit is contained in:
Oliver Smith 2020-08-03 10:08:01 +02:00
parent 2455a3bb21
commit 124f740af8
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
4 changed files with 4 additions and 314 deletions

View file

@ -4,22 +4,16 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-santoni
pkgdesc="Xiaomi Redmi 4X"
pkgver=0.5
pkgrel=6
pkgver=0.6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-xiaomi-santoni mkbootimg mesa-dri-swrast msm-fb-refresher"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-nonfree-userland:nonfree_userland
$pkgname-hybris:hybris
$pkgname-hybris-x11:hybris_x11"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="
hybris/10-santoni-android-x11.conf
hybris/70-santoni-android.rules
hybris/fstab.android
misc/100-charging.rules
misc/charging.sh
misc/discharging.sh
@ -67,41 +61,7 @@ nonfree_firmware() {
"$subpkgdir"/etc/udev/rules.d/90-device-xiaomi-santoni-audio.rules
}
nonfree_userland() {
pkgdesc="Pulls libhybris (Android) hardware adaptation, see the device's wiki page for post-install."
depends="$pkgname-hybris"
mkdir "$subpkgdir"
}
hybris() {
pkgdesc="libhybris (Android) hardware adaptation"
depends="hybris-base pulseaudio-modules-droid-7.1-caf alsa-plugins-pulse alsa-utils"
install="$pkgname-hybris.post-install"
mkdir "$subpkgdir"
# Android mounts (needed for loading firmware and configs from android container)
# Appended to fstab in post-install script
install -Dm644 "$srcdir"/fstab.android "$subpkgdir"/etc/fstab.android
# Android udev rules, depend on android users and groups presence
install -Dm644 "$srcdir"/70-santoni-android.rules \
"$subpkgdir"/etc/udev/rules.d/70-santoni-android.rules
}
hybris_x11() {
pkgdesc="X11 modules for libhybris adaptation"
depends="hybris-base-x11-caf"
install_if="$pkgname-hybris xorg-server"
# X11 Hybris configuration
install -Dm644 "$srcdir"/10-santoni-android-x11.conf \
"$subpkgdir"/etc/X11/xorg.conf.d/10-santoni-android-x11.conf
}
sha512sums="dc68956408da82ac9775f23814fb6e1498e65a4c760ceda369a60a202cfc92ad27761d6da27f1802307042affc8a1925c576816a8acbf394dd6a15f32e3ea3c0 10-santoni-android-x11.conf
7c0cda58ddc36e8a6120ce969c1e7afc445817e20b38a4c33e986d3d584bcf0fbb4d82eeda4dab5abdf3429845621a4ffa155512f40e885be615042faf1de171 70-santoni-android.rules
8419c1c5d20bc7c7e4d8d72ec2848655526f99cabf9037ae1f7152f5df31363b70b724769225a88c1d614bea6ebe4ee24190702ea947229a843cc2884eac7175 fstab.android
7b1b138372cb173be38e820a1c386c3d30930d6753303478ae08c1362de3099d81c26eb2b833c5a0b340a82d821bd53309058ecb9b62e00c7ff323b632af2346 100-charging.rules
sha512sums="7b1b138372cb173be38e820a1c386c3d30930d6753303478ae08c1362de3099d81c26eb2b833c5a0b340a82d821bd53309058ecb9b62e00c7ff323b632af2346 100-charging.rules
c4853babd5cd6371297e5e5d64364c064d540cd4beaba06d79b1001fe5c78fe3ee8bc5f6f4ba3e383743a09263028abc55f41bad45240b1c505e27ed087725c9 charging.sh
6012be4184af6c4f12f9b20a6f2d377ebd72b9b334df4fbb921ed9d8da865633631f77d19b02748ebee70442e2f3ffcb6af511ee5deaa40635bc53730c301076 discharging.sh
dc4bf7871307e659f220aebc3c9f7d74b861f46e1f3df1be37d724af984e46d91e553dbd36c2bd4482aa17dbe4d76d28dabe214952638f00830907466b110146 90-device-xiaomi-santoni-audio.rules

View file

@ -1,4 +0,0 @@
Section "Device"
Identifier "Card0"
Driver "hwcomposer"
EndSection

View file

@ -1,245 +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="0660"
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=="ccid_bridge", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="ipa", OWNER="aid_system", GROUP="aid_net_admin", MODE="0660"
ACTION=="add", KERNEL=="wwan_ioctl", OWNER="aid_system", GROUP="aid_net_admin", MODE="0660"
ACTION=="add", KERNEL=="ipaNatTable", OWNER="aid_net_admin", GROUP="aid_net_admin", MODE="0660"
ACTION=="add", KERNEL=="rmnet_ctrl", OWNER="aid_usb", GROUP="aid_usb", MODE="0660"
ACTION=="add", KERNEL=="dpl_ctrl", OWNER="aid_usb", GROUP="aid_usb", 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=="ttyUSB0", 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=="smdcntl8", 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=="mhi_pipe_14", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="mhi_pipe_16", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="mhi_pipe_32", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="at_usb0", OWNER="aid_radio", GROUP="aid_radio", MODE="0640"
ACTION=="add", KERNEL=="at_mdm0", 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=="qsee_ipc_irq_spss", OWNER="aid_system", GROUP="aid_drmrpc", MODE="0660"
ACTION=="add", KERNEL=="seemplog", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="pft", OWNER="aid_system", GROUP="aid_drmrpc", MODE="0660"
ACTION=="add", KERNEL=="spcom", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="sp_kernel", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="sp_ssr", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="sp_keymaster", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="cryptoapp", OWNER="aid_system", GROUP="aid_system", 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=="jpeg3", OWNER="aid_system", GROUP="aid_camera", MODE="0660"
ACTION=="add", KERNEL=="adsprpc-smd", OWNER="aid_system", GROUP="aid_system", MODE="0664"
ACTION=="add", KERNEL=="system_health_monitor", OWNER="aid_radio", GROUP="aid_system", MODE="0644"
ACTION=="add", KERNEL=="mdss_rotator", OWNER="aid_system", GROUP="aid_system", MODE="0664"
ACTION=="add", KERNEL=="wcnss_wlan", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="wcnss_ctrl", OWNER="aid_system", GROUP="aid_system", MODE="0660"
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="0600"
ACTION=="add", KERNEL=="sdsprpc-smd", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="wcd-dsp-glink", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="audio_slimslave", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
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_alac", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_ape", 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_audio_cal", OWNER="aid_system", GROUP="aid_audio", MODE="0660"
ACTION=="add", KERNEL=="msm_hweffects", 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=="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=="ttyHS1", 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=="avtimer", OWNER="aid_system", GROUP="aid_audio", 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=="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=="vm_bms", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="battery_data", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="wcnss_wlan", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="wcnss_ctrl", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="nfc-nci", OWNER="aid_nfc", GROUP="aid_nfc", MODE="0660"
ACTION=="add", KERNEL=="nq-nci", OWNER="aid_nfc", GROUP="aid_nfc", MODE="0660"
ACTION=="add", KERNEL=="assd", OWNER="aid_nfc", GROUP="aid_nfc", MODE="0660"
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=="subsys_*", OWNER="aid_system", GROUP="aid_system", MODE="0640"
ACTION=="add", KERNEL=="usf1", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="ramdump*", OWNER="aid_system", GROUP="aid_system", MODE="0640"
ACTION=="add", KERNEL=="goodix_fp", OWNER="aid_system", GROUP="aid_system", MODE="0664"
ACTION=="add", KERNEL=="qbt1000", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="hbtp_input", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="hbtp_vm", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="block/platform/soc/7824900.sdhci/by-name/config", OWNER="aid_system", GROUP="aid_system", MODE="0600"
ACTION=="add", KERNEL=="block/platform/soc/7464900.sdhci/by-name/frp", OWNER="aid_system", GROUP="aid_system", MODE="0600"
ACTION=="add", KERNEL=="block/platform/soc/624000.ufshc/by-name/frp", OWNER="aid_system", GROUP="aid_system", MODE="0600"
ACTION=="add", KERNEL=="block/platform/soc/1da4000.ufshc/by-name/frp", OWNER="aid_system", GROUP="aid_system", MODE="0600"
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="log", MODE="0666"
ACTION=="add", KERNEL=="pmsg0", OWNER="root", GROUP="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,21 +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:
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# Userdata partition (Android apps, user files are here. Only ext4 is supported)
/dev/mmcblk0p49 /data ext4 nosuid,nodev,noatime,noauto_da_alloc
# Cache partition
/dev/mmcblk0p25 /cache ext4 nosuid,nodev,noatime 0 0
# Persist partition, this partition contains sensitive data about sensors, WLAN.
/dev/mmcblk0p26 /persist ext4 nosuid,nodev 0 0
# DSP
/dev/mmcblk0p12 /dsp ext4 ro,nosuid,nodev 0 0
# Firmware partition. This partition is house for WLAN, ADSP, Modem firmwares.
/dev/mmcblk0p1 /firmware vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337 0 0