Fastboot and adb on Ubuntu (dummy version) - HTC One X

Hi people! I`m have a windows machine but in major of time on my work, i`m use the Ubuntu desktop. I`m searched on google and find various results different!
Follow the above steps:
1 - Open the terminal;
2 - type sudo apt-get install android-tools-adb;
3 - type sudo apt-get install android-tools-fastboot;
4 - After installed the packages, type: sudo fastboot "you command here".
Enjoy!

Thanks, but I think most people capable of using Linux can use Google too.
Sent from my One X using xda premium

Odp: Fastboot and adb on Ubuntu (dummy version)
Would it work on Nexus 7 with Ubuntu and HOX connected by USB OTG Cable?
Sent from my HTC One X.
POLSKAAAAAA BIAAAALOOOO CZEEEERWONIIIII!!!!!!!!!

Probably...
Sent from my HTC One X using xda app-developers app

I know someone has compiled ADB/Fastboot for the TF101 and i'm using that a lot to flash my hox. Although that binary is run from within android...........
FOUND IT:
http://forum.xda-developers.com/showthread.php?t=1447727
Confirmed working for the TF101, RasPi and Nexus 7 so you're in luck!

Related

[Q] fastboot on linux (ubuntu)

hi guys, i'm really sorry if this is really simple, but i just cant get my head around it and i've been googling for ages and i just keep getting more and more confused.
i'm basically trying to get fastboot enabled on my ubuntu linux install (11.04). would someone please explain to me in simple terms how to get it installed and running on linux, please? from the start would be great, as i find it harder to carry on half way through something. i appreciate the help. you guys are awesome
As soon as I get on my computer at home, i'll outline the steps and attach fastboot
(gimme an hour)
Update: it's taking me longer to get home than expected... Gimme till about 1pm cst (central standard time)
paxChristos said:
As soon as I get on my computer at home, i'll outline the steps and attach fastboot
(gimme an hour)
Click to expand...
Click to collapse
that would be brilliant!! thank you!!
Fastboot on Linux
I too had issues when I switched from Linux to windows (recently) and here's how I got it (just for documentation)
1) I downloaded android-sdk for linux, did the installs, but lo and behold, there was no fastboot...
2) Searched google for about 45 minutes
3) Finally figured out that HTC had it in their development website
4) Downloaded & chmod'd it so it'd work
5) Figured out that the r800x really can't be unlocked via all my attempts (so far...)
Here's a step by step as to how to get it without my hassle.
1) Attached is fastboot, download it, extract it (you can do this later in terminal if you feel like it, or you can do it now in the file explorer)
2) Open up terminal (if you don't have a shortcut for it, make one, it's the most useful thing in linux. ever.)
3) Type in su, enter your password (if you have it setup) and become root. (Or, you could call sudo whenever it is necessary, it's your preference)
4) goto the folder you downloaded fastboot to in terminal (the default chrome download place is /home/[insert your username here]/Downloads)
5) type in chmod [your preference for setting permissions here] fastboot
6) type in (sudo) cp fastboot /bin/
7) now you can call fastboot from anywhere in the terminal!!
This can also be done with adb
Any questions??
paxChristos said:
I too had issues when I switched from Linux to windows (recently) and here's how I got it (just for documentation)
1) I downloaded android-sdk for linux, did the installs, but lo and behold, there was no fastboot...
2) Searched google for about 45 minutes
3) Finally figured out that HTC had it in their development website
4) Downloaded & chmod'd it so it'd work
5) Figured out that the r800x really can't be unlocked via all my attempts (so far...)
Here's a step by step as to how to get it without my hassle.
1) Attached is fastboot, download it, extract it (you can do this later in terminal if you feel like it, or you can do it now in the file explorer)
2) Open up terminal (if you don't have a shortcut for it, make one, it's the most useful thing in linux. ever.)
3) Type in su, enter your password (if you have it setup) and become root. (Or, you could call sudo whenever it is necessary, it's your preference)
4) goto the folder you downloaded fastboot to in terminal (the default chrome download place is /home/[insert your username here]/Downloads)
5) type in chmod [your preference for setting permissions here] fastboot
6) type in (sudo) cp fastboot /bin/
7) now you can call fastboot from anywhere in the terminal!!
This can also be done with adb
Any questions??
Click to expand...
Click to collapse
^_^ thank you so much!! you have made my life so much easier!! just one question. if all i'm doing is flashing the occasional kernel with fastboot, or pushing/pulling etc with adb, do i still need all the adroid sdk stuff? or can i just delete all the stuff now?
solitarymonkey said:
^_^ thank you so much!! you have made my life so much easier!! just one question. if all i'm doing is flashing the occasional kernel with fastboot, or pushing/pulling etc with adb, do i still need all the adroid sdk stuff? or can i just delete all the stuff now?
Click to expand...
Click to collapse
Honestly, I don't know.
That being said, try copying all the extra stuff from where it is currently to another location, and try running adb and fastboot, if it works, delete the extra stuff, if it doesn't, don't mess with it
i am trying to do this with no luck. any suggestions
Where are you stuck?
Sent from my R800x using XDA App
In the terminal I get to waiting on divice. Can't get past that
Sent from my DROID X2 using xda premium
ninjasailas said:
In the terminal I get to waiting on divice. Can't get past that
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Are you in fastboot mode?? (Blue led on top)
(To get into fastboot mode on the Xperia Play, hold down the search button before and while you plug in the usb cord)
(If you are using a different phone, please google the button combination for fastboot)
I have a Droid x 2 and I have booted into fastboot mode
Sent from my DROID X2 using xda premium
good luck, but your problem is outside my (very limited) experience with devices, sorry.
Sent from my R800x using XDA App
That's ok I know its possable seen lots of dx2 users post there logo.bin files. might have to find a windows box. Also, what command do you recommended to fix permissions for fastboot. I used chmod +x fastboot
Sent from my DROID X2 using xda premium
I use numbers and honestly I do either 777 or 755
droid x2 is motorola, right? Don't you need boot strap or something for motorola?
Sent from my R800x using XDA App
update: check http://www.droidforums.net/forum/motorola-droid-x2/149566-droid-x2-boot-menu-recovery.html and see if that helps
For linux I found I had to add the "-i 0x0fce" before my commands or else Id be left with the waiting for device, try this:
fastboot -i 0x0fce getvar version
Also you may have to make the file:
/etc/udev/rules.d/51-android.rules
With this inside (note that 0fce is the idVendor for SE):
SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", MODE="0666"
That being said I think this accomplishes the same thing as just putting the -i 0x0fce before your command
I navigated to /etc/udev/rules.d. but I cannot create file.
Sent from my DROID X2 using xda premium
ninjasailas said:
I navigated to /etc/udev/rules.d. but I cannot create file.
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Create it I'm a different folder i.e. documents or downloads, them cp the file over to /etc/udev/
Sent from my R800x using XDA App
I actually created the file I had to use the command gksudo Nautilus. What version of Ubuntu do you have? I am using 11.10
Sent from my DROID X2 using xda premium
11.10, I run everything in terminal with root privileges : p
(don't forget to chmod if you cp!!)
Sent from my R800x using XDA App
What is cp
Oh copy paste?
Sent from my DROID X2 using xda premium

[Q] HTC-Drivers needed on linux?

Hello,
i am quite new on linux now, because Windows is ****ing me up with its bluescreens and bugs right now, but i cant find any htc drivers for linux.
Do i need any special program for linux, or can i use the default adb and fastboot of the SDK?
I recognized, that the adb devices just shows : ???????????????? no permissions.
JoePi
JoePi said:
Hello,
i am quite new on linux now, because Windows is ****ing me up with its bluescreens and bugs right now, but i cant find any htc drivers for linux.
Do i need any special program for linux, or can i use the default adb and fastboot of the SDK?
JoePi
Click to expand...
Click to collapse
cd to the directory where the fastboot\adb files are
sudo su -
password
./adb startserver
./adb whateverhere
or
./fastboot whateverhere
(i never need drivers some people will say oh you need to do this this and this but meh)
Ok thank you .
i knew to run as root user, but i though there were drivers for htc phones.
But now i am done : thank you
Lloir said:
cd to the directory where the fastboot\adb files are
sudo su -
password
./adb startserver
./adb whateverhere
or
./fastboot whateverhere
(i never need drivers some people will say oh you need to do this this and this but meh)
Click to expand...
Click to collapse
Thanks for this! Now I'll be able to flash without worries when I'm on my eeepc.
Sent from my HTC One V using Tapatalk 2

[Q] htc g2 hboot

i flash the htc desire z hboot now i cnt restore my back up do i need 2 go bck to htc g2 hboot i need help plz
http://forum.xda-developers.com/showthread.php?t=2348266
Sent from my Nexus 4 using XDA Premium 4 mobile app
htc g2
demkantor said:
http://forum.xda-developers.com/showthread.php?t=2348266
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
thnks im trying 2 install ubuntu on my htc g2 t-mobile but i cnt cd ubuntu on the cmd
I think you will have to give a bit more detail than this if you want accurate help
Sent from my Nexus 4 using XDA Premium 4 mobile app
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
So again, need more information
In the fifth post from that link describes the type of info you may want to share
Also in the post I linked you has a link for how to install Ubuntu on the g2 which seems to be what you want
You need to explain all what you have tried and where you got stuck along with all info pertinent about your phone
Without this all I can do is write a guide for you which you have already read so... Yeah
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
So again, need more information
In the fifth post from that link describes the type of info you may want to share
Also in the post I linked you has a link for how to install Ubuntu on the g2 which seems to be what you want
You need to explain all what you have tried and where you got stuck along with all info pertinent about your phone
Without this all I can do is write a guide for you which you have already read so... Yeah
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
(What it looks like after copied over to the SD Card)
1) Again, make sure you have your Android smartphone/tablet “rooted”!
2) You must have Android SDK installed or have access to adb.exe.
3) Make sure your Android phone/tablet is in debugging mode. Go to Settings->Applications->Development and make sure USB Debugging is checked ON.
4) Connect your Android device to your computer via USB cable and set the USB mode to “Just Charge”.
5) Your Android device should be recognized as “ADB Device” under Device Manager. If not, install appropriate drivers.
For all HTC Android smartphones/tablets (such as G2 Phone, Nexus One), you can download Windows drivers here:
HTC Windows 64-bit driver download – Click Here to Download Driver
HTC Windows 32-bit driver download – Click Here to Download Driver
6) Open up a command prompt by typing “cmd” under Start->Search programs and files.
7) Browse to your SDK directory where you installed the Android SDK:
8) Then go into platform-tools directory:
9) Type “adb devices” to double-check your Android device is recognized.
In this example, I used an HTC G2 Phone, which shows up at “HT09SR204261″. This is fine. However, if you get an empty device, that means you didn’t install the drivers for your phone/tablet correctly. (Go back to #5)
im stuck at step 10 Type “adb shell” to enter the Android shell.
"Then type “su” to enter super user mode, then type “cd /sdcard” and “cd ubuntu” to enter the ubuntu directory in your SD card of your Android device." ← this part
So your device is recognized by adb, then you type
adb shell
And you see a # after su
But when you type
cd /sdcard
cd ubuntu
What happens, does it say something like no file or directory? This would mean there is no file on SD card named Ubuntu
Maybe if you can copy and paste all input/output from cmd here
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
So your device is recognized by adb, then you type
adb shell
And you see a # after su
But when you type
cd /sdcard
cd ubuntu
What happens, does it say something like no file or directory? This would mean there is no file on SD card named Ubuntu
Maybe if you can copy and paste all input/output from cmd here
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
after i type cd ubuntu it says on my cmd "cnt cd ubuntu" thts problm im getting

Moving from Windows to Linux

Hi,
I'm considering moving ftom Windows to Linux and i want to know if there are any alternative of the tools we used to bring the life to our Zen like xFSTK, fastboot, adb, Asus adb driver.
And does the command in linux different from Windows like
fastboot flash recovery ....img
adb reboot recovery
And the last one, can we run Windows batch tools like ZE55XML Modder (bat) on linux?
The distro is ElementaryOS
HungNgocPhat said:
Hi,
I'm considering moving ftom Windows to Linux and i want to know if there are any alternative of the tools we used to bring the life to our Zen like xFSTK, fastboot, adb, Asus adb driver.
And does the command in linux different from Windows like
fastboot flash recovery ....img
adb reboot recovery
And the last one, can we run Windows batch tools like ZE55XML Modder (bat) on linux?
The distro is ElementaryOS
Click to expand...
Click to collapse
Hi,
1. Fastboot and ADB:
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
However, fastboot needs you to run it as superuser so it could detect the device:
Code:
sudo fastboot -any command here-
2. Asus ADB Driver isn't needed.
3. xFSTK alternative? I don't know.
4. Is there a bash script on it?
Sent from my ASUS_Z00A using XDA Labs
krasCGQ said:
Hi,
1. Fastboot and ADB:
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
However, fastboot needs you to run it as superuser so it could detect the device:
Code:
sudo fastboot -any command here-
2. Asus ADB Driver isn't needed.
3. xFSTK alternative? I don't know.
4. Is there a bash script on it?
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
Does xfstk works on wine if i install intelsoc and other needed driver in wine?
And also, can i attach the moorefield to a windows xp VM on linux?
HungNgocPhat said:
Does xfstk works on wine if i install intelsoc and other needed driver in wine?
And also, can i attach the moorefield to a windows xp VM on linux?
Click to expand...
Click to collapse
Don't use Wine. Instead, make a Virtual Machine and install Windows over it with their drivers.
Sent from my ASUS_Z00A using XDA Labs

drivers for htc wildfire s?

hello, im searching for drivers for my htc wildfire s because none of alot work. i need drivers so i can unlock the bootloader. can someone give me some drivers for it?
Finding fastboot drivers can be pain especialy for old devices and new OS.
[OFFICIAL][TOOL][WINDOWS] ADB, Fastboot and Drivers - 15 seconds ADB Installer v1.4.3
15 seconds ADB Installer v1.4.3 ADB, Fastboot and Drivers What is this? This is All-in-One installer for 3 most needed PC tools for Android. No need to download big SDK for 3 small things. I originaly made it for my Kurdish friend AnGrY DuDe in...
forum.xda-developers.com
This package was very useful at the time but I'm not sure if it was enough for Wildfire S.
You can check some linux live distro like Ubuntu or Manjaro. For my modern phones drivers work out of the box. Unfortunately I don'tt have my Wildfire S around to check it. I can only check it on Samsung Ace 2 (dating back to android 2.3, currenly installed 4.1) and it works so there are good chances that Wildfire S is supported as well.
To install fastboot on ubuntu enter in terminal:
Bash:
sudo apt update
sudo apt install adb fastboot
To install fastboot on Manjaro enter n terminal:
Bash:
sudo pacman -Syu android-tools

Categories

Resources