[Q] htc sync (or any other working drivers) in ubuntu - HTC Desire X

Name of topic is clear, does anyone have drivers for this working in ubuntu? tried to search htc sync for linuks, but not succeded.
(also I am pretty noobish in linux, my roommate is giving adviced whenever he can, but he has samsung smartphone and another linux using friends have nexus devices...)

myusernamewastoken said:
Name of topic is clear, does anyone have drivers for this working in ubuntu? tried to search htc sync for linuks, but not succeded.
(also I am pretty noobish in linux, my roommate is giving adviced whenever he can, but he has samsung smartphone and another linux using friends have nexus devices...)
Click to expand...
Click to collapse
You don't need HTC sync in Ubuntu. Download the Linux version of adb and fastboot and you're good to go.
Regards,
navmad

why fastboot devices inst working then?

myusernamewastoken said:
why fastboot devices inst working then?
Click to expand...
Click to collapse
Working fine for me.
Regards,
navmad

Install android-tools-adb and android-tools-fastboot via a package manager.
To use ADB and Fastboot, you have to start and run them as root, to have hardwareaccess.
To do so, just use:
Code:
sudo adb kill-server
sudo adb start-server
sudo adb [command]
also
Code:
sudo fastboot [command]
have a nice day

Related

[Q] Stuck in bootloader/recovery

Hello all, been scouring the web with no avail, so I must come here for your help.
I used some of the guides on this forum in order to root, install CWR, and Cyanogenmod a few months back, but I'm back again today after an OTA update got me stuck in CWR/bootloader.
I can use both of these, and both of these only. I cannot boot into the ROM.
When looking, I've realized the only way to fix this would be to do a full reset and install the ROM again. I've wiped the device with CWR, but I'm not able to flash another ROM onto the device. (I'm looking to flash the GPE ROM this time).
My computer is detecting that something is connected, but even with the ADB drivers and everything, ADB still isn't detecting the device. Any pointers?
Also when looking around, I also noticed that many guides tell me I need to turn S-ON off, and I've tried doing that with rumrunner, but that didn't work since ADB wasn't either.
TLDR; I'm stuck in bootloader/recovery, am not able to flash/sideload due to my PC not detecting the device.
Anyway, THANKS LOADS IN ADVANCE. I've spent all afternoon searching today, and this is my last resort.
-GoldenTatertot
TWRP 2.6.3.3+ and adb sideload will be your friend. Try that and post back results
sent from my mobile device
SaHiLzZ said:
TWRP 2.6.3.3+ and adb sideload will be your friend. Try that and post back results
sent from my mobile device
Click to expand...
Click to collapse
I'm not able to sideload though. My PC isn't detecting the device.
GoldenTatertot said:
I'm not able to sideload though. My PC isn't detecting the device.
Click to expand...
Click to collapse
You need to install HTC sync to ensure the proper drivers are installed.
Download HTC sync manager
Install it,
Remove HTC sync manager but leave drivers
place HTC one on boot loader then fastboot option, connect device to computer wait until android 1.0 installs
Disconnect device and boot to recovery, reconnect device and let drivers install.
Run from computer CMD and get to the place where adb and fastboot exes are located.
Type command adb devices
the if successful prompt to do a adb sideload
Sent from my HTC One using xda app-developers app
TopoX84 said:
Download HTC sync manager
Install it,
Remove HTC sync manager but leave drivers
place HTC one on boot loader then fastboot option, connect device to computer wait until android 1.0 installs
Disconnect device and boot to recovery, reconnect device and let drivers install.
Run from computer CMD and get to the place where adb and fastboot exes are located.
Type command adb devices
the if successful prompt to do a adb sideload
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Alright, I installed and uninstalled HTC sync manager, only uninstalled from PC's native uninstallation process, and not sure if the drivers got uninstalled- didn't ask me about it.
After that, I recall a popup telling me it's installing Android 1.0, which only was active for a moment. I disconnected and booted to recovery, reconnected to computer, and 'adb devices' returned no devices.
Thanks again. Today was the first day at school without my phone this year, and it was dreadful. I'm a total addict.
Do you have a linux distro available which you can try? Preferably Ubuntu. Everytime Windows screwed up, I was able to do adb/fastboot perfectly with Linux.
Install:
sudo apt-get install android-tools-adb android-tools-fastboot
Define rules:
sudo gedit /etc/udev/rules.d/51.android.rules
Write this in that file: SUBSYSTEM=="usb", ATTRS{idVendor}=="283b", MODE="0660", OWNER="Ubuntu"
Save and exit, then do sudo adb / fastboot devices.
svemprala said:
Do you have a linux distro available which you can try? Preferably Ubuntu. Everytime Windows screwed up, I was able to do adb/fastboot perfectly with Linux.
Install:
sudo apt-get install android-tools-adb android-tools-fastboot
Define rules:
sudo gedit /etc/udev/rules.d/51.android.rules
Write this in that file: SUBSYSTEM=="usb", ATTRS{idVendor}=="283b", MODE="0660", OWNER="Ubuntu"
Save and exit, then do sudo adb / fastboot devices.
Click to expand...
Click to collapse
Do you think you could write or link me to a more detailed guide about that? Don't have much knowledge about that kind of stuff. Especially since I don't know what I need to look for.
Ahh, was finally able to get ADB to work on my computer. All good now.
GoldenTatertot said:
Ahh, was finally able to get ADB to work on my computer. All good now.
Click to expand...
Click to collapse
Do you mind telling us the steps? For other people looking for a solution?
Sent from my HTC One using xda app-developers app

adb device not found

In Windows I cannot find it at all, running adb devices gives me an error.
In ubuntu it shows up as ??????????? but i have no permissions for some reason, so I cannot do the steps to Bump
Anyone have a way to fix this so I can Bump and finally get on to flashing the Modem, then custom roms finally!
You can also install it from Terminal Emulator, right on the phone, rather than adb. In TE, skip the "adb shell" line, input the 2nd - 4th lines, starting from "su".
chewyTree said:
In Windows I cannot find it at all, running adb devices gives me an error.
In ubuntu it shows up as ??????????? but i have no permissions for some reason, so I cannot do the steps to Bump
Anyone have a way to fix this so I can Bump and finally get on to flashing the Modem, then custom roms finally!
Click to expand...
Click to collapse
You can also use Flashify to flash the bump'd TWRP recovery - that's what I did, worked beautifully. You can find Flashify in the Play Store.
For Linux, you must run sudo adb devices... Then the rsa key will pop up on the phones screen, then your good to go. You must run the sudo command first, or you'll need to run the adb kill-server command, then start again with elevated permissions. If your on 11c, you must be in ptp mode, for 10b ethernet mode.
For Windows, well who cares, use Linux...
annoyingduck said:
For Linux, you must run sudo adb devices... Then the rsa key will pop up on the phones screen, then your good to go. You must run the sudo command first, or you'll need to run the adb kill-server command, then start again with elevated permissions. If your on 11c, you must be in ptp mode, for 10b ethernet mode.
For Windows, well who cares, use Linux...
Click to expand...
Click to collapse
Thank you all. Those adb kill commands were it. Everything worked out fine.. but now when i do the rest of the steps i boot into system recovery (not twrp) but like the phone system recovery, and it seems like thats not what i should be booting into.
annoyingduck said:
For Linux, you must run sudo adb devices... Then the rsa key will pop up on the phones screen, then your good to go. You must run the sudo command first, or you'll need to run the adb kill-server command, then start again with elevated permissions. If your on 11c, you must be in ptp mode, for 10b ethernet mode.
For Windows, well who cares, use Linux...
Click to expand...
Click to collapse
Yeah but those things are spendie and my 3 kids devour any dollars I get lol
WHATSAMATTA U ALUMNI

Root on linux?

I'm trying to root my phone on linux, but once i do adb reboot bootloader, my device is nowhere to be found. anyone have a fix? I've searched everywhere.
/thread
Fixed my own issue by plugging the usb cable in the back of my computer. yup, seriously. Thanks to everyone trying to help. Also, thanks for not pointing out what a noob I am.
yepimjosh said:
I'm trying to root my phone on linux, but once i do adb reboot bootloader, my device is nowhere to be found. anyone have a fix? I've searched everywhere.
Click to expand...
Click to collapse
I am not familiar with Linux but on Windows waiting for device comes up when the driver for that phone is installed. May be you can look into it for a solution.
Install the drivers and then give it a try.
yepimjosh said:
I'm trying to root my phone on linux, but once i do adb reboot bootloader, my device is nowhere to be found. anyone have a fix? I've searched everywhere.
Click to expand...
Click to collapse
You need to install adb fastboot these are the instructions you need to type in the terminal you just opened. Type one line at a time and press enter after each. Allow Ubuntu to do it's stuff.
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
after you reboot to the bootloader you use fastboot commands ,not adb
clsA said:
You need to install adb fastboot these are the instructions you need to type in the terminal you just opened. Type one line at a time and press enter after each. Allow Ubuntu to do it's stuff.
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
after you reboot to the bootloader you use fastboot commands ,not adb
Click to expand...
Click to collapse
I have adb. I'm trying to say, when I'm in recovery mode, my phone is no longer found on my computer. Not just adb, the whole computer
yepimjosh said:
I have adb. I'm trying to say, when I'm in recovery mode, my phone is no longer found on my computer. Not just adb, the whole computer
Click to expand...
Click to collapse
What recovery ? Stock recovery does not support adb
clsA said:
What recovery ? Stock recovery does not support adb
Click to expand...
Click to collapse
Sorry, I'm messing up what I'm trying to say. I have adb and fastboot installed, running on ubuntu 16.04. I plug my phone in, open Terminal, and run adb devies. My device pops up, it's there. So I run adb reboot bootloader, my phone goes on the white screen with the android fellow, and all is good. Now, I i try adb devices again, nothing. I put in lsusb (lists all usb devices connected to computer), and nothing. So, naturally, when i try fastboot oem unlock and my code, I'm stuck on <waiting for device>
yepimjosh said:
Sorry, I'm messing up what I'm trying to say. I have adb and fastboot installed, running on ubuntu 16.04. I plug my phone in, open Terminal, and run adb devies. My device pops up, it's there. So I run adb reboot bootloader, my phone goes on the white screen with the android fellow, and all is good. Now, I i try adb devices again, nothing. I put in lsusb (lists all usb devices connected to computer), and nothing. So, naturally, when i try fastboot oem unlock and my code, I'm stuck on <waiting for device>
Click to expand...
Click to collapse
adb does not work in the bootloader
After reboot bootloader it's fastboot devices
If you get no response try a different usb port
Or different usb cord
Sent from my SM-N920T using Tapatalk
clsA said:
If you get no response try a different usb port
Or different usb cord
Click to expand...
Click to collapse
used the rear usb port and magically decided to work, edited the original post. Thank you for your help and I apologize for the much noobiness you had to encounter.

Error when booting device into fastboot mode. "error: device not found"

Sup. I'm a new member of XDA and would like to be a part of the community. I've heard great things.
I'm trying to install ADB and fastboot on my computer running the latest version of Ubuntu. Here's what I have done:
1. Enabled Developer options
2. Verified that USB debugging and OEM unlocking are on
3. Ran the command:
sudo apt-get install android-tools-adb
sudo apt-get install android-tools-fastboot
Click to expand...
Click to collapse
However, unfortunately I receive this response:
adb reboot bootloader
daemon not running. starting it now on port 5037
daemon started successfully
error: device not found
Click to expand...
Click to collapse
Unfortunately it does not recognize my device. I tried Googling it and looking on the CM Wiki, but I wasn't able to figure out why my device isn't recognized by my computer. Any ideas?
Thanks :]
after the two commands try apt get update command. and reboot the system.
Now it may work.
try it in Windows which is way easier than the linux.
"adb devices" command will list the working device and state.
sundhar88 said:
after the two commands try apt get update command. and reboot the system.
Now it may work.
try it in Windows which is way easier than the linux.
"adb devices" command will list the working device and state.
Click to expand...
Click to collapse
I tried typing in "apt get update" but it didn't recognize the command. Tried adb devices but it didn't input any results. I will move over to Windows to see if I have better luck.

How to give adb commands using an android phone without PC?

Brother i have a android but i don’t have any pc. So i want to give adb commands. So can i give those adb fastboot commands without pc with another android?
@Md Nafis Muhtadi
ADB ( to be correct: the ADB client ) is a driver to get installed and be run on computers.
Impossible. Adb runs on PC and communicates to the device.
Md Nafis Muhtadi said:
Brother i have a android but i don’t have any pc. So i want to give adb commands. So can i give those adb fastboot commands without pc with another android?
Click to expand...
Click to collapse
It's like asking a patient to do its own surgery, it would be convenient but not possible.
Then how to unlock bootloader of my j500H without PC?
@Md Nafis Muhtadi
Ask a friend who owns a computer ( Windows, Linux, Mac ) for assistence.

Categories

Resources