Android 2.3-Gingerbread

General discussion on Android 2.3 (Gingerbread)

Re: Android 2.3-Gingerbread

Postby John1600 » Sat Dec 18, 2010 11:28 pm

Dopi wrote:
John1600 wrote:No i'm always on the syncing phase. Because I had to install the build tools before and install linux etc. With the less time I have i'm doing all in little steps. Every day i'm doing a little step forward but it's not going fast forward, like I said before, untill the current platform works we have time for froyo :)

... or we skip Froyo and go to Gingerbread directly :lol:

No, honestly ... you are right. One step after the other. :D

Cheers.
Dopi


Yers of course. but I don't think the source is already complete for Gingerbread. will see it tomorrow as the source is shortly completely synced.

Cheers
John
John1600
Dev Team
Dev Team
 
Posts: 62
Joined: Thu Oct 21, 2010 8:46 pm

Advertisement

       

Re: Android 2.3-Gingerbread

Postby John1600 » Sun Dec 19, 2010 8:44 pm

I'm trying to build the source but I have a lot of problems with My java. already Installed java but it can't find the right version of it. I already have set the path and always the same. I will go further into this, I have some time today.

Cheers
John
John1600
Dev Team
Dev Team
 
Posts: 62
Joined: Thu Oct 21, 2010 8:46 pm

Re: Android 2.3-Gingerbread

Postby Dopi » Mon Dec 20, 2010 9:48 am

John1600 wrote:I'm trying to build the source but I have a lot of problems with My java. already Installed java but it can't find the right version of it. I already have set the path and always the same. I will go further into this, I have some time today.

If I remember correctly Google switched the Java version to a recent one for some Froyo release. Thus there is no need to install an old version. The one that is standard e.g on Ubuntu 10.04 should work right away.

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: Android 2.3-Gingerbread

Postby John1600 » Mon Dec 20, 2010 5:52 pm

Yes it's what I noticed and it's why I upgraded to the last version. but it seems like Java always uses the javac of 1.5 also after an update to 1.6. I fully uninstalled the java and reinstalled only the 1.6 version and the same. and when I try to avoid the javac version control I got a lot of java errors. I have a little time today to look at this.

Cheers
John
John1600
Dev Team
Dev Team
 
Posts: 62
Joined: Thu Oct 21, 2010 8:46 pm

Re: Android 2.3-Gingerbread

Postby John1600 » Sun Dec 26, 2010 2:38 pm

I finally managed to set up the correct path to java 1.6 and am trying to build the source now always with a lot of errors.
find: `voip/java': No such file or directory
find: `frameworks/base/core/java/android': No such file or directory
find: `frameworks/base/graphics/java/android': No such file or directory
find: `frameworks/base/location/java/android': No such file or directory
find: `frameworks/base/media/java/android': No such file or directory
find: `frameworks/base/drm/java/android': No such file or directory
find: `frameworks/base/opengl/java/android': No such file or directory
find: `frameworks/base/opengl/java/javax/microedition/khronos': No such file or directory
find: `frameworks/base/sax/java/android': No such file or directory
find: `frameworks/base/telephony/java/android': No such file or directory
find: `frameworks/base/wifi/java/android': No such file or directory
find: `frameworks/base/vpn/java/android': No such file or directory
find: `frameworks/base/keystore/java/android': No such file or directory
find: `frameworks/base/voip/java/android': No such file or directory
find: `voip/java': No such file or directory


Altough the directory "android" is there :(
Image
http://img211.imageshack.us/img211/3483/screenshotvb.png


build/core/base_rules.mk:74: *** Module name: ext
build/core/base_rules.mk:75: *** Makefile location: .fr-1oG3AD/froyo/frameworks/base
build/core/base_rules.mk:76: *
build/core/base_rules.mk:77: * Each module must use a LOCAL_MODULE_TAGS in its
build/core/base_rules.mk:78: * Android.mk. Possible tags declared by a module:
build/core/base_rules.mk:79: *
build/core/base_rules.mk:80: * optional, debug, eng, tests, samples
build/core/base_rules.mk:81: *
build/core/base_rules.mk:82: * If the module is expected to be in all builds
build/core/base_rules.mk:83: * of a product, then it should use the
build/core/base_rules.mk:84: * "optional" tag:
build/core/base_rules.mk:85: *
build/core/base_rules.mk:86: * Add "LOCAL_MODULE_TAGS := optional" in the
build/core/base_rules.mk:87: * Android.mk for the affected module, and add
build/core/base_rules.mk:88: * the LOCAL_MODULE value for that component
build/core/base_rules.mk:89: * into the PRODUCT_PACKAGES section of product
build/core/base_rules.mk:90: * makefile(s) where it's necessary, if
build/core/base_rules.mk:91: * appropriate.
build/core/base_rules.mk:92: *
build/core/base_rules.mk:93: * If the component should be in EVERY build of ALL
build/core/base_rules.mk:94: * products, then add its LOCAL_MODULE value to the
build/core/base_rules.mk:95: * PRODUCT_PACKAGES section of
build/core/base_rules.mk:96: * build/target/product/core.mk
build/core/base_rules.mk:97: *
build/core/base_rules.mk:98: *** user tag detected on new module - user tags are only supported on legacy modules. Stop.


The tag is already on optional :( Did I forget something?

I will try with
$ find ./ -exec grep -l "LOCAL_MODULE_TAGS := user" {} \; -exec sed -i.bak s/"LOCAL_MODULE_TAGS := user"/"LOCAL_MODULE_TAGS := optional"/g {} \;

to replace all "user" with "optional" and hope it will works

EDIT: LOCAL_MODULE_TAGS problem solved, but I always get the first error with files that aren't found.

Cheers
John
John1600
Dev Team
Dev Team
 
Posts: 62
Joined: Thu Oct 21, 2010 8:46 pm

Re: Android 2.3-Gingerbread

Postby Pumba93 » Sun Dec 26, 2010 9:30 pm

If Android 2.3 platform will ever work, can we port the drivers etc. from 2.1 to 2.3 or do we have to make them new?
Pumba93
Active member
Active member
 
Posts: 69
Joined: Wed Dec 01, 2010 9:58 pm

Re: Android 2.3-Gingerbread

Postby John1600 » Mon Dec 27, 2010 1:28 pm

Pumba93 wrote:If Android 2.3 platform will ever work, can we port the drivers etc. from 2.1 to 2.3 or do we have to make them new?


All driver supports are included into the kernel. I just have to do some change into the platform for drivers indeed.

Cheers
John
John1600
Dev Team
Dev Team
 
Posts: 62
Joined: Thu Oct 21, 2010 8:46 pm

Re: Android 2.3-Gingerbread

Postby MadRocker » Mon Dec 27, 2010 6:00 pm

John1600

The java is a major pain so use the 10.04 i386 desktop since last iso download vs 2 days ago iso download it has changed it is now default openjdk1.6 as default in this iso image.

Froyo / Gingerbread will only compile on 64bit linux distro's apparently. Eclair was the last 32bit linux buildable version,

The kernel switch to this one below.
Code: Select all
git checkout -b experimental-2.6.29 origin/experimental-2.6.29


Code: Select all
cd Jetkernel
git branch
* experimental-2.6.29
  master
  testing
  testing-2.6.29


framework Issues you have the ( cd ~/JetDroid/android/frameworks ) folder if not then try to download or resume the android folder clone process again. 9817 files in frameworks folder size = 205.3mb . I had to restart the download several times.
If it keeps failing I got it to download properly by changing my dns server to 4.2.2.2 verizon public dns as it is more stable for my ISP connection and no more time outs during the download.

Android source download server is very sensitive to sync issues.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: Android 2.3-Gingerbread

Postby MadRocker » Mon Dec 27, 2010 10:11 pm

Correction you can cheat past the 64bit limit and change the -m64 in the android .mk files to 32.

Also there is a system-dump-as-root.tar.gz that is used to flash the Galaxy S phones with that can be used to down convert to S8000 working version with current s8000 zImage.

Does anyone know what version of gcc eabi etc. was used for gingerbread as this might cause a whole lot of issues later on if not the same / backwards compatible.

I have build 2.3 gingerbread on 64bit kubuntu, let me know what folders / files is needed then I can upload it.
Uncompressed sizes:
~/JetDroid/android/out/target/product/generic 2.4gb
~/JetDroid/android/out/target/product/generic/obj 2gb
/home/a/JetDroid/android/out/target/product/generic/symbols 305.4mb
ramdisk.img 155kb
system.img 52.8mb
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: Android 2.3-Gingerbread

Postby Dopi » Mon Dec 27, 2010 11:34 pm

MadRocker wrote:I have build 2.3 gingerbread on 64bit kubuntu, let me know what folders / files is needed then I can upload it.
Uncompressed sizes:
~/JetDroid/android/out/target/product/generic 2.4gb
~/JetDroid/android/out/target/product/generic/obj 2gb
/home/a/JetDroid/android/out/target/product/generic/symbols 305.4mb
ramdisk.img 155kb
system.img 52.8mb


It is good to hear that you managed to build Gingerbread. I don't use the system images. I copy the files form the output directory (out/target/product/GT-S8000/).

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

PreviousNext

Return to Gingerbread (Android 2.3)

Who is online

Users browsing this forum: No registered users and 1 guest

  • Advertisement
cron