MatteCarra / MatteCarra/AccA

start-stop-daemon inaccessible or not found (install miui 13)

Open
#223 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
1.4k
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Trying to install ACC on Miui 13 with Android 12 on my Poco X4 Pro Veux Device, Always End's Installation with failure. Logs attached:

`35: trap exxit EXIT
40: '[' -x /dev/.vr25/busybox/ls ']'
41: mkdir -p /dev/.vr25/busybox
42: chmod 0700 /dev/.vr25/busybox
43: '[' -f /data/adb/vr25/bin/busybox ']'
46: '[' -f /data/adb/magisk/busybox ']'
47: '[' -x /data/adb/magisk/busybox ']'
48: /data/adb/magisk/busybox --install -s /dev/.vr25/busybox
57: :
0: id -u
64: '[' 0 -ne 0 ']'
89: set -eu
93: 2>/dev/null
0: cd acc-fdroid
0: echo /data/data/mattecarra.accapp/files/acc-fdroid
93: srcDir=/data/data/mattecarra.accapp/files/acc-fdroid
96: '[' -f /data/data/mattecarra.accapp/files/acc-fdroid/module.prop ']'
104: get_prop name
70: sed -n 's|^name=||p' /data/data/mattecarra.accapp/files/acc-fdroid/module.prop
104: name='Advanced Charging Controller (ACC)'
105: get_prop author
70: sed -n 's|^author=||p' /data/data/mattecarra.accapp/files/acc-fdroid/module.prop
105: author=VR25
106: get_prop version
70: sed -n 's|^version=||p' /data/data/mattecarra.accapp/files/acc-fdroid/module.prop
106: version=v2021.8.31
107: magiskModDir=/data/adb/modules
108: get_prop versionCode
70: sed -n 's|^versionCode=||p' /data/data/mattecarra.accapp/files/acc-fdroid/module.prop
108: versionCode=202108310
109: accaFiles=/data/data/mattecarra.accapp/files
110: : /data/data/mattecarra.accapp/files
111: config=/data/adb/vr25/acc-data/config.txt
115: '[' /data/data/mattecarra.accapp/files '!=' /data/data/mattecarra.accapp/files ']'
124: '[' -d /data/adb/modules ']'
124: magisk=true
125: >/dev/null
125: 2>&1
125: ls -d /data/data/mattecarra.accapp
125: acca=true
129: true
129: '[' ! -d /data/data/mattecarra.accapp/files ']'
139: true
139: installDir=/data/adb/modules
140: '[' /data/adb/modules '!=' /data/adb/vr25 ']'
141: '[' -d /data/adb/modules ']'
148: echo $'Advanced Charging Controller (ACC) v2021.8.31 (202108310)\nCopyright 2017-2021, VR25\nGPLv3+\n\n(i) Installing in /data/adb/modules/acc/...'
155: /system/bin/sh /data/data/mattecarra.accapp/files/acc-fdroid/acc/uninstall.sh install
156: cp -R /data/data/mattecarra.accapp/files/acc-fdroid/acc/ /data/adb/modules/
157: readlink -f /data/adb/modules/acc
157: installDir=/data/adb/modules/acc
158: cp /data/data/mattecarra.accapp/files/acc-fdroid/module.prop /data/adb/modules/acc/
159: cp -f /data/data/mattecarra.accapp/files/acc-fdroid/README.md /data/adb/vr25/acc-data/
163: true
165: mkdir -p /data/adb/modules/acc/system/bin
166: ln -fs /data/adb/modules/acc/acc.sh /data/adb/modules/acc/system/bin/acc
167: ln -fs /data/adb/modules/acc/acc.sh /data/adb/modules/acc/system/bin/accd,
168: ln -fs /data/adb/modules/acc/acc.sh /data/adb/modules/acc/system/bin/accd.
169: ln -fs /data/adb/modules/acc/acca.sh /data/adb/modules/acc/system/bin/acca
170: ln -fs /data/adb/modules/acc/service.sh /data/adb/modules/acc/system/bin/accd
175: true
177: true
179: ln -fs /data/adb/modules/acc /data/data/mattecarra.accapp/files/
182: mkdir -p /data/adb/service.d
186: echo $'#!/system/bin/sh\n # AccA post-uninstall cleanup script\n\n until test -d /sdcard/Android \\\n && test .$(getprop sys.boot_completed) = .1\n do\n sleep 60\n done\n\n sleep 60\n\n [ -e /data/data/mattecarra.accapp/files/acc ] || rm -rf $0 /data/adb/vr25/acc /data/adb/modules/acc 2>/dev/null\n\n exit 0'
199: >/data/adb/service.d/acc-cleanup.sh
199: sed 's/^ //'
200: chmod 0700 /data/adb/service.d/acc-cleanup.sh
205: '[' /data/adb/modules/acc '=' /data/adb/vr25/acc ']'
206: mkdir -p /data/adb/vr25
207: ln -s /data/adb/modules/acc /data/adb/vr25/
212: cp -f /data/data/mattecarra.accapp/files/acc-fdroid/bin/acc-uninstaller.zip /data/adb/vr25/acc-data/
216: termux=false
242: set_perms_recursive /data/adb/modules/acc
84: typeset 'owner=0'
85: typeset target
86: 2>/dev/null
86: find /data/adb/modules/acc
86: read target
86: set_perms /data/adb/modules/acc 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc
76: target=/data/adb/modules/acc
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc
77: '[' -d /data/adb/modules/acc ']'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc
79: chown 0:0 /data/adb/modules/acc
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc
86: read target
86: set_perms /data/adb/modules/acc/batt-info.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/batt-info.sh
76: target=/data/adb/modules/acc/batt-info.sh
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/batt-info.sh
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/batt-info.sh
79: chown 0:0 /data/adb/modules/acc/batt-info.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/batt-info.sh
86: read target
86: set_perms /data/adb/modules/acc/select.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/select.sh
76: target=/data/adb/modules/acc/select.sh
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/select.sh
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/select.sh
79: chown 0:0 /data/adb/modules/acc/select.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/select.sh
86: read target
86: set_perms /data/adb/modules/acc/post-fs-data.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/post-fs-data.sh
76: target=/data/adb/modules/acc/post-fs-data.sh
77: echo /data/adb/modules/acc/post-fs-data.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/post-fs-data.sh
79: chown 0:0 /data/adb/modules/acc/post-fs-data.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/post-fs-data.sh
86: read target
86: set_perms /data/adb/modules/acc/default-config.txt 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/default-config.txt
76: target=/data/adb/modules/acc/default-config.txt
77: echo /data/adb/modules/acc/default-config.txt
77: grep -q '.*\.sh$'
77: '[' -d /data/adb/modules/acc/default-config.txt ']'
78: chmod 0600 /data/adb/modules/acc/default-config.txt
79: chown 0:0 /data/adb/modules/acc/default-config.txt
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/default-config.txt
86: read target
86: set_perms /data/adb/modules/acc/wizard.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/wizard.sh
76: target=/data/adb/modules/acc/wizard.sh
77: echo /data/adb/modules/acc/wizard.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/wizard.sh
79: chown 0:0 /data/adb/modules/acc/wizard.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/wizard.sh
86: read target
86: set_perms /data/adb/modules/acc/print-config.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/print-config.sh
76: target=/data/adb/modules/acc/print-config.sh
77: echo /data/adb/modules/acc/print-config.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/print-config.sh
79: chown 0:0 /data/adb/modules/acc/print-config.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/print-config.sh
86: read target
86: set_perms /data/adb/modules/acc/setup-busybox.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/setup-busybox.sh
76: target=/data/adb/modules/acc/setup-busybox.sh
77: echo /data/adb/modules/acc/setup-busybox.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/setup-busybox.sh
79: chown 0:0 /data/adb/modules/acc/setup-busybox.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/setup-busybox.sh
86: read target
86: set_perms /data/adb/modules/acc/uninstall.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/uninstall.sh
76: target=/data/adb/modules/acc/uninstall.sh
77: echo /data/adb/modules/acc/uninstall.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/uninstall.sh
79: chown 0:0 /data/adb/modules/acc/uninstall.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/uninstall.sh
86: read target
86: set_perms /data/adb/modules/acc/accd.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/accd.sh
76: target=/data/adb/modules/acc/accd.sh
77: echo /data/adb/modules/acc/accd.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/accd.sh
79: chown 0:0 /data/adb/modules/acc/accd.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/accd.sh
86: read target
86: set_perms /data/adb/modules/acc/power-supply-logger.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/power-supply-logger.sh
76: target=/data/adb/modules/acc/power-supply-logger.sh
77: echo /data/adb/modules/acc/power-supply-logger.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/power-supply-logger.sh
79: chown 0:0 /data/adb/modules/acc/power-supply-logger.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/power-supply-logger.sh
86: read target
86: set_perms /data/adb/modules/acc/charging-switches.txt 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/charging-switches.txt
76: target=/data/adb/modules/acc/charging-switches.txt
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/charging-switches.txt
77: '[' -d /data/adb/modules/acc/charging-switches.txt ']'
78: chmod 0600 /data/adb/modules/acc/charging-switches.txt
79: chown 0:0 /data/adb/modules/acc/charging-switches.txt
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/charging-switches.txt
86: read target
86: set_perms /data/adb/modules/acc/acca.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/acca.sh
76: target=/data/adb/modules/acc/acca.sh
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/acca.sh
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/acca.sh
79: chown 0:0 /data/adb/modules/acc/acca.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/acca.sh
86: read target
86: set_perms /data/adb/modules/acc/write-config.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/write-config.sh
76: target=/data/adb/modules/acc/write-config.sh
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/write-config.sh
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/write-config.sh
79: chown 0:0 /data/adb/modules/acc/write-config.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/write-config.sh
86: read target
86: set_perms /data/adb/modules/acc/acquire-lock.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/acquire-lock.sh
76: target=/data/adb/modules/acc/acquire-lock.sh
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/acquire-lock.sh
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/acquire-lock.sh
79: chown 0:0 /data/adb/modules/acc/acquire-lock.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/acquire-lock.sh
86: read target
86: set_perms /data/adb/modules/acc/acc.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/acc.sh
76: target=/data/adb/modules/acc/acc.sh
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/acc.sh
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/acc.sh
79: chown 0:0 /data/adb/modules/acc/acc.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/acc.sh
86: read target
86: set_perms /data/adb/modules/acc/service.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/service.sh
76: target=/data/adb/modules/acc/service.sh
77: echo /data/adb/modules/acc/service.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/service.sh
79: chown 0:0 /data/adb/modules/acc/service.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/service.sh
86: read target
86: set_perms /data/adb/modules/acc/misc-functions.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/misc-functions.sh
76: target=/data/adb/modules/acc/misc-functions.sh
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/misc-functions.sh
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/misc-functions.sh
79: chown 0:0 /data/adb/modules/acc/misc-functions.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/misc-functions.sh
86: read target
86: set_perms /data/adb/modules/acc/oem-custom.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/oem-custom.sh
76: target=/data/adb/modules/acc/oem-custom.sh
77: echo /data/adb/modules/acc/oem-custom.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/oem-custom.sh
79: chown 0:0 /data/adb/modules/acc/oem-custom.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/oem-custom.sh
86: read target
86: set_perms /data/adb/modules/acc/read-ch-curr-ctrl-files-p2.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/read-ch-curr-ctrl-files-p2.sh
76: target=/data/adb/modules/acc/read-ch-curr-ctrl-files-p2.sh
77: echo /data/adb/modules/acc/read-ch-curr-ctrl-files-p2.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/read-ch-curr-ctrl-files-p2.sh
79: chown 0:0 /data/adb/modules/acc/read-ch-curr-ctrl-files-p2.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/read-ch-curr-ctrl-files-p2.sh
86: read target
86: set_perms /data/adb/modules/acc/logf.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/logf.sh
76: target=/data/adb/modules/acc/logf.sh
77: echo /data/adb/modules/acc/logf.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/logf.sh
79: chown 0:0 /data/adb/modules/acc/logf.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/logf.sh
86: read target
86: set_perms /data/adb/modules/acc/set-prop.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/set-prop.sh
76: target=/data/adb/modules/acc/set-prop.sh
77: echo /data/adb/modules/acc/set-prop.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/set-prop.sh
79: chown 0:0 /data/adb/modules/acc/set-prop.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/set-prop.sh
86: read target
86: set_perms /data/adb/modules/acc/flash-zips.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/flash-zips.sh
76: target=/data/adb/modules/acc/flash-zips.sh
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/flash-zips.sh
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/flash-zips.sh
79: chown 0:0 /data/adb/modules/acc/flash-zips.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/flash-zips.sh
86: read target
86: set_perms /data/adb/modules/acc/strings.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/strings.sh
76: target=/data/adb/modules/acc/strings.sh
77: echo /data/adb/modules/acc/strings.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/strings.sh
79: chown 0:0 /data/adb/modules/acc/strings.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/strings.sh
86: read target
86: set_perms /data/adb/modules/acc/set-ch-curr.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/set-ch-curr.sh
76: target=/data/adb/modules/acc/set-ch-curr.sh
77: echo /data/adb/modules/acc/set-ch-curr.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/set-ch-curr.sh
79: chown 0:0 /data/adb/modules/acc/set-ch-curr.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/set-ch-curr.sh
86: read target
86: set_perms /data/adb/modules/acc/release-lock.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/release-lock.sh
76: target=/data/adb/modules/acc/release-lock.sh
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/release-lock.sh
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/release-lock.sh
79: chown 0:0 /data/adb/modules/acc/release-lock.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/release-lock.sh
86: read target
86: set_perms /data/adb/modules/acc/set-ch-volt.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/set-ch-volt.sh
76: target=/data/adb/modules/acc/set-ch-volt.sh
77: echo /data/adb/modules/acc/set-ch-volt.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/set-ch-volt.sh
79: chown 0:0 /data/adb/modules/acc/set-ch-volt.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/set-ch-volt.sh
86: read target
86: set_perms /data/adb/modules/acc/batt-interface.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/batt-interface.sh
76: target=/data/adb/modules/acc/batt-interface.sh
77: echo /data/adb/modules/acc/batt-interface.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/batt-interface.sh
79: chown 0:0 /data/adb/modules/acc/batt-interface.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/batt-interface.sh
86: read target
86: set_perms /data/adb/modules/acc/translations 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations
76: target=/data/adb/modules/acc/translations
77: echo /data/adb/modules/acc/translations
77: grep -q '.*\.sh$'
77: '[' -d /data/adb/modules/acc/translations ']'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/translations
79: chown 0:0 /data/adb/modules/acc/translations
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations
86: read target
86: set_perms /data/adb/modules/acc/translations/de-DE 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/de-DE
76: target=/data/adb/modules/acc/translations/de-DE
77: echo /data/adb/modules/acc/translations/de-DE
77: grep -q '.*\.sh$'
77: '[' -d /data/adb/modules/acc/translations/de-DE ']'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/translations/de-DE
79: chown 0:0 /data/adb/modules/acc/translations/de-DE
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/de-DE
86: read target
86: set_perms /data/adb/modules/acc/translations/de-DE/README.md 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/de-DE/README.md
76: target=/data/adb/modules/acc/translations/de-DE/README.md
77: echo /data/adb/modules/acc/translations/de-DE/README.md
77: grep -q '.*\.sh$'
77: '[' -d /data/adb/modules/acc/translations/de-DE/README.md ']'
78: chmod 0600 /data/adb/modules/acc/translations/de-DE/README.md
79: chown 0:0 /data/adb/modules/acc/translations/de-DE/README.md
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/de-DE/README.md
86: read target
86: set_perms /data/adb/modules/acc/translations/de-DE/strings.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/de-DE/strings.sh
76: target=/data/adb/modules/acc/translations/de-DE/strings.sh
77: echo /data/adb/modules/acc/translations/de-DE/strings.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/translations/de-DE/strings.sh
79: chown 0:0 /data/adb/modules/acc/translations/de-DE/strings.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/de-DE/strings.sh
86: read target
86: set_perms /data/adb/modules/acc/translations/pt-PT 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/pt-PT
76: target=/data/adb/modules/acc/translations/pt-PT
77: echo /data/adb/modules/acc/translations/pt-PT
77: grep -q '.*\.sh$'
77: '[' -d /data/adb/modules/acc/translations/pt-PT ']'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/translations/pt-PT
79: chown 0:0 /data/adb/modules/acc/translations/pt-PT
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/pt-PT
86: read target
86: set_perms /data/adb/modules/acc/translations/pt-PT/README.md 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/pt-PT/README.md
76: target=/data/adb/modules/acc/translations/pt-PT/README.md
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/translations/pt-PT/README.md
77: '[' -d /data/adb/modules/acc/translations/pt-PT/README.md ']'
78: chmod 0600 /data/adb/modules/acc/translations/pt-PT/README.md
79: chown 0:0 /data/adb/modules/acc/translations/pt-PT/README.md
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/pt-PT/README.md
86: read target
86: set_perms /data/adb/modules/acc/translations/pt-PT/strings.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/pt-PT/strings.sh
76: target=/data/adb/modules/acc/translations/pt-PT/strings.sh
77: echo /data/adb/modules/acc/translations/pt-PT/strings.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/translations/pt-PT/strings.sh
79: chown 0:0 /data/adb/modules/acc/translations/pt-PT/strings.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/pt-PT/strings.sh
86: read target
86: set_perms /data/adb/modules/acc/translations/id 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/id
76: target=/data/adb/modules/acc/translations/id
77: echo /data/adb/modules/acc/translations/id
77: grep -q '.*\.sh$'
77: '[' -d /data/adb/modules/acc/translations/id ']'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/translations/id
79: chown 0:0 /data/adb/modules/acc/translations/id
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/id
86: read target
86: set_perms /data/adb/modules/acc/translations/id/strings.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/id/strings.sh
76: target=/data/adb/modules/acc/translations/id/strings.sh
77: echo /data/adb/modules/acc/translations/id/strings.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/translations/id/strings.sh
79: chown 0:0 /data/adb/modules/acc/translations/id/strings.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/id/strings.sh
86: read target
86: set_perms /data/adb/modules/acc/translations/zh-rCN 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/zh-rCN
76: target=/data/adb/modules/acc/translations/zh-rCN
77: echo /data/adb/modules/acc/translations/zh-rCN
77: grep -q '.*\.sh$'
77: '[' -d /data/adb/modules/acc/translations/zh-rCN ']'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/translations/zh-rCN
79: chown 0:0 /data/adb/modules/acc/translations/zh-rCN
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/zh-rCN
86: read target
86: set_perms /data/adb/modules/acc/translations/zh-rCN/README.md 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/zh-rCN/README.md
76: target=/data/adb/modules/acc/translations/zh-rCN/README.md
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/translations/zh-rCN/README.md
77: '[' -d /data/adb/modules/acc/translations/zh-rCN/README.md ']'
78: chmod 0600 /data/adb/modules/acc/translations/zh-rCN/README.md
79: chown 0:0 /data/adb/modules/acc/translations/zh-rCN/README.md
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/zh-rCN/README.md
86: read target
86: set_perms /data/adb/modules/acc/translations/zh-rCN/strings.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/zh-rCN/strings.sh
76: target=/data/adb/modules/acc/translations/zh-rCN/strings.sh
77: echo /data/adb/modules/acc/translations/zh-rCN/strings.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/translations/zh-rCN/strings.sh
79: chown 0:0 /data/adb/modules/acc/translations/zh-rCN/strings.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/zh-rCN/strings.sh
86: read target
86: set_perms /data/adb/modules/acc/translations/zh-rTW 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/zh-rTW
76: target=/data/adb/modules/acc/translations/zh-rTW
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/translations/zh-rTW
77: '[' -d /data/adb/modules/acc/translations/zh-rTW ']'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/translations/zh-rTW
79: chown 0:0 /data/adb/modules/acc/translations/zh-rTW
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/zh-rTW
86: read target
86: set_perms /data/adb/modules/acc/translations/zh-rTW/README.md 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/zh-rTW/README.md
76: target=/data/adb/modules/acc/translations/zh-rTW/README.md
77: echo /data/adb/modules/acc/translations/zh-rTW/README.md
77: grep -q '.*\.sh$'
77: '[' -d /data/adb/modules/acc/translations/zh-rTW/README.md ']'
78: chmod 0600 /data/adb/modules/acc/translations/zh-rTW/README.md
79: chown 0:0 /data/adb/modules/acc/translations/zh-rTW/README.md
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/zh-rTW/README.md
86: read target
86: set_perms /data/adb/modules/acc/translations/zh-rTW/strings.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/translations/zh-rTW/strings.sh
76: target=/data/adb/modules/acc/translations/zh-rTW/strings.sh
77: echo /data/adb/modules/acc/translations/zh-rTW/strings.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/translations/zh-rTW/strings.sh
79: chown 0:0 /data/adb/modules/acc/translations/zh-rTW/strings.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/translations/zh-rTW/strings.sh
86: read target
86: set_perms /data/adb/modules/acc/print-help.sh 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/print-help.sh
76: target=/data/adb/modules/acc/print-help.sh
77: echo /data/adb/modules/acc/print-help.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/print-help.sh
79: chown 0:0 /data/adb/modules/acc/print-help.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/print-help.sh
86: read target
86: set_perms /data/adb/modules/acc/module.prop 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/module.prop
76: target=/data/adb/modules/acc/module.prop
77: echo /data/adb/modules/acc/module.prop
77: grep -q '.*\.sh$'
77: '[' -d /data/adb/modules/acc/module.prop ']'
78: chmod 0600 /data/adb/modules/acc/module.prop
79: chown 0:0 /data/adb/modules/acc/module.prop
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/module.prop
86: read target
86: set_perms /data/adb/modules/acc/system 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/system
76: target=/data/adb/modules/acc/system
77: echo /data/adb/modules/acc/system
77: grep -q '.*\.sh$'
77: '[' -d /data/adb/modules/acc/system ']'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/system
79: chown 0:0 /data/adb/modules/acc/system
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/system
86: read target
86: set_perms /data/adb/modules/acc/system/bin 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/system/bin
76: target=/data/adb/modules/acc/system/bin
77: grep -q '.*\.sh$'
77: echo /data/adb/modules/acc/system/bin
77: '[' -d /data/adb/modules/acc/system/bin ']'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/system/bin
79: chown 0:0 /data/adb/modules/acc/system/bin
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/system/bin
86: read target
86: set_perms /data/adb/modules/acc/system/bin/acc 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/system/bin/acc
76: target=/data/adb/modules/acc/acc.sh
77: echo /data/adb/modules/acc/acc.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/acc.sh
79: chown 0:0 /data/adb/modules/acc/acc.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/acc.sh
86: read target
86: set_perms /data/adb/modules/acc/system/bin/accd, 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/system/bin/accd,
76: target=/data/adb/modules/acc/acc.sh
77: echo /data/adb/modules/acc/acc.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/acc.sh
79: chown 0:0 /data/adb/modules/acc/acc.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/acc.sh
86: read target
86: set_perms /data/adb/modules/acc/system/bin/accd. 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/system/bin/accd.
76: target=/data/adb/modules/acc/acc.sh
77: echo /data/adb/modules/acc/acc.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/acc.sh
79: chown 0:0 /data/adb/modules/acc/acc.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/acc.sh
86: read target
86: set_perms /data/adb/modules/acc/system/bin/acca 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/system/bin/acca
76: target=/data/adb/modules/acc/acca.sh
77: echo /data/adb/modules/acc/acca.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/acca.sh
79: chown 0:0 /data/adb/modules/acc/acca.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/acca.sh
86: read target
86: set_perms /data/adb/modules/acc/system/bin/accd 0
73: typeset 'owner=0'
74: typeset 'perms=0600'
75: typeset target
76: readlink -f /data/adb/modules/acc/system/bin/accd
76: target=/data/adb/modules/acc/service.sh
77: echo /data/adb/modules/acc/service.sh
77: grep -q '.*\.sh$'
77: perms=0700
78: chmod 0700 /data/adb/modules/acc/service.sh
79: chown 0:0 /data/adb/modules/acc/service.sh
80: 2>/dev/null
80: chcon u:object_r:system_file:s0 /data/adb/modules/acc/service.sh
86: read target
247: set +eu
250: echo $'- Done\n\n\n'
255: sed -En '\|^## LINKS|,$p' /data/data/mattecarra.accapp/files/acc-fdroid/README.md
256: grep -v ^---
256: sed 's/^## //'
260: echo $'\n\n\n(i) Rebooting is unnecessary\n- acc commands may require the /dev/.vr25/acc/ prefix (e.g., /dev/.vr25/acc/acc -v) until system is rebooted.\n- Daemon started.'
277: /data/adb/vr25/acc/service.sh --init
/data/adb/vr25/acc/service.sh[18]: start-stop-daemon: inaccessible or not found
279: exit 0
279: exxit
279: 2>/dev/null
27: typeset 'e=0'
28: set +eu
29: rm -rf /dev/.vr25.acc-install /data/adb/modules_update/acc
29: >/dev/null
30: abort
31: echo
32: exit 0
`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the installation trace and the files it names, especially acc-fdroid/acc/uninstall.sh, module.prop, and the setup scripts under the acc directory. Reproduce the installation on Android 12 with MIUI 13 and determine where start-stop-daemon becomes inaccessible or unavailable. Done means ACC installs successfully without that failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, shell
Domain
mobile-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.