[Gta04-owner] [PATCH 4/6] HACK: disable gpio186 check
Andreas Kemnade
andreas at kemnade.info
Sun Apr 23 09:36:13 CEST 2017
this forcefully enables hw routing
and removes the check for gpio186 which is
hidden in newer kernels
TODO: add a real check for >= GTA04A4
Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
---
rootdir/voice-routing-init.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rootdir/voice-routing-init.sh b/rootdir/voice-routing-init.sh
index 24219d1..1e07be7 100755
--- a/rootdir/voice-routing-init.sh
+++ b/rootdir/voice-routing-init.sh
@@ -1,4 +1,6 @@
#!/system/bin/sh
+exit 0
+# todo reenable hw routing
MODEM_GPIO="/sys/class/gpio/gpio186/value" #available on GTA04a4++
if [ ! -e $MODEM_GPIO ]
then
--
2.1.4
More information about the Gta04-owner
mailing list