Ubuntu 12.04 Won't Recognize Device - Nexus 4 Q&A, Help & Troubleshooting

During the root process I'm not able to find the device using command ./adb-linux devices. I'm following this guide.
http://nexus4root.com/nexus-4-root/how-to-root-nexus-4-windowsmac-osxlinuxubuntu/

Have you got the latest version of adb?
Type 'adb version' it should be 31.
Sent from my Nexus 4 using xda app-developers app

Related

Adb:command not found ubuntu

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

ADB sideload noob

I've never used it so I've come here to make sure I'm on the right track.
Alright here are the instructions and it should tell you what I'm trying to do
From the home page of TWRP, select Advanced, then select ADB Sideload. From Terminal on the computer, change directory to where you have the Ubuntu images saved. Type “adb sideload quantal-preinstalled-armel+mako.zip” first. Once that finishes, type “adb sideload quantal-preinstalled-phablet-armhf.zip”. This process will take some time. Once it completes, tap Reboot System and wait.
You now have Ubuntu 12.10 Touch on your Nexus 4.
When I click on adb sideload it asks for some basic wipes.
Does it seem like I'm on the right track?
Here's a link to the instructions
http://m.pocketnow.com/2013/02/22/install-ubuntu-nexus-4
Sent from my Nexus 4 using xda app-developers app
Tunderpimp said:
I've never used it so I've come here to make sure I'm on the right track.
Alright here are the instructions and it should tell you what I'm trying to do
From the home page of TWRP, select Advanced, then select ADB Sideload. From Terminal on the computer, change directory to where you have the Ubuntu images saved. Type “adb sideload quantal-preinstalled-armel+mako.zip” first. Once that finishes, type “adb sideload quantal-preinstalled-phablet-armhf.zip”. This process will take some time. Once it completes, tap Reboot System and wait.
You now have Ubuntu 12.10 Touch on your Nexus 4.
When I click on adb sideload it asks for some basic wipes.
Does it seem like I'm on the right track?
Here's a link to the instructions
http://m.pocketnow.com/2013/02/22/install-ubuntu-nexus-4
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
There's a easier way to install ubuntu on the Nexus 4.
Watch this video guide to do so and you should get it in no time.
http://qbking77.com/development/how-to-install-ubuntu-touch-developer-preview-on-nexus-devices/
MAKE SURE YOU MAKE A BACKUP!
Will do, I always back up =)
Sent from my Nexus 4 using xda app-developers app

Help!!!!! Urgent

My friend has no operating system on his phone and he needs to put a software on his phone using team win recovery mount usb storage but his pc won't detect his device ? Would really appreciate some help any solutions
Also he has tried to flash stock and root option within the nexus root toolkit but this also gets stuck at bootloader stage as the computer does not know the device is connected.
Look for the drivers in one of the stickies and install them, then everything should work properly.
1. Mount usb wont work on the nexus 4, and it isnt meant to.
2. Dont use a toolkit
If you've got access to twrp this is what you need to do:
1. Setup adb: http://www.redmondpie.com/how-to-set-up-android-adb-and-fastboot-on-windows-tutorial/
2. Install Koush's universal adb driver (google this for the download)
3. Put the phone into twrp
4. Download a rom on your pc and move it to your desktop. Rename it to "rom.zip".
5. Open a command prompt window and run the following commands:
Code:
adb devices
If your phones serial number shows up, continue. If not, reinstall drivers.
Code:
cd Desktop
adb push rom.zip /sdcard/
6. After its finished pushing, go to install within twrp and flash it.
Thank you it is working now
Sent from my HTC Desire X using xda app-developers app
waza97 said:
Thank you it is working now
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Did you use my instructions, or did you just use a toolkit instead?
Your instructions thanks so much
Sent from my HTC Desire X using xda app-developers app

root china zte U791 with adb on ubuntu

Since I have found many people with problems in "accessing" some android phones from China, I post here few steps I did to succesfully root my ZTE U791 Android 2.3.5 with ADB (Android Debug Bridge) from SDK tools:
1. connect your ZTE device (or any cheap Xling-Ling pda) to the pc (Ubuntu os) with "usb debugging" enabled.
2. run "lsusb" in the terminal shell to find the idVendor: the first 4 numbers #### in the ID field. For exemple, if ID 1782:5d04 Spreadtrum Communications Inc., the idVendor is 1782,
3. download and extract SDK tools from Developer Android website,
4. edit/create the file adb_usb.ini running "echo 0x1782 >> ~/.android/adb_usb.ini", i.e, insert a line in the adb_usb.ini file with your idVendor device as 0x####.
5. go to the platform-tools directory in your "SDK tools" directory.
6. run "sudo ./adb kill-server" and "sudo ./adb start-server" just after.
7. run "./adb devices" and you will see a message output like this:
List of devices attached
19761202 device
Now you are able to access your zte u791 xing-ling device with ADB commands.
I wish this procedure works for any xing-ling device.
Nice little guide. Just thought I'd add that this looks like it will work on any Linux distro.
well done!
Sent from my GT-P1000 using xda app-developers app
p1000haha said:
well done!
Sent from my GT-P1000 using xda app-developers app
Click to expand...
Click to collapse
Very nice! I wish you could now root your device with some root-break tool. In my case, I can not.

Find out android version without touchscreen?

I have a note 3 and a galaxy mega. Both screens broken. How can I Find out the android version without using the touchscreen?
Sent from my SM-N900V using XDA Free mobile app
Plug it in to the computer and type: "adb shell getprop ro.build.version.sdk" into the command prompt.
Baconer said:
Plug it in to the computer and type: "adb shell getprop ro.build.version.sdk" into the command prompt.
Click to expand...
Click to collapse
Ok.thanks. You guys know.all.the commands
Sent from my SM-N900V using XDA Free mobile app

Categories

Resources