[G2 and Desire Z Android Development] NeverGone\RU:
Already did :)

Now trying to fix/update frameworks_base repo...

UPD> Stuck on

make: *** No rule to make target `device/generic/goldfish/fstab.goldfish', needed by `/home/nevergone/cyanogenmod/out/target/product/vision/root/fstab.goldfish'. Stop.

Experimenting further...

UPD2> And here's why:

Will post back if I make any progress :)

UPD3> Made a new fstab, but still got same error. Had to add generic repos to default.xml. Now I have no idea what this is...

make: *** No rule to make target `/home/nevergone/cyanogenmod/out/target/product/vision/obj/SHARED_LIBRARIES/libharfbuzz_ng_intermediates/export_includes', needed by `/home/nevergone/cyanogenmod/out/target/product/vision/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/import_includes'. Stop.

UPD4> Looks like I fixed that. Expect more news :)

UPD5> Now I seriously don't get it:

target thumb C: librpc <= hardware/qcom/librpc/librpc/xdr.c
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:56:34: warning: narrowing conversion of 'android::Sensor::kFrameDurationRange[0]' from 'const nsecs_t {aka const long long int}' to 'const uint64_t {aka const long long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:70:34: warning: narrowing conversion of 'android::Sensor::kFrameDurationRange[0]' from 'const nsecs_t {aka const long long int}' to 'const uint64_t {aka const long long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:85:34: warning: narrowing conversion of 'android::Sensor::kFrameDurationRange[0]' from 'const nsecs_t {aka const long long int}' to 'const uint64_t {aka const long long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:656:1: warning: narrowing conversion of '(android::._156)-2147483648' from 'int' to 'unsigned int' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:656:1: warning: narrowing conversion of '(android::._157)-2147483647' from 'int' to 'unsigned int' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp: In member function 'android::status_t android::EmulatedFakeCamera2::ReadoutThread::collectStatisticsMetadata(camera_metadata_t*)':
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1568:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[0]) * 10u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1568:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[1]) * 15u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1568:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[0]) * 12u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1568:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[1]) * 17u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1568:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[0]) * 16u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1568:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[1]) * 15u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1568:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[0]) * 18u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1568:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[1]) * 17u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1613:5: warning: narrowing conversion of '(((double)android::Sensor::kResolution[0] * 1.05e+1) / 2.0e+1)' from 'double' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1613:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[1]) * 16u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1613:5: warning: narrowing conversion of '(((double)android::Sensor::kResolution[0] * 1.15e+1) / 2.0e+1)' from 'double' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1613:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[1]) * 16u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1613:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[0]) * 11u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1613:5: warning: narrowing conversion of '(((double)android::Sensor::kResolution[1] * 1.65e+1) / 2.0e+1)' from 'double' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1613:5: warning: narrowing conversion of '(((double)android::Sensor::kResolution[0] * 1.65e+1) / 2.0e+1)' from 'double' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1613:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[1]) * 16u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1613:5: warning: narrowing conversion of '(((double)android::Sensor::kResolution[0] * 1.75e+1) / 2.0e+1)' from 'double' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1613:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[1]) * 16u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1613:5: warning: narrowing conversion of '((((unsigned int)android::Sensor::kResolution[0]) * 17u) / 20u)' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:1613:5: warning: narrowing conversion of '(((double)android::Sensor::kResolution[1] * 1.65e+1) / 2.0e+1)' from 'double' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp: In member function 'android::status_t android::EmulatedFakeCamera2::constructStaticInfo(camera_metadata_t**, bool) const':
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:2275:5: warning: narrowing conversion of 'android::Sensor::kBlackLevel' from 'const uint32_t {aka const unsigned int}' to 'const int32_t {aka const int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:2275:5: warning: narrowing conversion of 'android::Sensor::kBlackLevel' from 'const uint32_t {aka const unsigned int}' to 'const int32_t {aka const int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:2275:5: warning: narrowing conversion of 'android::Sensor::kBlackLevel' from 'const uint32_t {aka const unsigned int}' to 'const int32_t {aka const int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:2275:5: warning: narrowing conversion of 'android::Sensor::kBlackLevel' from 'const uint32_t {aka const unsigned int}' to 'const int32_t {aka const int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp: In member function 'android::status_t android::EmulatedFakeCamera2::constructDefaultRequest(int, camera_metadata_t**, bool) const':
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:2639:36: warning: narrowing conversion of 'android::Sensor::kResolution[0]' from 'const unsigned int' to 'const int32_t {aka const int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:2726:36: warning: narrowing conversion of 'android::Sensor::kResolution[0]' from 'const unsigned int' to 'const int32_t {aka const int}' inside { } is ill-formed in C++11 [-Wnarrowing]
device/generic/goldfish/camera/EmulatedFakeCamera2.cpp:2726:60: warning: narrowing conversion of 'android::Sensor::kResolution[1]' from 'const unsigned int' to 'const int32_t {aka const int}' inside { } is ill-formed in C++11 [-Wnarrowing]

Why the heck it still tries to make a build for the emulator? (since "goldfish" is the emulator codename)

target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/mapper.cpp
hardware/qcom/display/libgralloc/gralloc.cpp:94:1: sorry, unimplemented: non-trivial designated initializers not supported
make: *** [/home/nevergone/cyanogenmod/out/target/product/vision/obj/SHARED_LIBRARIES/gralloc.msm7x30_intermediates/gralloc.o] Error 1

hardware/qcom/audio-caf/msm7x30/AudioHardware.h:34:33: fatal error: linux/msm_audio_aac.h: No such file or directory
compilation terminated.
make: *** [/home/nevergone/cyanogenmod/out/target/product/vision/obj/SHARED_LIBRARIES/audio.primary.msm7x30_intermediates/AudioHardware.o] Error 1

[MENTION=4350964]Flinny[/MENTION], any thoughts? :)