├── Android.mk ├── AndroidProducts.mk ├── BoardConfig.mk ├── Button_Jack.kcm ├── Button_Jack.kl ├── CleanSpec.mk ├── aosp_hammerhead.mk ├── audio_effects.xml ├── audio_platform_info.xml ├── audio_policy_configuration.xml ├── bcmdhd.cal ├── bdAddrLoader ├── Android.mk ├── NOTICE └── addrloader.c ├── bluetooth ├── BCM4339_003.001.009.0079.0339.hcd ├── bdroid_buildcfg.h └── vnd_hammerhead.txt ├── board-info.txt ├── camera ├── Android.mk ├── CleanSpec.mk ├── MODULE_LICENSE_BSD ├── QCamera2 │ ├── Android.mk │ ├── HAL │ │ ├── Android.mk │ │ ├── QCamera2Factory.cpp │ │ ├── QCamera2Factory.h │ │ ├── QCamera2HWI.cpp │ │ ├── QCamera2HWI.h │ │ ├── QCamera2HWICallbacks.cpp │ │ ├── QCamera2Hal.cpp │ │ ├── QCameraAllocator.h │ │ ├── QCameraChannel.cpp │ │ ├── QCameraChannel.h │ │ ├── QCameraMem.cpp │ │ ├── QCameraMem.h │ │ ├── QCameraParameters.cpp │ │ ├── QCameraParameters.h │ │ ├── QCameraPostProc.cpp │ │ ├── QCameraPostProc.h │ │ ├── QCameraStateMachine.cpp │ │ ├── QCameraStateMachine.h │ │ ├── QCameraStream.cpp │ │ ├── QCameraStream.h │ │ ├── QCameraThermalAdapter.cpp │ │ ├── QCameraThermalAdapter.h │ │ └── test │ │ │ ├── Android.mk │ │ │ ├── qcamera_test.cpp │ │ │ └── qcamera_test.h │ ├── HAL3 │ │ ├── Android.mk │ │ ├── QCamera3Channel.cpp │ │ ├── QCamera3Channel.h │ │ ├── QCamera3Factory.cpp │ │ ├── QCamera3Factory.h │ │ ├── QCamera3HALHeader.h │ │ ├── QCamera3HWI.cpp │ │ ├── QCamera3HWI.h │ │ ├── QCamera3Hal.cpp │ │ ├── QCamera3Mem.cpp │ │ ├── QCamera3Mem.h │ │ ├── QCamera3PostProc.cpp │ │ ├── QCamera3PostProc.h │ │ ├── QCamera3Stream.cpp │ │ ├── QCamera3Stream.h │ │ ├── QCamera3VendorTags.cpp │ │ └── QCamera3VendorTags.h │ ├── stack │ │ ├── Android.mk │ │ ├── common │ │ │ ├── cam_intf.h │ │ │ ├── cam_list.h │ │ │ ├── cam_queue.h │ │ │ ├── cam_semaphore.h │ │ │ ├── cam_types.h │ │ │ ├── mm_camera_interface.h │ │ │ └── mm_jpeg_interface.h │ │ ├── mm-camera-interface │ │ │ ├── Android.mk │ │ │ ├── inc │ │ │ │ ├── mm_camera.h │ │ │ │ ├── mm_camera_dbg.h │ │ │ │ └── mm_camera_sock.h │ │ │ └── src │ │ │ │ ├── mm_camera.c │ │ │ │ ├── mm_camera_channel.c │ │ │ │ ├── mm_camera_interface.c │ │ │ │ ├── mm_camera_sock.c │ │ │ │ ├── mm_camera_stream.c │ │ │ │ └── mm_camera_thread.c │ │ ├── mm-camera-test │ │ │ ├── Android.mk │ │ │ ├── inc │ │ │ │ ├── mm_qcamera_app.h │ │ │ │ └── mm_qcamera_dbg.h │ │ │ └── src │ │ │ │ ├── mm_qcamera_app.c │ │ │ │ ├── mm_qcamera_dual_test.c │ │ │ │ ├── mm_qcamera_preview.c │ │ │ │ ├── mm_qcamera_rdi.c │ │ │ │ ├── mm_qcamera_snapshot.c │ │ │ │ ├── mm_qcamera_unit_test.c │ │ │ │ └── mm_qcamera_video.c │ │ └── mm-jpeg-interface │ │ │ ├── Android.mk │ │ │ ├── inc │ │ │ ├── mm_jpeg.h │ │ │ └── mm_jpeg_dbg.h │ │ │ ├── src │ │ │ ├── mm_jpeg.c │ │ │ ├── mm_jpeg_exif.c │ │ │ ├── mm_jpeg_interface.c │ │ │ └── mm_jpeg_queue.c │ │ │ └── test │ │ │ ├── Android.mk │ │ │ ├── mm_jpeg_ionbuf.c │ │ │ ├── mm_jpeg_ionbuf.h │ │ │ └── mm_jpeg_test.c │ └── util │ │ ├── QCameraCmdThread.cpp │ │ ├── QCameraCmdThread.h │ │ ├── QCameraFlash.cpp │ │ ├── QCameraFlash.h │ │ ├── QCameraQueue.cpp │ │ └── QCameraQueue.h ├── QCameraParameters.h ├── QCamera_Intf.h ├── hdr │ └── include │ │ ├── morpho_api.h │ │ ├── morpho_easy_hdr.h │ │ ├── morpho_easy_hdr_ext.h │ │ ├── morpho_error.h │ │ ├── morpho_get_image_size.h │ │ ├── morpho_hdr_checker.h │ │ ├── morpho_image_data.h │ │ ├── morpho_image_data_ex.h │ │ ├── morpho_motion_data.h │ │ ├── morpho_noise_reduction.h │ │ ├── morpho_noise_reduction_ext.h │ │ └── morpho_rect_int.h └── mm-image-codec │ ├── Android.mk │ ├── qexif │ └── qexif.h │ └── qomx_core │ ├── Android.mk │ ├── QOMX_JpegExtensions.h │ ├── qomx_core.c │ └── qomx_core.h ├── compatibility_matrix.xml ├── device.mk ├── dumpstate ├── Android.mk ├── NOTICE └── dumpstate.cpp ├── external_camera_config.xml ├── extract-files.sh ├── factory-images └── generate-factory-images-package.sh ├── fstab.hammerhead ├── full_hammerhead.mk ├── gpio-keys.kcm ├── gpio-keys.kl ├── gps.conf ├── hs_detect.kcm ├── hs_detect.kl ├── init.hammerhead.rc ├── init.hammerhead.usb.rc ├── kernel-headers └── linux │ └── msm_audio_calibration.h ├── liblight ├── Android.mk ├── NOTICE └── lights.c ├── lineage.dependencies ├── lineage_hammerhead.mk ├── manifest.xml ├── media_codecs.xml ├── media_codecs_performance.xml ├── media_profiles_V1_0.xml ├── mixer_paths.xml ├── nfc ├── libnfc-brcm-20791b05.conf └── libnfc-nci.conf ├── overlay ├── frameworks │ └── base │ │ ├── core │ │ └── res │ │ │ └── res │ │ │ ├── drawable-nodpi │ │ │ └── default_wallpaper.png │ │ │ ├── values-mcc204-mnc04 │ │ │ └── config.xml │ │ │ ├── values-mcc208-mnc01 │ │ │ └── config.xml │ │ │ ├── values-mcc208-mnc10 │ │ │ └── config.xml │ │ │ ├── values-mcc208-mnc15 │ │ │ └── config.xml │ │ │ ├── values-mcc208-mnc20 │ │ │ └── config.xml │ │ │ ├── values-mcc208-mnc26 │ │ │ └── config.xml │ │ │ ├── values-mcc214-mnc03 │ │ │ └── config.xml │ │ │ ├── values-mcc214-mnc07 │ │ │ └── config.xml │ │ │ ├── values-mcc218-mnc05 │ │ │ └── config.xml │ │ │ ├── values-mcc222-mnc01 │ │ │ └── config.xml │ │ │ ├── values-mcc222-mnc08 │ │ │ └── config.xml │ │ │ ├── values-mcc238-mnc02 │ │ │ └── config.xml │ │ │ ├── values-mcc240 │ │ │ └── config.xml │ │ │ ├── values-mcc242-mnc01 │ │ │ └── config.xml │ │ │ ├── values-mcc242-mnc02 │ │ │ └── config.xml │ │ │ ├── values-mcc262 │ │ │ └── config.xml │ │ │ ├── values-mcc274-mnc02 │ │ │ └── config.xml │ │ │ ├── values-mcc274-mnc03 │ │ │ └── config.xml │ │ │ ├── values-mcc286 │ │ │ └── config.xml │ │ │ ├── values-mcc294 │ │ │ └── config.xml │ │ │ ├── values-mcc302-mnc220 │ │ │ └── config.xml │ │ │ ├── values-mcc302-mnc221 │ │ │ └── config.xml │ │ │ ├── values-mcc302-mnc270 │ │ │ └── config.xml │ │ │ ├── values-mcc302-mnc370 │ │ │ └── config.xml │ │ │ ├── values-mcc302-mnc490 │ │ │ └── config.xml │ │ │ ├── values-mcc302-mnc500 │ │ │ └── config.xml │ │ │ ├── values-mcc302-mnc510 │ │ │ └── config.xml │ │ │ ├── values-mcc302-mnc610 │ │ │ └── config.xml │ │ │ ├── values-mcc302-mnc660 │ │ │ └── config.xml │ │ │ ├── values-mcc302-mnc720 │ │ │ └── config.xml │ │ │ ├── values-mcc302-mnc780 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc000 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc010 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc120 │ │ │ ├── config.xml │ │ │ └── strings.xml │ │ │ ├── values-mcc310-mnc150 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc170 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc260 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc410 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc420 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc450 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc770 │ │ │ └── config.xml │ │ │ ├── values-mcc310-mnc980 │ │ │ └── config.xml │ │ │ ├── values-mcc311-mnc180 │ │ │ └── config.xml │ │ │ ├── values-mcc311-mnc370 │ │ │ └── config.xml │ │ │ ├── values-mcc311-mnc490 │ │ │ └── config.xml │ │ │ ├── values-mcc311-mnc870 │ │ │ └── config.xml │ │ │ ├── values-mcc334-mnc020 │ │ │ └── config.xml │ │ │ ├── values-mcc418 │ │ │ └── config.xml │ │ │ ├── values-mcc420 │ │ │ └── config.xml │ │ │ ├── values-mcc440-mnc07 │ │ │ └── config.xml │ │ │ ├── values-mcc440-mnc10 │ │ │ └── config.xml │ │ │ ├── values-mcc440-mnc20 │ │ │ └── config.xml │ │ │ ├── values-mcc450-mnc00 │ │ │ └── config.xml │ │ │ ├── values-mcc450-mnc05 │ │ │ └── config.xml │ │ │ ├── values-mcc450-mnc06 │ │ │ └── config.xml │ │ │ ├── values-mcc450-mnc08 │ │ │ └── config.xml │ │ │ ├── values-mcc505-mnc01 │ │ │ └── config.xml │ │ │ ├── values-mcc530-mnc05 │ │ │ └── config.xml │ │ │ ├── values-mcc604 │ │ │ └── config.xml │ │ │ ├── values-mcc647-mnc10 │ │ │ └── config.xml │ │ │ ├── values-mcc722-mnc34 │ │ │ └── config.xml │ │ │ ├── values │ │ │ └── config.xml │ │ │ └── xml │ │ │ ├── eri.xml │ │ │ └── power_profile.xml │ │ └── packages │ │ ├── SettingsProvider │ │ └── res │ │ │ └── values │ │ │ └── defaults.xml │ │ └── SystemUI │ │ ├── res-keyguard │ │ └── values │ │ │ └── config.xml │ │ └── res │ │ ├── values-mcc202 │ │ └── config.xml │ │ ├── values-mcc204 │ │ └── config.xml │ │ ├── values-mcc206 │ │ └── config.xml │ │ ├── values-mcc208 │ │ └── config.xml │ │ ├── values-mcc214 │ │ └── config.xml │ │ ├── values-mcc216-mnc01 │ │ └── config.xml │ │ ├── values-mcc216-mnc70 │ │ └── config.xml │ │ ├── values-mcc222 │ │ └── config.xml │ │ ├── values-mcc226 │ │ └── config.xml │ │ ├── values-mcc228 │ │ └── config.xml │ │ ├── values-mcc230-mnc02 │ │ └── config.xml │ │ ├── values-mcc230-mnc03 │ │ └── config.xml │ │ ├── values-mcc231-mnc01 │ │ └── config.xml │ │ ├── values-mcc231-mnc02 │ │ └── config.xml │ │ ├── values-mcc231-mnc06 │ │ └── config.xml │ │ ├── values-mcc232-mnc01 │ │ └── config.xml │ │ ├── values-mcc232-mnc05 │ │ └── config.xml │ │ ├── values-mcc232-mnc07 │ │ └── config.xml │ │ ├── values-mcc232-mnc10 │ │ └── config.xml │ │ ├── values-mcc232-mnc11 │ │ └── config.xml │ │ ├── values-mcc234 │ │ └── config.xml │ │ ├── values-mcc238 │ │ └── config.xml │ │ ├── values-mcc240 │ │ └── config.xml │ │ ├── values-mcc242 │ │ └── config.xml │ │ ├── values-mcc244 │ │ └── config.xml │ │ ├── values-mcc262-mnc02 │ │ └── config.xml │ │ ├── values-mcc262-mnc03 │ │ └── config.xml │ │ ├── values-mcc268-mnc01 │ │ └── config.xml │ │ ├── values-mcc268-mnc03 │ │ └── config.xml │ │ ├── values-mcc268-mnc06 │ │ └── config.xml │ │ ├── values-mcc293-mnc40 │ │ └── config.xml │ │ ├── values-mcc293-mnc41 │ │ └── config.xml │ │ ├── values-mcc293-mnc70 │ │ └── config.xml │ │ ├── values-mcc310-mnc010 │ │ └── config.xml │ │ ├── values-mcc310-mnc120 │ │ └── config.xml │ │ ├── values-mcc311-mnc490 │ │ └── config.xml │ │ ├── values-mcc311-mnc870 │ │ └── config.xml │ │ ├── values-mcc334-mnc020 │ │ └── config.xml │ │ ├── values-mcc505 │ │ └── config.xml │ │ ├── values-mcc530 │ │ └── config.xml │ │ ├── values-mcc537-mnc03 │ │ └── config.xml │ │ ├── values-mcc724-mnc02 │ │ └── config.xml │ │ ├── values-mcc724-mnc03 │ │ └── config.xml │ │ ├── values-mcc724-mnc04 │ │ └── config.xml │ │ ├── values-mcc724-mnc05 │ │ └── config.xml │ │ ├── values-mcc724-mnc06 │ │ └── config.xml │ │ ├── values-mcc724-mnc10 │ │ └── config.xml │ │ ├── values-mcc724-mnc11 │ │ └── config.xml │ │ ├── values-mcc724-mnc16 │ │ └── config.xml │ │ ├── values-mcc724-mnc23 │ │ └── config.xml │ │ ├── values-mcc724-mnc31 │ │ └── config.xml │ │ ├── values-mcc724-mnc39 │ │ └── config.xml │ │ └── values │ │ └── config.xml ├── lineage-sdk │ └── lineage │ │ └── res │ │ └── res │ │ └── values │ │ └── config.xml └── packages │ ├── apps │ ├── CarrierConfig │ │ └── res │ │ │ └── xml │ │ │ └── vendor.xml │ ├── Contacts │ │ └── res │ │ │ ├── values-mcc310-mnc010 │ │ │ └── donottranslate_config.xml │ │ │ ├── values-mcc310-mnc120 │ │ │ └── donottranslate_config.xml │ │ │ ├── values-mcc311-mnc490 │ │ │ └── donottranslate_config.xml │ │ │ └── values-mcc311-mnc870 │ │ │ └── donottranslate_config.xml │ ├── Mms │ │ └── res │ │ │ ├── xml-mcc204-mnc04 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc208-mnc01 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc208-mnc10 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc208-mnc15 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc208-mnc20 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc208-mnc26 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc214-mnc03 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc214-mnc07 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc218-mnc05 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc222-mnc01 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc222-mnc08 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc238-mnc02 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc240-mnc01 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc240-mnc04 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc240-mnc08 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc240-mnc24 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc242-mnc01 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc242-mnc02 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc262-mnc07 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc274-mnc02 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc274-mnc03 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc286-mnc01 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc286-mnc03 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc294-mnc01 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc294-mnc02 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc294-mnc03 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc302-mnc220 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc302-mnc221 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc302-mnc270 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc302-mnc290 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc302-mnc370 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc302-mnc490 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc302-mnc500 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc302-mnc510 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc302-mnc610 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc302-mnc660 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc302-mnc720 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc302-mnc780 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc010 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc026 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc090 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc120 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc150 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc170 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc260 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc380 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc410 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc420 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc450 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc490 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc560 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc680 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc770 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc310-mnc980 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc311-mnc180 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc311-mnc370 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc311-mnc490 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc311-mnc870 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc334-mnc020 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc418-mnc05 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc418-mnc20 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc418-mnc30 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc420-mnc04 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc440-mnc10 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc450-mnc00 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc450-mnc02 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc450-mnc05 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc450-mnc06 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc450-mnc08 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc505-mnc01 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc530-mnc05 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc604-mnc00 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc604-mnc02 │ │ │ └── mms_config.xml │ │ │ ├── xml-mcc647-mnc10 │ │ │ └── mms_config.xml │ │ │ └── xml │ │ │ └── mms_config.xml │ ├── Phone │ ├── Settings │ │ └── res │ │ │ └── values │ │ │ └── bools.xml │ └── Snap │ │ └── res │ │ └── values │ │ └── config.xml │ └── services │ ├── Telecomm │ └── res │ │ └── values │ │ └── config.xml │ └── Telephony │ └── res │ ├── values-mcc310-mnc120 │ ├── config.xml │ └── strings.xml │ └── values │ └── config.xml ├── permissions └── privapp-permissions-hammerhead.xml ├── power ├── Android.mk └── power_hammerhead.c ├── proprietary-blobs.txt ├── qpnp_pon.kcm ├── qpnp_pon.kl ├── recovery └── root │ └── init.recovery.hammerhead.rc ├── releasetools.py ├── sec_config ├── self-extractors ├── Android.mk ├── PART1 ├── PART2 ├── PART3 ├── PROLOGUE ├── broadcom │ ├── COPYRIGHT │ ├── LICENSE │ └── staging │ │ ├── BoardConfigPartial.mk │ │ └── device-partial.mk ├── extract-lists.txt ├── files-by-owner.sh ├── generate-packages.sh ├── lge │ ├── COPYRIGHT │ ├── LICENSE │ └── staging │ │ ├── BoardConfigPartial.mk │ │ └── device-partial.mk ├── qcom │ ├── COPYRIGHT │ ├── LICENSE │ └── staging │ │ ├── BoardConfigPartial.mk │ │ ├── device-partial.mk │ │ └── proprietary │ │ └── Android.mk └── root │ ├── BoardConfigVendor.mk │ └── device-vendor.mk ├── sepolicy ├── app.te ├── attributes ├── audioserver.te ├── bluetooth_loader.te ├── bootanim.te ├── camera.te ├── cameraserver.te ├── device.te ├── device_domain_deprecated.te ├── file.te ├── file_contexts ├── fsck.te ├── genfs_contexts ├── hal_camera_default.te ├── hal_nfc_default.te ├── hal_wifi_default.te ├── init.te ├── ioctl_defines ├── ioctl_macros ├── irsc_util.te ├── mediaserver.te ├── mpdecision.te ├── netd.te ├── netmgrd.te ├── perfprofd.te ├── platform_app.te ├── priv_app.te ├── property.te ├── property_contexts ├── qmux.te ├── radio.te ├── rild.te ├── rmt.te ├── sensors.te ├── service.te ├── service_contexts ├── ssr.te ├── surfaceflinger.te ├── system_server.te ├── te_macros ├── tee.te ├── thermald.te ├── time.te ├── ueventd.te └── vss.te ├── setup-makefiles.sh ├── thermal-engine-8974.conf ├── touch_dev.idc ├── ueventd.hammerhead.rc ├── vendorsetup.sh └── voice_processing ├── Android.mk └── voice_processing_descriptors.c /Android.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2013 The Android Open Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # This contains the module build definitions for the hardware-specific 18 | # components for this device. 19 | # 20 | # As much as possible, those components should be built unconditionally, 21 | # with device-specific names to avoid collisions, to avoid device-specific 22 | # bitrot and build breakages. Building a component unconditionally does 23 | # *not* include it on all devices, so it is safe even with hardware-specific 24 | # components. 25 | 26 | ifneq ($(filter hammerhead, $(TARGET_DEVICE)),) 27 | 28 | LOCAL_PATH := $(call my-dir) 29 | 30 | include $(call all-makefiles-under,$(LOCAL_PATH)) 31 | 32 | endif 33 | -------------------------------------------------------------------------------- /AndroidProducts.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2019 The LineageOS Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | PRODUCT_MAKEFILES := \ 18 | $(LOCAL_DIR)/lineage_hammerhead.mk 19 | -------------------------------------------------------------------------------- /Button_Jack.kcm: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | type SPECIAL_FUNCTION 16 | -------------------------------------------------------------------------------- /Button_Jack.kl: -------------------------------------------------------------------------------- 1 | key 256 HEADSETHOOK 2 | -------------------------------------------------------------------------------- /aosp_hammerhead.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2013 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | $(call inherit-product, device/lge/hammerhead/full_hammerhead.mk) 17 | 18 | PRODUCT_NAME := aosp_hammerhead 19 | 20 | PRODUCT_PACKAGES += \ 21 | Launcher3 22 | 23 | -------------------------------------------------------------------------------- /bdAddrLoader/Android.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2013 The Android Open Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | LOCAL_PATH:= $(call my-dir) 18 | 19 | include $(CLEAR_VARS) 20 | LOCAL_SRC_FILES := addrloader.c 21 | LOCAL_SHARED_LIBRARIES := libcutils liblog 22 | LOCAL_MODULE_TAGS := optional 23 | LOCAL_MODULE_OWNER := lge 24 | LOCAL_MODULE := bdAddrLoader 25 | include $(BUILD_EXECUTABLE) 26 | -------------------------------------------------------------------------------- /bluetooth/BCM4339_003.001.009.0079.0339.hcd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/bluetooth/BCM4339_003.001.009.0079.0339.hcd -------------------------------------------------------------------------------- /bluetooth/bdroid_buildcfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef _BDROID_BUILDCFG_H 18 | #define _BDROID_BUILDCFG_H 19 | 20 | #define BTA_DISABLE_DELAY 100 /* in milliseconds */ 21 | 22 | #define BLE_VND_INCLUDED TRUE 23 | #define BTM_BLE_ADV_TX_POWER {-21, -15, -7, 1, 9} 24 | #endif 25 | -------------------------------------------------------------------------------- /bluetooth/vnd_hammerhead.txt: -------------------------------------------------------------------------------- 1 | BLUETOOTH_UART_DEVICE_PORT = "/dev/ttyHS99" 2 | FW_PATCHFILE_LOCATION = "/vendor/firmware/" 3 | BT_WAKE_VIA_PROC = TRUE 4 | BT_WAKE_VIA_PROC_NOTIFY_DEASSERT=TRUE 5 | PROC_BTWRITE_TIMER_TIMEOUT_MS = 0 6 | UART_TARGET_BAUD_RATE = 4000000 7 | LPM_IDLE_TIMEOUT_MULTIPLE = 5 8 | LPM_BT_WAKE_POLARITY = 0 9 | LPM_HOST_WAKE_POLARITY = 0 10 | SCO_USE_I2S_INTERFACE = FALSE 11 | SCO_WBS_SAMPLE_RATE = 0 12 | SCO_I2SPCM_IF_ROLE = 0 13 | BTVND_DBG = FALSE 14 | BTHW_DBG = TRUE 15 | VNDUSERIAL_DBG = FALSE 16 | UPIO_DBG = FALSE 17 | BTHW_FW_EXTENDED_CONFIGURATION = TRUE 18 | -------------------------------------------------------------------------------- /board-info.txt: -------------------------------------------------------------------------------- 1 | require board=hammerhead 2 | -------------------------------------------------------------------------------- /camera/Android.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(strip $(USE_DEVICE_SPECIFIC_CAMERA)),true) 2 | ifneq ($(filter msm8960 msm8226 msm8974,$(TARGET_BOARD_PLATFORM)),) 3 | ifneq ($(USE_CAMERA_STUB),true) 4 | ifneq ($(BUILD_TINY_ANDROID),true) 5 | include $(call all-subdir-makefiles) 6 | endif 7 | endif 8 | endif 9 | endif 10 | -------------------------------------------------------------------------------- /camera/MODULE_LICENSE_BSD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/camera/MODULE_LICENSE_BSD -------------------------------------------------------------------------------- /camera/QCamera2/Android.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(TARGET_ARCH),arm) 2 | include $(call all-subdir-makefiles) 3 | endif 4 | -------------------------------------------------------------------------------- /camera/QCamera2/HAL/test/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH:= $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_SRC_FILES:= \ 6 | qcamera_test.cpp \ 7 | 8 | LOCAL_SHARED_LIBRARIES:= \ 9 | libdl \ 10 | libui \ 11 | libutils \ 12 | libcutils \ 13 | libbinder \ 14 | libmedia \ 15 | libmedia_native \ 16 | libui \ 17 | libgui \ 18 | libcamera_client 19 | 20 | LOCAL_C_INCLUDES += \ 21 | frameworks/base/include/ui \ 22 | frameworks/base/include/surfaceflinger \ 23 | frameworks/base/include/camera \ 24 | frameworks/base/include/media \ 25 | 26 | LOCAL_MODULE:= camera_test 27 | LOCAL_MODULE_TAGS:= tests 28 | 29 | LOCAL_CFLAGS += -Wall -fno-short-enums -O0 30 | 31 | include $(BUILD_EXECUTABLE) 32 | -------------------------------------------------------------------------------- /camera/QCamera2/stack/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH:= $(call my-dir) 2 | include $(LOCAL_PATH)/mm-camera-interface/Android.mk 3 | include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk 4 | include $(LOCAL_PATH)/mm-jpeg-interface/test/Android.mk 5 | include $(LOCAL_PATH)/mm-camera-test/Android.mk 6 | -------------------------------------------------------------------------------- /camera/QCamera2/stack/mm-camera-interface/Android.mk: -------------------------------------------------------------------------------- 1 | OLD_LOCAL_PATH := $(LOCAL_PATH) 2 | LOCAL_PATH := $(call my-dir) 3 | 4 | include $(CLEAR_VARS) 5 | 6 | MM_CAM_FILES := \ 7 | src/mm_camera_interface.c \ 8 | src/mm_camera.c \ 9 | src/mm_camera_channel.c \ 10 | src/mm_camera_stream.c \ 11 | src/mm_camera_thread.c \ 12 | src/mm_camera_sock.c 13 | 14 | ifeq ($(strip $(TARGET_USES_ION)),true) 15 | LOCAL_CFLAGS += -DUSE_ION 16 | endif 17 | 18 | ifeq ($(call is-board-platform-in-list,msm8974 msm8226),true) 19 | LOCAL_CFLAGS += -DVENUS_PRESENT 20 | endif 21 | 22 | LOCAL_CFLAGS += -D_ANDROID_ 23 | LOCAL_COPY_HEADERS_TO := mm-camera-interface 24 | LOCAL_COPY_HEADERS += ../common/cam_intf.h 25 | LOCAL_COPY_HEADERS += ../common/cam_types.h 26 | 27 | LOCAL_C_INCLUDES := \ 28 | $(LOCAL_PATH)/inc \ 29 | $(LOCAL_PATH)/../common 30 | 31 | LOCAL_C_INCLUDES += $(call project-path-for,qcom-media)/mm-core/inc 32 | 33 | LOCAL_HEADER_LIBRARIES := generated_kernel_headers 34 | LOCAL_HEADER_LIBRARIES += media_plugin_headers 35 | 36 | LOCAL_CFLAGS += -Wall -Werror 37 | 38 | LOCAL_SRC_FILES := $(MM_CAM_FILES) 39 | 40 | LOCAL_MODULE := libmmcamera_interface 41 | LOCAL_SHARED_LIBRARIES := libdl libcutils liblog 42 | LOCAL_MODULE_TAGS := optional 43 | 44 | include $(BUILD_SHARED_LIBRARY) 45 | 46 | LOCAL_PATH := $(OLD_LOCAL_PATH) 47 | -------------------------------------------------------------------------------- /camera/QCamera2/stack/mm-jpeg-interface/Android.mk: -------------------------------------------------------------------------------- 1 | OLD_LOCAL_PATH := $(LOCAL_PATH) 2 | LOCAL_PATH := $(call my-dir) 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_CFLAGS+= -D_ANDROID_ 6 | 7 | LOCAL_C_INCLUDES += \ 8 | frameworks/native/include/media/openmax \ 9 | $(LOCAL_PATH)/inc \ 10 | $(LOCAL_PATH)/../common \ 11 | $(LOCAL_PATH)/../../../ \ 12 | $(LOCAL_PATH)/../../../mm-image-codec/qexif \ 13 | $(LOCAL_PATH)/../../../mm-image-codec/qomx_core 14 | 15 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 16 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 17 | 18 | ifeq ($(strip $(TARGET_USES_ION)),true) 19 | LOCAL_CFLAGS += -DUSE_ION 20 | endif 21 | 22 | LOCAL_SRC_FILES := \ 23 | src/mm_jpeg_queue.c \ 24 | src/mm_jpeg_exif.c \ 25 | src/mm_jpeg.c \ 26 | src/mm_jpeg_interface.c 27 | 28 | LOCAL_MODULE := libmmjpeg_interface 29 | LOCAL_SHARED_LIBRARIES := libdl libcutils liblog libqomx_core 30 | LOCAL_MODULE_TAGS := optional 31 | 32 | include $(BUILD_SHARED_LIBRARY) 33 | 34 | LOCAL_PATH := $(OLD_LOCAL_PATH) 35 | -------------------------------------------------------------------------------- /camera/QCamera2/stack/mm-jpeg-interface/test/Android.mk: -------------------------------------------------------------------------------- 1 | OLD_LOCAL_PATH := $(LOCAL_PATH) 2 | MM_JPEG_TEST_PATH := $(call my-dir) 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_PATH := $(MM_JPEG_TEST_PATH) 6 | LOCAL_MODULE_TAGS := optional 7 | 8 | LOCAL_CFLAGS := -DCAMERA_ION_HEAP_ID=ION_IOMMU_HEAP_ID 9 | LOCAL_CFLAGS += -Werror -Wno-unused-parameter 10 | LOCAL_CFLAGS += -D_ANDROID_ 11 | LOCAL_CFLAGS += -include mm_jpeg_dbg.h 12 | 13 | ifeq ($(strip $(TARGET_USES_ION)),true) 14 | LOCAL_CFLAGS += -DUSE_ION 15 | endif 16 | 17 | OMX_HEADER_DIR := frameworks/native/include/media/openmax 18 | OMX_CORE_DIR := device/lge/hammerhead/camera/mm-image-codec 19 | 20 | LOCAL_C_INCLUDES := $(MM_JPEG_TEST_PATH) 21 | LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../inc 22 | LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../common 23 | LOCAL_C_INCLUDES += $(OMX_HEADER_DIR) 24 | LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qexif 25 | LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qomx_core 26 | 27 | LOCAL_HEADER_LIBRARIES := generated_kernel_headers 28 | LOCAL_HEADER_LIBRARIES += media_plugin_headers 29 | 30 | LOCAL_SRC_FILES := mm_jpeg_ionbuf.c 31 | LOCAL_SRC_FILES += mm_jpeg_test.c 32 | 33 | LOCAL_MODULE := mm-jpeg-interface-test 34 | LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libmmjpeg_interface 35 | 36 | include $(BUILD_EXECUTABLE) 37 | 38 | LOCAL_PATH := $(OLD_LOCAL_PATH) 39 | -------------------------------------------------------------------------------- /camera/hdr/include/morpho_api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/camera/hdr/include/morpho_api.h -------------------------------------------------------------------------------- /camera/hdr/include/morpho_easy_hdr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/camera/hdr/include/morpho_easy_hdr.h -------------------------------------------------------------------------------- /camera/hdr/include/morpho_easy_hdr_ext.h: -------------------------------------------------------------------------------- 1 | #ifndef MORPHO_EASY_HDR_EXT_H 2 | #define MORPHO_EASY_HDR_EXT_H 3 | 4 | #include "morpho_easy_hdr.h" 5 | /* 6 | return == 0 : OK 7 | return != 0 : NG (Please print the return value to check Error types) 8 | */ 9 | MORPHO_API(int) 10 | LINK_mm_camera_HDR( 11 | unsigned char* yuvInput01, 12 | unsigned char* yuvInput02, 13 | unsigned char* yuvInput03, 14 | unsigned char* pHDROutImage, 15 | int width, 16 | int height, 17 | int indoor); 18 | 19 | #endif //MORPHO_EASY_HDR_EXT_H 20 | -------------------------------------------------------------------------------- /camera/hdr/include/morpho_error.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/camera/hdr/include/morpho_error.h -------------------------------------------------------------------------------- /camera/hdr/include/morpho_get_image_size.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/camera/hdr/include/morpho_get_image_size.h -------------------------------------------------------------------------------- /camera/hdr/include/morpho_hdr_checker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/camera/hdr/include/morpho_hdr_checker.h -------------------------------------------------------------------------------- /camera/hdr/include/morpho_image_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/camera/hdr/include/morpho_image_data.h -------------------------------------------------------------------------------- /camera/hdr/include/morpho_image_data_ex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file morpho_image_data_ex.h 3 | * @brief 画像データの構造体定義 4 | * @version 1.0.0 5 | * @date 2010-03-30 6 | * 7 | * Copyright (C) 2010-2011 Morpho, Inc. 8 | */ 9 | 10 | #ifndef MORPHO_IMAGE_DATA_EX_H 11 | #define MORPHO_IMAGE_DATA_EX_H 12 | 13 | #include "morpho_image_data.h" 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | typedef struct{ 20 | int y; 21 | int u; 22 | int v; 23 | } morpho_ImageYuvPlanarPitch; 24 | 25 | typedef struct{ 26 | int y; 27 | int uv; 28 | } morpho_ImageYuvSemiPlanarPitch; 29 | 30 | /** 画像データ. */ 31 | typedef struct { 32 | int width; /**< 幅 */ 33 | int height; /**< 高さ */ 34 | union{ 35 | void *p; /**< 画像データの先頭ポインタ */ 36 | morpho_ImageYuvPlanar planar; 37 | morpho_ImageYuvSemiPlanar semi_planar; 38 | } dat; 39 | union{ 40 | int p; /**< ラインの先頭から次のライン先頭までのバイト数 */ 41 | morpho_ImageYuvPlanarPitch planar; 42 | morpho_ImageYuvSemiPlanarPitch semi_planar; 43 | } pitch; 44 | } morpho_ImageDataEx; 45 | 46 | 47 | #ifdef __cplusplus 48 | } 49 | #endif 50 | 51 | #endif /* #ifndef MORPHO_IMAGE_DATA_EX_H */ 52 | -------------------------------------------------------------------------------- /camera/hdr/include/morpho_motion_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/camera/hdr/include/morpho_motion_data.h -------------------------------------------------------------------------------- /camera/hdr/include/morpho_noise_reduction.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/camera/hdr/include/morpho_noise_reduction.h -------------------------------------------------------------------------------- /camera/hdr/include/morpho_noise_reduction_ext.h: -------------------------------------------------------------------------------- 1 | #ifndef MORPHO_NR_EXT_H 2 | #define MORPHO_NR_EXT_H 3 | 4 | #include "morpho_noise_reduction.h" 5 | /* 6 | return == 0 : OK 7 | return != 0 : NG (Please print the return value to check Error types) 8 | */ 9 | MORPHO_API(int) 10 | LINK_mm_camera_morpho_noise_reduction( 11 | unsigned char* yuvImage, 12 | int width, 13 | int height, 14 | int y_level, 15 | int c_level); 16 | 17 | #endif //MORPHO_NR_EXT_H 18 | -------------------------------------------------------------------------------- /camera/hdr/include/morpho_rect_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/camera/hdr/include/morpho_rect_int.h -------------------------------------------------------------------------------- /camera/mm-image-codec/Android.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(TARGET_ARCH),arm) 2 | include $(call all-subdir-makefiles) 3 | endif 4 | -------------------------------------------------------------------------------- /camera/mm-image-codec/qomx_core/Android.mk: -------------------------------------------------------------------------------- 1 | OMX_CORE_PATH := $(call my-dir) 2 | 3 | # ------------------------------------------------------------------------------ 4 | # Make the shared library (libqomx_core) 5 | # ------------------------------------------------------------------------------ 6 | 7 | include $(CLEAR_VARS) 8 | LOCAL_PATH := $(OMX_CORE_PATH) 9 | LOCAL_MODULE_TAGS := optional 10 | 11 | omx_core_defines:= -Werror \ 12 | -g -O0 13 | 14 | LOCAL_CFLAGS := $(omx_core_defines) 15 | 16 | OMX_HEADER_DIR := frameworks/native/include/media/openmax 17 | 18 | LOCAL_C_INCLUDES := $(OMX_HEADER_DIR) 19 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/../qexif 20 | 21 | LOCAL_SRC_FILES := qomx_core.c 22 | 23 | LOCAL_MODULE := libqomx_core 24 | LOCAL_SHARED_LIBRARIES := liblog libcutils libdl 25 | 26 | include $(BUILD_SHARED_LIBRARY) 27 | -------------------------------------------------------------------------------- /dumpstate/Android.mk: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | LOCAL_PATH:= $(call my-dir) 16 | include $(CLEAR_VARS) 17 | 18 | LOCAL_C_INCLUDES := frameworks/native/cmds/dumpstate 19 | 20 | LOCAL_SRC_FILES := dumpstate.cpp 21 | 22 | LOCAL_MODULE := libdumpstate.hammerhead 23 | 24 | LOCAL_MODULE_TAGS := optional 25 | 26 | include $(BUILD_STATIC_LIBRARY) 27 | -------------------------------------------------------------------------------- /external_camera_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 0 6 | 1 7 | 2 8 | 3 9 | 32 10 | 33 11 | 38 12 | 39 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /factory-images/generate-factory-images-package.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Copyright 2013 The Android Open Source Project 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | # start klp-dev 18 | # 741161 = KRS15 19 | # end klp-dev 20 | 21 | source ../../../common/clear-factory-images-variables.sh 22 | BUILD=937116 23 | DEVICE=hammerhead 24 | PRODUCT=hammerhead 25 | VERSION=kot49h 26 | SRCPREFIX=signed- 27 | BOOTLOADER=hhz11k 28 | RADIO=m8974a-1.0.25.0.23 29 | source ../../../common/generate-factory-images-common.sh 30 | -------------------------------------------------------------------------------- /full_hammerhead.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2013 The Android Open Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # Sample: This is where we'd set a backup provider if we had one 18 | # $(call inherit-product, device/sample/products/backup_overlay.mk) 19 | 20 | # Inherit from the common Open Source product configuration 21 | $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) 22 | 23 | PRODUCT_NAME := full_hammerhead 24 | PRODUCT_DEVICE := hammerhead 25 | PRODUCT_BRAND := Android 26 | PRODUCT_MODEL := AOSP on HammerHead 27 | PRODUCT_MANUFACTURER := LGE 28 | PRODUCT_RESTRICT_VENDOR_FILES := false 29 | 30 | $(call inherit-product, device/lge/hammerhead/device.mk) 31 | $(call inherit-product-if-exists, vendor/lge/hammerhead/hammerhead-vendor.mk) 32 | -------------------------------------------------------------------------------- /gpio-keys.kcm: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | type SPECIAL_FUNCTION 16 | -------------------------------------------------------------------------------- /gpio-keys.kl: -------------------------------------------------------------------------------- 1 | key 115 VOLUME_UP 2 | key 114 VOLUME_DOWN 3 | -------------------------------------------------------------------------------- /hs_detect.kcm: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | type SPECIAL_FUNCTION 16 | -------------------------------------------------------------------------------- /hs_detect.kl: -------------------------------------------------------------------------------- 1 | key 226 HEADSETHOOK 2 | key 115 VOLUME_UP 3 | key 114 VOLUME_DOWN 4 | key 217 VOICE_ASSIST 5 | -------------------------------------------------------------------------------- /kernel-headers/linux/msm_audio_calibration.h: -------------------------------------------------------------------------------- 1 | #ifndef _MSM_AUDIO_CALIBRATION_H 2 | #define _MSM_AUDIO_CALIBRATION_H 3 | 4 | struct audio_cal_info_metainfo { 5 | uint32_t nKey; 6 | }; 7 | 8 | #endif /* _MSM_AUDIO_CALIBRATION_H */ 9 | -------------------------------------------------------------------------------- /liblight/Android.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | LOCAL_PATH:= $(call my-dir) 16 | include $(CLEAR_VARS) 17 | 18 | LOCAL_SRC_FILES := lights.c 19 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw 20 | LOCAL_SHARED_LIBRARIES := liblog 21 | LOCAL_MODULE := lights.hammerhead 22 | LOCAL_MODULE_TAGS := optional 23 | 24 | include $(BUILD_SHARED_LIBRARY) 25 | -------------------------------------------------------------------------------- /lineage.dependencies: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "repository": "android_kernel_lge_hammerhead", 4 | "target_path": "kernel/lge/hammerhead" 5 | } 6 | ] 7 | -------------------------------------------------------------------------------- /lineage_hammerhead.mk: -------------------------------------------------------------------------------- 1 | # Boot animation 2 | TARGET_SCREEN_HEIGHT := 1920 3 | TARGET_SCREEN_WIDTH := 1080 4 | TARGET_BOOTANIMATION_HALF_RES := true 5 | 6 | # Inherit some common LineageOS stuff. 7 | $(call inherit-product, vendor/lineage/config/common_full_phone.mk) 8 | 9 | # Inherit device configuration 10 | $(call inherit-product, device/lge/hammerhead/full_hammerhead.mk) 11 | 12 | ## Device identifier. This must come after all inclusions 13 | PRODUCT_DEVICE := hammerhead 14 | PRODUCT_NAME := lineage_hammerhead 15 | PRODUCT_BRAND := google 16 | PRODUCT_MODEL := Nexus 5 17 | PRODUCT_MANUFACTURER := LGE 18 | 19 | PRODUCT_BUILD_PROP_OVERRIDES += \ 20 | PRODUCT_NAME=hammerhead \ 21 | PRIVATE_BUILD_DESC="hammerhead-user 6.0.1 M4B30Z 3437181 release-keys" 22 | 23 | BUILD_FINGERPRINT := google/hammerhead/hammerhead:6.0.1/M4B30Z/3437181:user/release-keys 24 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/overlay/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc208-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc208-mnc15/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc208-mnc20/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc208-mnc26/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc214-mnc03/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc214-mnc07/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M5.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc218-mnc05/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc222-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc222-mnc08/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc238-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M20.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc240/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc242-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M20.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc242-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc262/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc274-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc274-mnc03/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc286/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M5.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc294/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M3.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc302-mnc220/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc302-mnc221/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc302-mnc270/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M8.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc302-mnc370/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc302-mnc490/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc302-mnc500/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc302-mnc510/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc302-mnc610/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc302-mnc660/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc302-mnc720/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc302-mnc780/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc310-mnc000/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc310-mnc010/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc310-mnc120/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | Digital Roaming 26 | Sprint 27 | Digital Roaming 28 | 29 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc310-mnc150/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc310-mnc170/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc310-mnc410/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc310-mnc420/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc310-mnc450/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc310-mnc770/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc310-mnc980/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc180/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc370/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc490/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc870/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc334-mnc020/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc418/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M3.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc420/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc440-mnc07/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 7 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc440-mnc10/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc440-mnc20/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 26 | 27 | false 28 | 29 | 30 | http://gsm.lge.com/html/gsm/Nexus5-M3.xml 31 | 32 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc450-mnc00/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc450-mnc05/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc450-mnc06/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc450-mnc08/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc505-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M20.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc530-mnc05/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 25 | false 26 | 27 | 28 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 29 | 30 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc604/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M3.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc647-mnc10/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | true 22 | 23 | 24 | 82 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res-keyguard/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | 24 | 4200000 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc202/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc204/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc206/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc208/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc214/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc216-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc216-mnc70/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc222/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc226/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc228/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc230-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc230-mnc03/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc231-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc231-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc231-mnc06/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc05/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc07/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc10/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc11/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc234/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc238/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc240/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc242/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc244/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc262-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc262-mnc03/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc268-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc268-mnc03/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc268-mnc06/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc293-mnc40/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc293-mnc41/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc293-mnc70/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc310-mnc010/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc310-mnc120/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc311-mnc490/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc311-mnc870/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc334-mnc020/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc505/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc530/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc537-mnc03/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc03/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc04/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc05/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc06/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc10/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc11/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc16/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc23/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc31/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc39/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/packages/apps/CarrierConfig/res/xml/vendor.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /overlay/packages/apps/Contacts/res/values-mcc310-mnc010/donottranslate_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 25 | false 26 | 27 | -------------------------------------------------------------------------------- /overlay/packages/apps/Contacts/res/values-mcc310-mnc120/donottranslate_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 25 | false 26 | 27 | -------------------------------------------------------------------------------- /overlay/packages/apps/Contacts/res/values-mcc311-mnc490/donottranslate_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 25 | false 26 | 27 | -------------------------------------------------------------------------------- /overlay/packages/apps/Contacts/res/values-mcc311-mnc870/donottranslate_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 25 | false 26 | 27 | -------------------------------------------------------------------------------- /overlay/packages/apps/Mms/res/xml-mcc310-mnc026/mms_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | 1048576 22 | 23 | 24 | 1944 25 | 26 | 27 | 2592 28 | 29 | 30 | Nexus5 31 | 32 | 33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 34 | 35 | -------------------------------------------------------------------------------- /overlay/packages/apps/Mms/res/xml-mcc310-mnc090/mms_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | 614400 22 | 23 | 24 | 1944 25 | 26 | 27 | 2592 28 | 29 | 30 | Nexus5 31 | 32 | 33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 34 | 35 | -------------------------------------------------------------------------------- /overlay/packages/apps/Mms/res/xml-mcc310-mnc170/mms_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | 1048576 22 | 23 | 24 | 1944 25 | 26 | 27 | 2592 28 | 29 | 30 | Nexus5 31 | 32 | 33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 34 | 35 | -------------------------------------------------------------------------------- /overlay/packages/apps/Mms/res/xml-mcc310-mnc260/mms_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | 1048576 22 | 23 | 24 | 1944 25 | 26 | 27 | 2592 28 | 29 | 30 | Nexus5 31 | 32 | 33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 34 | 35 | -------------------------------------------------------------------------------- /overlay/packages/apps/Mms/res/xml-mcc310-mnc410/mms_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | 1048576 22 | 23 | 24 | 1944 25 | 26 | 27 | 2592 28 | 29 | 30 | Nexus5 31 | 32 | 33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 34 | 35 | -------------------------------------------------------------------------------- /overlay/packages/apps/Mms/res/xml-mcc310-mnc490/mms_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | 1048576 22 | 23 | 24 | 1944 25 | 26 | 27 | 2592 28 | 29 | 30 | Nexus5 31 | 32 | 33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 34 | 35 | -------------------------------------------------------------------------------- /overlay/packages/apps/Mms/res/xml-mcc310-mnc560/mms_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | 614400 22 | 23 | 24 | 1944 25 | 26 | 27 | 2592 28 | 29 | 30 | Nexus5 31 | 32 | 33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 34 | 35 | -------------------------------------------------------------------------------- /overlay/packages/apps/Mms/res/xml-mcc310-mnc680/mms_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | 614400 22 | 23 | 24 | 1944 25 | 26 | 27 | 2592 28 | 29 | 30 | Nexus5 31 | 32 | 33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml 34 | 35 | -------------------------------------------------------------------------------- /overlay/packages/apps/Phone: -------------------------------------------------------------------------------- 1 | ../services/Telephony -------------------------------------------------------------------------------- /overlay/packages/apps/Settings/res/values/bools.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | false 20 | 21 | -------------------------------------------------------------------------------- /overlay/packages/apps/Snap/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | true 21 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/packages/services/Telecomm/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 19 | 20 | 21 | true 22 | 23 | -------------------------------------------------------------------------------- /overlay/packages/services/Telephony/res/values-mcc310-mnc120/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | Carrier settings 19 | 20 | -------------------------------------------------------------------------------- /power/Android.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2014 The Android Open Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | LOCAL_PATH:= $(call my-dir) 18 | 19 | include $(CLEAR_VARS) 20 | LOCAL_MODULE_RELATIVE_PATH := hw 21 | LOCAL_SRC_FILES := power_hammerhead.c 22 | LOCAL_SHARED_LIBRARIES := liblog libcutils 23 | LOCAL_MODULE_TAGS := optional 24 | LOCAL_MODULE := power.hammerhead 25 | include $(BUILD_SHARED_LIBRARY) 26 | -------------------------------------------------------------------------------- /qpnp_pon.kcm: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | type SPECIAL_FUNCTION 16 | -------------------------------------------------------------------------------- /qpnp_pon.kl: -------------------------------------------------------------------------------- 1 | key 116 POWER 2 | -------------------------------------------------------------------------------- /recovery/root/init.recovery.hammerhead.rc: -------------------------------------------------------------------------------- 1 | on fs 2 | setprop sys.usb.ffs.aio_compat 1 3 | -------------------------------------------------------------------------------- /sec_config: -------------------------------------------------------------------------------- 1 | /* IPC Security Config */ 2 | /* :: */ 3 | 16:4294967295:1000 4 | 501:4294967295:1001 5 | -------------------------------------------------------------------------------- /self-extractors/Android.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LineageOS/android_device_lge_hammerhead/4002d0f785e68d7da8e1dcbaebb95042b339721c/self-extractors/Android.mk -------------------------------------------------------------------------------- /self-extractors/PART1: -------------------------------------------------------------------------------- 1 | # 2 | # Usage is subject to the enclosed license agreement 3 | 4 | echo 5 | echo The license for this software will now be displayed. 6 | echo You must agree to this license before using this software. 7 | echo 8 | echo -n Press Enter to view the license 9 | read dummy 10 | echo 11 | 12 | more << __EOF__ 13 | -------------------------------------------------------------------------------- /self-extractors/PART2: -------------------------------------------------------------------------------- 1 | __EOF__ 2 | 3 | if test $? != 0 4 | then 5 | echo ERROR: Couldn\'t display license file 1>&2 6 | exit 1 7 | fi 8 | 9 | echo 10 | 11 | echo -n Type \"I ACCEPT\" if you agree to the terms of the license:\ 12 | read typed 13 | 14 | if test "$typed" != I\ ACCEPT 15 | then 16 | echo 17 | echo You didn\'t accept the license. Extraction aborted. 18 | exit 2 19 | fi 20 | 21 | echo 22 | 23 | -------------------------------------------------------------------------------- /self-extractors/PART3: -------------------------------------------------------------------------------- 1 | 2 | if test $? != 0 3 | then 4 | echo 5 | echo ERROR: Couldn\'t extract files. 1>&2 6 | exit 3 7 | else 8 | echo 9 | echo Files extracted successfully. 10 | fi 11 | exit 0 12 | 13 | -------------------------------------------------------------------------------- /self-extractors/PROLOGUE: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | -------------------------------------------------------------------------------- /self-extractors/broadcom/COPYRIGHT: -------------------------------------------------------------------------------- 1 | # (C) Broadcom Corporation 2 | -------------------------------------------------------------------------------- /self-extractors/broadcom/staging/BoardConfigPartial.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /self-extractors/broadcom/staging/device-partial.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | # Broadcom blob(s) necessary for Hammerhead hardware 16 | PRODUCT_COPY_FILES := \ 17 | vendor/broadcom/hammerhead/proprietary/bcm2079x-b5_firmware.ncd:system/vendor/firmware/bcm2079x-b5_firmware.ncd:broadcom \ 18 | vendor/broadcom/hammerhead/proprietary/bcm2079x-b5_pre_firmware.ncd:system/vendor/firmware/bcm2079x-b5_pre_firmware.ncd:broadcom \ 19 | vendor/broadcom/hammerhead/proprietary/bcm4335c0.hcd:system/vendor/firmware/bcm4335c0.hcd:broadcom \ 20 | 21 | -------------------------------------------------------------------------------- /self-extractors/lge/COPYRIGHT: -------------------------------------------------------------------------------- 1 | # (C) LG Electronics, Inc. 2 | -------------------------------------------------------------------------------- /self-extractors/lge/staging/BoardConfigPartial.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /self-extractors/qcom/COPYRIGHT: -------------------------------------------------------------------------------- 1 | # (C) Qualcomm Technologies, Inc. 2 | -------------------------------------------------------------------------------- /self-extractors/qcom/staging/BoardConfigPartial.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /self-extractors/qcom/staging/proprietary/Android.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | LOCAL_PATH := $(call my-dir) 16 | 17 | ifeq ($(TARGET_DEVICE),hammerhead) 18 | 19 | include $(CLEAR_VARS) 20 | LOCAL_MODULE := libacdbloader 21 | LOCAL_SRC_FILES := libacdbloader.so 22 | LOCAL_MODULE_SUFFIX := .so 23 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES 24 | LOCAL_MODULE_PATH := $(TARGET_OUT)/lib 25 | LOCAL_MODULE_TAGS := optional 26 | LOCAL_MODULE_OWNER := qcom 27 | 28 | # Create symbolic link because user space can access persist directory, 29 | # while kernel ALSA drivers can only access the /system/etc/firmware directory 30 | LOCAL_POST_INSTALL_CMD := \ 31 | mkdir -p $(TARGET_OUT_ETC)/firmware/wcd9310; \ 32 | ln -sf /data/misc/audio/wcd9310_anc.bin \ 33 | $(TARGET_OUT_ETC)/firmware/wcd9310/wcd9310_anc.bin; \ 34 | ln -sf /data/misc/audio/mbhc.bin \ 35 | $(TARGET_OUT_ETC)/firmware/wcd9310/wcd9310_mbhc.bin 36 | 37 | #include $(BUILD_PREBUILT) 38 | 39 | endif 40 | -------------------------------------------------------------------------------- /self-extractors/root/BoardConfigVendor.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | LOCAL_STEM := hammerhead/BoardConfigPartial.mk 16 | 17 | -include vendor/broadcom/$(LOCAL_STEM) 18 | -include vendor/lge/$(LOCAL_STEM) 19 | -include vendor/qcom/$(LOCAL_STEM) 20 | -------------------------------------------------------------------------------- /self-extractors/root/device-vendor.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | PRODUCT_PACKAGES += \ 16 | qcrilmsgtunnel 17 | 18 | LOCAL_STEM := hammerhead/device-partial.mk 19 | 20 | $(call inherit-product-if-exists, vendor/broadcom/$(LOCAL_STEM)) 21 | $(call inherit-product-if-exists, vendor/lge/$(LOCAL_STEM)) 22 | $(call inherit-product-if-exists, vendor/qcom/$(LOCAL_STEM)) 23 | -------------------------------------------------------------------------------- /sepolicy/app.te: -------------------------------------------------------------------------------- 1 | allow appdomain sysfs_thermal:file r_file_perms; 2 | -------------------------------------------------------------------------------- /sepolicy/attributes: -------------------------------------------------------------------------------- 1 | # domain_deprecated attribute is being removed from core policy. Leave it 2 | # in device-specific policy for device-specific domains. Unlike core policy, 3 | # device-specific policy will eventually be deprecated. 4 | attribute device_domain_deprecated; 5 | -------------------------------------------------------------------------------- /sepolicy/audioserver.te: -------------------------------------------------------------------------------- 1 | # /devices/soc0/hw_platform (libacdbloader.so) 2 | r_dir_file(audioserver, sysfs_soc) 3 | -------------------------------------------------------------------------------- /sepolicy/bluetooth_loader.te: -------------------------------------------------------------------------------- 1 | # Bluetooth executables and scripts 2 | type bluetooth_loader, domain, device_domain_deprecated; 3 | type bluetooth_loader_exec, exec_type, file_type, vendor_file_type; 4 | 5 | # Start bdAddrLoader from init 6 | init_daemon_domain(bluetooth_loader) 7 | 8 | # Read mac address from persist partition 9 | allow bluetooth_loader persist_file:dir search; 10 | r_dir_file(bluetooth_loader, persist_bluetooth_file) 11 | 12 | # Set persist.service.bdroid.* and bluetooth.* property values 13 | set_prop(bluetooth_loader, bluetooth_prop) 14 | -------------------------------------------------------------------------------- /sepolicy/bootanim.te: -------------------------------------------------------------------------------- 1 | allow bootanim sysfs_thermal:file r_file_perms; 2 | -------------------------------------------------------------------------------- /sepolicy/cameraserver.te: -------------------------------------------------------------------------------- 1 | # Interact with sockets 2 | unix_socket_send(cameraserver, camera, camera) 3 | allow cameraserver camera_data_file:sock_file write; 4 | allow cameraserver property_socket:sock_file { open read write ioctl }; 5 | allow cameraserver init:unix_stream_socket connectto; 6 | 7 | allow cameraserver system_file:file execmod; 8 | allow cameraserver vendor_file:file execmod; 9 | allow cameraserver camera_device:chr_file { open read write ioctl }; 10 | allow cameraserver cameraserver:fd use; 11 | 12 | # Allow writing to mpdecision 13 | unix_socket_send(cameraserver, mpdecision, mpdecision) 14 | 15 | # Allow access to sysfs 16 | allow cameraserver sysfs:file { getattr read open }; 17 | -------------------------------------------------------------------------------- /sepolicy/device.te: -------------------------------------------------------------------------------- 1 | type wlan_device, dev_type; 2 | 3 | type ramdump_device, dev_type; 4 | 5 | type smd_device, dev_type; 6 | 7 | # Shared memory logger 8 | type shared_log_device, dev_type; 9 | 10 | type power_control_device, dev_type; 11 | 12 | type modem_block_device, dev_type; 13 | 14 | type persist_block_device, dev_type; 15 | 16 | # secure software download partition 17 | type ssd_block_device, dev_type; 18 | 19 | type drm_block_device, dev_type; 20 | 21 | # Thermal engine 22 | type thermal_engine_device, dev_type; 23 | -------------------------------------------------------------------------------- /sepolicy/file.te: -------------------------------------------------------------------------------- 1 | # Default type for anything under /firmware 2 | type firmware_file, fs_type, contextmount_type; 3 | 4 | type qmuxd_socket, file_type; 5 | type sensors_socket, file_type; 6 | type camera_socket, file_type, data_file_type, core_data_file_type; 7 | type thermald_socket, file_type; 8 | 9 | type sensors_data_file, file_type, data_file_type, core_data_file_type; 10 | type time_data_file, file_type, data_file_type, core_data_file_type; 11 | type ramdump_data_file, file_type, data_file_type, core_data_file_type; 12 | 13 | type mpdecision_socket, file_type, data_file_type, core_data_file_type; 14 | 15 | # Persist firmware types 16 | type persist_file, file_type; 17 | type persist_bluetooth_file, file_type; 18 | type persist_camera_file, file_type; 19 | type persist_data_file, file_type; 20 | type persist_drm_file, file_type; 21 | type persist_sensors_file, file_type; 22 | type persist_wifi_file, file_type; 23 | 24 | type sysfs_rmnet, fs_type, sysfs_type; 25 | type sysfs_mpdecision, fs_type, sysfs_type; 26 | type sysfs_surfaceflinger, fs_type, sysfs_type; 27 | type sysfs_smdcntl_open_timeout, fs_type, sysfs_type; 28 | type sysfs_soc, fs_type, sysfs_type; 29 | type sysfs_adsp, fs_type, sysfs_type; 30 | type sysfs_thermal_control, fs_type, sysfs_type; 31 | type sysfs_ssr_toggle, fs_type, sysfs_type; 32 | type sysfs_ramdump, fs_type, sysfs_type; 33 | type sysfs_irq, fs_type, sysfs_type; 34 | -------------------------------------------------------------------------------- /sepolicy/fsck.te: -------------------------------------------------------------------------------- 1 | allow fsck persist_block_device:blk_file rw_file_perms; 2 | -------------------------------------------------------------------------------- /sepolicy/genfs_contexts: -------------------------------------------------------------------------------- 1 | genfscon proc /bluetooth/sleep/lpm u:object_r:proc_bluetooth_writable:s0 2 | genfscon proc /bluetooth/sleep/btwrite u:object_r:proc_bluetooth_writable:s0 3 | 4 | genfscon sysfs /devices/soc0 u:object_r:sysfs_soc:s0 5 | -------------------------------------------------------------------------------- /sepolicy/hal_camera_default.te: -------------------------------------------------------------------------------- 1 | vndbinder_use(hal_camera_default) 2 | 3 | allow hal_camera_default hal_graphics_mapper_hwservice:hwservice_manager find; 4 | 5 | # libmmjpeg.so still needs text relocation support 6 | allow hal_camera_default vendor_file:file execmod; 7 | 8 | r_dir_file(hal_camera_default, sysfs_soc) 9 | 10 | unix_socket_send(hal_camera_default, camera, camera) 11 | 12 | unix_socket_send(hal_camera_default, mpdecision, mpdecision) 13 | -------------------------------------------------------------------------------- /sepolicy/hal_nfc_default.te: -------------------------------------------------------------------------------- 1 | allow hal_nfc_default nfc_data_file:dir search; 2 | -------------------------------------------------------------------------------- /sepolicy/hal_wifi_default.te: -------------------------------------------------------------------------------- 1 | # Reading from /persist/wifi/.macaddr 2 | allow hal_wifi_default persist_file:dir r_dir_perms; 3 | r_dir_file(hal_wifi_default, persist_wifi_file) 4 | -------------------------------------------------------------------------------- /sepolicy/init.te: -------------------------------------------------------------------------------- 1 | allow init tmpfs:lnk_file create_file_perms; 2 | 3 | allow init { 4 | sysfs_bluetooth_writable 5 | sysfs_leds 6 | sysfs_surfaceflinger 7 | sysfs_wlan_fwpath 8 | }:file setattr; 9 | 10 | allow init { 11 | sysfs_adsp 12 | sysfs_devices_system_cpu 13 | sysfs_mpdecision 14 | sysfs_irq 15 | sysfs_ramdump 16 | sysfs_ssr_toggle 17 | sysfs_thermal_control 18 | }:file w_file_perms; 19 | -------------------------------------------------------------------------------- /sepolicy/ioctl_defines: -------------------------------------------------------------------------------- 1 | # socket ioctls defined in the kernel in include/uapi/linux/msm_ipc.h 2 | define(`IPC_ROUTER_IOCTL_GET_VERSION', `0x0000c300') 3 | define(`IPC_ROUTER_IOCTL_GET_MTU', `0x0000c301') 4 | define(`IPC_ROUTER_IOCTL_LOOKUP_SERVER', `0x0000c302') 5 | define(`IPC_ROUTER_IOCTL_GET_CURR_PKT_SIZE', `0x0000c303') 6 | define(`IPC_ROUTER_IOCTL_BIND_CONTROL_PORT', `0x0000c304') 7 | define(`IPC_ROUTER_IOCTL_CONFIG_SEC_RULES', `0x0000c305') 8 | -------------------------------------------------------------------------------- /sepolicy/ioctl_macros: -------------------------------------------------------------------------------- 1 | define(`msm_sock_ipc_ioctls', `{ 2 | IPC_ROUTER_IOCTL_GET_VERSION 3 | IPC_ROUTER_IOCTL_GET_MTU 4 | IPC_ROUTER_IOCTL_LOOKUP_SERVER 5 | IPC_ROUTER_IOCTL_GET_CURR_PKT_SIZE 6 | IPC_ROUTER_IOCTL_BIND_CONTROL_PORT 7 | IPC_ROUTER_IOCTL_CONFIG_SEC_RULES 8 | }') 9 | -------------------------------------------------------------------------------- /sepolicy/irsc_util.te: -------------------------------------------------------------------------------- 1 | # irsc_util (used to configure IPC Router with security rules for QMI services) 2 | type irsc_util, domain, device_domain_deprecated; 3 | type irsc_util_exec, exec_type, file_type, vendor_file_type; 4 | 5 | init_daemon_domain(irsc_util) 6 | 7 | allow irsc_util self:socket create_socket_perms; 8 | allowxperm irsc_util self:socket ioctl msm_sock_ipc_ioctls; 9 | -------------------------------------------------------------------------------- /sepolicy/mediaserver.te: -------------------------------------------------------------------------------- 1 | # Grant access to Qualcomm MSM Interface (QMI) audio sockets to mediaserver 2 | qmux_socket(mediaserver) 3 | 4 | unix_socket_send(mediaserver, camera, camera) 5 | unix_socket_send(mediaserver, mpdecision, mpdecision) 6 | 7 | # Permit mediaserver to create sockets with no specific SELinux class. 8 | # TODO: Investigate the specific type of socket. 9 | allow mediaserver self:socket create_socket_perms_no_ioctl; 10 | 11 | # Permit HDCP negotiations for wifi display / casting 12 | allow mediaserver tee_device:chr_file rw_file_perms; 13 | -------------------------------------------------------------------------------- /sepolicy/netd.te: -------------------------------------------------------------------------------- 1 | dontaudit netd self:capability sys_module; 2 | -------------------------------------------------------------------------------- /sepolicy/netmgrd.te: -------------------------------------------------------------------------------- 1 | # Network utilities (radio process) 2 | type netmgrd, domain, device_domain_deprecated; 3 | type netmgrd_exec, exec_type, file_type, vendor_file_type; 4 | 5 | # Started by init 6 | init_daemon_domain(netmgrd) 7 | 8 | # Uses network sockets. 9 | net_domain(netmgrd) 10 | allowxperm netmgrd self:udp_socket ioctl priv_sock_ioctls; 11 | 12 | # Starts as (root,radio) changes to (radio,radio) 13 | allow netmgrd self:capability { setuid setgid net_admin net_raw }; 14 | 15 | # Triggers a sys_module denial, but kernel has CONFIG_MODULES=n. 16 | dontaudit netmgrd self:capability sys_module; 17 | 18 | allow netmgrd self:netlink_socket create_socket_perms_no_ioctl; 19 | allow netmgrd self:netlink_route_socket nlmsg_write; 20 | 21 | # Talk to qmuxd (qmux_radio) 22 | qmux_socket(netmgrd) 23 | 24 | # Runs commands via sh. 25 | # TODO: Convert to direct exec of /system/bin/ip and any other helpers. 26 | allow netmgrd shell_exec:file rx_file_perms; 27 | 28 | # Runs /system/bin/ip addr flush dev commands. 29 | allow netmgrd system_file:file rx_file_perms; 30 | allow netmgrd vendor_file_type:file rx_file_perms; 31 | 32 | # XXX Run toolbox. Might not be needed. 33 | allow netmgrd toolbox_exec:file rx_file_perms; 34 | auditallow netmgrd toolbox_exec:file rx_file_perms; 35 | 36 | # Set net.rmnet0.* values 37 | set_prop(netmgrd, radio_prop) 38 | auditallow netmgrd radio_prop:property_service set; 39 | set_prop(netmgrd, net_radio_prop) 40 | 41 | # Access to /proc/sys/net/* 42 | allow netmgrd proc_net:file rw_file_perms; 43 | allow netmgrd proc_net:dir r_dir_perms; 44 | -------------------------------------------------------------------------------- /sepolicy/perfprofd.te: -------------------------------------------------------------------------------- 1 | userdebug_or_eng(` 2 | # perfprofd disables mpdecision temporarily via setprop ctl.stop, 3 | # then re-enables afterwards with setprop ctl.start 4 | set_prop(perfprofd, ctl_mpdecision) 5 | ') 6 | -------------------------------------------------------------------------------- /sepolicy/platform_app.te: -------------------------------------------------------------------------------- 1 | allow platform_app time:unix_stream_socket connectto; 2 | 3 | allow platform_app nfc_service:service_manager find; -------------------------------------------------------------------------------- /sepolicy/priv_app.te: -------------------------------------------------------------------------------- 1 | allowxperm priv_app self:udp_socket ioctl { SIOCGIWESSID }; 2 | -------------------------------------------------------------------------------- /sepolicy/property.te: -------------------------------------------------------------------------------- 1 | type ctl_mpdecision, property_type; 2 | -------------------------------------------------------------------------------- /sepolicy/property_contexts: -------------------------------------------------------------------------------- 1 | ctl.mpdecision u:object_r:ctl_mpdecision:s0 2 | -------------------------------------------------------------------------------- /sepolicy/qmux.te: -------------------------------------------------------------------------------- 1 | # Qualcomm Management Interface Multiplexer 2 | type qmux, domain, device_domain_deprecated; 3 | type qmux_exec, exec_type, file_type, vendor_file_type; 4 | 5 | # Started by init 6 | init_daemon_domain(qmux) 7 | 8 | # Create sockets under each /dev/socket/qmux_* directory. 9 | allow qmux qmuxd_socket:dir w_dir_perms; 10 | allow qmux qmuxd_socket:sock_file { create setattr getattr unlink }; 11 | 12 | # /dev/hsicctl* node access 13 | allow qmux radio_device:chr_file rw_file_perms; 14 | 15 | # wake lock access 16 | wakelock_use(qmux) 17 | 18 | # Access to /sys/devices/virtual/smdpkt/smdcntl*/open_timeout 19 | allow qmux sysfs_smdcntl_open_timeout:file rw_file_perms; 20 | -------------------------------------------------------------------------------- /sepolicy/radio.te: -------------------------------------------------------------------------------- 1 | # Talk to qmuxd (/dev/socket/qmux_radio) 2 | qmux_socket(radio) 3 | 4 | # text relocation in /system/vendor/lib/libvdmengine.so 5 | allow radio system_file:file execmod; 6 | allow radio vendor_file:file execmod; 7 | 8 | allow radio system_app_data_file:dir search; 9 | 10 | # Grant access to qmux socket that is created by rild 11 | allow radio rild_qmuxd_socket:sock_file rw_file_perms; 12 | -------------------------------------------------------------------------------- /sepolicy/rild.te: -------------------------------------------------------------------------------- 1 | # Grant access to Qualcomm MSM Interface (QMI) radio sockets to RILD 2 | qmux_socket(rild) 3 | 4 | r_dir_file(rild, radio_data_file) 5 | 6 | # whitelist qualcomm specific ioctls 7 | allow rild self:socket ioctl; 8 | allowxperm rild self:socket ioctl msm_sock_ipc_ioctls; 9 | allowxperm rild self:udp_socket ioctl priv_sock_ioctls; 10 | -------------------------------------------------------------------------------- /sepolicy/rmt.te: -------------------------------------------------------------------------------- 1 | # remote storage process (runs as nobody) 2 | type rmt, domain, device_domain_deprecated; 3 | type rmt_exec, exec_type, file_type, vendor_file_type; 4 | 5 | # Started by init 6 | init_daemon_domain(rmt) 7 | 8 | # Drop (user, group) to (nobody, nobody) 9 | allow rmt self:capability { setuid setgid }; 10 | 11 | # opens and reads /dev/block/mmcblk0 12 | allow rmt root_block_device:blk_file r_file_perms; 13 | allow rmt block_device:dir r_dir_perms; 14 | 15 | # Needed for ioprio_set(IOPRIO_WHO_PROCESS, 0, IOPRIO_CLASS_RT << IOPRIO_CLASS_SHIFT); 16 | allow rmt self:capability sys_admin; 17 | 18 | # Allow reads/writes to modem related block devices 19 | allow rmt modem_block_device:blk_file rw_file_perms; 20 | allow rmt ssd_block_device:blk_file rw_file_perms; 21 | 22 | # Allow shared memory logging access 23 | allow rmt shared_log_device:chr_file rw_file_perms; 24 | 25 | allow rmt self:socket create_socket_perms; 26 | allowxperm rmt self:socket ioctl msm_sock_ipc_ioctls; 27 | 28 | allow rmt cgroup:dir { create add_name }; 29 | 30 | # Wake lock access 31 | wakelock_use(rmt) 32 | 33 | # Allow access to /dev/uio0. 34 | allow rmt uio_device:chr_file rw_file_perms; 35 | -------------------------------------------------------------------------------- /sepolicy/service.te: -------------------------------------------------------------------------------- 1 | type qdisplay_service, service_manager_type; 2 | -------------------------------------------------------------------------------- /sepolicy/service_contexts: -------------------------------------------------------------------------------- 1 | display.qservice u:object_r:qdisplay_service:s0 2 | -------------------------------------------------------------------------------- /sepolicy/ssr.te: -------------------------------------------------------------------------------- 1 | type ssr, domain, device_domain_deprecated; 2 | type ssr_exec, exec_type, file_type, vendor_file_type; 3 | 4 | # Started by init 5 | init_daemon_domain(ssr) 6 | 7 | userdebug_or_eng(` 8 | allow ssr ramdump_device:chr_file r_file_perms; 9 | allow ssr ramdump_data_file:dir rw_dir_perms; 10 | allow ssr ramdump_data_file:file create_file_perms; 11 | allow ssr tombstone_data_file:dir search; 12 | ') 13 | -------------------------------------------------------------------------------- /sepolicy/surfaceflinger.te: -------------------------------------------------------------------------------- 1 | allow surfaceflinger sysfs_surfaceflinger:dir r_dir_perms; 2 | allow surfaceflinger sysfs_surfaceflinger:file rw_file_perms; 3 | allow surfaceflinger sysfs_thermal:file r_file_perms; 4 | allow surfaceflinger qdisplay_service:service_manager { add find }; 5 | -------------------------------------------------------------------------------- /sepolicy/system_server.te: -------------------------------------------------------------------------------- 1 | # Grant access to Qualcomm MSM Interface (QMI) radio sockets to system services 2 | # (e.g., LocationManager) 3 | qmux_socket(system_server) 4 | 5 | # PowerManagerService access to sensors socket 6 | unix_socket_connect(system_server, sensors, sensors) 7 | unix_socket_send(system_server, sensors, sensors) 8 | allow system_server sensors:unix_stream_socket sendto; 9 | allow system_server sensors_socket:sock_file r_file_perms; 10 | 11 | # mpdecision socket access 12 | unix_socket_connect(system_server, mpdecision, mpdecision) 13 | unix_socket_send(system_server, mpdecision, mpdecision) 14 | allow system_server mpdecision:unix_stream_socket sendto; 15 | allow system_server mpdecision_socket:dir search; 16 | 17 | # Read /data/tombstones/ramdump files. 18 | allow system_server ramdump_data_file:dir r_dir_perms; 19 | allow system_server ramdump_data_file:file r_file_perms; 20 | 21 | allow system_server self:netlink_socket create_socket_perms_no_ioctl; 22 | 23 | allow system_server sysfs_thermal:file r_file_perms; 24 | 25 | allow system_server sysfs_surfaceflinger:file write; 26 | 27 | allow system_server sensors_device:chr_file getattr; 28 | 29 | allowxperm system_server self:udp_socket ioctl { SIOCSIFFLAGS SIOCDEVPRIVATE_D }; 30 | 31 | # use MSM ipc router ioctls 32 | allow system_server self:socket ioctl; 33 | allowxperm system_server self:socket ioctl msm_sock_ipc_ioctls; 34 | -------------------------------------------------------------------------------- /sepolicy/te_macros: -------------------------------------------------------------------------------- 1 | ##################################### 2 | # qmux_socket(clientdomain) 3 | # Allow client domain to connecto and send 4 | # via a local socket to the qmux domain. 5 | # Also allow the client domain to remove 6 | # its own socket. 7 | define(`qmux_socket', ` 8 | type $1_qmuxd_socket, file_type; 9 | file_type_auto_trans($1, qmuxd_socket, $1_qmuxd_socket) 10 | allow $1 qmuxd_socket:dir remove_name; 11 | unix_socket_connect($1, qmuxd, qmux) 12 | allow qmux $1_qmuxd_socket:sock_file { getattr unlink }; 13 | ') 14 | -------------------------------------------------------------------------------- /sepolicy/tee.te: -------------------------------------------------------------------------------- 1 | allow tee self:process execmem; 2 | 3 | # /data/misc/playready labeling 4 | type_transition tee system_data_file:dir drm_data_file; 5 | 6 | # Access /data/misc/playready 7 | allow tee system_data_file:dir ra_dir_perms; 8 | allow tee drm_data_file:dir create_dir_perms; 9 | allow tee drm_data_file:file create_file_perms; 10 | 11 | # Read from persist partition 12 | allow tee persist_file:dir r_dir_perms; 13 | r_dir_file(tee, persist_data_file) 14 | r_dir_file(tee, persist_drm_file) 15 | # Write to drm related pieces of persist partition 16 | allow tee persist_drm_file:dir create_dir_perms; 17 | allow tee persist_drm_file:file create_file_perms; 18 | 19 | # b/15777869 - update for Nexus 5 modular DRM 20 | 21 | # tee starts as root, and drops privileges 22 | allow tee self:capability { setuid setgid }; 23 | 24 | # Need to directly minipulate certain block devices 25 | # for anti-rollback protection 26 | allow tee block_device:dir search; 27 | allow tee self:capability sys_rawio; 28 | allow tee drm_block_device:blk_file rw_file_perms; 29 | allow tee ssd_block_device:blk_file rw_file_perms; 30 | -------------------------------------------------------------------------------- /sepolicy/time.te: -------------------------------------------------------------------------------- 1 | type time, domain, device_domain_deprecated, mlstrustedsubject; 2 | type time_exec, exec_type, file_type, vendor_file_type; 3 | 4 | # Started by init 5 | init_daemon_domain(time) 6 | 7 | # Is r_file_perms sufficient for /dev/rtc0 ? 8 | allow time rtc_device:chr_file rw_file_perms; 9 | 10 | allow time time_data_file:dir rw_dir_perms; 11 | allow time time_data_file:file create_file_perms; 12 | 13 | allow time shared_log_device:chr_file rw_file_perms; 14 | allow time alarm_device:chr_file rw_file_perms; 15 | allow time self:socket *; 16 | allowxperm time self:socket ioctl msm_sock_ipc_ioctls; 17 | 18 | allow time self:capability { setuid setgid sys_time }; 19 | -------------------------------------------------------------------------------- /sepolicy/ueventd.te: -------------------------------------------------------------------------------- 1 | allow ueventd { firmware_file wifi_data_file }:dir r_dir_perms; 2 | allow ueventd { firmware_file wifi_data_file }:file r_file_perms; 3 | allow ueventd sysfs_smdcntl_open_timeout:file setattr; 4 | -------------------------------------------------------------------------------- /sepolicy/vss.te: -------------------------------------------------------------------------------- 1 | type vss, domain, device_domain_deprecated; 2 | type vss_exec, exec_type, file_type, vendor_file_type; 3 | 4 | # Started by init 5 | init_daemon_domain(vss) 6 | -------------------------------------------------------------------------------- /setup-makefiles.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2016 The CyanogenMod Project 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | set -e 18 | 19 | INITIAL_COPYRIGHT_YEAR=2013 20 | 21 | VENDOR=lge 22 | DEVICE=hammerhead 23 | 24 | # Load extractutils and do some sanity checks 25 | MY_DIR="${BASH_SOURCE%/*}" 26 | if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi 27 | 28 | LINEAGE_ROOT="$MY_DIR"/../../.. 29 | 30 | HELPER="$LINEAGE_ROOT"/vendor/lineage/build/tools/extract_utils.sh 31 | if [ ! -f "$HELPER" ]; then 32 | echo "Unable to find helper script at $HELPER" 33 | exit 1 34 | fi 35 | . "$HELPER" 36 | 37 | # Initialize the helper 38 | setup_vendor "$DEVICE" "$VENDOR" "$LINEAGE_ROOT" 39 | 40 | # Copyright headers and guards 41 | write_headers 42 | 43 | # The standard blobs 44 | write_makefiles "$MY_DIR"/proprietary-blobs.txt 45 | 46 | # Done 47 | write_footers 48 | -------------------------------------------------------------------------------- /touch_dev.idc: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | # 16 | # Input Device Calibration File for the Mako touch screen. 17 | # 18 | 19 | device.internal = 1 20 | 21 | touch.deviceType = touchScreen 22 | touch.orientationAware = 1 23 | 24 | touch.size.calibration = diameter 25 | touch.size.scale = 32.0368 26 | touch.size.bias = -5.1253 27 | touch.size.isSummed = 0 28 | 29 | touch.pressure.calibration = amplitude 30 | touch.pressure.scale = 0.0125 31 | 32 | touch.orientation.calibration = none 33 | -------------------------------------------------------------------------------- /vendorsetup.sh: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2013 The Android Open Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | add_lunch_combo aosp_hammerhead-userdebug 18 | -------------------------------------------------------------------------------- /voice_processing/Android.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | ifneq ($(filter hammerhead, $(TARGET_DEVICE)),) 16 | 17 | LOCAL_PATH:= $(call my-dir) 18 | 19 | include $(CLEAR_VARS) 20 | 21 | LOCAL_SRC_FILES := \ 22 | voice_processing_descriptors.c 23 | 24 | LOCAL_C_INCLUDES += \ 25 | $(call include-path-for, audio-effects) 26 | 27 | LOCAL_MODULE := libqcomvoiceprocessingdescriptors 28 | 29 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx 30 | 31 | LOCAL_MODULE_TAGS := optional 32 | 33 | include $(BUILD_SHARED_LIBRARY) 34 | 35 | endif --------------------------------------------------------------------------------