summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-12-23 17:04:05 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-12-23 17:04:22 +0100
commit942945b47db1c5236a3919883ea2ef140a3c8508 (patch)
tree5c6c886962233a20b7628b1ca671b091043f5cc3
parentb908e50023cf0efb6c3fa42059e0c6145b878d98 (diff)
downloadvendor_replicant-scripts-942945b47db1c5236a3919883ea2ef140a3c8508.tar.gz
vendor_replicant-scripts-942945b47db1c5236a3919883ea2ef140a3c8508.tar.bz2
vendor_replicant-scripts-942945b47db1c5236a3919883ea2ef140a3c8508.zip
find_lineageos_devices.py: Avoid known bad devices
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rwxr-xr-xresearch/find_lineageos_devices.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/research/find_lineageos_devices.py b/research/find_lineageos_devices.py
index cba7785..2fb4b9b 100755
--- a/research/find_lineageos_devices.py
+++ b/research/find_lineageos_devices.py
@@ -45,6 +45,19 @@ def device_has_modem(vendor, product):
# unknown
return None
+def device_has_shared_memory_between_modem_and_soc(vendor, product):
+ # In the "Samsung Mobile Modem Driver (SVNET2) V1 for Memory-type Interface"
+ # section in lineageos_s5neolte_defconfig in the lineage-17.0 branch of
+ # https://github.com/LineageOS/android_kernel_samsung_universal7580 there
+ # is the following configuration:
+ # CONFIG_LINK_DEVICE_SHMEM=y
+ # CONFIG_LINK_DEVICE_HSIC is not set
+ if vendor == 'Samsung' and product == 'Galaxy S5 Neo':
+ return True
+
+ # unknown
+ return None
+
def soc_has_modem(vendor, product):
if vendor == 'HiSilicon':
pass
@@ -197,6 +210,10 @@ def interesting_for_replicant(document):
if soc_has_modem(soc['vendor'], soc['product']) == True:
return False
+ if device_has_shared_memory_between_modem_and_soc(document['vendor'],
+ document['name']):
+ return False
+
# Non replaceable batteries causes too much issues for both users
# and developers as once you buy a device second hand, the battery
# doesn't last as much as when the device is new. On some devices,