[Moto X Android Development] sharukins:
Seems I screwed up big time, got a working build now. I will test a bit and might upload it tomorrow.

edit: the build boots fine and starts optimizing the apps but when starting it gets stuck.

logcat says that the device is waiting for the media.audio_policy service

08-17 23:15:04.197 1022 1022 I SystemServer: Connectivity Service
08-17 23:15:04.201 1022 1022 D ConnectivityService: ConnectivityService starting up
08-17 23:15:04.219 1022 1022 D ConnectivityService: wifiOnly=false
08-17 23:15:04.235 1022 1022 I SystemServer: Network Service Discovery Service
08-17 23:15:04.238 1022 1022 D NsdService: Network service discovery enabled true
08-17 23:15:04.242 1022 1022 I SystemServer: UpdateLock Service
08-17 23:15:04.245 1022 1022 I SystemServiceManager: Starting com.android.server.notification.NotificationManagerService
08-17 23:15:04.269 1022 1022 I ZenModeConfig: Migrating existing shared 'from': stars
08-17 23:15:04.323 1022 1022 I SystemServiceManager: Starting com.android.server.storage.DeviceStorageMonitorService
08-17 23:15:04.329 1022 1022 I SystemServer: Location Manager
08-17 23:15:04.337 1022 1022 I SystemServer: Country Detector
08-17 23:15:04.338 1022 1022 I SystemServer: Search Service
08-17 23:15:04.345 1022 1022 I SystemServer: DropBox Service
08-17 23:15:04.347 1022 1022 I SystemServer: Wallpaper Service
08-17 23:15:04.357 1022 1022 W WallpaperManagerService: no current wallpaper -- first boot?
08-17 23:15:04.357 1022 1022 I SystemServer: Audio Service
08-17 23:15:04.371 1022 1022 W TelecomManager: Telecom Service not found.
08-17 23:15:04.373 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:04.380 1022 1445 D WifiHW : Unable to unload driver module "wlan": No such file or directory
08-17 23:15:04.381 1022 1445 D WifiApConfigStore: 2G band allowed channels are:1,6,11
08-17 23:15:05.374 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:06.375 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:07.376 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:08.377 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:09.377 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:15:09.879 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:10.879 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:11.880 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:12.881 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:13.883 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:14.883 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:15:15.384 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:16.385 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:17.386 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:18.387 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:19.388 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:20.389 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:15:20.890 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:21.891 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:22.892 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:23.893 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:24.894 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:25.894 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:15:26.396 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:27.397 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:28.398 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:29.399 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:30.400 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:31.400 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:15:31.901 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:32.903 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:33.904 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:34.905 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:35.277 215 384 I MDMCTBK : NetlinkHandler, power_supply subsys
08-17 23:15:35.277 215 384 I MDMCTBK : NetlinkHandler, usbChargerStateChanged
08-17 23:15:35.277 215 384 I MDMCTBK : checkDefaultInst, current pid is = 215
08-17 23:15:35.277 215 384 I MDMCTBK : checkDefaultInst, pid match
08-17 23:15:35.277 215 384 I MDMCTBK : MdmCutbackHndler,readFromFile = /sys/class/power_supply/usb/online
08-17 23:15:35.277 215 384 I MDMCTBK : MdmCutbackHndler,readFromFile = /sys/class/power_supply/pm8921-dc/online
08-17 23:15:35.906 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:36.906 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:15:37.407 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:38.409 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:39.409 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:40.410 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:41.411 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:42.411 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:15:42.912 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:43.914 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:44.915 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:45.916 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:46.917 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:47.917 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:15:48.418 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:49.419 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:50.420 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:51.421 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:52.422 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:53.422 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:15:53.924 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:54.925 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:55.926 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:56.927 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:57.928 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:15:58.928 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:15:59.429 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:00.430 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:01.431 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:02.433 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:03.434 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:04.434 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:16:04.935 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:05.936 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:06.937 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:07.938 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:08.940 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:09.940 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:16:10.441 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:11.442 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:12.443 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:13.444 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:14.445 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:15.445 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:16:15.947 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:16.948 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:17.949 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:18.950 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:19.951 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:20.951 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:16:21.452 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:22.454 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:23.455 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:24.456 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:25.457 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:26.457 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:16:26.958 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:27.959 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:28.961 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:29.962 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:30.963 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:31.963 1022 1453 W AudioSystem: AudioPolicyService not published, waiting...
08-17 23:16:32.464 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:33.465 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:34.466 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:35.276 215 384 I MDMCTBK : NetlinkHandler, power_supply subsys
08-17 23:16:35.277 215 384 I MDMCTBK : NetlinkHandler, usbChargerStateChanged
08-17 23:16:35.277 215 384 I MDMCTBK : checkDefaultInst, current pid is = 215
08-17 23:16:35.277 215 384 I MDMCTBK : checkDefaultInst, pid match
08-17 23:16:35.277 215 384 I MDMCTBK : MdmCutbackHndler,readFromFile = /sys/class/power_supply/usb/online
08-17 23:16:35.277 215 384 I MDMCTBK : MdmCutbackHndler,readFromFile = /sys/class/power_supply/pm8921-dc/online
08-17 23:16:35.468 1022 1453 I ServiceManager: Waiting for service media.audio_policy...
08-17 23:16:36.469 1022 1453 I ServiceManager: Waiting for service media.audio_policy...