[Galaxy S Advance I9070 General] hastalafiesta:
EDIT solved

---------- Post added at 01:49 PM ---------- Previous post was at 12:52 PM ----------

Fetching projects: 100% (439/439), done.

Syncing work tree: 100% (439/439), done.

Patching frameworks/av

frameworks_av.patch:101: trailing whitespace.

warning: 1 riga aggiunge errori di spazi bianchi.

Patching frameworks/native

frameworks_native.patch:151: trailing whitespace.

// Method for closing copybit device while abandoning the surface

warning: 1 riga aggiunge errori di spazi bianchi.

Applying vibrator fix

Applying low incall volume fix

error: src/com/android/phone/InCallScreen.java: File o directory non esistente

error: src/com/android/phone/PhoneUtils.java: File o directory non esistente

Patching system/core

cp: impossibile eseguire stat di "patches/system_core.patch": File o directory non esistente

bash: cd: system/core: File o directory non esistente

fatal: impossibile aprire la patch 'system_core.patch': File o directory non esistente

rm: impossibile rimuovere "system_core.patch": File o directory non esistente

mauro@Hasta:~$

AND IF I TRY TO BUILD I GET THIS

In file included from frameworks/native/include/batteryservice/BatteryService.h:20:0,

from system/core/healthd/healthd.h:20,

from system/core/healthd/BatteryMonitor.cpp:19:

frameworks/native/include/binder/Parcel.h:32:7: error: template argument required for 'class Flattenable'

In file included from frameworks/native/include/batteryservice/BatteryService.h:20:0,

from system/core/healthd/healthd.h:20,

from system/core/healthd/BatteryMonitor.cpp:19:

frameworks/native/include/binder/Parcel.h:110:26: error: invalid use of template-name 'android::Flattenable' without an argument list

frameworks/native/include/binder/Parcel.h:171:19: error: 'Flattenable' is not a type

frameworks/native/include/binder/Parcel.h:294:15: error: invalid use of template-name 'android::Flattenable' without an argument list

frameworks/native/include/binder/Parcel.h:295:42: error: invalid use of template-name 'android::Flattenable' without an argument list

frameworks/native/include/binder/Parcel.h: In constructor 'android::Parcel::FlattenableHelper::FlattenableHelper(const int&)':

frameworks/native/include/binder/Parcel.h:295:62: error: class 'android::Parcel::FlattenableHelper' does not have any field named 'val'

frameworks/native/include/binder/Parcel.h: In member function 'virtual size_t android::Parcel::FlattenableHelper::getFlattenedSize() const':

frameworks/native/include/binder/Parcel.h:303:20: error: 'val' was not declared in this scope

frameworks/native/include/binder/Parcel.h: In member function 'virtual size_t android::Parcel::FlattenableHelper::getFdCount() const':

frameworks/native/include/binder/Parcel.h:306:20: error: 'val' was not declared in this scope

frameworks/native/include/binder/Parcel.h: In member function 'virtual android::status_t android::Parcel::FlattenableHelper::flatten(void*, size_t, int*, size_t) const':

frameworks/native/include/binder/Parcel.h:309:20: error: 'val' was not declared in this scope

frameworks/native/include/binder/Parcel.h: In member function 'virtual android::status_t android::Parcel::FlattenableHelper::unflatten(const void*, size_t, const int*, size_t)':

frameworks/native/include/binder/Parcel.h:313:31: error: expected type-specifier before 'Flattenable'

frameworks/native/include/binder/Parcel.h:313:31: error: expected '>' before 'Flattenable'

frameworks/native/include/binder/Parcel.h:313:31: error: expected '(' before 'Flattenable'

frameworks/native/include/binder/Parcel.h:313:42: error: missing template arguments before '&' token

frameworks/native/include/binder/Parcel.h:313:43: error: expected primary-expression before '>' token

frameworks/native/include/binder/Parcel.h:313:45: error: 'val' was not declared in this scope

frameworks/native/include/binder/Parcel.h:313:85: error: expected ')' before ';' token

system/core/healthd/BatteryMonitor.cpp: In member function 'int android::BatteryMonitor::getBatteryStatus(const char*)':

system/core/healthd/BatteryMonitor.cpp:62:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:62:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:62:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:62:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:62:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp: In member function 'int android::BatteryMonitor::getBatteryHealth(const char*)':

system/core/healthd/BatteryMonitor.cpp:84:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:84:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:84:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:84:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:84:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:84:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:84:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp: In member function 'android::BatteryMonitor::PowerSupplyType android::BatteryMonitor::readPowerSupplyType(const android::String8&)':

system/core/healthd/BatteryMonitor.cpp:135:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:135:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:135:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:135:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:135:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:135:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:135:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:135:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

system/core/healthd/BatteryMonitor.cpp:135:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

make: *** [/home/mauro/test/out/target/product/janice/obj/EXECUTABLES/healthd_intermediates/BatteryMonitor.o] Errore 1

make: *** Attesa per i processi non terminati....

In file included from frameworks/native/include/batteryservice/BatteryService.h:20:0,

from system/core/healthd/healthd.h:20,

from system/core/healthd/healthd.cpp:20:

frameworks/native/include/binder/Parcel.h:32:7: error: template argument required for 'class Flattenable'

In file included from frameworks/native/include/batteryservice/BatteryService.h:20:0,

from system/core/healthd/healthd.h:20,

from system/core/healthd/healthd.cpp:20:

frameworks/native/include/binder/Parcel.h:110:26: error: invalid use of template-name 'android::Flattenable' without an argument list

frameworks/native/include/binder/Parcel.h:171:19: error: 'Flattenable' is not a type

frameworks/native/include/binder/Parcel.h:294:15: error: invalid use of template-name 'android::Flattenable' without an argument list

frameworks/native/include/binder/Parcel.h:295:42: error: invalid use of template-name 'android::Flattenable' without an argument list

frameworks/native/include/binder/Parcel.h: In constructor 'android::Parcel::FlattenableHelper::FlattenableHelper(const int&)':

frameworks/native/include/binder/Parcel.h:295:62: error: class 'android::Parcel::FlattenableHelper' does not have any field named 'val'

frameworks/native/include/binder/Parcel.h: In member function 'virtual size_t android::Parcel::FlattenableHelper::getFlattenedSize() const':

frameworks/native/include/binder/Parcel.h:303:20: error: 'val' was not declared in this scope

frameworks/native/include/binder/Parcel.h: In member function 'virtual size_t android::Parcel::FlattenableHelper::getFdCount() const':

frameworks/native/include/binder/Parcel.h:306:20: error: 'val' was not declared in this scope

frameworks/native/include/binder/Parcel.h: In member function 'virtual android::status_t android::Parcel::FlattenableHelper::flatten(void*, size_t, int*, size_t) const':

frameworks/native/include/binder/Parcel.h:309:20: error: 'val' was not declared in this scope

frameworks/native/include/binder/Parcel.h: In member function 'virtual android::status_t android::Parcel::FlattenableHelper::unflatten(const void*, size_t, const int*, size_t)':

frameworks/native/include/binder/Parcel.h:313:31: error: expected type-specifier before 'Flattenable'

frameworks/native/include/binder/Parcel.h:313:31: error: expected '>' before 'Flattenable'

frameworks/native/include/binder/Parcel.h:313:31: error: expected '(' before 'Flattenable'

frameworks/native/include/binder/Parcel.h:313:42: error: missing template arguments before '&' token

frameworks/native/include/binder/Parcel.h:313:43: error: expected primary-expression before '>' token

frameworks/native/include/binder/Parcel.h:313:45: error: 'val' was not declared in this scope

frameworks/native/include/binder/Parcel.h:313:85: error: expected ')' before ';' token

make: *** [/home/mauro/test/out/target/product/janice/obj/EXECUTABLES/healthd_intermediates/healthd.o] Errore 1

target StaticLib: libc (/home/mauro/test/out/target/product/janice/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)

mauro@Hasta:~/test$

What I have to do?:// sorry man..