Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[ROM][SGH-I777][4.0.4] CyanogenMod 9 nightly builds | DISCUSSION THREAD

OP atinm

18th April 2012, 08:37 PM   |  #1501  
Senior Member
Thanks Meter: 11
 
105 posts
Join Date:Joined: Mar 2006
Having issues with self facing camera (default) giving FC when used.

Works fine on back lens, just the face camera.

Anyone else? Running 4/17

Sent from my SGH-I777 using XDA Premium App
Last edited by byrddogx; 18th April 2012 at 09:06 PM.
18th April 2012, 08:58 PM   |  #1502  
Slavestate's Avatar
Senior Member
Flag Coachella
Thanks Meter: 152
 
653 posts
Join Date:Joined: Sep 2010
More
There is no 04/14 build...


Sent from my SGH-I777 using Tapatalk
18th April 2012, 09:57 PM   |  #1503  
Member
Flag Charlotte
Thanks Meter: 17
 
86 posts
Join Date:Joined: Oct 2011
More
I noticed starting today (at least i think it started today) that when building android using
Code:
./build.sh i777 kernel
now seems to only build the kernel when it used to build the kernel, copy it to the i777 directory, then build android. Did something change recently? I saw a few merged changes as far as how the kernel is built, but did that affect the way our build script works?
18th April 2012, 09:58 PM   |  #1504  
mgd76's Avatar
Senior Member
Flag Foxborough, MA
Thanks Meter: 29
 
182 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by byrddogx

Having issues with self facing camera (default) giving FC when used.

Works fine on back lens, just the face camera.

Anyone else? Running 4/17

Sent from my SGH-I777 using XDA Premium App

Works fine, 4/17 nightly...
18th April 2012, 10:38 PM   |  #1505  
Senior Member
Flag Las Vegas
Thanks Meter: 19
 
175 posts
Join Date:Joined: Mar 2012
More
Quote:
Originally Posted by byrddogx

Having issues with self facing camera (default) giving FC when used.

Works fine on back lens, just the face camera.

Anyone else? Running 4/17

Sent from my SGH-I777 using XDA Premium App

Camera is A ok here on 4/17 Nightly
19th April 2012, 12:30 AM   |  #1506  
Senior Member
Thanks Meter: 75
 
346 posts
Join Date:Joined: Nov 2010
Quote:
Originally Posted by brendonlee

I noticed starting today (at least i think it started today) that when building android using

Code:
./build.sh i777 kernel
now seems to only build the kernel when it used to build the kernel, copy it to the i777 directory, then build android. Did something change recently? I saw a few merged changes as far as how the kernel is built, but did that affect the way our build script works?

I took a look at the build script. the script it self doesnt show that it ever exhibited that behavior. and if it did and i missed it, there was nothing changed that would cause that. unless there is another file that would cause this change.

i havent built with that command but you might want to try using the one on that website right above it. or if you want to make it do it all at once make a script of your own that calls the build.sh moves the kernel and then calls brunch... just a thought.


also to the guy who said that there was no 4/14 nightly... so?
Last edited by tmckenn2; 19th April 2012 at 12:47 AM.
The Following User Says Thank You to tmckenn2 For This Useful Post: [ View ]
19th April 2012, 01:41 AM   |  #1507  
Member
Flag Charlotte
Thanks Meter: 17
 
86 posts
Join Date:Joined: Oct 2011
More
Quote:
Originally Posted by tmckenn2

I took a look at the build script. the script it self doesnt show that it ever exhibited that behavior. and if it did and i missed it, there was nothing changed that would cause that. unless there is another file that would cause this change.

i havent built with that command but you might want to try using the one on that website right above it. or if you want to make it do it all at once make a script of your own that calls the build.sh moves the kernel and then calls brunch... just a thought.


also to the guy who said that there was no 4/14 nightly... so?

Thanks for looking at that man. You just kinda reminded me that I have a VM from a few days ago that does the kernel compile & then builds that I can use to compare to the new one I've been using.

---------- Post added at 07:41 PM ---------- Previous post was at 07:04 PM ----------

Well, after comparing the files - it definitely was changed, probably to make the process better/streamlined.

The old code when building:
Code:
# Start the Build
case "$ADDITIONAL" in
	kernel)
		echo -e "${txtgrn}Building Kernel...${txtrst}"
		cd kernel/samsung/${board}
		./build.sh "$COMMAND"
		cd ../../..
		echo -e "${txtgrn}Building Android...${txtrst}"
		brunch ${brunch}
		;;
	*)
		echo -e "${txtgrn}Building Android...${txtrst}"
		brunch ${brunch}
		;;
esac
and the new code:
Code:
# Start the Build
case "$ADDITIONAL" in
	kernel)
		echo -e "${txtgrn}Rebuilding bootimage...${txtrst}"

        rm -rf out/target/product/${COMMAND}/obj/KERNEL_OBJ
        rm out/target/product/${COMMAND}/kernel
        rm out/target/product/${COMMAND}/boot.img
        rm -rf out/target/product/${COMMAND}/ramdisk*

        make -j${THREADS} out/target/product/${COMMAND}/boot.img
		;;
	*)
		echo -e "${txtgrn}Building Android...${txtrst}"
		brunch ${brunch}
		;;
esac
It seems to be exiting the case before it gets to
Code:
echo -e "${txtgrn}Building Android...${txtrst}"
		brunch ${brunch}
as it does output the elapsed time (which code is after the case statement), but does not echo "Building Android..." and does not do a brunch. Unfortunately I'm not strong enough with programming to figure out why it is exiting . I'm sure someone else can see it plain as day.

Interestingly enough, I've also found that during the build of 'new' kernel, for some reason it decides to use the prebuilt kernel instead:
Code:
uild/core/tasks/kernel.mk:26: ***************************************************************
build/core/tasks/kernel.mk:27: * Using prebuilt kernel binary instead of source              *
build/core/tasks/kernel.mk:28: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED                *
build/core/tasks/kernel.mk:29: * Please configure your device to download the kernel         *
build/core/tasks/kernel.mk:30: * source repository to kernel/samsung/i777
build/core/tasks/kernel.mk:31: * See http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building
build/core/tasks/kernel.mk:32: * for more information                                        *
build/core/tasks/kernel.mk:33: *************************************************
Maybe because of the deprecated commands? Either way, apparently using "./build.sh i777 kernel" no longer compiles the kernel OR builds android.

EDIT: After looking at it, I realized...shouldn't Build Android lines be directly after the
"make -j${THREADS} out/target/product/${COMMAND}/boot.img"?
Something similar to:
Code:
# Start the Build
case "$ADDITIONAL" in
	kernel)
		echo -e "${txtgrn}Rebuilding bootimage...${txtrst}"

        rm -rf out/target/product/${COMMAND}/obj/KERNEL_OBJ
        rm out/target/product/${COMMAND}/kernel
        rm out/target/product/${COMMAND}/boot.img
        rm -rf out/target/product/${COMMAND}/ramdisk*

        make -j${THREADS} out/target/product/${COMMAND}/boot.img
        echo -e "${txtgrn}Building Android...${txtrst}"
        brunch ${brunch}
		;;
	*)
		echo -e "${txtgrn}Building Android...${txtrst}"
		brunch ${brunch}
		;;
esac
since the second "Building Android" command is part of the 'else' part of the case statement? This is why I didn't become a programmer haha ::facepalm::
Last edited by brendonlee; 19th April 2012 at 01:54 AM.
19th April 2012, 02:08 AM   |  #1508  
Slavestate's Avatar
Senior Member
Flag Coachella
Thanks Meter: 152
 
653 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by tmckenn2

also to the guy who said that there was no 4/14 nightly... so?

That would be me. There was no 04/14 which he posted he was having issues with. He later edited his post and changed it. So?
Next time I'll quote the OP for the slow folks.

Sent from my SGH-I777 using Tapatalk
19th April 2012, 03:05 AM   |  #1509  
Member
Thanks Meter: 136
 
32 posts
Join Date:Joined: Apr 2012
You can add these lines into device/samsung/i777/BoardConfig.mk and it should build the kernel from source.

Code:
TARGET_KERNEL_SOURCE := kernel/samsung/smdk4210
TARGET_KERNEL_CONFIG := cyanogenmod_i777_defconfig
Remove the old kernel:

Code:
rm out/target/product/i777/kernel
Then this will build it (probably the script will build it now too with the BoardConfig.mk changes)

Code:
make -j4 out/target/product/i777/kernel
EDIT: Looks like this should be integrated in pretty soon: review.cyanogenmod.com/#/c/14869/
Last edited by intrepresentation; 19th April 2012 at 03:19 AM. Reason: Add link:
The Following User Says Thank You to intrepresentation For This Useful Post: [ View ]
19th April 2012, 03:29 AM   |  #1510  
Member
Flag Charlotte
Thanks Meter: 17
 
86 posts
Join Date:Joined: Oct 2011
More
Quote:

EDIT: Looks like this should be integrated in pretty soon: review.cyanogenmod.com/#/c/14869/

Thanks man! I was actually just looking at that change by codeworkx wondering if it would fix my issue. haha..thanks again though. Are you new to xda? Aren't you one of the developers that contributes to CM? I feel like i've seen your name on gerrit before

Post Reply Subscribe to Thread

Tags
cm9, cyanogenmod, ice cream sandwich, ics, teamhacksung
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes