![]() ![]() ![]() From computer: ssh -T -p 2222 ip_of_mobile_device.(getenforce displays current mode setenforce 1 restores enforcing mode) Either on the mobile device: Create a connection in juicessh of type local terminal, open this connection, run command su and confirm SuperSU popup to grant privileges.Workaround, not recommend: disable selinux:.su -c " supolicy -dumpav |grep 'untrusted_app->untrusted_app_devpts' ".To display the current selinux setting use: The supolicy command shown above adds the missing permission.su -c " supolicy -live 'allow untrusted_app untrusted_app_devpts chr_file setattr' ".system/xbin/mc.real If mc displays empty directory listings, the binary mc.real is not the current binary available in play store (which is a very reasonably priced non free app).Įnable proper terminal access in selinux enforcing mode: In /system/xbin/mc the last line should end with On the moto e 2nd 4G /sdcard/tmp is a working temporary directory and xterm has been chosen as terminal type. Then copy busybox to /system/xbin and create symbolic links for awk and tar pointing to busybox. Run sshd provided by sshhelper, ssh to the mobile device, switch to user root with command su (confirm SuperSU popup). Edit: needs selinux policy modification using supolicy (which is part of supersu): see below. ![]() Then terminal emulator can run mc or a ssh client like sshjuice can connect to sshelper on 127.0.0.1:2222 (see attachment a bluetooth keyboard was in use). Sshelper app comes with busybox (which is required to install mc). terminal to run mc on the mobile device: install android terminal emulator from play store.busybox: install sshelper from play store.mc: install nativnux installer from play store.Midnight commander runs fine on Android 5.02 (Moto E 2nd with SuperSU): Mc working with selinux enforcing mode (lollipop) dev/block/dm-4 /mnt/asec/.ell_grc_fem-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0Ĭan this helps you to give me, a specific to my system, command? Tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0 Tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0 Tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0 dev/block/mmcblk0p14 /HWUserData vfat rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 dev/block/mmcblk0p1 /cust_backup vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0 dev/block/mmcblk0p6 /cache ext3 rw,nosuid,nodev,relatime,errors=continue,data=ordered 0 0 dev/block/mmcblk0p13 /data ext3 rw,nosuid,nodev,relatime,errors=continue,data=ordered 0 0 dev/block/mmcblk0p12 /system ext3 rw,relatime,errors=continue,data=writeback 0 0 Tmpfs /dev tmpfs rw,relatime,mode=755 0 0ĭevpts /dev/pts devpts rw,relatime,mode=600 0 0 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |