Adb:command not found ubuntu - Nexus 7 Q&A, Help & Troubleshooting

I got a new nexus 7 to day and I'm trying to install cwm and when I try to Adb terminal gives Adb command not found. Help please?
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

Did you install the Android SDK on your PC first? There are other sources of ADB, too. ADB is not built in on Ubuntu. Or, are you doing this on your N7?

I have all that installed. I have the Adb file and the fast boot file and I cd'd to them and when I try to use the "Adb reboot bootloader" command I get Adb command not recognized.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

Are you actually using a capital A as in Adb? That would not work.

No that's just how my phone is correcting it.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

Just remembered something... adb is a 32-bit app. You need to install a 32-bit library on a 64-bit machine to get it to run. Can't remember the name off the top of my head...will try to find it.
---------- Post added at 11:55 PM ---------- Previous post was at 11:50 PM ----------
sudo apt-get install ia32-libs ... see if that works for you...it will take a while to install.

Okay, I'll try that when I can. Thanks. Is there a way for me to mount my n7 on here as mtp?
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

spitfire2425 said:
Okay, I'll try that when I can. Thanks. Is there a way for me to mount my n7 on here as mtp?
Click to expand...
Click to collapse
Have had no luck with MTP on Ubuntu myself. To get files to my N7 without adb, I either use a USB stick with an OTG cable or the AirDroid app.

I'd try some kind of cloud storage but I don't have Internet access which makes things that much harder.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

spitfire2425 said:
I don't have Internet access which makes things that much harder.
Click to expand...
Click to collapse
I feel for you as I am in the same boat much of the time. Makes life hard.

Try "./adb ...." etc
Otherwise you will need to "chmod +x adb", then try the above.
Good luck!

./adb worked! Thank you.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

Related

Flashing bootloader without a computer(rooted)

I've downloaded redbend_ua and the clockwork recovery image. They're both currently on my sdcard's root. I'm trying to copy redbend_ua, but there's no 'cp' command???
I've been a Linux SysAdmin for over 5 years, so I'm comfortable on the command line. Where's cp? Is there an easy way to install bash 3?
Sent from my SPH-D700 using XDA App
I can't link the post with tapatalk, but detailed instructions are in a post labeled "Clockwork recovery no computer method"
By default the cp command isn't included in android... it is included in busybox. There is an app on the market, and the one click roots install it by default. Without busybox the cat command is used as so: cat > .
Sent from my SPH-D700 using Tapatalk
Wow... I'm embarrassed I didn't try that. I'm usually against piping cats but sfobv that's what is needed.
Sent from my SPH-D700 using XDA App

[Q] ADB freezes when taping commands

I had to restore my Iconia, so i used the acer.Update.zip, then i flashed my system.img using connectbot directly from my tablet, then i did an hard-reset, now I need to push wifi modules.
I installed the android sdk and then i installed iconia drivers too on my Desktop PC running Windows Vista x32 (i know it sucks but right now i can't change os).
I run adb with the devices command and it recognizes my iconia, then i try to run any other command, as adb install C:\my.apk or adb shell and nothing happens...
If I try to close the shell it closes but the abd.exe process doesn't close even if I use the task manager, I have to reboot the PC.
Someone knows what to do, I yet googled but i haven't found anything...
excuse me for my bad english...
Well first off for your wifi modules you don't need adb any root file explorer will work. Put the modules on your SD card then copy them and go to system/lib/modules miunt the system as rw and paste them. Then reboot.
Sent from my PC36100 using XDA Premium App
The problem is that I haven't it and I can't install any apk without adb!
smaury said:
The problem is that I haven't it and I can't install any apk without adb!
Click to expand...
Click to collapse
Why can't you install apks without adb if your talking about gingerbreak just email it to yourself no adb required
Sent from my PC36100 using XDA Premium App
How can I download & install APKs if I haven't a filemanager and I can't connect to the internet?
Hmmmm. Well i would say restore with the Chinese update get a file.manager installed then flash your images that way your file.manager is installed I know.long work around but at work and don't have adb in front of me
Sent from my PC36100 using XDA Premium App
Is there a filemanager in the chinese update or at least wifi will work, i don't remember?
Yes Chinese has working wifi.
Sent from my PC36100 using XDA Premium App
Thank you i'll do that tonight!

[Q] Camera save to SDcard by default?

Is it possible for the camera to save to the SD card by default?
never mind...found it
Mind posting the solution in case anybody else was wondering the same thing?
Sent from my XT907 using xda app-developers app
Jersey846 said:
Mind posting the solution in case anybody else was wondering the same thing?
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
look into camera settings. )
or for hardcore users
run script in terminal
mount -o bind /mnt/sdcard0/dcim /mnt/external1/dcim
serraxer said:
look into camera settings. )
or for hardcore users
run script in terminal
mount -o bind /mnt/sdcard0/dcim /mnt/external1/dcim
Click to expand...
Click to collapse
Seems not possible for me, "OPERATION DENIED" weird thing, being rooted at JB Eclipse ROM.
Open the camera
hit the gear.
hit storage location
hit SD Card
I'm on the Eclipse ROM as well. I entered "su" and gained the root terminal, typed the command, and received a "too long key sequence". I'm not the greatest at terminal commands, obviously.
Sent from my XT907 using xda app-developers app
EDIT********* at 3:29 pm
OK! Fixed it. Enter "su"
Then:
mount -o bind /mnt/sdcard/dcim /mnt/external1/dcim
skippid said:
I'm on the Eclipse ROM as well. I entered "su" and gained the root terminal, typed the command, and received a "too long key sequence". I'm not the greatest at terminal commands, obviously.
Sent from my XT907 using xda app-developers app
EDIT********* at 3:29 pm
OK! Fixed it. Enter "su"
Then:
mount -o bind /mnt/sdcard/dcim /mnt/external1/dcim
Click to expand...
Click to collapse
Thanks for the answer, still can't see the files in the external sdcard. Now folders are merged and. And can't see external SD dcim files.
grtechguy said:
Open the camera
hit the gear.
hit storage location
hit SD Card
Click to expand...
Click to collapse
After all that, I already had it to store to sd card.. Oh me...
Sent from my XT907 using xda app-developers app
Jersey846 said:
After all that, I already had it to store to sd card.. Oh me...
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
Yes but thats in stock camera, im using ECLIPSE ROM camera different to stock. You cant choose the External SD as your default storage location. :S Ideas?

Nexus 7 LTE Sideload

So Ive been following this tutorial:
http://www.androidauthority.com/man...kitkat-nexus-7-20122013-wifi-nexus-10-317138/
and I'm stuck at Step 9.
I'm using Ubuntu and when I go to terminal, I have no idea on how to "navigate to platform tools". I think I did, I'm not sure, but when I typed in "adb sideload kitkat", it doesn't recognize the term "adb".
Can anyone help me with this, please? :/
We can chat with Google+ to make this quicker!
sudo apt-get install android-tools-adb android-tools-fastboot
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
---------- Post added at 09:33 PM ---------- Previous post was at 09:29 PM ----------
sudo apt-get install nautilus-open-terminal to open folders in the terminal.
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
---------- Post added at 09:35 PM ---------- Previous post was at 09:33 PM ----------
platform-tools right click open in a terminal
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
xMoKax said:
So Ive been following this tutorial:
http://www.androidauthority.com/man...kitkat-nexus-7-20122013-wifi-nexus-10-317138/
and I'm stuck at Step 9.
I'm using Ubuntu and when I go to terminal, I have no idea on how to "navigate to platform tools". I think I did, I'm not sure, but when I typed in "adb sideload kitkat", it doesn't recognize the term "adb".
Can anyone help me with this, please? :/
We can chat with Google+ to make this quicker!
Click to expand...
Click to collapse
In Ubuntu, Ctrl + Alt + T to open terminal
Then use the command cd to navigate to the platform-tools directory.
Example:
cd ~/Desktop/sdk/platform-tools
platform-tools is the directory (folder) that houses the programs adb and fastboot. It's part of the sdk you downloaded from Google in the "What you need" portion of the guide.
Sent from my Nexus 6 using Tapatalk 4

Need someone on Mi9 to extract boot.img. Instructions included

I need someone running mi9 to upload there boot.img for a rom i am working on.
open adb terminal on your computer, and do these commands
adb shell
su
mkdir /sdcard/Mi9
dd if=/dev/block/mmcblk0p14 of=/sdcard/Mi9/boot.img
ok now it is on your internal sdcard in a folder called Mi9.
Please upload it
drakeymcmb said:
I need someone running mi9 to upload there boot.img for a rom i am working on.
open adb terminal on your computer, and do these commands
adb shell
su
mkdir /sdcard/Mi9
dd if=/dev/block/mmcblk0p14 of=/sdcard/Mi9/boot.img
ok now it is on your internal sdcard in a folder called Mi9.
Please upload it
Click to expand...
Click to collapse
I have it in a zip! I am just waiting for it to upload!
Awesome. Thanks
Sent from my SAMSUNG-SM-N900A using xda app-developers app
I don't know whats going on but it doesn't seem to want to upload. I can always email it or something if nothing else.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
---------- Post added at 10:40 PM ---------- Previous post was at 10:36 PM ----------
drakeymcmb said:
I need someone running mi9 to upload there boot.img for a rom i am working on.
open adb terminal on your computer, and do these commands
adb shell
su
mkdir /sdcard/Mi9
dd if=/dev/block/mmcblk0p14 of=/sdcard/Mi9/boot.img
ok now it is on your internal sdcard in a folder called Mi9.
Please upload it
Click to expand...
Click to collapse
I hope this link works instead.
https://www.dropbox.com/s/wel0afz00dxmsof/boot.zip
Yes it does. Thank you.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Somehow i double posted the link. oops
here is mine if you need from another phone https://www.dropbox.com/s/j7xp8o402mw6l5x/boot.img
Let me know if you still need my boot.img
thats all I need. Will start working on it somemore when I get home.
Sent from my SAMSUNG-SM-N900A using xda app-developers app

Categories

Resources