mali
-
^ Don't take it to heart, I'm sure a proper Android port will come. The topic has been addressed in a pretty unfortunate way in that other thread, so to say
jb0yx said:I seen that video from over a year ago, and I've pm'ed the guy that ported it capju or whatever his name is, but regardless I got no response from him and nobody ever said where that project resided.
I personally want to use android, I don't care if it's the main os or not, but for my own personal use, I would like to use it. Can anyone point in the correct direction? thanks
The general consensus is that Android shouldn't be the default, but is entirely welcome as an additional, something to be done by a 3rd party who is not directly affiliated with the official team. Unless the official team is doing it as part of their "spare time" while keeping up with their "duties" of the default OS. Don't confuse "not as default" with "not welcome at all"jb0yx said:ok well I'm getting tired of reading about this, the general consensus is that android isn't welcome by the diehard, it's cool we get it.
It is almost certain to be eventually. Given how "easy" it is to build it for BeagleBoard (easy being relative here, of course), it's only a matter of time before someone does the extra work to add Pandora support.jb0yx said:I have a question though, when I get my pandora in the next month or less (hopefully), is there a flashable port of android I can use?
jb0yx said:that's cool, yea that was the same guy, I pm'ed him hmmm... maybe 6 months ago? I don't feel the need to spam people so I only gave it one shot.
I'm sure it's just a case of him being busy, but seeing how he's the only one with the info, it's kinda frustrating.
I'm glad to hear it will come eventually, but I kinda gathered that from a year ago, but I was wondering if that eventually has happened yet.
Seeing how I still don't have a pandora in my hands yet, it's not a huge priority, but the warm and fuzzy of knowing it can be done once I do get it... would be comforting... guess more waiting is in order.
I tried building AOSP from source with the instuctions on the android developer page and I got stuck at the part of running "repo init" keep says command not found, but then when I try to run repo without init it keeps saying "do a repo init" I'm a linux noob and that was just a little too much for me so I gave up.
I hate being too noob to figure something out but I want the end result but I'm not skilled enough to do it myself... it's pretty frustrating as well.
k I'm running ubuntu 10.04 through vmware on a windows 7 box.. shhhGod Ginrai said:Well, if it's a git repo, then you would say "git init"
-God Ginrai
jb0yx said:k I'm running ubuntu 10.04 through vmware on a windows 7 box.. shhhGod Ginrai said:Well, if it's a git repo, then you would say "git init"
-God Ginrai
and the instructions i am using are from here
http://source.android.com/source/download.html
well for whatever reason git init said git wasn't installed, well I installed git and then repo init started working... very weird... thanks I'm sure that won't be the only headache I run into :embarrased:
God Ginrai said:"git init"
dflemstr said:
- The instructions you linked to told you to install Git.
- The "repo" script uses git as its back end; it's just there so that you don't have to write "git pull --rebase" and common stuff like that
Anyways, I'm curious to know how it went once you're done!
grant@grant-desktop:~/bin$ make
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: /bin/bash: java: command not found.
The correct version is: 1.6.
Please follow the machine setup instructions at
http://source.android.com/source/download.html
************************************************************
build/core/main.mk:114: *** stop. Stop.
grant@grant-desktop:~/bin$ ls
bionic build dalvik device frameworks hardware Makefile ndk packages repo system
bootable cts development external git: libcore mydroid out prebuilt sdk
grant@grant-desktop:~/bin$
jb0yx said:dflemstr said:
- The instructions you linked to told you to install Git.
- The "repo" script uses git as its back end; it's just there so that you don't have to write "git pull --rebase" and common stuff like that
Anyways, I'm curious to know how it went once you're done!
what was wrong with the instructions is that part of the first sudo apt-get said something about java sdk.... well that doesnt' exist and the rest of that command wasn't processed....first real troubleshooting i've ever done on linux
anyway, had to remove the java part of that big ass command that installed the rest of like 18 packages of dependencies
had to manually install JRE and JDK from java.com
i got the jre 5.0.22 and jdk 5.0.22 bins, chmod'ed them to 755 and did a sudo .blahblah.bin and installed them but they landed in my downloads directory for some reason (they're locked so I can't move them even if i wanted to now)
but I'm back to a java problem, repo sync worked and after like 24 hours I have what i belive the entire android tree on my virtual...
now what I'm running into is when i try to "make" I get the following error
Code:grant@grant-desktop:~/bin$ make ============================================ PLATFORM_VERSION_CODENAME=AOSP PLATFORM_VERSION=AOSP TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release BUILD_ID=OPENMASTER ============================================ Checking build tools versions... ************************************************************ You are attempting to build with the incorrect version of java. Your version is: /bin/bash: java: command not found. The correct version is: 1.6. Please follow the machine setup instructions at http://source.android.com/source/download.html ************************************************************ build/core/main.mk:114: *** stop. Stop.
any help?
edit: also when I sync'd it put all the files in bin... is this correct?
Code:grant@grant-desktop:~/bin$ ls bionic build dalvik device frameworks hardware Makefile ndk packages repo system bootable cts development external git: libcore mydroid out prebuilt sdk grant@grant-desktop:~/bin$
jb0yx said:anyway, had to remove the java part of that big ass command that installed the rest of like 18 packages of dependencies
The guide explicitly says that you need Java's JDK 5. So you *have* to install the package "sun-java5-jdk" for it to work.jb0yx said:any help?
not quite sure how to install java, I downloaded 2 .bin files then I didGod Ginrai said:Sounds like it can't find your Java executable. I would assume this means that you didn't install it right.
-God Ginrai
grant@grant-desktop:~/Downloads$ ls
jdk1.5.0_22 jre1.5.0_22
grant@grant-desktop:~/Downloads$
grant@grant-desktop:~/Downloads$ sudo aptitude install sun-java5-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
Couldn't find any package whose name or description matched "sun-java5-jdk"
Couldn't find any package whose name or description matched "sun-java5-jdk"
The following packages will be REMOVED:
linux-headers-2.6.32-21{u} linux-headers-2.6.32-21-generic{u}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 85.2MB will be freed.
Do you want to continue? Y/n/?y
Writing extended state information... Done
(Reading database ... 175531 files and directories currently installed.)
Removing linux-headers-2.6.32-21-generic ...
Removing linux-headers-2.6.32-21 ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
grant@grant-desktop:~/Downloads$ sudo update-java-alternatives -s java-1.5.0-sun
sudo: update-java-alternatives: command not found
grant@grant-desktop:~/Downloads$ update-java-alternatives -l
The program 'update-java-alternatives' is currently not installed. You can install it by typing:
sudo apt-get install java-common
grant@grant-desktop:~/Downloads$ sudo apt-get install java-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
default-jre equivs
The following NEW packages will be installed:
java-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 80.3kB of archives.
After this operation, 496kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main java-common 0.34 [80.3kB]
Fetched 80.3kB in 0s (85.0kB/s)
Selecting previously deselected package java-common.
(Reading database ... 157125 files and directories currently installed.)
Unpacking java-common (from .../java-common_0.34_all.deb) ...
Processing triggers for doc-base ...
Processing 2 added doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Setting up java-common (0.34) ...
grant@grant-desktop:~/Downloads$ update-java-alternatives -l
awk: cmd. line:1: fatal: cannot open file `/usr/lib/jvm/*.jinfo' for reading (No such file or directory)
jdk1.5.0_22 jre1.5.0_22 /usr/lib/jvm/*
grant@grant-desktop:~/Downloads$
grant@grant-desktop:~/bin$ sudo apt-get install sun-java5-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package sun-java5-jdk
grant@grant-desktop:~/bin$
well it said it couldn't find that package via apt-get so I tried to manually install it from java's website (too used to windows I guess :shrug: ??)dflemstr said:Yeah, update-java-alternatives won't work unless you already have a proper JDK installed so don't try to skip steps in the guide and expect later steps to work
And I can clearly see that that package exists in multiverse, see: http://packages.ubun...y/sun-java5-jdk so this is very strange.
Could you please open the file /etc/apt/sources.list and post its contents here?
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner
deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-proposed restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
grant@grant-desktop:~/bin$ sudo apt-get install sun-java5-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java5-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java5-jre has no installation candidate
grant@grant-desktop:~/bin$
cd /tmp
wget http://mirrors.kernel.org/ubuntu/pool/multiverse/s/sun-java5/sun-java5-jdk_1.5.0-18-1_i386.deb
wget http://mirrors.kernel.org/ubuntu/pool/multiverse/s/sun-java5/sun-java5-jre_1.5.0-18-1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/multiverse/s/sun-java5/sun-java5-demo_1.5.0-18-1_i386.deb
wget http://mirrors.kernel.org/ubuntu/pool/multiverse/s/sun-java5/sun-java5-bin_1.5.0-18-1_i386.deb
sudo dpkg -i sun-java5*
sudo apt-get -f install
here I go thinking having some of the latest and greatest would be better... guess notdflemstr said:Oh, you're using Ubuntu Lucid! I didn't realize!
Oh OK, that makes everything a tad more difficult, because the Android guide is meant to be used with Ubuntu Jaunty. Java 5 was actually removed from Ubuntu Lucid because it's so old. EDIT: as your error message says: it's obsolete.
But OK, you'll have to do this to fix it:
Code:cd /tmp wget http://mirrors.kernel.org/ubuntu/pool/multiverse/s/sun-java5/sun-java5-jdk_1.5.0-18-1_i386.deb wget http://mirrors.kernel.org/ubuntu/pool/multiverse/s/sun-java5/sun-java5-jre_1.5.0-18-1_all.deb wget http://mirrors.kernel.org/ubuntu/pool/multiverse/s/sun-java5/sun-java5-demo_1.5.0-18-1_i386.deb wget http://mirrors.kernel.org/ubuntu/pool/multiverse/s/sun-java5/sun-java5-bin_1.5.0-18-1_i386.deb sudo dpkg -i sun-java5* sudo apt-get -f install
Now you should have "sun-java5-jdk" installed, and you can go on with the guide.
grant@grant-desktop:~/bin$ make
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.5.0_18".
The correct version is: 1.6.
Please follow the machine setup instructions at
http://source.android.com/source/download.html
************************************************************
build/core/main.mk:114: *** stop. Stop.
grant@grant-desktop:~/bin$
host C: libclearsilver-jni <= external/clearsilver/java-jni/j_neo_util.c
In file included from /usr/include/features.h:378,
from /usr/include/string.h:26,
from external/clearsilver/java-jni/j_neo_util.c:1:
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory
make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libclearsilver-jni_intermediates/j_neo_util.o] Error 1