• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Discussion - Developers _ONLY_] Building ICS from source (Isaac's github).

There's an extra sample line in the manifest.xml file.

Open up the .repo/manifest.xml file in a text editor and delete this line:

<project path="device/sample" name="device/sample" remote="aosp" revision="refs/tags/android-4.0.1_r1" />

The rest of the stuff are for android-4.0.1_r3 or something like that. I think this line just got missed.

Alright deleted this line and its resyncing from like 50% so i will wait untill its done and try rebuilding.
 
Any of you able to get this file?

_FILES/src//system/xbin/su.txt
No rule to make target `vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm3.so', needed by `out/target/product/triumph/system/lib/libjackpal-androidterm3.so'. Stop.

The get-prebuilts script is supposed to unzip the term.apk file but there's something wrong with that term.apk file and it won't unzip.
 
Any of you able to get this file?

_FILES/src//system/xbin/su.txt
No rule to make target `vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm3.so', needed by `out/target/product/triumph/system/lib/libjackpal-androidterm3.so'. Stop.

The get-prebuilts script is supposed to unzip the term.apk file but there's something wrong with that term.apk file and it won't unzip.

I recieved an error on the term.apk and i think its because I had -j8 because I have a 6 core processor, I re did make -j6 and the term.apk error went away and something else threw up an error. so it might be [if your running multiple threads] that one of the threads is getting ahead of its self.
 
Okay now im recieving the term.apk error myself. I looked for the term.apk in my cm7 biuld directory and could not find it.
is it needed?

Notice file: external/strace/NOTICE -- out/target/product/triumph/obj/NOTICE_FILES/src//system/xbin/strace.txt
Notice file: system/su/NOTICE -- out/target/product/triumph/obj/NOTICE_FILES/src//system/xbin/su.txt
make: *** No rule to make target `vendor/cm/proprietary/Term.apk', needed by `out/target/product/triumph/system/app/Term.apk'. Stop.
make: *** Waiting for unfinished jobs....
target Generated: libwebcore <= external/webkit/Source/WebCore/html/parser/HTMLEntityNames.in


I found androidterm.apk[found in my cm7 directory.] so i renamed it term.apk and its building.
 
Any of you able to get this file?

_FILES/src//system/xbin/su.txt
No rule to make target `vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm3.so', needed by `out/target/product/triumph/system/lib/libjackpal-androidterm3.so'. Stop.

The get-prebuilts script is supposed to unzip the term.apk file but there's something wrong with that term.apk file and it won't unzip.

Ok, I found it:

Term.apk - androidterm - Android Terminal version 1.0.14 for Android devices without access to Market - Android Terminal Emulator - Google Project Hosting

Download this and put it into

vendor/cm/proprietary

Then open the term.apk file and extract out the /lib/androidterm3.so folder with the file and place it into the vendor/cm/proprietary/ so that the path is as you see it in the error message above. You'll also need to rename androidterm3.so to libjackpal-androidterm3.so
 
Off-topic... I'm noticing a bunch of these IF defines: #if defined(HDMI_DUAL_DISPLAY)...

I wonder if we can backport these into cm7 and if it would work... another project for another day I guess.
 
Off-topic... I'm noticing a bunch of these IF defines: #if defined(HDMI_DUAL_DISPLAY)...

I wonder if we can backport these into cm7 and if it would work... another project for another day I guess.


Well they did say that ICS has built in hdmi support so you could prolly backport it.
Im waiting for the ole port ICS framework to gingerbread.

On-topic
Im getting launcher 2 error's


packages/apps/Launcher2/src/com/android/launcher2/RocketLauncher.java:407: cannot find symbol
symbol : variable super
location: class com.android.launcher2.RocketLauncher
super.onStart();
^
packages/apps/Launcher2/src/com/android/launcher2/RocketLauncher.java:410: cannot find symbol
symbol : method getWindowManager()
location: class com.android.launcher2.RocketLauncher
getWindowManager().getDefaultDisplay().getMetrics(metrics);
^
packages/apps/Launcher2/src/com/android/launcher2/RocketLauncher.java:414: cannot find symbol
symbol : constructor Board(com.android.launcher2.RocketLauncher,<nulltype>)
location: class com.android.launcher2.RocketLauncher.Board
Board b = new Board(this, null);
^
packages/apps/Launcher2/src/com/android/launcher2/RocketLauncher.java:415: cannot find symbol
symbol : method setContentView(com.android.launcher2.RocketLauncher.Board,android.view.ViewGroup.LayoutParams)
location: class com.android.launcher2.RocketLauncher
setContentView(b, new ViewGroup.LayoutParams(longside, longside));
^
packages/apps/Launcher2/src/com/android/launcher2/RocketLauncher.java:405: method does not override or implement a method from a supertype
@Override
^
packages/apps/Launcher2/src/com/android/launcher2/RocketLauncher.java:423: cannot find symbol
symbol : method finish()
location: class com.android.launcher2.RocketLauncher
finish();
^
packages/apps/Launcher2/src/com/android/launcher2/RocketLauncher.java:420: method does not override or implement a method from a supertype
@Override
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: packages/apps/Launcher2/src/com/android/launcher2/LauncherModel.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
9 errors
target Package: Calendar (out/target/product/triumph/obj/APPS/Calendar_intermediates/package.apk)
make: *** [out/target/common/obj/APPS/Launcher2_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
nothing matches overlay file ic_contact_picture.png, for flavor ,,,,,,,,,,,mdpi,,,,,,,
nothing matches overlay file ic_contact_picture.png, for flavor ,,,,,,,,,,,xhdpi,,,,,,,
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: packages/apps/Browser/src/com/android/browser/preferences/WebsiteSettingsFragment.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
'out/target/common/obj/APPS/Calendar_intermediates/classes.dex' as 'classes.dex'...
'out/target/common/obj/APPS/Settings_intermediates/classes.dex' as 'classes.dex'...


I deleted Rocketlauncher and its building.


YES build Completed

Wont boot log cat
I/ServiceManager( 158): Waiting for service SurfaceFlinger...
 
There's an extra sample line in the manifest.xml file.

Open up the .repo/manifest.xml file in a text editor and delete this line:

<project path="device/sample" name="device/sample" remote="aosp" revision="refs/tags/android-4.0.1_r1" />

The rest of the stuff are for android-4.0.1_r3 or something like that. I think this line just got missed.

Yeah, I had a merge conflict when bumping up to 4.0.3. I thought I fixed everything. Thanks for the heads up. It's been fixed: https://github.com/ikarosdev/android/commit/a9f63984ef069051e001fd4091ebb8a0d24eba4e
 
YES build Completed

Wont boot log cat
I/ServiceManager( 158): Waiting for service SurfaceFlinger...

Weird that yours completed. Mine is stopping at:

Code:
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/framebuffer.cpp
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int mapFrameBufferLocked(private_module_t*)':
hardware/qcom/display/libgralloc/framebuffer.cpp:920: warning: comparison of unsigned expression < 0 is always false
hardware/qcom/display/libgralloc/framebuffer.cpp:921: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int fb_device_open(const hw_module_t*, const char*, hw_device_t**)':
hardware/qcom/display/libgralloc/framebuffer.cpp:1047: error: 'struct framebuffer_device_t' has no member named 'lockBuffer'
hardware/qcom/display/libgralloc/framebuffer.cpp:1070: error: 'struct framebuffer_device_t' has no member named 'numFramebuffers'
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/gralloc.msm7x30_intermediates/framebuffer.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/gpu.cpp
 
Weird that yours completed. Mine is stopping at:

Code:
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/framebuffer.cpp
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int mapFrameBufferLocked(private_module_t*)':
hardware/qcom/display/libgralloc/framebuffer.cpp:920: warning: comparison of unsigned expression < 0 is always false
hardware/qcom/display/libgralloc/framebuffer.cpp:921: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int fb_device_open(const hw_module_t*, const char*, hw_device_t**)':
hardware/qcom/display/libgralloc/framebuffer.cpp:1047: error: 'struct framebuffer_device_t' has no member named 'lockBuffer'
hardware/qcom/display/libgralloc/framebuffer.cpp:1070: error: 'struct framebuffer_device_t' has no member named 'numFramebuffers'
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/gralloc.msm7x30_intermediates/framebuffer.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/gpu.cpp

Yep i just cleaned and clobbered and on my second build mine stopped at


hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int mapFrameBufferLocked(private_module_t*)':
hardware/qcom/display/libgralloc/framebuffer.cpp:920: warning: comparison of unsigned expression < 0 is always false
hardware/qcom/display/libgralloc/framebuffer.cpp:921: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int fb_device_open(const hw_module_t*, const char*, hw_device_t**)':
hardware/qcom/display/libgralloc/framebuffer.cpp:1047: error: 'struct framebuffer_device_t' has no member named 'lockBuffer'
hardware/qcom/display/libgralloc/framebuffer.cpp:1070: error: 'struct framebuffer_device_t' has no member named 'numFramebuffers'
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/gralloc.msm7x30_intermediates/framebuffer.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C: libFFTEm <= external/neven/Embedded/common/src/b_APIEm/Functions.c


Copied over the file its building again.
 
Weird that yours completed. Mine is stopping at:

Code:
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/framebuffer.cpp
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int mapFrameBufferLocked(private_module_t*)':
hardware/qcom/display/libgralloc/framebuffer.cpp:920: warning: comparison of unsigned expression < 0 is always false
hardware/qcom/display/libgralloc/framebuffer.cpp:921: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int fb_device_open(const hw_module_t*, const char*, hw_device_t**)':
hardware/qcom/display/libgralloc/framebuffer.cpp:1047: error: 'struct framebuffer_device_t' has no member named 'lockBuffer'
hardware/qcom/display/libgralloc/framebuffer.cpp:1070: error: 'struct framebuffer_device_t' has no member named 'numFramebuffers'
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/gralloc.msm7x30_intermediates/framebuffer.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/gpu.cpp

I did a ack-grep search on the directory; lockerBuffer and numFramebuffers are not mentioned anywhere else. I forgot to mention that I deleted lines 1047 and 1070 of hardware/qcom/display/libgralloc/framebuffer.cpp
 
If you guys could test out my WIFI changes, I'd appreciate it. I posted the link a couple posts above.

If I can get WIFI working, it could hold us over until I can figure out why mobile data isn't working.
 
If you guys could test out my WIFI changes, I'd appreciate it. I posted the link a couple posts above.

If I can get WIFI working, it could hold us over until I can figure out why mobile data isn't working.

I'll do that right after I see if this build completes!

EDIT: This build is taking much longer than I thought. Everything's good so far.
 
If you guys could test out my WIFI changes, I'd appreciate it. I posted the link a couple posts above.

If I can get WIFI working, it could hold us over until I can figure out why mobile data isn't working.

Okay. Have you tested the new Adreno 205 drivers?

See the following website for a discussion on the drivers:
[!]GPU Driver Update [Speed Up Your Graphics!] - xda-developers

I am also wondering what would need to be done to port the current kernel to a 3.0 kernel, given that there is a msm-3.0 kernel.
 
I havent tried my new build but I make cleaned && make clobber
Then repo sync and i get this

shane@shane-TA990FXE:~/ICS$ repo sync
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 1), reused 3 (delta 1)
Unpacking objects: 100% (3/3), done.
From git://github.com/ikarosdev/android
a69f191..a9f6398 ics -> origin/ics
error: .repo/manifests/: contains uncommitted changes


I just redid repo init and its fine now.
 
After building, I got this error. I think I read something about overlay in a post somewhere.

Edit: Fixed. Deleted overlay and it's continuing.

Code:
nothing matches overlay file main.dict, for flavor ,,it,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,iw,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,ka,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,pt,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,ru,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,sv,,,,,,,,,,,,,,,,
target R.java/Manifest.java: Launcher2 (out/target/common/obj/APPS/Launcher2_intermediates/src/R.stamp)
vendor/motorola/triumph/overlay/packages/apps/Launcher2/res/layout/all_apps.xml:26: error: Error parsing XML: no element found
make: *** [out/target/common/obj/APPS/Launcher2_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....
 
I am going to start working on the 3.0 kernel since a developer at the xda forums claimed that he has working Adreno 205 libs for ICS. The libs don't work for gingerbread, and I have been unable to find any libraries (with the exception of the ones Samsung has) that will work for our device. From what I read, the Samsung version of the Adreno 205 libraries have been modified specifically for their devices. It seems like the best solution, at the moment, is to try to find all of the proprietary drivers for the 3.0 kernel and then take it from there.
 
Back
Top Bottom