Android Poll.

Should the Pandora switch to Android?

  • Yes

    Votes: 22 9.1%
  • No

    Votes: 220 90.9%

  • Total voters
    242

^ 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

cpasjuste, right? When did you pm him? He seems to have been very quiet ever since the Pandora came out, it could be he got really busy with something else. I think your best bet for Android on the Pandora while you are waiting for a response is to look into the Android Beagleboard project. Theoretically, just about any OS that can run on the Beagleboard shouldn't take much work to get running on the Pandora.

-God Ginrai
 
Last edited by a moderator:
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.
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:
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?
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.
 
Last edited by a moderator:
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.
 
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.

Well, if it's a git repo, then you would say "git init"

-God Ginrai
 
Last edited by a moderator:
God Ginrai said:
Well, if it's a git repo, then you would say "git init"

-God Ginrai
k I'm running ubuntu 10.04 through vmware on a windows 7 box.. shhh ;)

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:
 
Last edited by a moderator:
jb0yx said:
God Ginrai said:
Well, if it's a git repo, then you would say "git init"

-God Ginrai
k I'm running ubuntu 10.04 through vmware on a windows 7 box.. shhh ;)

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:
  1. The instructions you linked to told you to install Git.
  2. 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!
 
Last edited by a moderator:
dflemstr said:
  1. The instructions you linked to told you to install Git.
  2. 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$
 
Last edited by a moderator:
jb0yx said:
dflemstr said:
  1. The instructions you linked to told you to install Git.
  2. 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$

Sounds like it can't find your Java executable. I would assume this means that you didn't install it right.

-God Ginrai
 
Last edited by a moderator:
jb0yx said:
anyway, had to remove the java part of that big ass command that installed the rest of like 18 packages of dependencies
jb0yx said:
any help?
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.

If you don't "have" that package, it means that Ubuntu multiverse is disabled. Go to "System" → "Administration" → "Package Sources" and check "Software restricted by copyright or legal issues (multiverse)". Close the window and reload your package sources.
(NOTE: I haven't used Ubuntu for years so don't blame me if it doesn't work.)

Now you'll have to fix the issues with your manually installed JDK. First of all, NEVER install anything manually that already exists as a package! Even if you can't install the package, it's always worth it to make the package work instead of manually installing something. So, first uninstall your manually installed JDK, then do "sudo aptitude install sun-java5-jdk", and finally "sudo update-java-alternatives -s java-1.5.0-sun" (Or if that doesn't work, use "update-java-alternatives -l" and choose something form the list to run "-s" on).

Now everything should work.

EDIT: This board has some serious bugs... It just cut away half of my post for no reason! Sec while I retype it
 
Last edited by a moderator:
God 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
not quite sure how to install java, I downloaded 2 .bin files then I did

$ chmod 755 jre(something).bin
$ sudo .\jre(something).bin

that installed then I did the same for jdk

I agreed to the ULA and it went through the install process but maybe it's where it installed it looksey

Code:
grant@grant-desktop:~/Downloads$ ls
jdk1.5.0_22  jre1.5.0_22
grant@grant-desktop:~/Downloads$
 
Last edited by a moderator:
@dflemstr

edit:not sure what is going on with this website... it's eatting up my output :frusteration:
full editor

that box was already checked, did an update agian and no dice

how do I uninstall that then?

I will do the sudo apititude to install after that as you mentioned

Code:
   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$

this is what wasn't working before
Code:
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$
 
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.ubuntu.com/jaunty/sun-java5-jdk so this is very strange.

Could you please open the file /etc/apt/sources.list and post its contents here?
 
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?
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: ??)

EDIT: and java6-jdk is there, just java5 is missing... guide said specifically don't use java6 because of some crap about not having something or another


Code:
  # 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

UPDATE: check this out, looks like it's being removed maybe?
Code:
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$
 
Last edited by a moderator:
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.
 
dflemstr 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.
here I go thinking having some of the latest and greatest would be better... guess not ;)

looks like it's working now, that's weird though, makes sence to a point, I know java disconinued support for java 5 and are trying to phase it out for windows at least, major problems with webapps and vista/7 I had a long discussion with our oracle dba at work, uses jinitiator like a mother fucker.... he's pretty pissed off about the whole deal having to recode his websites to use java6 before he was ready to upgrade... ANYWAY

cool anamations =====> ===========> pew pew

thanks for your help ;)

UPDATE: FUUUUUUUUUUUUUUUUUUUUUUUU

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: 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$

ok it wants 1.6 now.... UPDATE YOUR GUIDE GOOGLE.... rawr

well I'll try just using 1.6 and see if it will work....

hopefully 5 and 6 can co-exist on the same machine like it can in windows ... le grr

UPDATE2: WEEEEEEE!!!!
 
Last edited by a moderator:
damn it... failed agian

totally looked like it was doing it this time, bout 20 pages of output then crash and burn
Code:
 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

going to go play some warcraft, enough screwing with it today, will try agian later

guy's having the same problem
http://androidforums.com/android-developers/115959-ubuntu-10-04-android-open-source-make-error.html#post1078294
 
Back
Top