From db6882b410a020a03c88276990394529a40c1a6d Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 6 Jul 2017 18:58:14 +0200 Subject: [PATCH] deviceinfo: Add link to reference and reword comments --- device-lg-d855/APKBUILD | 4 ++-- device-lg-d855/deviceinfo | 9 +++------ device-lg-hammerhead/APKBUILD | 4 ++-- device-lg-hammerhead/deviceinfo | 7 +++---- device-lg-mako/APKBUILD | 4 ++-- device-lg-mako/deviceinfo | 8 +++----- device-motorola-titan/APKBUILD | 4 ++-- device-motorola-titan/deviceinfo | 9 ++++----- device-nokia-rx51/APKBUILD | 4 ++-- device-nokia-rx51/deviceinfo | 5 ++--- device-samsung-i9070/APKBUILD | 4 ++-- device-samsung-i9070/deviceinfo | 6 ++---- device-samsung-i9100/APKBUILD | 4 ++-- device-samsung-i9100/deviceinfo | 8 +++----- device-samsung-maguro/APKBUILD | 4 ++-- device-samsung-maguro/deviceinfo | 8 +++----- device-sony-amami/APKBUILD | 4 ++-- device-sony-amami/deviceinfo | 8 +++----- 18 files changed, 44 insertions(+), 60 deletions(-) diff --git a/device-lg-d855/APKBUILD b/device-lg-d855/APKBUILD index 14c5598f8..96386b812 100644 --- a/device-lg-d855/APKBUILD +++ b/device-lg-d855/APKBUILD @@ -1,6 +1,6 @@ pkgname=device-lg-d855 pkgver=1 -pkgrel=3 +pkgrel=4 pkgdesc="LG G3 International" url="https://github.com/postmarketOS" arch="noarch" @@ -23,5 +23,5 @@ package() { "$pkgdir"/etc/udev/rules.d/90-android.rules } -sha512sums="628c7d60355aa46b8d4165671ee4d8fcbfe883cfd8ee1b947b71ac9c210ca8942741bd5d4a33c062f229251f244d84d47c54b251f41d66b9a4b144ebe225d9af deviceinfo +sha512sums="08e4d1821ade1bced7513c24e08f3b1444762363e23a800a33bc45d45a425822af4ae69f8f40d03485bdd7c2928412ef25d9e19827bb816838b48d5baef3ed2b deviceinfo ee25f3d0377f027d108593eb7953b8db49d7f05a5c36a0c8ca7e7849d15e3c217bc1ac97d77a66e28d2db4b81c0f50b905639911276da40321d2b6cca7f797df 90-android.rules" diff --git a/device-lg-d855/deviceinfo b/device-lg-d855/deviceinfo index 4e41b3bb6..c3e7102f7 100644 --- a/device-lg-d855/deviceinfo +++ b/device-lg-d855/deviceinfo @@ -1,6 +1,5 @@ -# This document format is a draft. -# You can source it in shell scripts. -# Use only double quotes. +# Reference: +# Please use double quotes only. You can source this file in shell scripts. deviceinfo_format_version="0" deviceinfo_name="G3 International" @@ -16,8 +15,7 @@ deviceinfo_external_disk_install="true" deviceinfo_flash_methods="fastboot" deviceinfo_arch="armhf" - -# You can for example extract these from an existing boot.img +# Fastboot related deviceinfo_generate_bootimg="true" deviceinfo_flash_offset_kernel="0x00008000" deviceinfo_flash_offset_ramdisk="0x02000000" @@ -27,4 +25,3 @@ deviceinfo_flash_pagesize="2048" # Weston red screen workaround (see issue #54) deviceinfo_weston_pixman_type="2" - diff --git a/device-lg-hammerhead/APKBUILD b/device-lg-hammerhead/APKBUILD index 8b47f543c..74cab45dd 100644 --- a/device-lg-hammerhead/APKBUILD +++ b/device-lg-hammerhead/APKBUILD @@ -1,6 +1,6 @@ pkgname=device-lg-hammerhead pkgver=1 -pkgrel=4 +pkgrel=5 pkgdesc="Google Nexus 5" url="https://github.com/postmarketOS" arch="noarch" @@ -35,7 +35,7 @@ package() { "$pkgdir"/etc/wifi/bcmdhd.cal } -sha512sums="beca84661ed1ca67fc7fcce23f0411fcda9466022cd7847fdfdf4c43fba35102cd8e262069afb7f8c43efc937d91415bd959a9dc5dc44eab73b31e4e72b8d83b deviceinfo +sha512sums="84b4df3cc6d2891b66717797c31d9d148dff5336ce0ac6fd360c9c8ce16b23f67f4316711013c41ef9f0e59c65704168dd0d22d3a67b4f421abf9fd5f7230c8a deviceinfo 8590967fa10388a890fdfafdb1070b9ab22dc89e06a3a8834806c772191e3b67de7b914b0d68e5ddf581cee715cb90f3f24abcb8762c415ff328c6da23e55d52 initfs-hook.sh ee25f3d0377f027d108593eb7953b8db49d7f05a5c36a0c8ca7e7849d15e3c217bc1ac97d77a66e28d2db4b81c0f50b905639911276da40321d2b6cca7f797df 90-android-touch-dev.rules c3d0182161c33047e0af4fd7cc557037e10380896a771446f055a13813e50e4e6c9d5992de7b275a8373a053cca02cb96bcb50c732709a2e9909f903b5fba249 profile.sh diff --git a/device-lg-hammerhead/deviceinfo b/device-lg-hammerhead/deviceinfo index cbed47e9a..59cf0ac81 100644 --- a/device-lg-hammerhead/deviceinfo +++ b/device-lg-hammerhead/deviceinfo @@ -1,6 +1,5 @@ -# This document format is a draft. -# You can source it in shell scripts. -# Use only double quotes. +# Reference: +# Please use double quotes only. You can source this file in shell scripts. deviceinfo_format_version="0" deviceinfo_name="Google Nexus 5" @@ -16,7 +15,7 @@ deviceinfo_external_disk_install="false" deviceinfo_flash_methods="fastboot" deviceinfo_arch="armhf" - +# Fastboot related # You can for example extract these from an existing boot.img deviceinfo_generate_bootimg="true" deviceinfo_flash_offset_kernel="0x00008000" diff --git a/device-lg-mako/APKBUILD b/device-lg-mako/APKBUILD index 283d333ec..c9d95a012 100644 --- a/device-lg-mako/APKBUILD +++ b/device-lg-mako/APKBUILD @@ -1,6 +1,6 @@ pkgname=device-lg-mako pkgver=2 -pkgrel=3 +pkgrel=4 pkgdesc="Google Nexus 4" url="https://github.com/postmarketOS" arch="noarch" @@ -27,7 +27,7 @@ package() { "$pkgdir"/etc/profile.d/00-$pkgname.sh } -sha512sums="e62b66a1e3d7d3aa3ce020342676e3f9de210f06cbaee6677ebd9d163099ce7c5141b94b5802bfdc509849e6ab57d23898f4137298cd66a808d7926e3ab5f053 deviceinfo +sha512sums="46847cd3c6eb84189a5fa7b51465f468ccfee2905d4c90ab6a8073ca31bfa5bcccbebb594677714bf01efd3877164ab07091b1d07b7c0d7b16a13d7f05accc30 deviceinfo 8590967fa10388a890fdfafdb1070b9ab22dc89e06a3a8834806c772191e3b67de7b914b0d68e5ddf581cee715cb90f3f24abcb8762c415ff328c6da23e55d52 initfs-hook.sh ee25f3d0377f027d108593eb7953b8db49d7f05a5c36a0c8ca7e7849d15e3c217bc1ac97d77a66e28d2db4b81c0f50b905639911276da40321d2b6cca7f797df 90-android-touch-dev.rules c3d0182161c33047e0af4fd7cc557037e10380896a771446f055a13813e50e4e6c9d5992de7b275a8373a053cca02cb96bcb50c732709a2e9909f903b5fba249 profile.sh" diff --git a/device-lg-mako/deviceinfo b/device-lg-mako/deviceinfo index 08e7a7c69..d3b028835 100644 --- a/device-lg-mako/deviceinfo +++ b/device-lg-mako/deviceinfo @@ -1,6 +1,5 @@ -# This document format is a draft. -# You can source it in shell scripts. -# Use only double quotes. +# Reference: +# Please use double quotes only. You can source this file in shell scripts. deviceinfo_format_version="0" deviceinfo_name="Google Nexus 4" @@ -16,8 +15,7 @@ deviceinfo_external_disk_install="false" deviceinfo_flash_methods="fastboot" deviceinfo_arch="armhf" - -# You can for example extract these from an existing boot.img +# Fastboot related deviceinfo_generate_bootimg="true" deviceinfo_flash_offset_kernel="0x80208000" deviceinfo_flash_offset_ramdisk="0x81800000" diff --git a/device-motorola-titan/APKBUILD b/device-motorola-titan/APKBUILD index 5e8b1771d..f8d7f90f5 100644 --- a/device-motorola-titan/APKBUILD +++ b/device-motorola-titan/APKBUILD @@ -1,6 +1,6 @@ pkgname=device-motorola-titan pkgver=1 -pkgrel=5 +pkgrel=6 pkgdesc="Motorola Moto G 2014" url="https://github.com/postmarketOS" arch="noarch" @@ -27,7 +27,7 @@ package() { "$pkgdir"/etc/profile.d/00-$pkgname.sh } -sha512sums="e3579754fbb6a60cbf0511753eafaa934f4b3e6d96582cf56e4729f815bd09d76f7d84531322765e21e3adcb43d18542f72283b1b3c66a19ae7b2f3be824b857 deviceinfo +sha512sums="00f2c9db5ebbe6a26f006b3332a15bd479e738910147497ef6dd9f146093fb2fbfe0e078cf59113813c91c813ec486fe17508b0393a9571db00b1b2633a94326 deviceinfo f37e6324abf0b0fc8a3d360d6d11bb0648090a438a55ca7f04a9d494719e687ce445ae107ace642edf293afb6ca82615bcb5d0ddb6c46c1a7f8ee3c213b7c5c4 90-android-touch-dev.rules 8590967fa10388a890fdfafdb1070b9ab22dc89e06a3a8834806c772191e3b67de7b914b0d68e5ddf581cee715cb90f3f24abcb8762c415ff328c6da23e55d52 initfs-hook.sh 4fd7fceda05b9a7e5a7d32f737126c335de883d9caed799345c1016164e04d05819436a0dfd9e624499bbc1a9d0d56ba6e738f4458bc92ef1fe135845ae1aa85 profile.sh" diff --git a/device-motorola-titan/deviceinfo b/device-motorola-titan/deviceinfo index 02eb3b545..eac93ac2f 100644 --- a/device-motorola-titan/deviceinfo +++ b/device-motorola-titan/deviceinfo @@ -1,6 +1,5 @@ -# This document format is a draft. -# You can source it in shell scripts. -# Use only double quotes. +# Reference: +# Please use double quotes only. You can source this file in shell scripts. deviceinfo_format_version="0" deviceinfo_name="Moto G 2014" @@ -16,8 +15,7 @@ deviceinfo_external_disk_install="false" deviceinfo_flash_methods="fastboot" deviceinfo_arch="armhf" - -# You can for example extract these from an existing boot.img +# Fastboot related deviceinfo_flash_offset_kernel="0x00008000" deviceinfo_flash_offset_ramdisk="0x01000000" deviceinfo_flash_offset_second="0x00f00000" @@ -26,4 +24,5 @@ deviceinfo_flash_pagesize="2048" deviceinfo_kernel_cmdline="androidboot.bootdevice=msm_sdcc.1 androidboot.hardware=qcom vmalloc=400M utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags buildvariant=userdebug" deviceinfo_generate_bootimg="true" +# Weston red screen workaround (see issue #54) deviceinfo_weston_pixman_type="2" diff --git a/device-nokia-rx51/APKBUILD b/device-nokia-rx51/APKBUILD index f924c7ecb..0deb25a52 100644 --- a/device-nokia-rx51/APKBUILD +++ b/device-nokia-rx51/APKBUILD @@ -1,6 +1,6 @@ pkgname=device-nokia-rx51 pkgver=1 -pkgrel=3 +pkgrel=4 pkgdesc="Nokia N900" url="https://github.com/postmarketOS" arch="noarch" @@ -26,6 +26,6 @@ package() { "$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}-backlight.sh } -sha512sums="be1902838cc684fd988d3a3ae8782f053d4be62434505ca85f7d0064add4da06de81485068007c14283587b1d8459a1488025eeaf64876817bfe1c24ee1d9f13 deviceinfo +sha512sums="b9ed0aa3fc726dbf9f30a5df3d94917da398c511ec79da0a655062942d59e9ed015b195876b4df83d176de1da0d5eecfeb1143116bfbc13be0c26f2e3629d8cc deviceinfo 011e85537f497c2888f876a63bec13e3a2853a5047a0692515d6108cee2a2b90e70fb234f9c0e67a11d64abd3a15cade0864d725548722df910d6d1cbb1216e4 uboot-script.cmd 3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh" diff --git a/device-nokia-rx51/deviceinfo b/device-nokia-rx51/deviceinfo index c750da91d..510782061 100644 --- a/device-nokia-rx51/deviceinfo +++ b/device-nokia-rx51/deviceinfo @@ -1,6 +1,5 @@ -# This document format is a draft. -# You can source it in shell scripts. -# Use only double quotes. +# Reference: +# Please use double quotes only. You can source this file in shell scripts. deviceinfo_format_version="0" deviceinfo_name="Nokia N900" diff --git a/device-samsung-i9070/APKBUILD b/device-samsung-i9070/APKBUILD index bf1044288..7b707cfd6 100644 --- a/device-samsung-i9070/APKBUILD +++ b/device-samsung-i9070/APKBUILD @@ -1,6 +1,6 @@ pkgname=device-samsung-i9070 pkgver=1 -pkgrel=3 +pkgrel=4 pkgdesc="Samsung Galaxy S Advance" url="https://github.com/postmarketOS" arch="noarch" @@ -25,6 +25,6 @@ package() { "$pkgdir"/etc/udev/rules.d/90-android.rules } -sha512sums="8fc6b74f248e19b93278510892fd0eb594d8a86a23dcdef9cee1d8cafbe24a4d9567c69c0169268e924a48699f79459970d493876d542396d5de0ffc32d4d88f deviceinfo +sha512sums="48588e2e2d201e4185454b10bd13eec6888e80c0db3dadb2e082750301c222308be2202c65904df0d27ba246d4ab1012f97e3bf33e67bc7bea526755d5d14d1f deviceinfo 098187f6ab56d2542f98f1b5fbcf493431f665a4300db05e859357366e39b02a3d508bfd94c1d1bd7c669261e7ef0d4e1aef1fdbb15541fe34f3f48a6caa247f initfs-hook.sh ffa8ba47539f0b4a931c560811d7842c7f5270631066c270322859c1ef77e63fba09a8462c2533bd6d095056b2c7936c2d4fc4e225f3cff45169f121bf93d8ed 90-android.rules" diff --git a/device-samsung-i9070/deviceinfo b/device-samsung-i9070/deviceinfo index 400fd55b5..d685e7150 100644 --- a/device-samsung-i9070/deviceinfo +++ b/device-samsung-i9070/deviceinfo @@ -1,6 +1,5 @@ -# This document format is a draft. -# You can source it in shell scripts. -# Use only double quotes. +# Reference: +# Please use double quotes only. You can source this file in shell scripts. deviceinfo_format_version="0" deviceinfo_name="Galaxy S Advance" @@ -15,4 +14,3 @@ deviceinfo_external_disk="true" deviceinfo_external_disk_install="true" deviceinfo_flash_methods="heimdall" deviceinfo_arch="armhf" - diff --git a/device-samsung-i9100/APKBUILD b/device-samsung-i9100/APKBUILD index ed02d3d1b..6957cba75 100644 --- a/device-samsung-i9100/APKBUILD +++ b/device-samsung-i9100/APKBUILD @@ -1,6 +1,6 @@ pkgname=device-samsung-i9100 pkgver=1 -pkgrel=2 +pkgrel=3 pkgdesc="Samsung Galaxy SII" url="https://github.com/postmarketOS" arch="noarch" @@ -23,5 +23,5 @@ package() { "$pkgdir"/etc/udev/rules.d/90-android.rules } -sha512sums="f2dfe6b848ab751eea2d3aad82c214985b7910865a2911a7be843e44c5479299cb66c768925b4452e8dbdd84efd6bd8b69eb2e2dc49cfa27fc8a3e189ddf68a5 deviceinfo +sha512sums="0b7bb81beab67199966be25bf7749efca1451a2d6dfa499eaa1ee7d1b2ca7253ef882b38769034a1ffc1d0a9c9f94548db4af240da770e27d8d4898e49fbe687 deviceinfo 8aead706ddb118a44de7d049f07d10a27e727d17724058d132e4ec4fa73fed29c9ccfe03f02aca459c922ec0fbba24e171fe3c76e33f7c5462631e3dd5506e36 90-android.rules" diff --git a/device-samsung-i9100/deviceinfo b/device-samsung-i9100/deviceinfo index ffbfe0891..34ce9eb89 100644 --- a/device-samsung-i9100/deviceinfo +++ b/device-samsung-i9100/deviceinfo @@ -1,6 +1,5 @@ -# This document format is a draft. -# You can source it in shell scripts. -# Use only double quotes. +# Reference: +# Please use double quotes only. You can source this file in shell scripts. deviceinfo_format_version="0" deviceinfo_name="Galaxy SII" @@ -16,8 +15,7 @@ deviceinfo_external_disk_install="true" deviceinfo_flash_methods="heimdall" deviceinfo_arch="armhf" - -# You can for example extract these from an existing boot.img +# Fastboot related deviceinfo_flash_offset_base="" deviceinfo_flash_offset_kernel="" deviceinfo_flash_offset_ramdisk="" diff --git a/device-samsung-maguro/APKBUILD b/device-samsung-maguro/APKBUILD index 990615f15..301d5fe58 100644 --- a/device-samsung-maguro/APKBUILD +++ b/device-samsung-maguro/APKBUILD @@ -1,6 +1,6 @@ pkgname=device-samsung-maguro pkgver=2 -pkgrel=3 +pkgrel=4 pkgdesc="Google Galaxy Nexus (GSM)" url="https://github.com/postmarketOS" arch="noarch" @@ -21,4 +21,4 @@ package() { "$pkgdir"/etc/deviceinfo } -sha512sums="85faf3418bfddce9718a443ef3ccf88e10feb4a74e7db682a3356f51cb589f015e4996f259cbeccb1e18b288c711c2bac079a5a207e71a9cec193f69c36d60ca deviceinfo" +sha512sums="7b1d4d1688b500213eac2d14639a1f7a3b9ab2b2baf18881f583df532fc7a4b1277f7f6707c0f2f114f214d7dec295c6e8cd36b8495f7936cebd66fbf83514e0 deviceinfo" diff --git a/device-samsung-maguro/deviceinfo b/device-samsung-maguro/deviceinfo index 974206062..0aa6a3307 100644 --- a/device-samsung-maguro/deviceinfo +++ b/device-samsung-maguro/deviceinfo @@ -1,6 +1,5 @@ -# This document format is a draft. -# You can source it in shell scripts. -# Use only double quotes. +# Reference: +# Please use double quotes only. You can source this file in shell scripts. deviceinfo_format_version="0" deviceinfo_name="Google Galaxy Nexus" @@ -16,8 +15,7 @@ deviceinfo_external_disk_install="false" deviceinfo_flash_methods="fastboot" deviceinfo_arch="armhf" - -# You can for example extract these from an existing boot.img +# Fastboot related deviceinfo_generate_bootimg="true" deviceinfo_flash_offset_kernel="0x00008000" deviceinfo_flash_offset_ramdisk="0x01000000" diff --git a/device-sony-amami/APKBUILD b/device-sony-amami/APKBUILD index c51d70da3..11c58222a 100644 --- a/device-sony-amami/APKBUILD +++ b/device-sony-amami/APKBUILD @@ -1,6 +1,6 @@ pkgname=device-sony-amami pkgver=1 -pkgrel=2 +pkgrel=3 pkgdesc="Sony Xperia Z1 Compact" url="https://github.com/postmarketOS" arch="noarch" @@ -23,5 +23,5 @@ package() { "$pkgdir"/etc/udev/rules.d/90-android.rules } -sha512sums="219bac1a30c4cd5f2206f013ed01253d3ab72cd4225f112791c25db5a6af8c00df9c647f56756d6cef61c085a4208c94f46ce22e45255aa44f5224152a1f5ef1 deviceinfo +sha512sums="b0e6a89d2d5295579e77384a126f596494f708e42efeed9359e8c93b8eaf56f129fb19565331634ee526f6b4221dd0e9e2f28f4fc3a6aedf87565e42fa854fab deviceinfo d1c9feee9ca5f667a7f4e99654b9535ec41bde4684c3c7c5eeef530c95958af8b198d4f7c0adbf1a58e8072ad95beeb6c644d2aed5047c5b0c3f5fc7287bfe7b 90-android.rules" diff --git a/device-sony-amami/deviceinfo b/device-sony-amami/deviceinfo index 0416d40c0..6f730bbad 100644 --- a/device-sony-amami/deviceinfo +++ b/device-sony-amami/deviceinfo @@ -1,6 +1,5 @@ -# This document format is a draft. -# You can source it in shell scripts. -# Use only double quotes. +# Reference: +# Please use double quotes only. You can source this file in shell scripts. deviceinfo_format_version="0" deviceinfo_name="Xperia Z1 Compact" @@ -16,8 +15,7 @@ deviceinfo_external_disk_install="true" deviceinfo_flash_methods="fastboot" deviceinfo_arch="armhf" - -# You can for example extract these from an existing boot.img +# Fastboot related deviceinfo_flash_offset_kernel="00008000" deviceinfo_flash_offset_ramdisk="02000000" deviceinfo_flash_offset_second="00f00000"