yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab General] Jeepsdaddy:
[Q] How do I get Media Hub Back onto AT&T Galaxy Tab After Flashing RotoHammer's Rom?

Well I have this $50 Credit I can't do anything with without gettting media hub back on my device. Any workaround for this?
[Galaxy Tab General] fwelland:
http://xdaforums.com/showthread.php?t=909058&highlight=MediaHub

I have been meaning to try this. But haven't got to it. Please post if you have success.
[Galaxy Tab General] Jeepsdaddy:
Worked like a charm thanks!
[Android Software Development] atapia984:
Took me about 10 mins to get this going. Thank you very much!
[Android Software Development] sykopompos:
I have a guide to setup up a build enviroment for compiling android on a ubuntu 10.10 64bit or 32bit that covers adb also along with test signing. Just google guide to compiling android, covers cm7 and you will find it. It might be under gridlock32404 which was my old user name
[Android Software Development] Nrre:
ffffffffuuuuuuuu where was this last year? took me 2 days to get ADB working in Ubuntu 10.04 lol.

i do have the Ubuntu 10.10 ISO image...thinking about dual booting with win7 64bit.

not sure why i want to go back to Linux though...games ran slower on it =/
[Android Software Development] iceandfire:
Amazing work man. It works like a charm with my milestone. :)
[Android Software Development] godutch:
nice tutorial but it would be even nicer to have a .deb; I never made debs before but I think this should all be doable with rpm though, so I guess it should also be doable with debs

(eg with a postinstall script update udev rules, using sed, restart abd and add a .desktop file)
[Android Software Development] rictec:
saved a lot of do it myself

i was about to do this thank you for doing it first ;) nice
[Android Software Development] sudhirkhanger:
I get following error when i try to refresh sources.

Edit:- I installed all packages like openjdk, openjre, icedtea etc and i was able to connect to google repo.
[Android Software Development] aLeXiNDj:
thanks :) Im installed
[Android Software Development] bloodychaos:
You're welcome! Honestly, it took me about 2 to 3 hours to get it running.

Personally, I don't think a .deb file is required. Almost everything can be found in the repository anyways and it's quite easy to set up using terminal, and uh, I never really made debs before either :p
[Android Software Development] Jwtiyar:
thank u very muchhhhhhhhhhhhhhhhhhhhhhh, ADB was big problem with me .

thanks again.
[Android Software Development] strikeir13:
sdk now says "x86"

I'm not sure if anyone else had this problem, but I was foolishly copying and pasting the commands over from the OP and it didn't work.

However, when I realized that the SDK package is now titled "android-sdk-linux_

x

86" with that tiny little "x" before the "86", I got it to work flawlessly.

Now my Ubuntu ADB installation works easier than my Windows ADB!
[Android Software Development] MFaust:
could someone tell me if you can run movie after you run ubuntu on your PDA

expeciali .mkv video...

please ansevar me...
[Android Software Development] bloodychaos:
Thanks for the heads up! I've updated the guide accordingly. Looks like they've changed the name with revision 10 O_o
[Android Software Development] neidlinger:
Cool write up. definitely bookmarked.

only because i want to compare it to the method i used to get it running earlier. There are a lot of extra steps it looks like with this method that i didn't do earlier.
[Android Software Development] r3s-rt:
Thanks. First method to add to path didn't work, but second did finely.
[Android Software Development] loveubuntu:
very nice, thank you. Only three hints that helped me get everything working perfectly:

1- Assume you have no permission and create the udev rule step. In that same step when typing

./adb devices

to see if it worked, make sure you cd to the right directory. You have to be in

cd ~/android-sdk-linux_x86/platform-tools

.

2- In step 7 creating paths, eliminate the space between {PATH}: and ~/android. If left that way, the terminal gives you a not valid identifier error.

3- The Howtoforgelink at the bottom is very nice also but note that they are using an older SDK and file name has to be changed if you want the latest (add the x).

I hate the fact that most guides out there for a Linux based OS (Android) is written for Windows. Quite ironic. Thanks again for your hard work.
[Android Software Development] bloodychaos:
Thanks, I'm gonna try it out on my notebook when I get a chance on Monday. Left it at my workplace. Hopefully, that little space is the reason why the path didn't work on my notebook O_o.

As for the HowtoForge guide link, I wasn't able to find a more updated version for it. It'll be great if they update that guide as well though.

It really is kind of sad, and ironic, that Windows is dominating even on a Linux based OS which is Android. But after playing around with both Windows and Ubuntu for ADB, I personally find ADB on Ubuntu is much more easier (and a bit more stable) to handle. Maybe it's because I usually work with command line on Linux and more on GUI on Windows.
[Android Software Development] loveubuntu:
I came across this thread on DF also that seems to be very helpful. CorCor67 put a lot of time into it.

http://www.droidforums.net/forum/droid-themes/129400-themer-studio.html

I cross referenced both threads for those looking
[Android Software Development] kgulruh:
Anybody know howto - about fastboot.exe I mean I have done all the steps ahead and have adb installed but cant figure out how to install fastboot in platform-tools directory.

I reinstalled it again but there is no fastboot.exe it hadn`t appeared in platform-tools. 3 month`s ago I did it just like that and it installed fastboot automagically but this time I just don`t now what to do and where to dig. Not able to flash radio at the moment.

Ubuntu 10.04

Desire HD
[Android Software Development] MKashiff:
can you please post the link for the Ubuntu 64-bit, the folks here will definitely appreciate it..
[Android Software Development] MKashiff:
Found it :)

http://xdaforums.com/showthread.php?t=915435
[Android Software Development] arrrghhh:
bloodychaos - great guide!

One thing, on Step 4 - Check if you have permission for your device, you have

./adb device

Down below, in the troubleshooting section you have the correct

./adb device[B]s[/B]

If that's the only complaint I have about the guide, you've done a great job :p.
[Android Software Development] CruzECO13:
This guide was very easy to understand and works great. Took about 15min to setup. Thanks :)
[Android Software Development] gusbeto37:
Thanks a lot for this guide!!

My windows partition's adb just would not recognize my Atrix, but once ADB was installed in my Ubuntu 10.04 64 bit partition, everything works like a charm
[Android Software Development] EducateAndInnovate:
Easy way to get Android SDK and ADB

:D

I found these steps on web and on this Forum (probably under G-Tablet):

1) open the Linux terminal window and type:

wget dl.google.com/android/android-sdk_r07-linux_x86.tgz

(Downloads The SDK with ADB)

2) Then type:

tar -xvfz android-sdk_r07-linux_x86.tgz

(Extracts the archive)

cd android-sdk-linux_x86

3) sudo cp android-sdk-linux_86/tools/adb /usr/bin

4) sudo chmod +x /usr/bin/adb

:D
[Android Software Development] bloodychaos:
Took me a while to finally have time to sit down and try out ADB for Ubuntu 11.04. I've updated the guide to include Ubuntu 11.04. First up I'd like to thank mmdl1001 for giving me the steps to get it working properly on Ubuntu 11.04 (check out Step 5 and you'll see the picture).

For installation of ADB in Ubuntu 11.04, there's not much of a difference. All the steps are the same except for Step 5. Tested it out (under VMWare, Ubuntu 11.04 hates my machine) and it works without a problem. For Ubuntu 11.04 users, feel free to comment or PM if there's any problem during installation, I'll try my best to troubleshoot it if its within my knowledge :cool: !
[Android Software Development] brian.houaiss:
this is quite awesome! thanks for that!
[Android Software Development] lanternslight456:
Something may be out of date. I'm on step 3 in Ubuntu 10.04 and it keeps telling me that no repository can be found. The SDK is open, just can't find any packages to install I guess. I'm a linux noob but it shows Android SDK Tools 11.

If you need more info, let me know.

I tried clicking the settings - Force.... check box. Both ways fail. Is there an updated path?

EDIT:

When I type

./android update sdk

I get this

No command line parameters provided, launching UI.
See 'android --help' for operations from the command line.

and when it updates in the gui i get

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: java.lang.RuntimeException: error instantiating default socket factory: java.security.KeyManagementException: java.security.KeyStoreException: java.io.FileNotFoundException: /usr/lib/jvm/java-1.5.0-gcj-4.4/jre/lib/security/cacerts (No such file or directory)

the main site recommends changing the setting i mentioned above i get

XML verification failed for http://dl-ssl.google.com/android/repository/addons_list.xml.
Error: java.lang.NullPointerException
XML verification failed for http://dl-ssl.google.com/android/repository/repository.xml.
Error: java.lang.NullPointerException
[Android Software Development] mervant:
Thanks for the great guide! I always used vmware (win) since setting up on ubuntu always gave me issues.

I have a samsung vibrant; its the only one of my android phones I needed to add the idVendor for, otherwise it wouldn't work.

now that I flashed miui, I am getting:

List of devices attached

????????????	no permissions

does anyone know if I have to change the id or anything else to get it working again?

thanks
[Android Software Development] bloodychaos:
@lanternslight456

Just a,quick question: is your java sdk and jre installed? Try apt-get them again, just in case. From the error message, it looks like it's missing some java files

@mervamt

Run 'lsusb' in terminal and look for your device. Id shouln't have chqnged, but check for it just in case. Are you using ubuntu 10.10 or 11.04?
[Android Software Development] mervant:
Im on 10.04... I ran lsusb and it came back as:

Bus 001 Device 053: ID 18d1:4e22

what I did is replace the original 04e8 with 18d1 and its working fine now... which is kinda strange but works for me lol

thanks
[Android Software Development] lanternslight456:
I tried redownloading and reinstalling Java via the OP method and still get this

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: java.lang.RuntimeException: error instantiating default socket factory: java.security.KeyManagementException: java.security.KeyStoreException: java.io.FileNotFoundException: /usr/lib/jvm/java-1.5.0-gcj-4.4/jre/lib/security/cacerts

can anyone send me that file? I tried googling it, and found other people who get the error but no solution.

How would I add the file once I have it? Thanks
[Android Software Development] bloodychaos:
@lanternslight456

No command line parameters provided, launching UI.
See 'android --help' for operations from the command line.

I'm getting the same thing but I can update without a problem.

Anyways, try install ca-certificates-java using "sudo apt-get install ca-certificates-java" in terminal and update the android sdk again.From the error message itself it looks like a java certificate error. Hopefully this will help fix the problem
[Android Software Development] Emrys_90:
I'm on Ubuntu 11.04 64bit, and I'm having some problems. Everything was going fine up until time to check permissions, its coming back as ?????????????. I've verified the file name is correct, and the correct id number is entered in the file. I do not know what else to try.

[EDIT] Nevermind, I found out in a different thread about stopping and starting the server. I tried to use the commands in this thread and it didn't work. Check out http://www.webupd8.org/2011/01/how-to-get-adb-to-work-on-ubuntu.html
[Android Software Development] mervant:
Just for future reference you can do ./adb to get a full list of the commands. That way you wont have to search around for them. :)
[Android Software Development] lanternslight456:
ok. I'm REALLY stinkin close lol. adb works, but the path variable (step 7) doesn't work. I've tried both listed methods. I just get this.

jhutson456@Androidian:~$ ./adb
bash: ./adb: No such file or directory

I've updated to be running Ubuntu 11.04 (32 bit) so that's the method I used to do it.
[Android Software Development] bloodychaos:
instead of "./adb" just type "adb". You'll have to try one of the two in step seven. I encountered this problem where the first method worked on my desktop but not on my notebook. The second method works on both and I recommend that one.
[Android Software Development] lanternslight456:
wow, that worked lol, thanks a ton! Great guide and thanks for all the help guys! This linux noob needed tons of help, and you had it. :)

Do you mind if I copy this guide to my site (of course you'll get 100% of the credit, and a link back to this thread)
[Android Software Development] bloodychaos:
Sure why not? If you have any other adb related problem I'll be more than happy to help!:D
[Android Software Development] tumbleweed65:
nice guide tnx couple questions if you can

1: I have to ./adb kill-server then ./adb sudo start-server everytime to have adb find my device any idea why

2: why do I have to type ./adb I used to have this in windows and only had to type adb before the command. is there a way to change that?

just wondering why the windows vs ubuntu installation would make that difference
[Android Software Development] lanternslight456:
What version of Ubuntu are you using? On 11.04 32bit after performing step 7 of the OP I only have to type "adb devices" for example (just adb, no ./ ) did you perform this step?
[Android Software Development] eris72:
im going to apologize in advance, I'm new to ubuntu (actually d/l 11.04 it this morning) and am trying to get this setup for the my thunderbolt. Had it working on windows 7 no problem. Followed the instructions, everything seemed to work fine, except for this possible problem when installing the JDK, after doing apt-get update:

W: Failed to fetch http://ppa.launchpad.net/sun-java-community-team/sun-java6/ubuntu/dists/natty/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/sun-java-c...ubuntu/dists/natty/main/binary-amd64/Packages 404 Not Found

After completing step 3, trying to check if adb recognizes my device, the return is ./adb command not found. I see adb in my platform-tools folder, it shows up under is as bright green in terminal.

im still very new to ubuntu so be nice please and any help is appreciated :D
[Android Software Development] bloodychaos:
First up, welcome to the world of Ubuntu where almost every question, there's always an answer. Now to your problem, I've checked launchpad and it seems packages for Natty (11.04) is not available. But there's an alternative repository you can use. Type the following in terminal

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-jdk

If that doesn't work, you might want to use Ubuntu 10.10 repository instead of 11.04 for Java. Again, from terminal, type

gksu /usr/bin/software-properties-gtk

Then, in the "Other software" tab, click on "Add" and type the following

deb http://archive.canonical.com/ubuntu maverick partner

It will prompt to reload the software sources when you press on "Close". Click on "Reload". Once it finishes reloading the sources, type the following in terminal.

sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-jdk

Hope these helps!
[Android Software Development] lanternslight456:
Ok, I never noticed until now, but how do I make fastboot work also. I added the fastboot.exe file to the same folder with adb but it doesn't recognize the command. Thanks a ton, you are the best!
[Android Software Development] bloodychaos:
This link have a short, quick guide on fastboot. : http://developer.htc.com/adp.html
[Android Software Development] threestripebrand:
Well I went through the guide 3 times and its still giving me the ??? No permissions on my EVO. I'm on ubuntu 10.10.

Edit: never mind I got it figured out. Had to go to the adb.exe/properties/open with/ and then add autorun prompt.

Sent from my Nike hating synergized EVO!
[Android Software Development] dibb_nz:
install 'hanging' configuring package

hi all, trying to get adb installed using ubuntu 10.10

after entering the last command of the first step to install java the terminal is now blue & opened at sun micro systems documentation with this "<ok>" at the bottom which is not a clickable link - and then it just sits there not seemingly doing anything - do i just need to wait while it finishes what it is doing???

I did try stopping it and trying again but i just keep ending up at the sun micro systems page.

so now I have 2 updates and 0 installs - tried a 'purge' but it tells me it needs to be installed correctly before it can be uninstalled.

yeh i'm a noob and usually like to figure things out for myself, but i think i'm in need of some help on this one..

oh and another quick q - is there a default folder where these 'packages' are installed so i can delete the failed installs - is it a good idea to do this with a r/click delete or do things HAVE to be done from the terminal?

TIA donna
[Android Software Development] caguirr4:
thanks dude. this helped so much. you rock.
[Android Software Development] thedsk:
Ok, trying this on 11.4 IDK what I'm missing, but everything i try pretty much gives me this. - sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-jdk - Any ideas where I have gone wrong?
[Android Software Development] bloodychaos:
Haven't log on for a while, anyways, some answers to your queries...

@dibb_nz

You might want to try installing it again using

apt-get install

. For the <ok> button in terminal, you'll need to hit "Enter" to continue installation. You use tab and arrow keys to navigate btw

@thedsk

Have you tried adding in the java repository? Which is the following:

sudo add-apt-repository ppa:ferramroberto/java sudo

apt-get update

. The one at the front page is for ubuntu 10.10
[Android Software Development] ferreinf:
Thanks it worked...

Itś my first steps on linux so it has to be copy/paste.... :rolleyes:

Thank you
[Android Software Development] Scott:
Linux Newb!

Ok, I followed the directions and got everything installed. I set the permission in the 99-android.rules and get the following error messages:

scott@scott-VirtualBox:~/Desktop/android-sdk-linux_x86/platform-tools$ sudo gedit /etc/udev/rules.d/99-android.rules

(

gedit:3344): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.BQ6P2V': No such file or directory

(gedit:3344): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:3344): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.OZ4G2V': No such file or directory

(gedit:3344): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:3344): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.EGHG2V': No such file or directory

(gedit:3344): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

What am I doing wrong? I got ADB working but I still get

List of devices attached
???????????? no permissions

even after restarting ADB. I am assuming its because of the errors I got when I tried to modify the rules file?

Any thoughts?

Ubuntu 11.04 32 bit running in virtual box on Win 7x64.

Thanks!

-Scott
[Android Software Development] Scott:
Strange, rebooted and it worked perfect!
[Android Software Development] gunnermike:
best guide ive seen.

a note for virttual box users, dont forget to add the usb device in vb settings or it wont show on your computer.
[Android Software Development] CheesyNutz:
since google changed the name of the file i would assume its ok to change the command in step 2 new name is

android-sdk_r15-linux.tgz
[Android Software Development] meazz1:
Thanks, very through write up. Worked like a charm on my 10.04.
[Android Software Development] chaoszero6:
Even lazy man's guide is crazy :P
[Android Software Development] nzahorchak:
Should the steps for Ubuntu 11.10 be the same as 11.04? How do you get your device to come up using "lsusb"? Mine's not showing.

Edit: Got my device to show up after running the command again, so it is the same for 11.10.
[Android Software Development] misfit61871:
I used the same steps to get my 11.10 up and running.

Make sure your device is plugged into one of your PC's USB Ports then run the command again and it should list all devices that are plugged into the PC.

Ad Mortem Fidelis
[Android Software Development] arrrghhh:
This link is no longer valid. (Just redirects me to http://htcdev.com/...)

Anyone knows how fastboot works in Linux...? Thanks.

Edit - d'oh, evidently you have to build the Android sources? Fastboot cheat sheet. That's unreal! In Windows, fastboot just "came" with adb/sdk/Droid Explorer. Ridiculous.

Edit 2 - well put the new lappy to the test, compiled it very fast with make -j32 :D. All cores (logical and physical) pegged!

Anyhoo, here's the fastboot binary. Built on a 32-bit system. Will be building the 64-bit one here in a few. Hopefully it helps - I saw other site that linked to fastboot binaries for Linux, but they were down. This attachment shouldn't go anywhere for a while - enjoy!

Edit 3- 64-bit binary up. Haven't tested it, but it should work fine.
[Android Software Development] gopinb:
Hi

Indeed this is very detailed tutorial to connect your android device to ubuntu. Nice post, thans a lot, I came to know about many thinks in Linux, since I am new to Ubuntu world.

I followed the steps mentioned here and I can say I travelled half way...

when I type the command -

root@ubuntu:~# adb devices

List of devices attached

FB01111200095	device

I can see my device(Spice MI-410 phone) connected. I tried successfully executing few adb command

root@ubuntu:~# adb shell

$ pwd

/

$ cd system

$ pwd

/system

$

however, when I try the command df it shows an error -

root@ubuntu:~# df

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/sda1 20125340 8278140 10824892 44% /

none 247388 636 246752 1% /dev

none 254000 24 253976 1% /dev/shm

none 254000 108 253892 1% /var/run

none 254000 0 254000 0% /var/lock

df: `/media/MI410': Transport endpoint is not connected

root@ubuntu:~#

I am not able to mount phone memory in ubuntu ( correct me if I am wrong).

The file explorer shows the device MI410 listed, but when I click on it I will get the following error message.

Even with nautilus I am not able to view/access the phone memory.

I was trying to root my Spice CSL MI410 manually. I was getting and rror message if I type sudo nautilus in command prompt. It says it could not locate the specified file or directory ( I dont remember the exact message) Some how I am not getting the error message in command prompt now, but could not access the phone memory with root access to copy busybox and su file to /system/bin directory.

"Could not display "/media/MI410"

Error: Error starting file 'media/MI410'.

Transport endpoint is not connected

Please select another viewer and try again

Could you please look into this and guide me in accessing the phone memory with root access to it so that I copy those file and root my phone.

Thanking you,

PS: I am a rooky to ubuntu and android, I apologise if you find my question/comments are not correct.