shakalaca / MagiskOnEmulator

Install Magisk on Official Android Emulator
Apache License 2.0
672 stars 113 forks source link

./patch.sh not working on Ubuntu #65

Open mnguyen081002 opened 1 year ago

mnguyen081002 commented 1 year ago

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

fuad00 commented 11 months ago

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