- ROOT
- busybox installed
To download an *.apk installer follow this link.
The xda-installer from Recognized Developer viulian installs MC here:
/system/share/mc
/system/libexec/mc
/system/etc/mc
/system/xbin
/system/etc/terminfo
Install script from *.tar.gz:
echo Pushing files....
adb push mclibs.tar.gz /mnt/local/mclibs.tar.gz
adb push xterm.tar.gz /mnt/local/xterm.tar.gz
sleep 2
echo Installing Midnight Commander...
adb shell su -c mount -o remount,rw /system
adb shell su -c cp /mnt/local/mclibs.tar.gz /system
adb shell su -c cp /mnt/local/xterm.tar.gz /system
adb shell su -c tar xzvf mclibs.tar.gz
adb shell su -c tar xzvf xterm.tar.gz
adb shell su -c mount -o remount,ro /system
Files:
by first executing "adb root", one does not have to execute root-commands with su -c.
ReplyDeleteExample:
echo Pushing files....
adb push mclibs.tar.gz /mnt/local/mclibs.tar.gz
adb push xterm.tar.gz /mnt/local/xterm.tar.gz
adb shell sync
echo Installing Midnight Commander...
adb root
adb remount
adb shell cp /mnt/local/mclibs.tar.gz /system
adb shell cp /mnt/local/xterm.tar.gz /system
adb shell tar xzvf mclibs.tar.gz
adb shell tar xzvf xterm.tar.gz
adb shell mount -o remount,ro /system
hello,
ReplyDeleteI have mc working on my rooted Android 5.1.1 , but mc cannot see content of /data directory
shell and command ls can see it.
please can you help?
Be careful with this. Extracting to /system will overwrite your su binary with the one from mclibs.tar.gz.
ReplyDelete