adb devices command returns no devices - Xoom Q&A, Help & Troubleshooting

I have followed the tutorial (http://forum.xda-developers.com/showthread.php?t=1170760) after reading through it several times to unlock and root stock xoom 3.2. when i get to the adb devices command it returns me to the prompt with no devices returned or shown. i have android sdk windows in root of C:. i have rootboot.img, superuser.apk & su binary in a xoom folder in my downloads folder. i open the cmd in the download folder wherein resides rootboot.img, superuser.apk & su binary and type adb devices and nothing. i can see the xoom in explorer so i assume the usb drivers are there. i do have a yellow flag in other devices in device manager-other devices that says MZ604. but i can find no drivers anywhere for it though i have scoured the web for 2 days. i am at a loss as i have tried to perform this root for 2 days using all of my adb noob skills, but have had no luck as of yet. any suggestions? win7, stock xoom 3.2 wifi, pretty computer savvy except for adb
Thanks for any help as i only have 4 days of return left in case of brickage, which i am not so sure i would do inasmuch as it would be my fault...

follow-up
i have since uninstalled the "other device" instance, copied the superuser, su and rootboot to platform tools and re-tried, but no joy. tried with elevated admin privileges, etc., still no joy. next i will stand on one foot with a sparkler in my...ear and see how that goes. there must be a simple solution that i am too dense to see: check list 1-usb debugging on...check 2-necessary files Xoom USB drivers and Fastboot, boot (kernel) partition and Superuser.apk and su binary...check 3-Place rootboot.img, superuser.apk & su binary in the same place you will open your command window...check (hell, i put them all over and no place works)...check 4-read this bad boy cover to cover 3 times (http://forum.xda-developers.com/showthread.php?t=879701)...check 5- open command window in 10 different places where the files above are...check 6-type in adb devices and get device returned...(loser klaxton sound)

I had the same problem. And also saw my Xoom as the MZ#. I just reinstalled the drivers. Worked fine after that. If all else Fails..try rebooting the pc first...sometimes dumb crap like that is all it takes. Once you see it in adb the rest is easy.
Took me awhile to get mine working. Had all the adnroid SDK stuff installed. And was in the c:\android-sdk-windows\platform-tools\ directory with all the files for rooting there while in command prompt. I thought I had the right drivers installed cause it could see my Xooms drives on USB. Guess not, cause once i Just reinstalled the drivers and unplugged and plugged back in the device and boom. I saw it connect. XD felt great to see that.
Sent from my Xoom using XDA Premium App

I had the same problem as you, this is what I did:
1. Activate USB Debugging
2. Disconnect pad from computer
3. You need the Moto Drivers - Read this thread to START you - http://forum.xda-developers.com/showthread.php?t=981578
4. Restart computer
5. Connect pad

big flamingo said:
I have followed the tutorial (http://forum.xda-developers.com/showthread.php?t=1170760) after reading through it several times to unlock and root stock xoom 3.2. when i get to the adb devices command it returns me to the prompt with no devices returned or shown. i have android sdk windows in root of C:. i have rootboot.img, superuser.apk & su binary in a xoom folder in my downloads folder. i open the cmd in the download folder wherein resides rootboot.img, superuser.apk & su binary and type adb devices and nothing. i can see the xoom in explorer so i assume the usb drivers are there. i do have a yellow flag in other devices in device manager-other devices that says MZ604. but i can find no drivers anywhere for it though i have scoured the web for 2 days. i am at a loss as i have tried to perform this root for 2 days using all of my adb noob skills, but have had no luck as of yet. any suggestions? win7, stock xoom 3.2 wifi, pretty computer savvy except for adb
Thanks for any help as i only have 4 days of return left in case of brickage, which i am not so sure i would do inasmuch as it would be my fault...
Click to expand...
Click to collapse
check out the "Idiot's Guide to Flashing..." in the Development section. http://forum.xda-developers.com/showthread.php?t=1130996 Follow the steps there, except substitute the actual rooting section from the thread you quoted for the same portion (step #5), but also using the files in jase33's post--the Idiot's Guide was for rooting from HC3.1 and you are coming from 3.2.
Most important...you have to have the files you will be flashing through ADB (only img files, never zip files!) in your platform tools folder (sdk)...you can't just change directory. It sounds like you have a few issues going on at the same time, so I suggest you start over, get everything prepared in advance, run through your steps, then go for it.
On edit, I see you put all your files in one place...good.
Best of luck!

thanks to all
i have now attempted each of the methods above, but am having no luck getting adb to recognize my xoom. i have rebooted both laptop and xoom several times while uninstalling and reinstalling drivers, but still no listed adb devices. i feel it is something simple. i have installed everything you can download and install through sdk manager. i have no experience with sdk or adb so i don't know if i have too much or too little of whatever in there.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
two captures, i don't know what to do about mz604. i can move files around and interact with the xoom from the laptop all i want, so maybe it is unimportant...maybe not?
to summarize: I WENT BACK (TWICE) and removed xoom and all sdk things rebooted and started anew. result: the same as originally posted. i am officially stumped and any help would be greatly appreciated.

problem solved
had to download 64 bit driver from motodev arcanely called handset drivers
View attachment Motorola_End_User_Driver_Installation_5.2.0_64bit.msi.7z
thanks to all again and wish me luck as i hopefully end up with a rooted device

big flamingo said:
had to download 64 bit driver from motodev arcanely called handset drivers
View attachment 673634
thanks to all again and wish me luck as i hopefully end up with a rooted device
Click to expand...
Click to collapse
Please keep us posted. Good luck!

another problem
i cannot chmod for some reason. this is what it says...
i retried because of the syntax error, but that didn't work either so i am holding right here until someone saves my bacon

solved
syntax error way earlier...all is well and rooted

big flamingo said:
i cannot chmod for some reason. this is what it says...
View attachment 673644
i retried because of the syntax error, but that didn't work either so i am holding right here until someone saves my bacon
Click to expand...
Click to collapse
this is what I have:
after reboot, type;
adb remount
adb push su /system/bin
adb shell
ln -s /system/bin/su /system/xbin/su
chmod 4755 /system/bin/su
exit
adb push Superuser.apk /system/app
This is a different set of instructions, but even following the guide you were using (a bit out-dated), you missed a forward slash. You've really got to watch that syntax. ;^)
On edit: I see you've resolved it. Great!

Related

ADB Access Win x64 (CM10)

Since I can't respond to threads in Developer and I think that this might belong here to answer some folks questions. I have read that a lot of people are having issues with ADB access under Windows x64 using the latest CM10 by h8rift. I found a solution that worked for me and I wish to share it with everyone in case it will work for them. A few critiria:
- Your device is connected via USB cable to your computer
- Your device is listed as "HTC MTP Device" in Windows Device Manager
- When you open a CMD prompt under your Android Directory and type "adb devices", nothing is listed
This is because you have the wrong device drivers installed on your system and it needs to be corrected. This is how I accomplished it.
1. Uninstall the driver completely from your system. This has to be done under the device properties. Under "Action", select "Scan for New Hardware Changes". Your system will see the new device and identify it under "Other Devices" as "One". If Windows tries to install the wrong drivers, you will have to restart all over until the HTC MTP Device driver is completely removed from your system.
2. Install HTC Sync from their website. Once installed, it has to update to the latest version. This is needed to install all additional drivers for SD Card access.
3. HTC One X Drivers will be listed under C:\Program Files (x86)\HTC\HTC Driver\Driver Files (default install location).
4. For ADB access, you will need the drivers located here; download appropriate drivers for your Windows flavor. These are the ADB drivers.
5. Download the zip, and extract. Remember the location of the files. Go into Device Manger, find "One" under "Other Devices" and Update Driver Software. Point to the new directory you made and install. The One X will now be listed in Device Manager as "My HTC" under "Android USB Devices"
6. To verify ADB, open a CMD prompt, point to Android directory and type in "adb devices". Your beautiful HTC One X should be listed.
I am not the maintainer of any of these webpages nor can I guarantee that these pages will exist to the end of time. Those of you wishing to have ADB access under Windows for CM10, this worked well for me. I gathered up this information just by doing a quick search in Google and through the forums.
Thank you to h8rift for CM10 and all the hard work he puts into it.
Will try this when I get home! Thanks.
This worked perfectly for me. Thanks man!
------------------------------------------------------------
HTC One X, CM10-Evita JellyBean, Win7-x64
Not working for me, evertime I scan for hardware changes it tried to install HTC MTP DEVICE, and when I try to update that driver with the new ADB driver, it says it's already installed. Then when I uninstall that driver, I don't see the One devices anywhere, until I scan for hardware changes again, which then repeats the above. What am I doing wrong?
Chrysis said:
Not working for me, evertime I scan for hardware changes it tried to install HTC MTP DEVICE, and when I try to update that driver with the new ADB driver, it says it's already installed. Then when I uninstall that driver, I don't see the One devices anywhere, until I scan for hardware changes again, which then repeats the above. What am I doing wrong?
Click to expand...
Click to collapse
I think I found a fix for that. Let me restart my computer and verify
edit: nope.. nothing so far. mine doesn't even show HTC MTP DEVICE anymore >.>
same i see one when i look for new hardware but it always just auto sets to mtp.
Delete old drivers
The reason for this is that you cannot completely delete existing drivers using device manager. They still exist in the driver store, and are loaded as soon as you scan for hardware changes.
There might be a better way to do this, but here's how I did it:
- uninstall driver in device manager. Don't scan for hardware changes.
- Run a CMD prompt as administrator (right click "Run as Administrator")
- navigate to C:/Windows/system32 which is the location of the driver store
- type pnputil.exe /e
- this will list the drivers that exist in the driver store. They are denoted as oem##.inf
- find the driver that has "HTC Corporation" in the description. Write down the oem##.inf number (ex. oem81.inf)
- type pnputil.exe /d oem##.inf (where ## corresponds to the number of the HTC driver).
This will remove the old driver from the driver store. Now when you scan for hardware changes, it should fail to find a driver and prompt you for a location.
NOTE: I actually had several HTC drivers in the driver store. Its because I've had a few HTC devices over the years. I deleted them all. This may break HTC Sync, I dunno. I don't use it.
Fixed. See post below
For anyone having problems. I finally got it working.
THIS SHOULD BE NO LONGER NEEDED. ROHAN'S NEW AOKP VERSION 2 SHOULD WORK WITH STOCK DRIVERS. IM ASSUMING THIS WILL BE MERGED WITH ANY OTHER AOSP ROMS. IF YOU STILL NEED THIS INFORMATION HOWEVER, I WILL LEAVE IT UP.
1. Uninstall HTC Sync and any HTC sync drivers listed in your "Add/Remove Programs"
2. Delete EVERY driver pertaining to HTC when you run CMD as admin and type "pnputil -e" and then type "pnputil -d oem##.inf" (such as oem13.inf ONLY IF it says HTC or HTC Corporation)
3. Download Deview - 32 bit OR 64 bit, and run as administrator and uninstall ALL disconnected drivers (it won't matter if you uninstall the wrong thing, because it will just reinstall again when you plug in the hardware. make sure your phone IS NOT plugged in)
4. Download ADB drivers 32 bit OR 64 bit. (windows)
**Restart Computer**? (I did just to be safe)
5. Plug in your phone. Go into device manager, and find your device. It should be listed as "One" with a yellow question mark.
6. Right click and update driver software
7. find your USB drivers you downloaded and choose to install those.
your device should now be listed under "Android USB Devices" as "My HTC"
When I did this, my phone skipped being labelled as "HTC MTP Device" all together
If it is not detected in ADB after installing drivers...
1. UNPLUG PHONE
2. Run USBDeview as administrator
3. Uninstall any unplugged devices
4. Restart computer
5. Plug in phone
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and after verifying adb reboot bootloader worked. I thought, well heck. I'm sick of installing a file manager to install a file manager that's already stored on my sdcard.
and to verify it installed (no restart)
I hope this helps someone
done everything, nothing work. sees my HOX only while being ON and thus can't get the cid :/
pet3rs said:
done everything, nothing work. sees my HOX only while being ON and thus can't get the cid :/
Click to expand...
Click to collapse
What exactly are you trying to do? Did you install HTC Sync drivers? This is for using ADB on the old CM10/AOKP, not for rooting your phone
device is already rooted, I need to get adb working because I can't get my cid from fastboot command.
pet3rs said:
device is already rooted, I need to get adb working because I can't get my cid from fastboot command.
Click to expand...
Click to collapse
Boot your phone into fastboot from your bootloader
Sent from my HTC One XL using xda-developers app
i'm in fastboot and type adb shell getprop ro.cid, message says error: device not found. fastboot getvar cid returns CID: none
Found a great way that fixed it for me on Windows 8:
use this tool: http://www.nirsoft.net/utils/usb_devices_view.html to remove all instances of anything that has to do with HTC. Then, follow steps above to scan for new devices, and set the driver accordingly (with USB debugging on on the phone). It should register as "My HTC" and then you will be able to see the device in "adb devices" list.
pet3rs said:
i'm in fastboot and type adb shell getprop ro.cid, message says error: device not found. fastboot getvar cid returns CID: none
Click to expand...
Click to collapse
you can't use adb from fastboot. you use fastboot.exe e.g.
fastboot oem getvar cid
no adb needed.
Guys can u pls help me? I've done the above procedure for installing the drivers on my htc explorer, it all worked, in the device manager panel i can see My htc when i'm in fastboot, and i can see Android bootloader Interface when i'm in the bootloader, but nevertheless I can't run adb shell because it doesn't find the device, and when I run adb device it gives me an embty list, i must use adb in order to attemp to recover the nand that it's probably burned.

[Tutorial] How to install Android SDK/ADB tool & HTC's drivers [BEGINNER FRIENDLY]

[Tutorial] How to install Android SDK/ADB tool & HTC's drivers [BEGINNER FRIENDLY]
[SIZE="+1"]-- Android SDK/ADB tool Tutorial --[/SIZE]​
I decided to create this Beginner Friendly tutorial on how to install SDK tool mainly because recent phones such as the i.e. HTC One X / One X+ are requiring many basic usage of adb command line, and lots of members are having difficulities to have basics adb command to work because their SDK tool is not correctly installed. I won't show you how to make usage of it, there is plenty of How-to's for that purpose all around xda and on the Web.
This is all safe to install on your Windows based computer, and if you can not achieve success with this installation, well obviously, you shouldn't play the hacking game with your device. From now on, I or anyone else on the Internet can not be held responsible if something really bad is happening to you because you didn't read and followed any given instructions letters by letters and you ended with a screwed, pricey and valuable paperweight device. That being said, let's get started.​
Let's GO!
____________________________________________
[SIZE="+1"]-- Enabling USB debugging mode --[/SIZE]
On your phone simply follow this path : Settings -> Developer options -> Turn the option ON -> under Debugging -> tick USB debugging option Debug mode when USB is connected
That's it, done!
____________________________________________
[SIZE="+1"]-- Java Installation --[/SIZE]
This is a prerequisite to have a flawlessly working SDK tool installation.
Click on the following link to download it on Java's website : Free Java Download
On the next page, do not click on Agree and Start Download, instead click on See all Java downloads.
Which should you choose? If you have a 64-bit Windows OS you MUST install the two versions (both 32-bit and 64-bit), otherwise the 32-bit is sufficient for a 32-bit Windows OS.
Before installing the latest version of Java, it is recommended to uninstall all previous Java's installation. (How to -> Remove Older Versions)
Complete the required installation depending of the type of Windows installation.
You are all done for Java.
-- Screenshots for the visual ones --
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
____________________________________________
[SIZE="+1"]-- SDK Tools Installation --[/SIZE]
First step is to download the SDK Manager, to do so click on this link -> Download the SDK
Next locate on the bottom of your screen the USE AN EXISTING IDE, click on it.
On the Get the Android SDK page, tick the I have read and agree with the above terms and conditions box and click on the Download the SDK Tools for Windows button.
Navigate to your Download folder, and locate a file named like this: installer_r21.1-windows.exe (N.B. The r21.1 version was available when I did this how to, your version could be different.)
Double click on the installer_r21.1-windows.exe file to start the installation. Take good note where the file will be installed, generally the default SDK path is : C:\Users\your_session's_name\AppData\Local\Android\android-sdk.
Now, navigate to the path of the SDK installation folder.
Select all (CTRL + A) in this folder and Copy (CTRL +C) them for the next step.
Now you need to create a new folder at the root of your C:\ drive named : AndroidSDK
Open up the newly created folder and Paste (CTRL + V) the previously copied files.
Stay in this folder and double click on the SDK Manager icon.
The SDK Manager will open a new window, click on Deselect All, then tick the following line in Tools : AndroidSDK Platform-tools
Click on Install 1 Package..., accept the license agreement and click on Install let the manager do it's thing.
Click on Done and close the manager's window.
Congrats! You have created successfully your SDK tool!
Wait! Let's clean your computer a bit....
Go back to the previous folder, the one located in this path : C:\Users\your_session's_name\AppData\Local\Android\android-sdk
Click on the Uninstaller, we don't need this one anymore. Don't worry the other AndroidSDK folder won't be deleted.
Voilà! You are done with this part.
-- Screenshots for the visual ones --
____________________________________________
[SIZE="+1"]-- Creating of script file for a fast access --[/SIZE]
Locate the Platform-tools sub-folder in the AndroidSDK folder.
Right click in a empty space of the folder and select in the contextual menu New -> Text Document
Open this new Text Document and Copy/Paste this : c:\windows\system32\cmd.exe
Save this file as : Start SDK.bat
Acknowledge the : If you change file extension... warning.
Right click your new created Start SDK and send a shortcut on your Desktop.
Done! If you try to double click on your Start SDK shortcut, a command window should open with something like these lines :
Code:
C:\AndroidSDK\platform-tools>c:\windows\system32\cmd.exe
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\AndroidSDK\platform-tools>
Success!
____________________________________________
[SIZE="+1"]-- Installing HTC's Drivers --[/SIZE]
This one is very easy, simply download and run the installer and let Windows do the rest. Drivers compatbile 32-bit or 64-bit
Download the Self-install HTCDriver_4.0.1.001.exe/
Make sure your phone is not plugged on your computer via the USB cable.
Simply run the installer of the driver you've just downloaded.
Once the installation is completed, simply plug your phone via your USB cable and Windows "wizard manager" will now detect your phone.
If it doesn't work, unplug your phone and reboot your computer. Then plug back your phone once rebooted.
Done!
-- Screenshots for the visual ones --
____________________________________________
[SIZE="+1"]-- Let's try all this! --[/SIZE]
With your phone plugged on your USB cable...
From your Desktop, double click on your Start SDK shortcut.
In the command window, at the command line : C:\AndroidSDK\platform-tools> type this -> adb devices (Enter)
The serial number of your phone should appear in the command window. If it is the case, then try this again : C:\AndroidSDK\platform-tools> type this -> adb reboot (Enter)
Your phone will now Reboot
If all this worked, you have a successful SDK Tools installation!
-- Screenshots for the visual ones --
This is it, I hope this tutorial was helpful, if you have some sort of problems let me know, I will try to help you at the best of my knowledge. Have fun hacking your Android!!
Lucky Thirteen said:
...if you can not achieve success with this installation, well obviously, you shouldn't play the hacking game with your device.
Click to expand...
Click to collapse
Excellent tutorial... but I disagree with this line. No process is bulletproof and there is no way a tutorial can account for all the variables with Windows.
Which explains why I am now asking for help!
This is my third Android phone and fifth Android device. I've rooted all five and installed multiple ROMs and for the most part have not had too many problems.
I'm currently running Elegancia 5.3.0 on my AT&T One X+ and have a few issues that I'm tired of dealing with. I decided to flash the RUU to go back to stock and also to update to hboot 1.4 which is required for the Blackout ROM I was thinking about trying. The RUU cannot find my phone unless I connect while in the bootloader. Even then though, the RUU flash still fails. Since it cannot see my phone while it's running, I decided to check if ADB can see it. Nope. No luck at all. I have connected with ADB to my device many, many times... but it has been close to a year since the last time I did. I removed all HTC drivers and Sync from Add/Remove Programs, deleted my old version of the SDK and Java and followed your tutorial step-by-step.
My phone still shows up in Device Manager under PORTABLE DEVICES and I can't seem to make it connect any other way.
Please tell me you have a suggestion to help me fix this. I've tried using every combination of search terms I can think of and have had no luck for the past 36 hours.
Finally fixed my ADB problem using these steps in case anyone else runs into it.
This worked great for me after two days of trying to get my phone to connect. I had to uninstall everything related to java, android, and htc, and the link for the htc drivers was dead so I just reinstalled sync manager, but it all works now, much thanks. All this effort was just so I could put my music on the phone, and so that I could do a full backup to my pc without rooting.

[Guide] Root on Linux Mint

Rooting a Xiaomi Mi 4i on Linux Mint 17.1 Rebecca
- This guide might also be relevant for users of Debian and Ubuntu
Disclaimer: I accept no responsibility for any damage you do to your phone, body, life or anything else in the past present or future.
This has been written as I had so much difficulty in getting my Mi 4i rooted. I kept trying to do it in Windows through Virtual Box but kept failing.
1. Enable Developer Options
- On your phone, go to Settings
- About phone
- Keep tapping on the Android version until the message at the bottom says that you are a developer
2. Enable USB debugging
- On your phone, go to Settings
- Additional settings
- Developer options
- USB debugging
3. Install the tools
Code:
sudo apt-get install android-tools-adb
sudo apt-get install android-tools-fastboot
4. Try and see the devices
- Connect the phone to your computer
- Run the following command at the terminal
Code:
adb devices
- It will now say List of devices attached.
- If you see another line with an 8 character identifier such as bf1b6529 then you can skip step 5
5. Add phone to known devices
- Run the following command on the terminal
Code:
echo 0x2717 >> ~/.android/adb_usb.ini
6. Add your computer to trusted devices on your phone
- Enter the following command on the terminal:
Code:
adb devices
- Look on your phone, it should now be asking you if it can add the machine to the trusted devices, or something like that. I'm writing this from memory.
7. Check that adb devices is working
- Enter the following command on the terminal:
Code:
adb devices
- Check that the device ID is there (8 characters such as bf1b6529)
- Check that it says device after it
8. Kill adb
- Enter the following command on the terminal
Code:
adb kill-server
9. Now for the fun. You will need sudo access for this stage.
- Download boot.img to your computer.
- At the terminal, navigate to the directory where you downloaded boot.img, this will probably be ~/Downloads
- At the terminal:
Code:
adb reboot bootloader
- You will now see a screen like the following:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- At the terminal:
Code:
sudo su
fastboot devices
- You will now see your device ID followed by fastboot
Code:
fastboot boot boot.img
- You will now see something like the following:
Code:
downloading 'boot.img'...
OKAY [ 1.022s]
booting...
OKAY [ 0.259s]
finished. total time: 1.281s
10. Restart
- At the terminal enter:
Code:
fastboot reboot
- You should now see a textual boot screen wher you can see it actually carrying out the rooting with boot.img
- Then it should boot as normal into Android
- Check your apps. You should now have SuperSU
Thanks for step no 5. After trying all kind of 51-android.rules guide from stackoverflow and your solution work. Now I can detect my device in Linux Mint.
5. Add phone to known devices
- Run the following command on the terminal
Code:
echo 0x2717 >> ~/.android/adb_usb.ini
Click to expand...
Click to collapse
thanks....
finally i can connect my mi4i to my linux desktop
Thank you for your guide. I assume this will work on Ubuntu 14.04 as well.
Question to step no.9: "Download boot.img to your current dir" => Which directory do you mean? The root of the phone or on my laptop? Sorry for being newbie. Many thanks.
rmsinaga said:
Which directory do you mean? The root of the phone or on my laptop?
Click to expand...
Click to collapse
You need to download boot.img to your laptop. I've updated Step 9 with the following:
- Download boot.img to your computer.
- At the command line, navigate to the directory where you downloaded boot.img, this will probably be ~/Downloads
Click to expand...
Click to collapse
Step one on the path to rooting my m4i was getting adb to work.
kblade29m said:
Thanks for step no 5. After trying all kind of 51-android.rules guide from stackoverflow and your solution work. Now I can detect my device in Linux Mint.
Click to expand...
Click to collapse
After much googling, much time, and trial and error, I had reached this point. Then I come here and here it is! All made simple.
The next hurdle is that adb devices shows the phone with the word "offline," and that is where...
aembleton said:
- Look on your phone, it should now be asking you if it can add the machine to the trusted devices, or something like that. I'm writing this from memory.
Click to expand...
Click to collapse
...I find I wasn't even seeing the message because the flip cover was closed. Doh.
This is my second Android phone, and I rooted and installed CM on the previous one, a Defy+. Still feel very much a novice, and approaching the rooting is quite scary. Among my worries...
Does this method change the recovery?
Does this method, with boot.img, install a new rom, or does it root the exisiting one?
Will everything else be reset/wiped? (well, backups anyway. Of course).
Will Xiaomi updates still work and be installable?
I am considering using method 1 from "Root/Unroot V6.5.x W/out Losing Stock Recovery [Simplified]" (new member: cannot make that a link) . Any comments?
It is so nice to see the Linux, and especially mint-specific, advice here. Thank you!
(My first post here: usual forum-novice disclaimers apply )
I have used this method to root my mi4i.
Quick answer:
1. No
2. It only roots the existing ROM
3. No
4. You need to full unroot 1st from SuperSU before updating, otherwise it will be bootloop
5. Never tried before
rmsinaga said:
I have used this method to root my mi4i.
Quick answer:
... ... ...
Click to expand...
Click to collapse
Great answer! :good:
Thank you very much for attention to every detail. The only thing putting me off going for this straight away is that I am travelling in just over a week, which doesn't give me any margin for making mistakes (if they can be made, I will make them!).
You mentioned having failed to make stuff work in a virtual machine. Did you try Wine? I failed to make the Mi PC manager software run in Wine.
Simple, painless and absolutely effective
aembleton said:
10. Restart[/B]
- At the terminal enter:
Code:
fastboot reboot
Click to expand...
Click to collapse
(response typed from memory)
Code:
# fastboot reboot
<Waiting for Device>
...amd it goes on waiting. Does anybody get any other response on the terminal screen after this?
Anyway, Be Patient! Probably better to make tea or something away from the screen. After several minutes of Fastboot screen on the phone, the process continues as premised...
aembleton said:
- You should now see a textual boot screen wher you can see it actually carrying out the rooting with boot.img
- Then it should boot as normal into Android
- Check your apps. You should now have SuperSU
Click to expand...
Click to collapse
...and all is well.
After the phone had rebooted, I just ctrl-c-ed the fastboot process and exited from the terminal.
Works wonders, thanks!
Could only find ****ty .exe rooting tools that seemed sketchy and don't have windows installed anymore, so this saved me hours.
My computer could find the phone through adb and got authorized, the phone couldn't find my computer through adb though which was strange but it still worked fine. Thanks alot!
Thad E Ginathom said:
4. Will Xiaomi updates still work and be installable?)
Click to expand...
Click to collapse
rmsinaga said:
4. You need to full unroot 1st from SuperSU before updating, otherwise it will be bootloop
Click to expand...
Click to collapse
Just tried this, it does not work.
Disabled root from SuperSU and updated to the newest weekly developer rom, and my device is now in a boot loop.
I'm currently trying to download the stable fastboot rom from the MIUI forums, but their servers are both incredibly slow and unstable. Doesn't go past 100kb/s and the download loses connection after a while and fails to continue the download. If someone could provide a alternative download link that would be great.
EDIT: Found a hidden link on the rom page for the fastboot rom from the miui page. Go to this page and Ctrl-F Mi4i
zenolijo said:
Found a hidden link on the rom page for the fastboot rom from the miui page. Go to this page and Ctrl-F Mi4i
Click to expand...
Click to collapse
Did this work for you?
I also got into a boot loop after installing the latest update. I installed the latest stable version. This worked, but the Play Store won't start.
aembleton said:
Did this work for you?
I also got into a boot loop after installing the latest update. I installed the latest stable version. This worked, but the Play Store won't start.
Click to expand...
Click to collapse
Well, the stable fastboot rom isn't the global version, so i only used it to get my phone running again and then flashed the stable global version. Everything works as expected now.
How to update ROM using fastboot in Linux?
Do you know how to update ROM using fastboot in Linux?
Sorry to bother you as I'm new in this Linux world.
Thank you.
Thank you man, you have guided us to the land of light, you are our moses, krishna, muhammad and so on and so forth. We can flash left and right without second thoughts. Please keep up your efforts. Thank you one more time.
My phone is, as per previous posts, rooted, using this method.
Can I now flash TWRP recovery from Linux?
Hey, this is a method only for Xiaomi Mi4i? I have an Estar Crystal-clearview and wondering if I can root it by this method? I run the terminal with the adb install and then for the list of devices attached, and I started thinking about!
P.s. Just searched ''root with mint'' and your post was first!
Thad E Ginathom said:
Can I now flash TWRP recovery from Linux?
Click to expand...
Click to collapse
Eventually I got around to doing this using Flashify. I followed the instructions here on the MIUI forum. It was simple and straightforward and I now have TWRP recovery.
However, when I tried to use it to do a backup, it said there was not enough space. But it was long past bedtime, and that is another story that I have yet to investigate. There is probably a simple answer, err... make more space! The absence of SD card slot and the limited internal memory is the big frustration about this phone.
But I want to upgrade MIUI --- and I don't want to do it without an easy backtrack to the previous ROM.
[Solved] Step 9 not working
Goto developer options
Check if 'fastboot mode' is enabled
Thanks
Hi aembleton,
Thanks a lot. it worked just fine.
does this replace recovery too ?

OPO not recognized in ADB Devices

Hey guys, I've long had this issue with my OnePlus One and I for the life of me cannot figure it out after searching and reading mad threads/forums.
Computer OS: Windows 7 x64
Problem: OnePlus One NOT RECOGNIZED under command > adb devices.
So I'm following all the instructions possible step by step. I have my OPO in Recovery (TWRP 2.8.6.0) and it won't show up as an ADB Devices...
Yet, noting key parameters here:
- All my drivers are up to date
- My Android SDK is up to date
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Java SE is up to date
FastBoot - Phone is recognized (picture below).
ADB Sideload Mode in TWRP Recovery - ADB Sideload recognizes OPO, but doesn't work still.
But standard ADB is not listed when Recovery is on main page. But I get this prompt whenever the phone boots into recovery or I plug it in via USB when Recovery is active.
This is my command prompt to prove FastBoot recognizes my device, but ADB does not.
What am I doing wrong? Can someone help me? I've noticed this issue as long as I can remember, and have resorted to always having to copy my ROM files through the OS, doing a factory reset, then installing. I have never been able to use ADB Push.
Can someone provide me some pointers?
Thanks!!!
do you have debugging enabled on the phone, and if you do, have you authorized that computer on the phone? (I guess you have already, but just throwing out some ideas you might have forgotten)
CSquared4290 said:
Hey guys, I've long had this issue with my OnePlus One and I for the life of me cannot figure it out after searching and reading mad threads/forums.
Computer OS: Windows 7 x64
Problem: OnePlus One NOT RECOGNIZED under command > adb devices.
So I'm following all the instructions possible step by step. I have my OPO in Recovery (TWRP 2.8.6.0) and it won't show up as an ADB Devices...
Yet, noting key parameters here:
- All my drivers are up to date
- My Android SDK is up to date
- Java SE is up to date
FastBoot - Phone is recognized (picture below).
ADB Sideload Mode in TWRP Recovery - ADB Sideload recognizes OPO, but doesn't work still.
But standard ADB is not listed when Recovery is on main page. But I get this prompt whenever the phone boots into recovery or I plug it in via USB when Recovery is active.
This is my command prompt to prove FastBoot recognizes my device, but ADB does not.
What am I doing wrong? Can someone help me? I've noticed this issue as long as I can remember, and have resorted to always having to copy my ROM files through the OS, doing a factory reset, then installing. I have never been able to use ADB Push.
Can someone provide me some pointers?
Thanks!!!
Click to expand...
Click to collapse
Firstly, uninstall all the drivers for your OPO from device manager and restart the system
Now, follow this link to install drivers >> http://www.technobuzz.net/install-oneplus-one-usb-drivers-windows/
After this, install adb and fastboot files >> http://forum.xda-developers.com/showthread.php?t=2317790
Even I have Android SDK installed on my system for developing apps, however, I used above steps to ensure that my system recognises my OPO
Mr hOaX said:
Firstly, uninstall all the drivers for your OPO from device manager and restart the system
Now, follow this link to install drivers >> http://www.technobuzz.net/install-oneplus-one-usb-drivers-windows/
After this, install adb and fastboot files >> http://forum.xda-developers.com/showthread.php?t=2317790
Even I have Android SDK installed on my system for developing apps, however, I used above steps to ensure that my system recognises my OPO
Click to expand...
Click to collapse
Thanks Mr. Hoax! I will give that a try and report back.
Interestingly in an attempt to use ADB Sideload to install the latest ROM update from scratch, I took a gamble and did a full format/wipe and was able to install the OS using ADB SideLoad. But afterwards, it still didn't come up under ADB Devices...But will try your recommendations and see what happens.
Elkhantar said:
do you have debugging enabled on the phone, and if you do, have you authorized that computer on the phone? (I guess you have already, but just throwing out some ideas you might have forgotten)
Click to expand...
Click to collapse
Yessir, Debugging was enabled through the OS (I don't know of any other way to enable debugging?)
Mr hOaX said:
Firstly, uninstall all the drivers for your OPO from device manager and restart the system
Now, follow this link to install drivers >> http://www.technobuzz.net/install-oneplus-one-usb-drivers-windows/
After this, install adb and fastboot files >> http://forum.xda-developers.com/showthread.php?t=2317790
Even I have Android SDK installed on my system for developing apps, however, I used above steps to ensure that my system recognises my OPO
Click to expand...
Click to collapse
Hey Mr. Hoax. I tried those steps, uninstalled every driver I could associate with any of my Android devices (have an HTC One as a backup) and sadly, ADB is still not recognizing my OPO when I enter "ADB Devices".
However, I still get the Windows prompt. Any clue?
Wug's tookit for bacon hv step by step procedure to install adb n fastboot drivers...gv it a try...i did it myself n it works nice
1+1
CSquared4290 said:
Hey Mr. Hoax. I tried those steps, uninstalled every driver I could associate with any of my Android devices (have an HTC One as a backup) and sadly, ADB is still not recognizing my OPO when I enter "ADB Devices".
However, I still get the Windows prompt. Any clue?
Click to expand...
Click to collapse
After drivers installation is done, you need to reboot your OPO in bootloader(fastboot) mode and type
fastboot devices
And check out if the prompt shows your device serial number.
I see you're using the nexus driver. Perhaps try a Samsung ADB driver. It works with my phone without problems.
I get the same problem with my work PC, while everything works fine at home.
What CSquared4290 says, applies here:
Computer OS: Windows 7 x64
Problem: OnePlus One NOT RECOGNIZED under command > adb devices.
- All my drivers are up to date
- My Android SDK is up to date
The phone is recognised normally under command > fastboot devices.
Symantec Endpoint Protection is running at my work PC. Could this be a reason?
CSquared4290 said:
Hey Mr. Hoax. I tried those steps, uninstalled every driver I could associate with any of my Android devices (have an HTC One as a backup) and sadly, ADB is still not recognizing my OPO when I enter "ADB Devices".
However, I still get the Windows prompt. Any clue?
Click to expand...
Click to collapse
100% agree with the other posters, really delete all of your old USB ADB drivers, including the Google USB driver. Here's a tool I use for that: http://www.nirsoft.net/utils/usb_devices_view.html
Install Samsung ADB drivers, then when you plug your OPO in you should be able to see it in Device Manager as "Android Device" don't let Windows pick the driver. Right click and pick the browse my computer for drivers, then find the Samsung Android ADB Interface, install that. Unplug your phone, then plug it back in...profit? Good luck!
From my OnePlus X rooting guide. It looks like you need to install the universal adb driver linked in #2 and follow the steps in #3.
If you cannot get the connection to work:
1. Check your USB connection, then verify that Android debugging is enabled in settings and that your computer’s RSA fingerprint has been authorized.
2. Still not working? Open Device Manager in Windows and make sure that you don’t have a yellow exclamation point next to something like “Android Device” or “One.” This would indicate a driver problem that must be resolved. Try re-installing the Universal Android ADB Driver for Windows, and make sure to restart your computer. Once you’ve rebooted, if you still have a yellow triangle, right-click on the device and select “Update Driver Software,” then “Search automatically for updated driver software.”
3. If you still have a yellow exclamation point, then try forcing the driver to install:
In Device Manager, right-click on the device and select “Update Driver Software.”
Select “Browse my computer for driver software”
Select “Let me pick from a list of device drivers on my computer”
Select “ADB Interface” from the list
Select manufacturer “Google”
Select “Android Testing Interface Version xxx”
Click “Next.” If you get a warning, select “Yes” to continue and wait for the driver to install properly.
Click to expand...
Click to collapse

[TOOL] MobyDroid (Android Device Manager for Linux, Windows and MacOS)

Hello every one,
MobyDroid is a simple and cross-platform Android Devices Manager.
It runs on any operating system with Java support (Mac OS X, Windows, Linux, BSD, Solaris...).
THIS IS JUST A BETA RELEASE !
I have been running linux from while now. And what I noticed is there is no GUI Android Devices Manager until now (QtADB didn't work for me).
Basicly I kept using ADB command line and kept waiting for someone to make something or some alternatives.
Some day a friend of mine kept complaining about the same problem. After that, I decided to make a simple Apk installer with a graphical user interface. And something lead to another.
And I wanted to share it for any one having the same problem.
So here it is !
Prerequisites
Java Runtime Environment (JRE) 1.8 or later
ADB
BETA
THIS IS JUST A BETA RELEASE !
So you should expect a ton of bugs or crash issues.
if you encounter an issue or have a great ideas please file an issue.
Download
You can download from here.
Authors
Bilux ([email protected])
Link
MobyDroid
https://github.com/ibilux/MobyDroid
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ibilux said:
Hello every one,
MobyDroid is a simple and cross-platform Android Devices Manager.
It runs on any operating system with Java support (Mac OS X, Windows, Linux, BSD, Solaris...).
THIS IS JUST A BETA RELEASE !
I have been running linux from while now. And what I noticed is there is no GUI Android Devices Manager until now (QtADB didn't work for me).
Basicly I kept using ADB command line and kept waiting for someone to make something or some alternatives.
Click to expand...
Click to collapse
this is kinda long term general issue, most of manufacturers had their own app, samsung, htc, lg, and there is no general solution android manager, so this could be a start of a big project. good luck
Sent from my ONE A2005 using Tapatalk
chxei said:
this is kinda long term general issue, most of manufacturers had their own app, samsung, htc, lg, and there is no general solution android manager, so this could be a start of a big project. good luck
Sent from my ONE A2005 using Tapatalk
Click to expand...
Click to collapse
Thank you very much.
As a start, I'm just trying to give back to the XDA and open source community.
Nice work keep up ???
@ibilux
Hi, is this project discontinued?
Any plans for future development?
Thanks!
EuK_V said:
@ibilux
Hi, is this project discontinued?
Any plans for future development?
Thanks!
Click to expand...
Click to collapse
I just didn't have anything to add.
But, if you have an issue or feature, I'll look into it.
ibilux said:
I just didn't have anything to add.
But, if you have an issue or feature, I'll look into it.
Click to expand...
Click to collapse
Thank you, for your reply!
First of all I'd like to say that I am interested more in the "File manager" function of the app. And if you don't mind I have some suggestions:
I am faced with the following: when I start the app I don't have full root access, though "su root permissions" is checked in settings. I can browse the root directory, but cannot create or delete any file or folder. There is a workaround: if I start adb as root from my Ubuntu terminal executing:
adb root
after that I have full root access to my phone. It works this way, but I think since Mobydroid is a gui to adb, it should be able to start adb as root.
Also it would be great if the app could start adb via wifi (I don't know maybe add an option to choose how to connect via usb or network. Now if I start adb via network in terminal executing:
adb connect 192.168.0.101:5555
Mobydroid then works well. Again I need to make some actions outside the app before I start it. (BTW IP address of a device is just an example)
Another thing I'd like to say is that Mobydroid when viewing a device shows symlinks to folders as files and you cannot enter them. On the side of Ubuntu it works well, symlinks to folders work as folders and you can enter them. See my screenshot.
And it would be great to have sort options like "folders first" to sort folders before files and to sort dot folders (.folder) after regular folders and dot files after regular files. Like it works in most linux FMs.
Hope this wouldn't be too overwhelming...
Thanks!
EuK_V said:
Thank you, for your reply!
First of all I'd like to say that I am interested more in the "File manager" function of the app. And if you don't mind I have some suggestions:
I am faced with the following: when I start the app I don't have full root access, though "su root permissions" is checked in settings. I can browse the root directory, but cannot create or delete any file or folder. There is a workaround: if I start adb as root from my Ubuntu terminal executing:
adb root
after that I have full root access to my phone. It works this way, but I think since Mobydroid is a gui to adb, it should be able to start adb as root.
Also it would be great if the app could start adb via wifi (I don't know maybe add an option to choose how to connect via usb or network. Now if I start adb via network in terminal executing:
adb connect 192.168.0.101:5555
Mobydroid then works well. Again I need to make some actions outside the app before I start it. (BTW IP address of a device is just an example)
Another thing I'd like to say is that Mobydroid when viewing a device shows symlinks to folders as files and you cannot enter them. On the side of Ubuntu it works well, symlinks to folders work as folders and you can enter them. See my screenshot.
And it would be great to have sort options like "folders first" to sort folders before files and to sort dot folders (.folder) after regular folders and dot files after regular files. Like it works in most linux FMs.
Hope this wouldn't be too overwhelming...
Thanks!
Click to expand...
Click to collapse
Root and wireless connection features has been implemented in version v0.4.
I'll implement symbolic links and folders order in next release.
Thanks. Works good, but it can't sort dirs/files by name or date.
sorry but it doesn't work
@rifkican, enable adb in developer settings.
Is this still working? I tried to run it but i get this error:
[CheckBinaries] : I: couldn't create file: Read-only file system.
pabekam said:
Is this still working? I tried to run it but i get this error:
[CheckBinaries] : I: couldn't create file: Read-only file system.
Click to expand...
Click to collapse
What platform are u using ? and how did u install MobyDroid ?
ibilux said:
What platform are u using ? and how did u install MobyDroid ?
Click to expand...
Click to collapse
Windows. I downloaded the Standalone version, installed java and run the command over cmd. MobyDroid starts but in the cmd i get the error message. In MobyDroid when i go to the file manager, it doesnt show me any files/folders on my phone
pabekam said:
Windows. I downloaded the Standalone version, installed java and run the command over cmd. MobyDroid starts but in the cmd i get the error message. In MobyDroid when i go to the file manager, it doesnt show me any files/folders on my phone
Click to expand...
Click to collapse
can u provide full log errors.
ibilux said:
can u provide full log errors.
Click to expand...
Click to collapse
how do i do that?

Categories

Resources