yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] pirej:
Hi, help needed :)

Im trying to build aosp kitkat for Xiaomi Mi3...

including ./device/qcom/common/Android.mk ...
including ./device/sample/Android.mk ...
including ./device/xiaomi/cancro/Android.mk ...
[COLOR="Blue"]Can't open kernel/arch/arm/configs/: No such file or directory at -e line 1.[/COLOR]
including ./docs/source.android.com/Android.mk ...
including ./external/aac/Android.mk ...
including ./external/android-clat/Android.mk ...



[36mtarget thumb C++:[0m liboverlay <= hardware/qcom/display-caf-new/liboverlay/overlay.cpp
[36mtarget thumb C++:[0m liboverlay <= hardware/qcom/display-caf-new/liboverlay/overlayUtils.cpp
[36mtarget thumb C++:[0m liboverlay <= hardware/qcom/display-caf-new/liboverlay/overlayMdp.cpp
In file included from hardware/qcom/display-caf-new/liboverlay/overlay.h:33:0,
from hardware/qcom/display-caf-new/liboverlay/overlay.cpp:31:
hardware/qcom/display-caf-new/liboverlay/overlayUtils.h:38:36: fatal error: linux/msm_mdp.h: No such file or directory
#include <linux/msm_mdp.h> // flags
^
compilation terminated.
make: *** [out/target/product/cancro/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlay.o] Error 1
make: *** Waiting for unfinished jobs....
[36mtarget thumb C++:[0m liboverlay <= hardware/qcom/display-caf-new/liboverlay/overlayRotator.cpp
hardware/qcom/display-caf-new/liboverlay/overlayUtils.cpp:33:27: fatal error: linux/msm_mdp.h: No such file or directory
#include <linux/msm_mdp.h>
^
compilation terminated.
make: *** [out/target/product/cancro/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayUtils.o] Error 1
In file included from hardware/qcom/display-caf-new/liboverlay/overlayMdp.cpp:20:0:
hardware/qcom/display-caf-new/liboverlay/overlayUtils.h:38:36: fatal error: linux/msm_mdp.h: No such file or directory
#include <linux/msm_mdp.h> // flags
^
compilation terminated.
In file included from hardware/qcom/display-caf-new/liboverlay/overlayRotator.h:35:0,
from hardware/qcom/display-caf-new/liboverlay/overlayRotator.cpp:20:
hardware/qcom/display-caf-new/liboverlay/mdpWrapper.h:40:27: fatal error: linux/msm_mdp.h: No such file or directory
#include <linux/msm_mdp.h>
^
compilation terminated.
make: *** [out/target/product/cancro/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayMdp.o] Error 1
make: *** [out/target/product/cancro/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayRotator.o] Error 1
make: *** wait: No child processes. Stop.

Thanks.
[Android Q&A, Help & Troubleshooting] pirej:
Thank you, but i already have those files in:

I'm missing a different one, the linux/msm_mdp.h , its included in all of the 3

#include <linux/msm_mdp.h>

I haven't tried anything since i posted.. but i see it now :)
[Android Q&A, Help & Troubleshooting] maniknarang:
#include <linux/msm_mdp.h>

Add this line in all rhe three files. It is a header file, needed in a lot of files even in libgralloc :)
[Android Q&A, Help & Troubleshooting] skeliton lord:
Cherry Picking

dont know if this is the thread to post this is but this is, at this point, my last resort, i posted this in the nexus 5 thread as well, hoping someone will be able to help.

so i build cm from source every night, but i started missing SlimRoms PIE, so i went ahead and cherry picked it, but i keep coming across this error

frameworks/base/core/java/com/android/internal/util/slim/ButtonsHelper.java:60: cannot find symbol

symbol : variable NAVIGATION_BAR_CONFIG

location: class android.provider.Settings.System

Settings.System.NAVIGATION_BAR_CONFIG,

^

amoung 50 other of them.

if someone can help me it would be much appreciated.

and if the entire code is needed, i can provide it

thanks in advanced
[Android Q&A, Help & Troubleshooting] rodman01:
you can check whether: NAVIGATION_BAR_CONFIG is in frameworks_base/core/java/android/provider/Settings.java....if not then include it like here: https://github.com/SlimRoms/frameworks_base/blob/kk4.4/core/java/android/provider/Settings.java
[Android Q&A, Help & Troubleshooting] fjsferreira:
I always have these mipi_lgit errors when booting newly built roms for my phone. Building goes fine, I tried both aicp and aokp, but the phone never boots, it hangs on bootanimation. The device is an optimus g and I'm using device tree from a known working kernel.

http://pastebin.com/Nv6DjyRk

Can someone help me?

EDIT: I can't adb logcat. Is there a way to adb logcat a non booting device? I know logcat is one of the first services to run...I even added ro.adb.secure=0 and ro.secure=0 and nothing, only get --waiting for device--, but windows device manager shows the usual adb composite device just fine.
[Android Q&A, Help & Troubleshooting] störte:
Just found this Thread. Thank you for doing this. I started to build a cm11 Rom for my One Plus Onewith the ak kernel included but could not make it work. Now that i find this thread i will give it another try over the weekend. My problem was that i add the kernel source (which was also sync) but wasnt build. I think i need to remover the kernel source from cm before building. Be aware that i might start asking a lot of Questions.
[Android Q&A, Help & Troubleshooting] Quasar:
Don't compile without the kernel. It won't work as far as I know. Build together and try fix the errors.
[Android Q&A, Help & Troubleshooting] störte:
I know. What i mean is to remove the CM kernel Source and add the ak Kernel source.
[Android Q&A, Help & Troubleshooting] Quasar:
It should work... Otherwise, build with CM kernel and then make AK kernel separately.
[Android Q&A, Help & Troubleshooting] mukulsoni:
Help me please, getting this error:

Using display-caf-new and earlier edited kernel source as mentioned in this post http://xdaforums.com/showpost.php?p=54001547&postcount=4708.
[Android Q&A, Help & Troubleshooting] dvm84:
Refer to www.github.com/dvm84/android_kernel_sony_eagle

It has all the required commits to build with the caf-new variants.
[Android Q&A, Help & Troubleshooting] mukulsoni:
Thanks for pointing me to the right direction. But is there any easiest way to get the above specific error commit in that bulky commited repo. :) kindly help
[Android Q&A, Help & Troubleshooting] dvm84:
Open that CPP/C++ File and check all #include files they will be inheriting kernel headers.. And look for them in the motorola msm8226 or the one I gave you to look for the commits in that specific files.
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Can anyone help me with this:

drivers/usb/core/driver.c: In function ‘usb_hnp_polling_work’:
drivers/usb/core/driver.c:1318:2: error: implicit declaration of function ‘do_unbind_rebind’ [-Werror=implicit-function-declaration]
do_unbind_rebind(udev, DO_UNBIND);
^
drivers/usb/core/driver.c:1318:25: error: ‘DO_UNBIND’ undeclared (first use in this function)
do_unbind_rebind(udev, DO_UNBIND);
^
drivers/usb/core/driver.c:1318:25: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
make[3]: *** [drivers/usb/core/driver.o] Error 1
make[2]: *** [drivers/usb/core] Error 2
make[2]: *** Waiting for unfinished jobs....

I guess this is a linaro toolchain error. Can anyone help me out?
[Android Q&A, Help & Troubleshooting] dvm84:
Your source?
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
http://github.com/Ateekujjawal/android_kernel_samsung_ms013g
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Got past that error, now getting this just as it was going to end:

drivers/built-in.o:(.data+0xdbc8): undefined reference to `gpio_event_input_func'
make: *** [.tmp_vmlinux1] Error 1
[Android Q&A, Help & Troubleshooting] rodman01:
Is newer java 1.7 version working now for building roms with linux? Has someone already tested it?

And is it worth a try? Or is still the v1.6 the newest working version?
[Android Q&A, Help & Troubleshooting] dvm84:
Its been long since CM / AOKP other similar roms are supporting Java 1.7.. I myself build roms on java 1.7 workstation.. But 1.6 is said to be stable. dunno on what basis but both work. (Ubuntu 14.04 user here)
[Android Q&A, Help & Troubleshooting] rodman01:
great, thanks for that info :good:...think I will try it with an update on the weekend.
[Android Q&A, Help & Troubleshooting] :
EDIT: Already working!
[Android Q&A, Help & Troubleshooting] rodman01:
you can grapp it from here for example...

<project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-11.0" />

add this to rommservice and repo sync again.
[Android Q&A, Help & Troubleshooting] :
Okay and guys I'm trying to automaticly include gapps to my source. If I create a folder called vendor/Giovanni/gapps and gapps.mk is that enough? Or does envsetup.sh need to know the vendor/Giovanni/gapps.mk?
[Android Q&A, Help & Troubleshooting] SK4G:
I am building cm11 for the sidekick 4g and ran into this error

brunch sidekick4"ebtables is disabled on this build"

find: `src': No such file or directory

build/core/base_rules.mk:134: *** system/extras/ext4_utils: MODULE.TARGET.EXECUTABLES.setup_fs already defined by device/samsung/sidekick4g. Stop.

I researched the MODULE.TARGET.EXECUTABLES.setup_fs already defined by device/samsung/sidekick4g issue and suggestions were to delete the setup_fs file within device/samsung/sidekick4g folder. However the setup_fs file wasn't in there, I did find a setup_fs.c file and deleted that one. Then I proceeded to try the build again and ran into the same error. I also deleted the setup_fs.c file within the ext4_utils and still ran into the same error. Another suggestion was to use grep -R setup_fs *. This command pointed to these files,

Android.mk:LOCAL_SRC_FILES := setup_fs.c

Android.mk:LOCAL_MODULE := setup_fs

Android.mk~:LOCAL_SRC_FILES := setup_fs.c

Android.mk~:LOCAL_MODULE := setup_fs

initramfs/init.herring.rc:service setup_fs /system/bin/setup_fs /dev/block/platform/s3c-sdhci.0/by-name/userdata

sidekick4g.mk:	setup_fs

Then when I deleted those lines within the files it said that something wasn't specified (don't quite remeber what wasn't specified). I have tried everything I could think of and can't get past this error :confused:
[Android Q&A, Help & Troubleshooting] dvm84:
I suppose ext4_utils setup_fs is a default build target. Also the Android.mk~ could make issues. These *~* files are generated via nano or gedit.
[Android Q&A, Help & Troubleshooting] rodman01:
I found a fix or workaround on github: https://github.com/praveenv253/b2g-docs/blob/master/totoro/build_errors

And its ref2, which is same error as you descriped. Perhaps this helps you also to fix the error :fingers-crossed:
[Android Q&A, Help & Troubleshooting] SK4G:
Wow thanks that fixed that error :D. This is my first time building, I'm using this guide wiki.cyanogenmod.org/w/Doc:_porting_intro (can't post links yet) but now I'm having some doubts on whether building a cm11 rom for the Sidekick 4G is realistic since it doesn't have a cm device tree, kitkat kernel or kitkat rom. I was told by another XDA member that the blobs pulled and stock kernel are for froyo and that the kernel that is built automatically by the CM bots won't work between different versions of android. He said that the first thing I should do is build a working kitkat kernel and that a lot of work would have to be done to get the qwerty keyboard and drivers working. Can anyone give me advice on what I should do? I see a lot of guides on building from source but they all use a cm device tree and the Sidekick doesn't have one.
[Android Q&A, Help & Troubleshooting] :
I still get core dump when it's going to export apk's, however compiling kernel is working properly. I have 8GB swap so what to do?

By target-export.apk

Illegal instruction (core dumped)
[Android Q&A, Help & Troubleshooting] :
So can you guys tell me what OS you are using with an AMD Cpu?
[Android Q&A, Help & Troubleshooting] dvm84:
I have an HP AMD APU A8 laptop and it freaking overheats with anything other than Win 8. :/
[Android Q&A, Help & Troubleshooting] TheStrix:
Hey friends, I have a AMD Phenom II Black Edition CPU (3.3Ghz) and 4gig of RAM..

Sometimes, while building, my PC turns off automatically.. Is it normal?

Also I am facing this error..

http://hastebin.com/jozinometu.coffee

Busybox error.. Can anyone help me in solving it?
[Android Q&A, Help & Troubleshooting] dvm84:
Kernel source needed by libminui which is the recovery. I quickly searched Github for armani and I see it is Redmi 1S which does not have a kernel source currently so you need to apply patches.

Also I don't see any busybox errors.

Also new bios have this new feature which shuts down the computer automatically so it is normal. Has happened with me many times.
[Android Q&A, Help & Troubleshooting] :
Build stops everytime:

How to fix this?
[Android Q&A, Help & Troubleshooting] TheStrix:
But my PC shuts down automatically.. Everytime.. Maybe its due to heat.. Cz I have only one processor fan working at this moment and all the cabinet fans are off.. Is this the main problem to automated turn off?

Cz it turns off automatically and everytime.. whether be bbqlinux or Ubuntu. :(
[Android Q&A, Help & Troubleshooting] dvm84:
Yes that is the reason.
[Android Q&A, Help & Troubleshooting] thewisenerd:
whatever command you are running, please attach this to the end.

> >(tee stdout.log) 2> >(tee stderr.log >&2)

eg:

mka bacon > >(tee stdout.log) 2> >(tee stderr.log >&2)

this should give you two files, stdout.log && stderr.log.

The stdout: for standard output

The stderr: for all your errors.

attach those two files here.

please do not post screenshots/camerashots :p
[Android Q&A, Help & Troubleshooting] galaxyfreak:
Add these files https://github.com/thewisenerd/vend...mmit/28a02d6520075c748caae48f16402db5db194293
[Android Q&A, Help & Troubleshooting] thewisenerd:
you are missing the audio blobs from THLG. add them. check my github for reference if necessary.

nvm, late :P
[Android Q&A, Help & Troubleshooting] Gamersab:
Replacing your vendor with mine giving me error related to camera, something like libcamera.so BTW I do not remember exact name. Will post whole error soon when I get my hands back to PC :-p
[Android Q&A, Help & Troubleshooting] Gamersab:
:D

[MENTION=4869275]thewisenerd[/MENTION] Last commit in your vendor tree was causing the error.

And I cam across strange error. Please help
[MENTION=4635923]galaxyfreak[/MENTION]

Copying: /home/gamersab/cm11/out/target/common/obj/APPS/SharedStorageBackup_intermediates/classes-jarjar.jar
target Java: ThemesProvider (/home/gamersab/cm11/out/target/common/obj/APPS/ThemesProvider_intermediates/classes)
Copying: /home/gamersab/cm11/out/target/common/obj/APPS/VoiceDialer_intermediates/classes-jarjar.jar
target Java: VpnDialogs (/home/gamersab/cm11/out/target/common/obj/APPS/VpnDialogs_intermediates/classes)
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/AppReceiver.java:64: cannot find symbol
symbol : variable ACTION_THEME_RESOURCES_CACHED
location: class android.content.Intent
} else if (Intent.ACTION_THEME_RESOURCES_CACHED.equals(action)) {
^
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/AppReceiver.java:65: cannot find symbol
symbol : variable EXTRA_THEME_PACKAGE_NAME
location: class android.content.Intent
final String themePkgName = intent.getStringExtra(Intent.EXTRA_THEME_PACKAGE_NAME);
^
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/AppReceiver.java:66: cannot find symbol
symbol : variable EXTRA_THEME_RESULT
location: class android.content.Intent
final int result = intent.getIntExtra(Intent.EXTRA_THEME_RESULT,
^
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/AppReceiver.java:102: cannot find symbol
symbol : method isThemeBeingProcessed(java.lang.String)
location: class android.content.res.ThemeManager
return tm.isThemeBeingProcessed(pkgName);
^
4 errors
make: *** [/home/gamersab/cm11/out/target/common/obj/APPS/ThemesProvider_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/home/gamersab/cm11/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: warning: shared library text segment is not shareable
[Android Q&A, Help & Troubleshooting] :
This is my error, some parts are dutch but it says "leaving folder /home/gi097/android/external/busybox blabla... I set-up my build environment correctly so what is this problem? Normally I build on an AMD PC, which starts with building the kernel first, but now I'm using an Intel Pentium notebook and it doesn't even start building the kernel...

So what am I doing wrong??? :confused:
[Android Q&A, Help & Troubleshooting] Gamersab:
You need to get prebuilts.
[Android Q&A, Help & Troubleshooting] :
Forgotten that! :o thanks!

Still building so that's good!
[Android Q&A, Help & Troubleshooting] dvm84:
Does somebody know about the Segmentation fault (core dumped) error?

http://hastebin.com/kewitugexu.vhdl
[Android Q&A, Help & Troubleshooting] Gamersab:
I think it's related to your PC time or something.

I had this issue twice but don't remember how I fixed it.
[Android Q&A, Help & Troubleshooting] :
Have that issue always, I think out of memory...
[Android Q&A, Help & Troubleshooting] Gamersab:
sudo apt-get install ccache

Then,

Install CodeBlocks from the package manager and run your program in debugging mode. Then when you get your "segmentation fault" you will be able to use the backtrace to find out which part of your program is causing the error.

---------- Post added at 01:22 PM ---------- Previous post was at 01:20 PM ----------

Or make clean :-p
[Android Q&A, Help & Troubleshooting] :
Kernel build stops here:

I need to configure my toolchain settings, but how?
[Android Q&A, Help & Troubleshooting] Gnome:
Can you point me to your kernel source please, I'll check it out for you.
[Android Q&A, Help & Troubleshooting] :
http://github.com/blechd0se/kernel-moto-g

cm-11.0-mr2 branch, I guess I fixed it already by removing the '--'
[Android Q&A, Help & Troubleshooting] Gnome:
Ok nice, anyways what toolchain are you using?
[Android Q&A, Help & Troubleshooting] :
[MENTION=5334172]Gnome[/MENTION] still didn't work, can you help with a temp variable or something?
[Android Q&A, Help & Troubleshooting] F-L-Y-E-R:
Hello,

Can someone go through the actual "porting" process because from what I understand to port a ROM you need to have working ROM from other device? If yes, does that device have to be same manufacturer? Lets say I do have working AOSPA kitkat for my device so I need to get AOSPA lollipop and exchange the certain files and then I'll able to run it? I don't have a clue about this stuff, I only build ROMs.
[Android Q&A, Help & Troubleshooting] Quasar:
You need the same Android version to port. Also, porting gives much worse performance as compared to a source built ROM because it's not really optimized for the device.
[Android Q&A, Help & Troubleshooting] F-L-Y-E-R:
So that means I can't port 5.0 lollipop to my device if it's unsupported? I saw video when someone does port CM10 to device and he exchanges files from CM9 ROM so aren't they different versions?
[Android Q&A, Help & Troubleshooting] Quasar:
As far as I know, it isn't possible because of the differences in code and frameworks... You could try, of course. With a little effort you might be able to make it possible.
[Android Q&A, Help & Troubleshooting] //.dax:
Okay guys, I need little help..

root@kenty-A3H:~/android/kernel# make -j3
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/mach-msm/acpuclock-7627.o
CHK kernel/config_data.h
CC arch/arm/mach-msm/uv.o
LD arch/arm/mach-msm/built-in.o
LD vmlinux.o
drivers/built-in.o:(.bss+0x59578): multiple definition of `readval'
arch/arm/mach-msm/built-in.o:(.bss+0x613bc): first defined here
Makefile:940: recipe for target 'vmlinux.o' failed
make: *** [vmlinux.o] Error 1

Ive never had this kind of problem.. what do I need to do?
[Android Q&A, Help & Troubleshooting] hell_lock:
Blindly porting my unstable uv module? XD

Dont waste ur time on it. Its very unstable.
[Android Q&A, Help & Troubleshooting] //.dax:
Oh you :D
[Android Q&A, Help & Troubleshooting] F-L-Y-E-R:
Any one already building lollipop? CM has opened up branch for all the kernels and proprietaries for my device so that means I can build it? But I have this error :confused:

build/core/base_rules.mk:154: *** hardware/ril/libril: MODULE.TARGET.SHARED_LIBRARIES.libril already defined by device/htc/msm8960-common/libril. Stop.
[Android Q&A, Help & Troubleshooting] Quasar:
It's a conflict. Edit the make file.
[Android Q&A, Help & Troubleshooting] Slimegod:
Is it possible to build AOSP from source for the Sprint s3?
[Android Q&A, Help & Troubleshooting] F-L-Y-E-R:
I'm building CM12 for Htc One S and I get this error:

Symlink: /home/artur/CM/out/target/product/ville/system/bin/su -> /system/xbin/su
make: *** No rule to make target '/home/artur/CM/out/target/product/ville/obj/SHARED_LIBRARIES/libqdutils_intermediates/export_includes', needed by '/home/artur/CM/out/target/product/ville/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....

So at #cyanogenmod-dev people told me that I'm missing hardware/qcom/******-caf/ folders. I found there's a branch on github 'cm-12.0-caf-8960' for 'hardware/qcom/display, media and sound', what if I pull them folders will it fix my problem, thanks.
[Android Q&A, Help & Troubleshooting] TheStrix:
AOSP or CM12?

So guys, I have the basic idea now to compile Android ROMs, I just wanted to ask that which android L ROM do I compile, the original AOSP ROM or CM12? (CM12 sources though have 90% AOSP links, but still) which one would be better?
[Android Q&A, Help & Troubleshooting] arunmcops:
Dear OP,

I am getting this error when compiling AOSP for AndroidOne

Which would you like? [aosp_arm-eng] 19
build/core/product_config.mk:222: *** Can not locate config makefile for product "aosp_sprout". Stop.

** Don't have a product spec for: 'aosp_sprout'
** Do you have the right repo manifest?

2) Karbon Sparkle V Android One

3)Device tree

https://github.com/varunchitre15/android_vendor_google_sprout

https://github.com/varunchitre15/android_kernel_mediatek_sprout

https://github.com/varunchitre15/android_device_google_sprout

4)AOSP 5.0

5)I followed Google Guide for building AOSP.

Tried to modify vendor/device tree according to needs, but getting error. Can you please help out? Asked for help to device maintainer of Omni on PM but he refused.
[Android Q&A, Help & Troubleshooting] a2441918:
Whats the error u getting?
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
https://github.com/CyanogenMod/andr...mmit/4d3d7a0170aa2a4d308b54a34a66612d63bb883c

Try this lunch again and see what happens you might want to move some values to full_sprout.mk from cm.mk because your model won't be set as aosp does not inherit cm.mk

the values here need to move to full_sprout.mk

https://github.com/varunchitre15/android_device_google_sprout/blob/cm-11.0/cm.mk#L10

You can use grouper again for reference on how that should look

https://github.com/CyanogenMod/andr...d308b54a34a66612d63bb883c/full_grouper.mk#L28
[Android Q&A, Help & Troubleshooting] Slimegod:
Can AOSP be built from source for the Sprint s3?
[Android Q&A, Help & Troubleshooting] Slimegod:
I thought this was a thread where I can get build questions answered, I guess not.
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
No it cannot be built without modification wait for cm team to finish bring up.