• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Please Help! (Linux)

stuck on the last part in getting controlbear to run on linux, keep getting this error that stops me from getting any further

sh: 1: .tmp/fastboot: not found
Starting up......
Testing ADB connection
sh: 1: .tmp/adb: not found

i feel like im really close to getting this to work for being a linux noob...
 
Did you do

chmod 755 ControlBear adb fastboot

after using the cd command to navigate to the directory?
 
sudo apt-get install android-tools-adb && sudo apt-get install android-tools-fastboot

su

adb start-server

I am assuming you are using apt.
 
I just remembered something...


open terminal and type

uname -r

see if it says i686 or x86_64. If its x86_64,

sudo apt-get install ia32-libs

And also make sure you have jdk installed
 
LOL!

And some people think doing this on Windows is a PITA.

At least Linux users don't need to install drivers. ;)

The good news is that the guys at unlimited.io love Linux so you won't have any problem getting help from them on their IRC channel if you need it.

ramjet73
 
It's not complicated.

But the way he is trying to do it is lol.

If he won't install adb (my way descibed above) he needs to cd to the directory containing the adb file and start it with ./adb start-server with root privlidges.

./tmp is invaled because tmp is a folder.

If anything he needs to cd /tmp

Then sudo ./adb start-server (assuming adb is in /tmp, verified by cd /tmp ls)

Once adb is running it's just typing ./ControlBear and following the on screen instructions.
 
still stuck on this.. thanks for the feedback though.

currently all my files are in /home/user/Downloads/soff

did everything up to su because i wasnt able to put my password in resulting to a
su: Authentication failure

tried to do a "sudo ./adb start-server" in the directory where my files are at (one above) and i get.

sudo: unable to execute ./adb: No such file or directory.

Even though adb is in that folder.
 
still stuck on this.. thanks for the feedback though.

currently all my files are in /home/user/Downloads/soff

did everything up to su because i wasnt able to put my password in resulting to a
su: Authentication failure

tried to do a "sudo ./adb start-server" in the directory where my files are at (one above) and i get.

sudo: unable to execute ./adb: No such file or directory.

Even though adb is in that folder.

Do you have java installed? You need java to operate adb...you also need the package ia32-libs if you're on a 64bit OS...
 
If you can't get root privilages, it's not gonna work. Period.

How do you do anything on your linux box without a sudo password? :confused:
 
Here's a thought also. If you're on Ubuntu/Debian...

Its not just su

You need to sudo su to become root.

else just run sudo ./ControlBear
 
Here's a thought also. If you're on Ubuntu/Debian...

Its not just su

You need to sudo su to become root.

else just run sudo ./ControlBear

No you don't. Just type su then the password.

If by chance you are running a live cd, just type su and it will drop you to a root prompt. No passwd needed.
 
No you don't. Just type su then the password.

If by chance you are running a live cd, just type su and it will drop you to a root prompt. No passwd needed.

Really...? Everytime I've done su then entered my password on a Debian/Ubuntu box...it says authentication failed...once I do sudo su...it works fine. *shrugs* I guess it depends on the distro and sudoers file.

I know on my current install, its sudo su.

On my previous arch install, it was su.
 
i had to sudo su to get root lol

still no luck, this linux stuff really confuses me.

i've gotten into root and i did the adb start-server, i also installed and did the other things suggested. but i still get:
sh: 1: .tmp/fastboot: not found
Starting up......
Testing ADB connection
sh: 1: .tmp/adb: not found

should i move my files into another area?
 
honestly, mine were in /home/chris/ControlBear

Then I cd'd into the folder by doing

cd ~/ControlBear

then sudo ./ControlBear

Or if you're already root, ./ControlBear

Just make sure you chmod the files like I mentioned earlier, that has to be done as a regular user, I believe...
 
I'd put them somewhere easy like /home/username/Downloads

Then the command would be cd /home/username/Downloads

Then su (sudo su for some I guess)

Then ./ControlBear
 
I'm having the exact same problem:

sh: 1: .tmp/fastboot: not found
Starting up......
Testing ADB connection
sh: 1: .tmp/adb: not found


I've run the chmod command using both my regular account and SU but I'm still getting this issue.

I've got ADB and java installed and I can see my device when I run adb devices.

Any idea ?

Thanks for any help,
 
I'm having the exact same problem:

sh: 1: .tmp/fastboot: not found
Starting up......
Testing ADB connection
sh: 1: .tmp/adb: not found


I've run the chmod command using both my regular account and SU but I'm still getting this issue.

I've got ADB and java installed and I can see my device when I run adb devices.

Any idea ?

Thanks for any help,
Because you're not issuing the command in the right folder.

Issue this command:
Code:
sudo updatedb && locate fastboot
Paste the results here.
 
Because you're not issuing the command in the right folder.

Issue this command:
Code:
sudo updatedb && locate fastboot
Paste the results here.
sh: 1: .tmp/adb: not found
root@paul-VirtualBox:/home/paul/Data# sudo updatedb && locate fastboot
/home/paul/.local/share/Trash/files/fastboot
/home/paul/.local/share/Trash/info/fastboot.trashinfo
/home/paul/Data/fastboot
/home/paul/android-sdk-linux/platform-tools/fastboot
/lib/udev/rules.d/70-android-tools-fastboot.rules
/usr/bin/fastboot
/usr/share/doc/android-tools-fastboot
/usr/share/doc/android-tools-fastboot/changelog.Debian.gz
/usr/share/doc/android-tools-fastboot/copyright
/var/cache/apt/archives/android-tools-fastboot_4.2.2+git20130218-0ubuntu2+1~webupd8~precise_amd64.deb
/var/lib/dpkg/info/android-tools-fastboot.list
/var/lib/dpkg/info/android-tools-fastboot.md5sums
/var/lib/dpkg/info/android-tools-fastboot.postinst
/var/lib/dpkg/info/android-tools-fastboot.preinst
root@paul-VirtualBox:/home/paul/Data#

This is where I run ControlBear:

root@paul-VirtualBox:/home/paul/Data# ./ControlBear
========= ControlBear 0.11 beta for JuopunutBear S-OFF ==========
(c) Copyright 2012 Unlimited.IO
If you have acquired this software from anywhere
other than our website this version may be out of
date and unsupported. Please see our website for
instructions on how to use this tool and for support.
This program may not be redistributed or included in other
works without the express permission of Team Unlimited.

Unlimited.IO | team@unlimited.io

sh: 1: .tmp/fastboot: not found
Starting up......
Testing ADB connection
sh: 1: .tmp/adb: not found


Yes I am a linux noob ! :)

Thanks for your help.
 
We can sort this out very quickly if you can install TeamViewer on your machine - I'm a long time Linux user/administrator, and I can help you pretty quick - looks like some of your folders are set up incorrectly, but we'd have to go back & forth on here for a bit to get it going.

If you want to go the Teamviewer route, just install the program by double-clicking on it, and send me "Your ID" and "Password" via a private message on here.
 
Oh you're using virtualbox? Why? Virtual machines do not have the same access to the physical resources that "regular" operating systems do. I really would highly recommend against issuing low-level commands to your phone or computer through a virtual machine.
 
Back
Top Bottom