For New install of Ubuntu, you need first to uninstall java 1.6 with
Synaptic
Edit Sources.list
sudo gedit /etc/apt/sources.list
Add the 2 following lines at the end of the edited file :
deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
Then run the following from a terminal :
sudo apt-get update
sudo apt-get install sun-java5-jdk
verify the version of Java
Java -version
For more information:
http://code.google.com/p/openetna/wiki/BuildFromSource
For New install of Ubuntu, you need first to uninstall java 1.6 with
Synaptic
after install java 1.5 :
@cyril: thanks for your contribution. I've integrated it in the guide.
for app "Repo", I think, it's better to copy it on the folder "tools"
Android jdk
@CineXPlayer: modified that part of the wiki, thx!
If you're on OSX 10.6, Apple provides only Java 1.6, but there are
instructions to install Java 1.5 here :
http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard
At the moment network seems hi occupied and repo sync do not work well,
disconnect lots of time.
I found a dirty solution here : http://android.amberfog.com/?p=230
Maybe it could be helpful.
@all: it seems that even java 1.6 could be suitable to build. If enough
people confirms this, I'll just simplify the guide.
someone can make a version 4.2?, please?
java 1.6 can not be used. This will give an error if you start a clean
build.
We are approaching 4.2 with great speed. I think we can make a release in
this weak.
When I tried to compile the boot image I got an error, it seems I'm missing
a folder or something like that. Right now I'm not with my laptop but I'll
post the error when I get home.
when 4.2 (source) comes out, do we have to replace everything or just redo
the svn checkout?
svn up
and repo sync under android-2.1
will suffice
Hi
I've compilation error
/home/cioeri/openetna-read-only/android-2.1/kernel/drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:
In
function 'wl_iw_get_range':
/home/cioeri/openetna-read-only/android-2.1/kernel/drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:1543:
error:
the frame size of 1168 bytes is larger than 1024 bytes
Thanks for reporting. The fix is in git now.
Thank for your job.
I've compiled succesfully and I installed into my phone.
Tomorrow I test
Great job
you can upload your compiled?
can you upload your system.img?
I'll upload mine when it finishes building. Doing it on my very slow
netbook - it's been 4 hours now :(
I'll upload mine when it finishes building - doing it on my very slow
netbook, it's been 4 hours now :(
I just compiled the image, I will flash it to my phone in a few minutes and
if it works I'll upload it to MU
Ok, I just finished testing, and it seems to be working.
http://www.megaupload.com/?d=8YPZS9CW
Wait, I think I made a mistake while building the images. It boots and
work, but I used the wrong file while building the system image.
At least in my phone it didn't do anything bad. Everything seemed to work
okay. But better safe than sorry
OK now I just feel stupid. Disregard the last my last message, the images
are actually fine.
Still hasn't finished building here (over 6 hours in), so I think I'll just
use your images! Thanks a lot for that :)
Just flashed jorge.kakashi's 4.2 image.. can confirm it boots.... :) thanks
again to everyone involved in bringing 2.x to gw620 :D
Boots here too! Really cool seeing 2.1 running - a big thanks from me as
well to everyone involved :)
Thanks jorge.kakashi :D !!!!!!
but, Wi-fi WEP Password no-work, and music too.
Haven't tried Wifi, but yeah, music app crashes when started. I haven't
tried pushing the music.apk hosted here yet though.
jorge.kakashi, i push the music.apk and work, but wifi still no work, in
system 4.1 wi-fi wep work.
(sorry for my bad english xP)
Hey I am trying to do this on osx 10.6 I have my java downgraded and have
gotten all the other steps to work except apt-get install lines... this is
the error I get when doing and apt-get update
Err http://us.archive.ubuntu.com jaunty/multiverse Packages
404 Not Found [IP: 91.189.92.166 80]
I added the deb servers into sources.list (fink)
any idea what my problem is?
try to compile source second time after new repo sync ... 1st was
succesfull... and got an error:
make: *** No rule to make target
`out/target/product/openetna/obj/lib/libFLAC.so', needed by
`out/target/product/openetna/obj/SHARED_LIBRARIES/libmediaplayerservice_intermediates/LINKED/libmediaplayerservice.so'.
Stop.
what is it?
I'm sorry, one of my last commits broke the build process. I have commited
a fix. Please run repo sync and rebuild.
Cannot find makeBootImg as writen in manual after build
# The boot.img will be under out/target/product/openetna/boot.img:
cd my-boot
./makeBootImg
Cannot find makeBootImg as writen in manual after build # The boot.img will
be under out/target/product/openetna/boot.img:
cd my-boot ./makeBootImg
./makeSystemImg didn't work for me too.
yfvt to download v10t from zacpod site. extract system.img in korean-v10t
in my-system directory, executes
ln -s ../android-2.1/out/target/product/openetna/system android-2.1
but still error..
cp: cannot stat `../android-2.1/xbin': No such file or directory
after repo sync all is OK!
Hi
I try to compile and i've a error
frameworks/base/core/java/android/app/ListActivity.java:310: inconvertible
types
found : android.widget.AdapterView<capture of ?>
required: android.widget.ListView
onListItemClick((ListView)parent, v, position, id);
^
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: ***
[out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar]
Erreur 41
There can i correct building option to disable ANDROID_PARANOID_NETWORK.
It can be useful to debug bluetooth.
It is not clear where korean-v10t should go, nowhere in this file describe
where should one place korean-v10t nor how to unyffs.
Thanks
Thank you, I have clarified those parts.
Since the check for the java-version has been changed in the makefile you
don't have to install sun-java5-jdk any more. Instead you need
sun-java6-jdk. I think this is in the standard repositories of ubuntu
10.04, so adding the jaunty-repositories is obsolete.
extract-files.sh use [[ ]] and /bin/sh.
It's not working on my linux distribution (debian sid) since /bin/sh is a
symbolic link to /bin/dash
Switching to /bin/bash or using test instead of [[ fix this issue.
Thanks polytheus ;)
@cioeri, run extract-files.sh again...
Build fails for me due to some missing classes referenced by the FM radio
app. Removing the offending app from the build fixes the problem (e.g. rm
-fr android-2.2/packages/apps/FM).
i've successfully built on gentoo amd64 after setting system-jdk to
sun-jdk-1.6 with java-config (normally i use icedtea6-bin) and then
setting ANDROID_JAVA_HOME=$JAVA_HOME for the user running make. also i
did "repo sync" at 10am CEST today.
the first build with just "make -j5" (on a core-i5) failed, then i deleted
some apps that are faulty anyway or i don't like from packages/apps
(QuickSearchBox, FM, Email, Bluetooth) and ran make again like this:
CLFAGS="-O3 -pipe -Xlint" make -j5
and everything built. the -Xlint has sth. to do with javac (?) which i
don't know s**t about (?).
before i use the new system.img and boot.img i need to know how great the
danger of bricking my device is - any experiences?
also - any way of changing the kernel-config? running "make menuconfig"
inside ./kernel looks default - where ist the .config that's used by make
or should i copy /proc/config.gz from the running device?
any chance of using a kernel younger than 2.6.29? hwo and with what does it
hve to be patched?
anyway -
BIG THX FOR YOUR GREAT WORK!!!
pete
@pete.dawgg: currently you just have to delete the FM pakcage and it will
build fine. The config is in arch/arm/configs/openetna; for a newer kernel
check out issue 148. It would be great if you could help us in the porting
effort! :)
hi,
i've trying to build from source to start getting involved, learn and help
this project in the future :D
but I have the following error: http://pastebin.com/HVh0guFU
Can someone help me?
thanks
Hi,
I have found the same issue when building using a gentoo host.
I have follow http://source.android.com/source/download.html to fix this
issue:
"""
If your build fails, complaining about a missing "run-java-tool", try
setting the ANDROID_JAVA_HOME env var to $JAVA_HOME before making.E.g.,
$ export ANDROID_JAVA_HOME=$JAVA_HOME
Maybe we should add a reference about this run-java-tool issue on this
page ?
hi,
in fact I'm on my Gentoo box. I confirm that your proposed solution works
correctly.
Thank you very much.
now I'm getting the following error when compiling the kernel:
http://pastebin.com/YmXxAywC
i've some spere time for getting involved, but i get the following errors
while building:
target Java: CMParts
(out/target/common/obj/APPS/CMParts_intermediates/classes)
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/InputActivity.java:53:
cannot
find symbol
symbol : variable LOCKSCREEN_QUICK_UNLOCK_CONTROL
location: class android.provider.Settings.System
Settings.System.LOCKSCREEN_QUICK_UNLOCK_CONTROL, 0) == 1);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/InputActivity.java:92:
cannot
find symbol
symbol : variable LOCKSCREEN_QUICK_UNLOCK_CONTROL
location: class android.provider.Settings.System
Settings.System.LOCKSCREEN_QUICK_UNLOCK_CONTROL,
value ? 1 : 0);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/StatusBarActivity.java:71:
cannot
find symbol
symbol : variable SHOW_STATUS_HIDE_SIGNAL
location: class android.provider.Settings.System
Settings.System.SHOW_STATUS_HIDE_SIGNAL, 0) != 0);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/StatusBarActivity.java:114:
cannot
find symbol
symbol : variable SHOW_STATUS_HIDE_SIGNAL
location: class android.provider.Settings.System
Settings.System.SHOW_STATUS_HIDE_SIGNAL, value ? 1 : 0);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIActivity.java:134:
cannot
find symbol
symbol : variable EXPANDED_VIEW_WIDGET
location: class android.provider.Settings.System
Settings.System.EXPANDED_VIEW_WIDGET, 1) == 1));
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIActivity.java:189:
cannot
find symbol
symbol : variable EXPANDED_VIEW_WIDGET
location: class android.provider.Settings.System
Settings.System.EXPANDED_VIEW_WIDGET, value ? 1 : 0);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIActivity.java:265:
cannot
find symbol
symbol : variable EXPANDED_VIEW_WIDGET_COLOR
location: class android.provider.Settings.System
return Settings.System.getInt(getContentResolver(),
Settings.System.EXPANDED_VIEW_WIDGET_COLOR);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIActivity.java:274:
cannot
find symbol
symbol : variable EXPANDED_VIEW_WIDGET_COLOR
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(),
Settings.System.EXPANDED_VIEW_WIDGET_COLOR, color);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/WidgetActivity.java:86:
cannot
find symbol
symbol : variable WIDGET_BUTTONS
location: class android.provider.Settings.System
String list = Settings.System.getString(getContentResolver(),
Settings.System.WIDGET_BUTTONS);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/WidgetActivity.java:125:
cannot
find symbol
symbol : variable WIDGET_BUTTONS
location: class android.provider.Settings.System
Settings.System.putString(getContentResolver(),
Settings.System.WIDGET_BUTTONS, createString(sList));
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/WidgetActivity.java:249:
cannot
find symbol
symbol : variable EXPANDED_BRIGHTNESS_MODE
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(),
Settings.System.EXPANDED_BRIGHTNESS_MODE, value);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/WidgetActivity.java:251:
cannot
find symbol
symbol : variable EXPANDED_NETWORK_MODE
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(),
Settings.System.EXPANDED_NETWORK_MODE, value);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/WidgetActivity.java:253:
cannot
find symbol
symbol : variable EXPANDED_SCREENTIMEOUT_MODE
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(),
Settings.System.EXPANDED_SCREENTIMEOUT_MODE, value);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/WidgetActivity.java:255:
cannot
find symbol
symbol : variable EXPANDED_RING_MODE
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(),
Settings.System.EXPANDED_RING_MODE, value);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note:
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/TrackballNotificationActivity.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
14 errors
make: ***
[out/target/common/obj/APPS/CMParts_intermediates/classes-full-debug.jar]
Error 41
i've some spare time for getting involved, but i get the following errors
I fixed those errors, now back to work :)
using gcc 4.4.5 with the same config/environment i posted above causes
segfaults at the very beginnig of the compilation:-(((
i'll update status as soon as i can free more time for it.
after today sync i notice extract-files.sh still uses
update-cm-6.0.0-DS-RC3-signed.zip and after building and flashing i still
have "openetna/cyanogenmod-6" displayed under phone infos so i'm not sure
if the sources are updated to cm 6.1...
please, could somebody confirm?
I forgot to update the version string which is displayed there, but you are
running cyanogenMod 6.1 based OpenEtna.
starting to a new ubuntu :
for
sudo apt-get install blablablabla ...
apt-get fail on : sun-java6-jdk libc6-dev-i386 lib32ncurses5-dev
ia32-libs lib32readline5-dev lib32z-dev
Repo don't work without install GITK
I tried to build it in ubuntu 10.10 x86_64. got the fallowing:
target Java: Music (out/target/common/obj/APPS/Music_intermediates/classes)
HOSTCC scripts/conmakehash
CC kernel/bounds.s
GEN include/linux/bounds.h
CC arch/arm/kernel/asm-offsets.s
In file included from
/home/lysy/dev/android/openetna-src/kernel/arch/arm/include/asm/page.h:26,
from
/home/lysy/dev/android/openetna-src/kernel/include/linux/mm_types.h:14,
from
/home/lysy/dev/android/openetna-src/kernel/include/linux/sched.h:61,
from
/home/lysy/dev/android/openetna-src/kernel/arch/arm/kernel/asm-offsets.c:13:
/home/lysy/dev/android/openetna-src/kernel/arch/arm/include/asm/glue.h:156:29:
error: '#'
is not followed by a macro parameter
make[3]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make[2]: *** [prepare0] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/lysy/dev/android/openetna-src/kernel'
make: *** [_zimage] Error 2
make: *** Waiting for unfinished jobs....
does anyone know wtf?
got this error after last update
device/lg/eve/overlay/frameworks/base/core/res/res/values/config.xml:86:
error: Resource at config_gps_xtra_download_on_boot appears in overlay but
not in the base package; use <add-resource> to add.
device/lg/eve/overlay/frameworks/base/core/res/res/values/config.xml:86:
error: Resource at config_gps_xtra_download_on_boot appears in overlay but
not in the base package; use <add-resource> to add.
make: ***
[out/target/common/obj/APPS/framework-res_intermediates/package-export.apk]
Error 1
@FedosIS, looks like it's related to the new gps stuff. You have to re-run
the steps with "repo init" etc.
ok, would to try that steps
no way. after full resync at 22/00 GMT +3(MSK) got this
make: *** No rule to make target `device/lg/eve/proprietary/BCM4325D0.hcd',
needed by `out/target/product/eve/system/bin/BCM4325D0.hcd'. Stop.
Read the part "Get the proprietary files" after "Get the source".
does anybody know why a got this error:
/home/lysy/dev/android/openetna-src/kernel/arch/arm/include/asm/glue.h:156:29:
error: '#'
is not followed by a macro parameter
For more information:
http://code.google.com/p/openetna/wiki/BuildFromSource
last 2 days always have this error when try to sync :
Syncing work tree: 72% (151/209) error: revision master in
CyanogenMod/android_packages_apps_CMParts not found
Anyone can help me with this?
I'm on ubuntu 10.10 x64
Thx
Anyone know how to fix this?
Checking API: checkapi-last
(unknown): error 17: Field org.apache.http.protocol.HTTP.EXPECT_CONTINUE
has changed value from "100-Continue" to "100-continue"
******************************
You have tried to change the API from what has been previously released in
an SDK. Please fix the errors listed above.
******************************
Tried rebuilding / manually patching the api but neither helps.
for more then a week I can not compile openetna, after repo sync I got
uncompilable project, did make update-api, but still can not compile the
beast... Nightly builds seems to fail compilation too...
see reply here:
http://groups.google.com/group/openetna/browse_thread/thread/33a41766731a9a05
just need to modify an apache file
Thanks, that was it :-) But still having problem while compiling, but now
the problem is with usb gadget commit from 24th December - usb sleep fix.
With the earlier file (11 Dec) compilation is successful. Sorry for posting
here but my group membership is pending, don't know when (if) it will be
eventually accepted...
Hi,
If i want to sync the data i get the following error
From git://android.git.kernel.org/platform/sdk
50e38dc..61e7df8 master -> korg/master
Fetching projects: 100% (213/213), done.
error: revision master in CyanogenMod/android_device_advent_vega not found
development@development-VirtualBox:~/android-2.2$ ./repo sync -j10
Fetching projects: 100% (213/213), done.
error: revision master in CyanogenMod/android_device_advent_vega not found
Does som1 know the anwser?
I have the same problem with froyo repo :S