MagiskOnEmulator icon indicating copy to clipboard operation
MagiskOnEmulator copied to clipboard

./patch.sh not working on Ubuntu

Open mnguyen081002 opened this issue 2 years ago • 1 comments

RUN "./patch.sh"

Directory: image

Output: ramdisk.img: 1 file pushed, 0 skipped. 636.0 MB/s (1520108 bytes in 0.002s) ./patch.sh: 5: [[: not found ./patch.sh: 6: [[: not found busybox: 1 file pushed, 0 skipped. 117.4 MB/s (2074240 bytes in 0.017s) process.sh: 1 file pushed, 0 skipped. 101.5 MB/s (11525 bytes in 0.000s)

***** Grab magisk.zip or magisk.apk first ! *****

adb: error: failed to stat remote object '/data/local/tmp/ramdisk.img': No such file or directory

mnguyen081002 avatar Aug 13 '23 11:08 mnguyen081002

use bash instead of sh "bash patch.sh", not "./patch.sh"

fuad00 avatar Dec 16 '23 20:12 fuad00