• 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).

oh ok thanks :) the pc im trying to build on has one core, 512 mb of ram, and ubuntu 10.10 lol

if it doesnt build on the crappy pc, then i will break out the big guns (server) to do the job... :cool:

(x2 dual-core processors, 8 gigs of ram, and 1tb HDD)

Well on my 6core at 3.7 ghz and 4gb of 1800 ram i can build in about 30-45mins so on a single core it might take up to 4or 5 hours. I would just build on the server.
 
Well on my 6core at 3.7 ghz and 4gb of 1800 ram i can build in about 30-45mins so on a single core it might take up to 4or 5 hours. I would just build on the server.

well im trying to push the laptop to its limits lol... (its a thinkpad t42)

also, when using the commands you gave me, it went but gave me an error. i retried, so when it reoccurs i will post it :)
 
well im trying to push the laptop to its limits lol... (its a thinkpad t42)

also, when using the commands you gave me, it went but gave me an error. i retried, so when it reoccurs i will post it :)

Ya post the error so we can see what it is.
 
the error i get is
Code:
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/gralloc.msm7x30_intermediates/framebuffer.o] Error 1
make: *** Waiting for unfinished jobs...
 
the error i get is
Code:
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/gralloc.msm7x30_intermediates/framebuffer.o] Error 1
make: *** Waiting for unfinished jobs...

Ya it tells you above that there is a problem wth line 1072 and 1040 those may not be exact I cant remember but you have to delete those two lines and It will continue.
 
Code:
adb shell dmesg > dmesg_output

Alright I have also noticed that blue-tooth seems to work. I dont have a blue-tooth device but I can try hooking up with a friends phone later.
Its gonna take me about 30 mins to build so I will give you that error then.
 
Ya it tells you above that there is a problem wth line 1072 and 1040 those may not be exact I cant remember but you have to delete those two lines and It will continue.

thats is like speakin spanish to me LOL :D what do i have to edit/remove for the build to continue?
 
the error i get is
Code:
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/gralloc.msm7x30_intermediates/framebuffer.o] Error 1
make: *** Waiting for unfinished jobs...

Can you post more than just the last bit here. There should be more above these lines that actually says where the errors are.
 
I built the rom then the kernel and I put all the .ko files into the system/libs/modules any kernel updater and flashed the kernel after flashing the rom. If i need to copy something else into the any kernel updater let me know.
 
Alright, this is strange to me. Because it doesn't even look like the genlock driver even comes up at the kernel level. There is one good thing though... It doesn't look like you guys are getting that stupid "unable to dequeue native buffer" error anymore. This is good.

Can you guys try something for me. I believe it's important to get the generic lock API working (obviously since all the libs coming from qcom_display rely on it). Try adding these kernel perms in ueventd.triumph.rc (anywhere in the file; it doesn't really matter):

Code:
#genlock 
/dev/genlock            0666    root        root
 
I think I figured out the problem.
The genlock part in the .config is not set so I turned it on.

still didnt work

E/libgenlock( 249): genlock_create_lock: open genlock device failed (err=No such file or directory)
E/msm7x30.gralloc( 249): alloc_impl: genlock_create_lock failed

Im getting the same error even with the stock kernel. I dont think that the driver is being built correctly.
 
Alright, so I finally got around to installing Ubuntu on my Macbook.

I have just pulled the files (rather synced w/ repo). I know I need to set up ADB, pull the files, and set up ROM Manager prior to attempting a build. Anything else I am forgetting?

IF IT ISN'T ONE THING...

Code:
repo initialized in /home/sean/android/system
sean@sean-MacBook:~/android/system$ repo sync -j2
fatal: Not a git repository: '/home/sean/android/system/.repo/projects/abi/cpp.git'
Fetching projects:  51% (124/243)  fatal: Not a git repository: '/home/sean/android/system/.repo/projects/abi/cpp.git'
Fetching projects:  92% (224/243)  From https://android.googlesource.com/platform/packages/wallpapers/Galaxy4
 * [new branch]      ics-mr0-release -> aosp/ics-mr0-release
Fetching projects:  93% (226/243)  From https://android.googlesource.com/platform/packages/wallpapers/HoloSpiral
 * [new branch]      ics-mr0-release -> aosp/ics-mr0-release
Fetching projects:  94% (229/243)  From https://android.googlesource.com/platform/packages/wallpapers/NoiseField
 * [new branch]      ics-mr0-release -> aosp/ics-mr0-release
Fetching projects:  95% (231/243)  From https://android.googlesource.com/platform/packages/wallpapers/PhaseBeam
 * [new branch]      ics-mr0-release -> aosp/ics-mr0-release
Fetching projects:  99% (241/243)  error: Cannot fetch platform/abi/cpp

error: Exited sync due to fetch errors
I've already have killed and restarted repo.What am I doing wrong this time?
 
Back
Top Bottom