Hello I am using a rooted Trio Stealth Pro 9.7 and I am trying to get archlinux to work on my rooted tablet.
I have all apk's that I need installed but when I get to the terminal screen this is what I get.
Code:
[email protected]: / $
[email protected]: / $ cd /mnt/extsd/archlinux
[email protected]: /mnt/extsd/archlinux $ su
/system/bin/sh: sh: not found
127|[email protected]: /mnt/extsd/archlinux $ sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /mnt/extsd/archlinux/archlinux-SMALL.ext2.img
sh: /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh: Permission denied
127|[email protected]: /mnt/extsd/archlinux $
Related
Hey XDA, long time listener first time caller.
I have an A200 rooted stock and am trying to boot Debian (or any other distro) on it.
I am a seasoned android dev, but new to linux in general. (yes i am aware that android is linux)
i am using the complete linux installer apk and extracting with archidroid. My path is /sdcard/debian/debian.img
i use the boot widget included and the following is my terminal output. i have been unable to find a solution and was hoping someone here would have some suggestions
[email protected]:/ $
[email protected]:/ $ cd sdcard/debian
[email protected]:/ $ /sdcard/debian $ su
[email protected]:/ $ /mnt/sdcard/debian # sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh sdcard/debian/debian.img
/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[34]: dirname: not found
/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[56]: dirname: not found
/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[56]: dirname: not found
Checking loop device... FOUND
/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[122]: /data/data/com.zpwebsites.linuxonandroid/files/busybox: cannot execute - Permission denied **<could this be a perms issue?**
Error: Unable to attach image to loop device! (Image = /sdcard/debian/debian.img)
1|[email protected]:/mnt/sdcard/debian #
EDIT** answered my own question. had to chmod /data/datacom...../busybox to 755 *********
Hi everyone, I recently installed this ROM here http://forum.xda-developers.com/showthread.php?t=2205516&page=73&nocache=1 (unfortunately I can't post questions on that thread yet). Superuser access works fine from apps and terminal emulator, but if I try to connect from adb with "adb shell su" I get "Permission denied" on my command prompt and a "Superuser denied to shell" toast on the phone.
I can't find a way to change this, apparently the shell user can't su. I tried from the terminal emulator too and here's what happens:
Code:
[email protected]: / $ whoami
u0_a14
[email protected]:/ $ su
[email protected]:/ # whoami
root
[email protected]:/ # su - shell
[email protected]:/ $ whoami
shell
[email protected]:/ $ su
Permission denied
1|[email protected]:/ $
Any help pwetty please?
I could successfully install Ubuntu 13.10 via Complete Linux Installer under Android 4.4.2 (on a Nexus 5). If I reboot and then open Ubuntu 13.10, everything works fine. But if I close Ubuntu and open it again (without reboot), I get:
[email protected]:/ $
[email protected]:/ $ cd /sdcard/ubuntu
[email protected]:/sdcard/ubuntu $ su
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img
[email protected]:/storage/emulated/legacy/ubuntu # sh /data/dcom.zpwebsites .linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img
/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[39]: dirname: not found
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Device or resource busy
Error: Unable to mount the loop device!
1|[email protected]:/storage/emulated/legacy/ubuntu #
What is the problem?
Hear hear. Same issue Galaxy S5 g900r4. SELINUX is permissive(finally).
hi i tried to run ubuntu on my android tablet and it doesnt work
Heres the code from the terminal emulator
[email protected]:/ $
[email protected]:/ $ cd /sdcard/ubuntu
[email protected]:/sdcard/ubuntu $ su
/system/bin/sh: su: not found
127|[email protected]:/sdcard/ubuntu $ sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img
sh: /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh: Permission denied
127|[email protected]:/sdcard/ubuntu $
Click to expand...
Click to collapse
I assume you are rooted, maybe try asking for superuser permissions before changing directories to SD card. From what I see is the issue is not having elevated permissions
ComboTer said:
hi i tried to run ubuntu on my android tablet and it doesnt work
Heres the code from the terminal emulator
Click to expand...
Click to collapse
Code:
[email protected]:/sdcard/ubuntu $ su
/system/bin/sh: su: not found
do you rooted you device ?
it seems that the ' su ' command not found .
or do you allow the root access of terminal emulator ?
Hi Guys and gals,
Ive run flashboot and unlocked the bootloader on my Z Ultra with no errors however...
when trying to install unbuntu with Complete linux installer I'm getting the the error below.
I get the same error with kali
Anybody seen this before?
[email protected]:/ $
[email protected]:/ $ cd /sdcard/ubuntu
[email protected]:/sdcard/ubuntu $ su
/system/bin/sh: su: not found
s.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img <
sh: /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh: Permission denied
127|[email protected]:/sdcard/ubuntu $
cheers
murf