CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.1 (JB), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
* Submitting bug reports on nightly builds is the leading
* cause of male impotence.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
SOURCES
Click to expand...
Click to collapse
Device: https://github.com/CyanogenMod/android_device_samsung_i9100
Common: https://github.com/CyanogenMod/android_device_samsung_galaxys2-common
Kernel: https://github.com/CyanogenMod/android_kernel_samsung_smdk4210
CyanogenMod: http://github.com/CyanogenMod
HOWTO BUILD
Click to expand...
Click to collapse
http://teamhacksung.org/wiki/index.php/CyanogenMod10:How_to_build
DEAR KANGERS
Click to expand...
Click to collapse
If you're going to reuse our work, which we're doing for free, be fair and give proper credits.
This is the only payment we're really demanding and we deserve it to be mentioned because of the countless hours we've put into this project.
Open-Source doesn't meant Out-of-Respect!!!
USER THREAD & DOWNLOADS
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=29280423
HOW TO REPORT A BUG
Click to expand...
Click to collapse
To be clear, posts without detailed instructions on how to reproduce a problem and without attached logs will be ignored.
Always provide android (adb logcat) and kernel logs (adb shell dmesg).
If it's a RIL problem we would need a radio log (adb logcat -b radio), too.
When will the Team Hacksung repo be sent upstream to CMs repo?
hillbeast said:
When will the Team Hacksung repo be sent upstream to CMs repo?
Click to expand...
Click to collapse
When its ready.
thracemerin said:
When its ready.
Click to expand...
Click to collapse
I was more asking 'what state does the system need to be in before it is able to be included in the CM repo', not an ETA.
Thx for your post, a lot.
I had download the source code but, i'm not able to find
Code:
~/android/system/device/samsung/i9100.
In
Code:
~/android/system/device
i just have :
Code:
common generic google sample ti
I make something wrong?
Znuf said:
Thx for your post, a lot.
I had download the source code but, i'm not able to find
Code:
~/android/system/device/samsung/i9100.
In
Code:
~/android/system/device
i just have :
Code:
common generic google sample ti
I make something wrong?
Click to expand...
Click to collapse
Check your local_manifest.xml. Do you add it right?
hiepgia said:
Check your local_manifest.xml. Do you add it right?
Click to expand...
Click to collapse
i use this one.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">
<copyfile dest="build.sh" src="samsung/build.sh" />
</project>
</manifest>
Znuf said:
i use this one.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">
<copyfile dest="build.sh" src="samsung/build.sh" />
</project>
</manifest>
Click to expand...
Click to collapse
I added I9100 projects by hand
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">
<copyfile dest="build.sh" src="samsung/build.sh" />
</project>
<project name="teamhacksung/android_device_samsung_i9100" path="device/samsung/i9100" remote="github" revision="jellybean" />
<project name="teamhacksung/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="jellybean" />
<project name="teamhacksung/android_kernel_samsung_smdk4210" path="kernel/samsung/smdk4210" remote="github" revision="jellybean" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="ics" />
</manifest>
I dont know if it's enought since I'm still compiling.
Inviato dal mio GT-I9100 con Tapatalk 2
PieR said:
I added I9100 projects by hand
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">
<copyfile dest="build.sh" src="samsung/build.sh" />
</project>
<project name="teamhacksung/android_device_samsung_i9100" path="device/samsung/i9100" remote="github" revision="jellybean" />
<project name="teamhacksung/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="jellybean" />
<project name="teamhacksung/android_kernel_samsung_smdk4210" path="kernel/samsung/smdk4210" remote="github" revision="jellybean" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="ics" />
</manifest>
I dont know if it's enought since I'm still compiling.
Ah.. you've to enable the i9100 on vendor/cm/vendorsetup.sh
Inviato dal mio GT-I9100 con Tapatalk 2
Click to expand...
Click to collapse
. /build/vendorsetup.sh
lunch cm_i9100-userdebug
mka bacon recoveryzip recoveryimage checkapi
It will do the rest
Or do in this guide
http://teamhacksung.org/wiki/index.php/CyanogenMod10:How_to_build
PieR said:
I added I9100 projects by hand
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">
<copyfile dest="build.sh" src="samsung/build.sh" />
</project>
<project name="teamhacksung/android_device_samsung_i9100" path="device/samsung/i9100" remote="github" revision="jellybean" />
<project name="teamhacksung/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="jellybean" />
<project name="teamhacksung/android_kernel_samsung_smdk4210" path="kernel/samsung/smdk4210" remote="github" revision="jellybean" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="ics" />
</manifest>
I dont know if it's enought since I'm still compiling.
Ah.. you've to enable the i9100 on vendor/cm/vendorsetup.sh
Inviato dal mio GT-I9100 con Tapatalk 2
Click to expand...
Click to collapse
Thank's i'll try
hiepgia said:
. /build/vendorsetup.sh
lunch cm_galaxys2-userdebug
mka bacon recoveryzip recoveryimage checkapi
It will do the rest
Or do in this guide
http://teamhacksung.org/wiki/index.php/CyanogenMod10:How_to_build
Click to expand...
Click to collapse
it's called i9100 now
Ok, I sync, i build (90min) and now?
I don't have any *.zip file.
The 72th last line in my terminal :
Code:
host C++: libLLVMCore <= external/llvm/lib/VMCore/Verifier.cpp
host StaticLib: libclangParse (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangParse_intermediates/libclangParse.a)
host StaticLib: libclangSema (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangSema_intermediates/libclangSema.a)
host StaticLib: libclangAnalysis (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangAnalysis_intermediates/libclangAnalysis.a)
host StaticLib: libclangCodeGen (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/libclangCodeGen.a)
host StaticLib: libclangAST (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangAST_intermediates/libclangAST.a)
host StaticLib: libclangLex (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangLex_intermediates/libclangLex.a)
host StaticLib: libclangEdit (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangEdit_intermediates/libclangEdit.a)
host StaticLib: libclangFrontend (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangFrontend_intermediates/libclangFrontend.a)
host StaticLib: libclangBasic (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangBasic_intermediates/libclangBasic.a)
host StaticLib: libLLVMVectorize (out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMVectorize_intermediates/libLLVMVectorize.a)
target R.java/Manifest.java: Gallery2 (out/target/common/obj/APPS/Gallery2_intermediates/src/R.stamp)
Copying: out/target/common/obj/JAVA_LIBRARIES/com.android.gallery3d.common2_intermediates/classes-jarjar.jar
target R.java/Manifest.java: HTMLViewer (out/target/common/obj/APPS/HTMLViewer_intermediates/src/R.stamp)
target R.java/Manifest.java: InputDevices (out/target/common/obj/APPS/InputDevices_intermediates/src/R.stamp)
target R.java/Manifest.java: KeyChain (out/target/common/obj/APPS/KeyChain_intermediates/src/R.stamp)
target R.java/Manifest.java: LatinIME (out/target/common/obj/APPS/LatinIME_intermediates/src/R.stamp)
nothing matches overlay file main.dict, for flavor ,,cs,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,da,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,de,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,el,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,en,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,es,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,fi,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,fr,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,hr,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,hu,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,it,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,iw,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,ka,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,nl,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,pt,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,ru,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,sv,,,,,,,,,,,,,,,,
Copying: out/target/common/obj/JAVA_LIBRARIES/inputmethod-common_intermediates/classes-jarjar.jar
target R.java/Manifest.java: Launcher2 (out/target/common/obj/APPS/Launcher2_intermediates/src/R.stamp)
target R.java/Manifest.java: LiveWallpapersPicker (out/target/common/obj/APPS/LiveWallpapersPicker_intermediates/src/R.stamp)
target R.java/Manifest.java: MediaProvider (out/target/common/obj/APPS/MediaProvider_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: Mms (out/target/common/obj/APPS/Mms_intermediates/src/R.stamp)
target R.java/Manifest.java: PackageInstaller (out/target/common/obj/APPS/PackageInstaller_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: Phone (out/target/common/obj/APPS/Phone_intermediates/src/R.stamp)
target R.java/Manifest.java: PicoTts (out/target/common/obj/APPS/PicoTts_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: QuickSearchBox (out/target/common/obj/APPS/QuickSearchBox_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: SamsungServiceMode (out/target/common/obj/APPS/SamsungServiceMode_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: Settings (out/target/common/obj/APPS/Settings_intermediates/src/R.stamp)
target R.java/Manifest.java: SettingsProvider (out/target/common/obj/APPS/SettingsProvider_intermediates/src/R.stamp)
target R.java/Manifest.java: SpareParts (out/target/common/obj/APPS/SpareParts_intermediates/src/R.stamp)
target R.java/Manifest.java: Stk (out/target/common/obj/APPS/Stk_intermediates/src/R.stamp)
target R.java/Manifest.java: TelephonyProvider (out/target/common/obj/APPS/TelephonyProvider_intermediates/src/R.stamp)
target R.java/Manifest.java: Torch (out/target/common/obj/APPS/Torch_intermediates/src/R.stamp)
packages/apps/Torch/AndroidManifest.xml:27: error: Error: No resource found that matches the given name (at 'label' with value '@string/widget_label').
make: *** [out/target/common/obj/APPS/Torch_intermediates/src/R.stamp] Erreur 1
make: *** Attente des tâches non terminées....
aapt: warning: string 'pref_flash_mode_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'pref_network_mode_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'pref_screentimeout_mode_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'pref_use_dithering_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_hide_indicator' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_hide_onchange' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_hide_scrollbar' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_widget' has no default translation in packages/apps/Settings/res; found: ru
Elapsed: 87 min(s) 48 sec(s)
It's bad?
Thank's for your help
Znuf said:
Ok, I sync, i build (90min) and now?
I don't have any *.zip file.
The 72th last line in my terminal :
Code:
host C++: libLLVMCore <= external/llvm/lib/VMCore/Verifier.cpp
host StaticLib: libclangParse (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangParse_intermediates/libclangParse.a)
host StaticLib: libclangSema (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangSema_intermediates/libclangSema.a)
host StaticLib: libclangAnalysis (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangAnalysis_intermediates/libclangAnalysis.a)
host StaticLib: libclangCodeGen (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/libclangCodeGen.a)
host StaticLib: libclangAST (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangAST_intermediates/libclangAST.a)
host StaticLib: libclangLex (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangLex_intermediates/libclangLex.a)
host StaticLib: libclangEdit (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangEdit_intermediates/libclangEdit.a)
host StaticLib: libclangFrontend (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangFrontend_intermediates/libclangFrontend.a)
host StaticLib: libclangBasic (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangBasic_intermediates/libclangBasic.a)
host StaticLib: libLLVMVectorize (out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMVectorize_intermediates/libLLVMVectorize.a)
target R.java/Manifest.java: Gallery2 (out/target/common/obj/APPS/Gallery2_intermediates/src/R.stamp)
Copying: out/target/common/obj/JAVA_LIBRARIES/com.android.gallery3d.common2_intermediates/classes-jarjar.jar
target R.java/Manifest.java: HTMLViewer (out/target/common/obj/APPS/HTMLViewer_intermediates/src/R.stamp)
target R.java/Manifest.java: InputDevices (out/target/common/obj/APPS/InputDevices_intermediates/src/R.stamp)
target R.java/Manifest.java: KeyChain (out/target/common/obj/APPS/KeyChain_intermediates/src/R.stamp)
target R.java/Manifest.java: LatinIME (out/target/common/obj/APPS/LatinIME_intermediates/src/R.stamp)
nothing matches overlay file main.dict, for flavor ,,cs,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,da,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,de,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,el,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,en,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,es,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,fi,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,fr,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,hr,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,hu,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,it,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,iw,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,ka,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,nl,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,pt,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,ru,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,sv,,,,,,,,,,,,,,,,
Copying: out/target/common/obj/JAVA_LIBRARIES/inputmethod-common_intermediates/classes-jarjar.jar
target R.java/Manifest.java: Launcher2 (out/target/common/obj/APPS/Launcher2_intermediates/src/R.stamp)
target R.java/Manifest.java: LiveWallpapersPicker (out/target/common/obj/APPS/LiveWallpapersPicker_intermediates/src/R.stamp)
target R.java/Manifest.java: MediaProvider (out/target/common/obj/APPS/MediaProvider_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: Mms (out/target/common/obj/APPS/Mms_intermediates/src/R.stamp)
target R.java/Manifest.java: PackageInstaller (out/target/common/obj/APPS/PackageInstaller_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: Phone (out/target/common/obj/APPS/Phone_intermediates/src/R.stamp)
target R.java/Manifest.java: PicoTts (out/target/common/obj/APPS/PicoTts_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: QuickSearchBox (out/target/common/obj/APPS/QuickSearchBox_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: SamsungServiceMode (out/target/common/obj/APPS/SamsungServiceMode_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: Settings (out/target/common/obj/APPS/Settings_intermediates/src/R.stamp)
target R.java/Manifest.java: SettingsProvider (out/target/common/obj/APPS/SettingsProvider_intermediates/src/R.stamp)
target R.java/Manifest.java: SpareParts (out/target/common/obj/APPS/SpareParts_intermediates/src/R.stamp)
target R.java/Manifest.java: Stk (out/target/common/obj/APPS/Stk_intermediates/src/R.stamp)
target R.java/Manifest.java: TelephonyProvider (out/target/common/obj/APPS/TelephonyProvider_intermediates/src/R.stamp)
target R.java/Manifest.java: Torch (out/target/common/obj/APPS/Torch_intermediates/src/R.stamp)
packages/apps/Torch/AndroidManifest.xml:27: error: Error: No resource found that matches the given name (at 'label' with value '@string/widget_label').
make: *** [out/target/common/obj/APPS/Torch_intermediates/src/R.stamp] Erreur 1
make: *** Attente des tâches non terminées....
aapt: warning: string 'pref_flash_mode_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'pref_network_mode_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'pref_screentimeout_mode_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'pref_use_dithering_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_hide_indicator' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_hide_onchange' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_hide_scrollbar' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_widget' has no default translation in packages/apps/Settings/res; found: ru
Elapsed: 87 min(s) 48 sec(s)
It's bad?
Thank's for your help
Click to expand...
Click to collapse
Try this commit: http://review.cyanogenmod.com/#/c/20065/
golcheck said:
weird I cannot access anything at review.cyanogenmod.com
Edit: I switched from chrome to firefox and is ok now
Click to expand...
Click to collapse
It's merged now anyway, just repo sync
pulser_g2 said:
Try this commit: http://review.cyanogenmod.com/#/c/20065/
Click to expand...
Click to collapse
Thank's a lot. It's working great :highfive:
Recent update to android_frameworks_native breaks the build...
Code:
...
frameworks/native/libs/ui/GraphicBuffer.cpp:132:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
target thumb C++: libui <= frameworks/native/libs/ui/PixelFormat.cpp
target thumb C++: libui <= frameworks/native/libs/ui/Rect.cpp
target thumb C++: libui <= frameworks/native/libs/ui/Region.cpp
target thumb C++: libicuuc <= external/icu4c/common/bmpset.cpp
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In constructor 'android::FramebufferNativeWindow::FramebufferNativeWindow()':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:100:19: error: 'framebuffer_device_t' has no member named 'numFramebuffers'
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:101:19: error: 'framebuffer_device_t' has no member named 'numFramebuffers'
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:102:34: error: 'framebuffer_device_t' has no member named 'numFramebuffers'
make: *** [out/target/product/i9100/obj/SHARED_LIBRARIES/libui_intermediates/FramebufferNativeWindow.o] Error 1
make: *** Waiting for unfinished jobs....
Elapsed: 4 min(s) 45 sec(s)
I am having trouble building. I've followed the instructions up to syncing the repo but on the next step (lunch cm_i9100-userdebug) at first I got "No such file: cm_i9100-userdebug", then after doing . build/envsetup.sh I get:
Code:
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/i9100/cm.mk]]: "device/*/i9100/cm.mk" does not exist. Stop.
Device i9100 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for i9100 not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/i9100/cm.mk]]: "device/*/i9100/cm.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_i9100'
** Do you have the right repo manifest?
There is no /build/vendorsetup.sh (which someone suggested earlier). I tried . ./vendor/cm/vendorsetup.sh but that didn't seem to do anything (and I tried adding a i9100 line but still nothing).
Anyone know what I'm actually supposed to do?
Edit: Am I meant to add that extra stuff to the local manifest which someone posted earlier?
Yes, use that extra stuff. Should work then
To build:
Code:
./build.sh i9100
Sent from my GT-I9100 using xda premium
Bleh, now I'm getting "fatal: The remote end hung up unexpectedly" when I try to sync. Guess I must have reached some usage limit...
Thanks for the answer, anyway.
Guys, I've done something wrong while editing some apk sources. I've compiled CM10, took freaking 111 minutes, and realised that I've forgot something while editing one java file. How can I compile only the apk? I tried "make "apk"", but came up with odex and the apk was missing a lot of resources.
--- If you would rather use a ready-to-go Virtual Machine, check out my post here. ---
--- Copied with permission from http://nathanpfry.com ---
TLDR; if you don't care about an explanation of what your system is doing,
click here to check out XDA Senior Member Aaahh's sweet two-step method based on my guide below.
Otherwise, keep reading!
With a new version of Ubuntu comes an update to my world-famous guide for setting up a build environment to compile Android ROMs. The aim of this guide is to simplify the configuration process for you.
Follow the directions step-by-step. All you have to do is copy and paste the code sections in order and you will be up and running in no time!
This guide applies to all variations of Ubuntu 14.10 Utopic Unicorn 64 bit. Do not use the 32 Bit version.
Also, PAY CLOSE ATTENTION when to use "sudo" and when to not. It can make things funky if you do something as root that you shouldn't.
Much thanks goes out to Google, ProTekk, Canonical, and everyone else that I read a random paragraph here and snippet there.
Ready to begin? Ok.
1) Unless it's a completely fresh Ubuntu installation, many of you may have the wrong version of Java installed. Let's fix that first.
The command below makes sure you're starting with a clean slate. Copy and paste it into a terminal (command prompt) window:
Code:
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*
If necessary, follow the on-screen instructions to remove any previous versions. Otherwise, move on to the next step.
It's time to install Java, one of the core pieces for compiling Android ROMs. Depending on which version of Android you are building, you will need the corresponding version of the Java Development Kit.
*** IF YOU ARE BUILDING ANDROID GINGERBREAD THRU KITKAT (2.3 - 4.4.x) USE THESE INSTRUCTIONS FOR JDK 6***
2) Copy and paste the following into the terminal:
Code:
sudo add-apt-repository ppa:webupd8team/java
This will add the correct PPA to your system for updated builds of Java 6 JDK.
3) Now you need to install the package. More copy-paste:
Code:
sudo apt-get update && sudo apt-get install oracle-java6-installer
Follow the on-screen instructions. You must accept the Licensing Agreement to complete the install.
Press Enter to acknowledge the "OK", then tab over to "Yes" and press Enter again to accept the license. The installation will continue automatically.
4) Let's make sure the correct version of Java is activated. Run the terminal command:
Code:
java -version
You should see something like:
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
Continue to Step 5.
*** IF YOU ARE BUILDING ANDROID L AND ABOVE (CURRENT AOSP MASTER BRANCH) USE THESE INSTRUCTIONS FOR JDK 7***
2) Install Open-JDK 7 for the necessary Java development tools.
Code:
sudo apt-get update && sudo apt-get install openjdk-7-jdk
Follow the on-screen instructions.
3) Let's make sure the correct version of Java is activated. Run the terminal command:
Code:
java -version
You should see something like OpenJDK 1.7
Continue on to Step 5.
5) Back to a fresh terminal prompt. Install the main build tools with this command:
Code:
sudo apt-get install git gnupg ccache lzop flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z1-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev
6) When those are done installing, run the next line in your terminal window:
Code:
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
That's it on the package side of things. You guessed it, time for more Terminal. This really is the easiest way, I promise.
7) A program called "repo" lets you communicate with git servers and download all that precious source code. The next command will install it:
Code:
mkdir ~/bin && curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo
8) Use your favorite text editor to open ~/.bashrc - I like nano:
Code:
sudo nano ~/.bashrc
9) At the very bottom (use the Page Down key) paste this code to a new (empty) line:
Code:
export PATH=~/bin:$PATH
10) Save it. In nano that would be Ctrl-O and then Enter. Then Ctrl-X to exit back to a prompt. Restart bash:
Code:
source ~/.bashrc
11) In the terminal, navigate to where you would like to download the Android source code. The commands below will make it in your home folder, but if you have limited space you may want to create it somewhere else. Faster is better, i.e. SSD would be best, USB external (even 3.0) will be comparatively slow. Here we go:
Code:
mkdir ~/android
cd ~/android
12) Now you're going to initialize the repo. This is where you decide the flavor of Android you want to build, i.e. AOKP, CyanogenMod, AOSP etc.
For the purposes of the tutorial, here's the command for AOKP KitKat:
Code:
repo init -u git://github.com/AOKP/platform_manifest.git -b kitkat
13) Almost there. Last step, it's a doozy. Time to get the source. Prepare yourself, 10+ GB of downloading await.
Don't worry, it's automated.
Hey everyone, it's the final terminal command:
Code:
repo sync
Check back periodically every hour or so. It all depends on how fast your connection is.
That should be everything. Now you're ready to build Android the right way. Good luck!
Feel free to buy me a coconut water (donate) if you like my work. It would be greatly appreciated!
Please hit the "Thanks" button if this post helped you out!
Error while compiling in ubuntu 14.04
i am trying to build aosp_2.3.x using above instruction but facing problem
i am using ubuntu 14.04 64 bit
[email protected]:/home/hackjack/Desktop/aosp_2.3.x# . build/envsetup.sh
including device/htc/passion/vendorsetup.sh
including device/samsung/crespo4g/vendorsetup.sh
including device/samsung/crespo/vendorsetup.sh
[email protected]:/home/hackjack/Desktop/aosp_2.3.x# lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. simulator
4. full_passion-userdebug
5. full_crespo4g-userdebug
6. full_crespo-userdebug
Which would you like? [full-eng] 1
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
[email protected]:/home/hackjack/Desktop/aosp_2.3.x# make -j6
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
Install: out/host/linux-x86/framework/apicheck.jar
Install: out/host/linux-x86/framework/clearsilver.jar
Install: out/host/linux-x86/lib/libneo_util.so
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/dx.jar
host C++: aapt <= frameworks/base/tools/aapt/AaptAssets.cpp
host C++: aapt <= frameworks/base/tools/aapt/Command.cpp
host C++: aapt <= frameworks/base/tools/aapt/Main.cpp
host C++: aapt <= frameworks/base/tools/aapt/Package.cpp
host C++: aapt <= frameworks/base/tools/aapt/StringPool.cpp
host C++: aapt <= frameworks/base/tools/aapt/XMLNode.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
frameworks/base/tools/aapt/StringPool.cpp:1:0: note: this is the location of the previous definition
//
^
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
frameworks/base/tools/aapt/Command.cpp:1:0: note: this is the location of the previous definition
//
^
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
frameworks/base/tools/aapt/Package.cpp:1:0: note: this is the location of the previous definition
//
^
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
frameworks/base/tools/aapt/AaptAssets.cpp:1:0: note: this is the location of the previous definition
//
^
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
frameworks/base/tools/aapt/Main.cpp:1:0: note: this is the location of the previous definition
//
^
frameworks/base/tools/aapt/XMLNode.cpp:1:0: note: this is the location of the previous definition
//
^
In file included from frameworks/base/tools/aapt/Main.h:10:0,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/StringPool.cpp:7:
frameworks/base/include/utils/threads.h:259:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(const char* name) {
^
frameworks/base/include/utils/threads.h:262:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(int type, const char* name) {
^
frameworks/base/include/utils/threads.h:351:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(const char* name) {
^
frameworks/base/include/utils/threads.h:354:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(int type, const char* name) {
^
In file included from frameworks/base/tools/aapt/Main.h:10:0,
from frameworks/base/tools/aapt/Main.cpp:6:
frameworks/base/include/utils/threads.h:259:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(const char* name) {
^
frameworks/base/include/utils/threads.h:262:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(int type, const char* name) {
^
frameworks/base/include/utils/threads.h:351:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(const char* name) {
^
frameworks/base/include/utils/threads.h:354:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(int type, const char* name) {
^
In file included from frameworks/base/include/utils/AssetManager.h:23:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outStart’ [-Wunused-parameter]
virtual int openFileDescriptor(off_t* outStart, off_t* outLength) const { return -1; }
^
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outLength’ [-Wunused-parameter]
In file included from frameworks/base/include/utils/AssetManager.h:23:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Main.cpp:6:
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outStart’ [-Wunused-parameter]
virtual int openFileDescriptor(off_t* outStart, off_t* outLength) const { return -1; }
^
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outLength’ [-Wunused-parameter]
In file included from frameworks/base/include/utils/AssetManager.h:23:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/StringPool.cpp:7:
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outStart’ [-Wunused-parameter]
virtual int openFileDescriptor(off_t* outStart, off_t* outLength) const { return -1; }
^
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outLength’ [-Wunused-parameter]
In file included from frameworks/base/include/utils/ZipFileRO.h:35:0,
from frameworks/base/include/utils/AssetManager.h:29,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/utils/threads.h:259:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(const char* name) {
^
frameworks/base/include/utils/threads.h:262:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(int type, const char* name) {
^
frameworks/base/include/utils/threads.h:351:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(const char* name) {
^
frameworks/base/include/utils/threads.h:354:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(int type, const char* name) {
^
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Main.cpp:6:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
In file included from frameworks/base/tools/aapt/Main.h:10:0,
from frameworks/base/tools/aapt/Package.cpp:6:
frameworks/base/include/utils/threads.h:259:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(const char* name) {
^
frameworks/base/include/utils/threads.h:262:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(int type, const char* name) {
^
frameworks/base/include/utils/threads.h:351:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(const char* name) {
^
frameworks/base/include/utils/threads.h:354:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(int type, const char* name) {
^
In file included from frameworks/base/tools/aapt/Main.h:10:0,
from frameworks/base/tools/aapt/Command.cpp:6:
frameworks/base/include/utils/threads.h:259:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(const char* name) {
^
frameworks/base/include/utils/threads.h:262:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(int type, const char* name) {
^
frameworks/base/include/utils/threads.h:351:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(const char* name) {
^
frameworks/base/include/utils/threads.h:354:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(int type, const char* name) {
^
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/StringPool.cpp:7:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
In file included from frameworks/base/include/utils/AssetManager.h:23:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Package.cpp:6:
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outStart’ [-Wunused-parameter]
virtual int openFileDescriptor(off_t* outStart, off_t* outLength) const { return -1; }
^
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outLength’ [-Wunused-parameter]
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Main.cpp:6:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ssize_t i = indexOfKey(key);
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
In file included from frameworks/base/include/utils/AssetManager.h:23:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Command.cpp:6:
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outStart’ [-Wunused-parameter]
virtual int openFileDescriptor(off_t* outStart, off_t* outLength) const { return -1; }
^
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outLength’ [-Wunused-parameter]
frameworks/base/tools/aapt/StringPool.cpp: In function ‘void printStringPool(const android::ResStringPool*)’:
frameworks/base/tools/aapt/StringPool.cpp:33:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t {aka unsigned int}’ [-Wformat=]
printf("String #%ld: %s\n", s, str);
^
In file included from frameworks/base/tools/aapt/Main.h:10:0,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/XMLNode.h:10,
from frameworks/base/tools/aapt/XMLNode.cpp:7:
frameworks/base/include/utils/threads.h:259:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(const char* name) {
^
frameworks/base/include/utils/threads.h:262:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(int type, const char* name) {
^
frameworks/base/include/utils/threads.h:351:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(const char* name) {
^
frameworks/base/include/utils/threads.h:354:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(int type, const char* name) {
^
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/StringPool.cpp:7:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ssize_t i = indexOfKey(key);
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = int]’:
frameworks/base/tools/aapt/StringPool.cpp:60:45: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Package.cpp:6:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String16, int>’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Main.o] Error 1
make: *** Waiting for unfinished jobs....
frameworks/base/tools/aapt/AaptAssets.cpp:1877:1: warning: unused parameter ‘bundle’ [-Wunused-parameter]
AaptAssets::slurpResourceZip(Bundle* bundle, const char* filename)
^
In file included from frameworks/base/include/utils/AssetManager.h:23:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/XMLNode.h:10,
from frameworks/base/tools/aapt/XMLNode.cpp:7:
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outStart’ [-Wunused-parameter]
virtual int openFileDescriptor(off_t* outStart, off_t* outLength) const { return -1; }
^
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outLength’ [-Wunused-parameter]
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ssize_t i = indexOfKey(key);
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Command.cpp:6:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptGroup>]’:
frameworks/base/tools/aapt/AaptAssets.cpp:1388:41: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptGroup> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptDir>]’:
frameworks/base/tools/aapt/AaptAssets.cpp:1447:53: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptDir> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/XMLNode.h:10,
from frameworks/base/tools/aapt/XMLNode.cpp:7:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/StringPool.o] Error 1
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Package.cpp:6:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ssize_t i = indexOfKey(key);
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = unsigned int]’:
frameworks/base/tools/aapt/ResourceTable.h:480:100: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String16, unsigned int>’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Command.cpp:6:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ssize_t i = indexOfKey(key);
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = unsigned int]’:
frameworks/base/tools/aapt/ResourceTable.h:480:100: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String16, unsigned int>’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/tools/aapt/XMLNode.cpp:176:10: warning: unused parameter ‘bundle’ [-Wunused-parameter]
status_t parseStyledString(Bundle* bundle,
^
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Package.o] Error 1
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/XMLNode.h:10,
from frameworks/base/tools/aapt/XMLNode.cpp:7:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ssize_t i = indexOfKey(key);
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = unsigned int]’:
frameworks/base/tools/aapt/ResourceTable.h:480:100: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String16, unsigned int>’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] Error 1
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/XMLNode.o] Error 1
[email protected]:/home/hackjack/Desktop/aosp_2.3.x#
Click to expand...
Click to collapse
i have highligted the error message
i am using aosp as base rom
below is the command use to get the repo
repo init -u https // android [dot] googlesource [dot] com/platform/manifest.git -b gingerbread