At this thime i'm not able to build a working system, but something is appening..
I want first thanks Vache for is help.
To give a building system i'm using Ubuntu 10.10 with adb installed and other things..
To build Froyo you need Java 5, so open terminal and type that
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu dapper main multiverse"
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu dapper-updates main multiverse"
sudo apt-get update
sudo apt-get install sun-java5-jdk
sudo update-java-alternatives -s java-1.5.0-sun
Then type that
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev
Now you have a working machine to start
Then you've to sync repo
There is various branch https://www.codeauro...xwiki/bin/QAEP/
I've choose that December 02, 2010 M7630AABBQMLZA40000360 msm7630 froyo M7630AABBQMLZA40000360.xml
So type this
mk dir aosp
cd aosp
repo init -u git://codeaurora.org/platform/manifest.git -b froyo -m M7630AABBQMLZA40000360.xml
repo sync
Now you have to wait a lot of thime because you're download at least 2 Gb of data...
After that you'll find in aosp folder your source file and other stuff to working.
Something like that
davide@rfc-1918:~/aosp$ dir
bionic cts device hardware Makefile packages system
bootable dalvik external kernel ndk prebuilt vendor
build development frameworks librerie_metal out sdk
Now thake a look at this post http://android.modac...d-from-sources/
According to Auxx said i've make Liquid Metal prelink-linux-arm.map
Here my prelink-linux-arm.map https://docs.google....O...3ZTNl&hl=en
Here my prelinkmap.c https://docs.google....O...lMGE4&hl=en
Make a backup of original preling-linux-arm.map and prelinkmap.c
Put my preling-linux-arm.map in /aosp/build/core folder
Put my prelinkmap.c in /aosp/build/tools/apriori
Then run make apriori
Now in theory you must have a Liquid Metal compatible system builder, but as i sayd at top, it don't work
After that you have to run
. build/envsetup.sh
choosecombo
That open a program that give you some option about what platform you want to build.
I try with
1- device
1- release
15- msm7630_fusion
1- user
Then type
make libwebcore
I choose to build only libwebcore to try if all is ok, but when build finish and try tu put libwebcore.so on phone and setting right permission whit root explorer, after reboot phone goes in bootloop and adb logcat give this error
W/dalvikvm( 1657): ERROR: Unable to find decl for native Landroid/webkit/BrowserFrame;.nativeGetEmbeddedHostNames (I)Ljava/util/HashMap; E/JNIHelp ( 1657): RegisterNatives failed for 'android/webkit/BrowserFrame' E/webcoreglue( 1657): WebFrame registration failed! W/dalvikvm( 1657): JNI_onload returned bad version (-1) in /system/lib/libwebcore.so 0x0 W/dalvikvm( 1657): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Landroid/webkit/WebViewCore;.<clinit> E/Zygote ( 1657): Error preloading android.webkit.WebViewCore. E/Zygote ( 1657): java.lang.ExceptionInInitializerError E/Zygote ( 1657): at java.lang.Class.classForName(Native Method) E/Zygote ( 1657): at java.lang.Class.forName(Class.java:235) E/Zygote ( 1657): at java.lang.Class.forName(Class.java:182) E/Zygote ( 1657): at com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:302) E/Zygote ( 1657): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:579) E/Zygote ( 1657): at dalvik.system.NativeStart.main(Native Method) E/Zygote ( 1657): Caused by: java.lang.UnsatisfiedLinkError: Library webcore not foundI'ìm pretty sure there's a mistake in prelink library, but what?
Any help is appreciated
here is apriori folder https://docs.google....O...lOTI0&hl=en
here is bin folder generated after make apriori https://docs.google....O...lNjFj&hl=en
Edited by davidevinavil, 01 March 2011 - 06:20 PM.







Sign In
Create Account


Back to top










