- exec '/system/bin/sh' failed: No such file or directory

Pametni telefoni, tableti, netbook prijenosnici...

Moderator/ica: Moderatori/ce

Avatar
PunkBastard
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Spol: M
OS: Debian 7 Wheezy
Lokacija: wonderland

Re: - exec '/system/bin/sh' failed: No such file or director

Post Postao/la PunkBastard »

Promijeni ovo:

Kod: Označi sve

if test -z "${JAVA_HOME}"
    then
        if test "${system64}" = "x86_64"
        then
             export JAVA_HOME=/usr/lib/jvm/default-java
             
        else
             export JAVA_HOME=./x10flasher_lib/linjre32
             
        fi
u ovo:

Kod: Označi sve

if test -z "${JAVA_HOME}"
    then
        if test "${system64}" = "x86_64"
        then
             export JAVA_HOME=/usr/lib/jvm/linjre64
             
        else
             export JAVA_HOME=./x10flasher_lib/linjre32
             
        fi
Pretpostavljam da imaš 64-bitni sistem.
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.
Tomislav001
Postovi: 858
Pridružen/a: 21 lip 2012, 20:36

Re: - exec '/system/bin/sh' failed: No such file or director

Post Postao/la Tomislav001 »

slika

jesam, i na drugom kompu mi isto javlja za taj libusb
I nema linjre64 u tom folderu
sve foldere sto ima sam probao
Avatar
PunkBastard
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Spol: M
OS: Debian 7 Wheezy
Lokacija: wonderland

Re: - exec '/system/bin/sh' failed: No such file or director

Post Postao/la PunkBastard »

pface
Piše "JAVA_HOME", znači to nije file, to je folder, samo napravi to što sam napisao:
export JAVA_HOME=/usr/lib/jvm/default-java
u ovo:
export JAVA_HOME=/usr/lib/jvm/linjre64
čini mi se u redu taj tvoj linjre64 folder, ima /bin/java (execuable) i ne bi trebalo biti problema nakon toga. Ako ima, morati ću više pažnje posvetiti libusb-u.
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.
Tomislav001
Postovi: 858
Pridružen/a: 21 lip 2012, 20:36

Re: - exec '/system/bin/sh' failed: No such file or director

Post Postao/la Tomislav001 »

Opet je isto

To:

Kod: Označi sve

usr/lib/jvm/linjre64
sam ja prebacio tamo iz flashtoola zato što sam mislio da nemože čitati libusb od tamo
ipak mislim da je libusb problem
Avatar
PunkBastard
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Spol: M
OS: Debian 7 Wheezy
Lokacija: wonderland

Re: - exec '/system/bin/sh' failed: No such file or director

Post Postao/la PunkBastard »

A jel ti instaliran taj jre ? Mislim, nebi li to trebao imati uz Javu ?
I probaj ovo: http://askubuntu.com/questions/366336/h ... bx-library
Prije toga ono vrati da pokazuje na libjre64 iz flashtool foldera.
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.
Tomislav001
Postovi: 858
Pridružen/a: 21 lip 2012, 20:36

Re: - exec '/system/bin/sh' failed: No such file or director

Post Postao/la Tomislav001 »

to je za neku stariju verziju,za ovu ne funkcionira
Avatar
PunkBastard
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Spol: M
OS: Debian 7 Wheezy
Lokacija: wonderland

Re: - exec '/system/bin/sh' failed: No such file or director

Post Postao/la PunkBastard »

Meni se ne čini da to ima ikakve veze sa verzijom, problem je isti, zeza zbog "JAVA_HOME" i fali libusb.

Kod: Označi sve

Copy /usr/local/lib/libusb-1.0.so.0.1.0 to FlashTool/x10flasher_lib/linux/lib64 and FlashTool/x10flasher_lib/linux/lib32.

Search the following lines in Flashtool script

ln -sf libusbx-1.0.so.0.1.0 ./x10flasher_lib/linux/lib32/libusbx-1.0.so
ln -sf libusbx-1.0.so.0.1.0 ./x10flasher_lib/linux/lib64/libusbx-1.0.so
Change them to

ln -sf libusb-1.0.so.0.1.0 ./x10flasher_lib/linux/lib32/libusbx-1.0.so
ln -sf libusb-1.0.so.0.1.0 ./x10flasher_lib/linux/lib64/libusbx-1.0.so
Now run the flashtool, you will be good to go.

Note:

Who are getting JAVA_HOME NOT SET error before it, do the following

This will set variable for all user

sudo gedit /etc/profile.d/java.sh

paste if you installed oracle jdk, change accordingly if you are using open jdk

export JDK_HOME=/usr/lib/jvm/java-7-oracle
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
Then in terminal run:

sudo chmod +x /etc/profile.d/java.sh
source /etc/profile.d/java.sh
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.
Tomislav001
Postovi: 858
Pridružen/a: 21 lip 2012, 20:36

Re: - exec '/system/bin/sh' failed: No such file or director

Post Postao/la Tomislav001 »

To sam napravio ali u ovoj skripti koju ja imam nema :

Kod: Označi sve

ln -sf libusbx-1.0.so.0.1.0 ./x10flasher_lib/linux/lib32/libusbx-1.0.so
ln -sf libusbx-1.0.so.0.1.0 ./x10flasher_lib/linux/lib64/libusbx-1.0.so
niti ima nešto slično tome

njegova ne paše
Avatar
PunkBastard
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Spol: M
OS: Debian 7 Wheezy
Lokacija: wonderland

Re: - exec '/system/bin/sh' failed: No such file or director

Post Postao/la PunkBastard »

Aha
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.
Tomislav001
Postovi: 858
Pridružen/a: 21 lip 2012, 20:36

Re: - exec '/system/bin/sh' failed: No such file or director

Post Postao/la Tomislav001 »

Našo sam neki divlji rom za a10 tablete i flasho ga sa live suite-om :thmb-up :thmbs-up :-D :lol: 8-) ::bravo
i konačno sam ga uspio upalit,ali je touch screen naopako :?
Odgovori