path: root/display
diff options
authorDenis 'GNUtoo' Carikli <>2020-06-19 17:39:42 +0200
committerDenis 'GNUtoo' Carikli <>2020-07-03 05:27:51 +0200
commit2f4a3921c4a1b9e0d45292dcb4f6ea65e35c667b (patch)
tree222cd55f463dda7a533984ce849a67b7cbb238f9 /display
parent704812e8758d65b49bfa3f398ab91b6a9ef03581 (diff)
display: renderer: sync with the modem setup.shreplicant-6.0-0004-rc2
The modem had got a lot of improvements. As the only difference with the is the use of instead of which has already been sent for review and that not many people have the time to do reviewes, it's best to rely on the modem review process instead and group all the changes in a single patch for the display renderer. Signed-off-by: Denis 'GNUtoo' Carikli <>
Diffstat (limited to 'display')
1 files changed, 11 insertions, 5 deletions
diff --git a/display/renderer/ b/display/renderer/
index ac5abe8..3864533 100755
--- a/display/renderer/
+++ b/display/renderer/
@@ -1,5 +1,11 @@
-adb root
-sleep 3
-adb shell mkdir -p "$root_dir"
-adb push ./device-files/* "$root_dir/"
+topdir=$(dirname $0)
+adb root | grep "^root access"
+if [ "${ret}" -ne 0 ] ; then
+ adb wait-for-device
+ adb remount
+ adb push "${topdir}/device-files/" /system/bin/
+ adb shell "mount -o remount,ro /system"
+ adb shell "sync"