hi guys,
I'm setting up an android environment on Ubuntu 10.
I have eclipse installed along with the Android plugin.
From synaptic manager, I installed openjdk-6-jdk.
All the components are inplace. However, the emulators start but seem to get into a perpectual loop and just display the android logo.
My hello world app or even the emulators user interface view never starts.
Is anyone familiar with this sort of problem? Please help me.
i use in windows
read : http://i-learnedandroid.blogspot.com/2010/06/android-sdk-and-eclipse-installation.html
i use in windows and nothing problem..
install lastest JDK and setting path maybe
Hi all,
I have downloaded Android SDK and the Eclipse plugin under my Win7 Ult.
The problem that I am facing is that Eclipse is unable to deploy any app that I create. I have tried the same under Ubuntu and it was working fine.
After couple of hours of inspection I noticed that the adb doesn't recognize my emulator when running my app using Eclipse.
After closing eclipse and killing all the related SDK tools I started the adb process then started the emulator. Still the adb doesn't recognize my AVDs that are running through the emulator.
Now when I first run the emulator and then start the adb process then adb would recognize the emulator.
So did anyone faced the same problem??
Any help appreciated
I'm having the exact same problem.
Downloaded Eclipse. the sdk. avds. and everything else. have read every single other thread about this issue that is online. I'ts been 5 hours trying to find a solution.
is there an area in the preferences that specifically dictates app to avd transfer options? there has to be!
so what is it please?
any help appreciated.
Dear experts,
I was intending to develop an application that configures iptables suitable for use on an android phone using the android SDK.
(I know Droid already exists, but would like to develop such an app as a beginner project).
Does the SDK provide access to the underlying linux OS of the SDK or must the SDK be jailbroken?
regards,
Patrick
paddyjoesoap said:
Dear experts,
I was intending to develop an application that configures iptables suitable for use on an android phone using the android SDK.
(I know Droid already exists, but would like to develop such an app as a beginner project).
Does the SDK provide access to the underlying linux OS of the SDK or must the SDK be jailbroken?
regards,
Patrick
Click to expand...
Click to collapse
Yes -, you can get linux shell access in the Android SDK emulators. You can root the emulator with the SuperUser app.
- jc
Thanks jc,
I managed to get the emulator running using Android 2.3 and eclipse.
I see from various forums that the emulator is supposed to work as root by default.If
If I run the following command in the terminal:
./adb root
I get the following:
adbd is already running as root
However, when I try and run the following apps DroidWall and Wireless Thether it complains about root privileges.
Note, when I first run Wireless Tether it complains that netfilter is not installed. But when I run it the second time, it complains about the su permissions. Surely the Android SDK comes with the basic linux security features, such as iptables?
That link you sent me, does it work for the version of android i am running?
The app must also know how to access root privilages
XDA App
EDIT: I can't post to XDA due to the fact that i just signed up for an account, but look at fards' copy of my post to see how to install Ubuntu on your Dell Streak
Here's Pats Post on modaco;
although it would be nicer to keep development discussion to just one thread, the more constructive input the better
Hello All,
I'm attempting to natively port Ubuntu and/or Debian to the Streak. With it being such a powerful device there really is no reason it SHOULDN'T be running a “desktop” operating system. However, implementing his is quite a difficult task, so if any and everyone's help would be very much appreciated.
In the mean time, this is my first guide on how to get ubuntu running piggyback on the Dell Streak. After quite a while (and numerous different trials), I have found that this is the easiest way to get Ubuntu Mobile up and running fast. All commands can be done through either ADB shell or the terminal emulator on the phone.
This was *NOT* done entirely by me, but is a culmination of the effort of lots of people in the android community. I just modified it so that it would work on the Streak.
**This Installation DOES NOT install Linux natively, and as such is should not be destructive to your Android system, however i take absolutely no responsibility for anything that happens and you do this COMPLETELY at your own risk**
Here is how to do it:
1) Root your phone. There are plenty of guides on how to do it, so find one and get root access on your phone.
**YOUR PHONE MUST BE ROOTED. THIS WILL NOT WORK WITHOUT IT.**
2) Download Ubuntu Mobile Bundle: http://uploading.com/files/bbm6b311/ubuntu.zip/
This contains an image of the filesystem as well as other necessary scripts to get it working.
2) Busybox - Install Titanium Backup from Android Market - if you press the "Problems" button it will install Busybox on your phone for you (Feel free to uninstall Titanium after this is done). This is the fastest and most pain free way to install busybox on the streak that i know of for now (the other ways of doing this ARE NOT fun...)
3) On your SD card's root directory, create a folder called ubuntu and extract all files in the ubuntu mobile bundle there.
4) Replace the bootubuntu executeable file in the ubuntu directory with mine, found here http://www.mediafire.com/?fi011w4fbmymw3y
5) Unmount phone from computer. ADB and Android Terminal will not work if the phone is mounted.
5) Download a terminal from the Android Market - I used Jack Palevich's Android Terminal Emulator (android market search: terminal) but anything similar should work the same
CODE
Code:
su
cd /sdcard/ubuntu
sh ubuntu.sh
6) Ignore any errors thrown up by ubuntu.sh. From this point, all that is needed to boot ubuntu is just to enter this:
CODE
Code:
bootubuntu
To start ubuntu from now on, this is all you need to do.
You should now have ubuntu working on your laptop, and while it DOES connect to your phone's internet sources, it DOES NOT yet have a graphical interface.
Here is how to add one:
1) Update the system with the following commands in ubuntu:
CODE
Code:
apt-get update
apt-get upgrade
The first one updates the package lists, the second one downloads updates to the system itself.
2) Install TightVNC in ubuntu:
CODE
Code:
apt-get install tightvncserver
3) Configure TightVNC:
CODE
Code:
export USER=root
vncserver -geometry 800x480
For security purposes, it is recommended that you assign a password to your VNC server when asked.
4) Download Android VNC Viewer from the market
5) Configure Android VNC Viewer:
Change the port to 5901 and type in your password that you entered before.
Other Problems
There appears to be a bug with the X window server sometimes refusing to connect to VNC. DO NOT change any settings on Android VNC Viewer, instead open a terminal and run the folloring command:
CODE
Code:
rm -R /tmp/.X11-unix
What Does Not Work – Will Try To Fix
Keyboard from Android VNC Viewer
Shutdown – Does Nothing
Reboot
Log Out
Native Install
I hope you guys enjoy this, and I can't wait to get your feedback.
- Pat
Click to expand...
Click to collapse
there was a thread about this but it wasnt work on me. now i am downloading and i will inform you again
what is the address for vnc ?
OMG! Could that be any slower on the download?
EDIT:
That sounded totally ungrateful - sorry!
Thank you very much for this
yeah works fine without problems.
it is better from g1 but not as well as a netbook. so only experimental use i think
I connected to the loopback 127.0.0.1 on 5901 and it worked - haven't seen how to connect to it remotely though
Edit:
Reading is fundamental - I can connect to it form another machine
now to fix the keyboard issue
in terminal emulator there is a note : localhost:1 vnc could work properly so i connect with only port and password.
is it possible to install jolicloud since its an ubuntu based system?
Newbie questions, sorry....
Before to try this port, just some maybe stupid questions for you:
- Still working the phone function?
- Is it easy to go back to standard or Steve Streaks Roms?
- Are there lack of drivers for bluetooth, gps, audio, wifi, etc?
Thanks.
No your missing the point here, this isn't an OS separate to android. Think of this as an app it runs on top of the android system. Also this is very experimental most features would be limited and no ubuntu can't be used as an smartphone os -No phone...
beginner said:
Before to try this port, just some maybe stupid questions for you:
- Still working the phone function?
- Is it easy to go back to standard or Steve Streaks Roms?
- Are there lack of drivers for bluetooth, gps, audio, wifi, etc?
Thanks.
Click to expand...
Click to collapse
1) Ubuntu does not replace android, and the UI only runs in a VNC server, so you can switch back and forth between ubuntu and the phone app (or angry birds?)
2) I installed mine on top of DJ Steve's 1.8.1 rom... It's not native, so it only runs on top of android instead of replacing it
3) Haven't tried audio yet, but it should work (let me know how it goes)... internet connectivity works and provided you have an internet connection enabled in android you can use tools like APT or Firefox in ubuntu... only problem is keyboard is a bit wonky...
For those who had trouble figuring out how to set up the VNC, here is a picture of my VNC configuration on my phone. If you find out the phone's IP address you should even be able to VNC into it from your computer (if your on the same wifi network)
Also, openoffice.org
- pat
Is anyone actively attempting to get Ubuntu running native?
audio not working
keyboard not working
also lots of lags.
ear0wax said:
Is anyone actively attempting to get Ubuntu running native?
Click to expand...
Click to collapse
Yes, i'm looking into it, but it's quite an uphill battle in order to get it working. I'll let everyone know when we make some progress.
www.cepdukkani.net said:
audio not working
keyboard not working
also lots of lags.
Click to expand...
Click to collapse
cause you are running 2 operating systems at the same time
But seriously, if ubuntu can run native (no android in the background) then the lag would be gone, and (if set up right) audio and keyboard would work.
- pat
could i recieve phone and uses sms?
Getting error
Hi all after passing command for booting ubuntu I get a error chroot can't find /bin/bash folder or directory missing
Sent from my Dell Streak using XDA Premium App
www.cepdukkani.net said:
audio not working
Click to expand...
Click to collapse
Im wondering if I install a rdp server instead of vnc if I can get remote audio working.
Ill post with whatever results i get once I'm done waiting 2 hours for the ubuntu image to download.
As for lag. I had a n900 running @600mhz and was doing a chroot into ubuntu and it ran fine, but it used xpyher not vnc. Is there any embedded X servers for android yet? (I highly doubt it)
data requirement for updating GUI pkg of Ubuntu
Can any body tell me size of the data required to update to gui ......as i m not using wi -fi i hv to stick on gsm data usage which is limited in my plan
Very cool!
I had lots of trouble rooting my 2.2.2, but finally got it done by running Gingerbreak twice in a row on a cleanly re-started Streak.
Thanks for a fun gig!
Hi all,
I recently got my new flipout and I'm trying to root it.
I copied the UniversalAndRoot to my SD card and tried to launch it with Astro file manager. After the warnings the application manager issues I get an "Application Not Installed" message, how can I workaround this ?
Thanks
The best way to do it is to use the Android SDK to push the apk to the device.
Connect your device to your computer, enable USB debugging (in settings->Applications->Developer) and in your terminal, type
Code:
adb -d install "path to universal androot apk"
Of course, you'll need a functional environment for Android 2.1, http://developer.android.com/sdk/index.html
Thanks for the response, I was able to root the device using z4root.
Another question though - I've replaced the fonts to the DejaVu one, which helped showing hebrew characters but in hebrew text (left-to-right) the numbers in the text appear in the reverse direction. Anyone have the same issue or know how to solve is deeply greeted.
Thanks,
Ohad