Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,101 Members 42,792 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
byrddogx
Old
(Last edited by byrddogx; 18th April 2012 at 08:06 PM.)
#1501  
Senior Member
Thanks Meter 11
Posts: 105
Join Date: 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
 
Slavestate
Old
#1502  
Slavestate's Avatar
Senior Member
Thanks Meter 152
Posts: 653
Join Date: Sep 2010
Location: Coachella
There is no 04/14 build...


Sent from my SGH-I777 using Tapatalk
 
brendonlee
Old
#1503  
Member
Thanks Meter 17
Posts: 86
Join Date: Oct 2011
Location: Charlotte
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?
 
mgd76
Old
#1504  
mgd76's Avatar
Senior Member
Thanks Meter 29
Posts: 182
Join Date: Feb 2012
Location: Foxborough, MA
Quote:
Originally Posted by byrddogx View Post
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...
Sent from my Galaxy S II running CM9
 
aj9507
Old
#1505  
Senior Member
Thanks Meter 19
Posts: 175
Join Date: Mar 2012
Location: Las Vegas
Quote:
Originally Posted by byrddogx View Post
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

AT&T SGH-I777
Nightlies
 
tmckenn2
Old
(Last edited by tmckenn2; 18th April 2012 at 11:47 PM.)
#1506  
Senior Member
Thanks Meter 75
Posts: 345
Join Date: Nov 2010
Quote:
Originally Posted by brendonlee View Post
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?
The Following User Says Thank You to tmckenn2 For This Useful Post: [ Click to Expand ]
 
brendonlee
Old
(Last edited by brendonlee; 19th April 2012 at 12:54 AM.)
#1507  
Member
Thanks Meter 17
Posts: 86
Join Date: Oct 2011
Location: Charlotte
Quote:
Originally Posted by tmckenn2 View Post
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::
 
Slavestate
Old
#1508  
Slavestate's Avatar
Senior Member
Thanks Meter 152
Posts: 653
Join Date: Sep 2010
Location: Coachella
Quote:
Originally Posted by tmckenn2 View Post
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
 
intrepresentation
Old
(Last edited by intrepresentation; 19th April 2012 at 02:19 AM.) Reason: Add link:
#1509  
Member
Thanks Meter 136
Posts: 32
Join Date: 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/
The Following User Says Thank You to intrepresentation For This Useful Post: [ Click to Expand ]
 
brendonlee
Old
#1510  
Member
Thanks Meter 17
Posts: 86
Join Date: Oct 2011
Location: Charlotte
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

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

Advanced Search
Display Modes