Hi!
I recently switched over to ubuntu from Windows and I don't know how to flash boot.IMG with Ubuntu. Anybody can give me a tutorial?
Btw, when I try running an ADB command inside terminal I get a message that tells me that it's not known as a command.
Tingelholm said:
Hi!
I recently switched over to ubuntu from Windows and I don't know how to flash boot.IMG with Ubuntu. Anybody can give me a tutorial?
Btw, when I try running an ADB command inside terminal I get a message that tells me that it's not known as a command.
Click to expand...
Click to collapse
hello
follow this tutorial
http://doc.ubuntu-fr.org/android
you don tneed to install all the sdk just the android sdk tool
than if it s not working follows this
http://ptspts.blogspot.fr/2011/10/how-to-fix-adb-no-permissions-error-on.html
hope it s help for me it s working for ubuntu and other linux
JEZ69 said:
hello
follow this tutorial
http://doc.ubuntu-fr.org/android
you don tneed to install all the sdk just the android sdk tool
than if it s not working follows this
http://ptspts.blogspot.fr/2011/10/how-to-fix-adb-no-permissions-error-on.html
hope it s help for me it s working for ubuntu and other linux
Click to expand...
Click to collapse
I'm sorry, but you haven't got the first link by any possibility in English?
Try this http://www.xda-developers.com/android/script-helps-users-configure-adb-and-fastboot-on-linux/
Related
how can i use adb if i cant install drivers to windows 7..maybe linux??
sorry for being a complete noob
ADB is working in Ubuntu without any drivers needed.
davebugyi said:
ADB is working in Ubuntu without any drivers needed.
Click to expand...
Click to collapse
can you give me a thread about that?i want to know more!
In these tutorials the android SDK is outdated - Download it from the official site, to get the latest version.
I used the first method to set it up on Ubuntu 11.04 Natty. I can confirm it works.
http://forum.xda-developers.com/showthread.php?t=537508
http://forum.cyanogenmod.com/topic/116-tutorial-ubuntu-android-sdkadbfastboot-updated/
orsidoc said:
how can i use adb if i cant install drivers to windows 7..maybe linux??
sorry for being a complete noob
Click to expand...
Click to collapse
ADB works fine in Windows 7, even on x64. Download the latest HTC Sync, run the setup file then cancel it after the first stage (driver install) if you only want the drivers. Then go to your adb directory via command prompt and type adb remount (make sure the phone is plugged in and turned on, doesn't need to be unlocked or set to Disk drive though)
Hello guys.
I'm here to ask if there is any way to use the Tool Kit on ubuntu and how I do it.
I have a Mac but I was told it should work with a windows virtual machine which I have I just haven't tested it. U can give it a shot
Sent from my Galaxy Nexus using xda premium
Thanks!
I was up to do that, but I lost my Windows CD.
not hte gnex tool kit on this forum but you can download the android sdk from gogle and then tell it to download platform-tools so you will have adb and fastboot commands
tman7510 said:
not hte gnex tool kit on this forum but you can download the android sdk from gogle and then tell it to download platform-tools so you will have adb and fastboot commands
Click to expand...
Click to collapse
and learn some about it for a change
As much as all the hard work that's gone into the toolkit is appreciated but I find doing it manually a lot more educational. It can come handy if you need to make changes. Check out my signature for rooting with Linux Ubuntu/Mint.
How do I do this? It wont work in windows 8.1 because my phone is not recognized, so I want to try in dual booted linux mint but dont know how. Can someone help please?
dumbl3 said:
How do I do this? It wont work in windows 8.1 because my phone is not recognized, so I want to try in dual booted linux mint but dont know how. Can someone help please?
Click to expand...
Click to collapse
If you're asking how to install Linux Mint along side Windows 8.1, then please do check out this awesome guide - http://itsfoss.com/guide-install-linux-mint-16-dual-boot-windows/
Basically you need to create 2 partitions - one for swap and one which is the file system for linux. Just as windows file systems are NTFS, FAT, FAT32, similarly Linux needs to be installed on a compatible file system like ext4.
After installing Linux Mint, download Flashtool and see the instructions here - http://www.flashtool.net/install.php
In order to start Flashtool, you need to cd to the folder and then execute Flashtool by running this command -
Code:
./Flashtool
And flashtool will start
abcdjdj said:
If you're asking how to install Linux Mint along side Windows 8.1, then please do check out this awesome guide - http://itsfoss.com/guide-install-linux-mint-16-dual-boot-windows/
Basically you need to create 2 partitions - one for swap and one which is the file system for linux. Just as windows file systems are NTFS, FAT, FAT32, similarly Linux needs to be installed on a compatible file system like ext4.
After installing Linux Mint, download Flashtool and see the instructions here - http://www.flashtool.net/install.php
In order to start Flashtool, you need to cd to the folder and then execute Flashtool by running this command -
Code:
./Flashtool
And flashtool will start
Click to expand...
Click to collapse
I get this:
Code:
luuk-home FlashTool # ./FlashTool
Running as root.
JAVA_HOME not set. Using default value : ./x10flasher_lib/linjre64
libusb.LibUsbException: Libusb not found. Minimum libusb version is 1.0.15. It can be downloaded on http://www.libusbx.org
at libusb.UsbSystem.initSystem(UsbSystem.java:28)
at libusb.UsbSystem.<init>(UsbSystem.java:15)
at linuxlib.JUsb.init(JUsb.java:21)
at gui.Main.initLinuxUsb(Main.java:47)
at gui.Main.main(Main.java:34)
luuk-home FlashTool #
So I went to the website libusbx.org. Downoad the latest version libusbx-1.0.17. CD into the folder via terminal and run:
./configure && make && make install && sudo ldconfig
(with su rights ofcourse)
And then I try to run FlashTool again and I get the same error..
Anyone? I still have not figured it out.. I tried now with latest libusbx 18 rc, but also not works.. same error.
Code:
pau-1005PE FlashTool # ./FlashTool
Running as root.
JAVA_HOME not set. Using default value : ./x10flasher_lib/linjre32
libusb.LibUsbException: Libusb not found. Minimum libusb version is 1.0.15. It can be downloaded on http://www.libusbx.org
at libusb.UsbSystem.initSystem(UsbSystem.java:28)
at libusb.UsbSystem.<init>(UsbSystem.java:15)
at linuxlib.JUsb.init(JUsb.java:21)
at gui.Main.initLinuxUsb(Main.java:47)
at gui.Main.main(Main.java:34)
dumbl3 said:
Anyone? I still have not figured it out.. I tried now with latest libusbx 18 rc, but also not works.. same error.
Code:
pau-1005PE FlashTool # ./FlashTool
Running as root.
JAVA_HOME not set. Using default value : ./x10flasher_lib/linjre32
libusb.LibUsbException: Libusb not found. Minimum libusb version is 1.0.15. It can be downloaded on http://www.libusbx.org
at libusb.UsbSystem.initSystem(UsbSystem.java:28)
at libusb.UsbSystem.<init>(UsbSystem.java:15)
at linuxlib.JUsb.init(JUsb.java:21)
at gui.Main.initLinuxUsb(Main.java:47)
at gui.Main.main(Main.java:34)
Click to expand...
Click to collapse
Any progress? I'm struggling with the same libusb error... Thank you...
yeah, this worked for me:
http://forum.xda-developers.com/showpost.php?p=47530185&postcount=162
jamespmi said:
Any progress? I'm struggling with the same libusb error... Thank you...
Click to expand...
Click to collapse
Hi,
If the above solution doesn't work then please do check this out -
http://www.linuxfromscratch.org/blfs/view/svn/general/libusb.html
Worked perfectly for me
dumbl3 said:
yeah, this worked for me:
http://forum.xda-developers.com/showpost.php?p=47530185&postcount=162
Click to expand...
Click to collapse
Sent from my Xperia S using Tapatalk
Awesome... thank you very much...:good:
Hey everyone. I just purchased a Asus ZenFone 2 (cheep model) and am attempting to root it/install a custom rom. However I have encountered difficulty with fastboot on my Ubuntu Linux machine. ADB works without any issues but fastboot does not always getting stuck on a endless <waiting for device> and my phone does not appear on the list of connect devices (fastboot devices). However my Nexus 7 (2013) works without any issues. I have tried running fastboot as root and didn't have any success. I was hoping that someone out here would have some idea why one device works but not the other. Thanks to anyone who can provide assistance.
robopilot99 said:
Hey everyone. I just purchased a Asus ZenFone 2 (cheep model) and am attempting to root it/install a custom rom. However I have encountered difficulty with fastboot on my Ubuntu Linux machine. ADB works without any issues but fastboot does not always getting stuck on a endless <waiting for device> and my phone does not appear on the list of connect devices (fastboot devices). However my Nexus 7 (2013) works without any issues. I have tried running fastboot as root and didn't have any success. I was hoping that someone out here would have some idea why one device works but not the other. Thanks to anyone who can provide assistance.
Click to expand...
Click to collapse
I had the same issue. Tried it on windows (though I hate windows ) and it worked on windows. I am STILL trying to figure out how and why?
I had the same problem on Ubuntu 15.04, and I fixed it by uninstalling the outdated version of fastboot in Ubuntu's repositories and replacing it with the binary from the Android SDK platform tools.
The fastboot protocol may have changed slightly with Lollipop, and Ubuntu's fastboot and ADB packages say they're from 4.2. Remember to run fastboot as root unless you have the udev rules set up. Hope that helps!
yes i had a similar issue on ubuntu with the repo version. I actually got an error message saying i needed a newer version
Thanks. Using the version I got from the internet worked fine. I'm now getting and error about fingerprinting and stuff. Looks uke I'll have to wait for a way to unlock the bootloader on the latest version.
Hi I am having the same issue but when I search, I get a lot of info about updating ADB but nothing on Fastboot. For those that have figured this out, would you mind posting a link?
Thank you!
bhoth said:
Hi I am having the same issue but when I search, I get a lot of info about updating ADB but nothing on Fastboot. For those that have figured this out, would you mind posting a link?
Thank you!
Click to expand...
Click to collapse
You will want the Android SDK tools. Here is the download page:
https://developer.android.com/sdk/index.html#Other
It's a 300MB download, so it's a bit overkill for what you need, but it is there.
Also, if you need to download it again (update), can use the SDK Manager (included) to select/download "Platform-Tools" (at the very least - if you find yourself emulating Android on your PC, you may want more).
joel.maxuel said:
You will want the Android SDK tools. Here is the download page:
It's a 300MB download, so it's a bit overkill for what you need, but it is there.
Also, if you need to download it again (update), can use the SDK Manager (included) to select/download "Platform-Tools" (at the very least - if you find yourself emulating Android on your PC, you may want more).
Click to expand...
Click to collapse
yeah that's what I ended up doing. It's a pain to find it in the huge download but it's kinda your only option.
im currently on the same problems as you too.. cant use fastboot on ubuntu 14.04 lts.. but i found this article online, didnt test it yet since im on my windows right now to use fastboot.. who knows this may help in updating to latest adb bin..
http://bernaerts.dyndns.org/linux/74-ubuntu/328-ubuntu-trusty-android-adb-fastboot-qtadb
Click to expand...
Click to collapse
wait i was wrong, the cmd there is to update adb to latest version and not for fastboot.. cant help anyway, unless download the whole android sdk as mentioned above..
Is there a tutorial or explanation, how to root a Zenfone 2 WW under Linux, especially with Ubuntu?
lg-optimus said:
Is there a tutorial or explanation, how to root a Zenfone 2 WW under Linux, especially with Ubuntu?
Click to expand...
Click to collapse
Same as windows but easier, do sudo apt-get install android-tools then just follow the other guides on here but don't do the parts where it says to install adb and setup drivers
If android-tools doesn't work (can't remember the exact package name as I don't use Debian distros) then try phablet-tools
Niropa said:
Same as windows but easier, do sudo apt-get install android-tools then just follow the other guides on here but don't do the parts where it says to install adb and setup drivers
If android-tools doesn't work (can't remember the exact package name as I don't use Debian distros) then try phablet-tools
Click to expand...
Click to collapse
I think he's talking about the fact that the scripts to root are windows scripts.
Maybe I can look at the windows-script and transfer the commands to Linux. But I would be glad, if someone can name the needed commands. The last Asus device, I have rooted under Linux, was a Nexus 7 and this was very easy, same with a LG P880. It is always an adventure, when you have to fear you brick the phone.
This is already installed:
ii android-tools-adb 4.2.2+git20130218-3ubuntu23 amd64 Android Debug Bridge CLI tool
ii android-tools-fastboot 4.2.2+git20130218-3ubuntu23 amd64 Android Fastboot protocol CLI tool
Click to expand...
Click to collapse
But I don't know, if it is necessary to define udev-rules.